:root {
  color-scheme: light;
  --ink: #101114;
  --muted: #696f78;
  --paper: #f7f5f1;
  --white: #ffffff;
  --line: rgba(16, 17, 20, 0.12);
  --accent: #0b6f74;
  --accent-2: #d4482a;
  --shadow: 0 28px 80px rgba(16, 17, 20, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body > main {
  flex: 1 0 auto;
}

.public-hold-screen {
  display: none;
}

body.public-hold {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--offline-bg, #000);
}

body.public-hold .public-hold-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 100svh;
  padding: 24px;
  background: var(--offline-bg, #000);
  text-align: center;
}

body.public-hold .public-hold-screen img {
  display: block;
  width: min(300px, 58vw);
  max-height: min(280px, 58svh);
  height: auto;
  object-fit: contain;
  margin: auto;
}

body.public-hold .public-hold-screen p {
  margin: 0;
  max-width: min(640px, calc(100vw - 32px));
  color: var(--white);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 800;
  text-align: center;
}

body.public-hold .site-header,
body.public-hold main,
body.public-hold .cart-drawer,
body.public-hold .product-dialog {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  --header-logo-height: clamp(30px, 5.8vw, 42px);
  --header-icon-size: var(--header-logo-height);
  --header-flag-size: var(--header-logo-height);
  --header-cart-icon-size: var(--header-icon-size);
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: var(--header-bg-normal, transparent);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.public-page-no-cover .site-header {
  background: var(--header-bg-sticky, rgba(0, 0, 0, 0.9));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(16, 17, 20, 0.18);
  backdrop-filter: blur(18px);
}

.product-loading .site-header,
.product-page-no-cover .site-header,
body:has([data-product-page]) .site-header {
  background: var(--header-bg-sticky, rgba(0, 0, 0, 0.9));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(16, 17, 20, 0.18);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: var(--header-bg-sticky, rgba(0, 0, 0, 0.9));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(16, 17, 20, 0.18);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-actions,
.language-switch,
.cart-button,
.category-tabs,
.cart-head,
.cart-total {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-height: var(--header-logo-height);
  align-self: center;
  text-decoration: none;
  font-weight: 750;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(180px, 28vw);
  height: var(--header-logo-height);
  object-fit: contain;
}

.main-nav {
  align-self: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
}

.main-nav a,
.main-nav span.main-nav-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  isolation: isolate;
  color: var(--menu-link-color, currentColor);
  font-size: var(--menu-link-size, 0.92rem);
  font-weight: var(--menu-link-weight, 650);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.main-nav .main-nav-link.menu-has-pill {
  padding: 0 12px;
}

.main-nav .main-nav-link.menu-has-pill::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px 0;
  border-radius: var(--menu-pill-radius, 8px);
  background: var(--menu-pill-bg, rgba(255, 255, 255, 0.16));
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a.is-current {
  opacity: 1;
}

.main-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--menu-underline-color, currentColor);
  transform: scaleX(0.82);
  opacity: 0.92;
}

.main-nav a.menu-effect-underline::after,
.main-nav span.menu-effect-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--menu-underline-color, currentColor);
  transform: scaleX(0.68);
  opacity: 0.72;
}

.main-nav a.menu-effect-shadow,
.main-nav span.menu-effect-shadow {
  filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.48));
}

.main-nav a.menu-effect-glow,
.main-nav span.menu-effect-glow {
  text-shadow: 0 0 12px color-mix(in srgb, currentColor 72%, transparent);
}

.mobile-menu-toggle {
  display: none;
  place-items: center;
  width: var(--header-icon-size);
  height: var(--header-icon-size);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.mobile-menu-toggle .material-icons {
  font-size: calc(var(--header-icon-size) * 0.82);
  line-height: 1;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: stretch;
  background: rgba(0, 0, 0, 0.94);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 78px 28px 42px;
}

.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-list {
  display: grid;
  gap: clamp(18px, 4svh, 34px);
  width: min(520px, 100%);
  text-align: center;
}

.mobile-menu-list a,
.mobile-menu-list span.main-nav-link {
  position: relative;
  justify-self: center;
  isolation: isolate;
  color: var(--menu-link-color, var(--white));
  font-size: clamp(1.55rem, 7vw, 3.2rem);
  font-weight: var(--menu-link-weight, 800);
  line-height: 1.08;
  text-decoration: none;
  opacity: 0.92;
}

.mobile-menu-list .main-nav-link.menu-has-pill {
  padding: 8px 18px;
}

.mobile-menu-list .main-nav-link.menu-has-pill::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 0;
  border-radius: var(--menu-pill-radius, 8px);
  background: var(--menu-pill-bg, rgba(255, 255, 255, 0.16));
}

.mobile-menu-list a.is-current::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--menu-underline-color, currentColor);
}

body.mobile-menu-open {
  overflow: hidden;
}

.cart-button,
.icon-action,
.language-switch button,
.category-tabs button,
.checkout-button,
.primary-action,
.secondary-action,
.product-card button,
.dialog-close,
.cart-head button {
  border: 0;
  cursor: pointer;
}

.header-actions {
  align-self: center;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.language-switch {
  align-items: center;
  gap: 6px;
  min-height: calc(var(--header-flag-size) + 4px);
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.language-switch button {
  display: grid;
  place-items: center;
  width: var(--header-flag-size);
  min-height: var(--header-flag-size);
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: calc(var(--header-flag-size) * 0.52);
  font-weight: 760;
  line-height: 1;
}

.language-switch button.active {
  background: var(--white);
  color: var(--ink);
}

.site-header.scrolled .language-switch,
.site-header.scrolled .cart-button {
  background: rgba(255, 255, 255, 0.14);
}

.cart-button {
  position: relative;
  width: var(--header-icon-size);
  height: var(--header-icon-size);
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.site-header.scrolled .cart-button {
  background: transparent;
}

.icon-action {
  position: relative;
  display: inline-flex;
  width: var(--header-icon-size);
  height: var(--header-icon-size);
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-size: calc(var(--header-icon-size) * 0.46);
  font-weight: 800;
}

.icon-action .material-icons {
  font-size: var(--header-icon-size);
  line-height: 1;
}

.icon-action strong,
.cart-button strong {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: max(18px, calc(var(--header-icon-size) * 0.42));
  height: max(18px, calc(var(--header-icon-size) * 0.42));
  border-radius: 50%;
  padding: 0 5px;
  background: #ff3b30;
  color: var(--white);
  font-size: max(10px, calc(var(--header-icon-size) * 0.16));
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
}

.cart-button .material-icons {
  font-size: var(--header-cart-icon-size);
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88svh, var(--home-hero-max-height, 88svh));
  max-height: var(--home-hero-max-height, none);
  display: grid;
  align-items: end;
  padding: 96px clamp(22px, 6vw, 76px) 54px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.86), rgba(7, 8, 9, 0.18) 58%, rgba(7, 8, 9, 0.34)),
    url("assets/images/radio-workbench.png") center / cover;
  background-size: cover, var(--home-cover-size, cover);
  background-repeat: no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  min-width: 0;
}

