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

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.storefront-hero.hero-has-video {
  grid-template-columns: minmax(360px, 0.62fr) minmax(420px, 0.78fr);
  gap: 34px;
  padding-top: 38px;
  padding-bottom: 38px;
}

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

.top-video-reel {
  width: min(1420px, calc(100% - 96px));
  min-width: 0;
  position: relative;
  display: block;
  margin: 28px auto 44px;
  padding: 24px 58px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rose) 16%, transparent);
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 14%, color-mix(in srgb, var(--rose) 18%, transparent), transparent 30%),
    radial-gradient(circle at 82% 78%, color-mix(in srgb, var(--coral) 12%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel) 86%, transparent), color-mix(in srgb, var(--soft) 72%, #fff));
  box-shadow: 0 28px 74px rgb(120 54 76 / 13%);
}

.storefront-hero .top-video-reel {
  width: 100%;
  z-index: 1;
  margin: 0;
  padding: 22px 56px;
  align-self: center;
}

.storefront-hero .top-video-track {
  min-height: clamp(390px, 48vw, 610px);
}

.storefront-hero .top-video-card {
  flex-basis: clamp(210px, 19vw, 285px);
}

.top-video-nav {
  width: 48px;
  height: 58px;
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  border: 1px solid color-mix(in srgb, var(--rose) 20%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--rose-dark);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  box-shadow: 0 16px 42px rgb(120 54 76 / 16%);
  backdrop-filter: blur(12px);
}

.top-video-nav:hover {
  border-color: color-mix(in srgb, var(--rose) 42%, transparent);
  background: color-mix(in srgb, var(--panel) 88%, #fff);
}

.top-video-nav.is-prev {
  left: 14px;
}

.top-video-nav.is-next {
  right: 14px;
}

.top-video-stage {
  min-width: 0;
  overflow: hidden;
}

.top-video-track {
  min-height: clamp(420px, 42vw, 660px);
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  align-items: center;
  overflow-x: auto;
  padding: 24px 34%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.top-video-track::-webkit-scrollbar {
  display: none;
}

.top-video-card {
  flex: 0 0 clamp(220px, 18vw, 310px);
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rose) 12%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel) 72%, #120b10);
  box-shadow: 0 18px 42px rgb(120 54 76 / 13%);
  opacity: 0.58;
  scroll-snap-align: center;
  text-decoration: none;
  transform: scale(0.84);
  transition: transform 300ms ease, opacity 300ms ease, box-shadow 300ms ease, border-color 300ms ease, filter 300ms ease;
  filter: saturate(0.78) contrast(0.96);
}

.top-video-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 0%);
  border-radius: 17px;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.top-video-card.is-active {
  z-index: 2;
  border-color: color-mix(in srgb, var(--rose) 28%, #fff);
  box-shadow:
    0 24px 72px rgb(120 54 76 / 24%),
    0 0 0 10px color-mix(in srgb, var(--panel) 48%, transparent);
  opacity: 1;
  transform: scale(1.06);
  filter: saturate(1.04) contrast(1.02);
}

.top-video-card.is-active::after {
  border-color: rgb(255 255 255 / 56%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rose) 14%, transparent);
}

.top-video-frame {
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgb(255 255 255 / 8%), transparent 32%),
    #120b10;
}

.top-video-frame iframe,
.top-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 14;
  border: 0;
  background: #120b10;
  object-fit: cover;
}

.mirror-video-reel {
  aspect-ratio: 16 / 9;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--mirror-room) center / contain no-repeat;
  box-shadow: none;
}

.mirror-video-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--mirror-frame) center / contain no-repeat;
}

.storefront-hero .mirror-video-reel {
  width: min(100%, 760px);
  justify-self: center;
  padding: 0;
}

.mirror-video-reel .top-video-stage {
  position: absolute;
  left: 40.31%;
  top: 14.44%;
  width: 19.53%;
  height: 72.36%;
  z-index: 1;
  overflow: hidden;
  border-radius: 1px;
  background: #111;
  box-shadow: none;
  clip-path: none;
  transform: none;
  transform-origin: left center;
}

.mirror-video-reel .top-video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgb(255 255 255 / 9%), transparent 20%, transparent 66%, rgb(255 255 255 / 5%)),
    radial-gradient(circle at 52% 4%, rgb(255 255 255 / 9%), transparent 13%);
  mix-blend-mode: screen;
}

.mirror-video-reel .top-video-track {
  min-height: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  scroll-snap-type: none;
}

