:root {
  color-scheme: light;
  --black: #050505;
  --ink: #151515;
  --muted: #666b63;
  --paper: #ffffff;
  --soft: #f5f7f1;
  --green: #c9eace;
  --green-strong: #7fc98b;
  --amber: #f5c15d;
  --red: #dd5f57;
  --line: rgba(5, 5, 5, 0.12);
  --dark-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 54px rgba(5, 5, 5, 0.14);
  --max: 1240px;
  --radius: 8px;
  --font-main: "Maven Pro", Arial, sans-serif;
  --font-display: "Maven Pro", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050505;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-main);
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(201, 234, 206, 0.07) 58% 58.35%, transparent 58.35% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, #050505 0%, #10130f 52%, #050505 100%);
  background-size: 520px 520px, 84px 84px, auto;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  right: max(-220px, -10vw);
  top: 50%;
  z-index: -2;
  width: clamp(760px, 62vw, 1120px);
  aspect-ratio: 197.7 / 131;
  background: url("./assets/unlimited-performance-white-transparent.png") center / contain no-repeat;
  opacity: 0.07;
  transform: translateY(-44%) rotate(-7deg);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 188px 0 auto;
  z-index: -2;
  height: 520px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 26%, transparent 74%, rgba(145, 201, 155, 0.18)),
    linear-gradient(135deg, rgba(201, 234, 206, 0.08) 0 18%, transparent 18% 100%);
  clip-path: polygon(0 5%, 100% 0, 100% 78%, 0 100%);
  pointer-events: none;
}

.admin-page {
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(201, 234, 206, 0.06) 58% 58.35%, transparent 58.35% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #050505 0%, #10130f 54%, #050505 100%);
  background-size: 520px 520px, 84px 84px, auto;
}

.admin-page::before {
  filter: none;
  opacity: 0.075;
}

.admin-page:not(.is-authenticated) [data-admin-app],
.admin-page.is-authenticated [data-admin-login-view] {
  display: none;
}