.hero.cover-adaptive-height,
.home-layout-hero.cover-adaptive-height {
  display: grid;
  align-items: center;
  min-height: 0;
  max-height: var(--home-hero-max-height, none);
  overflow: hidden;
  padding: 0;
  background: none !important;
}

.hero.cover-adaptive-height::after,
.home-layout-hero.cover-adaptive-height::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 9, 0.86), rgba(7, 8, 9, 0.18) 58%, rgba(7, 8, 9, 0.34));
}

.home-cover-image {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: fill;
  object-position: center;
}

.cover-adaptive-height .hero-copy {
  position: absolute;
  left: clamp(22px, 6vw, 76px);
  right: clamp(22px, 6vw, 76px);
  bottom: 54px;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.story-copy h2,
.shop-heading h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.1rem, 7vw, var(--banner-font-size, 5.2rem));
  line-height: 1.01;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 620px;
  font-size: clamp(.96rem, 2.4vw, var(--banner-font-size, 1.22rem));
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.story-copy a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 720;
}

.primary-action {
  background: var(--white);
  color: var(--ink);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.home-sectors,
.shop-shell {
  padding: 96px clamp(22px, 6vw, 76px);
}

.home-sectors {
  display: grid;
  gap: 46px;
  padding-top: 34px;
  padding-bottom: 46px;
  background: var(--white);
}

.home-sectors.is-page-layout {
  padding-top: 0;
}

.public-page-no-cover .home-sectors.is-page-layout {
  padding-top: clamp(92px, 11vw, 118px);
}

.empty-page {
  min-height: 52vh;
  display: grid;
  align-content: center;
  gap: 12px;
  color: var(--ink);
}

.empty-page p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-page h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  line-height: 0.96;
}

.empty-page span {
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.home-layout-hero {
  position: relative;
  overflow: hidden;
  min-height: min(88svh, var(--home-hero-max-height, 88svh));
  max-height: var(--home-hero-max-height, none);
  display: grid;
  align-items: end;
  margin-inline: calc(-1 * clamp(22px, 6vw, 76px));
  padding: 96px clamp(22px, 6vw, 76px) 54px;
  color: var(--white);
  background-position: center;
  background-size: cover, var(--home-cover-size, cover);
  background-repeat: no-repeat;
}

.home-layout-hero .hero-copy {
  min-width: 0;
}

.home-layout-hero h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.1rem, 7vw, var(--banner-font-size, 5.2rem));
  line-height: 1.01;
  overflow-wrap: anywhere;
}

.home-layout-hero p {
  max-width: 620px;
  font-size: clamp(.96rem, 2.4vw, var(--banner-font-size, 1.22rem));
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-layout-hero .eyebrow {
  font-size: clamp(.72rem, 1.8vw, var(--banner-font-size, .82rem));
}

.home-layout-hero .hero-actions a {
  font-size: clamp(.82rem, 2.4vw, var(--banner-font-size, .95rem));
  white-space: normal;
  text-align: center;
}

.shop-heading h2 {
  font-size: clamp(2.3rem, 6vw, 5.2rem);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(var(--showcase-columns, 4), minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.home-sector-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.home-sector-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  line-height: 1.05;
}

.home-sector-rule {
  width: 100%;
  height: var(--sector-rule-thickness, 1px);
  background: var(--sector-rule-color, var(--ink));
}

.sector-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  align-content: start;
  height: 100%;
  min-height: 100%;
  overflow: visible;
  border: var(--sector-card-border-width, 0) solid var(--sector-card-border, transparent);
  border-radius: var(--sector-card-radius, 0);
  padding: var(--sector-card-padding, 0);
  background: var(--sector-card-bg, transparent);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

button.sector-card {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.sector-card.is-minimal {
  grid-template-rows: auto auto auto;
  align-content: start;
  justify-items: center;
}

.sector-card.is-clickable {
  cursor: pointer;
}

.sector-card-price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--sector-price-bg, #ff6d00);
  color: #fff;
  font-size: .9rem;
  line-height: 1;
}

.sector-card.is-disabled {
  opacity: .75;
  filter: grayscale(1);
  pointer-events: none;
}

.sector-card.is-disabled .sector-card-caption {
  color: #9b9b9b;
}

.sector-card-reserved {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(16, 17, 20, .28);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, .72);
  color: #101114;
  font-size: .82rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .04em;
}

.sector-card-price del {
  position: relative;
  opacity: .72;
  font-size: .78rem;
  text-decoration: none;
}

.sector-card-price del::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: rotate(-12deg);
  transform-origin: center;
}

.sector-card-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(16, 17, 20, .08);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.sector-card-commerce {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: auto;
  padding-top: 12px;
}

.sector-card.is-minimal .sector-card-commerce {
  margin-top: 0;
  padding-top: 10px;
}

.sector-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  align-self: end;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
}

.sector-card-commerce + .sector-card-actions {
  margin-top: 0;
  padding-top: 8px;
}