.mirror-video-reel .top-video-card,
.storefront-hero .mirror-video-reel .top-video-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: none;
  filter: saturate(0.92) contrast(0.95) brightness(0.9);
  box-shadow: none;
  transition: opacity 560ms ease, filter 560ms ease;
}

.mirror-video-reel .top-video-card::after {
  display: none;
}

.mirror-video-reel .top-video-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  filter: saturate(1.02) contrast(1.03) brightness(0.96);
  box-shadow: none;
}

.mirror-video-reel .top-video-frame {
  height: 100%;
  overflow: hidden;
  background: #111;
}

.mirror-video-reel .top-video-frame video,
.mirror-video-reel .top-video-frame iframe {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transform: none;
  transform-origin: center center;
}

.mirror-video-reel .top-video-nav {
  top: auto;
  bottom: 5.8%;
  width: 42px;
  height: 42px;
  border-color: rgb(255 255 255 / 28%);
  background: rgb(24 20 22 / 54%);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 26px rgb(0 0 0 / 24%);
}

.mirror-video-reel .top-video-nav.is-prev {
  left: 36.9%;
}

.mirror-video-reel .top-video-nav.is-next {
  right: 36.9%;
}

.fashion-show-modal[hidden] {
  display: none;
}

.fashion-show-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 42px);
  background:
    radial-gradient(circle at 50% 46%, rgb(255 231 216 / 16%), transparent 34%),
    radial-gradient(circle at 50% 58%, rgb(0 0 0 / 0%), rgb(0 0 0 / 78%) 64%),
    linear-gradient(135deg, rgb(10 8 9 / 94%), rgb(32 18 22 / 92%));
  backdrop-filter: blur(18px);
}

.fashion-show-shell {
  position: relative;
  width: min(96vw, calc(92vh * 16 / 9), 1420px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--mirror-room) center / contain no-repeat;
  box-shadow:
    0 46px 120px rgb(0 0 0 / 52%),
    0 0 90px rgb(255 190 114 / 16%);
}

.fashion-show-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--mirror-frame) center / contain no-repeat;
}

.fashion-show-view {
  position: absolute;
  left: 40.31%;
  top: 14.44%;
  width: 19.53%;
  height: 72.36%;
  overflow: hidden;
  background: #090708;
}

.fashion-show-video-slot {
  width: 100%;
  height: 100%;
}

.fashion-show-video-slot video,
.fashion-show-video-slot iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #090708;
  object-fit: cover;
}

.fashion-show-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(6px, 1.4vw, 16px);
  z-index: 5;
  transform: translate(-50%, 10%);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.fashion-show-buy {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, #be4b6f) 68%, transparent);
  color: #fff;
  font-weight: 900;
  font-size: 0.84rem;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 12px 34px rgb(0 0 0 / 24%);
  backdrop-filter: blur(10px);
  opacity: 0.86;
  pointer-events: auto;
}

.fashion-show-buy:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--accent, #be4b6f) 82%, transparent);
}

.fashion-show-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: clamp(46px, 4.6vw, 72px);
  height: clamp(56px, 5.4vw, 86px);
  transform: translateY(-50%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(16 12 14 / 56%);
  color: #fff;
  cursor: pointer;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 0.82;
  box-shadow:
    0 18px 54px rgb(0 0 0 / 32%),
    inset 0 0 0 1px rgb(255 255 255 / 7%);
  backdrop-filter: blur(14px);
}

.fashion-show-nav:hover {
  border-color: rgb(255 223 181 / 42%);
  background: rgb(190 75 111 / 72%);
}

.fashion-show-nav.is-prev {
  left: clamp(14px, 3vw, 44px);
}

.fashion-show-nav.is-next {
  right: clamp(14px, 3vw, 44px);
}

.fashion-show-close {
  position: fixed;
  top: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
  z-index: 8010;
  width: 54px;
  height: 54px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 999px;
  background: rgb(20 14 16 / 72%);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 18px 52px rgb(0 0 0 / 30%);
  backdrop-filter: blur(14px);
}

.fashion-show-close:hover {
  background: rgb(190 75 111 / 86%);
}

