:root {
  --black: #050505;
  --dark: #0d0d0d;
  --card: #151515;
  --card-soft: #1c1c1c;
  --white: #ffffff;
  --text: #f5f5f5;
  --muted: #a6a6a6;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d99a28;
  --gold-dark: #b97812;
  --green: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at top right, rgba(217, 154, 40, 0.12), transparent 32%),
    linear-gradient(135deg, #050505, #111111 48%, #070707);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
}



/* ===============================
   PAGE
================================ */

.product-page {
  width: min(1180px, calc(100% - 42px));
  margin: 32px auto 70px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs b {
  color: #fff;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

/* ===============================
   GALLERY
================================ */

.product-gallery {
  display: grid;
  gap: 18px;
}

.main-image-box {
  position: relative;
  height: 560px;

  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border-radius: 22px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: var(--shadow);
}

.main-image-box img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;
  border-radius: 50%;

  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;

  font-size: 32px;
  cursor: pointer;
  z-index: 3;
}

.gallery-arrow.left {
  left: 20px;
}

.gallery-arrow.right {
  right: 20px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thumb {
  height: 116px;
  border-radius: 16px;

  background: #fff;
  border: 2px solid transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  cursor: pointer;
  transition: 0.2s ease;
}

.thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 154, 40, 0.18);
}

.thumb img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}

/* ===============================
   DETAILS
================================ */