.sector-card-actions a,
.sector-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--sector-action-bg, var(--ink));
  color: var(--sector-action-color, #fff);
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.sector-card-actions button {
  background: var(--sector-action-bg, var(--accent, #0b6f74));
  color: var(--sector-action-color, #fff);
}

.showcase-tile-modal {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(16, 17, 20, .72);
}

.showcase-tile-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(280px, 1.05fr);
  gap: clamp(22px, 4vw, 46px);
  width: min(980px, 100%);
  max-height: min(820px, 92vh);
  overflow: auto;
  border-radius: 22px;
  padding: clamp(18px, 3vw, 34px);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.showcase-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ece8df;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

.showcase-modal-media {
  display: grid;
  align-content: start;
  min-width: 0;
}

.showcase-modal-media .product-card-media,
.showcase-modal-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #f4f2ed;
  overflow: hidden;
}

.showcase-modal-media .product-card-media img,
.showcase-modal-image {
  object-fit: cover;
  object-position: center;
}

.showcase-modal-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  min-width: 0;
  padding-right: 18px;
}

.showcase-modal-copy .eyebrow {
  margin: 0;
}

.showcase-modal-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.showcase-modal-title-image img {
  max-width: min(100%, 360px);
  max-height: 96px;
  object-fit: contain;
}

.showcase-modal-description {
  width: 100%;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.showcase-modal-description p {
  margin: 0 0 .8em;
}

.showcase-modal-commerce,
.showcase-modal-actions {
  width: min(100%, 360px);
  justify-self: start;
}

.showcase-modal-actions {
  margin-top: 2px;
}

.sector-card.has-no-image {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.sector-card:hover,
.sector-card:focus-visible {
  box-shadow: none;
  transform: translateY(-2px);
  outline: none;
}

.sector-card-media-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(520px, 64vh);
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}

.sector-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.sector-card.is-minimal .sector-card-media-frame,
.sector-card.is-minimal > .product-card-media {
  border-radius: 24px;
}

.sector-card.is-minimal .sector-card-media-frame {
  background: #f4f2ed;
}

.sector-card.is-minimal .sector-card-image {
  object-fit: cover;
  object-position: center;
}

.sector-card > .product-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(520px, 64vh);
  border-radius: 16px;
}

.sector-card.is-minimal > .product-card-media {
  background: #f4f2ed;
}

.sector-card.is-minimal > .product-card-media img {
  object-fit: cover;
  object-position: center;
}

.sector-card-caption {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px 8px 0;
  font-weight: 850;
}

.sector-card.is-minimal .sector-card-caption {
  min-height: auto;
  padding-top: 12px;
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  line-height: 1.08;
  font-weight: 950;
}

.sector-card-caption.has-image {
  min-height: 54px;
  padding: 8px 0 0;
}

.sector-card-caption img {
  width: min(100%, 260px);
  max-height: 58px;
  object-fit: contain;
}

.sector-card-badge {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 2px;
  border-radius: 7px;
  padding: 0 12px;
  background: var(--badge-bg, var(--accent));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
}

.sector-card-description {
  max-width: 34ch;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.42;
  white-space: pre-line;
}

.sector-card-description:last-of-type {
  margin-bottom: auto;
}

.sector-card-description strong {
  font-weight: 900;
}

.sector-card-description u {
  text-underline-offset: 3px;
}

.story-panel {
  --progress: 0;
  --theme-bg: #111317;
  --theme-text: #ffffff;
  --theme-accent: var(--accent);
  --theme-decor: var(--accent-2);
  position: relative;
  min-height: 116svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: clip;
  padding: 8svh clamp(22px, 6vw, 76px);
  color: var(--theme-text);
  background: var(--theme-bg);
}

.story-panel-light {
  color: var(--ink);
  background: #ede9e1;
}

.story-media {
  position: absolute;
  inset: 5svh clamp(12px, 3vw, 34px);
  border-radius: 8px;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 56%, rgba(0, 0, 0, 0.26)),
    var(--image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  transform: scale(calc(0.92 + var(--progress) * 0.13)) translateY(calc((0.5 - var(--progress)) * 42px));
  opacity: calc(0.54 + var(--progress) * 0.46);
}

.story-panel-light .story-media {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.74) 68%),
    var(--image);
}

.story-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  transform: translateY(calc((1 - var(--progress)) * 60px));
  opacity: clamp(0.12, var(--progress), 1);
}

.story-panel[data-align="right"] .story-copy {
  justify-self: end;
}

.story-copy h2 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

.story-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.62;
}

.story-panel-light .story-copy p {
  color: #4f535a;
}

.story-copy a {
  margin-top: 14px;
  background: var(--theme-accent, var(--accent));
  color: var(--white);
}

.shop-shell {
  background: var(--white);
}

.category-tabs.is-hidden {
  display: none;
}

.shop-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.category-tabs {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f2ed;
}

.category-tabs button {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.category-tabs button.active {
  background: var(--ink);
  color: var(--white);
}

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

.product-card {
  --theme-bg: var(--white);
  --theme-text: var(--ink);
  --theme-accent: var(--accent);
  --theme-decor: var(--accent-2);
  display: grid;
  grid-template-rows: auto 1fr;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  color: var(--theme-text);
  cursor: pointer;
  position: relative;
  text-align: center;
  transition: transform 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.product-card.is-demo {
  cursor: default;
}

.product-card.is-demo:hover,
.product-card.is-demo:focus-visible {
  transform: none;
}

.product-status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--theme-accent, var(--accent));
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(16, 17, 20, 0.2);
}

.product-status-pill.is-demo {
  background: #9b5a0e;
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18;
  overflow: hidden;
  background: transparent;
}

.product-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation-delay: calc(var(--slide-index) * 4s);
  transition: opacity 420ms ease;
}

.product-card-media img.active,
.product-card-media img:first-child:last-child,
.product-card-media img:only-child {
  opacity: 1;
}

.product-card-media.is-cut img {
  transition: none;
}

.product-card-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.42);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.product-card-dots button {
  width: 18px;
  height: 18px;
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  background: transparent;
}

.product-card-dots button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.68);
}

.product-card-dots button:hover,
.product-card-dots button:focus-visible,
.product-card-dots button.active {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.product-card-dots button:hover::before,
.product-card-dots button:focus-visible::before,
.product-card-dots button.active::before {
  background: var(--white);
}

@keyframes product-card-carousel {
  0%,
  28% {
    opacity: 1;
  }

  36%,
  100% {
    opacity: 0;
  }
}

.product-card-body {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 4px 0;
}

.product-card h3 {
  margin: 0;
  max-width: 100%;
  font-size: 1.08rem;
  line-height: 1.22;
  font-weight: 850;
}

.product-card p {
  margin: 0;
  max-width: 34ch;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  line-height: 1.38;
  font-size: .92rem;
}

.product-card-price {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--theme-accent, var(--accent));
  color: var(--white);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(16, 17, 20, .16);
}

.product-card-title-image {
  display: grid;
  place-items: center;
  min-height: 44px;
}

.product-card-title-image img {
  width: min(100%, 260px);
  max-height: 58px;
  object-fit: contain;
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--badge-bg, var(--theme-accent, var(--accent)));
  color: var(--white);
  font-size: .82rem;
  font-weight: 850;
}

.product-card button {
  min-height: 42px;
  border-radius: 6px;
  background: #ece8df;
  color: var(--ink);
}

.product-card button:last-child {
  background: var(--theme-accent, var(--accent));
  color: var(--white);
}

@media (max-width: 1240px) {
  .sector-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }

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

@media (max-width: 980px) {
  .hero,
  .home-layout-hero {
    min-height: min(76svh, var(--home-hero-max-height, 76svh));
    padding: 84px clamp(18px, 5vw, 46px) 42px;
  }

  .hero h1,
  .home-layout-hero h2 {
    font-size: clamp(1.9rem, 8.5vw, min(var(--banner-font-size, 4rem), 4rem));
    line-height: 1.05;
  }

  .hero p,
  .home-layout-hero p {
    font-size: clamp(.95rem, 2.8vw, min(var(--banner-font-size, 1.1rem), 1.1rem));
  }

  .cover-adaptive-height .hero-copy {
    left: clamp(18px, 5vw, 46px);
    right: clamp(18px, 5vw, 46px);
    bottom: 42px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  }
}