@media (max-width: 820px) {
  .fashion-show-modal {
    padding: 0;
    overflow: hidden;
  }

  .fashion-show-shell {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(176vw, calc(80vh * 16 / 9));
    max-width: none;
    border-radius: 12px;
    transform: translate(-50%, -50%);
  }

  .fashion-show-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    font-size: 30px;
  }

  .fashion-show-buy {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .fashion-show-nav {
    width: 44px;
    height: 54px;
    font-size: 40px;
  }

  .fashion-show-nav.is-prev {
    left: 12px;
  }

  .fashion-show-nav.is-next {
    right: 12px;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .fashion-show-modal::before {
    content: "Поверніть телефон горизонтально";
    position: fixed;
    left: 50%;
    top: 18px;
    z-index: 8008;
    width: min(320px, calc(100vw - 88px));
    transform: translateX(-50%);
    padding: 12px 16px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 999px;
    background: rgb(20 14 16 / 78%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 18px 54px rgb(0 0 0 / 34%);
    backdrop-filter: blur(14px);
  }
}

.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-main-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

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

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

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

.product-gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 8px;
  background: var(--panel);
  object-fit: cover;
}

.product-gallery-video {
  overflow: hidden;
  border-radius: 8px;
  background: #120b10;
  box-shadow: 0 14px 36px rgb(64 24 38 / 12%);
}

.product-gallery-video video {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  background: #120b10;
  object-fit: cover;
}

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

.seller-session {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.admin-stats article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-bg);
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.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) minmax(150px, 0.45fr) 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%);
}

.cart-added-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cart-added-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(24 13 19 / 48%);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.cart-added-card {
  width: min(520px, 100%);
  position: relative;
  z-index: 1;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--rose) 24%, var(--line));
  border-radius: 12px;
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--rose) 14%, transparent), transparent 32%),
    var(--panel);
  box-shadow: 0 34px 90px rgb(24 13 19 / 28%);
}

.cart-added-card h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
}

.cart-added-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.cart-added-card p strong {
  color: var(--ink);
}

.cart-added-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cart-added-close {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.active-filter-chips,
.quick-filter-row,
.order-quick-actions,
.scanner-quick-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.active-filter-chips {
  margin-top: 14px;
}

.active-filter-chips span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--rose) 24%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 84%, #fff);
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
}

.quick-filter-row {
  margin-top: 14px;
}

.order-quick-actions {
  margin-bottom: 18px;
}

.order-quick-actions form {
  display: contents;
}

.danger-soft-action {
  border-color: #efb4bd;
  color: #9c1d35;
}

.status-canceled,
.status-returned {
  background: #fff1f1;
  color: #992727;
}

.status-shipped,
.status-completed,
.status-paid {
  background: #eef8f1;
  color: #176a35;
}

.status-packing,
.status-awaiting_payment {
  background: #fff4df;
  color: #8a5a12;
}

.scanner-quick-ops button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.product-gallery-pick,
.product-gallery-video {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.product-gallery-pick:hover,
.product-gallery-video:hover {
  outline: 2px solid color-mix(in srgb, var(--rose) 34%, transparent);
  outline-offset: 2px;
}

.product-show-video {
  width: 100%;
  min-height: min(70vh, 680px);
  display: block;
  border-radius: 8px;
  background: #100b0f;
  object-fit: cover;
}

.label-layout-roll {
  width: 58mm;
  grid-template-columns: 1fr;
  gap: 4mm;
}

.label-layout-roll .barcode-label {
  width: 58mm;
  min-height: 40mm;
  padding: 4mm;
}

.label-layout-roll .label-brand {
  font-size: 18px;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(24 13 19 / 52%);
  cursor: pointer;
  backdrop-filter: blur(7px);
}

.admin-modal-card {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  position: relative;
  z-index: 1;
  overflow: auto;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--rose) 24%, var(--line));
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 34px 90px rgb(24 13 19 / 30%);
}

.admin-modal-card h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.category-workbench {
  margin-bottom: 18px;
}

.category-menu-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--header-surface) 84%, #fff);
}

.category-menu-preview a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--nav-gray);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.category-menu-preview a:hover {
  background: var(--rose);
}

.category-menu-preview span,
.category-position {
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgb(255 255 255 / 24%);
  font-size: 13px;
}

.category-card-grid {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 72px;
}

.category-admin-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--rose) 14%, transparent), transparent 30%),
    var(--panel);
  box-shadow: 0 16px 42px rgb(120 54 76 / 9%);
}

.category-admin-card.is-muted {
  opacity: 0.72;
}

.category-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.category-position {
  min-width: 42px;
  height: 42px;
  background: var(--rose);
  color: #fff;
  font-weight: 900;
}

.category-card-top h2 {
  margin: 0;
  font-size: 26px;
}

.category-card-top p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.category-card-stats {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 10px;
  margin: 0;
}