.product-details {
  padding: 14px 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-badge {
  display: inline-flex;
  height: 30px;
  padding: 0 12px;

  align-items: center;
  justify-content: center;

  border-radius: 8px;
  background: #e02020;
  color: #fff;

  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stock-pill {
  display: inline-flex;
  height: 30px;
  padding: 0 12px;

  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: var(--green);

  font-size: 12px;
  font-weight: 900;
}

.product-details h1 {
  font-size: 44px;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.product-price {
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}

.stock-text {
  color: var(--green);
  font-weight: 900;
  margin-bottom: 26px;
}

.product-meta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;

  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.product-meta div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
}

.product-meta span {
  color: var(--muted);
  font-size: 14px;
}

.product-meta b {
  font-size: 15px;
}

.product-description {
  color: #d6d6d6;
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 28px;

  white-space: pre-wrap;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #fff;
  font-weight: 900;
}

.quantity-control {
  height: 42px;
  padding: 0 8px;

  border: 1px solid var(--line);
  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 22px;
}

.quantity-control button {
  width: 28px;
  height: 28px;

  border: none;
  border-radius: 50%;

  background: transparent;
  color: #fff;

  font-size: 20px;
  cursor: pointer;
}

.add-cart-btn,
.whatsapp-product-btn {
  width: 100%;
  height: 58px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.add-cart-btn {
  border: none;
  background: linear-gradient(135deg, #e5a637, #b97812);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 18px 42px rgba(217, 154, 40, 0.25);
}

.whatsapp-product-btn {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

/* ===============================
   BENEFITS
================================ */

.product-benefits {
  margin-top: 42px;
  padding: 24px;

  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-benefits article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.product-benefits span {
  width: 52px;
  height: 52px;

  border-radius: 50%;
  background: rgba(217, 154, 40, 0.12);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
}

.product-benefits h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.product-benefits p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ===============================
   RELATED
================================ */

.related-section {
  margin-top: 50px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 28px;
}

.section-head a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 900;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.related-card {
  padding: 16px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);

  text-decoration: none;
  color: #fff;
  transition: 0.2s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 154, 40, 0.45);
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 14px;
}

.related-card h3 {
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
}

.related-card b {
  display: block;
  color: var(--gold);
  margin-top: 10px;
  font-size: 17px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 950px) {
  .product-header {
    padding: 0 22px;
  }

  .product-nav {
    display: none;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .main-image-box {
    height: 420px;
  }

  .product-details h1 {
    font-size: 34px;
  }

  .product-benefits {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}












.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  position: relative;

  width: 34px;
  height: 34px;

  border: none;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  text-decoration: none;
}

.icon-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.cart-icon-link span {
  position: absolute;
  top: -8px;
  right: -10px;

  min-width: 20px;
  height: 20px;
  padding: 0 6px;

  border-radius: 999px;
  background: #d99a28;
  color: #fff;

  font-size: 11px;
  font-weight: 900;

  display: flex;
  align-items: center;
  justify-content: center;
}







.product-cart-icon {
  position: relative;
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
}

.product-cart-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.product-cart-icon span {
  position: absolute;
  top: -8px;
  right: -10px;

  min-width: 20px;
  height: 20px;
  padding: 0 6px;

  border-radius: 999px;
  background: #d99a28;
  color: #fff;

  font-size: 11px;
  font-weight: 900;

  display: flex;
  align-items: center;
  justify-content: center;
}

.add-cart-btn img,
.whatsapp-product-btn img,
.product-benefits article > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 10px;
}









/* Корзина */


/* ===============================
   CART DRAWER
================================ */

.cart-open-btn {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff7a00;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
}

.cart-count-badge.show {
  display: flex;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100dvh;
  background: #f4f4f4;
  z-index: 9999;
  transform: translateX(105%);
  transition: 0.35s ease;
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  overflow: hidden;
}

.cart-drawer.active {
  transform: translateX(0);
}

body.cart-lock {
  overflow: hidden;
}

.cart-header {
  min-height: 82px;
  padding: 28px 24px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #f4f4f4;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.cart-header h2 {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  margin: 0 0 8px;
}

.cart-header p {
  font-size: 14px;
  color: #111;
  margin: 0;
}

.cart-close-btn {
  font-size: 36px;
  line-height: 1;
  font-weight: 300;
  color: #050505;
  transition: 0.2s ease;
}

.cart-close-btn:hover {
  color: #ff7a00;
  transform: rotate(90deg);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 18px 18px;
  background: #f4f4f4;
}

.cart-body::-webkit-scrollbar {
  width: 6px;
}

.cart-body::-webkit-scrollbar-track {
  background: #eeeeee;
}

.cart-body::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 20px;
}

.cart-empty {
  min-height: calc(100dvh - 90px);
  padding: 4px 6px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-empty-visual {
  width: 165px;
  height: auto;
  margin: 0 auto 0px;
  object-fit: contain;

}

.cart-empty-title {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 12px;
  text-align: center;
}

.cart-empty-text {
  max-width: 210px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 20px;
}

.cart-main-btn {
  width: 100%;
  height: 46px;
  border-radius: 6px;
  background: #ff7a00;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
}

.cart-main-btn:hover {
  background: #d3922e;
}

.cart-pay-title {
  width: 100%;
  margin: 14px 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
}

.cart-pay-title::before,
.cart-pay-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d9d9d9;
}

.cart-pay-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 18px;
}

.cart-pay-card {
  height: 40px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-pay-card img {
  width: auto;
  height: 20px;
  max-width: 75%;
  object-fit: contain;
  display: block;
}

.cart-benefits {
  width: 100%;
  margin-bottom: 22px;
}

.cart-benefit {
  min-height: 58px;
  border-top: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-benefit:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.cart-benefit-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.cart-benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-benefit b {
  display: block;
  font-size: 11px;
  margin-bottom: 3px;
}

.cart-benefit span {
  display: block;
  font-size: 10px;
}

.cart-gift-banner {
  width: 100%;
  min-height: 95px;
  border-radius: 7px;
  background: #fff0e4;
  display: grid;
  grid-template-columns: 62px 1fr 24px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.cart-gift-icon {
  width: 40px;
  height: 40px;
}

.cart-gift-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-gift-banner b {
  color: #ff7a00;
  font-size: 12px;
}

.cart-gift-banner p {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 6px;
}

.cart-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  color: #555;
  text-align: center;
  margin-top: 8px;
}

.cart-safe img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.cart-items {
  padding-bottom: 12px;
}

.cart-item {
  background: #fff;
  border-radius: 10px;
  padding: 14px 10px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 22px 92px 1fr 18px;
  gap: 10px;
  align-items: center;
}

.cart-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d7d7d7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-check.active {
  background: #ff7a00;
  border-color: #ff7a00;
}

.cart-check img {
  width: 9px;
  height: 9px;
  object-fit: contain;
}

.cart-item-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 10px;
}

.cart-item-size {
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
}

.cart-item-price {
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.cart-qty {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  height: 27px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty button,
.cart-qty span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: #fff;
}

.cart-qty span {
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  font-weight: 900;
}

.cart-remove {
  align-self: flex-start;
  width: 18px;
  height: 18px;
  opacity: 0.55;
  transition: 0.2s ease;
}

.cart-remove img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-remove:hover {
  opacity: 1;
}

.cart-summary {
  position: sticky;
  bottom: -1px;
  z-index: 5;
  background: #f4f4f4;
  padding: 14px 0 2px;
  box-shadow: 0 -18px 24px rgba(244, 244, 244, 0.96);
}

.cart-summary::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  bottom: -30px;
  height: calc(100% + 48px);
  background: #f4f4f4;
  z-index: -1;
}

.cart-delivery,
.cart-promo,
.cart-total-box {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 8px;
}

.cart-delivery {
  padding: 14px;
}

.cart-delivery-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cart-delivery-limit {
  text-align: right;
}

.cart-progress {
  height: 5px;
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
}

.cart-progress span {
  display: block;
  height: 100%;
  background: #ff7a00;
}

.cart-promo {
  overflow: hidden;
}

.cart-promo-head {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 18px 1fr auto 18px;
  align-items: center;
  gap: 8px;
}

.cart-promo-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.cart-promo-label {
  font-size: 13px;
  color: #777;
}

.cart-promo-apply-text {
  font-size: 12px;
  font-weight: 900;
  color: #ff7a00;
}

.cart-promo-arrow {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: 0.25s ease;
}

.cart-promo.open .cart-promo-arrow {
  transform: rotate(180deg);
}

.cart-promo-form {
  display: none;
  padding: 0 12px 12px;
  grid-template-columns: 1fr 104px;
  gap: 10px;
}

.cart-promo.open .cart-promo-form {
  display: grid;
}

.cart-promo-form input {
  height: 40px;
  border: 1px solid #dedede;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 12px;
  outline: none;
}

.cart-promo-form input:focus {
  border-color: #ff7a00;
}

.cart-promo-form button {
  height: 40px;
  border-radius: 6px;
  background: #ff7a00;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cart-promo-message {
  display: none;
  padding: 0 12px 12px;
  font-size: 11px;
  font-weight: 800;
}

.cart-promo-message.success {
  display: block;
  color: #168a3a;
}

.cart-promo-message.error {
  display: block;
  color: #d33;
}

.cart-total-box {
  padding: 14px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 10px;
}

.cart-total-row b {
  white-space: nowrap;
}

.cart-final-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 12px;
  align-items: stretch;
}

.cart-final-price-box {
  min-width: 0;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-final-price-box span {
  font-size: 11px;
  color: #555;
  margin-bottom: 3px;
}

.cart-final-price-box b {
  font-size: clamp(14px, 4vw, 20px);
  line-height: 1;
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
}

.cart-checkout-btn {
  min-width: 0;
  height: 58px;
  border-radius: 8px;
  background: #ff7a00;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
}

.cart-checkout-btn:hover {
  background: #d3922e;
}

.cart-mini-pay {
  margin-top: 14px;
  border-top: 1px solid #ddd;
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 8px;
}

.cart-mini-pay img {
  justify-self: center;
  width: auto;
  height: 16px;
  max-width: 58px;
  object-fit: contain;
  display: block;
}

@media (max-width: 420px) {
  .cart-drawer {
    width: 100vw;
    border-radius: 0;
  }

  .cart-final-panel {
    grid-template-columns: 1fr;
  }

  .cart-checkout-btn {
    height: 48px;
  }
}




/* FIX CART TEXT COLORS ON PRODUCT PAGE */

.cart-drawer,
.cart-drawer * {
  color: #050505;
}

.cart-item-title,
.cart-item-price,
.cart-total-row b,
.cart-final-price-box b,
.cart-header h2,
.cart-header p {
  color: #050505 !important;
}

.cart-item-size,
.cart-total-row span,
.cart-promo-label,
.cart-safe span {
  color: #777 !important;
}

.cart-checkout-btn {
  color: #fff !important;
}





/* WhatsApp правый нижний угол */

.whatsapp-floating {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 24px;
  border-radius: 999px;

  background: #25d366;
  color: #fff;
  text-decoration: none;

  font-size: 12px;
  font-weight: 900;

  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.35);
}

.whatsapp-floating img {
  width: 30px;
  height: 30px;
  display: block;
}

.whatsapp-floating:hover {
  transform: translateY(-3px);
}














/* ===============================
   SEARCH MODAL
================================ */

.search-open-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.search-open-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  z-index: 9500;

  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  position: fixed;
  left: 50%;
  top: 90px;
  transform: translateX(-50%) translateY(-20px);

  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 130px);

  background: #fff;
  color: #050505;
  border-radius: 24px;
  padding: 26px;

  z-index: 9501;

  opacity: 0;
  visibility: hidden;
  transition: .25s ease;

  box-shadow: 0 28px 90px rgba(0,0,0,.35);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.search-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.search-modal-head h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
}