@media (max-width: 620px) {
  .hero,
  .home-layout-hero {
    min-height: min(68svh, var(--home-hero-max-height, 68svh));
    margin-inline: calc(-1 * clamp(22px, 6vw, 76px));
    padding: 78px 18px 34px;
  }

  .hero h1,
  .home-layout-hero h2 {
    max-width: 100%;
    font-size: clamp(1.65rem, 10vw, min(var(--banner-font-size, 2.55rem), 2.55rem));
  }

  .cover-adaptive-height .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 34px;
  }

  .hero p,
  .home-layout-hero p {
    max-width: 100%;
    font-size: clamp(.92rem, 4vw, min(var(--banner-font-size, 1rem), 1rem));
  }

  .hero .hero-actions,
  .home-layout-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }

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

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  justify-items: end;
  background: rgba(16, 17, 20, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(420px, 100%);
  min-height: 100%;
  max-height: 100svh;
  overflow: auto;
  padding: 24px;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.message-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-content: start;
  background: rgba(16, 17, 20, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.message-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.message-panel {
  width: min(420px, 92vw);
  min-height: 100%;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 50px;
  overflow-y: auto;
  background: var(--white);
  color: var(--ink);
  transform: translateX(-100%);
  transition: transform 220ms ease;
  box-shadow: 18px 0 40px rgba(16, 17, 20, 0.18);
}

.message-drawer.open .message-panel {
  transform: translateX(0);
}

.site-admin-chat-layout {
  display: grid;
  gap: 10px;
}

.site-admin-message-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: #eef4fb;
}

.site-admin-archive-layout .site-admin-thread {
  background: #f3f1ec;
  border-color: #d4cec3;
  color: #4d463d;
}

.site-admin-archive-restore {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #dff5e6;
  color: #176537;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.site-admin-message-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #12375f;
  font-weight: 950;
  cursor: pointer;
}

.site-admin-message-tabs button.is-active {
  background: #007aff;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 122, 255, .22);
}

.site-admin-message-tabs span {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: .72rem;
}

.site-admin-bug-layout {
  display: grid;
  gap: 10px;
}

.site-admin-bug-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #bad8ff;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #e7f2ff 100%);
}

.site-admin-bug-card.is-resolved {
  opacity: .72;
  background: #f4f7fa;
}

.site-admin-bug-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.site-admin-bug-card-head span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-admin-bug-card-head b,
.site-admin-bug-card-head small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-admin-bug-card p {
  margin: 0;
  line-height: 1.48;
}

.site-admin-thread-card {
  border: 0;
}

.site-admin-thread-card summary {
  list-style: none;
}

.site-admin-thread-card summary::-webkit-details-marker {
  display: none;
}

.site-admin-thread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #d6e7ff;
  border-radius: 14px;
  padding: 12px;
  background: #f7fbff;
  color: #10365f;
  text-align: left;
  cursor: pointer;
}

.site-admin-thread.is-unread:not(.active) {
  background: #e7f2ff;
  border-color: #5aa9ff;
  box-shadow: inset 4px 0 0 #007aff;
}

.site-admin-thread.active {
  background: #007aff;
  border-color: #007aff;
  color: #fff;
}