.category-card-stats div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 50%);
}

.category-card-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.category-card-stats dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.category-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.category-card-actions form {
  display: contents;
}

.compact-danger-action {
  width: auto;
  min-height: 44px;
  padding: 0 14px;
}

.field-with-help {
  position: relative;
}

.field-help {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  cursor: help;
  font-weight: 900;
}

.button-as-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.share-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 22px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

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

.share-panel span {
  color: var(--muted);
  font-weight: 900;
}

.share-panel a,
.share-panel button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.ai-consultant {
  width: min(1420px, calc(100% - 96px));
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(420px, 0.72fr);
  gap: 26px;
  align-items: center;
  margin: 28px auto 34px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--rose) 16%, var(--line));
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--rose) 18%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel) 90%, #fff), color-mix(in srgb, var(--soft) 54%, #fff));
  box-shadow: 0 26px 74px rgb(120 54 76 / 12%);
}

.ai-character-stage {
  min-height: 360px;
  display: grid;
  place-items: end center;
  position: relative;
  perspective: 900px;
}

.ai-character {
  width: 210px;
  height: 310px;
  display: grid;
  justify-items: center;
  align-content: start;
  transform: rotateY(-10deg) rotateX(3deg);
  filter: drop-shadow(0 26px 28px rgb(80 38 58 / 22%));
  animation: aiFloat 4.8s ease-in-out infinite;
}

.ai-character-head {
  width: 126px;
  height: 138px;
  position: relative;
  z-index: 2;
  border-radius: 46% 46% 44% 44%;
  background: linear-gradient(145deg, #f7d4c5, #fff0e8 58%, #d9a38e);
  box-shadow: inset -18px -12px 24px rgb(128 74 72 / 13%);
}

.ai-hair {
  position: absolute;
  inset: -18px -18px 20px -18px;
  border-radius: 55% 48% 52% 46%;
  background: linear-gradient(145deg, #43242d, #8a4c5a 58%, #2b151d);
  transform: translateZ(-8px);
}

.ai-face::before,
.ai-face::after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 62px;
  border-radius: 999px;
  background: #2b171d;
}

.ai-face::before {
  left: 42px;
}

.ai-face::after {
  right: 42px;
}

.ai-character-head::after {
  content: "";
  width: 36px;
  height: 12px;
  position: absolute;
  left: 50%;
  top: 92px;
  border-bottom: 3px solid #9b5462;
  border-radius: 50%;
  transform: translateX(-50%);
}

.ai-character-body {
  width: 170px;
  height: 190px;
  margin-top: -10px;
  border-radius: 56px 56px 26px 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--rose) 82%, #fff), color-mix(in srgb, var(--rose-dark) 74%, #21151b)),
    var(--rose);
  box-shadow: inset -18px -18px 34px rgb(50 18 32 / 20%);
}

.ai-thought {
  position: absolute;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px rgb(120 54 76 / 14%);
  animation: thoughtPop 3.2s ease-in-out infinite;
}

.ai-thought.is-small {
  width: 28px;
  height: 28px;
  right: 34%;
  top: 36px;
}

.ai-thought.is-medium {
  width: 54px;
  height: 54px;
  right: 22%;
  top: 68px;
  animation-delay: 0.3s;
}

.ai-chat-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 92%, #fff);
}

.ai-chat-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1;
}

.ai-intro {
  color: var(--muted);
  line-height: 1.55;
}

.ai-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.ai-quick-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.ai-messages {
  max-height: 260px;
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 8px;
}

.ai-message {
  max-width: 86%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.45;
}

.ai-message.is-assistant {
  justify-self: start;
  background: #fff;
  color: var(--ink);
}

.ai-message.is-user {
  justify-self: end;
  background: var(--rose);
  color: #fff;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.ai-chat-form input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.ai-chat-form button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

@keyframes aiFloat {
  0%,
  100% {
    transform: rotateY(-10deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: rotateY(-5deg) rotateX(5deg) translateY(-12px);
  }
}

@keyframes thoughtPop {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.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-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.variant-editor-actions small {
  max-width: 620px;
}

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

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
}

.analytics-kpi-card {
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fffafd, var(--panel));
  box-shadow: 0 18px 38px rgba(120, 54, 76, 0.08);
}

.analytics-kpi-card span,
.analytics-kpi-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.analytics-kpi-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}

.insight-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--rose-dark);
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.analytics-bars {
  display: grid;
  gap: 12px;
}

