﻿:root {
  --bg: #fdf9fa;
  --surface: #ffffff;
  --soft: #f5ecef;
  --soft-2: #f8f2f5;
  --border: #eadfe4;
  --primary: #4d3441;
  --text: #43313b;
  --muted: #7d6a74;
  --accent: #9b7d8b;
  --pill: #d899b2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #f7eff3 0, transparent 45%),
    radial-gradient(circle at 90% 20%, #f8f2ea 0, transparent 38%),
    var(--bg);
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin: 0 auto;
  width: min(1150px, 94%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(234, 223, 228, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(9px);
}

.header-row {
  display: flex;
  min-height: 74px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.4rem 0;
}

.header-row-store {
  justify-content: center;
  gap: 0.75rem;
}

.header-row-store .header-search {
  flex: 0 1 560px;
  width: min(560px, 52vw);
}

.header-row-store .header-icons-wrap {
  margin-left: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.08rem;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--primary);
}

.header-search {
  position: relative;
  flex: 1 1 430px;
  min-width: 240px;
  max-width: 620px;
}

.header-search input {
  width: 100%;
  height: 46px;
  border: 1px solid #e2d2da;
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 2.9rem 0.65rem 1rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
}

.header-search input::placeholder {
  color: #8b7983;
}

.header-search input:focus {
  outline: 2px solid rgba(216, 153, 178, 0.35);
  outline-offset: 1px;
}

.header-search-icon {
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 0.95rem;
  display: inline-flex;
  transform: translateY(-50%);
  color: #8a7480;
}

.header-search-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-subtitle {
  margin-top: 0;
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.brand-subtitle-store {
  letter-spacing: 0.27em;
  margin-top: 0.16rem;
  line-height: 1.15;
}

.brand-subtitle-admin {
  margin-top: 0.16rem;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  font-size: 0.84rem;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  color: #6f5b67;
  transition: 0.2s ease;
}

.site-nav a:hover {
  background: #f8f3f5;
  color: var(--primary);
}

.cart-pill {
  margin-left: 0.2rem;
  display: inline-flex;
  min-width: 5.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--pill);
  padding: 0.38rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
}

.header-icons-wrap {
  position: relative;
  margin-left: auto;
}

.header-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #866d7a;
  padding: 0;
  transition: 0.2s ease;
}

.icon-btn:hover {
  background: #f8f3f5;
  border-color: #eadfe4;
  color: var(--primary);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bag-btn {
  position: relative;
}

.cart-mini-count {
  position: absolute;
  top: -2px;
  right: -3px;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--pill);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  padding: 0 3px;
}

.section {
  padding: 2.3rem 0;
}

.section-featured {
  padding-top: 2.6rem;
}

.section-head {
  margin-bottom: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.7rem 1rem;
}

.section-head.compact {
  margin-bottom: 0.6rem;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.link-cta {
  font-size: 0.92rem;
  font-weight: 500;
  color: #6f4f60;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-cta:hover {
  color: var(--primary);
}

.offers-grid,
.products-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-brands {
  padding-top: 0.9rem;
  padding-bottom: 1.1rem;
}

.section-brand-products {
  padding-top: 1rem;
}

.brand-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo-item {
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-shadow: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.brand-logo-item:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.brand-logo-item.is-active {
  opacity: 1;
}

.brand-logo-item-image {
  width: auto;
  height: auto;
  max-width: min(180px, 38vw);
  max-height: 90px;
  object-fit: contain;
  display: block;
}

.brand-logo-item.is-active .brand-logo-item-image {
  outline: 2px solid #d6b4c4;
  outline-offset: 4px;
  border-radius: 8px;
}

.card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(77, 52, 65, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-product {
  cursor: pointer;
}

.card-product:focus-visible {
  outline: 2px solid rgba(216, 153, 178, 0.45);
  outline-offset: 2px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(77, 52, 65, 0.15);
}

.product-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--soft);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .product-photo {
  transform: scale(1.04);
}

.card h3 {
  margin: 0.9rem 0.95rem 0;
  min-height: 3.6rem;
  font-size: 1.78rem;
  line-height: 1.05;
  color: var(--primary);
}

.meta {
  margin: 0.6rem 0.95rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip {
  border: 1px solid #e5d3db;
  border-radius: 999px;
  background: #f6edf1;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e7180;
}

.chip-stock-ok {
  background: #eef7ef;
  border-color: #cfe5d2;
  color: #56725a;
}

.chip-stock-alert {
  background: #f9eef1;
  border-color: #ebccd6;
  color: #9a4f6d;
}

.chip-preorder {
  background: #f4edf9;
  border-color: #ddd0ef;
  color: #6f5b93;
}

.price {
  margin: 0.75rem 0.95rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.card-hint {
  margin: 0.45rem 0.95rem 0;
  font-size: 0.76rem;
  color: #8a7480;
}

.old-price {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.cta-row {
  margin: auto 0.95rem 0.95rem;
}

.card-preorder-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-product-detail {
  padding-top: 1rem;
}

.product-detail-topbar {
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 110px minmax(320px, 1fr) minmax(300px, 520px);
  gap: 0.9rem;
  align-items: start;
}

.product-gallery-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

button.product-gallery-thumb,
button.product-gallery-thumb:hover {
  width: 100px;
  height: 142px;
  min-width: 100px;
  border-radius: 1rem;
  border: 1px solid #ddc9d4;
  background: #fff;
  padding: 0.28rem;
  color: inherit;
  box-shadow: 0 8px 18px rgba(77, 52, 65, 0.08);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery-main {
  border: 1px solid #dfced7;
  border-radius: 1.2rem;
  background: #f7edf2;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  min-height: 560px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-panel {
  border: 1px solid #dfced7;
  border-radius: 1.2rem;
  background: #fff;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #5a434f;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.product-title-row h2 {
  margin: 0;
  font-size: clamp(2.05rem, 2.8vw, 2.5rem);
  line-height: 1.02;
  color: var(--primary);
}

.product-sku {
  margin-top: 0.34rem;
  white-space: nowrap;
  font-size: 0.9rem;
  color: #78656f;
}

.product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.93rem;
  color: #5d4b55;
}

.product-stars {
  letter-spacing: 0.12em;
  color: #2f2328;
  font-size: 0.84rem;
}

.product-reviews {
  color: #7f6a74;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-rating-empty {
  color: #7f6a74;
  font-size: 0.9rem;
}

.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.product-price-current,
.product-price-old,
.product-price-installments,
.product-fragrance-current,
.product-size-line {
  margin: 0;
}

.product-price-current {
  font-size: 2.02rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price-old {
  font-size: 0.94rem;
  color: #8b7581;
  text-decoration: line-through;
}

.product-price-installments {
  color: #a24f73;
  font-size: 1.05rem;
  font-weight: 700;
}

.product-promo-note {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #7b6772;
}

.product-availability-card {
  display: grid;
  gap: 0.16rem;
  border: 1px solid #e5d8df;
  border-radius: 0.95rem;
  padding: 0.72rem 0.8rem;
  background: #fbf7f9;
}

.product-availability-card strong {
  color: #4d3441;
  font-size: 0.92rem;
}

.product-availability-card span {
  color: #6f5a65;
  font-size: 0.84rem;
  line-height: 1.45;
}

.product-availability-card.is-in-stock {
  background: #f3f9f3;
  border-color: #d3e6d5;
}

.product-availability-card.is-preorder {
  background: #fcf3f6;
  border-color: #e8ccd7;
}

.product-availability-card.is-unavailable {
  background: #f6f3f4;
  border-color: #dfd6da;
}

.product-promo-note strong {
  color: #5d4753;
}

.product-fragrance-current {
  margin-top: 0.2rem;
  color: #4f3944;
  font-size: 1.06rem;
  font-weight: 700;
}

.product-detail-variants {
  margin-top: 0.18rem;
}

.product-detail-variants-title {
  margin: 0 0 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  font-weight: 700;
  color: #856e7a;
}

.product-detail-variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

button.fragrance-option,
button.fragrance-option:hover {
  width: 47px;
  height: 47px;
  min-width: 47px;
  border-radius: 999px;
  border: 1px solid #d9c5cf;
  background: #fff;
  padding: 0.16rem;
}

.fragrance-option img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

button.fragrance-option.is-active,
button.fragrance-option.is-active:hover {
  border-color: #46313d;
  box-shadow: 0 0 0 2px #f6edf1;
}

.product-size-line {
  margin-top: 0.35rem;
  color: #6f5965;
  font-size: 1rem;
}

.product-size-line strong {
  color: #2f2429;
}

.product-buy-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.55rem;
}

.product-buy-row-preorder {
  grid-template-columns: 1fr;
}

.product-qty-wrap {
  display: block;
}

select.product-qty-select {
  width: 100%;
  height: 56px;
  border: 1px solid #dcc8d3;
  border-radius: 0.7rem;
  background: #f4ecf1;
  padding: 0 0.72rem;
  font-size: 1.08rem;
  color: #4f3b46;
  appearance: auto;
}

button.product-add-main,
button.product-add-main:hover {
  width: 100%;
  height: 56px;
  border-radius: 0.7rem;
  border-color: #e6b9cb;
  background: #e6b9cb;
  color: #37242d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.04rem;
}

button.product-add-main:hover {
  border-color: #dca9be;
  background: #dca9be;
}

button.product-add-main:disabled,
button.product-add-main:disabled:hover {
  cursor: not-allowed;
  opacity: 0.64;
}

a.product-preorder-main,
a.product-preorder-main:hover {
  width: 100%;
  height: 56px;
  border: 1px solid #dcc8d3;
  border-radius: 0.7rem;
  background: #f4ecf1;
  color: #513b47;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 600;
}

.product-preorder-note {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: #7d6772;
}

.product-about {
  margin-top: 0.55rem;
  border-top: 1px solid #ecdee5;
  padding-top: 0.7rem;
}

.product-about h3 {
  margin: 0 0 0.38rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4b3742;
}

.product-about p {
  margin: 0;
  color: #4e3d46;
  line-height: 1.5;
}

.product-ingredients {
  border-top: 1px solid #ecdee5;
  border-bottom: 1px solid #ecdee5;
  padding: 0.55rem 0;
}

.product-ingredients summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #4b3742;
}

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

.product-ingredients summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

.product-ingredients[open] summary::after {
  content: "-";
}

.product-ingredients p {
  margin: 0.44rem 0 0;
  color: #5a4852;
  line-height: 1.45;
}

.product-detail-empty {
  margin: 0;
  color: #806a75;
  font-size: 0.9rem;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

button,
.button {
  width: 100%;
  cursor: pointer;
  border: 1px solid #d8c4cf;
  border-radius: 999px;
  background: #5b3f4d;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  transition: 0.2s ease;
}

button:hover,
.button:hover {
  background: #4a313f;
}

.secondary {
  background: #faf4f7;
  color: #684d59;
}

.secondary:hover {
  background: #f2e5eb;
}

.danger {
  background: #b64f73;
  border-color: #b64f73;
  color: #fff;
}

.danger:hover {
  background: #9d3f61;
}

.header-icons .icon-btn,
.header-icons .icon-btn:hover {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 999px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #866d7a;
}

.header-icons .icon-btn:hover {
  background: #f8f3f5;
  border-color: #eadfe4;
  color: var(--primary);
}

.section-benefits {
  padding-top: 1rem;
}

.benefits-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(77, 52, 65, 0.08);
}

.benefit-card h3 {
  font-size: 2rem;
}

.benefit-card p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #705d67;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(77, 52, 65, 0.07);
}

.search-panel {
  margin-bottom: 1rem;
}

.filters {
  display: grid;
  align-items: end;
  gap: 0.7rem;
  grid-template-columns: 1.5fr 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.admin-checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: #64525d;
}

.admin-checkbox-line input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: #5b3f4d;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dfced7;
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(216, 153, 178, 0.35);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.field-brand-suggest {
  position: relative;
}

.brand-suggest-panel {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 35;
  border: 1px solid #dfced7;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 12px 24px rgba(77, 52, 65, 0.12);
  padding: 0.3rem;
  display: grid;
  gap: 0.2rem;
  max-height: 220px;
  overflow-y: auto;
}

.brand-suggest-panel[hidden] {
  display: none;
}

.brand-suggest-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  padding: 0.45rem 0.55rem;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 500;
  color: #5f4b56;
}

.brand-suggest-item:hover:not(:disabled) {
  border-color: #ead8e1;
  background: #f9f1f5;
  color: #4d3441;
}

.brand-suggest-item:disabled {
  opacity: 0.65;
  cursor: default;
}

.cart-panel {
  max-width: 780px;
  margin: 0 auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1rem;
  align-items: start;
}

.cart-layout .cart-panel {
  max-width: none;
  margin: 0;
}

.cart-summary h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

.cart-list {
  display: grid;
  gap: 0.7rem;
}

.cart-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  padding: 0.8rem;
}

.cart-item h4 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-item p {
  margin: 0.25rem 0 0.55rem;
  font-size: 0.82rem;
  color: #715f69;
}

.qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.qty button {
  width: auto;
  min-width: 32px;
  padding: 0.38rem 0.62rem;
}

.cart-total {
  margin: 0.9rem 0 0.65rem;
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--primary);
  display: grid;
  gap: 0.28rem;
}

.cart-total-main {
  font-size: 1.12rem;
  color: var(--primary);
}

.cart-total-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: #7b6671;
}

