:root {
  --bg: #fffdfb;
  --surface: #ffffff;
  --brand-primary: #d9ada6;
  --brand-secondary: #f4e6d9;
  --rose-50: #fdf8f4;
  --rose-100: #f4e6d9;
  --rose-300: #e7c8c2;
  --rose-500: #d9ada6;
  --rose-700: #8b5f59;
  --champagne: #f4e6d9;
  --beige: #f4e6d9;
  --gray-50: #f8f7f6;
  --gray-100: #efeeec;
  --gray-400: #8d8783;
  --ink: #2e2927;
  --muted: #766d68;
  --shadow: 0 18px 44px rgba(73, 45, 39, 0.09);
  --shadow-soft: 0 10px 30px rgba(77, 50, 47, 0.07);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 11% 12%, rgba(234, 213, 184, 0.22), transparent 26rem),
    radial-gradient(circle at 87% 2%, rgba(249, 222, 221, 0.42), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: "Readex Pro", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 16px;
  color: var(--ink);
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.announcement__icon {
  color: var(--champagne);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(70, 52, 47, 0.08);
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr minmax(210px, 300px) auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__mark {
  width: 42px;
  height: 54px;
  flex: 0 0 auto;
  background: url("Naram-Beauty-logo-274x350.webp") center / contain no-repeat;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4b4440;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--rose-500);
  transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.search {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(84, 58, 50, 0.04);
}

.search svg {
  width: 18px;
  color: var(--gray-400);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
}

.icon-button {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(98, 77, 70, 0.12);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(78, 54, 48, 0.06);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 111, 112, 0.35);
  background: var(--rose-50);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  left: -3px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--rose-500);
  font-size: 11px;
  font-weight: 700;
}

.hamburger,
.search-toggle {
  display: none;
}

.mobile-drawer {
  display: none;
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 560px;
  margin: 30px 0 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  border: 1px solid rgba(143, 79, 82, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.9) 58%),
    radial-gradient(circle at 18% 40%, rgba(217, 155, 154, 0.3), transparent 20rem),
    linear-gradient(135deg, #fff, #fff4f2 44%, #f5e6dc);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.64), transparent 17rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 70px 74px 70px 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(185, 111, 112, 0.34);
  border-radius: 999px;
  color: var(--rose-700);
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1::first-line {
  color: var(--ink);
}

.hero p {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: stretch;
  gap: 24px;
  margin: 34px 0 10px;
  padding: 46px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 230, 217, 0.82)),
    var(--brand-secondary);
  box-shadow: var(--shadow-soft);
}

.subpage-hero h1 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.15;
  letter-spacing: 0;
}

.subpage-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.subpage-hero__panel {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(143, 79, 82, 0.14);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.subpage-hero__panel strong {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.subpage-hero__panel span {
  color: var(--muted);
  line-height: 1.8;
}

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-weight: 600;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  box-shadow: 0 15px 30px rgba(137, 92, 85, 0.18);
}

.button--primary:hover {
  box-shadow: 0 18px 36px rgba(137, 92, 85, 0.25);
}

.button--ghost {
  border-color: rgba(143, 79, 82, 0.22);
  color: var(--rose-700);
  background: rgba(255, 255, 255, 0.62);
}

.button--whatsapp {
  border-color: rgba(50, 145, 96, 0.24);
  color: #23784e;
  background: #f5fff9;
}

.hero__art {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 500px;
}

.hero__art--images {
  min-height: 500px;
  overflow: hidden;
  border-radius: 0 28px 28px 0;
  background: var(--brand-secondary);
}

.hero__banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 12s infinite;
}

.hero__banner-image:first-child,
.hero__banner-image:only-child {
  opacity: 1;
}

@keyframes heroFade {
  0%,
  30% {
    opacity: 1;
  }

  42%,
  100% {
    opacity: 0;
  }
}

.shape {
  position: absolute;
  display: block;
}