.analytics-bar-row {
  display: grid;
  grid-template-columns: 54px 1fr 110px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.analytics-bar-row strong {
  color: var(--ink);
  text-align: right;
}

.analytics-bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2e4ea;
}

.analytics-bar-track i {
  display: block;
  min-width: 3px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose), var(--accent));
}

.analytics-table td:nth-child(2),
.analytics-table td:nth-child(3),
.analytics-table td:nth-child(4) {
  white-space: nowrap;
}

.analytics-stock-list li {
  align-items: flex-start;
}

.media-admin-grid {
  align-items: start;
}

.drive-browser-panel {
  margin-bottom: 18px;
}

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

.drive-file-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}

.drive-file-card.is-folder {
  background: linear-gradient(145deg, #fffafd, #f7ecf0);
}

.drive-file-preview {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #f3e8ed;
}

.drive-file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drive-file-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
}

.drive-file-body {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.drive-file-body strong {
  min-height: 40px;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.drive-file-body small {
  min-height: 32px;
  color: var(--muted);
}

.drive-import-form {
  display: grid;
}

.drive-warning {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #f0c4c4;
  border-radius: 8px;
  background: #fff5f5;
  color: #7f1d1d;
}

.drive-warning p {
  margin: 6px 0 0;
  line-height: 1.45;
}

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

.media-asset-card,
.product-media-picker-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}

.media-asset-preview,
.product-media-picker-card img,
.product-media-picker-card > span {
  background: #f3e8ed;
}

.media-asset-preview {
  display: grid;
  min-height: 230px;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.media-asset-preview img,
.media-asset-preview iframe,
.product-media-picker-card img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.media-asset-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.media-inline-form,
.media-attach-form {
  display: grid;
  gap: 10px;
}

.media-inline-form input[type="text"],
.media-inline-form input[type="url"],
.media-attach-form select {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.media-meta-list {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.media-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.media-meta-list dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.danger-action {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ecc0c9;
  border-radius: 8px;
  background: #fff5f7;
  color: #9d1c38;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.product-media-picker {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.product-media-slot {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fffafd, var(--panel));
}

.product-media-folder-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--rose) 18%, var(--line));
  border-radius: 8px;
  background: #fffafd;
}

.product-media-folder-card strong,
.product-media-folder-card small {
  display: block;
}

.product-media-folder-card small {
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-media-slot-wide {
  grid-column: 1 / -1;
}

.product-media-slot-preview {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--rose) 30%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--rose) 14%, transparent), transparent 38%),
    #fff5f9;
  color: var(--muted);
  font-weight: 900;
}

.product-media-slot-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media-slot strong,
.product-media-slot small {
  display: block;
}

.product-media-slot small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.media-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.media-action-row .primary-action,
.media-action-row .secondary-action {
  min-height: 40px;
  padding-inline: 14px;
}

.product-card-extra-fields {
  margin-top: 16px;
}

.attached-media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.attached-media-list span:not(.muted) {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
}

.attached-gallery-list span:not(.muted) {
  max-width: 240px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 8px;
}

.attached-gallery-list img {
  width: 42px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

.drive-picker-modal[hidden] {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.drive-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drive-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(18 11 16 / 52%);
  backdrop-filter: blur(5px);
}

.drive-picker-dialog {
  width: min(1120px, calc(100% - 36px));
  max-height: calc(100vh - 48px);
  position: relative;
  display: grid;
  gap: 14px;
  margin: 24px auto;
  padding: 18px;
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--rose) 25%, var(--line));
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgb(18 11 16 / 32%);
}

