:root {
  color-scheme: light;
  --ink: #171317;
  --muted: #6f636b;
  --line: #ead8e0;
  --rose: #b94f68;
  --rose-dark: #8f3149;
  --coral: #ff583f;
  --surface: #ffeff4;
  --soft: #f4dfe8;
  --panel: #fff8fb;
  --header-surface: #fff5f8;
  --header-bg: rgb(255 245 248 / 96%);
  --search-bg: #f2e7eb;
  --nav-gray: #7f7f7d;
  --hero-bg: #fff4f8;
  --hero-overlay: rgb(255 244 248 / 88%);
  --hero-blush: rgb(185 79 104 / 12%);
  --body-bg:
    radial-gradient(circle at 12% 8%, rgb(255 199 218 / 52%), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgb(232 176 196 / 34%), transparent 24rem),
    linear-gradient(180deg, #fff5f8 0%, var(--surface) 42%, #f4e0e9 100%);
}

body[data-theme="champagne"],
body[data-theme-preview="champagne"] {
  --ink: #1f1916;
  --muted: #746962;
  --line: #e7d7cc;
  --rose: #a86c56;
  --rose-dark: #7d493b;
  --coral: #d88b5f;
  --surface: #fbf2eb;
  --soft: #efe0d5;
  --panel: #fffaf6;
  --header-surface: #fbf2eb;
  --header-bg: rgb(251 242 235 / 96%);
  --search-bg: #efe3da;
  --nav-gray: #827875;
  --hero-bg: #fbf2eb;
  --hero-overlay: rgb(251 242 235 / 90%);
  --hero-blush: rgb(168 108 86 / 13%);
  --body-bg:
    radial-gradient(circle at 12% 8%, rgb(230 190 165 / 44%), transparent 28rem),
    radial-gradient(circle at 86% 20%, rgb(196 139 112 / 24%), transparent 24rem),
    linear-gradient(180deg, #fff9f4 0%, #fbf2eb 46%, #efe0d5 100%);
}

body[data-theme="graphite"],
body[data-theme-preview="graphite"] {
  --ink: #181519;
  --muted: #6b6368;
  --line: #ddd2d8;
  --rose: #c07087;
  --rose-dark: #8d465c;
  --coral: #d45e4d;
  --surface: #f7f0f2;
  --soft: #e8dbe0;
  --panel: #fff9fb;
  --header-surface: #f7f0f2;
  --header-bg: rgb(247 240 242 / 96%);
  --search-bg: #ebe4e7;
  --nav-gray: #615d60;
  --hero-bg: #f7f0f2;
  --hero-overlay: rgb(247 240 242 / 92%);
  --hero-blush: rgb(192 112 135 / 15%);
  --body-bg:
    radial-gradient(circle at 12% 8%, rgb(192 112 135 / 35%), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgb(65 56 62 / 16%), transparent 24rem),
    linear-gradient(180deg, #faf5f7 0%, #f7f0f2 48%, #e8dbe0 100%);
}

body[data-theme="pearl"],
body[data-theme-preview="pearl"] {
  --ink: #202027;
  --muted: #716d78;
  --line: #dedbe9;
  --rose: #8f6b92;
  --rose-dark: #6c4d73;
  --coral: #b98692;
  --surface: #f8f7fb;
  --soft: #e8e4f0;
  --panel: #fffefe;
  --header-surface: #f8f7fb;
  --header-bg: rgb(248 247 251 / 96%);
  --search-bg: #ece9f1;
  --nav-gray: #76717b;
  --hero-bg: #f8f7fb;
  --hero-overlay: rgb(248 247 251 / 92%);
  --hero-blush: rgb(143 107 146 / 13%);
  --body-bg:
    radial-gradient(circle at 10% 8%, rgb(196 181 211 / 36%), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgb(143 107 146 / 20%), transparent 24rem),
    linear-gradient(180deg, #fffefe 0%, #f8f7fb 48%, #e8e4f0 100%);
}

body[data-theme="coral"],
body[data-theme-preview="coral"] {
  --ink: #211715;
  --muted: #756864;
  --line: #efd7cf;
  --rose: #e05f50;
  --rose-dark: #9f3f38;
  --coral: #ff6a4f;
  --surface: #fff3ee;
  --soft: #f4ded6;
  --panel: #fffaf7;
  --header-surface: #fff3ee;
  --header-bg: rgb(255 243 238 / 96%);
  --search-bg: #f2e2dc;
  --nav-gray: #76706e;
  --hero-bg: #fff3ee;
  --hero-overlay: rgb(255 243 238 / 90%);
  --hero-blush: rgb(224 95 80 / 13%);
  --body-bg:
    radial-gradient(circle at 12% 8%, rgb(255 178 155 / 36%), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgb(224 95 80 / 22%), transparent 24rem),
    linear-gradient(180deg, #fff8f4 0%, #fff3ee 46%, #f4ded6 100%);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--body-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(23 19 23 / 8%);
}

.header-main {
  min-height: 92px;
  display: grid;
  grid-template-columns: 190px minmax(260px, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 0 50px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  color: #5c5c5c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
}

.site-search {
  min-height: 60px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--search-bg);
}

.site-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
}

.search-icon {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
  border: 2px solid #5d5d5d;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  width: 10px;
  height: 2px;
  position: absolute;
  right: -7px;
  bottom: 0;
  background: #5d5d5d;
  transform: rotate(45deg);
  transform-origin: center;
}

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

.header-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #626262;
  text-decoration: none;
}

.account-link {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.account-link:hover,
.favorite-header-link:hover {
  color: var(--rose-dark);
}

.account-avatar {
  width: 28px;
  height: 28px;
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.account-avatar::before,
.account-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid currentColor;
}

.account-avatar::before {
  width: 7px;
  height: 7px;
  top: 5px;
  border-radius: 50%;
  background: currentColor;
}

.account-avatar::after {
  width: 14px;
  height: 7px;
  bottom: 4px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 0;
}

.header-icon span {
  font-size: 42px;
  line-height: 1;
}

.favorite-header-link {
  position: relative;
}

.favorite-header-link b {
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  position: absolute;
  right: -3px;
  top: 0;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
}

.person-icon {
  width: 26px;
  height: 26px;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.person-icon::before,
.person-icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

.person-icon::before {
  width: 30px;
  height: 18px;
  left: -4px;
  bottom: -22px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom: 0;
}

.person-icon::after {
  right: -11px;
  bottom: -13px;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #b5b5b5;
}

.cart-icon span {
  width: 28px;
  height: 28px;
  position: relative;
  border: 2px solid var(--coral);
  border-radius: 5px;
}

.cart-icon span::before {
  content: "";
  width: 12px;
  height: 10px;
  position: absolute;
  left: 5px;
  top: -11px;
  border: 2px solid var(--coral);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.cart-icon {
  position: relative;
}

.cart-icon b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  position: absolute;
  right: -4px;
  top: -2px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
}

.category-nav {
  min-height: 56px;
  display: flex;
  align-items: stretch;
  position: relative;
  padding: 0 50px;
  background: var(--nav-gray);
  overflow: visible;
  scrollbar-width: none;
}

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

.nav-item {
  display: flex;
}

.nav-link,
.size-finder-link {
  min-width: 126px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.nav-item.is-highlight .nav-link,
.nav-item:hover .nav-link,
.nav-item.is-open .nav-link {
  background: var(--header-surface);
  color: #4c4c4c;
}

.chevron {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.size-finder-link {
  margin-left: auto;
  min-width: 220px;
}

@media (max-width: 1400px) {
  .size-finder-link {
    display: none;
  }
}

.size-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #fff;
}

.mega-menu {
  min-height: 420px;
  display: none;
  grid-template-columns: minmax(360px, 0.6fr) 300px 300px;
  gap: 30px;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  padding: 40px 50px 68px;
  background: var(--header-surface);
  box-shadow: 0 20px 35px rgb(23 19 23 / 12%);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  display: grid;
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 60px;
}

.mega-columns div {
  display: grid;
  align-content: start;
  gap: 15px;
}

.mega-columns strong {
  color: #2f2f2f;
  font-size: 18px;
}

.mega-columns .mega-accent {
  color: var(--coral);
}

.mega-columns a {
  color: #343434;
  font-size: 19px;
  text-decoration: none;
}

.mega-columns a:hover {
  color: var(--coral);
}

.mega-button {
  width: fit-content;
  margin-top: 18px;
  padding: 13px 20px;
  background: #ffece8;
  font-weight: 800;
}

.mega-visual {
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 26px;
  border-radius: 8px;
  overflow: hidden;
}

.mega-photo {
  color: #fff;
  background:
    linear-gradient(180deg, rgb(23 19 23 / 6%), rgb(23 19 23 / 54%)),
    linear-gradient(135deg, #d9a889, #f3d7c8 48%, #8a4f48);
}

.mega-photo span {
  align-self: start;
  color: rgb(255 255 255 / 72%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-style: italic;
}

.mega-photo strong,
.mega-offer strong {
  font-size: 36px;
  line-height: 1.05;
}

.mega-photo small,
.mega-offer small {
  max-width: 220px;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.mega-offer {
  color: #fff;
  background: var(--coral);
}

.site-main {
  min-height: 70vh;
}

.text-link {
  color: var(--rose-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.storefront-hero {
  min-height: calc(100vh - 148px);
  width: 100%;
  margin: 0;
  padding: 0 max(32px, calc((100% - 1400px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.78fr);
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, var(--hero-blush), transparent 28rem),
    linear-gradient(90deg, var(--hero-bg) 0%, var(--hero-overlay) 68%, transparent 100%);
}

.hero-with-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      var(--hero-bg) 0%,
      var(--hero-bg) 43%,
      var(--hero-overlay) 58%,
      color-mix(in srgb, var(--hero-bg) 84%, transparent) 76%,
      color-mix(in srgb, var(--hero-bg) 72%, transparent) 100%
    ),
    linear-gradient(180deg, rgb(255 255 255 / 36%), rgb(244 211 224 / 50%)),
    var(--hero-poster) calc(100% + 180px) center / min(44vw, 660px) auto no-repeat;
  filter: saturate(0.72) contrast(0.9);
}

.hero-with-poster::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 8%;
  z-index: 0;
  width: min(58vw, 760px);
  height: min(34vw, 430px);
  border-radius: 999px;
  background: var(--hero-blush);
  filter: blur(46px);
}

.storefront-copy {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 156px);
  font-weight: 500;
  line-height: 0.88;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #30262d;
  font-size: clamp(20px, 2.4vw, 31px);
  line-height: 1.22;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}

.promo-strip {
  width: min(1770px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 0 18px;
}

.promo-card {
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 28px;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
}

.promo-card span,
.promo-card strong,
.promo-card small {
  position: relative;
}

.promo-card span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-card strong {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 0.96;
}

.promo-card small {
  max-width: 360px;
  font-size: 16px;
  line-height: 1.45;
}

.promo-card.is-rose {
  background: linear-gradient(135deg, #b94f68, #e58aa0);
}

.promo-card.is-coral {
  background: linear-gradient(135deg, #ff583f, #f1a072);
}

.promo-card.is-dark {
  background: linear-gradient(135deg, #211920, #734052);
}

.primary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 32px rgb(185 79 104 / 22%);
}

.primary-action:hover {
  background: var(--rose-dark);
}

.care-section,
.offer-tiles {
  width: min(1770px, calc(100% - 96px));
  margin: 0 auto;
  padding: 64px 0;
}

.care-heading {
  width: min(1380px, 100%);
  margin: 0 auto 28px;
}

.care-heading h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.care-grid article,
.offer-tile {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.care-grid span,
.offer-tile span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.care-grid h3 {
  margin: 54px 0 10px;
  font-size: 26px;
}

.care-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.care-grid a,
.offer-tile {
  color: var(--rose-dark);
  font-weight: 900;
  text-decoration: none;
}

.offer-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer-tile {
  min-height: 320px;
  display: grid;
  align-content: end;
  gap: 12px;
  background:
    linear-gradient(180deg, rgb(255 248 251 / 20%), rgb(255 248 251 / 94%)),
    radial-gradient(circle at 24% 18%, rgb(185 79 104 / 18%), transparent 36%),
    var(--panel);
}

.offer-tile strong {
  color: var(--ink);
  font-size: 26px;
}

.offer-tile small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.category-preview {
  display: grid;
  gap: 14px;
}

.category-preview article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 248 251 / 88%);
}

.category-preview span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.category-preview h2 {
  margin: 0;
  font-size: 24px;
}

.category-preview p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.sales-disabled {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid #e7c9d1;
  border-radius: 8px;
  background: var(--panel);
  color: var(--rose-dark);
  line-height: 1.45;
}

.storefront-section,
.catalog-shell,
.product-page {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0;
}

.storefront-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.categories-section {
  padding-top: 20px;
}

.storefront-section h2,
.catalog-heading h1,
.product-details h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
}

.storefront-section p,
.catalog-heading p {
  color: var(--muted);
  line-height: 1.6;
}

.facebook-frame {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.facebook-frame iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.facebook-frame p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.video-showcase {
  align-items: center;
}

.video-showcase-featured {
  border-top: 0;
  padding-top: 20px;
}

.video-viewer {
  min-width: 0;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgb(23 19 23 / 96%), rgb(73 30 44 / 94%)),
    var(--ink);
  box-shadow: 0 24px 60px rgb(72 30 44 / 18%);
}

.viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.viewer-toolbar span {
  color: #f9dfe7;
  font-size: 14px;
  font-weight: 800;
}

.viewer-toolbar button {
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.video-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 430px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.video-card {
  min-height: 360px;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  background: rgb(255 248 251 / 96%);
  scroll-snap-align: start;
}

.video-card iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 14px;
}

.facebook-fallback-card {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  margin: 0 auto 14px;
  padding: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--rose) 20%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--panel) 88%, var(--surface)), var(--panel));
  text-align: center;
}

.fallback-kicker {
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fallback-play {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--rose) 26%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--rose) 12%, #fff);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--rose) 18%, transparent);
}

.fallback-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid var(--rose-dark);
}

.facebook-fallback-card strong {
  max-width: 260px;
  font-size: 26px;
  line-height: 1.12;
}

.facebook-fallback-card small {
  max-width: 270px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.facebook-fallback-card .primary-action {
  justify-self: center;
}

.video-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
}

.video-card-empty {
  display: grid;
  align-content: center;
  gap: 16px;
}

.video-teaser {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(255 246 250 / 84%), rgb(255 236 243 / 94%)),
    radial-gradient(circle at 30% 20%, #f2b8c6, transparent 34%),
    radial-gradient(circle at 82% 64%, #6d2f43, transparent 38%);
}

.video-teaser::before {
  content: "";
  width: 86px;
  height: 86px;
  position: absolute;
  right: 22px;
  top: 22px;
  border-radius: 999px;
  border: 1px solid rgb(185 79 104 / 28%);
  background: rgb(185 79 104 / 12%);
}

.video-teaser span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-weight: 900;
}

.video-teaser h3,
.video-teaser p,
.video-teaser a {
  position: relative;
}

.catalog-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.catalog-heading-wide {
  max-width: 980px;
}

.catalog-tools {
  display: grid;
  gap: 18px;
  margin: 0 0 34px;
}

.catalog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 248 251 / 78%);
  color: #51464d;
  font-weight: 800;
  text-decoration: none;
}

.category-chip:hover,
.category-chip.is-active {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff;
}

.catalog-filter-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(5, minmax(120px, 0.5fr)) auto auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 248 251 / 82%);
}