.search-modal-head p {
  color: #777;
}

.search-modal-head button {
  border: none;
  background: transparent;
  font-size: 34px;
  font-weight: 900;
  cursor: pointer;
}

.search-input-box {
  height: 60px;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.search-input-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.search-input-box input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;

  font-size: 17px;
  font-weight: 700;
}

.search-results {
  margin-top: 20px;
  display: grid;
  gap: 12px;

  max-height: 430px;
  overflow-y: auto;
  padding-right: 6px;
}

.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 999px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 16px;
  align-items: center;

  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 18px;

  color: #050505;
  text-decoration: none;
  transition: .2s ease;
}

.search-result-card:hover {
  border-color: #d99a28;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.search-result-card img {
  width: 82px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8f8f8;
}

.search-result-card h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 5px;
}

.search-result-card p {
  color: #777;
  font-size: 13px;
  margin-bottom: 6px;
}

.search-result-card b {
  color: #d99a28;
  font-size: 17px;
}

.search-result-arrow {
  font-size: 26px;
  color: #d99a28;
}

.search-empty {
  padding: 28px;
  text-align: center;
  color: #777;
  border: 1px dashed #ddd;
  border-radius: 18px;
}















/* ДОБАВЛЯТЬ ИЗБРАННОЕ И ПОКАЗЫВАТЬ В АДМИНКЕ */