.cart-promo-list {
  margin: 0.15rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.22rem;
}

.cart-promo-list li {
  font-size: 0.79rem;
  font-weight: 500;
  color: #715b66;
}

.cart-promo-list strong {
  color: #614552;
}

.stack {
  display: grid;
  gap: 0.6rem;
}

.cart-empty-link {
  display: inline-block;
  margin-top: 0.45rem;
}

.empty {
  grid-column: 1 / -1;
  border: 1px dashed #d8c4cf;
  border-radius: 0.95rem;
  background: #fff;
  padding: 1rem;
  text-align: center;
  color: #7a6771;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  font-size: 0.92rem;
  color: #7b6872;
}

.admin-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.admin-grid .full {
  grid-column: 1 / -1;
}

.section-admin {
  padding-top: 1.8rem;
}

.admin-shell {
  border-color: #e4dbe0;
  border-radius: 1.6rem;
  background: #f3f3f5;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(77, 52, 65, 0.08);
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem 1rem;
}

.admin-title {
  margin-top: 0.25rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: #22304a;
}

.admin-subtitle {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: #665b64;
}

.admin-shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9bcc6;
  border-radius: 999px;
  background: #fff;
  padding: 0.5rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #4f3d47;
  transition: 0.2s ease;
}

.admin-shop-link:hover {
  background: #f8f5f7;
}

