@font-face {
  font-family: "Verdara Persian";
  src: url("assets/fonts/verdara-persian-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Verdara Persian";
  src: url("assets/fonts/verdara-persian-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101311;
  --muted: #667069;
  --line: #d8ddd9;
  --paper: #ffffff;
  --soft: #f3f5f2;
  --ivory: #f8f4ec;
  --forest: #054b16;
  --deep: #071a0d;
  --green: #107c10;
  --lime: #9bf00b;
  --yellow: #ffd800;
  --danger: #c72727;
  --shell: 1320px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 148px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Vazirmatn", "Verdara Persian", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

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

img { display: block; max-width: 100%; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 200;
  inset: 8px auto auto 8px;
  transform: translateY(-140%);
  background: var(--lime);
  color: var(--ink);
  padding: 10px 18px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.announcement {
  background: var(--deep);
  color: #fff;
  font-size: 12px;
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.announcement p { margin: 0; }
.announcement strong { color: var(--lime); }
.announcement span { color: #b9c5bc; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(260px, 620px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  background: var(--forest);
  color: var(--lime);
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: .06em;
}

.brand-copy b { font-family: Arial, sans-serif; font-size: 18px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .32em; color: var(--green); }

.search-form {
  display: grid;
  grid-template-columns: 1fr 50px;
  min-height: 48px;
  background: var(--soft);
  border: 1px solid transparent;
}

.search-form:focus-within { border-color: var(--green); background: #fff; }

.search-form input {
  min-width: 0;
  padding: 10px 18px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.search-form input::placeholder { color: #7a837c; }

.search-form button {
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  border: 0;
}

.search-form button:hover { background: var(--green); }
.search-form svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.header-actions { display: flex; align-items: stretch; gap: 8px; }

.icon-action {
  position: relative;
  min-width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 8px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 10px;
}

.icon-action:hover { color: var(--green); background: var(--soft); }
.icon-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.count-badge {
  position: absolute;
  top: -1px;
  left: 2px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  background: var(--lime);
  color: var(--ink);
  border: 2px solid #fff;
  font-size: 9px;
  line-height: 1;
}

.category-nav { border-top: 1px solid #edf0ed; }

.category-scroll {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar { display: none; }

.nav-category {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 22px;
  border: 0;
  background: transparent;
  color: #3b423d;
  font-size: 13px;
}

.nav-category::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-category:hover,
.nav-category.is-active { color: var(--green); }
.nav-category.is-active::after { transform: scaleX(1); }
.sale-link { color: #b53724; font-weight: 700; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  margin-top: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 52px 64px;
  color: #fff;
  background: var(--deep) url("assets/images/hero.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 7, .92) 0%, rgba(4, 12, 7, .76) 42%, rgba(4, 12, 7, .04) 70%);
}

.hero-content { width: min(520px, 48%); margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.eyebrow.dark { color: var(--green); }

.hero h1 {
  margin: 13px 0 12px;
  font-size: clamp(40px, 4.4vw, 66px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.hero h1 em { color: var(--lime); font-style: normal; }
.hero p { max-width: 480px; margin: 0; color: #d7ddd8; font-size: 16px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 22px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn span { font-size: 20px; line-height: 1; }
.btn-lime { background: var(--lime); color: #102000; }
.btn-lime:hover { background: #b1ff2f; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--forest); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.hero-proof { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 11px; color: #bdc9c0; }
.hero-proof strong { color: #fff; font-size: 13px; }

.quick-categories { padding-block: 72px 82px; }

.section-kicker,
.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.section-kicker span { color: var(--green); font-size: 12px; font-weight: 700; }
.section-kicker h2,
.catalog-head h2,
.routine-content h2 { margin: 1px 0 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.3; letter-spacing: -.035em; }

.text-link {
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 5px 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.text-link:hover { color: var(--green); border-color: var(--green); }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #fff; }

.quick-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 25px;
  border: 0;
  text-align: right;
  color: #fff;
  background: var(--forest);
  isolation: isolate;
}

.quick-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform .45s ease;
}

.quick-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 14, 5, .92), rgba(1, 14, 5, .08));
}

.quick-card:hover::before { transform: scale(1.045); }
.quick-card-care::before { background-image: url("assets/images/care.webp"); background-position: 54% 45%; }
.quick-card-makeup::before { background-image: url("assets/images/makeup.webp"); background-position: 48% 62%; }
.quick-card-dark { background: var(--deep); }
.quick-card-dark::before { background: linear-gradient(135deg, #17391f 0%, #071a0d 65%); }
.quick-card-lime { color: #102000; background: var(--lime); }
.quick-card-lime::before { background: linear-gradient(135deg, #c6ff6a 0%, #9bf00b 66%, #5bb700 100%); }
.quick-card-lime::after { display: none; }

.quick-number { position: absolute; top: 18px; right: 21px; font-size: 12px; opacity: .75; }
.quick-card strong { font-size: 27px; line-height: 1.2; }
.quick-card small { margin-top: 4px; opacity: .84; }
.quick-card i { position: absolute; bottom: 24px; left: 24px; font-size: 24px; font-style: normal; }

.catalog { padding-bottom: 100px; }
.catalog-head { padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.catalog-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.sort-control { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sort-control select { min-width: 150px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); outline: 0; }
.sort-control select:focus { border-color: var(--green); }

.active-filter {
  margin: -6px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  background: #eef7ef;
  border-right: 4px solid var(--green);
  color: var(--forest);
  font-size: 12px;
}

.active-filter[hidden] { display: none; }
.active-filter button { border: 0; background: transparent; color: var(--green); font-weight: 700; }

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

.product-card { position: relative; min-width: 0; }

.product-visual {
  position: relative;
  aspect-ratio: .88;
  overflow: hidden;
  background: var(--soft);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.visual-open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-card:hover .product-visual img { transform: scale(1.035); }
.crop-1 img { object-position: 22% 50%; }
.crop-2 img { object-position: 76% 52%; }
.crop-3 img { object-position: 48% 72%; }
.crop-4 img { object-position: 48% 28%; }

.product-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 6px 10px;
  background: var(--yellow);
  color: #191700;
  font-size: 10px;
  font-weight: 700;
}

.product-badge.is-new { background: var(--lime); }

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 20px;
}

.favorite-button:hover,
.favorite-button.is-favorite { background: var(--forest); color: var(--lime); border-color: var(--forest); }

.quick-add {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 45px;
  transform: translateY(102%);
  border: 0;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  transition: transform .22s ease, background-color .2s ease;
}

.product-card:hover .quick-add,
.quick-add:focus { transform: translateY(0); }
.quick-add:hover { background: var(--green); }

.product-info { padding-top: 13px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.rating { color: #6b5900; letter-spacing: .02em; }

.product-title {
  width: 100%;
  min-height: 49px;
  padding: 5px 0 2px;
  text-align: right;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.product-title:hover { color: var(--green); }

.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.product-price strong { font-size: 15px; }
.product-price del { color: #929892; font-size: 11px; }
.product-price small { color: var(--muted); font-size: 9px; }

.empty-state { padding: 80px 20px; text-align: center; background: var(--soft); }
.empty-state[hidden] { display: none; }
.empty-state > span { display: block; color: var(--green); font-size: 58px; line-height: 1; }
.empty-state h3 { margin: 14px 0 0; font-size: 24px; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 10px; }

.routine {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 570px;
  margin-bottom: 96px;
  background: var(--ivory);
}

.routine-image { min-height: 500px; background: url("assets/images/care.webp") center / cover no-repeat; }
.routine-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 54px; }
.routine-content p { margin: 15px 0 22px; color: #535b55; }
.routine-content ol { width: 100%; margin: 0 0 28px; padding: 0; list-style: none; }
.routine-content li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid #d9d5cc; }
.routine-content li b { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; background: var(--forest); color: var(--lime); }
.routine-content li span { display: flex; flex-direction: column; }
.routine-content li small { color: var(--muted); }

.benefits { background: var(--forest); color: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits article { display: flex; gap: 14px; padding: 33px 26px; border-left: 1px solid rgba(255,255,255,.18); }
.benefits article:last-child { border-left: 0; }
.benefits article > span { color: var(--lime); font-size: 26px; line-height: 1.2; }
.benefits h3 { margin: 0; font-size: 14px; }
.benefits p { margin: 3px 0 0; color: #c7d0c9; font-size: 11px; }

.site-footer { background: #08100a; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .65fr .65fr 1.25fr; gap: 50px; padding-block: 68px 55px; }
.brand-light .brand-mark { background: var(--lime); color: var(--forest); }
.brand-light .brand-copy small { color: var(--lime); }
.footer-brand p { max-width: 310px; margin: 22px 0 0; color: #aeb7b0; font-size: 12px; }
.footer-grid h3 { margin: 0 0 16px; color: var(--lime); font-size: 13px; }
.footer-grid a,
.footer-grid > div > button { display: block; margin: 8px 0; padding: 0; border: 0; background: transparent; color: #c9d0cb; font-size: 12px; }
.footer-grid a:hover,
.footer-grid > div > button:hover { color: #fff; }
.newsletter p { color: #aeb7b0; font-size: 12px; }
.newsletter form { display: grid; grid-template-columns: 1fr auto; margin-top: 16px; }
.newsletter input { min-width: 0; padding: 12px 14px; border: 1px solid #4b574e; border-left: 0; border-radius: 0; background: #121b14; color: #fff; outline: 0; }
.newsletter input:focus { border-color: var(--lime); }
.newsletter button { border: 0; padding: 10px 16px; background: var(--lime); color: #102000; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px; border-top: 1px solid #29322b; color: #879088; font-size: 10px; }

.drawer-backdrop {
  position: fixed;
  z-index: 98;
  inset: 0;
  background: rgba(0, 0, 0, .48);
  backdrop-filter: blur(2px);
}

.drawer-backdrop[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(470px, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(-102%);
  transition: transform .28s ease;
}

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

.drawer-head { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head span { color: var(--green); font-size: 10px; font-weight: 700; }
.drawer-head h2 { margin: 0; font-size: 25px; }
.drawer-head button,
.dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 25px; line-height: 1; }
.drawer-head button:hover,
.dialog-close:hover { background: var(--ink); color: #fff; }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 13px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 80px; height: 92px; object-fit: cover; background: var(--soft); }
.cart-line h3 { margin: 0; font-size: 12px; line-height: 1.6; }
.cart-line-price { display: block; margin-top: 3px; color: var(--green); font-size: 11px; font-weight: 700; }
.cart-line-remove { border: 0; background: transparent; color: #8a918c; font-size: 18px; }
.qty-control { width: fit-content; display: flex; align-items: center; margin-top: 10px; border: 1px solid var(--line); }
.qty-control button { width: 30px; height: 28px; border: 0; background: var(--soft); }
.qty-control span { width: 30px; text-align: center; font-size: 11px; }

.cart-empty { margin: auto; padding: 50px 24px; text-align: center; }
.cart-empty > span { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto; background: var(--forest); color: var(--lime); font-family: Arial, sans-serif; font-size: 31px; font-weight: 900; }
.cart-empty h3 { margin: 20px 0 2px; }
.cart-empty p { margin: 0 0 20px; color: var(--muted); }

.cart-summary { flex: 0 0 auto; padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--soft); }
.cart-summary[hidden] { display: none; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-size: 12px; }
.cart-summary > div:first-child strong { color: var(--green); font-size: 15px; }
.cart-summary .checkout { width: 100%; margin-top: 14px; }
.cart-summary > small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; text-align: center; }

.product-dialog {
  width: min(920px, calc(100% - 28px));
  max-height: min(720px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  overflow: visible;
}

.product-dialog::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; z-index: 3; top: 12px; left: 12px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; max-height: min(720px, calc(100vh - 28px)); overflow-y: auto; }
.dialog-image { min-height: 540px; background: var(--soft); }
.dialog-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.dialog-copy .eyebrow { margin-bottom: 9px; }
.dialog-copy h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.45; }
.dialog-rating { margin: 9px 0 15px; color: #6b5900; font-size: 12px; }
.dialog-description { margin: 0 0 18px; color: var(--muted); }
.dialog-points { margin: 0 0 23px; padding: 0; list-style: none; }
.dialog-points li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.dialog-points li::before { content: "✓"; margin-left: 8px; color: var(--green); font-weight: 700; }
.dialog-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.dialog-price strong { font-size: 21px; color: var(--forest); }
.dialog-price del { color: #8b928d; }
.dialog-actions { display: grid; grid-template-columns: 1fr 52px; gap: 8px; }
.dialog-actions .favorite-large { border: 1px solid var(--line); background: #fff; font-size: 22px; }
.dialog-actions .favorite-large.is-favorite { background: var(--forest); color: var(--lime); }

.toast {
  position: fixed;
  z-index: 150;
  right: 50%;
  bottom: 24px;
  max-width: calc(100% - 30px);
  transform: translate(50%, 150%);
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  border-right: 4px solid var(--lime);
  font-size: 12px;
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.toast.is-visible { transform: translate(50%, 0); opacity: 1; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (max-width: 1080px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 20px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits article:nth-child(2) { border-left: 0; }
  .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; }
  .newsletter { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .announcement-inner { justify-content: center; }
  .announcement-inner > span { display: none; }
  .site-header { position: relative; }
  .header-main { min-height: auto; grid-template-columns: 1fr auto; padding-block: 14px; }
  .search-form { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .icon-action:not(.cart-action) { display: none; }
  .cart-action span { display: none; }
  .category-scroll { justify-content: flex-start; width: 100%; padding-inline: 14px; }
  .hero { width: 100%; min-height: 440px; margin-top: 0; padding: 48px 28px; background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(4,12,7,.94) 0%, rgba(4,12,7,.78) 55%, rgba(4,12,7,.18)); }
  .hero-content { width: min(520px, 68%); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .routine { width: 100%; grid-template-columns: 1fr; }
  .routine-image { min-height: 420px; }
  .routine-content { padding: 45px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand,
  .newsletter { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .shell { width: min(100% - 24px, var(--shell)); }
  .announcement { font-size: 10px; }
  .brand-mark { width: 38px; }
  .brand-copy b { font-size: 16px; }
  .header-main { gap: 10px; }
  .nav-category { padding-inline: 14px; }
  .nav-category::after { right: 14px; left: 14px; }
  .hero { min-height: 510px; padding: 35px 20px; align-items: flex-end; background-position: 68% top; }
  .hero::after { background: linear-gradient(0deg, rgba(4,12,7,.98) 0%, rgba(4,12,7,.83) 56%, rgba(4,12,7,.08) 100%); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: 41px; }
  .hero p { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-proof { margin-top: 16px; }
  .quick-categories { padding-block: 50px 64px; }
  .section-kicker { align-items: center; }
  .section-kicker h2,
  .catalog-head h2 { font-size: 28px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-card { min-height: 190px; padding: 18px; }
  .quick-card strong { font-size: 21px; }
  .quick-card small { font-size: 10px; }
  .quick-card i { left: 17px; bottom: 17px; }
  .catalog-head { align-items: flex-start; flex-direction: column; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { flex: 1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 9px; }
  .product-visual { aspect-ratio: .8; }
  .product-badge { padding: 4px 6px; font-size: 8px; }
  .favorite-button { width: 33px; height: 33px; top: 7px; left: 7px; }
  .quick-add { position: static; transform: none; min-height: 38px; font-size: 10px; }
  .product-title { min-height: 58px; font-size: 12px; }
  .product-meta { font-size: 8px; }
  .product-price strong { font-size: 12px; }
  .product-price del { font-size: 9px; }
  .routine-image { min-height: 330px; }
  .routine-content h2 { font-size: 31px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits article { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding-inline: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-block: 50px 40px; }
  .footer-bottom { flex-direction: column; gap: 3px; }
  .product-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); }
  .dialog-grid { grid-template-columns: 1fr; max-height: calc(100vh - 18px); }
  .dialog-image { min-height: 285px; max-height: 38vh; }
  .dialog-copy { padding: 28px 22px; }
  .dialog-copy h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