.product-favorite-btn {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-favorite-btn img {
  width: 22px;
  height: 22px;
}

.product-favorite-btn.active {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239,68,68,0.1);
}




















/* =================================
   LIGHT PRODUCT PAGE — ALL PRODUCTS
================================= */

body.frame-product-page {
  --frame-red: #ed111b;
  --frame-text: #151515;
  --frame-muted: #777;
  --frame-line: #e7e7e7;
  --frame-soft: #f7f7f7;

  background: #ffffff;
  color: var(--frame-text);
}

.frame-product-page .top-marquee {
  display: none;
}

.frame-product-page .site-header {
  background: #ffffff;
  border-bottom: 1px solid #ededed;
  box-shadow: none;
}

.frame-product-page .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.frame-product-page .logo span,
.frame-product-page .main-nav a {
  color: #161616;
}

.frame-product-page .logo img {
  content: url("images/f1-logo-red.png");
}

.frame-product-page .nav-icons img,
.frame-product-page .header-actions img {
  filter: invert(1);
}

.frame-product-page .burger span {
  background: #161616;
}

.frame-product-page .product-page {
  width: min(1220px, calc(100% - 48px));
  margin-top: 28px;
}

.frame-product-page .breadcrumbs {
  color: #a0a0a0;
  margin-bottom: 30px;
}