.catalog-filter-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-filter-form input,
.catalog-filter-form select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.catalog-filter-form .checkbox-filter {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
  color: var(--ink);
}

.catalog-filter-form .checkbox-filter input {
  min-height: auto;
  width: auto;
  accent-color: var(--rose);
}

.catalog-reset {
  min-height: 46px;
}

.filter-submit {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--rose);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 20px;
}

.secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 248 251 / 84%);
  color: var(--rose-dark);
  font-weight: 900;
  text-decoration: none;
}

.secondary-action:hover {
  border-color: var(--rose);
}

.secondary-action.is-favorite {
  border-color: rgb(185 79 104 / 36%);
  background: rgb(185 79 104 / 10%);
}

.product-detail-actions {
  margin: 18px 0;
}

.product-info-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.product-info-notes article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 248 251 / 78%);
}

.product-info-notes span {
  display: block;
  margin-bottom: 8px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.related-products-section {
  margin-top: 72px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading-row h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 300;
  line-height: 1;
}

.related-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-page {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 76px 0 92px;
}

.content-page h1 {
  max-width: 820px;
}

.content-page .lead {
  max-width: 820px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.info-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.info-grid h2 {
  margin: 0 0 12px;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.public-table-wrap {
  margin-top: 28px;
}

.site-footer {
  width: min(1770px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
}

.site-footer p {
  max-width: 520px;
  margin: 8px 0 0;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer nav a {
  color: #51464d;
  font-weight: 800;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--rose-dark);
}

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

.product-rail-section,
.catalog-shell {
  width: min(1770px, calc(100% - 96px));
}

.product-rail-section {
  margin: 0 auto;
  padding: 82px 0 52px;
}

.rail-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  width: min(1380px, 100%);
  margin: 0 auto 36px;
}

.rail-heading h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
}

.rail-actions {
  display: flex;
  gap: 10px;
}

.rail-actions button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #f3f0ef;
  color: #1e1e1e;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.product-rail,
.catalog-product-grid {
  display: grid;
  gap: 16px;
}

.product-rail {
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 342px);
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.catalog-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
}

.catalog-product-card {
  display: grid;
  gap: 14px;
  color: #696969;
  scroll-snap-align: start;
}

.catalog-product-media {
  aspect-ratio: 0.74;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5eeee;
}

.product-media-link {
  height: 100%;
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-image,
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.product-image {
  object-fit: cover;
  transition: opacity 180ms ease, transform 220ms ease;
}

.product-image.is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.catalog-product-card:hover .product-image.is-primary {
  transform: scale(1.025);
}

.catalog-product-card:hover .product-image.is-hover {
  opacity: 1;
}

.product-image-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #fff;
  background: var(--preview-bg,
    linear-gradient(180deg, rgb(23 19 23 / 0%), rgb(23 19 23 / 36%)),
    linear-gradient(135deg, #f0b8c6, #e8d2c6 48%, #7f5261)
  );
  transition: opacity 180ms ease, transform 220ms ease;
}

.product-image-placeholder.is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.catalog-product-card:hover .product-image-placeholder {
  transform: scale(1.025);
}

.catalog-product-card:hover .product-image-placeholder.is-hover {
  opacity: 1;
}

.product-image-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-style: italic;
  font-weight: 500;
}

.product-image-placeholder small {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wishlist-mark {
  width: 48px;
  height: 48px;
  position: static;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0%);
  color: #202020;
  cursor: pointer;
  font: inherit;
  font-size: 42px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease, background 160ms ease;
}

.wishlist-mark:hover,
.wishlist-mark.is-active {
  color: var(--rose);
  transform: scale(1.06);
}

.wishlist-mark:focus-visible {
  outline: 3px solid rgb(185 79 104 / 32%);
  outline-offset: 2px;
}

.wishlist-form {
  position: absolute;
  right: 18px;
  top: 15px;
  z-index: 3;
  margin: 0;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 2;
}

.product-badges span {
  padding: 8px 12px;
  border-radius: 7px;
  background: rgb(92 92 92 / 86%);
  color: #fff;
  font-weight: 900;
}

.product-badges .is-sale {
  background: #ff3352;
}

.product-swatches {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 30px;
}

.product-swatches span {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--swatch-color);
  box-shadow: 0 0 0 1px rgb(23 19 23 / 10%);
}