.site-admin-thread-main,
.site-admin-thread-main > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.site-admin-thread-main {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.site-admin-thread-main b,
.site-admin-thread-main small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-admin-thread-delete {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #cfe2ff;
  color: #0b315f;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.site-admin-thread-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-admin-thread-star {
  display: grid;
  width: 22px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #946600;
  font-size: 1rem;
  cursor: pointer;
}

.site-admin-thread-star.is-starred {
  background: #fff0a8;
  color: #624400;
  box-shadow: none;
}

.site-admin-thread-stars {
  display: flex;
  gap: 1px;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.site-admin-thread-card.account-kind-activated > .site-admin-thread {
  border-color: #72c993;
  background: linear-gradient(135deg, #e9fff0 0%, #ccf3da 100%);
  color: #124f2a;
}

.site-admin-thread-card.account-kind-activated[open] > .site-admin-thread {
  border-radius: 14px 14px 0 0;
}

.site-admin-thread-card.account-kind-registered > .site-admin-thread {
  border-color: #e8c35d;
  background: linear-gradient(135deg, #fff9e6 0%, #ffedb5 100%);
  color: #654b00;
}

.site-admin-account-kind {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15, 91, 49, .1);
  color: inherit;
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.chat-account-kind-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.chat-account-kind-legend span,
.admin-account-kind-legend span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-account-kind-legend .is-visitor,
.admin-account-kind-legend .is-visitor { background: #dbeafe; color: #1d4f91; }
.chat-account-kind-legend .is-registered,
.admin-account-kind-legend .is-registered { background: #ffe59b; color: #725300; }
.chat-account-kind-legend .is-activated,
.admin-account-kind-legend .is-activated { background: #bdecca; color: #145c2e; }

.site-admin-thread-card.account-kind-visitor .site-admin-account-kind {
  background: #e3eefc;
  color: #315b86;
}

.site-admin-thread-card.account-kind-registered .site-admin-account-kind {
  background: #ffe59b;
  color: #725300;
}

.site-admin-thread-card.account-kind-activated .site-admin-account-kind {
  background: #bdecca;
  color: #145c2e;
}

.site-admin-thread em {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 900;
}

.site-admin-thread small,
.site-admin-conversation-head small {
  color: #4f6d8d;
  font-weight: 800;
}

.site-admin-thread.active small {
  color: rgba(255, 255, 255, 0.78);
}

.site-admin-conversation {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid #d6e7ff;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #f9fcff 0%, #eef6ff 100%);
}

.site-admin-conversation-head {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d6e7ff;
  color: #10365f;
}

.site-client-chat-actions,
.site-admin-chat-actions {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.chat-attachment-preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #b9d7f4;
  border-radius: 10px;
  background: #f2f8ff;
  color: #17324d;
}

.chat-attachment-preview.is-uploading {
  opacity: .72;
  border-color: #0084ff;
}

.chat-attachment-preview img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}

.chat-attachment-preview span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.chat-attachment-preview strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment-preview small {
  color: #52708f;
}

.chat-attachment-preview button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #dcecff;
  color: #17324d;
  font-size: 1.25rem;
  cursor: pointer;
}

.chat-image-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 54px 20px 20px;
  background: rgba(5, 13, 24, .88);
}

.chat-image-modal.open {
  display: grid;
}

.chat-image-modal img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}

.chat-image-modal > button {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #172033;
  font-size: 1.7rem;
  cursor: pointer;
}

.message-edited {
  font-style: italic;
  opacity: .78;
}

.is-editing-message textarea {
  min-height: 180px;
  border-color: #0084ff;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, .12);
}

.message-edit-cancel {
  justify-self: start;
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  background: #e7edf4;
  color: #17324d;
  font-weight: 800;
  cursor: pointer;
}

.site-client-attach-button,
.site-admin-attach-button {
  display: grid;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #0084ff;
  color: #fff;
  cursor: pointer;
}

.site-client-attach-button input,
.site-admin-attach-button input {
  display: none;
}

.site-client-attach-button .material-icons,
.site-admin-attach-button .material-icons {
  font-size: 2rem;
  transform: rotate(-35deg);
}

.site-client-chat-actions .checkout-button,
.site-admin-chat-actions .checkout-button {
  width: 100%;
  min-height: 58px;
  font-weight: 900;
}

.account-message-list,
.account-message-form {
  display: grid;
  gap: 10px;
}

.account-message-list {
  min-height: 0;
}

.chat-load-previous {
  justify-self: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid #b7cce3;
  border-radius: 999px;
  background: #f4f8fc;
  color: #17436f;
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}

.chat-load-previous:disabled {
  opacity: .55;
  cursor: wait;
}

.account-message-form {
  margin-top: 8px;
}

.guest-message-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guest-message-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.guest-message-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
}

@media (max-width: 520px) {
  .guest-message-fields {
    grid-template-columns: 1fr;
  }
}

.account-message-form textarea {
  min-height: 126px;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fffefa;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.account-message {
  position: relative;
  display: grid;
  gap: 8px;
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 18px;
  background: #e5e5ea;
  color: #111;
  box-shadow: 0 1px 1px rgba(20, 30, 45, 0.08);
}

.message-bubble-controls {
  position: absolute;
  top: 6px;
  right: 7px;
  display: flex;
  gap: 4px;
}

.account-message .message-bubble-controls button {
  display: grid;
  width: 23px;
  min-height: 23px;
  padding: 0;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #25384d;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.account-message .message-bubble-controls .message-translate-button {
  width: auto;
  padding-inline: 8px;
  font-size: .68rem;
}

.account-message > small:first-of-type {
  padding-right: 105px;
}

.account-message.is-collapsed {
  min-width: 155px;
  padding-block: 9px;
}

.account-message.is-collapsed > :not(.message-bubble-controls):not(small:first-of-type) {
  display: none;
}

.account-message.is-user {
  justify-self: end;
  background: #007aff;
  color: var(--white);
}

.account-message p {
  margin: 0;
  line-height: 1.45;
}

.message-translation {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
}

.message-translation summary {
  cursor: pointer;
  color: #0b6f74;
  font-weight: 850;
  list-style: none;
}

.message-translation summary::-webkit-details-marker {
  display: none;
}

.message-translation p {
  padding: 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.account-message.is-user .message-translation summary {
  color: rgba(255, 255, 255, 0.86);
}

.account-message small {
  color: var(--muted);
  font-size: 0.78rem;
}

.account-message.is-user small {
  color: rgba(255, 255, 255, 0.72);
}

.account-message img {
  max-width: min(260px, 100%);
  border-radius: 8px;
}

.message-product-preview {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(300px, 100%);
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(20, 30, 45, 0.08);
}

.message-product-preview img,
.message-product-preview .material-icons {
  width: 68px;
  height: 68px;
  border-radius: 9px;
  object-fit: cover;
  background: #f0eee8;
}

.message-product-preview .material-icons {
  display: grid;
  place-items: center;
  color: #3c4b75;
  font-size: 28px;
}

.message-product-preview span:not(.material-icons) {
  display: grid;
  gap: 3px;
  overflow: hidden;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.18;
}

.message-product-preview strong,
.message-product-preview em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-product-preview strong {
  font: inherit;
}

.message-product-preview em {
  font-style: normal;
  font-weight: 750;
}

.account-message.is-user .message-product-preview {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.account-message button {
  justify-self: start;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: #ece8df;
  color: var(--ink);
  cursor: pointer;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 7px;
  padding: 0 12px;
  background: #ece8df;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.file-button input {
  display: none;
}

.account-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-status.is-error {
  color: #782817;
}

.account-status.is-success {
  color: #126b3a;
}

.cart-head,
.cart-total {
  justify-content: space-between;
}

.cart-head button,
.dialog-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ece8df;
}

.cart-item {
  display: grid;
  grid-template-columns: 58px 1fr auto 32px;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: contain;
  background: #ece8df;
}

.cart-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cart-remove {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ece8df;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
}

.cart-total {
  margin: 22px 0;
  font-size: 1.2rem;
}

.cart-breakdown {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.cart-breakdown strong {
  color: var(--ink);
}

.cart-options-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-options-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-options-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.cart-options-panel input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
}

.cart-option-list {
  display: grid;
  gap: 8px;
}

.cart-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.cart-option.active {
  border-color: var(--ink);
}

.cart-option span,
.cart-option small {
  display: grid;
  gap: 3px;
}

.cart-option small,
.cart-option-empty {
  color: var(--muted);
  line-height: 1.35;
}

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 760;
  text-align: center;
  text-decoration: none;
}

.cart-panel > .checkout-button {
  margin-top: 60px;
}

.site-footer {
  position: relative;
  height: var(--footer-height, 260px);
  min-height: 40px;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--footer-color, #ffffff);
  padding: clamp(6px, 2vw, 18px) clamp(18px, 5vw, 64px);
  --footer-icon-safe-size: calc(var(--footer-height, 260px) * var(--footer-icon-safe-factor, .8));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--footer-bg, #101114);
  opacity: var(--footer-alpha, 1);
  pointer-events: none;
}

.site-footer-grid {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(var(--footer-columns, 3), minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.site-footer-block {
  display: grid;
  align-content: center;
  justify-items: var(--block-align, center);
  gap: clamp(4px, 1vw, 10px);
  min-width: 0;
  min-height: 0;
  padding: clamp(4px, 1.4vw, 12px);
  border-radius: 8px;
  background: var(--block-bg, transparent);
  text-align: var(--block-align, center);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

a.site-footer-block {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-footer[data-footer-icon-frame="off"] .site-footer-block {
  background: transparent;
  box-shadow: none;
}

.site-footer-block img {
  max-width: min(180px, 100%);
  max-height: min(120px, var(--footer-icon-safe-size));
  object-fit: contain;
}

.site-footer-block .material-icons {
  justify-self: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: min(var(--footer-icon-size, var(--block-icon-size, 30px)), var(--footer-icon-safe-size));
  color: var(--block-title, currentColor);
}

.site-footer[data-footer-icon-frame="on"] .site-footer-block .material-icons {
  display: inline-grid;
  place-items: center;
  padding: var(--footer-icon-frame-padding, 8px);
  border-radius: var(--footer-icon-frame-radius, 12px);
  background: var(--footer-icon-frame-bg, #ffffff);
}

.site-footer[data-footer-icon-frame="off"][data-footer-content="all"] .site-footer-block img {
  display: block;
}

.site-footer[data-footer-icon-align="left"] .site-footer-block .material-icons {
  justify-self: start;
}

.site-footer[data-footer-icon-align="right"] .site-footer-block .material-icons {
  justify-self: end;
}

.site-footer[data-footer-content="icon"] .site-footer-block h2,
.site-footer[data-footer-content="icon"] .site-footer-block p,
.site-footer[data-footer-content="icon"] .site-footer-block .site-footer-link-label {
  display: none;
}

.site-footer[data-footer-content="icon"] .site-footer-block.has-no-visual h2,
.site-footer[data-footer-content="icon"] .site-footer-block.has-no-visual p,
.site-footer[data-footer-content="icon"] .site-footer-block.has-no-visual .site-footer-link-label {
  display: block;
}

.site-footer[data-footer-content="text"] .site-footer-block img,
.site-footer[data-footer-content="text"] .site-footer-block .material-icons {
  display: none;
}

.site-footer[data-footer-hover="shadow"] .site-footer-block:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.site-footer[data-footer-hover="glow"] .site-footer-block:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--block-title, #fff) 35%, transparent), 0 0 28px color-mix(in srgb, var(--block-title, #fff) 36%, transparent);
}

.site-footer[data-footer-hover="zoom"] .site-footer-block:hover {
  transform: scale(1.025);
}

.site-footer[data-footer-hover="lift"] .site-footer-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.site-footer-block h2 {
  margin: 0;
  color: var(--block-title, currentColor);
  font-size: var(--block-title-size, 18px);
  line-height: 1.2;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.site-footer-block p {
  margin: 0;
  color: var(--block-text, currentColor);
  font-size: var(--block-text-size, 14px);
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.site-footer-link-label {
  color: var(--block-title, currentColor);
  font-weight: 850;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.home-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
}

.home-notice-backdrop {
  position: absolute;
  inset: 0;
  background: var(--notice-bg, rgba(0, 0, 0, .48));
  backdrop-filter: blur(7px);
  overflow: hidden;
}

.home-notice-modal.has-bg-image .home-notice-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--notice-bg-image);
  background-position: center;
  background-size: cover;
  opacity: var(--notice-bg-image-opacity, 1);
}

.home-notice-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(86svh, 760px);
  overflow: auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--notice-radius, 18px);
  background-color: var(--notice-panel-bg, rgba(255, 255, 255, .96));
  color: var(--notice-color, #101114);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
  text-align: center;
}

.home-notice-modal.has-panel-bg-image .home-notice-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--notice-panel-bg-image);
  background-position: center;
  background-size: cover;
  opacity: var(--notice-panel-bg-image-opacity, 1);
  pointer-events: none;
}

.home-notice-panel > * {
  position: relative;
  z-index: 1;
}

.home-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 17, 20, .1);
  color: currentColor;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.home-notice-panel h2 {
  margin: 0;
  padding-right: 28px;
  font-size: clamp(1.35rem, 4.8vw, var(--notice-title-size, 34px));
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: var(--notice-shadow, none);
}

.home-notice-panel p {
  margin: 18px 0 0;
  font-size: clamp(.95rem, 2.5vw, var(--notice-body-size, 17px));
  line-height: 1.58;
  text-shadow: var(--notice-shadow, none);
}

.bug-report-button {
  width: 100%;
  margin: 12px 0;
  justify-content: center;
  border-color: #0a84ff;
  color: #0a4fa3;
  font-weight: 900;
}

.bug-report-footer {
  min-height: 128px;
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid #cfe2ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf4ff 100%);
}

.site-admin-bug-count {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f1ff;
  color: #0a4fa3;
  font-size: .72rem;
  font-weight: 950;
}

.bug-report-footer-head,
.admin-bug-report-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bug-report-footer-head strong,
.admin-bug-report-box-head strong {
  color: #0b315f;
  font-size: .95rem;
  font-weight: 950;
}

.bug-report-footer-head button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: #007aff;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.bug-report-footer-list {
  max-height: 190px;
  display: grid;
  gap: 8px;
  overflow: auto;
}

.bug-report-row {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #d6e7ff;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
}

.bug-report-row p {
  margin: 0;
  line-height: 1.45;
}

.admin-bug-report-box {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #bad8ff;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef7ff 0%, #dfefff 100%);
}

.bug-report-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 17, 20, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.bug-report-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.bug-report-dialog {
  position: relative;
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(16, 17, 20, .28);
}

.bug-report-dialog h3,
.bug-report-dialog p {
  margin: 0;
}

.bug-report-dialog textarea {
  min-height: 150px;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fffefa;
  color: var(--ink);
}

.bug-report-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #edf1f6;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
}

.bug-report-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.bug-status-pill,
.bug-status-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f1ff;
  color: #0a4fa3;
  font-size: .78rem;
  font-weight: 900;
}