.shape--arch {
  left: 22%;
  bottom: 118px;
  width: 174px;
  height: 302px;
  border-radius: 95px 95px 8px 8px;
  background: linear-gradient(180deg, #e8b7ad, #bf7774);
  box-shadow: -30px 28px 60px rgba(152, 93, 87, 0.18);
}

.shape--block {
  left: 42%;
  bottom: 142px;
  width: 216px;
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7f3, #d89b8e);
  box-shadow: 0 24px 46px rgba(117, 74, 64, 0.14);
}

.shape--marble {
  left: 29%;
  bottom: 76px;
  width: 330px;
  height: 98px;
  border-radius: 999px 999px 24px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 42%),
    repeating-linear-gradient(145deg, transparent 0 22px, rgba(151, 118, 108, 0.16) 23px 26px),
    linear-gradient(110deg, #fff, #e5d9d0);
  border: 1px solid rgba(124, 97, 89, 0.1);
  box-shadow: 0 24px 52px rgba(98, 72, 65, 0.12);
}

.shape--leaf {
  left: 63%;
  bottom: 130px;
  width: 160px;
  height: 230px;
  opacity: 0.58;
}

.shape--leaf::before {
  content: "";
  position: absolute;
  right: 80px;
  bottom: 0;
  width: 2px;
  height: 225px;
  background: linear-gradient(var(--rose-500), transparent);
  transform: rotate(19deg);
}

.shape--leaf::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 62% 20%, rgba(185, 111, 112, 0.2) 0 12px, transparent 13px),
    radial-gradient(ellipse at 45% 35%, rgba(185, 111, 112, 0.22) 0 15px, transparent 16px),
    radial-gradient(ellipse at 66% 51%, rgba(185, 111, 112, 0.18) 0 13px, transparent 14px),
    radial-gradient(ellipse at 40% 68%, rgba(185, 111, 112, 0.2) 0 16px, transparent 17px);
}

.mobile-chips {
  display: none;
}

.section {
  padding: 46px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading span {
  display: block;
  color: var(--rose-500);
  font-size: 14px;
  font-weight: 600;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 168px;
  display: grid;
  place-items: center;
  gap: 13px;
  padding: 22px 14px;
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(80, 58, 50, 0.045);
  text-align: center;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 111, 112, 0.25);
  box-shadow: var(--shadow-soft);
}

.category-card__icon {
  width: 78px;
  height: 78px;
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.95), transparent 32%),
    linear-gradient(135deg, #fae4e2, #eed7bb);
}

.category-card__icon::before,
.category-card__icon::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(143, 79, 82, 0.58);
}

.icon-skin::before {
  inset: 23px 27px 17px;
  border-radius: 8px;
}

.icon-skin::after {
  width: 18px;
  height: 9px;
  right: 29px;
  top: 18px;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.icon-hair::before {
  width: 30px;
  height: 41px;
  inset: 20px 24px auto auto;
  border-radius: 20px 20px 6px 6px;
}

.icon-hair::after {
  width: 18px;
  height: 36px;
  top: 20px;
  left: 23px;
  border-radius: 12px;
  transform: rotate(-16deg);
}

.icon-makeup::before {
  width: 16px;
  height: 36px;
  top: 26px;
  right: 31px;
  border-radius: 4px;
}

.icon-makeup::after {
  width: 16px;
  height: 17px;
  top: 14px;
  right: 31px;
  border-radius: 12px 12px 2px 2px;
}

.icon-fragrance::before {
  width: 30px;
  height: 34px;
  top: 29px;
  right: 24px;
  border-radius: 9px 9px 14px 14px;
}

.icon-fragrance::after {
  width: 16px;
  height: 11px;
  top: 19px;
  right: 31px;
  border-radius: 4px;
}

.icon-tools::before {
  width: 35px;
  height: 16px;
  top: 29px;
  right: 20px;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.icon-tools::after {
  width: 8px;
  height: 28px;
  right: 43px;
  top: 39px;
  border-radius: 999px;
  transform: rotate(-28deg);
}

.icon-gift::before {
  width: 38px;
  height: 32px;
  top: 32px;
  right: 20px;
  border-radius: 5px;
}

.icon-gift::after {
  width: 44px;
  height: 10px;
  top: 25px;
  right: 17px;
  border-radius: 4px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button,
.mobile-chips a {
  min-height: 38px;
  border: 1px solid rgba(143, 79, 82, 0.14);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.filter-tabs button:hover,
.filter-tabs button.is-selected,
.mobile-chips a:hover {
  color: var(--rose-700);
  border-color: rgba(185, 111, 112, 0.32);
  background: var(--rose-50);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 34px rgba(80, 58, 50, 0.06);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 111, 112, 0.18);
  box-shadow: var(--shadow);
}

.product-card:focus-visible {
  outline: 3px solid rgba(185, 111, 112, 0.32);
  outline-offset: 4px;
}

.product-grid__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed rgba(143, 79, 82, 0.22);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.product-card__media {
  position: relative;
  min-height: 268px;
  padding: 15px;
}

.product-placeholder {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background-color: #f3ddd5;
}

.product-placeholder::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.33);
  filter: blur(6px);
}

.product-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.5) 42%, transparent 43%),
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.6), transparent 30%);
  opacity: 0.7;
}