.catalog-product-copy {
  display: grid;
  gap: 6px;
  padding: 0 30px;
  color: inherit;
  text-decoration: none;
}

.catalog-product-copy strong {
  color: #6e6e6e;
  font-size: 22px;
  font-weight: 500;
}

.catalog-product-card:hover .catalog-product-copy strong {
  color: var(--coral);
}

.catalog-product-copy small {
  color: #8a8a8a;
  font-size: 18px;
}

.product-card,
.empty-state {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.product-card span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.product-card h2,
.product-card h3,
.empty-state h2,
.empty-state h3 {
  margin: 18px 0 10px;
}

.product-card p,
.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  color: var(--rose-dark);
}

.catalog-product-copy .product-card-meta {
  margin-top: 4px;
}

.catalog-product-copy .product-card-meta b {
  color: #2f2f2f;
  font-size: 18px;
}

.price-stack {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
}

.price-stack del {
  color: #969090;
  font-size: 14px;
}

.catalog-product-copy .product-card-meta em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.product-card-meta small {
  color: var(--muted);
  font-size: 13px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.product-media-placeholder {
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

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

.product-show-image {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.product-show-image.is-secondary {
  max-height: 360px;
}

.cabinet-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0 92px;
}

.cabinet-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px)) auto;
  gap: 14px;
  align-items: stretch;
  margin: 26px 0 40px;
}

