/* /css/components/catalog.css */
.ct-products-sec {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

/* Категории */
.ct-cat-group {
  margin-bottom: 8px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--brd);
}

.ct-cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--t);
  user-select: none;
}

.ct-cat-head:hover {
  background: rgba(201, 168, 76, 0.04);
}

.ct-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(45, 106, 79, 0.12));
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.ct-cat-txt {
  flex: 1;
}

.ct-cat-txt h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.ct-cat-txt p {
  font-size: 0.8rem;
  color: var(--txt3);
  margin-top: 2px;
}

.ct-cat-arrow {
  color: var(--txt3);
  transition: transform 0.35s ease;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.ct-cat-group.open .ct-cat-arrow {
  transform: rotate(180deg);
}

.ct-cat-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.ct-cat-group.open .ct-cat-body {
  grid-template-rows: 1fr;
}

.ct-cat-body-in {
  overflow: hidden;
  min-height: 0;
}

.ct-cat-body-pad {
  padding: 4px 20px 20px;
}

/* Сетка товаров */
.ct-pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.ct-pcard {
  background: var(--bg3);
  border-radius: 10px;
  border: 1px solid var(--brd);
  transition: border-color var(--t);
  cursor: pointer;
  height: 363px;
}

.ct-pcard:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.ct-pcard-main {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
  background: #000000;
  
  border-top-right-radius: 9px;
  border-top-left-radius: 9px;
}

.ct-pdot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

/* Цвета вкусов */
.ct-fl-strawberry { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.ct-fl-scopex { background: linear-gradient(135deg, #f39c12, #d68910); }
.ct-fl-squid { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.ct-fl-belochan { background: linear-gradient(135deg, #a0522d, #8b4513); }
.ct-fl-melberry { background: linear-gradient(135deg, #e91e63, #ad1457); }
.ct-fl-squidberry { background: linear-gradient(135deg, #9b59b6, #c0392b); }
.ct-fl-corn { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.ct-fl-nuts { background: linear-gradient(135deg, #cd853f, #8b4513); }
.ct-fl-mix { background: linear-gradient(135deg, #d4a017, #8b7d3c); }
.ct-fl-hemp { background: linear-gradient(135deg, #27ae60, #1e8449); }

.ct-pinfo {
  flex: 1;
  min-width: 0;
}

.ct-pname {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ct-pbrief {
  font-size: 0.75rem;
  color: var(--txt);
  margin-top: 1px;
}

.ct-pprice {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 4px;
}

.ct-pexp {
  color: var(--txt);
  font-size: 0.55rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.ct-pcard.expanded .ct-pexp {
  transform: rotate(180deg);
}

.ct-pdetails {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.ct-pcard.expanded .ct-pdetails {
  grid-template-rows: 1fr;
}

.ct-pdet-in {
  overflow: hidden;
  min-height: 0;
}

.ct-pdet-pad {
  padding: 0 14px 14px;
  border-top: 1px solid var(--brd);
  margin-top: 0;
  background: rgba(0, 0, 0, .6);
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}

.ct-dsec {
  margin-top: 12px;
}

.ct-dlabel {
  font-size: 0.7rem;
  color: var(--txt);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ct-ogroup {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ct-obtn {
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--brd);
  border-radius: 6px;
  color: var(--txt2);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--t);
  font-family: "Roboto", sans-serif;
}

.ct-obtn:hover {
  border-color: var(--gold);
  color: var(--txt);
}

.ct-obtn.sel {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

.ct-qrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.ct-qsel {
  display: flex;
  border: 1px solid var(--brd);
  border-radius: 8px;
  overflow: hidden;
}

.ct-qbtn {
  width: 34px;
  height: 34px;
  background: var(--bg);
  border: 0;
  color: var(--txt);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-qbtn:hover {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

.ct-qval {
  width: 38px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--bg3);
  border-left: 1px solid var(--brd);
  border-right: 1px solid var(--brd);
  line-height: 34px;
}

.ct-tprice {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
}

.ct-cart-btn {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  background: linear-gradient(135deg, var(--grn), var(--grn-l));
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--t);
}

.ct-cart-btn:hover {
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.4);
  transform: translateY(-1px);
}

.ct-detail-btn {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t);
}

.ct-detail-btn:hover {
  background: rgba(201, 168, 76, 0.15);
}