.drive-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.drive-picker-head h3 {
  margin: 4px 0 2px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.drive-picker-head small {
  color: var(--muted);
}

.drive-picker-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.drive-picker-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.drive-picker-status,
.drive-picker-empty {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
  color: var(--muted);
  font-weight: 800;
}

.drive-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.drive-picker-file {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.drive-picker-file:hover {
  border-color: var(--rose);
  box-shadow: 0 14px 34px rgb(185 79 104 / 14%);
}

.drive-picker-file:disabled {
  cursor: default;
  opacity: 0.58;
  box-shadow: none;
}

.drive-picker-file:disabled:hover {
  border-color: var(--line);
}

.drive-picker-file.is-folder {
  background: linear-gradient(145deg, #fffafd, #f4e6ec);
}

.drive-picker-preview {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f0e3e9;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
}

.drive-picker-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drive-picker-file strong {
  min-height: 40px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.drive-picker-file small {
  color: var(--muted);
}

.product-media-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.product-media-picker-card {
  display: grid;
  gap: 9px;
  padding: 10px;
}

.product-media-picker-card img,
.product-media-picker-card > span {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}

.product-media-picker-card > span {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-media-picker-card strong {
  min-height: 36px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.product-video-strip {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fffafd, var(--panel));
}

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

.product-video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-video-card iframe,
.product-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  border: 0;
  background: #21151b;
  object-fit: cover;
}

.product-video-card strong {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
}

.drive-video-card video {
  width: 100%;
  aspect-ratio: 9 / 14;
  border: 0;
  background: #21151b;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .media-asset-grid,
  .product-media-picker-grid,
  .drive-file-grid,
  .drive-picker-grid,
  .product-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-video-reel {
    width: min(100% - 40px, 1180px);
  }

  .storefront-hero.hero-has-video {
    grid-template-columns: 1fr;
  }

  .storefront-hero .top-video-reel {
    padding: 20px 54px;
  }

  .storefront-hero .mirror-video-reel {
    width: min(100%, 720px);
    padding: 0;
  }
}

@media (max-width: 1180px) {
  .analytics-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .storefront-hero.hero-has-video {
    padding-bottom: 28px;
  }

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

  .top-video-reel {
    width: calc(100% - 24px);
    padding: 16px 44px;
  }

  .storefront-hero .top-video-track {
    min-height: clamp(330px, 72vw, 520px);
  }

  .top-video-track {
    min-height: clamp(330px, 78vw, 520px);
    padding: 18px 26%;
  }

  .top-video-card,
  .storefront-hero .top-video-card {
    flex-basis: clamp(190px, 56vw, 260px);
  }

  .top-video-nav {
    width: 38px;
    height: 48px;
    font-size: 30px;
  }

  .top-video-nav.is-prev {
    left: 6px;
  }

  .top-video-nav.is-next {
    right: 6px;
  }

  .mirror-video-reel {
    width: 100%;
    min-height: auto;
    border-radius: 12px;
  }

  .storefront-hero .mirror-video-reel {
    padding: 0;
  }

  .mirror-video-reel .top-video-stage {
    left: 40.31%;
    top: 14.44%;
    width: 19.53%;
    height: 72.36%;
    clip-path: none;
    transform: none;
  }

  .mirror-video-reel .top-video-frame video,
  .mirror-video-reel .top-video-frame iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none;
  }

  .mirror-video-reel .top-video-nav {
    bottom: 5.8%;
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .mirror-video-reel .top-video-nav.is-prev {
    left: 36.2%;
  }

  .mirror-video-reel .top-video-nav.is-next {
    right: 36.2%;
  }

  .product-media-simple-grid,
  .drive-picker-grid {
    grid-template-columns: 1fr;
  }

  .drive-picker-head {
    display: grid;
  }

  .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-stats,
  .admin-form-grid,
  .variant-editor-row,
  .scanner-form {
    grid-template-columns: 1fr;
  }

  .analytics-kpi-grid {
    grid-template-columns: 1fr;
  }

  .analytics-bar-row {
    grid-template-columns: 48px 1fr;
  }

  .analytics-bar-row strong {
    grid-column: 2;
    text-align: left;
  }

  .media-asset-grid,
  .product-media-picker-grid,
  .drive-file-grid,
  .product-video-grid {
    grid-template-columns: 1fr;
  }

  .media-asset-preview {
    min-height: 280px;
  }

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

  .cart-added-actions,
  .cart-added-actions .primary-action,
  .cart-added-actions .secondary-action {
    width: 100%;
  }

  .product-extra-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-show-video {
    min-height: 420px;
  }

  .label-layout-roll {
    width: 100%;
  }

  .category-card-grid,
  .ai-consultant {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
  }

  .ai-character-stage {
    min-height: 260px;
  }

  .ai-chat-form {
    grid-template-columns: 1fr;
  }

  .category-card-stats {
    grid-template-columns: 1fr;
  }
}

.ai-sidekick {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 1200;
  pointer-events: none;
  color: #24181c;
}

.ai-sidekick-person,
.ai-sidekick-speech,
.ai-sidekick-panel {
  pointer-events: auto;
}

.ai-sidekick-person {
  position: relative;
  display: grid;
  place-items: end center;
  width: 128px;
  height: 172px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 18px 28px rgba(64, 29, 40, 0.22));
  transition: transform 180ms ease, filter 180ms ease;
}

.ai-sidekick-person:hover,
.ai-sidekick.is-open .ai-sidekick-person {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 22px 34px rgba(64, 29, 40, 0.3));
}

.ai-sidekick-avatar {
  width: 118px;
  height: 168px;
  object-fit: contain;
  object-position: bottom center;
}

.ai-cloud-dot {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(117, 83, 94, 0.14);
  box-shadow: 0 12px 28px rgba(73, 38, 48, 0.13);
  opacity: 0;
  transform: translateY(10px) scale(0.84);
  animation: ai-cloud-pop 6.8s ease-in-out infinite;
}

.ai-cloud-dot.is-one {
  width: 14px;
  height: 14px;
  right: 88px;
  top: 16px;
  animation-delay: 0.3s;
}

.ai-cloud-dot.is-two {
  width: 24px;
  height: 24px;
  right: 106px;
  top: -8px;
  animation-delay: 0.75s;
}

.ai-cloud-dot.is-three {
  width: 34px;
  height: 34px;
  right: 126px;
  top: -40px;
  animation-delay: 1.2s;
}

.ai-sidekick.is-intro-hidden .ai-cloud-dot,
.ai-sidekick.is-open .ai-cloud-dot {
  display: none;
  animation: none;
}

@keyframes ai-cloud-pop {
  0%, 7% {
    opacity: 0;
    transform: translateY(10px) scale(0.84);
  }

  14%, 72% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  86%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.95);
  }
}