.cabinet-summary a {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 248 251 / 78%);
  color: inherit;
  text-decoration: none;
}

.cabinet-summary a.primary-action {
  display: inline-flex;
  min-height: 86px;
  align-self: stretch;
  justify-self: end;
  color: #fff;
}

.cabinet-summary strong {
  color: var(--rose-dark);
  font-size: 32px;
  line-height: 1;
}

.cabinet-summary span {
  color: var(--muted);
  font-weight: 800;
}

.cabinet-section {
  margin-top: 54px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1;
}

.order-history-list {
  display: grid;
  gap: 14px;
}

.order-history-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 248 251 / 78%);
}

.order-history-card > div,
.order-history-card dl {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.order-history-card strong {
  color: var(--rose-dark);
  font-size: 22px;
}

.order-history-card dl {
  margin: 0;
}

.order-history-card dt,
.order-history-card span {
  color: var(--muted);
}

.order-history-card dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.order-history-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.cart-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 24px;
  align-items: start;
}

.cart-lines,
.checkout-panel {
  display: grid;
  gap: 14px;
}

.cart-line,
.checkout-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cart-line strong,
.cart-line span,
.cart-line small {
  display: block;
}

.cart-line span,
.cart-line small {
  margin-top: 5px;
  color: var(--muted);
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.cart-quantity-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-quantity-form input[type="number"] {
  width: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.cart-quantity-form input[type="submit"],
.link-button {
  border: 0;
  background: transparent;
  color: var(--rose-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.checkout-panel h2 {
  margin: 0 0 16px;
}

.variant-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.variant-list article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.variant-list small {
  color: var(--muted);
}

.admin-body {
  background: var(--body-bg);
}

.admin-header {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
}

.admin-logo {
  font-weight: 900;
  text-decoration: none;
}

.admin-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-header nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.admin-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0;
}

.admin-page-heading h1 {
  margin: 0;
  font-size: 44px;
}

.admin-page-heading p {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.admin-panel-spaced {
  margin-top: 18px;
}

.admin-panel h2 {
  margin: 0 0 16px;
}

.theme-settings-panel {
  grid-column: 1 / -1;
}

.theme-settings-form {
  gap: 18px;
}

.theme-preset-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.theme-preset-card {
  --preview-surface: #fff5f8;
  --preview-accent: #b94f68;
  --preview-accent-dark: #8f3149;
  --preview-nav: #7f7f7d;
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--preview-surface) 74%, #fff);
  cursor: pointer;
}

.theme-preset-card[data-theme-choice="champagne"] {
  --preview-surface: #fbf2eb;
  --preview-accent: #a86c56;
  --preview-accent-dark: #7d493b;
  --preview-nav: #827875;
}

.theme-preset-card[data-theme-choice="graphite"] {
  --preview-surface: #f7f0f2;
  --preview-accent: #c07087;
  --preview-accent-dark: #3d383d;
  --preview-nav: #615d60;
}

.theme-preset-card[data-theme-choice="pearl"] {
  --preview-surface: #f8f7fb;
  --preview-accent: #8f6b92;
  --preview-accent-dark: #6c4d73;
  --preview-nav: #76717b;
}

.theme-preset-card[data-theme-choice="coral"] {
  --preview-surface: #fff3ee;
  --preview-accent: #e05f50;
  --preview-accent-dark: #9f3f38;
  --preview-nav: #76706e;
}

.theme-preset-card:has(input:checked) {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 22%, transparent);
}

.theme-preset-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-preset-head {
  display: grid;
  gap: 6px;
}

.theme-preset-head strong {
  color: var(--ink);
  font-size: 18px;
}

.theme-preset-head small {
  color: var(--muted);
  line-height: 1.35;
}

.theme-swatches {
  display: flex;
  gap: 7px;
}

.theme-swatches i {
  width: 24px;
  height: 24px;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 999px;
  background: var(--swatch-color);
}

.theme-mini-preview {
  overflow: hidden;
  display: grid;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 8px;
  background: var(--preview-surface);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 48%);
}

.theme-mini-nav {
  height: 24px;
  background: var(--preview-nav);
}

.theme-mini-hero {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--preview-accent) 24%, transparent), transparent 48%),
    var(--preview-surface);
}