.frame-product-page .breadcrumbs a {
  color: #999;
}

.frame-product-page .breadcrumbs b {
  color: #777;
}

.frame-product-page .product-showcase {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 55px;
}

.frame-product-page .main-image-box {
  height: 610px;
  border-radius: 5px;
  background: #f2eee9;
  box-shadow: none;
}

.frame-product-page .main-image-box img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frame-product-page .gallery-arrow {
  background: rgba(255,255,255,0.78);
  color: #222;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.frame-product-page .thumbs {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.frame-product-page .thumbs::-webkit-scrollbar {
  display: none;
}

.frame-product-page .thumb {
  flex: 0 0 105px;
  height: 105px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  box-shadow: none;
}

.frame-product-page .thumb.active {
  border-color: var(--frame-red);
  box-shadow: none;
}

.frame-product-page .product-details {
  padding-top: 5px;
}

.frame-product-page .brand-row {
  margin-bottom: 16px;
}

.frame-product-page .brand-badge {
  height: auto;
  padding: 0;
  background: none;
  color: var(--frame-red);
  font-size: 12px;
}

.frame-product-page .stock-pill {
  display: none;
}

.frame-product-page .product-details h1 {
  color: var(--frame-text);
  max-width: 550px;
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.08;
}

.frame-product-page .rating-row {
  display: none;
}

.frame-product-page .product-price {
  margin-bottom: 13px;
  color: var(--frame-text);
  font-size: 30px;
}

.frame-product-page .stock-text {
  display: none;
}

.frame-product-page .product-description {
  color: #555;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 23px;
  white-space: pre-wrap;
}

.frame-product-meta {
  display: grid;
  gap: 15px;
  margin: 24px 0 40px;
}

.frame-product-meta[hidden] {
  display: none;
}

.frame-product-meta > div {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 20px;
  align-items: start;
}

.frame-product-meta span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555;
  font-size: 13px;
}