.bug-status-admin select {
  min-height: 30px;
  border: 1px solid #9ec7ff;
  border-radius: 999px;
  padding: 0 8px;
  background: #fff;
  color: #0a4fa3;
  font-weight: 800;
}

.checkout-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout-form h3 {
  margin: 0;
  font-size: 1.08rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.checkout-grid input,
.checkout-grid select,
.checkout-grid textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
}

.checkout-grid textarea {
  min-height: 74px;
  resize: vertical;
}

.checkout-wide {
  grid-column: 1 / -1;
}

.order-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.order-status.is-error {
  color: #782817;
}

.order-status.is-success {
  color: #126b3a;
  font-weight: 750;
}

.payment-instructions {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 6px;
  background: #f4f2ed;
  color: var(--ink);
  line-height: 1.45;
}

.payment-instructions p {
  margin: 0;
}

.order-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(18, 107, 58, 0.2);
  border-radius: 6px;
  background: #e6f4ec;
  color: var(--ink);
  line-height: 1.45;
}

.order-summary[hidden] {
  display: none;
}

.order-summary p {
  margin: 0;
}

.order-summary-lines {
  display: grid;
  gap: 7px;
}

.order-summary-lines div {
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.order-summary-lines b {
  font-size: 0.92rem;
}

.cart-note {
  color: var(--muted);
  line-height: 1.45;
}

.product-dialog {
  width: min(860px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(16, 17, 20, 0.42);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.product-detail > img,
.product-detail [data-detail-image] {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: #f4f2ed;
}

.product-detail-copy {
  padding: 42px;
}

.product-detail-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.product-detail-copy p,
.product-detail-copy li {
  color: var(--muted);
  line-height: 1.55;
}

.variant-picker {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.variant-picker > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  text-transform: uppercase;
}

.variant-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 20px);
}

.variant-options-horizontal {
  grid-template-columns: 1fr;
}

.variant-option-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #f4f2ed;
  color: var(--ink);
  overflow: hidden;
  text-align: left;
}