.theme-mini-hero b {
  color: #161116;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 0.9;
}

.theme-mini-hero em,
.theme-mini-hero i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--preview-accent-dark) 34%, transparent);
}

.theme-mini-hero em {
  width: 78%;
}

.theme-mini-hero i {
  width: 44%;
  height: 18px;
  margin-top: 6px;
  background: var(--preview-accent);
}

.admin-export-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 22px 0;
}

.admin-export-panel h2 {
  margin-bottom: 6px;
}

.admin-export-panel p {
  margin: 0;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(120px, 0.45fr)) auto auto;
  gap: 10px;
  align-items: end;
}

.admin-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-filter-form input,
.admin-filter-form select {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
  color: var(--ink);
  font: inherit;
  padding: 0 10px;
}

.stock-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-summary-grid .admin-panel:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.stock-summary-grid .admin-panel:last-child h2 {
  width: 100%;
}

.label-filter-form {
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.45fr) minmax(90px, 0.25fr) auto auto auto;
}

.label-print-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.barcode-label {
  min-height: 178px;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 12px;
  border: 1px dashed #292929;
  border-radius: 6px;
  background: #fff;
  color: #111;
  break-inside: avoid;
}

.label-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1;
}

.barcode-label strong {
  font-size: 14px;
  line-height: 1.15;
}