.placeholder-rose {
  background:
    radial-gradient(circle at 67% 22%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(135deg, #f7c7bd, #ddb0a6 45%, #c98682);
}

.placeholder-pearl {
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, #fff6ef, #ecd8cc 55%, #d4afa2);
}

.placeholder-gold {
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.68), transparent 28%),
    linear-gradient(135deg, #f8ead4, #e1c19a 54%, #c79c72);
}

.placeholder-mauve {
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.64), transparent 30%),
    linear-gradient(135deg, #f4d8dc, #d6a0aa 50%, #b67581);
}

.placeholder-sand {
  background:
    radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.68), transparent 31%),
    linear-gradient(135deg, #faeadc, #e0b895 52%, #c29276);
}

.placeholder-lilac {
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.66), transparent 32%),
    linear-gradient(135deg, #f1e4ef, #d9b8cb 48%, #b58aa9);
}

.product-card__image {
  height: 238px;
  border-radius: 18px;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8efeb;
}

.badge {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--rose-500);
  font-size: 12px;
  font-weight: 600;
}

.badge--gold {
  background: #c49b6e;
}

.wishlist {
  position: absolute;
  top: 23px;
  left: 23px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(108, 83, 75, 0.12);
  border-radius: 50%;
  color: var(--rose-700);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 9px 20px rgba(70, 50, 44, 0.08);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.wishlist:hover,
.wishlist.is-active {
  transform: scale(1.05);
  color: var(--ink);
  background: var(--rose-500);
}

.product-card__body {
  padding: 0 18px 18px;
}

.product-card h3 {
  min-height: 54px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.product-card p {
  min-height: 46px;
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.price strong {
  color: var(--rose-700);
  font-size: 18px;
}

.price del {
  color: #aaa09a;
  font-size: 13px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
}

.quick-add {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.quick-add:hover {
  transform: translateY(-2px);
  background: var(--rose-700);
}

.quick-whatsapp {
  min-height: 42px;
  border: 1px solid rgba(50, 145, 96, 0.24);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #23784e;
  background: #f5fff9;
  font-weight: 700;
}

.promo-strip {
  min-height: 140px;
  margin: 28px 0 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 42px;
  border: 1px solid rgba(185, 111, 112, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 35%, rgba(255, 255, 255, 0.78), transparent 18rem),
    linear-gradient(105deg, #fff, #fff4ef 48%, #eed2c7);
  box-shadow: var(--shadow-soft);
}

.promo-strip span,
.offer-card span {
  display: block;
  color: var(--rose-500);
  font-size: 13px;
  font-weight: 600;
}

.promo-strip strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
}

.promo-strip p {
  margin: 0;
  color: var(--muted);
}

.promo-strip b {
  display: inline-block;
  margin: 0 3px;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--rose-700);
  background: #fff;
}

.inline-link {
  color: var(--rose-700);
  font-weight: 600;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 42px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trust-band article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 26px;
}

.trust-band article + article {
  border-right: 1px solid var(--gray-100);
}

.trust-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 111, 112, 0.2);
  border-radius: 50%;
  color: var(--rose-700);
  background: #fff;
  font-size: 24px;
}

.trust-band h3 {
  margin: 0 0 2px;
  font-size: 17px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.offer-code-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-code-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(143, 79, 82, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(80, 58, 50, 0.06);
}

.offer-code-card span {
  color: var(--rose-500);
  font-size: 13px;
  font-weight: 600;
}

.offer-code-card strong {
  width: max-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--rose-700);
  background: var(--brand-secondary);
  font-size: 24px;
  overflow-wrap: anywhere;
}

.offer-code-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.offer-code-card .button {
  width: max-content;
  align-self: end;
}

.offer-card {
  min-height: 220px;
  padding: 34px;
  border: 1px solid rgba(143, 79, 82, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.84), transparent 14rem),
    linear-gradient(135deg, #fff, #f7e1dc);
  box-shadow: var(--shadow-soft);
}

.offer-card--deep {
  background:
    radial-gradient(circle at 17% 18%, rgba(255, 255, 255, 0.72), transparent 14rem),
    linear-gradient(135deg, #fff8f5, #ead2b3);
}

.offer-card h3 {
  max-width: 430px;
  margin: 10px 0 25px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

.offer-card a {
  color: var(--rose-700);
  font-weight: 700;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 42px;
  margin: 54px 0 28px;
  padding: 34px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.gallery {
  min-width: 0;
}

.gallery__main {
  min-height: 560px;
  border-radius: 22px;
}

.gallery__main span {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--rose-500);
  font-size: 13px;
  font-weight: 600;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.gallery__thumbs button {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 16px;
}

.gallery__thumbs button.is-active {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(185, 111, 112, 0.12);
}

.product-info {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 18px 8px 8px;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: #a09791;
  font-size: 12px;
}

.product-info h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.rating span {
  color: #cfaa6d;
  letter-spacing: 0;
}

.rating small {
  color: var(--muted);
}

.product-info__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 20px;
}

.product-info__price strong {
  color: var(--rose-700);
  font-size: 31px;
}

.product-info__price del {
  color: #a69e98;
}

.product-info__price span {
  color: var(--muted);
  font-size: 13px;
}

.product-info p {
  margin: 0 0 18px;
  color: var(--muted);
}

.benefits {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.benefits li {
  position: relative;
  padding-right: 26px;
  color: #514943;
  font-size: 14px;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--rose-700);
  font-weight: 700;
}

.purchase-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  margin-bottom: 14px;
}

.select-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.select-field select {
  min-height: 48px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.quantity {
  height: 48px;
  align-self: end;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.quantity button {
  height: 100%;
  border: 0;
  color: var(--rose-700);
  background: #fff;
  font-size: 20px;
}

.quantity button:hover {
  background: var(--rose-50);
}

.quantity output {
  text-align: center;
  font-weight: 600;
}

.add-featured,
.product-info .button--whatsapp {
  width: 100%;
  margin-bottom: 10px;
}

.secondary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.text-action {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
}

.text-action:hover,
.text-action.is-active {
  color: var(--rose-700);
}

.related {
  padding-bottom: 110px;
}

.toast {
  position: fixed;
  right: 50%;
  bottom: 24px;
  z-index: 160;
  min-width: 260px;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border: 1px solid rgba(185, 111, 112, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translate(50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.sticky-checkout {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(143, 79, 82, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(44, 32, 28, 0.18);
  backdrop-filter: blur(16px);
}

.sticky-checkout strong {
  display: block;
  font-size: 14px;
}

.sticky-checkout span {
  color: var(--muted);
  font-size: 12px;
}

.sticky-checkout .button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 13px;
}

.dashboard-link {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(143, 79, 82, 0.16);
  border-radius: 999px;
  color: var(--rose-700);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.dashboard-page .dashboard-nav {
  grid-template-columns: auto 1fr auto;
}

.dashboard-page .dashboard-nav .brand {
  justify-self: start;
}

.dashboard-page .dashboard-nav .nav-actions {
  grid-column: 3;
}

.dashboard-main {
  padding-top: 26px;
}

.dashboard-page .dashboard {
  margin-top: 26px;
}

.dashboard-page .sticky-checkout {
  display: none;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(46, 41, 39, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cart-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  width: min(520px, 100%);
  overflow-y: auto;
  padding: 26px;
  border-right: 1px solid rgba(143, 79, 82, 0.14);
  background: rgba(255, 253, 251, 0.98);
  box-shadow: -24px 0 60px rgba(46, 41, 39, 0.16);
  transform: translateX(-105%);
  transition: transform 0.26s ease;
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .page-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open .cart-panel {
  transform: translateX(0);
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 41, 39, 0.42);
  backdrop-filter: blur(10px);
}

.product-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.88fr);
  gap: 28px;
  width: min(1120px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(70, 52, 47, 0.1);
  border-radius: 26px;
  background: #fffdfb;
  box-shadow: 0 30px 80px rgba(46, 41, 39, 0.22);
}

.product-modal__close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.86);
}

.product-modal__gallery,
.product-modal__info {
  min-width: 0;
}

.product-modal__main {
  display: grid;
  place-items: center;
  min-height: 500px;
  overflow: hidden;
  border-radius: 20px;
  background: #f8efeb;
}

.product-modal__main-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: contain;
}

.product-modal__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 14px;
  padding-bottom: 4px;
}

.product-modal__thumbs button {
  flex: 0 0 74px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  background: #f8efeb;
}

.product-modal__thumbs button.is-active {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(185, 111, 112, 0.12);
}

.product-modal__info {
  padding: 34px 6px 6px;
}

.product-modal__info h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
}

.product-modal__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.product-modal__price strong {
  color: var(--rose-700);
  font-size: 25px;
}

.product-modal__price del {
  color: #a69e98;
}

.product-modal__summary {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.product-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.product-modal__meta div {
  padding: 12px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 14px;
  background: rgba(255, 248, 245, 0.7);
}

.product-modal__meta span,
.product-modal__description h3 {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.product-modal__meta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.product-modal__description {
  margin-top: 16px;
}

.product-modal__description h3 {
  margin: 0 0 8px;
}

.product-modal__description p {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding-left: 8px;
  color: var(--muted);
  line-height: 1.8;
}

.product-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

body.product-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .product-modal {
    padding: 10px;
  }

  .product-modal__dialog {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 16px));
    max-height: calc(100vh - 16px);
    padding: 16px;
    border-radius: 20px;
  }

  .product-modal__main,
  .product-modal__main-image {
    min-height: 320px;
  }

  .product-modal__info {
    padding-top: 8px;
  }

  .product-modal__meta,
  .product-modal__actions {
    grid-template-columns: 1fr;
  }
}

.cart-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.cart-panel__header span,
.panel-heading span {
  display: block;
  color: var(--rose-500);
  font-size: 13px;
  font-weight: 600;
}

.cart-panel__header h2,
.panel-heading h3 {
  margin: 4px 0 0;
  font-size: 25px;
  line-height: 1.35;
}

.cart-panel__header .icon-button {
  flex: 0 0 auto;
  font-size: 26px;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-empty,
.empty-state {
  padding: 20px;
  border: 1px dashed rgba(143, 79, 82, 0.22);
  border-radius: 16px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(80, 58, 50, 0.045);
}

.cart-item__image {
  width: 84px;
  aspect-ratio: 1;
  border-radius: 14px;
}

.cart-item__image.product-image {
  height: 84px;
}

.cart-item h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cart-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.cart-item strong {
  color: var(--rose-700);
  font-size: 14px;
}

.cart-item del {
  display: inline-block;
  margin-inline-start: 6px;
  color: #b8aaa2;
  font-size: 11px;
}

.cart-item--offer {
  align-items: start;
}

.cart-offer-products {
  margin: 10px 0;
}

.cart-offer-products__item {
  grid-template-columns: 46px 1fr;
  padding: 7px;
  border-radius: 12px;
}

.cart-offer-products__image {
  width: 46px;
  border-radius: 9px;
}

.cart-offer-products__image.product-image {
  height: 46px;
}

.cart-item__controls {
  display: grid;
  grid-template-columns: 34px 26px 34px;
  gap: 5px;
  justify-items: center;
}

.cart-item__controls button {
  width: 34px;
  min-height: 32px;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  color: var(--rose-700);
  background: #fff;
}

.cart-item__controls button:last-child {
  grid-column: 1 / -1;
  width: 100%;
  color: var(--muted);
  font-size: 12px;
}

.checkout-form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.checkout-grid,
.product-form,
.bulk-edit-form,
.site-offer-form,
.discount-form,
.accounts-form,
.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-form label,
.product-form label,
.bulk-edit-form label,
.site-offer-form label,
.inventory-toolbar label,
.discount-form label,
.accounts-form label,
.settings-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.checkout-form input,
.checkout-form textarea,
.product-form input,
.product-form select,
.product-form textarea,
.bulk-edit-form input,
.bulk-edit-form select,
.site-offer-form input,
.site-offer-form select,
.site-offer-form textarea,
.inventory-toolbar input,
.inventory-toolbar select,
.discount-form input,
.discount-form select,
.accounts-form input,
.accounts-form select,
.settings-form input,
.settings-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.checkout-form textarea,
.product-form textarea,
.site-offer-form textarea,
.settings-form textarea {
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.product-form input:focus,
.product-form select:focus,
.product-form textarea:focus,
.bulk-edit-form input:focus,
.bulk-edit-form select:focus,
.site-offer-form input:focus,
.site-offer-form select:focus,
.site-offer-form textarea:focus,
.inventory-toolbar input:focus,
.inventory-toolbar select:focus,
.discount-form input:focus,
.discount-form select:focus,
.accounts-form input:focus,
.accounts-form select:focus,
.settings-form input:focus,
.settings-form textarea:focus {
  border-color: rgba(185, 111, 112, 0.45);
  box-shadow: 0 0 0 4px rgba(185, 111, 112, 0.1);
}

.checkout-form > label,
.form-field--wide,
.settings-form label:last-of-type {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.switch-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch-field input {
  width: auto;
  min-height: auto;
}

.coupon-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(143, 79, 82, 0.12);
  border-radius: 16px;
  background: rgba(244, 230, 217, 0.28);
}

.coupon-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.coupon-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.coupon-form p {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--rose-700);
  font-size: 12px;
}

.coupon-form p.is-error {
  color: #9b2f2f;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--gray-50);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.cart-summary strong {
  color: var(--ink);
}

.cart-summary__total {
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  font-size: 18px;
}

.checkout-submit {
  width: 100%;
}

.dashboard {
  margin: 40px 0 130px;
  padding: 32px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.dashboard-login {
  display: grid;
  grid-template-columns: 1.1fr minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.76), transparent 15rem),
    linear-gradient(135deg, #fff8f5, #f4dfd8);
}

.dashboard-login[hidden],
.dashboard-content[hidden] {
  display: none;
}

.dashboard-login h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
}

.dashboard-login p {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--muted);
}

.login-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.login-hint span {
  padding: 8px 12px;
  border: 1px solid rgba(143, 79, 82, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.login-hint strong {
  color: var(--rose-700);
}

.dashboard-login__form {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.dashboard-login__form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-login__form input {
  min-height: 46px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.dashboard-login__form input:focus {
  border-color: rgba(185, 111, 112, 0.45);
  box-shadow: 0 0 0 4px rgba(185, 111, 112, 0.1);
}

.dashboard__hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.7), transparent 16rem),
    linear-gradient(135deg, #fff8f5, #f3dfd6);
}

.dashboard__hero h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.dashboard__hero p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.dashboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.dashboard-stats article {
  padding: 18px;
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  background: #fff;
}

.dashboard-stats span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--rose-700);
  font-size: 26px;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.dashboard-tabs button {
  min-height: 42px;
  border: 1px solid rgba(143, 79, 82, 0.14);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--muted);
  background: #fff;
}

.dashboard-tabs button.is-selected {
  color: var(--ink);
  border-color: transparent;
  background: var(--rose-500);
}

.dashboard-panel {
  display: none;
  padding: 22px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 20px;
  background: #fff;
}

.dashboard-panel.is-active {
  display: block;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  min-width: 830px;
  border-collapse: collapse;
  text-align: right;
}

.orders-table th,
.orders-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.orders-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.orders-table td {
  font-size: 13px;
}

.orders-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.status-select {
  min-height: 38px;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--gray-50);
}