.admin-quick-stats {
  margin-top: 0.95rem;
}

.admin-stat-line {
  margin: 0.16rem 0;
  font-size: 0.9rem;
  color: #5f4d58;
}

.admin-stat-line strong {
  color: #1f2d44;
}

.admin-add-btn {
  margin-top: 0.8rem;
  width: auto;
  min-width: 210px;
  border: 1px solid #5f3f51;
  border-radius: 999px;
  background: #654557;
  padding: 0.65rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.admin-add-btn:hover {
  background: #56394a;
}

.private-guide-card {
  margin-top: 0.95rem;
}

.private-guide-list {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.24rem;
  font-size: 0.9rem;
  color: #5f4d58;
}

.private-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.admin-form-card,
.admin-table-card {
  border: 1px solid #e1d8dd;
  border-radius: 1.15rem;
  background: #fff;
  padding: 1rem;
}

.admin-form-large {
  margin-top: 0.95rem;
  padding: 1.35rem;
}

.private-shell {
  background: linear-gradient(180deg, #f4f3f5 0%, #f0edf0 100%);
}

.private-metrics-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.private-metric-card {
  border: 1px solid #e1d8dd;
  border-radius: 1.1rem;
  background: #fff;
  padding: 0.9rem 0.95rem;
  display: grid;
  gap: 0.24rem;
  box-shadow: 0 8px 18px rgba(77, 52, 65, 0.06);
}

.private-metric-card span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c6973;
}

.private-metric-card strong {
  font-size: 1.15rem;
  color: #23314a;
}

.private-shell input[readonly] {
  background: #f8f5f7;
  color: #665b64;
}

.admin-product-form {
  margin-top: 0;
  gap: 1rem 0.9rem;
}

.admin-product-form .field label {
  font-size: 0.96rem;
  font-weight: 600;
  color: #4f3f4a;
}

.admin-product-form .field input,
.admin-product-form .field select,
.admin-product-form .field textarea {
  border-radius: 1rem;
  background: #fff;
  padding: 0.8rem 0.9rem;
}

.admin-product-form .field textarea {
  min-height: 96px;
}

.admin-form-card h2,
.admin-table-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  color: #22304a;
}