.ai-sidekick-speech {
  position: absolute;
  right: 112px;
  bottom: 126px;
  width: min(330px, calc(100vw - 168px));
  padding: 18px 20px 18px;
  border-radius: 24px 24px 6px 24px;
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.98), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 239, 245, 0.94));
  border: 1px solid rgba(160, 99, 118, 0.2);
  box-shadow: 0 22px 56px rgba(78, 41, 53, 0.18);
  opacity: 0;
  transform: translate(12px, 14px) scale(0.95);
  animation: ai-speech-in 780ms ease 1.5s forwards;
}

.ai-sidekick-speech::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: 18px;
  width: 26px;
  height: 26px;
  background: rgba(255, 248, 251, 0.96);
  border-right: 1px solid rgba(160, 99, 118, 0.18);
  border-bottom: 1px solid rgba(160, 99, 118, 0.18);
  transform: rotate(-38deg);
}

@keyframes ai-speech-in {
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.ai-sidekick-speech .eyebrow,
.ai-sidekick-head .eyebrow {
  margin-bottom: 6px;
  color: #9d344d;
}

.ai-sidekick-speech strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.35;
}

.ai-sidekick-speech button[data-ai-open] {
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent, #be4b6f);
  color: #fff !important;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(178, 68, 101, 0.25);
}

.ai-sidekick-close {
  border: 0;
  background: transparent;
  color: #6e5b61;
  cursor: pointer;
}

.ai-sidekick-speech > .ai-sidekick-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  font-size: 1.3rem;
  line-height: 1;
}

.ai-sidekick-panel {
  position: absolute;
  right: 0;
  bottom: 176px;
  width: min(420px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 210px));
  display: grid;
  grid-template-rows: auto auto minmax(160px, 1fr) auto;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 250, 252, 0.97);
  border: 1px solid rgba(146, 83, 101, 0.22);
  box-shadow: 0 30px 80px rgba(44, 24, 31, 0.25);
  backdrop-filter: blur(16px);
}

.ai-sidekick-panel[hidden] {
  display: none;
}

.ai-sidekick-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  background: linear-gradient(135deg, rgba(255, 234, 241, 0.92), rgba(255, 255, 255, 0.72));
  border-bottom: 1px solid rgba(146, 83, 101, 0.14);
}

.ai-sidekick-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.ai-sidekick-head .ai-sidekick-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 1.5rem;
}

.ai-sidekick-head-actions,
.ai-sidekick-speech-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-sidekick-speech-actions {
  margin-top: 12px;
  flex-wrap: wrap;
}

.ai-sidekick-speech-actions button[data-ai-open] {
  margin-top: 0;
  min-height: 38px;
  padding: 0 16px;
}