.product-form,
.site-offer-form,
.discount-form,
.accounts-form,
.settings-form {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 18px;
  background: var(--gray-50);
}

.inventory-controls {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 16px;
  background: #fff;
}

.inventory-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(140px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 173, 166, 0.36);
  border-radius: 14px;
  background: var(--secondary);
}

.bulk-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.bulk-toolbar strong {
  color: var(--ink);
}

.bulk-edit-form {
  padding-top: 4px;
}

.bulk-edit-form .button {
  align-self: end;
}

.product-form .button,
.site-offer-form .button,
.discount-form .button,
.accounts-form .button,
.settings-form .button {
  align-self: end;
}

.inventory-list,
.site-offer-list,
.discount-list,
.account-list {
  display: grid;
  gap: 10px;
}

.inventory-item,
.site-offer-item,
.discount-item,
.account-item {
  display: grid;
  grid-template-columns: 34px 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--gray-100);
  border-radius: 15px;
}

.inventory-item.is-selected {
  border-color: rgba(185, 111, 112, 0.45);
  background: rgba(244, 230, 217, 0.54);
}

.discount-item {
  grid-template-columns: 1fr auto;
}

.account-item {
  grid-template-columns: 1fr auto;
}

.account-item.is-disabled {
  opacity: 0.62;
}