.admin-login {
  min-height: 100vh;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.login-card {
  width: 100%;
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.login-brand-panel {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(201, 234, 206, 0.18), rgba(255, 255, 255, 0.04)),
    url("./assets/hero-performance-stack.png") center bottom / contain no-repeat,
    #0b0f0a;
}

.brand-wordmark {
  display: inline-block;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-transform: uppercase;
}

.login-brand-panel span {
  width: fit-content;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #101510;
  background: var(--green);
  font-weight: 900;
}

.login-form-panel {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-card h1 {
  max-width: none;
  font-size: 4.4rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.login-card p {
  color: rgba(255, 255, 255, 0.72);
}

.login-card label {
  color: rgba(255, 255, 255, 0.72);
}

[data-admin-login-form] .btn {
  margin-top: 18px;
}

.login-card small {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.admin-shop-link {
  min-height: 46px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: #101510;
  background: var(--green);
  font-weight: 900;
}

.admin-environment {
  margin: 0 0 14px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.admin-environment strong {
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-environment span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.admin-environment.is-test {
  border-color: rgba(244, 193, 74, 0.62);
  background: rgba(244, 193, 74, 0.12);
}

.admin-environment.is-test strong {
  color: #f4c14a;
}

.admin-environment.is-production {
  border-color: rgba(236, 111, 111, 0.68);
  background: rgba(236, 111, 111, 0.12);
}

.admin-environment.is-production strong {
  color: #ff9d9d;
}

.admin-environment.is-production.is-healthy {
  border-color: rgba(127, 201, 139, 0.72);
  background: rgba(127, 201, 139, 0.16);
}

.admin-environment.is-production.is-healthy strong {
  color: #a7e3b1;
}

.cloud-catalog-status {
  min-height: 66px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #d6dcd4;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #f6f8f4;
}

.cloud-catalog-status[hidden] {
  display: none;
}

.cloud-catalog-status strong,
.cloud-catalog-status span {
  display: block;
}

.cloud-catalog-status span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.cloud-catalog-status.is-ready {
  border-color: #9fca9d;
  background: #eff8ed;
}

.cloud-catalog-status.is-syncing,
.cloud-catalog-status.is-empty {
  border-color: #e4c26d;
  background: #fff9e9;
}

.cloud-catalog-status.is-error {
  border-color: #d99595;
  background: #fff0f0;
}

.cloud-catalog-status .btn {
  flex: 0 0 auto;
}

.admin-user-badge {
  margin: 18px 0 8px;
  padding: 12px;
  border: 1px solid rgba(201, 234, 206, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.admin-user-badge strong,
.admin-user-badge span {
  display: block;
}

.admin-user-badge span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a {
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

button {
  cursor: pointer;
}

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

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

.shop-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #fff;
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--dark-line);
  backdrop-filter: blur(18px);
}

.topbar,
.header-main,
.category-bar,
.shop-hero,
.shop-layout,
.checkout,
.admin {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

[hidden] {
  display: none !important;
}

.is-cart-page [data-shop-section],
.is-cart-page .category-header,
.is-account-page [data-shop-section] {
  display: none !important;
}

.is-cart-page main,
.is-account-page main {
  padding-top: 34px;
}

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  border-bottom: 1px solid var(--dark-line);
}

.header-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.brand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.brand img {
  width: 210px;
  pointer-events: none;
  user-select: none;
}

.search-box {
  position: relative;
  display: block;
  flex: 1;
  max-width: 360px;
}

.search-box span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-box input,
label input,
label select,
label textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.search-box input {
  border-color: var(--dark-line);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.product-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(420px, 70vh);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-suggestions button {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.product-suggestions button:hover,
.product-suggestions button:focus-visible {
  background: var(--soft);
}

.product-suggestions img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f7f4;
}

.product-suggestions span {
  position: static;
  min-width: 0;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  display: grid;
  gap: 2px;
}

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

.product-suggestions strong {
  font-size: 0.93rem;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.product-suggestions small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.quick-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  font-size: 0.94rem;
  font-weight: 900;
  white-space: nowrap;
}

.quick-nav a,
.cart-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-weight: 900;
}

.quick-nav a:hover,
.cart-button:hover {
  color: #101510;
  background: var(--green);
  border-color: var(--green);
}

.shop-language-switcher {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
}

.shop-language-switcher > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.shop-language-switcher select {
  border: 0;
  padding: 3px 18px 3px 2px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.shop-language-switcher option {
  color: #101510;
  background: #fff;
}

.cart-button strong {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--green);
  color: #101510;
}

.cart-button:hover strong {
  background: #101510;
  color: #fff;
}

.cart-button {
  border-color: var(--dark-line);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 470px);
}

.has-cart-drawer {
  overflow: hidden;
}

.cart-drawer-backdrop {
  border: 0;
  background: rgba(5, 5, 5, 0.56);
  backdrop-filter: blur(4px);
}

.cart-drawer-panel {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(201, 234, 206, 0.34), transparent 36%),
    #fff;
  box-shadow: -26px 0 70px rgba(5, 5, 5, 0.28);
}

.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cart-drawer-head h2 {
  margin-bottom: 0;
  font-size: 2.4rem;
}

.cart-drawer-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-drawer-lines {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-preview-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.cart-preview-line img {
  width: 64px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

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

.cart-preview-line strong {
  font-size: 0.94rem;
  font-weight: 900;
}

.cart-preview-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-preview-line b {
  font-weight: 900;
  white-space: nowrap;
}

.cart-preview-empty {
  display: grid;
  gap: 8px;
  border: 1px dashed rgba(5, 5, 5, 0.18);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.cart-preview-empty strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.cart-preview-empty p {
  margin: 0;
}

.cart-drawer-free {
  border-radius: var(--radius);
  padding: 16px;
  color: var(--ink);
  background: #e4e9fa;
  box-shadow: inset 8px 0 0 #cdd8f7;
  font-weight: 800;
  line-height: 1.35;
}

.cart-drawer-free strong {
  font-weight: 900;
}

.cart-drawer-summary {
  display: grid;
  gap: 10px;
  border-radius: var(--radius);
  padding: 18px;
  background: #e5f5df;
}

.cart-drawer-summary span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #69717d;
  font-weight: 800;
}

.cart-drawer-summary span:last-child {
  align-items: baseline;
  color: var(--ink);
  font-size: 1.1rem;
}

.cart-drawer-summary span:last-child strong {
  color: #55a73e;
  font-size: 1.65rem;
  font-weight: 900;
}

.cart-drawer-actions {
  display: grid;
  gap: 10px;
}

.cart-drawer-actions .btn {
  width: 100%;
  min-height: 54px;
}

.category-header {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(201, 234, 206, 0.08), transparent 42%),
    #050505;
  color: #fff;
}

.category-header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.line-nav {
  display: none;
  min-height: 0;
  gap: 34px;
  align-items: center;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 201, 139, 0.45) transparent;
}

.line-nav button {
  min-height: 60px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0 0 2px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.line-nav button:hover,
.line-nav button.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.category-bar {
  min-height: 64px;
  display: flex;
  gap: clamp(14px, 1.55vw, 24px);
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
  padding: 10px 0 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 201, 139, 0.45) transparent;
}

.category-bar button {
  flex: 0 1 auto;
  min-height: 38px;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  padding: 0;
  white-space: nowrap;
  font-size: clamp(0.76rem, 0.82vw, 0.9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.category-bar button:hover,
.category-bar button.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.category-more {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}

.category-more summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: clamp(0.76rem, 0.82vw, 0.9rem);
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

.category-more summary::-webkit-details-marker {
  display: none;
}

.category-more summary::after {
  content: "⌄";
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
}

.category-more summary:hover,
.category-more summary.is-active,
.category-more[open] summary {
  color: var(--green);
  border-bottom-color: var(--green);
}

.category-more div {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  min-width: 230px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(5, 5, 5, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.category-more div button {
  width: 100%;
  min-height: 42px;
  justify-content: flex-start;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
}

.category-more div button:hover,
.category-more div button.is-active {
  color: #101510;
  background: var(--green);
}

.store-menu-mobile-toggle {
  display: none;
}

.category-bar {
  gap: 0;
  justify-content: space-between;
  padding: 0;
}

.store-menu-item {
  position: relative;
  flex: 0 1 auto;
}

.store-menu-primary {
  display: flex;
  align-items: stretch;
}

.category-bar .store-menu-link {
  min-height: 64px;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0 clamp(7px, 0.75vw, 12px);
  color: rgba(255, 255, 255, 0.94);
  background: transparent;
  font-family: var(--font-main);
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-bar a.store-menu-link {
  display: inline-flex;
  align-items: center;
}

.category-bar .store-menu-link:hover,
.category-bar .store-menu-link.is-active,
.store-menu-item.is-active .store-menu-link,
.store-menu-item.is-open .store-menu-link {
  border-bottom-color: var(--green);
  color: var(--green);
}

.category-bar .store-submenu-toggle {
  position: relative;
  width: 24px;
  min-height: 64px;
  flex: 0 0 24px;
  border: 0;
  padding: 0;
  background: transparent;
}

.store-submenu-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.store-menu-item.is-open .store-submenu-toggle::before {
  transform: translateY(2px) rotate(225deg);
}

.store-submenu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 40;
  width: min(840px, calc(100vw - 32px));
  max-height: min(700px, calc(100vh - 150px));
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 0 8px 8px;
  padding: 12px;
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  scrollbar-color: rgba(196, 231, 203, 0.62) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.store-menu-item:nth-last-child(-n + 2) .store-submenu {
  right: 0;
  left: auto;
}

.store-menu-item:hover > .store-submenu,
.store-menu-item:focus-within > .store-submenu,
.store-menu-item.is-open > .store-submenu {
  display: grid;
}

.category-bar .store-submenu button {
  width: 100%;
  min-height: 62px;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  border-radius: 5px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.category-bar .store-submenu button:hover,
.category-bar .store-submenu button:focus-visible {
  border-bottom-color: transparent;
  color: #101510;
  background: var(--green);
}

.store-submenu img {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.category-bar .store-submenu-all {
  grid-column: 1 / -1;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  color: var(--green);
  text-align: center;
  text-transform: uppercase;
}

.category-bar .store-submenu-category {
  min-height: 62px;
  text-transform: uppercase;
}

.shop-hero {
  min-height: clamp(560px, 45vw, 620px);
  margin-top: 26px;
  padding: clamp(34px, 5vw, 58px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #050705;
  isolation: isolate;
}

.shop-hero::before {
  content: none;
}

.shop-hero::after {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(51%, 610px);
}

.shop-hero .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.line-showcase {
  width: min(var(--max), calc(100% - 32px));
  margin: 24px auto 0;
  scroll-margin-top: 170px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.line-showcase .line-card {
  min-height: 500px;
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--black);
  box-shadow: 0 10px 30px rgba(5, 5, 5, 0.06);
  text-decoration: none;
  isolation: isolate;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.line-showcase img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.line-showcase .line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 15, 20, 0.2), rgba(13, 15, 20, 0.88)),
    linear-gradient(90deg, rgba(13, 15, 20, 0.36), transparent 62%);
}

.line-showcase .line-card > div {
  position: relative;
  z-index: 1;
}

.line-showcase .line-card:hover,
.line-showcase .line-card:focus-visible {
  border-color: rgba(194, 231, 199, 0.7);
  box-shadow: 0 18px 42px rgba(5, 5, 5, 0.22);
  transform: translateY(-3px);
}

.line-showcase .line-card:hover img,
.line-showcase .line-card:focus-visible img {
  transform: scale(1.025);
}

.line-showcase .line-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.line-showcase h2 {
  max-width: 12ch;
  font-size: 2.25rem;
}

.line-showcase p,
.line-showcase .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.line-card-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.line-card-action span {
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.line-card:hover .line-card-action span,
.line-card:focus-visible .line-card-action span {
  transform: translateX(5px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: 5.4rem;
}

h2 {
  max-width: 13ch;
  font-size: 3.25rem;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.05;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.shop-hero h1 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(4.2rem, 7.2vw, 6.2rem);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 17px;
  font-weight: 900;
}

.btn:hover,
.price-row button:hover,
.admin-nav button:hover {
  transform: translateY(-2px);
}

.btn.primary,
.price-row button,
.product-form button[type="submit"] {
  color: #101510;
  background: var(--green);
  border-color: rgba(111, 160, 121, 0.36);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #050705;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 6, 4, 0.93) 0%, rgba(3, 6, 4, 0.86) 25%, rgba(3, 6, 4, 0.56) 45%, rgba(3, 6, 4, 0.16) 66%, rgba(3, 6, 4, 0.02) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 30%, transparent 72%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 59%;
  padding: 0;
  filter: none;
}

.hero-media picture {
  display: contents;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 420ms ease, transform 620ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-media img.hero-slide-power-weight,
.hero-media img.hero-slide-sport {
  object-position: 100% 59%;
}

.hero-slider-controls {
  position: absolute;
  top: clamp(18px, 2.5vw, 34px);
  right: clamp(18px, 2.5vw, 34px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-slider-controls button,
.bestseller-controls button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(10px);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-slider-controls button:hover,
.hero-slider-controls button:focus-visible,
.bestseller-controls button:hover,
.bestseller-controls button:focus-visible {
  color: #101510;
  background: var(--green);
  border-color: var(--green);
}

.hero-slider-controls button:focus-visible,
.bestseller-controls button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.hero-slider-controls .hero-slider-dot {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
}

.hero-slider-controls .hero-slider-dot.is-active {
  background: var(--green);
  border-color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.stock-card {
  position: absolute;
  right: clamp(18px, 2.5vw, 34px);
  bottom: clamp(18px, 2.5vw, 34px);
  z-index: 3;
  width: min(300px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.stock-card span,
.stock-card small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.stock-card strong {
  display: block;
  margin: 4px 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.15;
}

.promo-tiles {
  width: min(var(--max), calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.promo-tile {
  min-height: 430px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 8px;
  color: #fff;
  background: #101510;
  box-shadow: 0 16px 36px rgba(5, 5, 5, 0.16);
  appearance: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.promo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.58));
}

.promo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.promo-tile[data-homepage-tile="tile-packages"] img {
  object-position: center 42%;
  transform: none;
}

.promo-tile[data-homepage-tile="tile-protein-breakfast"]::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.01) 38%, rgba(5, 5, 5, 0.76) 100%);
}

.promo-tile[data-homepage-tile="tile-protein-breakfast"] img {
  object-position: center 46%;
  transform: none;
}

.promo-copy {
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 22px;
}

.promo-copy span,
.promo-copy strong,
.promo-copy small {
  display: block;
}

.promo-copy span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-copy strong {
  max-width: 10ch;
  font-size: 2rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.promo-tile[data-homepage-tile="tile-creatine"] .promo-copy strong {
  max-width: none;
}

.promo-copy small {
  width: fit-content;
  min-height: 44px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 10px 18px;
  color: #101510;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.95rem;
  font-weight: 900;
}

.promo-tile-light {
  color: #101510;
  background: linear-gradient(180deg, #ddf8ff, #ffffff);
}

.promo-tile-light::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.82));
}

.promo-tile-light .promo-copy span,
.promo-tile-light .promo-copy strong {
  color: #101510;
}

.promo-tile-light .promo-copy small {
  background: #101510;
  color: #fff;
}

.promo-tile-sale {
  background: #b89595;
}

.promo-tile-sale::after {
  background:
    linear-gradient(180deg, rgba(126, 81, 81, 0.12), rgba(97, 52, 52, 0.44)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%);
}

.promo-tile-black::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.14), rgba(5, 5, 5, 0.72));
}

.shop-layout {
  margin-top: 28px;
  scroll-margin-top: 170px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.filters,
.catalog,
.checkout,
.admin-shell,
.checkout-panel,
.operation-card,
.content-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(5, 5, 5, 0.08);
}

.filters {
  position: sticky;
  top: 190px;
  padding: 18px;
}

.filter-head h2 {
  margin: 3px 0 0;
  font-size: 1.35rem;
  line-height: 1.05;
}

.catalog-category-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.catalog-category-panel > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.catalog-category-filters {
  display: grid;
  gap: 6px;
  max-height: min(430px, calc(100vh - 410px));
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.catalog-category-filters button {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.catalog-category-filters button:hover {
  border-color: rgba(143, 207, 60, 0.5);
  color: var(--ink);
  background: rgba(237, 242, 233, 0.72);
}

.catalog-category-filters button.is-active {
  border-color: rgba(75, 141, 86, 0.45);
  color: var(--ink);
  background: #dff2df;
}

.catalog-category-filters small {
  min-width: 28px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.catalog-category-select {
  display: none;
}

.filter-head,
.catalog-head,
.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.filter-head button,
.operation-card button,
.admin-table button,
.form-actions button,
.checkout-controls button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: #fff;
  font-weight: 900;
}

.admin-inline-edit {
  min-height: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.admin-inline-edit:hover {
  color: var(--green-strong);
}

label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

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

.service-panel strong {
  margin-bottom: 4px;
}

.service-panel span,
.tag,
.status,
.check-row span {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #edf2e9;
  color: #2b3528;
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog {
  padding: 22px;
}

.catalog-head h2 {
  margin-bottom: 0;
}

.catalog-head > span {
  padding-top: 9px;
  color: var(--muted);
  font-weight: 900;
}

.product-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.homepage-product-sections {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  gap: 22px;
}

.homepage-product-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.homepage-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.homepage-section-head h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 0.95;
}

.homepage-section-grid {
  margin-top: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(172px, 198px);
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(16, 24, 18, 0.35) rgba(16, 24, 18, 0.08);
}

.homepage-section-grid .product-card {
  min-height: 390px;
  scroll-snap-align: start;
}

.homepage-section-grid .product-card figure {
  height: 172px;
  background: #fff;
}

.homepage-section-grid .product-card h3 {
  font-size: 1.02rem;
}

.homepage-section-grid .product-card .body {
  padding: 12px;
}

.homepage-section-grid .product-card .tags {
  display: none;
}

.homepage-section-grid .product-card p {
  min-height: 3em;
  font-size: 0.86rem;
}

.homepage-section-grid .product-card .price {
  font-size: 1.05rem;
}

.homepage-section-grid .product-card .price-row {
  align-items: stretch;
  flex-direction: column;
}

.homepage-section-grid .product-card .price-row button {
  width: 100%;
  min-height: 42px;
}

.homepage-more-card {
  min-height: 390px;
  border: 1px solid rgba(143, 207, 60, 0.5);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(206, 246, 213, 0.96), rgba(255, 255, 255, 0.96));
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.homepage-more-card span {
  font-size: 1.4rem;
  font-weight: 950;
  line-height: 1;
}

.homepage-more-card small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.product-card-link,
.product-card h3 button,
.detail-link {
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-card h3 button:hover,
.detail-link:hover {
  color: #4b8d56;
}

.product-card figure {
  position: relative;
  height: 168px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.product-card img {
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  display: block;
  box-sizing: border-box;
  object-fit: contain;
  position: absolute;
  inset: 12px;
  padding: 0;
}

.category-product-card {
  border-color: rgba(143, 207, 60, 0.42);
}

.category-product-card figure::after,
.product-variant-group-card figure::after {
  content: "Kategorie";
  position: absolute;
  left: 14px;
  top: 14px;
  border-radius: 999px;
  background: rgba(16, 24, 18, 0.82);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.35rem 0.7rem;
}

.product-variant-group-card {
  border-color: rgba(75, 141, 86, 0.32);
}

.product-variant-group-card figure::after {
  content: "Varianty";
}

.category-product-card .price {
  font-size: 1rem;
}

.product-card .body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.tags {
  min-height: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.product-card .tag {
  padding: 7px 10px;
  font-size: 0.78rem;
}

.product-card h3 {
  min-height: 2.45em;
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.06;
}

.product-card h3 button {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card p {
  min-height: 3.25em;
  margin-bottom: 12px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(201, 234, 206, 0.05) 0 24%, transparent 24% 100%),
    #050505;
}

.site-footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 1.25fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.site-footer-brand img {
  width: min(100%, 260px);
  display: block;
}

.site-footer-brand p {
  max-width: 270px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.5;
}

.site-footer-column {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.site-footer-column h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer-links {
  display: grid;
  gap: 12px;
}

.site-footer-column button,
.site-footer-column a {
  width: fit-content;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-footer-column button:hover,
.site-footer-column a:hover {
  color: var(--green);
}

.site-footer-reviews {
  gap: 20px;
}

.site-footer-reviews article {
  display: grid;
  gap: 7px;
}

.site-footer-reviews strong {
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.footer-stars {
  color: #f7bd1a;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.footer-stars small {
  margin-left: 9px;
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer-reviews p,
.site-footer-contact span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

.site-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.site-footer-socials a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
}

.site-footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 700;
}

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

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

.footer-legal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
}

.footer-legal-card {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  position: relative;
  z-index: 1;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.footer-legal-card h2 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1;
}

.footer-legal-card h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.footer-legal-card p,
.footer-legal-card li {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.footer-legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
}

.footer-legal-card a {
  color: var(--green-strong);
  font-weight: 900;
}

.footer-legal-close {
  width: 44px;
  min-height: 44px;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.45rem;
}

body.footer-legal-open {
  overflow: hidden;
}

.cookie-banner[hidden],
.cookie-preferences[hidden] {
  display: none;
}

.cookie-banner {
  width: min(1180px, calc(100% - 32px));
  position: fixed;
  z-index: 160;
  left: 50%;
  bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px 24px;
  background: #101311;
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.cookie-banner-copy {
  max-width: 690px;
}

.cookie-banner .eyebrow {
  margin-bottom: 7px;
  color: #a9ddb1;
}

.cookie-banner h2,
.cookie-preferences-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.cookie-banner p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
  line-height: 1.45;
}

.cookie-banner-actions,
.cookie-preferences-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cookie-banner-actions .btn {
  min-width: 132px;
  white-space: nowrap;
}

.cookie-banner-actions .secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
  color: #fff;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-preferences-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cookie-preferences-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  position: relative;
  z-index: 1;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.cookie-preferences-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.cookie-preferences-close {
  width: 42px;
  min-height: 42px;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  font-size: 1.35rem;
}

.cookie-preference-list {
  display: grid;
  margin: 22px 0;
  border-top: 1px solid var(--line);
}

.cookie-preference-list label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.cookie-preference-list span {
  display: grid;
  gap: 4px;
}

.cookie-preference-list strong {
  font-size: 1rem;
}

.cookie-preference-list small {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

.cookie-preference-list input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--green-strong);
}

body.cookie-preferences-open {
  overflow: hidden;
}

.legal-note {
  margin: 20px 0 0;
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--soft);
}

.product-card .status {
  width: fit-content;
  margin-bottom: 12px;
}

.price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 1.24rem;
  font-weight: 900;
}

.price-stack,
.detail-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.old-price {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: line-through;
}

.sale-price {
  color: var(--green-strong);
}

.tax-alt-price {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.price-row button {
  min-height: 40px;
  border: 1px solid rgba(111, 160, 121, 0.35);
  border-radius: var(--radius);
  padding: 8px 11px;
  font-weight: 900;
}

.detail-link {
  min-height: 0;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-detail {
  width: min(var(--max), calc(100% - 32px));
  margin: 24px auto 0;
  scroll-margin-top: 176px;
}

.detail-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-close {
  min-height: 42px;
  margin: 18px 18px 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: #fff;
  font-weight: 900;
}

.detail-main {
  padding: 18px 34px 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.detail-main figure {
  min-height: 460px;
  height: clamp(460px, 55vw, 640px);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(180deg, #fbfcf8 0%, #eef4eb 100%);
}

.detail-image-open {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: calc(var(--radius) - 6px);
  padding: 0;
  background: #fff;
  cursor: zoom-in;
}

.detail-main .detail-image-open img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.12));
  transform: scale(1.42);
  transition: transform 220ms ease;
}

.detail-image-open:hover img,
.detail-image-open:focus-visible img {
  transform: scale(1.48);
}

.detail-image-stage.has-gallery .detail-image-open img {
  transform: none;
}

.detail-image-stage.has-gallery .detail-image-open:hover img,
.detail-image-stage.has-gallery .detail-image-open:focus-visible img {
  transform: scale(1.03);
}

.detail-gallery-thumbs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-gallery-thumbs button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.detail-gallery-thumbs button:hover,
.detail-gallery-thumbs button:focus-visible {
  border-color: rgba(0, 88, 50, 0.42);
  box-shadow: 0 10px 24px rgba(0, 88, 50, 0.14);
  transform: translateY(-1px);
}

.detail-gallery-thumbs button.is-active {
  border-color: #0a6b3e;
  box-shadow: 0 0 0 2px rgba(10, 107, 62, 0.16);
}

.detail-gallery-thumbs img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-zoom-badge {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 5, 5, 0.82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 160ms ease, transform 160ms ease;
}

.detail-image-open:hover .detail-zoom-badge,
.detail-image-open:focus-visible .detail-zoom-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.detail-zoom-badge i {
  width: 23px;
  height: 23px;
  position: relative;
  display: block;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.detail-zoom-badge i::after {
  content: "";
  width: 13px;
  height: 3px;
  position: absolute;
  right: -10px;
  bottom: -5px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

body.detail-image-zoom-open {
  overflow: hidden;
}

.detail-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(5px);
}

.detail-image-lightbox-canvas {
  width: min(92vw, 88vh, 980px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.detail-image-lightbox-canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-image-lightbox-close {
  width: 48px;
  height: 48px;
  min-height: 48px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: rgba(5, 5, 5, 0.86);
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.detail-copy h2 {
  margin: 12px 0;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.rating,
.delivery,
.detail-unit {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.detail-price {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
}

.detail-price-stack {
  margin: 16px 0 6px;
}

.detail-price-stack .old-price {
  font-size: 1.05rem;
}

.detail-variant-field {
  width: min(100%, 420px);
  margin-top: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.detail-variant-field select {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.detail-variant-summary {
  width: min(100%, 520px);
  margin-top: 12px;
  border: 1px solid rgba(8, 15, 10, 0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f7f8f4;
}

.detail-variant-summary strong,
.detail-variant-summary span {
  display: block;
}

.detail-variant-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.detail-buy {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.detail-buy.single-action .btn {
  min-width: 240px;
}

.detail-tabs {
  border-top: 1px solid var(--line);
  background: #fff;
}

.detail-tabs article {
  padding: 26px 34px;
  background: #fff;
}

.rich-product-description {
  display: grid;
  gap: 28px;
  color: var(--ink);
}

.rich-product-description h3,
.rich-product-description h4 {
  margin: 0;
  font-weight: 900;
}

.rich-product-description p,
.rich-product-description ul,
.rich-product-description ol {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.product-description-content {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-description-content > *,
.product-description-content .table-responsive {
  min-width: 0;
  max-width: 100%;
}

.product-description-content .table-responsive {
  overflow-x: auto;
}

.product-description-content img,
.product-description-content video {
  max-width: 100%;
  height: auto;
}

.product-description-content iframe {
  max-width: 100%;
}

.product-description-content p,
.product-description-content ul,
.product-description-content ol,
.detail-tabs article > p,
.basic-description p,
.basic-description ul,
.basic-description ol {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.product-description-content table,
.basic-description table,
.detail-parameters-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(8, 15, 10, 0.55);
  border-radius: 14px;
  background: #fff;
}

.product-description-content th,
.product-description-content td,
.basic-description th,
.basic-description td,
.detail-parameters-table th,
.detail-parameters-table td {
  padding: 14px 18px;
  border-bottom: 0;
  text-align: left;
  vertical-align: top;
  font-weight: 800;
}

.product-description-content table tr:first-child td,
.product-description-content table tr:first-child th,
.basic-description table tr:first-child td,
.basic-description table tr:first-child th {
  background: #060807 !important;
  color: #fff !important;
}

.product-description-content table tr:first-child span,
.product-description-content table tr:first-child b,
.product-description-content table tr:first-child strong,
.basic-description table tr:first-child span,
.basic-description table tr:first-child b,
.basic-description table tr:first-child strong {
  color: #fff !important;
}

.product-description-content table tr:nth-child(odd):not(:first-child),
.basic-description table tr:nth-child(odd):not(:first-child) {
  background: #e8e8e8;
}

.product-description-content table tr:nth-child(even):not(:first-child),
.basic-description table tr:nth-child(even):not(:first-child) {
  background: #fff;
}

.product-description-content table td:empty::after,
.basic-description table td:empty::after {
  content: "-";
  color: transparent;
}

.product-description-content th,
.basic-description th,
.detail-parameters-table th {
  width: 34%;
  color: var(--muted);
}

.basic-description tr:last-child th,
.basic-description tr:last-child td,
.detail-parameters-table tr:last-child th,
.detail-parameters-table tr:last-child td {
  border-bottom: 0;
}

.detail-parameters-panel {
  margin-top: 22px;
}

.detail-parameters-panel h3 {
  margin-bottom: 10px;
}

.rich-product-description ul,
.rich-product-description ol {
  padding-left: 22px;
}

.description-highlight-grid,
.diagnostic-variants {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.diagnostic-variants {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.description-highlight-grid section {
  min-height: 250px;
  border: 1px solid rgba(8, 15, 10, 0.08);
  border-bottom: 5px solid #84c83a;
  border-radius: 8px;
  padding: 34px 28px 30px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(13, 24, 16, 0.08);
  text-align: center;
}

.description-highlight-grid section h4 {
  margin-top: 22px;
  font-size: 1.25rem;
}

.description-highlight-grid section p {
  margin-top: 14px;
  color: #353735;
  font-size: 1.02rem;
}

.diagnostic-benefit-icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #84c83a;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.diagnostic-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.diagnostic-copy-block {
  display: grid;
  gap: 18px;
}

.diagnostic-copy-block h4,
.rich-product-description > h4 {
  position: relative;
  padding-left: 18px;
  font-size: 1.45rem;
}

.diagnostic-copy-block h4::before,
.rich-product-description > h4::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 5px;
  background: #84c83a;
  content: "";
}

.diagnostic-check-list,
.diagnostic-steps {
  display: grid;
  gap: 16px;
  padding-left: 0 !important;
  list-style: none;
}

.diagnostic-check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.diagnostic-check-list li::before {
  position: absolute;
  left: 0;
  top: 0.08em;
  color: #84c83a;
  font-size: 1.5rem;
  font-weight: 900;
  content: "✓";
}

.diagnostic-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.diagnostic-steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 4px solid #84c83a;
  border-radius: 999px;
  background: #071008;
  color: #84c83a;
  font-weight: 900;
}

.diagnostic-steps p {
  color: var(--ink);
  font-size: 1.02rem;
}

.diagnostic-variant-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.diagnostic-variant-card {
  display: grid;
  gap: 10px;
  align-content: start;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.diagnostic-variant-card:hover {
  border-color: rgba(43, 185, 34, 0.55);
  box-shadow: 0 16px 34px rgba(11, 22, 14, 0.12);
  transform: translateY(-2px);
}

.diagnostic-variant-card.is-selected {
  border-color: #2dbf22;
  box-shadow: 0 18px 34px rgba(45, 191, 34, 0.18);
  outline: 3px solid rgba(132, 200, 58, 0.22);
}

.diagnostic-variant-card.is-featured {
  border-color: rgba(43, 185, 34, 0.4);
  background: #f1faef;
}

.diagnostic-variants .diagnostic-variant-card p,
.diagnostic-variants .diagnostic-variant-card ul {
  margin: 0;
}

.diagnostic-variants strong {
  display: block;
  margin-top: 12px;
  font-size: 1.25rem;
  font-weight: 900;
}

.diagnostic-variant-cta {
  width: fit-content;
  margin-top: 4px;
  border-radius: 999px;
  padding: 10px 16px;
  background: #2dbf22;
  color: #fff;
  font-weight: 900;
}

.diagnostic-variant-card.is-selected .diagnostic-variant-cta {
  background: #101510;
}

.diagnostic-location-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.diagnostic-location-card,
.diagnostic-video-card {
  overflow: hidden;
  border: 1px solid rgba(8, 15, 10, 0.08);
  border-radius: 8px;
  background: #ededed;
  box-shadow: 0 18px 34px rgba(13, 24, 16, 0.08);
}

.diagnostic-location-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.diagnostic-location-card > div,
.diagnostic-video-card > h3 {
  padding: 28px;
}

.diagnostic-location-card h3,
.diagnostic-video-card h3 {
  position: relative;
  width: fit-content;
  margin: 0;
  padding-bottom: 12px;
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagnostic-location-card h3::after,
.diagnostic-video-card h3::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #84c83a;
  content: "";
}

.diagnostic-location-card p {
  margin-top: 22px;
  color: #343a34;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.diagnostic-address {
  color: #101510 !important;
  font-size: 1.28rem !important;
  font-weight: 800 !important;
}

.diagnostic-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  border: 0;
  background: #dceee8;
}

.diagnostic-video-card {
  display: grid;
  align-content: start;
  justify-items: center;
  padding-bottom: 28px;
}

.diagnostic-video-card .product-video {
  margin-top: 0;
}

.product-video {
  margin-top: 24px;
}

.product-video.is-portrait {
  width: min(100%, 350px);
  margin-right: auto;
  margin-left: auto;
}

.product-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 8px;
  background: #101510;
}

.product-video.is-portrait iframe {
  aspect-ratio: 9 / 16;
}

.detail-facts {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-facts span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
  font-weight: 800;
}

.detail-facts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.quantity-discount-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(8, 15, 10, 0.1);
  border-radius: var(--radius);
  background: #fff;
}

.quantity-discount-card h3 {
  margin: 0;
  padding: 18px 20px 10px;
  font-size: 1.18rem;
}

.quantity-discount-list {
  padding: 0 20px;
}

.quantity-discount-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(92px, auto);
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(8, 15, 10, 0.08);
  color: #353b36;
}

.quantity-discount-row small {
  min-width: 48px;
  border-radius: 999px;
  padding: 5px 8px;
  color: #356e42;
  background: #eaf5eb;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.quantity-discount-row strong {
  text-align: right;
}

.quantity-discount-row.is-active {
  color: var(--ink);
  font-weight: 900;
}

.quantity-discount-row.is-active small {
  color: #fff;
  background: var(--green-strong);
}

.quantity-discount-summary {
  min-height: 82px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 14px 20px;
  background: #eff7ef;
}

.quantity-saving {
  display: grid;
  gap: 3px;
  text-align: right;
}

.quantity-saving span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.quantity-saving strong {
  color: var(--green-strong);
  font-size: 1.25rem;
}

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

.related-products button {
  min-height: 100%;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  text-align: left;
  background: #fff;
}

.related-products img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--soft);
}

.related-products span,
.related-products strong {
  display: block;
  font-weight: 900;
}

.related-products strong {
  grid-column: 2;
  color: var(--muted);
}

.price-row button:disabled,
.detail-buy button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.status.out {
  background: #f8e5e3;
  color: #7a2f2c;
}

.status.warn {
  background: #fff1cf;
  color: #76510d;
}

.status.done {
  background: #dff4e4;
  color: #235f32;
}

.status-toggle {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.status-toggle:hover {
  box-shadow: inset 0 0 0 2px rgba(5, 5, 5, 0.12);
}

.checkout,
.admin {
  margin-top: 32px;
}

.checkout-page {
  padding: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f5f5f5;
}

.checkout-steps strong {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #7f8290;
  font-size: 1.22rem;
  font-weight: 900;
}

.checkout-steps strong.is-active {
  border-radius: 0 26px 0 0;
  color: var(--ink);
  background: #fff;
}

.checkout-steps strong.is-done {
  color: #8b8f9d;
}

.checkout-steps strong.is-done span {
  background: #8b8f9d;
}

.checkout-steps span {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #838796;
}

.checkout-steps .is-active span {
  background: var(--ink);
}

.checkout-panel {
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  gap: 34px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.cart-lines {
  display: grid;
  gap: 28px;
}

.cart-empty {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 34px;
  border: 1px dashed rgba(5, 5, 5, 0.18);
  border-radius: 22px;
  background: #fafafa;
}

.cart-empty strong {
  font-size: 1.65rem;
  font-weight: 900;
}

.cart-empty p {
  max-width: 54ch;
  margin-bottom: 8px;
}

.cart-line {
  display: grid;
  grid-template-columns: 82px minmax(210px, 1.4fr) minmax(150px, 0.8fr) 166px minmax(130px, 0.65fr) minmax(90px, 0.5fr) 42px;
  gap: 18px;
  align-items: center;
  padding: 10px 0 28px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.cart-line img {
  width: 82px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft);
}

.cart-line-title {
  display: grid;
  gap: 8px;
}

.cart-line-title strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.cart-line-title span {
  color: #858897;
  font-size: 0.82rem;
  font-weight: 900;
}

.cart-stock {
  color: #18921d;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-unit-price {
  display: grid;
  gap: 4px;
  color: #858897;
  font-weight: 800;
}

.cart-unit-price small {
  color: var(--green-strong);
  font-size: 0.74rem;
  font-weight: 900;
}

.cart-line-total {
  font-size: 1.08rem;
  font-weight: 900;
  text-align: right;
}

.cart-remove {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #b7bdc9;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.cart-remove:hover {
  color: var(--red);
  background: #fff1f1;
}

.qty-controls {
  min-height: 54px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-radius: var(--radius);
  background: #f2f3f6;
}

.qty-controls button {
  width: 44px;
  height: 54px;
  border: 0;
  border-radius: var(--radius);
  color: #7c8191;
  background: transparent;
  font-size: 1.7rem;
  font-weight: 900;
}

.qty-controls strong {
  min-width: 44px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
}

.cart-delivery-note {
  justify-self: center;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius);
  padding: 12px 28px;
  color: var(--ink);
  background: #f2f3f6;
}

.cart-delivery-note span,
.free-shipping-panel span {
  font-size: 2rem;
  line-height: 1;
}

.cart-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.coupon-panel,
.free-shipping-panel,
.cart-summary {
  min-height: 210px;
  border-radius: 20px;
  padding: 32px;
}

.coupon-panel {
  display: grid;
  align-content: center;
  gap: 26px;
  background: #ffd8df;
}

.coupon-panel strong {
  text-align: center;
  font-size: 1.2rem;
}

.coupon-panel strong span {
  color: #ed1830;
}

.coupon-panel div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.coupon-panel input,
.coupon-panel button {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  padding: 0 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(5, 5, 5, 0.08);
  font-weight: 800;
}

.coupon-panel button {
  min-width: 140px;
  font-weight: 900;
}

.free-shipping-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #e4e9fa;
  box-shadow: inset 20px 0 0 #cdd8f7;
}

.free-shipping-panel p {
  max-width: 25ch;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.free-shipping-panel strong {
  font-weight: 900;
}

.summary.cart-summary {
  margin: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  border-radius: 20px;
  color: var(--ink);
  background: #e5f5df;
}

.summary.cart-summary span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #767e8f;
  font-weight: 800;
}

.summary.cart-summary span:first-child {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.summary.cart-summary span:first-child strong,
.summary.cart-summary .total strong {
  color: #55a73e;
  font-size: 1.8rem;
  font-weight: 900;
}

.summary.cart-summary .total {
  padding-top: 8px;
  color: var(--ink);
}

.summary.cart-summary .btn {
  min-height: 64px;
  margin-top: 10px;
  border-radius: 999px;
  background: #28bd12;
  font-size: 1.22rem;
}

.checkout-step-panel {
  margin: 0;
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
  background: #fff;
}

.checkout-methods-main {
  display: grid;
  gap: 38px;
}

.checkout-method-group,
.checkout-customer-form {
  display: grid;
  gap: 16px;
}

.checkout-method-group h3,
.checkout-customer-form h3,
.checkout-step-summary h3 {
  margin-bottom: 6px;
  font-size: 1.8rem;
}

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

.method-option {
  min-height: 84px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #ccd3df;
  border-radius: 18px;
  padding: 18px 24px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.method-option.is-selected {
  border-color: #8bd47e;
  background: #e9f9e5;
}

.method-option span {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd2df;
  border-radius: 999px;
  background: #fff;
}

.method-option.is-selected span {
  border-color: #62c848;
  background:
    radial-gradient(circle at center, #62c848 0 44%, transparent 46%),
    #fff;
}

.method-option strong {
  font-size: 1rem;
  font-weight: 800;
}

.method-option b {
  color: #4f9a3c;
  font-size: 1.05rem;
  font-weight: 900;
  white-space: nowrap;
}

.packeta-pickup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #cdd8cf;
  border-radius: 12px;
  padding: 16px 18px;
  background: #f7fbf4;
}

.packeta-pickup-panel strong,
.packeta-pickup-panel span {
  display: block;
}

.packeta-pickup-panel strong {
  font-size: 0.98rem;
}

.packeta-pickup-panel span {
  margin-top: 4px;
  color: #5f6a5c;
  font-size: 0.88rem;
}

.packeta-pickup-panel button {
  min-height: 38px;
  border: 1px solid #adc2ad;
  border-radius: 8px;
  padding: 8px 12px;
  color: #142114;
  background: #fff;
  font-weight: 800;
}

.packeta-admin-test {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.packeta-admin-test span {
  color: #5f6a5c;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .packeta-pickup-panel {
    grid-template-columns: 1fr;
  }

  .packeta-pickup-panel button {
    width: 100%;
  }
}

.checkout-customer-form label {
  max-width: 620px;
}

.checkout-step-summary {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 18px;
  border-radius: 20px;
  padding: 28px;
  background: #e5f5df;
}

.checkout-step-summary [data-checkout-recap-lines],
.checkout-step-totals {
  display: grid;
  gap: 12px;
}

.checkout-step-summary span {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: baseline;
  color: #69717d;
  font-weight: 800;
}

.checkout-step-summary em {
  color: var(--ink);
  font-style: normal;
}

.checkout-step-summary b,
.checkout-step-summary strong {
  color: var(--ink);
  font-weight: 900;
}

.checkout-step-totals {
  border-top: 1px solid rgba(5, 5, 5, 0.12);
  padding-top: 16px;
}

.checkout-step-totals span {
  grid-template-columns: 1fr auto;
}

.checkout-step-totals span:last-child strong {
  color: #55a73e;
  font-size: 1.7rem;
}

.checkout-step-summary .btn {
  width: 100%;
  min-height: 54px;
}

.customer-zone {
  width: min(var(--max), calc(100% - 32px));
  margin: 32px auto 56px;
}

.customer-zone-login {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(201, 234, 206, 0.12), transparent 42%),
    #050505;
  box-shadow: var(--shadow);
}

.customer-zone-login > div {
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  align-content: center;
}

.customer-zone-login h1 {
  color: #fff;
  text-transform: uppercase;
}

.customer-zone-login p:not(.eyebrow) {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.72);
}

.customer-login-card {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.96);
}

.customer-login-card .customer-login-logo {
  width: min(100%, 280px);
  height: auto;
  margin: 0 0 14px;
  padding: 0;
  justify-self: center;
  background: transparent;
}

.customer-login-card small {
  color: var(--muted);
  font-weight: 800;
}

.customer-account {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.customer-account-nav,
.customer-account-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(5, 5, 5, 0.08);
}

.customer-account-nav {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.customer-account-nav h2 {
  margin-bottom: 6px;
  font-size: 2.1rem;
}

.customer-account-nav span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 900;
}

.customer-account-nav button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.customer-account-nav button:hover,
.customer-account-nav button.is-active {
  background: var(--green);
}

.customer-account-content {
  min-height: 560px;
  padding: clamp(22px, 4vw, 42px);
}

.customer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.customer-metrics article,
.customer-card,
.customer-order-list article,
.customer-address-grid article,
.customer-favorites article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.customer-metrics article {
  padding: 18px;
}

.customer-metrics span,
.customer-address-grid span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.customer-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.9rem;
  font-weight: 900;
}

.customer-card {
  margin-top: 16px;
  padding: 22px;
}

.customer-card h3 {
  font-size: 1.55rem;
}

.customer-feature-grid,
.customer-address-grid,
.customer-favorites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customer-feature-grid span {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--soft);
  font-weight: 900;
}

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

.customer-order-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding: 16px;
}

.customer-order-list article p,
.customer-order-list article small {
  grid-column: 1 / -1;
}

.customer-order-list span,
.customer-order-list small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.customer-order-list b {
  font-size: 1.1rem;
}

.customer-address-grid article {
  padding: 16px;
}

.customer-address-grid strong {
  display: block;
  margin-top: 8px;
}

.customer-favorites article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 12px;
}

.customer-favorites img {
  width: 78px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.customer-favorites span,
.customer-favorites button {
  grid-column: 2;
}

.customer-favorites button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green);
  font-weight: 900;
}

.admin-shell {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 292px 1fr;
  max-width: 100%;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

.admin {
  scroll-margin-top: 180px;
}

.admin-nav {
  position: relative;
  align-self: start;
  padding: 18px 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(201, 234, 206, 0.12), transparent 38%),
    linear-gradient(180deg, #050505 0%, #10140f 54%, #050505 100%);
  color: #fff;
}

.admin-nav::before {
  content: "";
  position: absolute;
  right: -72px;
  bottom: 72px;
  width: 260px;
  aspect-ratio: 197.7 / 131;
  background: url("./assets/unlimited-performance-white-transparent.png") center / contain no-repeat;
  opacity: 0.035;
  transform: rotate(-10deg);
  pointer-events: none;
}

.admin-nav > * {
  position: relative;
}

.admin-nav-brand {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-nav-brand .brand-wordmark {
  max-width: 210px;
  font-size: 0.92rem;
}

.admin-nav-brand span {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid rgba(201, 234, 206, 0.36);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-nav button {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 11px;
  text-align: left;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font-weight: 900;
  line-height: 1.15;
}

.admin-nav button.is-active {
  color: #101510;
  background: var(--green);
  border-color: var(--green);
}

.admin-menu-list {
  display: grid;
  gap: 0;
}

.admin-menu-group {
  margin-top: 4px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.admin-menu-group.is-active {
  background: transparent;
}

.admin-nav .admin-menu-parent {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border-color: transparent;
}

.admin-nav .admin-menu-parent::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  display: block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: rgba(201, 234, 206, 0.88);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.admin-menu-group.is-open .admin-menu-parent::after {
  transform: rotate(-135deg);
}

.admin-menu-group.is-active .admin-menu-parent {
  color: var(--green);
}

.admin-subnav {
  display: none;
  gap: 2px;
  margin: 1px 0 7px 12px;
  padding: 3px 0 3px 12px;
  border-left: 1px solid rgba(201, 234, 206, 0.32);
}

.admin-menu-group.is-open .admin-subnav {
  display: grid;
}

.admin-subnav-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.admin-subnav-group-label::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.admin-subnav-group-label[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.admin-subnav-group-items {
  display: none;
  gap: 2px;
  padding-left: 14px;
}

.admin-subnav-group-items.is-open {
  display: grid;
}

.admin-nav .admin-subnav button {
  min-height: 31px;
  margin-top: 0;
  padding: 6px 9px;
  border-color: transparent;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.admin-nav .admin-subnav button.is-active {
  color: #101510;
  background: var(--green);
}

.admin-menu-products.is-open {
  margin: 8px -4px 8px;
  padding: 8px;
  border: 1px solid rgba(19, 174, 234, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(228, 246, 255, 0.95), rgba(228, 246, 255, 0.86));
}

.admin-menu-products.is-open .admin-menu-parent {
  min-height: 42px;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 9px 12px;
  color: #13aeea;
  background: rgba(201, 234, 206, 0.92);
  font-size: 1.08rem;
}

.admin-menu-products.is-open .admin-menu-parent::after {
  margin-left: auto;
  color: #13aeea;
}

.admin-menu-products.is-open .admin-subnav {
  gap: 2px;
  margin: 10px 0 2px;
  padding: 0 0 0 12px;
  border-left: 2px solid rgba(19, 174, 234, 0.22);
}

.admin-nav .admin-menu-products.is-open .admin-subnav button {
  min-height: 36px;
  border-radius: 8px;
  padding: 7px 10px;
  color: #101510;
  background: transparent;
  font-size: 0.94rem;
  line-height: 1.12;
}

.admin-nav .admin-menu-products.is-open .admin-subnav button.is-active {
  position: relative;
  color: #13aeea;
  background: rgba(255, 255, 255, 0.62);
}

.admin-nav .admin-menu-products.is-open .admin-subnav button.is-active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: #13aeea;
}

.admin-menu-products.is-open {
  margin: 4px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.admin-menu-products.is-open .admin-menu-parent {
  min-height: 40px;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--green);
  background: transparent;
  font-size: 1rem;
}

.admin-menu-products.is-open .admin-menu-parent::after {
  margin-left: 0;
  color: rgba(201, 234, 206, 0.88);
}

.admin-menu-products.is-open .admin-subnav {
  gap: 2px;
  margin: 1px 0 7px 12px;
  padding: 3px 0 3px 12px;
  border-left: 1px solid rgba(201, 234, 206, 0.32);
}

.admin-nav .admin-menu-products.is-open .admin-subnav button {
  min-height: 31px;
  border-radius: 6px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 0.86rem;
  line-height: 1.15;
}

.admin-nav .admin-menu-products.is-open .admin-subnav button.is-active {
  color: #101510;
  background: var(--green);
}

.admin-content {
  min-width: 0;
  min-height: 620px;
  padding: 28px;
  overflow: hidden;
}

.admin-panel {
  display: none;
  min-width: 0;
}

.admin-panel.is-active {
  display: block;
}

.blog-admin-summary { margin: 20px 0; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; background: #eef7ec; border: 1px solid #a8d4ae; border-radius: 7px; }
.blog-admin-summary span { color: var(--muted); font-weight: 700; }
.blog-admin-summary a { color: var(--green-strong); font-weight: 900; }
.blog-admin-list { display: grid; gap: 10px; }
.blog-admin-row { min-width: 0; padding: 12px; display: grid; grid-template-columns: 150px minmax(260px, 1fr) 130px auto; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.blog-admin-row.is-hidden { opacity: .55; background: #ecefeb; }
.blog-admin-row > img { width: 150px; aspect-ratio: 1.55; object-fit: cover; border-radius: 5px; }
.blog-admin-row-copy { min-width: 0; }
.blog-admin-row-copy > div { display: flex; flex-wrap: wrap; gap: 10px; color: var(--green-strong); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.blog-admin-row-copy time { color: var(--muted); }
.blog-admin-row-copy strong { margin-top: 6px; display: block; font-size: 1.08rem; }
.blog-admin-row-copy p { margin: 5px 0 0; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.blog-admin-row-state, .blog-admin-row-actions { display: grid; gap: 8px; }
.blog-admin-row-actions button { min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-weight: 900; }
.blog-admin-featured { padding: 6px 8px; color: #6b5700; background: #fff2b6; border-radius: 5px; text-align: center; font-size: .72rem; font-weight: 900; }
.blog-admin-editor { margin-top: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.blog-admin-editor-head { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.blog-admin-editor-head div { display: grid; gap: 4px; }
.blog-admin-editor-head span { color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.blog-admin-editor-head strong { font-size: 1.35rem; }
.blog-admin-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.blog-admin-form-grid .wide { grid-column: 1 / -1; }
.blog-admin-form-grid input, .blog-admin-form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; background: #fff; color: var(--ink); }
.blog-admin-form-grid textarea { resize: vertical; line-height: 1.55; }
.blog-admin-check { display: flex; align-items: center; gap: 9px; min-height: 48px; }
.blog-admin-check input { width: 20px; height: 20px; accent-color: var(--green-strong); }
.blog-admin-media { margin-top: 14px; padding: 14px; display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; background: var(--surface); border-radius: 6px; }
.blog-admin-media img { width: 240px; aspect-ratio: 1.5; object-fit: cover; border-radius: 5px; }
.blog-admin-actions { margin-top: 24px; display: flex; gap: 10px; }
.blog-admin-actions a { text-decoration: none; }

.module-actions {
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-actions button {
  min-height: 38px;
  border: 1px solid rgba(111, 160, 121, 0.35);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.module-actions button:hover {
  background: var(--green);
  border-color: var(--green);
}

.module-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

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

.deployment-safety-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.deployment-safety-grid span,
.deployment-safety-grid strong {
  display: block;
}

.deployment-safety-grid span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deployment-safety-grid strong {
  font-size: 1.05rem;
}

.deployment-safety-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.category-form[hidden] {
  display: none;
}

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

.category-manager {
  display: grid;
  gap: 18px;
}

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

.category-summary article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.category-summary span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.category-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 2rem;
}

.category-tree {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.category-tree-item {
  margin-left: calc(var(--level) * 28px);
}

.category-tree-item[draggable="true"] {
  cursor: grab;
}

.category-tree-item.is-dragging {
  opacity: 0.45;
}

.category-tree-item.is-drop-target .category-tree-row {
  background: rgba(201, 234, 206, 0.38);
  box-shadow: inset 0 0 0 2px rgba(127, 201, 139, 0.45);
}

.category-tree-row {
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(260px, 1fr) auto auto auto auto minmax(220px, auto);
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  padding: 8px 0;
}

.category-tree-item:last-child > .category-tree-row {
  border-bottom-color: transparent;
}

.category-tree-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 6px, rgba(5, 5, 5, 0.28) 6px 8px, transparent 8px 13px, rgba(5, 5, 5, 0.28) 13px 15px, transparent 15px 100%),
    linear-gradient(180deg, rgba(201, 234, 206, 0.9), #fff);
  cursor: grab;
}

.category-tree-toggle {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.category-tree-toggle:disabled {
  border-color: transparent;
  background: transparent;
}

.category-tree-name {
  position: relative;
}

.category-tree-item[style*="--level: 1"] .category-tree-name::before,
.category-tree-item[style*="--level: 2"] .category-tree-name::before,
.category-tree-item[style*="--level: 3"] .category-tree-name::before {
  content: "└";
  position: absolute;
  left: -26px;
  top: 0;
  color: rgba(5, 5, 5, 0.45);
  font-weight: 900;
}

.category-tree-name strong,
.category-tree-name span {
  display: block;
}

.category-tree-name span {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.category-tree-name small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.category-tree-item.is-hidden .category-tree-name {
  opacity: 0.48;
}

.metrics,
.document-metrics,
.admin-grid,
.integration-grid,
.content-grid,
.invoice-layout,
.export-grid {
  display: grid;
  gap: 14px;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.sales-overview {
  margin: 18px 0 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.sales-overview article {
  min-height: 136px;
  padding: 22px 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.sales-overview article:first-child {
  border-left: 0;
}

.sales-overview article.is-current {
  position: relative;
  color: #fff;
  background: #19aee4;
}

.sales-overview article.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 18px;
  height: 18px;
  background: inherit;
  transform: translate(-50%, 50%) rotate(45deg);
}

.sales-overview span,
.sales-overview small {
  color: var(--muted);
  font-weight: 900;
}

.sales-overview article.is-current span,
.sales-overview article.is-current small {
  color: rgba(255, 255, 255, 0.92);
}

.sales-overview strong {
  display: block;
  color: var(--black);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}

.sales-overview article.is-current strong {
  color: #fff;
}

.sales-overview small {
  font-size: 1.05rem;
}

.sales-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.chart-panel {
  min-width: 0;
  padding: 24px 24px 18px;
  border-left: 1px solid var(--line);
}

.chart-panel:first-child {
  border-left: 0;
}

.chart-panel h3 {
  margin: 0 0 18px;
  color: #13aeea;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.05;
  text-align: center;
}

.chart-panel svg {
  width: 100%;
  min-height: 300px;
  display: block;
}

.chart-panel line {
  stroke: rgba(5, 5, 5, 0.08);
  stroke-width: 1;
}

.chart-panel .hour-line {
  stroke: rgba(5, 5, 5, 0.055);
}

.chart-panel text {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chart-panel .hour-label {
  font-size: 12px;
}

.document-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.metrics article,
.document-metrics article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.document-metrics article {
  min-height: 92px;
}

.metrics span,
.document-metrics span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.metrics strong,
.document-metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 2.25rem;
  line-height: 1;
}

.admin-grid,
.content-grid,
.invoice-layout,
.export-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 16px;
}

.operation-card,
.content-grid article {
  padding: 18px;
}

.admin-dark-card {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(201, 234, 206, 0.16), transparent 42%),
    var(--black);
}

.admin-dark-card p,
.admin-dark-card .check-row {
  color: rgba(255, 255, 255, 0.78);
}

.admin-dark-card .check-row {
  border-color: var(--dark-line);
}

.check-row,
.integration-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-form {
  margin: 20px 0;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-form label {
  min-width: 0;
  margin: 0;
}

.product-form input,
.product-form select,
.product-form textarea {
  min-width: 0;
  max-width: 100%;
}

.product-form select[multiple] {
  min-height: 150px;
}

.product-form select[multiple] option {
  padding: 7px 8px;
}

.product-editor-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 8px;
  max-width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.product-editor-tabs button {
  flex: 0 1 auto;
  min-height: 44px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 10px 14px;
  background: #f3f4f1;
  color: var(--ink);
  font-weight: 900;
}

.product-editor-tabs button.is-active {
  background: #fff;
  color: #19aee4;
  box-shadow: inset 0 4px 0 var(--green-strong);
}

.product-editor-panel {
  grid-column: 1 / -1;
  display: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.product-editor-panel.is-active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.product-editor-panel legend {
  padding: 0 8px;
  color: #19aee4;
  font-weight: 900;
}

.product-editor-panel .wide,
.product-editor-panel .product-settings {
  grid-column: 1 / -1;
}

.item-type-picker {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.item-type-picker > legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.item-type-picker > label {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: #fff;
  cursor: pointer;
}

.item-type-picker > label:has(input:checked) {
  border-color: var(--green-strong);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px var(--green-strong);
}

.item-type-picker input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green-strong);
}

.item-type-picker strong,
.item-type-picker small {
  display: block;
}

.item-type-picker small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.product-editor-panel textarea {
  min-height: 110px;
}

.product-editor-panel[data-product-editor-panel="main"] textarea[name="description"] {
  min-height: 220px;
}

.gallery-source-field {
  display: none;
}

.product-main-image-field {
  gap: 10px;
}

.product-main-image-field .category-image-input-row input {
  display: none;
}

.product-main-image-field img {
  width: 112px;
  height: 112px;
  display: block;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

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

.gallery-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gallery-toolbar .btn {
  margin: 0;
  cursor: pointer;
}

.product-gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.product-gallery-list > p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.product-gallery-item {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-gallery-item img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.product-gallery-item .icon-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.product-gallery-item span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--green-strong);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.editor-note,
.parameter-section p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.product-category-tree {
  display: grid;
  gap: 10px;
}

.product-category-node {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-category-node .category-check {
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: transparent;
}

.product-category-node .category-check small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-category-node ul {
  margin: 0;
  padding: 0 14px 12px 44px;
  color: var(--muted);
  font-weight: 800;
}

.product-category-node li {
  margin: 5px 0;
}

.parameter-section {
  display: grid;
  gap: 10px;
}

.parameter-section h4 {
  margin: 0;
  color: #19aee4;
  font-size: 1.35rem;
}

.parameter-table {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.parameter-head,
.parameter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 48px;
  gap: 0;
  min-width: 740px;
}

[data-parameter-table="filter"] .parameter-head,
[data-parameter-table="filter"] .parameter-row {
  grid-template-columns: 1fr 1fr 48px;
}

.parameter-head span {
  padding: 12px;
  border-bottom: 4px solid #19aee4;
  background: #f1f1f1;
  font-weight: 900;
  text-align: center;
}

.parameter-row {
  align-items: center;
  background: #fff;
}

.parameter-row input {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.parameter-row .icon-button {
  justify-self: center;
}

.product-form .wide,
.product-settings,
.form-actions {
  grid-column: 1 / -1;
}

.product-category-picker {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-category-picker legend {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 900;
}

.category-checkbox-grid {
  max-height: 260px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-right: 4px;
}

.category-check {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.category-check span {
  overflow-wrap: anywhere;
}

.product-settings {
  margin: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 14px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-settings legend {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 900;
}

.bundle-settings {
  grid-template-columns: 1fr;
}

.bundle-settings p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.bundle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
}

.product-settings .bundle-row label {
  display: grid;
  align-items: start;
  gap: 6px;
}

.product-settings label {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.product-settings input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--green-strong);
}

.product-settings .max-discount {
  align-items: stretch;
  flex-direction: column;
}

.flag-toggle {
  min-width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 900;
}

.flag-toggle input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--green-strong);
}

.flag-toggle span {
  min-width: 26px;
  color: var(--muted);
  font-size: 0.84rem;
}

.table-number-input {
  width: 78px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  text-align: right;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

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

.admin-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-table.embedded {
  max-height: 430px;
}

.admin-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-product-table {
  min-width: 1520px;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-product-table th,
.admin-product-table td {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.admin-product-table th:first-child,
.admin-product-table td:first-child,
.admin-product-table th:last-child,
.admin-product-table td:last-child {
  text-align: left;
}

.admin-product-table th:first-child,
.admin-product-table td:first-child {
  position: sticky;
  left: 0;
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  background: #fff;
  box-shadow: 10px 0 16px -16px rgba(12, 20, 16, 0.7);
}

.admin-product-table th:first-child {
  z-index: 4;
  background: var(--soft);
}

.admin-product-table td:first-child {
  z-index: 2;
}

.admin-product-table tr.is-recently-saved > td {
  background-color: #e8f7ea;
  animation: saved-product-highlight 900ms ease-out both;
}

.admin-product-table tr.is-recently-saved > td:first-child {
  background-color: #e8f7ea;
  box-shadow: inset 5px 0 0 #6dbd7b, 10px 0 16px -16px rgba(12, 20, 16, 0.7);
}

@keyframes saved-product-highlight {
  0% {
    background-color: #c9edcf;
  }
  100% {
    background-color: #e8f7ea;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-product-table tr.is-recently-saved > td {
    animation: none;
  }
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-product-cell {
  white-space: normal !important;
}

.product-open-button {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.product-open-button > div {
  min-width: 0;
}

.product-open-button strong,
.product-open-button span,
.product-open-button small {
  display: block;
  overflow-wrap: anywhere;
}

.product-open-button:hover strong {
  color: var(--green-strong);
}

.admin-product-cell img,
.product-open-button img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.admin-product-cell strong,
.admin-product-cell span,
.admin-product-cell small {
  display: block;
}

.admin-product-cell strong {
  color: var(--ink);
}

.admin-product-cell span,
.admin-product-cell small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.admin-product-cell small {
  font-size: 0.82rem;
}

.matrix-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 0;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.matrix-toggle::before {
  font-size: 1rem;
  line-height: 1;
}

.matrix-toggle.is-on {
  background: #249b12;
}

.matrix-toggle.is-on::before {
  content: "✓";
}

.matrix-toggle.is-off {
  background: #969a96;
}

.matrix-toggle.is-off::before {
  content: "×";
}

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

.price-admin-toolbar {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(140px, 1fr)) auto auto auto;
  gap: 10px;
  align-items: end;
}

.price-admin-toolbar label {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.price-admin-toolbar input,
.price-admin-toolbar select {
  margin-top: 6px;
}

.price-admin-toolbar button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: #fff;
  font-weight: 900;
}

.price-admin-toolbar .primary-action {
  border-color: transparent;
  background: var(--green);
}

.price-admin-note {
  margin-bottom: 14px;
  border: 1px solid rgba(127, 201, 139, 0.36);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(201, 234, 206, 0.22);
  color: var(--muted);
  font-weight: 800;
}

.price-admin-table {
  min-width: 1840px;
}

.price-admin-table th,
.price-admin-table td {
  vertical-align: middle;
}

.price-admin-table input[type="number"],
.price-admin-table select {
  min-height: 42px;
  padding: 8px 10px;
}

.price-admin-table input[type="number"] {
  width: 116px;
  text-align: right;
}

.price-product-cell {
  min-width: 300px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
}

.price-product-cell img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.price-product-cell strong,
.price-product-cell span {
  display: block;
}

.price-product-cell span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.customer-pricelist-layout {
  display: grid;
  gap: 18px;
}

.compact-form {
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(150px, 0.7fr));
}

.customer-pricelist-table {
  min-width: 1120px;
}

.customer-pricelist-table th,
.customer-pricelist-table td {
  vertical-align: middle;
}

.customer-pricelist-table tr.is-active td {
  background: rgba(201, 234, 206, 0.22);
}

.customer-pricelist-table .link-button {
  border: 0;
  padding: 0;
  color: #005bd8;
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.customer-pricelist-table .link-button:hover {
  color: var(--green-strong);
}

.pricelist-product-editor {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.pricelist-product-editor .section-head {
  margin-bottom: 14px;
}

.pricelist-product-editor .section-head h3 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
}

.pricelist-product-editor .section-head p {
  max-width: 72ch;
  color: var(--muted);
  font-weight: 800;
}

.pricelist-product-table {
  min-width: 1320px;
}

.pricelist-product-table input[type="number"] {
  width: 130px;
  min-height: 42px;
  text-align: right;
}

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

.product-editor {
  margin-bottom: 18px;
}

.product-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-editor-head h3 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.row-actions {
  min-width: 230px;
}

.row-actions button {
  margin: 0 6px 6px 0;
}

.row-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.menu-editor-table td span {
  color: var(--muted);
  font-weight: 800;
}

.orders-table {
  min-width: 1240px;
}

.order-row td {
  vertical-align: middle;
}

.order-row td span,
.order-history-row p {
  color: var(--muted);
  font-weight: 800;
}

.order-history-row td {
  padding-top: 0;
  background: #fbfcf8;
}

.order-history-row details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.order-history-row summary {
  min-height: 42px;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 900;
}

.order-detail-grid {
  padding: 0 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 14px;
}

.order-detail-grid h4 {
  margin: 8px 0;
}

.order-detail-grid p {
  margin: 6px 0;
}

.pos-cart-card {
  align-self: start;
  position: sticky;
  top: 18px;
}

.pos-register {
  display: grid;
  gap: 18px;
}

.pos-register-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 0.72fr);
  gap: 12px;
  align-items: end;
}

.pos-search {
  position: relative;
}

.pos-search > span,
.pos-customer-button span,
.pos-customer-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pos-search input,
.pos-customer input,
.pos-customer-search input {
  min-height: 56px;
  font-size: 1rem;
}

.pos-custom-item {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 110px auto;
  gap: 8px;
}

.pos-custom-item input,
.pos-custom-item button {
  min-height: 56px;
}

.pos-custom-item button,
.pos-category-chips button,
.pos-product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
}

.pos-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pos-category-chips button {
  min-height: 38px;
  padding: 7px 12px;
}

.pos-category-chips button.is-active,
.pos-category-chips button:hover {
  background: var(--green);
  border-color: rgba(111, 160, 121, 0.36);
}

.pos-favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 900;
}

.pos-favorites-head strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.pos-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.pos-product-card {
  min-height: 210px;
  display: grid;
  grid-template-rows: 96px auto 1fr auto;
  gap: 8px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}

.pos-product-card:hover {
  border-color: rgba(127, 201, 139, 0.72);
  box-shadow: 0 14px 30px rgba(5, 5, 5, 0.08);
  transform: translateY(-1px);
}

.pos-product-card:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.pos-product-card img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--soft);
}

.pos-product-card span,
.pos-product-card small {
  color: var(--muted);
  font-weight: 900;
}

.pos-product-card strong {
  color: var(--ink);
  line-height: 1.2;
}

.pos-customer-button {
  width: 100%;
  min-height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.pos-customer-button:hover {
  border-color: rgba(127, 201, 139, 0.7);
  background: var(--soft);
}

.pos-customer-button strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pos-discount-box {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.pos-discount-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 900;
}

.pos-discount-head strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.pos-discount-head button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.pos-coupon-form,
.pos-manual-discount-form {
  display: grid;
  gap: 8px;
}

.pos-coupon-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.pos-manual-discount-form {
  grid-template-columns: 74px minmax(0, 1fr) auto;
}

.pos-coupon-form input,
.pos-manual-discount-form input,
.pos-manual-discount-form select,
.pos-coupon-form button,
.pos-manual-discount-form button {
  min-height: 46px;
}

.pos-coupon-form button,
.pos-manual-discount-form button {
  border: 1px solid rgba(111, 160, 121, 0.4);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.pos-discount-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.pos-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 5, 5, 0.42);
}

.pos-customer-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 80;
  width: min(760px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(5, 5, 5, 0.28);
  transform: translate(-50%, -50%);
}

.pos-customer-modal-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 64px;
  position: relative;
}

.pos-customer-modal-head h3 {
  margin: 0;
}

.pos-customer-modal-head button {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.pos-customer-search {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.pos-customer-results {
  display: grid;
  gap: 8px;
  padding: 18px 22px;
  overflow: auto;
}

.pos-customer-results button {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  text-align: left;
}

.pos-customer-results button:hover {
  border-color: rgba(127, 201, 139, 0.7);
  background: var(--soft);
}

.pos-customer-results span,
.pos-customer-results small {
  color: var(--muted);
  font-weight: 800;
}

.pos-new-customer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
  background: var(--soft);
}

.pos-new-customer-form.is-expanded {
  grid-template-columns: 1fr;
  gap: 16px;
  background: #fff;
}

.pos-new-customer-form h4,
.pos-new-customer-form > button,
.pos-new-customer-actions {
  grid-column: 1 / -1;
}

.pos-new-customer-form h4 {
  margin: 0 0 2px;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.pos-new-customer-form label,
.pos-customer-groups {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.pos-new-customer-form label span,
.pos-customer-groups legend {
  color: var(--ink);
  font-weight: 900;
}

.pos-new-customer-form label strong {
  color: #f00;
}

.pos-new-customer-form input,
.pos-new-customer-form select,
.pos-new-customer-form button {
  min-height: 52px;
}

.pos-phone-field {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 8px;
}

.pos-customer-groups {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.pos-customer-groups legend {
  margin-bottom: 8px;
}

.pos-customer-groups label {
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid var(--line);
}

.pos-customer-groups label:first-of-type {
  border-top: 0;
}

.pos-customer-groups input,
.pos-company-toggle input {
  width: 24px;
  min-height: 24px;
  accent-color: #1573ff;
}

.pos-company-toggle {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.pos-company-toggle input {
  position: relative;
  width: 58px;
  min-height: 34px;
  appearance: none;
  border: 2px solid #8d8a84;
  border-radius: 999px;
  background: #f6f4ed;
  cursor: pointer;
}

.pos-company-toggle input::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #8d8a84;
  transition: transform 0.18s ease, background 0.18s ease;
}

.pos-company-toggle input:checked {
  border-color: #1573ff;
  background: #e7f0ff;
}

.pos-company-toggle input:checked::before {
  transform: translateX(24px);
  background: #1573ff;
}

.pos-new-customer-form button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
}

.pos-new-customer-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.pos-new-customer-actions button[type="submit"] {
  border-color: #1573ff;
  background: #1573ff;
  color: #fff;
}

.pos-empty-cart {
  min-height: 140px;
  display: grid;
  place-items: center;
  gap: 6px;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

.pos-empty-cart strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
}

.pos-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.pos-line span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.pos-summary {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.pos-summary span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 900;
}

.pos-summary strong {
  color: var(--ink);
}

.pos-total {
  margin: 18px 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--black);
}

.pos-total span,
.pos-total strong {
  font-weight: 900;
}

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

.pos-actions button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
  font-weight: 900;
}

.pos-actions button:first-child {
  color: #101510;
  background: var(--green);
  border-color: rgba(111, 160, 121, 0.36);
}

.settings-list,
.flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.settings-list {
  padding-left: 0;
}

.settings-list span {
  display: block;
}

.flow-list {
  padding-left: 20px;
}

.mail-preview {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.mail-preview article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mail-preview span {
  display: block;
  margin: 6px 0 10px;
  color: var(--muted);
  font-weight: 800;
}

.mail-preview pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  color: #2c332a;
  font-family: var(--font-main);
  line-height: 1.55;
}

.document-empty {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.document-empty strong {
  display: block;
  margin-bottom: 8px;
}

.document-empty p,
.export-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.integration-card {
  min-height: 150px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(5, 5, 5, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  h1,
  .shop-hero h1 {
    font-size: 4.6rem;
  }

  h2,
  .line-showcase h2 {
    font-size: 2.8rem;
  }

  .login-card h1 {
    font-size: 3.8rem;
  }

  .header-main,
  .shop-hero,
  .shop-layout,
  .checkout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .shop-hero {
    min-height: 560px;
    align-items: center;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    max-height: none;
  }

  .hero-copy {
    width: min(60%, 600px);
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(3, 6, 4, 0.94) 0%, rgba(3, 6, 4, 0.86) 34%, rgba(3, 6, 4, 0.48) 58%, rgba(3, 6, 4, 0.06) 82%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 62%, rgba(0, 0, 0, 0.3));
  }

  .admin-menu-products.is-open {
    margin-inline: 0;
  }

  .admin-nav .admin-menu-products.is-open .admin-subnav button {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .filters {
    position: static;
  }

  .product-grid,
  .integration-grid,
  .category-summary,
  .deployment-safety-grid,
  .promo-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-section-grid {
    grid-auto-columns: minmax(168px, 198px);
  }

  .homepage-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .homepage-section-head h2 {
    font-size: 2.2rem;
  }

  .description-highlight-grid,
  .diagnostic-variants,
  .diagnostic-info-grid,
  .diagnostic-location-media {
    grid-template-columns: 1fr;
  }

  .homepage-section-grid {
    grid-auto-columns: minmax(168px, 198px);
  }

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

  .checkout-steps strong {
    min-height: 76px;
    gap: 10px;
    font-size: 1rem;
  }

  .cart-line {
    grid-template-columns: 74px minmax(180px, 1fr) minmax(130px, auto);
  }

  .cart-line img {
    width: 74px;
  }

  .cart-stock,
  .cart-unit-price,
  .cart-line-total,
  .cart-remove {
    justify-self: end;
  }

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

  .checkout-step-panel,
  .checkout-controls {
    grid-template-columns: 1fr;
  }

  .checkout-step-summary {
    position: static;
  }

  .customer-zone-login,
  .customer-account {
    grid-template-columns: 1fr;
  }

  .customer-account-nav {
    position: static;
  }

  .detail-main,
  .detail-tabs {
    grid-template-columns: 1fr;
  }

  .sales-chart {
    grid-template-columns: 1fr;
  }

  .chart-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .chart-panel:first-child {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .cloud-catalog-status {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  h1,
  .shop-hero h1,
  .login-card h1 {
    font-size: 3.35rem;
    line-height: 0.98;
  }

  h2,
  .line-showcase h2 {
    font-size: 2.25rem;
  }

  .topbar {
    display: none;
  }

  .header-main {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .brand img {
    width: 190px;
  }

  .search-box {
    grid-column: 1 / -1;
    order: 3;
  }

  .quick-nav {
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.8rem;
  }

  .quick-nav a {
    flex: 1 1 auto;
    min-height: 36px;
    padding: 8px 7px;
    text-align: center;
  }

  .cart-button {
    min-height: 38px;
    padding: 8px 10px;
  }

  .login-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    min-height: 260px;
  }

  .login-form-panel {
    padding: 24px;
  }

  .quick-nav,
  .line-nav {
    flex-wrap: wrap;
  }

  .category-bar {
    min-height: 52px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0 9px;
  }

  .category-bar button,
  .category-more summary {
    min-height: 34px;
    font-size: 0.72rem;
  }

  .category-more {
    margin-left: 0;
  }

  .category-more div {
    right: 0;
    min-width: min(280px, calc(100vw - 32px));
  }

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

  .cart-drawer-backdrop {
    display: none;
  }

  .cart-drawer-panel {
    padding: 22px;
  }

  .cart-drawer-head h2 {
    font-size: 2rem;
  }

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

  .cart-preview-line img {
    width: 56px;
  }

  .cart-preview-line b {
    grid-column: 2;
  }

  .line-nav {
    gap: 18px;
  }

  .line-nav button {
    min-height: 42px;
    font-size: 0.94rem;
  }

  .shop-hero,
  .admin-content,
  .detail-main,
  .detail-tabs article {
    padding: 20px;
  }

  .shop-hero {
    min-height: 630px;
    margin-top: 16px;
    padding: 28px 20px 156px;
    align-items: flex-start;
    background: #050705;
  }

  .hero-copy {
    width: 100%;
  }

  .shop-hero h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: 118%;
    max-height: none;
    object-position: 30% 72%;
    padding: 0;
  }

  .hero-media img.hero-slide-power-weight {
    height: 112%;
    object-position: 44% 69%;
  }

  .hero-media img.hero-slide-sport {
    height: 112%;
    object-position: 46% 71%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(3, 6, 4, 0.95) 0%, rgba(3, 6, 4, 0.9) 46%, rgba(3, 6, 4, 0.58) 68%, rgba(3, 6, 4, 0.12) 100%),
      linear-gradient(90deg, rgba(3, 6, 4, 0.3), transparent 70%);
  }

  .stock-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 12px;
  }

  .stock-card strong {
    font-size: 0.98rem;
  }

  .checkout-page {
    padding: 0;
  }

  .checkout-steps {
    grid-template-columns: 1fr;
  }

  .checkout-steps strong {
    min-height: 58px;
    justify-content: flex-start;
    padding: 0 18px;
  }

  .checkout-steps strong.is-active {
    border-radius: 0;
  }

  .checkout-panel,
  .checkout-controls,
  .checkout-step-panel {
    padding: 20px;
  }

  .method-option {
    grid-template-columns: 26px 1fr;
  }

  .method-option b {
    grid-column: 2;
  }

  .cart-line {
    grid-template-columns: 62px 1fr auto;
    gap: 12px;
    align-items: start;
  }

  .cart-line img {
    width: 62px;
  }

  .cart-line-title,
  .cart-stock,
  .qty-controls,
  .cart-unit-price,
  .cart-line-total {
    grid-column: 2 / -1;
    justify-self: stretch;
    text-align: left;
  }

  .cart-remove {
    grid-column: 3;
    grid-row: 1;
  }

  .cart-delivery-note {
    justify-self: stretch;
    padding: 12px 16px;
  }

  .coupon-panel,
  .free-shipping-panel,
  .cart-summary {
    min-height: auto;
    padding: 22px;
  }

  .coupon-panel div {
    grid-template-columns: 1fr;
  }

  .pos-register-toolbar,
  .pos-custom-item,
  .pos-new-customer-form {
    grid-template-columns: 1fr;
  }

  .pos-phone-field,
  .pos-new-customer-actions {
    grid-template-columns: 1fr;
  }

  .pos-customer-modal {
    width: calc(100vw - 18px);
  }

  .shop-hero::after {
    right: -18px;
    bottom: -18px;
    font-size: 9rem;
  }

  .detail-copy h2 {
    font-size: 2.4rem;
  }

  .detail-main figure {
    min-height: 300px;
    height: min(86vw, 420px);
  }

  .detail-zoom-badge {
    width: 56px;
    height: 56px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .detail-image-lightbox {
    padding: 12px;
  }

  .detail-image-lightbox-canvas {
    width: min(calc(100vw - 24px), 82vh, 620px);
    height: auto;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .promo-tiles,
  .category-summary,
  .deployment-safety-grid,
  .metrics,
  .sales-overview,
  .document-metrics,
  .admin-grid,
  .content-grid,
  .invoice-layout,
  .export-grid,
  .pos-layout,
  .product-form,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .homepage-section-grid {
    grid-auto-columns: minmax(166px, 82vw);
  }

  .homepage-section-grid .product-card,
  .homepage-more-card {
    min-height: 370px;
  }

  .homepage-product-section {
    padding: 18px;
  }

  .homepage-section-head h2 {
    font-size: 1.9rem;
  }

  .product-card figure {
    height: 150px;
  }

  .diagnostic-location-card > div,
  .diagnostic-video-card > h3 {
    padding: 22px;
  }

  .diagnostic-map {
    height: 280px;
    min-height: 280px;
  }

  .product-video.is-portrait {
    width: min(100%, 330px);
  }

  .product-card h3 {
    min-height: 0;
    font-size: 1.18rem;
  }

  .product-card p {
    min-height: 0;
  }

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

  .item-type-picker {
    grid-template-columns: 1fr;
  }

  .product-editor-panel.is-active {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    grid-template-columns: 1fr;
  }

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

  .bundle-row {
    grid-template-columns: 1fr;
  }

  .related-products {
    grid-template-columns: 1fr;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .category-tree {
    padding: 10px;
    overflow-x: auto;
  }

  .category-tree-item {
    margin-left: calc(var(--level) * 18px);
  }

  .category-tree-row {
    min-width: 820px;
    grid-template-columns: 34px minmax(190px, 1fr) auto auto auto auto minmax(210px, auto);
  }

  .pos-line,
  .pos-actions {
    grid-template-columns: 1fr;
  }

  .pos-cart-card {
    position: static;
  }

  .customer-zone {
    margin-top: 20px;
  }

  .customer-zone-login > div,
  .customer-login-card,
  .customer-account-content {
    padding: 22px;
  }

  .customer-metrics,
  .customer-feature-grid,
  .customer-address-grid,
  .customer-favorites,
  .customer-order-list article {
    grid-template-columns: 1fr;
  }

  .customer-order-list article p,
  .customer-order-list article small {
    grid-column: auto;
  }
}

@media (max-width: 1080px) {
  .store-menu-mobile-toggle {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 0 4px;
    color: #fff;
    background: transparent;
    font: 900 0.88rem/1 var(--font-main);
    text-transform: uppercase;
  }

  .store-menu-mobile-toggle i,
  .store-menu-mobile-toggle i::before,
  .store-menu-mobile-toggle i::after {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .store-menu-mobile-toggle i {
    position: relative;
  }

  .store-menu-mobile-toggle i::before,
  .store-menu-mobile-toggle i::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .store-menu-mobile-toggle i::before {
    top: -7px;
  }

  .store-menu-mobile-toggle i::after {
    top: 7px;
  }

  .category-bar {
    min-height: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 12px;
  }

  .category-header.is-mobile-open .category-bar {
    display: flex;
  }

  .store-menu-item,
  .store-menu-primary {
    width: 100%;
  }

  .category-bar .store-menu-link {
    min-width: 0;
    min-height: 48px;
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: 0 8px;
    text-align: left;
  }

  .category-bar .store-submenu-toggle {
    width: 48px;
    min-height: 48px;
    flex-basis: 48px;
  }

  .store-menu-item > .store-submenu {
    position: static;
    width: 100%;
    max-height: 52vh;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    background: #101310;
  }

  .store-menu-item.is-open > .store-submenu {
    display: grid;
  }
}

@media (max-width: 620px) {
  .store-menu-item > .store-submenu {
    grid-template-columns: 1fr;
  }

  .category-bar .store-submenu-all {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .detail-buy.single-action .btn {
    width: 100%;
    min-width: 0;
  }

  .quantity-discount-card {
    margin-top: 18px;
  }

  .quantity-discount-card h3,
  .quantity-discount-list {
    padding-right: 14px;
    padding-left: 14px;
  }

  .quantity-discount-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .quantity-discount-row small {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .quantity-discount-row strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .quantity-discount-summary {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .quantity-discount-summary .qty-controls {
    width: 100%;
    justify-content: space-between;
  }

  .quantity-saving {
    text-align: left;
  }
}

@media (max-width: 1080px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-brand,
  .site-footer-reviews {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: 34px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .site-footer-brand,
  .site-footer-reviews {
    grid-column: auto;
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal-card {
    padding: 24px 18px;
  }

  .cookie-banner {
    width: calc(100% - 20px);
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cookie-banner h2,
  .cookie-preferences-card h2 {
    padding-right: 32px;
    font-size: 1.35rem;
  }

  .cookie-banner-actions,
  .cookie-preferences-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .cookie-banner-actions .btn,
  .cookie-preferences-actions .btn {
    width: 100%;
  }

  .cookie-preferences {
    align-items: end;
    padding: 10px;
  }

  .cookie-preferences-card {
    max-height: calc(100vh - 20px);
    padding: 24px 18px 18px;
  }
}

/* Mobile polish pass */
@media (max-width: 900px) {
  .topbar,
  .header-main,
  .category-header-inner,
  .shop-hero,
  .line-showcase,
  .promo-tiles,
  .shop-layout,
  .homepage-product-sections,
  .product-detail,
  .checkout,
  .customer-zone,
  .site-footer-inner,
  .site-footer-bottom,
  .admin {
    width: min(100% - 20px, var(--max));
  }

  .shop-layout,
  .line-showcase,
  .promo-tiles {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    padding: 14px;
  }

  .catalog-category-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 230px;
  }

  .catalog,
  .homepage-product-section,
  .detail-shell,
  .checkout-page,
  .customer-zone-login,
  .customer-account-content {
    border-radius: 8px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .admin-nav {
    max-height: 42vh;
    overflow-y: auto;
    border-radius: 8px 8px 0 0;
  }

  .admin-content {
    min-height: auto;
    padding: 18px;
    overflow: visible;
  }

  .admin-head {
    align-items: stretch;
    flex-direction: column;
  }

  .price-admin-toolbar,
  .compact-form {
    grid-template-columns: 1fr;
  }

  .admin-product-table th:first-child,
  .admin-product-table td:first-child {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }
}

@media (max-width: 720px) {
  body {
    background-size: 380px 380px, 56px 56px, auto;
  }

  .shop-layout {
    scroll-margin-top: 250px;
  }

  .line-showcase {
    scroll-margin-top: 250px;
  }

  body::before,
  body::after {
    opacity: 0.045;
  }

  h1,
  .shop-hero h1,
  .login-card h1,
  .customer-zone-login h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 3.6rem);
    overflow-wrap: anywhere;
  }

  h2,
  .homepage-section-head h2,
  .catalog-head h2,
  .detail-copy h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    line-height: 1;
  }

  p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .shop-header {
    position: sticky;
  }

  .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand img {
    width: min(176px, 52vw);
  }

  .search-box {
    max-width: none;
  }

  .quick-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .quick-nav a {
    flex: 0 0 auto;
  }

  .category-header-inner {
    padding: 0;
  }

  .category-bar {
    gap: 4px;
  }

  .category-bar .store-menu-link {
    font-size: 0.82rem;
  }

  .store-menu-item > .store-submenu {
    max-height: 58vh;
    padding: 8px;
  }

  .category-bar .store-submenu button {
    min-height: 52px;
    padding: 8px;
    font-size: 0.86rem;
  }

  .store-submenu img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .shop-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .hero-media {
    min-height: 230px;
  }

  .hero-media img {
    max-height: 230px;
    padding: 14px 14px 72px;
  }

  .line-showcase .line-card,
  .promo-tile {
    min-height: 310px;
  }

  .promo-copy strong {
    max-width: 12ch;
    font-size: 1.55rem;
  }

  .catalog {
    padding: 16px;
  }

  .catalog-head,
  .homepage-section-head,
  .filter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .filter-head button {
    min-height: 38px;
  }

  .catalog-category-panel {
    display: none;
  }

  .catalog-category-select {
    display: grid;
    margin-top: 16px;
  }

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

  .product-card {
    min-height: 0;
  }

  .product-card figure {
    height: 132px;
  }

  .product-card .body {
    padding: 12px;
  }

  .product-card h3 {
    font-size: 1rem;
    line-height: 1.08;
  }

  .product-card p {
    font-size: 0.84rem;
  }

  .price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .price-row button,
  .detail-buy .btn,
  .cart-drawer-actions .btn {
    width: 100%;
  }

  .homepage-section-grid {
    grid-auto-columns: minmax(164px, 76vw);
    gap: 10px;
  }

  .homepage-section-grid .product-card,
  .homepage-more-card {
    min-height: 350px;
  }

  .detail-main {
    gap: 20px;
  }

  .detail-main figure {
    min-height: 260px;
    height: min(86vw, 360px);
  }

  .detail-gallery-thumbs {
    gap: 7px;
  }

  .description-highlight-grid,
  .diagnostic-info-grid,
  .diagnostic-location-media,
  .diagnostic-variants,
  .related-products {
    grid-template-columns: 1fr;
  }

  .product-description-content table,
  .basic-description table,
  .detail-parameters-table {
    display: block;
    overflow-x: auto;
    border-radius: 8px;
  }

  .cart-drawer-panel {
    width: 100%;
    max-height: 100vh;
    min-height: 100svh;
    overflow-y: auto;
  }

  .checkout-step-summary span {
    grid-template-columns: 1fr auto;
  }

  .checkout-step-summary span em {
    grid-column: 1;
  }

  .customer-favorites article {
    grid-template-columns: 64px 1fr;
  }

  .customer-favorites img {
    width: 64px;
  }

  .form-actions,
  .module-actions,
  .marketing-program-controls,
  .logistics-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .btn,
  .module-actions button,
  .logistics-save-bar button {
    width: 100%;
  }

  .product-editor-tabs {
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }

  .product-editor-tabs button {
    flex: 0 0 auto;
  }

  .admin-table {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .admin-page table {
    min-width: 680px;
  }

  .admin-product-table {
    min-width: 1120px;
  }

  .price-admin-table {
    min-width: 1280px;
  }

  .logistics-admin-table {
    min-width: 1020px;
  }

  .category-tree-row {
    min-width: 760px;
  }

  .admin-product-table th:first-child,
  .admin-product-table td:first-child {
    width: 214px;
    min-width: 214px;
    max-width: 214px;
  }
}

@media (max-width: 420px) {
  .topbar,
  .header-main,
  .category-header-inner,
  .shop-hero,
  .line-showcase,
  .promo-tiles,
  .shop-layout,
  .homepage-product-sections,
  .product-detail,
  .checkout,
  .customer-zone,
  .site-footer-inner,
  .site-footer-bottom,
  .admin {
    width: calc(100% - 14px);
  }

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

  .homepage-section-grid {
    grid-auto-columns: minmax(156px, 86vw);
  }

  .cart-line {
    grid-template-columns: 56px minmax(0, 1fr) 34px;
    gap: 10px;
  }

  .cart-line img {
    width: 56px;
  }

  .checkout-panel,
  .checkout-controls,
  .checkout-step-panel,
  .admin-content,
  .product-form,
  .product-editor-panel,
  .customer-account-content {
    padding: 14px;
  }

  .cart-preview-line {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .cart-preview-line b {
    grid-column: 2;
    justify-self: start;
  }
}

/* Keep the complete product visible and the purchase controls usable on phones. */
@media (max-width: 720px) {
  .product-detail {
    margin-top: 14px;
  }

  .detail-close {
    margin: 12px 12px 0 auto;
  }

  .detail-main {
    padding: 12px;
  }

  .detail-main figure {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  .detail-main .detail-image-open img,
  .detail-main .detail-image-open:hover img,
  .detail-main .detail-image-open:focus-visible img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
  }

  .detail-copy {
    min-width: 0;
  }

  .detail-copy h2 {
    overflow-wrap: anywhere;
  }

  .detail-price-stack,
  .detail-price-stack .price-stack {
    max-width: 100%;
  }

  .detail-price {
    font-size: clamp(1.9rem, 10vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .detail-buy,
  .detail-buy.single-action {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .detail-buy .qty-controls,
  .detail-buy .btn,
  .detail-buy.single-action .btn {
    width: 100%;
    min-width: 0;
  }

  .detail-buy .qty-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pos-coupon-form,
  .pos-manual-discount-form {
    grid-template-columns: 1fr;
  }

  .pos-coupon-form button,
  .pos-manual-discount-form button {
    width: 100%;
  }
}

/* Final mobile storefront layout */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 12px;
  }

  body {
    overflow-x: hidden;
  }

  .shop-header {
    position: relative;
    backdrop-filter: none;
  }

  .header-main {
    width: calc(100% - 16px);
    grid-template-columns: minmax(112px, 1fr) auto auto;
    gap: 7px;
    padding: 9px 0 8px;
  }

  .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .brand img {
    width: 138px;
    max-width: 42vw;
  }

  .quick-nav {
    width: auto;
    grid-column: 2;
    grid-row: 1;
    order: initial;
    overflow: visible;
    padding: 0;
  }

  .quick-nav a {
    min-height: 38px;
    padding: 10px 7px;
    font-size: 0.72rem;
  }

  .cart-button {
    min-height: 38px;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .cart-button strong {
    min-width: 21px;
    height: 21px;
    margin-left: 5px;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
  }

  .search-box input {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 0.9rem;
  }

  .category-header-inner {
    width: calc(100% - 16px);
  }

  .store-menu-mobile-toggle {
    min-height: 44px;
  }

  .shop-layout,
  .line-showcase {
    scroll-margin-top: 16px;
  }

  .shop-hero {
    width: calc(100% - 16px);
    gap: 16px;
    margin-top: 8px;
    padding: 18px;
  }

  .promo-tiles {
    display: none;
  }

  .shop-hero h1 {
    max-width: 9ch;
    margin-bottom: 12px;
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 15px;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: 120%;
    max-height: none;
    object-position: 28% 74%;
    padding: 0;
  }

  .hero-media img.hero-slide-power-weight {
    height: 114%;
    object-position: 42% 70%;
  }

  .hero-media img.hero-slide-sport {
    height: 114%;
    object-position: 44% 72%;
  }

  .stock-card {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .stock-card span,
  .stock-card small {
    font-size: 0.72rem;
  }

  .stock-card strong {
    font-size: 0.92rem;
  }

  .promo-tiles,
  .line-showcase {
    width: calc(100% - 16px);
    gap: 10px;
    margin-top: 12px;
  }

  .line-showcase .line-card,
  .promo-tile {
    min-height: 280px;
  }

  .line-showcase .line-card,
  .promo-copy {
    padding: 18px;
  }

  .line-showcase h2 {
    font-size: 1.9rem;
  }

  .promo-copy strong {
    font-size: 1.5rem;
  }

  .promo-copy small {
    min-height: 40px;
    margin-top: 13px;
    padding: 8px 14px;
  }

  .homepage-product-sections {
    width: calc(100% - 16px);
    gap: 12px;
    margin-top: 14px;
  }

  .homepage-product-section {
    padding: 14px;
  }

  .homepage-section-head h2 {
    font-size: 1.8rem;
  }

  .homepage-section-grid {
    grid-auto-columns: minmax(150px, 44vw);
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 9px;
    scroll-snap-type: x mandatory;
  }

  .homepage-section-grid .product-card,
  .homepage-more-card {
    min-height: 316px;
  }

  .homepage-section-grid .product-card figure,
  .product-card figure {
    height: 128px;
  }

  .homepage-section-grid .product-card .body,
  .product-card .body {
    padding: 11px;
  }

  .homepage-section-grid .product-card p,
  .product-grid .product-card p {
    display: none;
  }

  .homepage-section-grid .product-card h3,
  .product-card h3 {
    font-size: 0.96rem;
    line-height: 1.12;
  }

  .homepage-section-grid .product-card .price-row button,
  .product-grid .product-card .price-row button {
    min-height: 40px;
    padding: 8px;
  }

  .shop-layout {
    width: calc(100% - 16px);
    gap: 10px;
    margin-top: 14px;
  }

  .filters,
  .catalog {
    padding: 13px;
  }

  .catalog-head {
    gap: 6px;
  }

  .catalog-head h2 {
    font-size: 1.85rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

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

  .price-row .price {
    font-size: 1.05rem;
  }

  .detail-main,
  .detail-tabs article {
    padding: 14px;
  }

  .detail-main figure {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  .detail-copy h2 {
    font-size: 2rem;
  }

  .cart-drawer-panel {
    gap: 13px;
    padding: 16px;
  }

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

  .checkout-steps strong {
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 7px 5px;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
  }

  .checkout-steps strong.is-active {
    border-radius: 0 0 6px 6px;
  }

  .checkout-panel,
  .checkout-controls,
  .checkout-step-panel {
    padding: 14px;
  }

  .site-footer-inner {
    gap: 22px;
    padding-top: 28px;
  }

  .site-footer-bottom {
    gap: 8px;
  }
}

@media (max-width: 350px) {
  .header-main {
    grid-template-columns: minmax(100px, 1fr) auto auto;
    gap: 5px;
  }

  .brand img {
    width: 120px;
  }

  .quick-nav a,
  .cart-button {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.68rem;
  }

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

  .homepage-section-grid {
    grid-auto-columns: minmax(146px, 72vw);
  }
}

@media (max-width: 900px) {
  .blog-admin-summary { grid-template-columns: 1fr; }
  .blog-admin-row { grid-template-columns: 100px minmax(0, 1fr) auto; }
  .blog-admin-row > img { width: 100px; }
  .blog-admin-row-state { grid-column: 2; grid-row: 2; grid-template-columns: repeat(2, max-content); }
  .blog-admin-row-actions { grid-column: 3; grid-row: 1 / span 2; }
  .blog-admin-form-grid { grid-template-columns: 1fr 1fr; }
  .blog-admin-media { grid-template-columns: 180px 1fr; }
  .blog-admin-media img { width: 180px; }
}

@media (max-width: 620px) {
  .blog-admin-editor { padding: 16px; }
  .blog-admin-editor-head { align-items: flex-start; flex-direction: column; }
  .blog-admin-form-grid { grid-template-columns: 1fr; }
  .blog-admin-form-grid .wide { grid-column: auto; }
  .blog-admin-media { grid-template-columns: 1fr; }
  .blog-admin-media img { width: 100%; }
  .blog-admin-row { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .blog-admin-row > img { width: 82px; }
  .blog-admin-row-state, .blog-admin-row-actions { grid-column: 1 / -1; grid-row: auto; grid-template-columns: repeat(2, 1fr); }
  .blog-admin-row-copy p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

.catalog-tag-filters { max-height: none; }
.catalog-tag-filters button { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 46px; }

/* Quiet product labels above the name, including homepage cards. */
.product-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.product-badges:empty { display: none; }
.product-badges .product-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 5px; background: #edf3e9; color: #42603a; font-family: Arial, sans-serif; font-size: 11px; line-height: 1.3; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.product-badges .product-badge-clearance { background: #f4efe8; color: #795b39; }

/* Separate shipping/payment and contact steps share the same checkout layout. */
.checkout-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; border:0; padding:0; margin:0 0 28px; }
.checkout-contact-grid label { display:grid; gap:8px; min-width:0; }
.checkout-contact-grid input, .checkout-contact-grid select { width:100%; min-width:0; min-height:48px; box-sizing:border-box; }
.checkout-customer-form .checkout-choice { display:flex; align-items:center; gap:10px; margin:20px 0; }
.checkout-choice input { width:20px; height:20px; }
.checkout-customer-form details { margin-top:24px; }
.checkout-customer-form details label { display:grid; gap:8px; margin-top:16px; }
.checkout-controls[hidden], .checkout-contact-grid[hidden] { display:none !important; }
@media(max-width:640px) { .checkout-contact-grid { grid-template-columns:1fr; } }

/* Official guarantee notice inside the shop information dialog. */
.guarantee-notice .notice {margin:20px 0;background:#fff}
.guarantee-notice .notice img {display:block;width:100%;height:auto}
.guarantee-notice .tools {display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0;font-size:14px}
.guarantee-notice a {color:#275537;text-decoration:underline;text-underline-offset:3px}
.guarantee-notice details {padding:16px;border:1px solid #dce3d7;border-radius:6px;margin:20px 0}
.guarantee-notice summary {cursor:pointer;font-weight:700;color:#203729}
.guarantee-notice details h2 {font-size:20px;line-height:1.3;margin-top:24px}
.guarantee-notice p,.guarantee-notice li {font-weight:400}
.footer-legal-card>h2 {padding-right:40px}

.footer-legal-card>h2{max-width:none;width:auto;letter-spacing:-.5px;line-height:1.2}

/* Pickup selection stays directly below the selected carrier. */
.balikovna-pickup-panel{border:2px solid #58aa36;background:#f0fae9;margin-top:-8px}.balikovna-pickup-panel button{background:#203b78!important;color:white!important;border:2px solid #203b78!important;min-height:52px;padding:12px 22px!important;font-weight:800!important}
[data-balikovna-dialog]{width:min(1080px,96vw);max-width:96vw;height:min(820px,94dvh);max-height:94dvh;border:0;border-radius:18px;padding:20px;box-sizing:border-box}[data-balikovna-dialog][open]{display:flex;flex-direction:column;gap:12px}[data-balikovna-dialog]::backdrop{background:#111a14aa}.balikovna-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.balikovna-heading h2{margin:0;font-size:24px}.balikovna-search{margin:0}.balikovna-search label{font-weight:700;font-size:14px}.balikovna-search>div{display:flex;gap:10px;margin-top:8px}.balikovna-search input{flex:1;min-width:0;padding:12px;border:1px solid #aabca3;border-radius:8px;font:inherit}.balikovna-search button,.balikovna-result button{background:#244b30;color:white;border:0;border-radius:8px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}.balikovna-search [data-show-map]{background:#eaf1e4;color:#244b30}[data-balikovna-dialog] [role=status]{margin:0;font-size:14px}[data-balikovna-dialog] iframe{width:100%;flex:1;min-height:0;border:0}.balikovna-results{overflow:auto;flex:1;min-height:0}.balikovna-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #dce6d6;border-radius:12px;margin-bottom:10px}.balikovna-result strong,.balikovna-result span{display:block}.balikovna-result span{font-size:14px;margin-top:6px;color:#53614e}[data-balikovna-dialog] [hidden]{display:none!important}@media(max-width:600px){.balikovna-search>div{flex-wrap:wrap}.balikovna-search input{flex-basis:100%}.balikovna-result{align-items:stretch;flex-direction:column}[data-balikovna-dialog]{padding:14px}.balikovna-heading h2{font-size:20px}}

.balikovna-pickup-panel button:hover{background:#152953!important;border-color:#152953!important}.balikovna-pickup-summary{display:block;margin-top:8px;font-size:14px;line-height:1.5;font-weight:400;color:#445044}

/* Approved October 2026 homepage campaigns. */
.promo-tiles { gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promo-tiles .promo-tile { min-width: 0; width: 100%; min-height: 500px; aspect-ratio: 2 / 3.15; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: #182018; }
.promo-tiles .promo-tile::after { background: linear-gradient(180deg,transparent 38%,rgba(8,13,8,.4) 58%,rgba(8,13,8,.92) 100%); }
.promo-tiles .promo-tile img { transform: none; object-position: center; transition: transform .35s; }
.promo-tiles .promo-tile:hover img { transform: scale(1.025); }
.promo-tiles .promo-copy { padding: 26px 22px; }
.promo-tiles .promo-copy > span { margin-bottom: 12px; color: #e3ebdf; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.promo-tiles .promo-copy strong { max-width: none; min-height: 2.1em; color: #fff; font-size: clamp(25px,2.3vw,34px); line-height: 1.05; letter-spacing: -.6px; text-wrap: balance; }
.promo-tiles .promo-copy small { display: flex; width: 100%; justify-content: space-between; gap: 8px; margin-top: 24px; padding: 15px 14px; border-radius: 6px; background: #fff; color: #152016; font-size: 14px; font-weight: 800; }
.promo-tiles .promo-copy small i { font-style: normal; font-size: 21px; font-weight: 500; }
.promo-tiles .promo-tile:hover small { background: #d0eacb; }
.promo-tiles .promo-tile:focus-visible { outline: 3px solid #b7dfae; outline-offset: 4px; }
@media(max-width:1050px) { .promo-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } .promo-tiles .promo-tile { min-height:480px; aspect-ratio:3/4; } .promo-tiles .promo-copy strong {font-size:32px;} }
@media(max-width:560px) { .promo-tiles {grid-template-columns:1fr;gap:18px;} .promo-tiles .promo-tile {min-height:440px;aspect-ratio:auto;height:470px;} .promo-tiles .promo-tile img {object-position:center 38%;} .promo-tiles .promo-copy {padding:24px;} .promo-tiles .promo-copy strong {font-size:30px;} .promo-tiles .promo-copy small {max-width:260px;} }
@media(prefers-reduced-motion:reduce) { .promo-tiles .promo-tile img {transition:none;} }

/* Light storefront navigation. */
.shop-header {
  color: #151515;
  background: rgba(255, 255, 255, .97);
  border-bottom-color: #dfe4db;
}
.shop-header .category-header {
  color: #151515;
  background: #f5f6f3;
  border-color: #dfe4db;
}
.shop-header .brand:focus-visible { outline-color: #174e2b; }
.shop-header .search-box input {
  color: #151515;
  background: #f5f6f3;
  border-color: #d9ded7;
}
.shop-header .search-box input::placeholder { color: #666b63; }
.shop-header .search-box input:focus { border-color: #174e2b; }
.shop-header .quick-nav a,
.shop-header .cart-button,
.shop-header .shop-language-switcher,
.shop-header .shop-language-switcher select,
.shop-header .line-nav button,
.shop-header .category-bar .store-menu-link,
.shop-header .category-bar .store-submenu-toggle,
.shop-header .store-menu-mobile-toggle { color: #151515; }
.shop-header .cart-button,
.shop-header .shop-language-switcher { border-color: #d9ded7; }
.shop-header .shop-language-switcher { background: #f5f6f3; }
.shop-header .quick-nav a:hover,
.shop-header .cart-button:hover { background: #c9eace; border-color: #c9eace; }
.shop-header .category-bar .store-menu-link:hover,
.shop-header .category-bar .store-menu-link.is-active,
.shop-header .store-menu-item.is-active .store-menu-link,
.shop-header .store-menu-item.is-open .store-menu-link,
.shop-header .line-nav button:hover,
.shop-header .line-nav button.is-active {
  color: #174e2b;
  border-bottom-color: #174e2b;
}
.shop-header .store-menu-item > .store-submenu {
  background: #fff;
  border-color: #dfe4db;
  box-shadow: 0 18px 40px rgba(21, 21, 21, .12);
  scrollbar-color: #a6b7a8 #f5f6f3;
}
.shop-header .category-bar .store-submenu button { color: #151515; }
.shop-header .category-bar .store-submenu button:hover,
.shop-header .category-bar .store-submenu button:focus-visible { background: #eaf3e8; }
.shop-header .category-bar .store-submenu-all { color: #174e2b; border-top-color: #dfe4db; }
@media (max-width: 1080px) {
  .shop-header .store-menu-item > .store-submenu { background: #f5f6f3; box-shadow: none; }
}

/* Customer filters show product types only; campaigns stay in banner navigation. */
.catalog-kind-filters { max-height: none; overflow: visible; gap: 2px; }
.filters .catalog-kind-option { display: grid; grid-template-columns: 17px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px 4px; margin: 0; cursor: pointer; font-size: 12px; line-height: 1.4; color: #444; }
.filters .catalog-kind-option input { width: 15px; height: 15px; margin: 0; accent-color: #42483a; }
.filters .catalog-kind-option small { min-width: 20px; color: #888; font-size: 11px; font-weight: 500; }
.filters .catalog-kind-option:has(input:checked) { color: #171b13; font-weight: 700; }
.filters .catalog-category-panel { display: block; }
.filters .catalog-category-select { display: none; }
@media (max-width: 380px) { .catalog-kind-filters { grid-template-columns: 1fr; } }
.filters .catalog-kind-option input { min-height: 0; padding: 0; border-radius: 2px; }

.filters .catalog-sale-option { border-bottom: 1px solid #e5e7e1; margin-bottom: 6px; padding-bottom: 12px; }

/* Bundle flavour selection, shared by storefront and till. */
.sale-bundle-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #d7ded8;border-radius:22px;color:#25312a;background:white;box-shadow:0 24px 80px #14251b38;}
.sale-bundle-dialog::backdrop{background:#12201980;backdrop-filter:blur(3px)}
.sale-bundle-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}
.sale-bundle-dialog-head{display:flex;justify-content:space-between;gap:20px;padding:26px 28px 18px;background:#f1f4ef;border-bottom:1px solid #e1e6df}.sale-bundle-dialog-head h2{font-size:28px;margin:6px 0}.sale-bundle-dialog-head p{margin:0;font-size:15px}.sale-bundle-dialog-head small{font-size:11px;letter-spacing:.12em;font-weight:800}.sale-bundle-dialog-head button{align-self:flex-start;font-size:28px;border:0;background:transparent;padding:0 6px}
.sale-bundle-dialog-body{overflow-y:auto;padding:24px 28px;display:grid;gap:18px}.sale-bundle-dialog-body label{display:grid;gap:8px;font-weight:700;font-size:15px}.sale-bundle-dialog-body select{width:100%;min-height:48px;padding:10px;border:1px solid #bbc8bd;border-radius:10px;background:white;color:#25312a;font:inherit}.sale-bundle-dialog-body [role=alert]{margin:0;color:#a53329;font-size:14px}.sale-bundle-dialog-footer{display:flex;gap:12px;justify-content:flex-end;padding:18px 28px;border-top:1px solid #e1e6df;background:#fafbf9}.sale-bundle-dialog-footer button{padding:12px 18px;border-radius:10px;border:1px solid #cbd5c9;font-weight:700}.bundle-choice-note{padding:14px 18px;background:#f0f4ed;border-radius:10px;font-size:15px}.cart-line-title small,.cart-preview-line small,.pos-line small{display:block;font-size:12px;line-height:1.5;font-weight:400;color:#526657}

/* Keep the complete breakfast bundle inside the detail image frame. */
.detail-main .detail-image-open img[src*="catalog-clean/318.svg"],
.detail-main .detail-image-open:hover img[src*="catalog-clean/318.svg"],
.detail-main .detail-image-open:focus-visible img[src*="catalog-clean/318.svg"] { transform: none; }

/* Promotional artwork includes its own price and needs the complete square. */
.detail-main .detail-image-open img[src*="/sale-clean/"],
.detail-main .detail-image-open:hover img[src*="/sale-clean/"],
.detail-main .detail-image-open:focus-visible img[src*="/sale-clean/"] { transform: none; }

.bar-mix-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #e1e5e1}.bar-mix-stepper{display:flex;align-items:center;flex-shrink:0}.bar-mix-stepper button{width:42px;height:44px;border:1px solid #cbd1cb;background:#f1f4ef;border-radius:8px;font-size:24px}.bar-mix-stepper input{width:56px;text-align:center;padding:8px 2px;border:0;background:transparent;color:#19251d;font-size:20px}.bar-mix-dialog [data-mix-total]{display:block;margin-top:22px}.bar-mix-dialog [data-mix-error]{color:#ad2929}@media(max-width:480px){.bar-mix-row{gap:8px}.bar-mix-stepper button{width:36px}.bar-mix-stepper input{width:44px}}

.product-image-badge.product-image-badge-bundle{background:#f5dfc6;color:#694328;}

/* Composed bundle photos must show the full set, including every pack and plus. */
.detail-main .detail-image-open img[src*="/catalog-clean/"],
.detail-main .detail-image-open:hover img[src*="/catalog-clean/"],
.detail-main .detail-image-open:focus-visible img[src*="/catalog-clean/"],
.detail-main .detail-image-open img[src*="/bundles-white/"],
.detail-main .detail-image-open:hover img[src*="/bundles-white/"],
.detail-main .detail-image-open:focus-visible img[src*="/bundles-white/"]{transform:none;object-fit:contain;}

.product-image-badge.product-image-badge-price{background:#dce8f3;color:#304d68;}


.detail-main .detail-image-open img[src*="/uniform/"],.detail-main .detail-image-open:hover img[src*="/uniform/"],.detail-main .detail-image-open:focus-visible img[src*="/uniform/"]{transform:none;object-fit:contain;}

.detail-main .detail-image-open img[src*="bundle-vykon-canva"],
.detail-main .detail-image-open:hover img[src*="bundle-vykon-canva"],
.detail-main .detail-image-open:focus-visible img[src*="bundle-vykon-canva"]{transform:none;object-fit:contain;}

/* Explicit, unselected consent beside the final order button. */
.checkout-terms-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0 16px;font-size:.88rem;font-weight:400;line-height:1.6;color:var(--ink)}
.checkout-terms-consent input[type="checkbox"]{width:19px;height:19px;min-width:19px;min-height:19px;margin:3px 0 0;padding:0;accent-color:#365745;cursor:pointer}
.checkout-terms-consent .checkout-terms-link{display:inline;width:auto;min-height:0;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.checkout-terms-link:focus-visible{outline:2px solid #365745;outline-offset:3px}
.checkout-step-summary label.checkout-terms-consent{display:flex;justify-content:flex-start;align-items:flex-start;gap:10px;text-align:left;font-weight:400}
.checkout-step-summary .checkout-terms-consent>span{display:block;flex:1;min-width:0;line-height:1.6;font-size:.88rem;font-weight:400;color:var(--ink);text-align:left}
.checkout-step-summary .checkout-terms-consent .checkout-terms-link{display:inline;width:auto;min-height:0;max-width:none;white-space:normal;font-size:inherit;font-weight:inherit;line-height:inherit;padding:0;border:0;background:none}

.coupon-panel [data-coupon-feedback]{margin:12px 0 0;font-size:14px;line-height:1.5;color:#285339}.coupon-panel [data-coupon-feedback][data-state="error"]{color:#a12727}.coupon-panel [data-coupon-feedback][data-state="pending"]{color:#657167}.coupon-panel [data-apply-coupon]:disabled{cursor:wait;opacity:.65}

/* A verified coupon remains visible after applying and on cart reload. */
#checkout .active-coupon{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #bcd6bf;border-radius:12px;background:#f0f7ef;color:#285339}
#checkout .active-coupon>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#285339;color:#fff}
#checkout .active-coupon>div{display:grid;gap:3px;min-width:0;flex:1}
#checkout .active-coupon strong{font-size:15px;overflow-wrap:anywhere}
#checkout .active-coupon div>span{font-size:12px}
#checkout .active-coupon>b{font-size:16px;white-space:nowrap}
#checkout [data-coupon-summary-label]{display:inline;color:inherit;font:inherit}

/* Mobile product carousels contain products only. */
@media (max-width: 720px) {
  .homepage-section-grid .homepage-more-card { display: none; }
}
/* Compact, single-section catalog picker with optional refinements. */
.shop-layout .filters .catalog-category-panel > strong { display:none; }
.shop-layout .filters .catalog-kind-filters { display:block; padding:0; }
.shop-layout .filters .catalog-section-label { display:grid; gap:10px; margin:0; font-weight:700; }
.shop-layout .filters .catalog-section-label select { width:100%; min-height:52px; padding:12px 16px; border:1px solid #dce2d9; border-radius:12px; background:#f5f7f2; color:#20382b; font:inherit; font-weight:600; }
.catalog-extra-filters { margin-top:18px; border-top:1px solid #e1e6df; padding-top:16px; }
.catalog-extra-filters > summary { cursor:pointer; color:#405b47; font-size:.92rem; font-weight:700; padding:4px 0; }
.catalog-extra-body { display:grid; gap:16px; padding-top:16px; }
.shop-layout .filters .catalog-extra-body .catalog-purpose-panel { margin:0; padding:0; border:0; }
.shop-layout .filters .catalog-extra-body > label { margin:0; }
@media(max-width:700px) { .shop-layout .filters { padding:18px; } .shop-layout .filters .catalog-category-panel { margin-top:16px; padding-top:16px; } .catalog-extra-body .purpose-chips { flex-wrap:wrap; } }