.variant-options-horizontal .variant-option-card {
  grid-template-columns: minmax(220px, 44%) minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: stretch;
}

.variant-options-horizontal .variant-card-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
}

.variant-options-horizontal .variant-card-copy {
  grid-template-rows: auto 1fr auto auto;
}

.variant-card-media {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  background: var(--white);
  box-sizing: border-box;
}

.variant-icon {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  object-fit: contain;
  background: transparent;
}

.variant-options-horizontal .variant-option-card:has(> .variant-icon) .variant-card-title,
.variant-options-horizontal .variant-option-card:has(> .variant-icon) .variant-card-copy > em {
  padding-right: 132px;
}

.variant-card-copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 7px;
  min-width: 0;
  min-height: 100%;
}

.variant-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.variant-option-card.active {
  border-color: var(--theme-accent, var(--accent));
  box-shadow: inset 0 0 0 1px var(--theme-accent, var(--accent));
  background: #ecf5f4;
}

.variant-options strong {
  display: block;
}

.variant-options em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.42;
  white-space: pre-line;
}

.variant-card-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.variant-card-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  justify-self: end;
  border-radius: 6px;
  padding: 11px 12px;
  width: clamp(92px, 26%, 150px);
  min-height: 42px;
  background: var(--theme-accent, var(--accent));
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 850;
  text-align: center;
}

.variant-card-price.has-discount {
  display: grid;
  gap: 2px;
}

.variant-card-price.has-discount del {
  font-size: 0.78rem;
  font-weight: 650;
  opacity: 0.78;
}

.variant-card-price.has-discount b {
  font-size: 1.1rem;
}

.variant-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  max-width: min(100%, 180px);
  min-height: 42px;
  border-radius: 6px;
  padding: 11px 12px;
  background: var(--variant-badge-bg, var(--theme-decor, #782817));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.variant-options-horizontal .variant-card-price {
  width: clamp(92px, 18%, 140px);
}

.variant-card-footer {
  display: grid;
  grid-template-columns: minmax(70px, 0.42fr) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  margin-top: 8px;
  min-width: 0;
}

.variant-card-footer label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.variant-card-footer input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--white);
  color: var(--ink);
}

.variant-card-footer button {
  min-width: 0;
  min-height: 42px;
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.product-page {
  --theme-bg: var(--paper);
  --theme-text: var(--ink);
  --theme-accent: var(--accent);
  --theme-decor: var(--accent-2);
  padding: 0 0 90px;
  background: var(--theme-bg);
  color: var(--theme-text);
}

.product-loading .product-page {
  visibility: hidden;
}

.product-page-no-cover .product-page-heading {
  padding-top: 110px;
}

.product-page-hero {
  width: 100%;
  overflow: hidden;
  background: #111;
}

.product-page-hero[hidden] {
  display: none;
}

.product-hero-gallery {
  --hero-ratio: 16 / 9;
  --product-cover-max-height: 600px;
  position: relative;
  width: 100%;
  height: min(calc(100vw / (16 / 9)), var(--product-cover-max-height));
  max-height: var(--product-cover-max-height);
  transition: aspect-ratio 260ms ease;
}

.product-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.product-hero-slide.active {
  opacity: 1;
}

.product-page-hero img,
.product-hero-gallery img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #111;
}

.product-hero-backdrop {
  object-fit: cover;
  filter: blur(28px) saturate(0.9);
  transform: scale(1.08);
}

.product-hero-image {
  z-index: 1;
  object-fit: cover;
  object-position: center;
}

.product-page-heading {
  padding: 64px 0 18px;
}

.product-page-heading > div {
  width: calc(100% - clamp(44px, 12vw, 152px));
  max-width: 1180px;
  margin: 0 auto;
}

.product-page-heading h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 1;
}

.product-page-heading p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
}

.product-buy-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 28px;
  width: calc(100% - clamp(44px, 12vw, 152px));
  max-width: 1180px;
  margin: 82px auto 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 5px 0 0 var(--theme-accent);
}

.product-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.45);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.product-gallery-dots button {
  width: 10px;
  height: 10px;
  min-height: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.7);
}