.account-item__actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.dashboard-user {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(143, 79, 82, 0.14);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 600;
}

.site-offer-item {
  grid-template-columns: 1fr auto;
}

.site-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-offer-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(143, 79, 82, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.84), transparent 12rem),
    linear-gradient(135deg, #fff, rgba(244, 230, 217, 0.76));
  box-shadow: var(--shadow-soft);
}

.site-offer-card span {
  color: var(--rose-500);
  font-size: 13px;
  font-weight: 600;
}

.site-offer-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.site-offer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-offer-products,
.cart-offer-products {
  display: grid;
  gap: 10px;
}

.site-offer-products__item,
.cart-offer-products__item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.site-offer-products__image,
.cart-offer-products__image {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 11px;
}

.site-offer-products__image.product-image,
.cart-offer-products__image.product-image {
  height: 58px;
}

.site-offer-products__item strong,
.cart-offer-products__item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.site-offer-products__item span,
.cart-offer-products__item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.site-offer-card .button {
  align-self: end;
}

.inventory-select {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gray-50);
}

.inventory-select input,
.switch-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.inventory-item__image {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 12px;
}

.inventory-item__image.product-image {
  height: 58px;
}

.inventory-item h4,
.site-offer-item h4,
.discount-item h4,
.account-item h4 {
  margin: 0;
  font-size: 14px;
}