.barcode-label span {
  color: #555;
  font-size: 12px;
}

.barcode-image {
  width: 100%;
  height: 54px;
  object-fit: contain;
}

.label-code {
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
}

.label-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #444;
  font-size: 11px;
}

.big-stat {
  margin: 0;
  color: var(--rose-dark);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.admin-table tr.is-warning-row td {
  background: rgb(255 242 228 / 55%);
}

.status-pill {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}

.status-pill.is-on {
  background: #e7f7ec;
  color: #176a35;
}

.status-pill.is-off {
  background: #fff2e4;
  color: #8a4a08;
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field-hint {
  margin: -6px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.settings-form input[type="email"],
.settings-form input[type="date"],
.settings-form input[type="number"],
.settings-form input[type="search"],
.settings-form input[type="tel"],
.settings-form input[type="text"],
.settings-form input[type="url"],
.settings-form select,
.settings-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fffafd;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.danger-line {
  color: #9d1c38;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-editor {
  gap: 18px;
}

.admin-section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.admin-section-title h2 {
  margin-bottom: 6px;
}

.variant-editor-list {
  display: grid;
  gap: 14px;
}

.variant-editor-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9fb;
}

.stats-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.stats-list div,
.compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.stats-list dt,
.muted {
  color: var(--muted);
}

.stats-list dd {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.compact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.instruction-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.admin-actions {
  margin: 20px 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.table-note {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.status-chip {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f7edf1;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 800;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.table-actions a,
.table-actions button {
  border: 0;
  background: transparent;
  color: var(--rose-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding: 14px 0;
  background: #fbf7f9;
}

.scanner-panel {
  margin-bottom: 18px;
}

.scanner-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.scanner-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.scanner-form input[type="search"] {
  min-height: 58px;
  width: 100%;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 24px;
}

.scanner-form input[type="search"]:focus {
  border-color: var(--rose);
  outline: 0;
}

.scanner-grid {
  align-items: stretch;
}

.finance-grid .admin-panel {
  min-height: 260px;
}

.flash {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--panel);
}

.flash-notice {
  border: 1px solid #bfe4ca;
  color: #176a35;
}

.flash-alert {
  border: 1px solid #f0c4c4;
  color: #8a1f1f;
}

@media (max-width: 820px) {
  .header-main {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: auto;
    padding: 14px 20px;
  }

  .brand-logo {
    font-size: 40px;
  }

  .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 48px;
    order: 3;
  }

  .site-search input {
    font-size: 15px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-icon {
    width: 34px;
    height: 34px;
  }

  .account-link {
    width: 34px;
    min-width: 34px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .account-avatar {
    width: 27px;
    height: 27px;
  }

  .header-icon span {
    font-size: 34px;
  }

  .category-nav {
    min-height: 48px;
    overflow-x: auto;
    padding: 0 12px;
  }

  .nav-link,
  .size-finder-link {
    min-width: max-content;
    padding: 0 16px;
    white-space: nowrap;
  }

  .size-finder-link {
    margin-left: 0;
  }

  .mega-menu {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .mega-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mega-visual {
    min-height: 220px;
  }

  .storefront-hero {
    width: 100%;
    min-height: auto;
    padding: 28px 20px 140px;
    grid-template-columns: 1fr;
  }

  .promo-strip,
  .care-section,
  .offer-tiles {
    width: calc(100% - 40px);
  }

  .promo-strip,
  .care-grid,
  .offer-tile-grid {
    grid-template-columns: 1fr;
  }

  .hero-with-poster::before {
    background:
      linear-gradient(
        180deg,
        #fff4f8 0%,
        rgb(255 244 248 / 98%) 58%,
        rgb(255 244 248 / 84%) 100%
      ),
      linear-gradient(180deg, rgb(255 255 255 / 58%), rgb(244 211 224 / 70%)),
      var(--hero-poster) center bottom / min(112vw, 560px) auto no-repeat;
  }

  .hero-with-poster::after {
    right: -22%;
    bottom: 0;
    width: 92vw;
    height: 180px;
  }

  h1 {
    font-size: clamp(64px, 24vw, 104px);
  }

  .lead {
    font-size: 21px;
  }

  .storefront-section,
  .catalog-shell,
  .product-page,
  .product-rail-section,
  .cabinet-shell {
    width: calc(100% - 40px);
    padding: 42px 0;
  }

  .cabinet-summary,
  .section-heading,
  .order-history-card > div,
  .order-history-card dl {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cabinet-summary a.primary-action {
    justify-self: stretch;
  }

  .rail-heading {
    margin-bottom: 24px;
  }

  .rail-heading h2 {
    font-size: 42px;
  }

  .product-rail {
    grid-auto-columns: minmax(245px, 78vw);
  }

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

  .catalog-filter-form {
    grid-template-columns: 1fr;
  }

  .product-info-notes,
  .section-heading-row,
  .related-product-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-submit {
    width: 100%;
  }

  .content-page,
  .site-footer {
    width: calc(100% - 40px);
  }

  .info-grid,
  .site-footer,
  .admin-filter-form,
  .theme-preset-grid,
  .stock-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-export-panel {
    display: grid;
  }

  .product-swatches,
  .catalog-product-copy {
    padding: 0 12px;
  }

  .storefront-section,
  .product-layout,
  .cart-layout,
  .admin-grid,
  .admin-form-grid,
  .variant-editor-row,
  .scanner-form {
    grid-template-columns: 1fr;
  }

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

  .cart-shell {
    width: calc(100% - 40px);
    padding: 42px 0;
  }

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

  .cart-line-actions {
    justify-content: flex-start;
  }

  .video-track {
    grid-auto-columns: minmax(260px, 88vw);
  }

  .product-media-placeholder {
    min-height: 320px;
  }
}

@media print {
  @page {
    margin: 10mm;
  }

  body.admin-body {
    background: #fff;
  }

  .admin-header,
  .flash,
  .print-hidden {
    display: none !important;
  }

  .admin-main {
    width: 100%;
    padding: 0;
  }

  .label-print-sheet {
    grid-template-columns: repeat(3, 1fr);
    gap: 6mm;
    margin: 0;
  }

  .barcode-label {
    min-height: 42mm;
    border: 1px solid #111;
    box-shadow: none;
    page-break-inside: avoid;
  }
}