.admin-form-card p,
.admin-table-head p,
.admin-table-card p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: #665b64;
}

.admin-table-card {
  margin-top: 0.85rem;
}

.admin-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
}

.admin-table {
  min-width: 900px;
  margin-top: 0;
}

.admin-table td {
  font-size: 0.84rem;
  color: #5f4b56;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.admin-actions button {
  width: auto;
  min-width: 86px;
  padding: 0.38rem 0.72rem;
  font-size: 0.77rem;
}

.admin-actions button[data-brand-up],
.admin-actions button[data-brand-down] {
  min-width: 34px;
  width: 34px;
  padding: 0.3rem 0;
  font-size: 0.82rem;
}

.admin-brand-form {
  margin-top: 0.75rem;
}

.image-upload-shell-small {
  padding: 0.75rem;
  gap: 0.55rem;
}

.image-preview-small {
  width: min(160px, 100%);
  max-height: 140px;
}

.brand-mini-fallback {
  width: 52px;
  height: 52px;
  border-radius: 0.7rem;
  border: 1px solid #d8c1cb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5eaf0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #6d5360;
}

.image-upload-shell {
  border: 1px dashed #d8c4cf;
  border-radius: 1rem;
  background: #fdf9fb;
  padding: 1rem;
  display: grid;
  gap: 0.72rem;
}

.image-dropzone {
  border: 1px dashed #d8c4cf;
  border-radius: 0.95rem;
  background: #fcf8fa;
  padding: 1rem 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.image-dropzone:hover,
.image-dropzone.is-dragover {
  border-color: #cfaebd;
  background: #f7edf2;
}

.image-drop-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #503f49;
}