.frame-product-meta span img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.frame-product-meta b {
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

.frame-variant-section {
  margin: 0 0 18px;
}

.frame-variant-section[hidden] {
  display: none;
}

.frame-variant-section > label {
  display: block;
  margin-bottom: 10px;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.frame-variant-control {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 12px;
}

.frame-variant-control select {
  width: 100%;
  height: 48px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  padding: 0 14px;
  outline: none;
}

.frame-variant-preview {
  height: 48px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 4px;
}

.frame-variant-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frame-product-page .quantity-row {
  display: none;
}

.frame-product-page .add-cart-btn {
  height: 52px;
  border-radius: 4px;
  background: var(--frame-red);
  box-shadow: none;
  margin-bottom: 11px;
}

.frame-product-page .add-cart-btn img {
  width: 19px;
  margin-right: 12px;
}

.frame-product-page .whatsapp-product-btn {
  height: 50px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  color: #222;
  background: #fff;
}

.frame-product-page .product-benefits {
  margin-top: 47px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.frame-product-page .product-benefits article {
  grid-template-columns: 42px 1fr;
}

.frame-product-page .product-benefits span {
  width: 42px;
  height: 42px;
  background: none;
  border-radius: 0;
}

.frame-product-page .product-benefits span img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.frame-product-page .product-benefits h3 {
  color: #333;
  font-size: 13px;
}

.frame-product-page .product-benefits p {
  color: #666;
  font-size: 11px;
}

.frame-product-page .related-section {
  margin-top: 70px;
}

.frame-product-page .section-head {
  justify-content: center;
}

.frame-product-page .section-head h2 {
  color: #222;
  font-size: 22px;
  text-transform: uppercase;
}

.frame-product-page .section-head a {
  display: none;
}

.frame-product-page .related-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scrollbar-width: none;
}

.frame-product-page .related-grid::-webkit-scrollbar {
  display: none;
}

.frame-product-page .related-card {
  flex: 0 0 calc((100% - 75px) / 6);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #222;
}

.frame-product-page .related-card:hover {
  transform: none;
  border-color: #bbb;
}

.frame-product-page .related-card img {
  height: 190px;
  margin-bottom: 11px;
  border-radius: 0;
  background: #f5f5f5;
}

.frame-product-page .related-card h3 {
  min-height: 35px;
  font-size: 12px;
}

.frame-product-page .related-card p {
  color: #777;
  font-size: 10px;
}

.frame-product-page .related-card b {
  color: #222;
  font-size: 12px;
}

.product-reviews-section {
  display: block;

  width: min(
    1220px,
    calc(100% - 48px)
  );

  margin:
    65px auto 75px;
}


.product-reviews-section h2 {
  margin-bottom: 25px;
  text-align: center;
  color: #222;
  font-size: 22px;
}

.product-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-review-card {
  min-height: 220px;
  padding: 24px;
  background: #f8f8f8;
}

.product-review-stars {
  margin-bottom: 14px;
  color: var(--frame-red);
  letter-spacing: 2px;
}

.product-review-card h3 {
  margin-bottom: 13px;
  color: #222;
  font-size: 14px;
}

.product-review-card > p {
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}

.product-review-author {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.product-review-author b,
.product-review-author span {
  display: block;
}

.product-review-author b {
  color: #333;
  font-size: 12px;
}

.product-review-author span {
  color: #777;
  font-size: 10px;
}

.product-review-author img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 950px) {
  .frame-product-page .product-page {
    width: min(100% - 28px, 650px);
    margin-top: 18px;
  }

  .frame-product-page .product-showcase {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .frame-product-page .main-image-box {
    height: auto;
    aspect-ratio: 0.86;
  }

  .frame-product-page .thumbs {
    gap: 7px;
  }

  .frame-product-page .thumb {
    flex-basis: 63px;
    height: 63px;
  }

  .frame-product-page .product-details h1 {
    font-size: 27px;
  }

  .frame-product-page .product-price {
    font-size: 24px;
  }

  .frame-product-meta > div {
    grid-template-columns: 140px 1fr;
    gap: 10px;
  }

  .frame-product-page .product-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .frame-product-page .product-benefits article {
    padding: 14px;
    border: 1px solid #eee;
    grid-template-columns: 35px 1fr;
  }

  .frame-product-page .related-card {
    flex-basis: 31%;
  }

  .product-reviews-grid {
    grid-template-columns: 1fr;
  }

  .frame-product-page .product-reviews-section {
    width: min(100% - 28px, 650px);
    margin-top: 50px;
  }
}

@media (max-width: 520px) {
  .frame-product-page .related-card {
    flex-basis: 43%;
  }

  .frame-product-page .product-benefits h3 {
    font-size: 10px;
  }

  .frame-product-page .product-benefits p {
    font-size: 8px;
  }
}








/* =================================
   FAVORITE BUTTON — LIGHT FRAME PAGE
================================= */

.frame-product-page .product-favorite-btn {
  width: 100%;
  height: 50px;
  margin: 0 0 11px;

  border: 1px solid #d7d7d7;
  border-radius: 4px;

  background: #ffffff;
  color: #222222;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 800;

  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.frame-product-page .product-favorite-btn img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.frame-product-page .product-favorite-btn:hover {
  border-color: #ed111b;
  color: #ed111b;
  background: #fff8f8;
}

.frame-product-page .product-favorite-btn.active {
  border-color: #ed111b;
  color: #ed111b;
  background: #fff1f2;
}




/* =================================
   PRODUCT FOOTER
================================= */

.product-footer {
  margin-top: 70px;
  padding: 55px 0 25px;
  background: #f8f8f8;
  color: #222222;
  border-top: 1px solid #eeeeee;
}

.product-footer-container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 330px 1fr;
  column-gap: 90px;
  row-gap: 35px;
}

.product-footer-newsletter h3 {
  margin: 0 0 11px;
  font-size: 14px;
  color: #202020;
}

.product-footer-newsletter p {
  max-width: 290px;
  margin: 0 0 17px;

  color: #555555;
  font-size: 12px;
  line-height: 1.55;
}

.product-footer-subscribe {
  display: grid;
  grid-template-columns: 1fr 46px;
}

.product-footer-subscribe input {
  min-width: 0;
  height: 42px;

  border: 0;
  border-radius: 4px 0 0 4px;

  background: #e8e8e8;
  color: #222222;

  padding: 0 14px;
  outline: none;
}

.product-footer-subscribe button {
  height: 42px;

  border: 0;
  border-radius: 0 4px 4px 0;

  background: #ed111b;
  color: #ffffff;

  font-size: 21px;
  cursor: pointer;
}

.product-footer-socials {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
}

.product-footer-socials a {
  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.product-footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-footer-links {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
}

.product-footer-links details {
  border: 0;
}

.product-footer-links summary {
  margin-bottom: 15px;

  list-style: none;
  cursor: pointer;

  color: #222222;
  font-size: 13px;
  font-weight: 900;
}

.product-footer-links summary::-webkit-details-marker {
  display: none;
}

.product-footer-links a {
  display: block;
  margin-bottom: 9px;

  color: #444444;
  font-size: 12px;

  transition: color 0.2s ease;
}

.product-footer-links a:hover {
  color: #ed111b;
}

.product-footer-bottom {
  grid-column: 1 / -1;

  padding-top: 20px;
  border-top: 1px solid #dddddd;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  color: #777777;
  font-size: 10px;
}

.product-footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-footer-bottom a:hover {
  color: #ed111b;
}



@media (max-width: 768px) {
  .product-footer {
    margin-top: 45px;
    padding: 25px 0 20px;
  }

  .product-footer-container {
    width: min(100% - 28px, 650px);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-footer-newsletter {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
  }

  .product-footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-footer-links details {
    padding: 16px 0;
    border-top: 1px solid #dddddd;
  }

  .product-footer-links details:last-child {
    border-bottom: 1px solid #dddddd;
  }

  .product-footer-links summary {
    position: relative;
    margin: 0;
    padding-right: 25px;
  }

  .product-footer-links summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: -2px;
    font-size: 18px;
    font-weight: 400;
  }

  .product-footer-links details[open] summary {
    margin-bottom: 14px;
  }

  .product-footer-links details[open] summary::after {
    content: "−";
  }

  .product-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-footer-bottom > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}




/* CITY FRAME PRODUCT OPTIONS */

.city-product-options {
  margin-bottom: 20px;
}

.city-product-option-field {
  display: block;
  margin-bottom: 15px;
}

.city-product-option-field > span {
  display: block;
  margin-bottom: 8px;

  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.city-product-option-field select {
  width: 100%;
  min-height: 50px;

  padding: 0 15px;

  border: 1px solid
    rgba(0, 0, 0, 0.2);

  border-radius: 5px;

  background: #fff;
  color: #111;

  font-size: 14px;
}

.city-product-option-error {
  min-height: 17px;
  color: #ed111b;
  font-size: 12px;
  font-weight: 700;
}

.frame-product-page
.city-product-option-field select {
  border-color: #ddd;
}

@media (max-width: 700px) {
  .city-product-option-field select {
    min-height: 55px;
    font-size: 15px;
  }
}




/* =================================
   SET PRODUCT META
================================= */

.set-product-meta {
  padding: 20px 0;

  margin-bottom: 24px;

  border-top:
    1px solid #e6e6e6;

  border-bottom:
    1px solid #e6e6e6;

  display: grid;

  gap: 14px;
}

.set-product-meta[hidden] {
  display: none;
}

.set-product-meta > div {
  display: grid;

  grid-template-columns:
    170px 1fr;

  gap: 18px;

  align-items: start;
}

.set-product-meta span {
  color: #999;

  font-size: 14px;
}

.set-product-meta b {
  color: #222;

  font-size: 15px;

  font-weight: 700;

  line-height: 1.45;
}


@media (max-width: 600px) {

  .set-product-meta > div {
    grid-template-columns:
      1fr;

    gap: 5px;
  }

}