.inventory-item span,
.site-offer-item span,
.discount-item span,
.account-item span {
  color: var(--muted);
  font-size: 12px;
}

.inventory-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hero-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.hero-preview__item {
  overflow: hidden;
  border: 1px solid rgba(70, 52, 47, 0.08);
  border-radius: 14px;
  background: #fff;
}

.hero-preview__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-preview__item .text-action {
  width: 100%;
  padding: 8px;
  text-align: center;
}

.hero-preview__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(143, 79, 82, 0.18);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: auto auto 1fr auto;
  }

  .brand {
    justify-self: center;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-grid;
    justify-self: start;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .site-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-code-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__copy {
    padding: 54px 48px 0;
  }

  .hero__art {
    min-height: 340px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
    order: -1;
  }

  .gallery__main {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  .announcement {
    font-size: 12px;
  }

  .nav-shell {
    width: min(100% - 24px, var(--max));
    min-height: 64px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
    gap: 7px;
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(18px, 5.5vw, 22px);
  }

  .brand span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__mark {
    width: 34px;
    height: 44px;
  }

  .nav-actions {
    min-width: max-content;
    gap: 6px;
  }

  .search {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    display: none;
    z-index: 3;
    margin-inline: 12px;
  }

  .search.is-open {
    display: flex;
  }

  .search-toggle {
    display: inline-grid;
  }

  .whatsapp-link {
    display: none;
  }

  .mobile-drawer {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 60;
    display: grid;
    gap: 4px;
    padding: 18px 22px 24px;
    border-bottom: 1px solid rgba(143, 79, 82, 0.12);
    background: rgba(255, 253, 251, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: transform 0.24s ease;
  }

  .mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-drawer a {
    padding: 13px 10px;
    border-radius: 12px;
    color: var(--ink);
  }

  .mobile-drawer a:hover {
    background: var(--rose-50);
  }

  main {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    margin-top: 18px;
    border-radius: 22px;
  }

  .hero__copy {
    padding: 38px 25px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero__art {
    min-height: 286px;
  }

  .shape--arch {
    left: 15%;
    bottom: 90px;
    width: 116px;
    height: 204px;
  }

  .shape--block {
    left: 38%;
    bottom: 105px;
    width: 154px;
    height: 130px;
  }

  .shape--marble {
    left: 20%;
    width: 230px;
    height: 76px;
    bottom: 54px;
  }

  .shape--leaf {
    left: 64%;
    bottom: 74px;
    transform: scale(0.72);
  }

  .mobile-chips {
    position: sticky;
    top: 68px;
    z-index: 40;
    display: flex;
    gap: 8px;
    margin: 0 -14px 18px;
    padding: 10px 14px;
    overflow-x: auto;
    background: rgba(255, 253, 251, 0.86);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
  }

  .mobile-chips::-webkit-scrollbar {
    display: none;
  }

  .mobile-chips a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .section {
    padding: 34px 0;
  }

  .section-heading--row {
    display: grid;
    align-items: start;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    min-height: 135px;
    border-radius: 16px;
  }

  .category-card__icon {
    width: 62px;
    height: 62px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .product-card {
    border-radius: 17px;
  }

  .product-card__media {
    min-height: 172px;
    padding: 10px;
  }

  .product-card__image {
    height: 152px;
    border-radius: 14px;
  }

  .badge {
    top: 17px;
    right: 17px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .wishlist {
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
  }

  .product-card__body {
    padding: 0 11px 12px;
  }

  .product-card h3 {
    min-height: 48px;
    font-size: 13px;
  }

  .product-card p {
    min-height: 40px;
    font-size: 11px;
  }

  .price {
    margin-bottom: 10px;
    gap: 5px;
  }

  .price strong {
    font-size: 15px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .quick-add,
  .quick-whatsapp {
    min-height: 38px;
    border-radius: 11px;
    font-size: 12px;
  }

  .quick-whatsapp {
    display: none;
  }

  .promo-strip {
    grid-template-columns: 1fr;
    padding: 25px;
    text-align: start;
  }

  .subpage-hero {
    margin-top: 22px;
    padding: 26px;
  }

  .site-offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-code-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .trust-band article {
    padding: 0;
  }

  .trust-band article + article {
    border-right: 0;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 190px;
    padding: 26px;
  }

  .product-detail {
    gap: 20px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 22px;
  }

  .gallery__main {
    min-height: 315px;
  }

  .gallery__thumbs {
    gap: 10px;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }

  .sticky-checkout {
    display: flex;
  }

  .cart-panel {
    padding: 20px;
  }

  .checkout-grid,
  .product-form,
  .bulk-edit-form,
  .site-offer-form,
  .discount-form,
  .accounts-form,
  .settings-form {
    grid-template-columns: 1fr;
  }

  .inventory-toolbar {
    grid-template-columns: 1fr;
  }

  .bulk-toolbar {
    align-items: stretch;
  }

  .coupon-form {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
  }

  .cart-item__image {
    width: 70px;
  }

  .cart-item__image.product-image {
    height: 70px;
  }

  .cart-item__controls {
    grid-column: 1 / -1;
    grid-template-columns: 36px 28px 36px 1fr;
    justify-items: stretch;
  }

  .cart-item__controls button:last-child {
    grid-column: auto;
  }

  .dashboard {
    margin-bottom: 110px;
    padding: 18px;
    border-radius: 22px;
  }

  .dashboard-login {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .dashboard__hero {
    display: grid;
    padding: 22px;
  }

  .dashboard__actions .button {
    width: auto;
  }

  .dashboard-panel {
    padding: 16px;
  }

  .panel-heading {
    align-items: start;
    display: grid;
  }

  .toast {
    bottom: 84px;
  }
}

@media (max-width: 420px) {
  .nav-shell {
    width: calc(100% - 20px);
    min-height: 62px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 6px;
  }

  .nav-actions {
    gap: 4px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .brand {
    gap: 6px;
    font-size: 18px;
  }

  .brand__mark {
    width: 30px;
    height: 39px;
  }

  .dashboard-link {
    display: none;
  }

  .hero h1 {
    font-size: 33px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .inventory-item {
    grid-template-columns: 28px 48px 1fr;
  }

  .account-item,
  .discount-item {
    grid-template-columns: 1fr;
  }

  .inventory-item__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .inventory-item .text-action {
    grid-column: auto;
    justify-self: auto;
  }

  .button {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 27px;
  }
}

@media (max-width: 340px) {
  .brand span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