.image-drop-meta {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #7c6973;
}

.image-drop-actions {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.image-drop-actions button {
  width: auto;
  min-width: 160px;
  padding-inline: 0.9rem;
}

.image-preview {
  width: min(240px, 100%);
  max-height: 240px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid #d9c5cf;
  margin: 0 auto;
  display: block;
}

.image-inline-help {
  margin: 0;
  font-size: 0.82rem;
  color: #6d5964;
  text-align: center;
}

.admin-inline-help {
  margin: 0;
  font-size: 0.82rem;
  color: #6d5964;
  text-align: left;
}

.admin-inline-list {
  border: 1px solid #e1d8dd;
  border-radius: 0.95rem;
  background: #fbf8fa;
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.admin-inline-picker {
  border: 1px solid #e1d8dd;
  border-radius: 0.95rem;
  background: #fbf8fa;
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.admin-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.45rem;
}

.admin-picker-option {
  border: 1px solid #e7dde2;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.42rem 0.55rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #5f4d58;
}

.admin-picker-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.admin-picker-check input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  flex: 0 0 auto;
}

.admin-picker-check span {
  line-height: 1.2;
}

.admin-picker-qty {
  display: grid;
  gap: 0.2rem;
  min-width: 68px;
}

.admin-picker-qty span {
  font-size: 0.66rem;
  color: #7a6771;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-picker-qty input {
  width: 68px;
  padding: 0.28rem 0.35rem;
  border-radius: 0.55rem;
  border: 1px solid #d7c3cf;
  background: #fff;
  color: #503f49;
  font-size: 0.74rem;
}

.admin-inline-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid #e7dde2;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.4rem 0.55rem;
  font-size: 0.83rem;
  color: #5f4d58;
}

.admin-inline-list-item-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.admin-inline-list-item-name {
  margin: 0;
  font-size: 0.8rem;
  color: #4d3f47;
}

.admin-inline-list-item-fields {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-inline-list-item-field {
  display: grid;
  gap: 0.2rem;
  min-width: 110px;
}

.admin-inline-list-item-field span {
  font-size: 0.7rem;
  color: #7a6771;
}

.admin-inline-list-item-field input {
  min-width: 100px;
  padding: 0.35rem 0.45rem;
  border-radius: 0.6rem;
  border: 1px solid #d7c3cf;
  background: #fff;
  color: #503f49;
  font-size: 0.78rem;
}

.admin-inline-list-item-subtotal {
  font-size: 0.74rem;
  color: #6d5964;
}

.admin-inline-list-item button {
  width: auto;
  min-width: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
}

.image-upload-shell input {
  background: #fff;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-form-actions button {
  width: auto;
  min-width: 180px;
  padding-inline: 1rem;
}

.admin-form-actions-final {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.admin-form-actions-final button {
  width: 100%;
  min-width: 0;
}

.admin-advanced-actions {
  margin-top: 0.85rem;
  border: 1px dashed #d5c3cd;
  border-radius: 0.95rem;
  background: #fbf8fa;
  padding: 0.65rem 0.8rem;
}

.admin-advanced-actions summary {
  cursor: pointer;
  font-weight: 700;
  color: #604e59;
  list-style: none;
}

.admin-advanced-actions summary::-webkit-details-marker {
  display: none;
}

.admin-advanced-actions summary::before {
  content: "+ ";
}

.admin-advanced-actions[open] summary::before {
  content: "- ";
}

.admin-advanced-actions .admin-inline-help {
  margin-top: 0.45rem;
}

table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid #eee4e9;
  padding: 0.6rem;
  text-align: left;
  vertical-align: middle;
}

th {
  background: var(--soft-2);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #856a77;
}

.admin-thumb {
  width: 52px;
  height: 52px;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--soft);
}