.product-gallery-dots button:hover,
.product-gallery-dots button:focus-visible {
  background: var(--white);
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.buy-panel-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.buy-panel-heading {
  grid-column: 1 / -1;
  max-width: 760px;
}

.buy-panel-heading .eyebrow,
.product-page-heading .eyebrow {
  color: var(--theme-decor);
}

.buy-panel-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.product-buy-panel .variant-picker {
  grid-column: 1 / -1;
  margin: 0;
}

.product-buy-panel .variant-picker > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-article {
  width: calc(100% - clamp(44px, 12vw, 152px));
  max-width: 1180px;
  margin: 72px auto 0;
  padding: 0;
  color: var(--theme-text);
}

.product-article h2,
.product-article h3,
.product-article h4,
.product-article strong,
.product-article span {
  color: inherit;
}

.product-article h2 {
  margin: 54px 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.product-article h3 {
  margin: 34px 0 14px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.product-article p,
.product-article li,
.product-article blockquote {
  color: color-mix(in srgb, var(--theme-text) 76%, transparent);
  font-size: 1.08rem;
  line-height: 1.72;
}

.product-article figure {
  margin: 42px 0;
}

.product-article img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.product-article .article-image {
  clear: both;
}

.product-article .article-image.image-medium {
  max-width: 68%;
}

.product-article .article-image.image-small {
  max-width: 42%;
}

.product-article .article-image.image-left {
  float: left;
  width: min(42%, 360px);
  margin: 8px 28px 18px 0;
  clear: none;
}

.product-article .article-image.image-right {
  float: right;
  width: min(42%, 360px);
  margin: 8px 0 18px 28px;
  clear: none;
}

.product-article .article-image.image-full img,
.product-article .article-image.image-medium img,
.product-article .article-image.image-small img,
.product-article .article-image.image-left img,
.product-article .article-image.image-right img {
  width: 100%;
}

.product-article .article-image[data-action="modal"],
.product-article .article-image[data-action="link"] {
  cursor: zoom-in;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 58px);
  background: rgba(16, 17, 20, 0.82);
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-modal button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.product-article .rich-text-box {
  clear: both;
  margin: 22px 0;
  border-radius: 10px;
  padding: 20px 22px;
  color: var(--theme-text, var(--ink));
}

.product-article .rich-text-box > :first-child {
  margin-top: 0;
}

.product-article .rich-text-box > :last-child {
  margin-bottom: 0;
}

.page-text-section {
  background: var(--page-text-bg, transparent);
  color: var(--page-text-color, inherit);
  padding: var(--page-text-pt, 56px) clamp(18px, 5vw, 72px) var(--page-text-pb, 56px);
}

.page-text-content {
  width: min(100%, var(--page-text-width, 1040px));
  margin: 0 auto;
}

.page-accordion-content {
  display: grid;
  gap: 12px;
}

.page-accordion-section.has-no-title + .page-accordion-section.has-no-title {
  padding-top: 0;
}

.page-accordion-title {
  margin: 0 0 10px;
  color: var(--page-text-color, inherit);
}

.page-accordion-item {
  overflow: hidden;
  border: 1px solid var(--accordion-border, #d8d2c5);
  border-radius: var(--accordion-radius, 10px);
  background: var(--accordion-item-bg, #ffffff);
  color: var(--accordion-item-color, #101114);
}

.page-accordion-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 850;
  background: var(--accordion-head-bg, transparent);
  color: var(--accordion-head-color, currentColor);
}

.page-accordion-item[open] summary {
  background: var(--accordion-head-open-bg, var(--accordion-head-bg, transparent));
  color: var(--accordion-head-open-color, var(--accordion-head-color, currentColor));
}

.page-accordion-item summary.has-icon {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.page-accordion-item summary.icon-only {
  grid-template-columns: auto auto;
  justify-content: start;
}

.page-accordion-item summary .material-icons {
  font-size: 1.25em;
  line-height: 1;
}

.page-accordion-item summary::-webkit-details-marker {
  display: none;
}

.page-accordion-item summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

.page-accordion-item[open] summary::after {
  content: "-";
}

.page-accordion-panel {
  padding: 0 18px 18px;
}

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
    justify-self: end;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch button {
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .cart-button {
    padding: 0;
  }

  .hero {
    min-height: min(88svh, var(--home-hero-max-height, 88svh));
    padding-top: 96px;
  }

  .home-sectors {
    padding-inline: clamp(12px, 4vw, 22px);
    padding-top: 22px;
    padding-bottom: 28px;
  }

  .public-page-no-cover .home-sectors.is-page-layout {
    padding-top: 88px;
  }

  .sector-card {
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  }

  .story-panel {
    min-height: 96svh;
  }

  .story-media {
    inset: 4svh 10px;
  }

  .story-copy {
    align-self: end;
    padding-bottom: 8svh;
  }

  .shop-heading,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .product-detail > img,
  .product-detail [data-detail-image] {
    min-height: 260px;
  }

  .variant-options {
    grid-template-columns: 1fr;
  }

  .variant-options-horizontal .variant-option-card {
    grid-template-columns: 1fr;
  }

  .variant-options-horizontal .variant-option-card:has(> .variant-icon) .variant-card-title,
  .variant-options-horizontal .variant-option-card:has(> .variant-icon) .variant-card-copy > em {
    padding-right: 0;
  }

  .product-page {
    padding-top: 0;
  }

  .product-page-heading {
    padding-top: 42px;
  }

  .product-buy-panel {
    grid-template-columns: 1fr;
    width: auto;
    margin: 58px 14px 0;
  }

  .product-buy-panel .variant-picker {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer[data-footer-mobile="compact"] {
    padding: 10px;
  }

  .site-footer[data-footer-mobile="compact"] .site-footer-grid {
    grid-template-columns: repeat(var(--footer-mobile-columns, var(--footer-columns, 3)), minmax(0, 1fr));
    gap: clamp(6px, 2.4vw, 12px);
    align-items: start;
  }

  .site-footer[data-footer-mobile="compact"] .site-footer-block {
    gap: 5px;
    padding: clamp(5px, 2vw, 9px);
    border-radius: 6px;
  }

  .site-footer[data-footer-mobile="compact"] .site-footer-block img {
    max-width: 100%;
    max-height: 54px;
  }

  .site-footer[data-footer-mobile="compact"] .site-footer-block .material-icons {
    font-size: min(var(--footer-icon-size, 30px), 8vw);
  }

  .site-footer[data-footer-mobile="compact"] .site-footer-block h2 {
    font-size: clamp(10px, 2.8vw, var(--block-title-size, 18px));
    line-height: 1.08;
  }

  .site-footer[data-footer-mobile="compact"] .site-footer-block p,
  .site-footer[data-footer-mobile="compact"] .site-footer-link-label {
    font-size: clamp(9px, 2.35vw, var(--block-text-size, 14px));
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .product-article .article-image.image-left,
  .product-article .article-image.image-right,
  .product-article .article-image.image-medium,
  .product-article .article-image.image-small {
    float: none;
    width: auto;
    max-width: none;
    margin: 32px 0;
  }
}

@media (max-width: 460px) {
  .site-header {
    --header-logo-height: clamp(26px, 8vw, 34px);
    gap: 8px;
    padding-inline: 10px;
  }

  .header-actions {
    gap: 4px;
  }

  .language-switch {
    gap: 2px;
  }

  .home-sectors {
    padding-inline: 10px;
  }

  .public-page-no-cover .home-sectors.is-page-layout {
    padding-top: 80px;
  }

  .sector-grid {
    gap: 26px;
  }

  .sector-card {
    width: 100%;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  }

  .sector-card-media-frame {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .sector-card-caption {
    min-height: 48px;
    padding: 10px 4px 0;
    font-size: 1.08rem;
  }

  .sector-card-caption img {
    width: min(100%, 320px);
    max-height: 76px;
  }

  .showcase-tile-modal {
    align-items: start;
    padding: 14px;
  }

  .showcase-tile-modal-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(100vh - 28px);
    border-radius: 18px;
    padding: 16px;
  }

  .showcase-modal-copy {
    justify-items: center;
    padding-right: 0;
    text-align: center;
  }

  .showcase-modal-commerce,
  .showcase-modal-actions {
    justify-self: center;
  }
}

@media (min-width: 560px) {
  .variant-options:not(.variant-options-horizontal) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .variant-options:not(.variant-options-horizontal) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .variant-options:not(.variant-options-horizontal) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