.ai-sidekick-speech-actions button,
.ai-sidekick-head-actions button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(146, 83, 101, 0.2);
  border-radius: 999px;
  background: var(--accent, #be4b6f);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.ai-sidekick-speech-actions button.is-soft,
.ai-sidekick-head-actions button:not(.ai-sidekick-close) {
  background: rgba(255, 255, 255, 0.76);
  color: #8f3149;
}

.ai-sidekick-speech-actions button.is-soft {
  min-height: 38px;
  padding: 0 18px;
  transform: translateX(10px);
}

.ai-sidekick-head-actions .ai-sidekick-close {
  width: 36px;
  min-height: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.ai-sidekick-quick {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ai-sidekick-quick button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(146, 83, 101, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #9d344d;
  font-weight: 800;
  cursor: pointer;
}

.ai-sidekick-quick button:hover {
  border-color: var(--accent, #be4b6f);
  color: var(--accent, #be4b6f);
}

.ai-sidekick-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 170px;
  padding: 14px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 231, 239, 0.8), transparent 36%),
    rgba(255, 255, 255, 0.4);
}

.ai-sidekick-message {
  max-width: 88%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.42;
  box-shadow: 0 10px 24px rgba(66, 35, 45, 0.08);
}

.ai-sidekick-message p {
  margin: 0;
}

.ai-sidekick-message.is-assistant {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: #fff;
}

.ai-sidekick-message.is-user {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: #4a202c;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.ai-sidekick-message.has-actions {
  display: grid;
  gap: 10px;
}

.ai-sidekick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ai-sidekick-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(146, 83, 101, 0.2);
  border-radius: 999px;
  background: #fff7fa;
  color: #9d344d;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.ai-sidekick-actions a.is-primary {
  border-color: var(--accent, #be4b6f);
  background: var(--accent, #be4b6f);
  color: #fff;
}

.ai-sidekick-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(106, 54, 70, 0.12);
}

.ai-product-list {
  display: grid;
  gap: 10px;
}

.ai-product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(146, 83, 101, 0.16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(61, 34, 44, 0.08);
}

.ai-product-media {
  display: grid;
  min-height: 112px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff2f6, #ead0da);
  color: #24181c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.ai-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-product-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.ai-product-copy > a {
  color: #24181c;
  font-weight: 900;
  line-height: 1.18;
  text-decoration: none;
}

.ai-product-copy > span {
  color: #7b676f;
  font-size: 0.86rem;
}

.ai-product-copy > strong {
  color: #df3d32;
  font-size: 1.1rem;
}

.ai-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.ai-product-actions a,
.ai-product-actions button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(146, 83, 101, 0.22);
  border-radius: 999px;
  background: #fff7fa;
  color: #9d344d;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.ai-product-actions button {
  border-color: #27a35c;
  background: #24a65a;
  color: #fff;
}

.ai-sidekick-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(146, 83, 101, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.ai-sidekick-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(66, 43, 50, 0.22);
  border-radius: 999px;
  padding: 0 15px;
  font: inherit;
  background: #fff;
}

.ai-sidekick-form input:focus {
  outline: 2px solid rgba(190, 75, 111, 0.24);
  border-color: var(--accent, #be4b6f);
}

.ai-sidekick-form button {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent, #be4b6f);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 720px) {
  .ai-sidekick {
    right: 10px;
    bottom: 10px;
  }

  .ai-sidekick-person {
    width: 92px;
    height: 124px;
  }

  .ai-sidekick-avatar {
    width: 86px;
    height: 122px;
  }

  .ai-cloud-dot.is-one {
    right: 66px;
    top: 8px;
  }

  .ai-cloud-dot.is-two {
    right: 82px;
    top: -16px;
  }

  .ai-cloud-dot.is-three {
    right: 98px;
    top: -46px;
  }

  .ai-sidekick-speech {
    right: 78px;
    bottom: 92px;
    width: min(270px, calc(100vw - 104px));
    padding: 14px 16px;
    border-radius: 20px 20px 6px 20px;
  }

  .ai-sidekick-speech strong {
    font-size: 0.94rem;
  }

  .ai-sidekick-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 132px;
    width: auto;
    max-height: calc(100vh - 152px);
    border-radius: 20px;
  }

  .ai-sidekick-form {
    grid-template-columns: 1fr;
  }

  .ai-sidekick-form button {
    width: 100%;
  }

  .ai-product-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .ai-product-media {
    min-height: 96px;
  }

  .ai-product-actions a,
  .ai-product-actions button {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.82rem;
  }
}

@media print {
  @page {
    size: 58mm 40mm;
    margin: 0;
  }

  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;
    padding: 0;
  }

  .label-print-sheet.label-layout-roll {
    width: 58mm;
    display: block;
  }

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

  .label-layout-roll .barcode-label {
    width: 58mm;
    min-height: 40mm;
    margin: 0;
    page-break-after: always;
  }
}