@media (max-width: 1080px) {
  .offers-grid,
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .section {
    padding: 1.9rem 0;
  }

  .section-featured {
    padding-top: 2.1rem;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-head h1,
  .section-head h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .header-search {
    flex: 1 1 320px;
    min-width: 200px;
  }

  .header-row-store .header-search {
    flex: 1 1 320px;
    width: 100%;
    max-width: 620px;
  }

  .product-detail-layout {
    grid-template-columns: 90px 1fr;
  }

  .product-gallery-main img {
    min-height: 440px;
  }

  .product-detail-panel {
    grid-column: 1 / -1;
  }

  .filters,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

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

  .private-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offers-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand-logos-grid {
    gap: 0.55rem;
  }

  .benefit-card {
    padding: 1rem;
  }

  .benefit-card h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 1.2rem));
  }

  .site-header {
    position: static;
  }

  .header-row {
    align-items: center;
    flex-direction: column;
    min-height: 0;
    gap: 0.62rem;
    padding: 0.65rem 0 0.7rem;
  }

  .header-search {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .header-row-store .header-search {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    grid-column: 1;
  }

  .brand {
    width: auto;
    gap: 0.75rem;
    justify-content: center;
  }

  .header-row-store {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    justify-content: stretch;
  }

  .header-row-store .brand {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .brand-copy {
    min-width: 0;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.54rem;
    letter-spacing: 0.22em;
  }

  .header-search input {
    height: 44px;
    font-size: 0.94rem;
    padding-left: 0.9rem;
    padding-right: 2.65rem;
  }

  .header-search-icon {
    right: 0.85rem;
  }

  .header-search-icon svg {
    width: 17px;
    height: 17px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .product-gallery-rail {
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    padding-top: 0;
  }

  button.product-gallery-thumb,
  button.product-gallery-thumb:hover {
    width: 76px;
    height: 108px;
    min-width: 76px;
  }

  .product-gallery-main img {
    min-height: 280px;
  }

  .product-detail-topbar {
    margin-bottom: 0.55rem;
    justify-content: flex-start;
  }

  .section-product-detail {
    padding-top: 0.65rem;
  }

  .product-title-row {
    flex-direction: column;
    gap: 0.26rem;
  }

  .product-title-row h2 {
    font-size: 1.8rem;
  }

  .product-price-current {
    font-size: 1.7rem;
  }

  .product-price-installments {
    font-size: 0.98rem;
  }

  .product-rating {
    gap: 0.28rem;
    font-size: 0.86rem;
  }

  .product-stars {
    font-size: 0.78rem;
  }

  .product-buy-row {
    grid-template-columns: 72px 1fr;
    gap: 0.45rem;
  }

  select.product-qty-select,
  button.product-add-main,
  button.product-add-main:hover,
  a.product-preorder-main,
  a.product-preorder-main:hover {
    height: 50px;
  }

  button.product-add-main,
  button.product-add-main:hover,
  a.product-preorder-main,
  a.product-preorder-main:hover {
    font-size: 0.92rem;
  }

  .header-icons-wrap {
    width: 100%;
  }

  .header-row-store .header-icons-wrap {
    grid-column: 2;
    width: auto;
    justify-self: end;
  }

  .header-icons {
    width: auto;
    justify-content: center;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-logo-item-image {
    max-width: min(140px, 48vw);
    max-height: 72px;
  }

  .section-brands {
    padding-top: 0.55rem;
    padding-bottom: 0;
  }

  .brand-logos-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.7rem;
    margin-inline: -0.1rem;
    padding: 0.1rem 0.1rem 0.08rem;
    scrollbar-width: thin;
  }

  .brand-logo-item {
    flex: 0 0 auto;
  }

  .section-featured {
    margin-top: 0;
    padding-top: 0.55rem;
  }

  .section-head,
  .section-head.compact {
    margin-bottom: 0.45rem;
  }

  .section-featured .section-head {
    gap: 0.3rem;
  }

  .section-featured .section-head > div {
    width: 100%;
  }

  .section-featured .eyebrow {
    margin-bottom: 0.12rem;
  }

  .section-featured .link-cta {
    margin-top: 0.02rem;
  }

  .offers-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .product-thumb {
    aspect-ratio: 1 / 1.08;
  }

  .card h3 {
    min-height: 0;
    margin: 0.68rem 0.68rem 0;
    font-size: 1.14rem;
    line-height: 1.04;
  }

  .meta,
  .price,
  .card-hint,
  .cta-row {
    margin-left: 0.68rem;
    margin-right: 0.68rem;
  }

  .price {
    margin-top: 0.5rem;
    font-size: 0.92rem;
  }

  .card-hint {
    font-size: 0.68rem;
  }

  .chip {
    font-size: 0.62rem;
    padding: 0.18rem 0.42rem;
  }

  .cta-row {
    margin-bottom: 0.72rem;
  }

  .cta-row button,
  .cta-row .button {
    padding: 0.46rem 0.6rem;
    font-size: 0.74rem;
  }

  .section-head {
    margin-bottom: 0.8rem;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .link-cta {
    font-size: 0.88rem;
  }

  .product-detail-panel {
    padding: 0.85rem;
  }

  .product-kicker {
    font-size: 0.69rem;
  }

  .product-fragrance-current {
    font-size: 0.96rem;
  }

  .product-detail-variants-title {
    font-size: 0.67rem;
    margin-bottom: 0.35rem;
  }

  .product-detail-variants-list {
    gap: 0.34rem;
  }

  button.fragrance-option,
  button.fragrance-option:hover {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .product-availability-card {
    padding: 0.62rem 0.7rem;
    border-radius: 0.85rem;
  }

  .product-availability-card strong {
    font-size: 0.86rem;
  }

  .product-about p,
  .product-ingredients p,
  .product-preorder-note,
  .product-availability-card span {
    font-size: 0.82rem;
  }

  .product-about {
    margin-top: 0.35rem;
    padding-top: 0.6rem;
  }

  .product-about h3,
  .product-ingredients summary {
    font-size: 0.8rem;
    letter-spacing: 0.13em;
  }

  .product-ingredients {
    padding: 0.48rem 0;
  }

  .product-ingredients summary::after {
    font-size: 1.15rem;
  }

  .cart-layout {
    gap: 0.8rem;
  }

  .panel {
    padding: 0.85rem;
  }

  .benefits-grid {
    gap: 0.72rem;
  }

  .benefit-card p {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .site-footer {
    margin-top: 1.8rem;
    padding: 1.2rem 0;
  }

  .footer-row {
    font-size: 0.86rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.4rem;
  }

  .site-nav a {
    padding: 0.34rem 0.6rem;
    font-size: 0.8rem;
  }

  .cart-pill {
    margin-left: 0;
  }

  .admin-shell {
    padding: 0.8rem;
  }

  .admin-form-card,
  .admin-table-card {
    padding: 0.8rem;
  }

  .admin-form-large {
    padding: 0.95rem;
  }

  .admin-form-actions button,
  .admin-add-btn {
    width: 100%;
    min-width: 0;
  }

  .image-drop-actions button {
    width: 100%;
    min-width: 0;
  }

  .admin-actions button {
    min-width: 72px;
  }

  .private-metrics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .section {
    padding: 1.65rem 0;
  }

  .header-row-store {
    gap: 0.45rem;
  }

  .brand {
    width: 100%;
  }

  .brand-name {
    font-size: 1.16rem;
  }

  .brand-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
  }

  .header-row-store .header-search {
    width: 100%;
  }

  .header-icons-wrap {
    width: 36px;
    align-self: auto;
  }

  .header-icons {
    width: 36px;
  }

  .header-search input {
    height: 40px;
    font-size: 0.88rem;
    padding-left: 0.82rem;
    padding-right: 2.35rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 1.72rem;
  }

  .section-head {
    gap: 0.45rem;
  }

  .brand-logo-item-image {
    max-width: min(140px, 48vw);
    max-height: 72px;
  }

  .section-brands {
    padding-bottom: 0;
  }

  .brand-logos-grid {
    padding-bottom: 0.02rem;
  }

  .section-featured {
    padding-top: 0.34rem;
  }

  .offers-grid,
  .products-grid {
    gap: 0.72rem;
  }

  .product-gallery-main img {
    min-height: 240px;
  }

  .product-detail-panel {
    padding: 0.78rem;
    gap: 0.55rem;
  }

  .product-title-row h2 {
    font-size: 1.58rem;
  }

  .product-price-current {
    font-size: 1.52rem;
  }

  .product-price-old,
  .product-price-installments,
  .product-promo-note {
    font-size: 0.84rem;
  }

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

  .product-qty-wrap {
    width: 100%;
  }

  select.product-qty-select,
  button.product-add-main,
  button.product-add-main:hover,
  a.product-preorder-main,
  a.product-preorder-main:hover {
    height: 48px;
  }

  .product-rating {
    font-size: 0.82rem;
  }

  .product-fragrance-current {
    font-size: 0.9rem;
  }

  button.fragrance-option,
  button.fragrance-option:hover {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .card {
    border-radius: 1.15rem;
  }

  .card h3 {
    font-size: 1.02rem;
  }

  .meta {
    gap: 0.28rem;
  }

  .chip {
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }

  .price {
    font-size: 0.84rem;
  }

  .card-hint {
    font-size: 0.64rem;
  }

  .cta-row button,
  .cta-row .button {
    font-size: 0.68rem;
  }

  .benefit-card h3 {
    font-size: 1.45rem;
  }
}

@media (min-width: 376px) and (max-width: 390px) {
  .section-featured {
    margin-top: 0;
    padding-top: 0.42rem;
  }
}

@media (min-width: 391px) and (max-width: 430px) {
  .container {
    width: min(100%, calc(100% - 1.45rem));
  }

  .header-row {
    gap: 0.72rem;
    padding: 0.75rem 0 0.82rem;
  }

  .header-row-store {
    gap: 0.62rem;
  }

  .brand {
    width: auto;
    gap: 0.82rem;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .brand-subtitle {
    font-size: 0.53rem;
    letter-spacing: 0.2em;
  }

  .header-row-store .header-search {
    width: 100%;
  }

  .header-row-store .header-icons-wrap {
    width: auto;
  }

  .header-icons {
    width: auto;
  }

  .header-search input {
    height: 42px;
    font-size: 0.9rem;
    padding-left: 0.88rem;
    padding-right: 2.45rem;
  }

  .header-search-icon svg {
    width: 16px;
    height: 16px;
  }

  .section-brands {
    padding-top: 0.65rem;
  }

  .brand-logo-item-image {
    max-width: min(148px, 42vw);
    max-height: 74px;
  }

  .section-featured {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 1.84rem;
  }

  .offers-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .product-thumb {
    aspect-ratio: 1 / 1.12;
  }

  .card h3 {
    font-size: 1.08rem;
    margin: 0.72rem 0.72rem 0;
  }

  .meta,
  .price,
  .card-hint,
  .cta-row {
    margin-left: 0.72rem;
    margin-right: 0.72rem;
  }

  .card-hint {
    font-size: 0.67rem;
  }

  .chip {
    font-size: 0.57rem;
  }

  .cta-row button,
  .cta-row .button {
    padding: 0.48rem 0.62rem;
    font-size: 0.7rem;
  }

  .product-gallery-main img {
    min-height: 300px;
  }

  .product-title-row h2 {
    font-size: 1.74rem;
  }

  .product-price-current {
    font-size: 1.62rem;
  }

  .product-buy-row {
    grid-template-columns: 76px 1fr;
  }

  .site-footer {
    margin-top: 1.9rem;
  }
}

@media (min-width: 431px) and (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 1.7rem));
  }

  .header-row {
    gap: 0.8rem;
    padding: 0.82rem 0 0.9rem;
  }

  .header-row-store {
    gap: 0.68rem;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .brand-name {
    font-size: 1.34rem;
  }

  .brand-subtitle {
    font-size: 0.55rem;
  }

  .header-search input {
    height: 43px;
    font-size: 0.92rem;
  }

  .section-brands {
    padding-top: 0.72rem;
  }

  .brand-logo-item-image {
    max-width: min(156px, 36vw);
    max-height: 76px;
  }

  .section-featured {
    padding-top: 0.55rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 1.92rem;
  }

  .offers-grid,
  .products-grid {
    gap: 0.95rem;
  }

  .product-thumb {
    aspect-ratio: 1 / 1.16;
  }

  .card h3 {
    font-size: 1.16rem;
  }

  .chip {
    font-size: 0.59rem;
  }

  .card-hint {
    font-size: 0.69rem;
  }

  .product-gallery-main img {
    min-height: 320px;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .container {
    width: min(100%, calc(100% - 1.7rem));
  }

  .header-row-store {
    justify-content: space-between;
  }

  .header-row-store .header-search {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
    max-width: none;
  }

  .section-brands {
    padding-top: 0.7rem;
    padding-bottom: 0.45rem;
  }

  .brand-logos-grid {
    gap: 0.65rem;
  }

  .brand-logo-item-image {
    max-width: min(170px, 26vw);
    max-height: 82px;
  }

  .section-featured {
    padding-top: 0.9rem;
  }

  .section-head {
    margin-bottom: 0.8rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 2.1rem;
  }

  .offers-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem;
  }

  .product-thumb {
    aspect-ratio: 1 / 1.22;
  }

  .card h3 {
    font-size: 1.34rem;
    min-height: 0;
  }

  .chip {
    font-size: 0.62rem;
  }

  .card-hint {
    font-size: 0.72rem;
  }

  .product-detail-layout {
    grid-template-columns: 88px 1fr;
  }

  .product-detail-panel {
    grid-column: 1 / -1;
  }

  .product-gallery-main img {
    min-height: 420px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .container {
    width: min(100%, calc(100% - 1.8rem));
  }

  .section-brands {
    padding-top: 0.8rem;
    padding-bottom: 0.4rem;
  }

  .brand-logos-grid {
    gap: 0.78rem;
  }

  .brand-logo-item-image {
    max-width: min(194px, 21vw);
    max-height: 94px;
  }

  .section-featured {
    padding-top: 0.82rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 2.4rem;
  }

  .offers-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .product-thumb {
    aspect-ratio: 1 / 1.12;
  }

  .card h3 {
    min-height: 0;
    font-size: 1.62rem;
  }

  .price {
    font-size: 1.08rem;
  }

  .card-hint {
    font-size: 0.76rem;
  }

  .meta,
  .price,
  .card-hint,
  .cta-row {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .cta-row {
    margin-bottom: 1rem;
  }
}
