:root {
  --red: #df0000;
  --red-dark: #b60000;
  --red-soft: #fff0f0;
  --ink: #15171a;
  --muted: #666b73;
  --line: #dfe2e6;
  --surface: #ffffff;
  --soft: #f4f5f6;
  --yellow: #ffd800;
  --green: #168342;
  --shadow: 0 12px 35px rgba(21, 23, 26, 0.11);
  --shell: min(1440px, calc(100% - 48px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

.site-document { display: contents; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell { width: var(--shell); margin-inline: auto; }

.demo-ribbon {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 18px;
  background: #231f20;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,216,0,.18); }

.site-header { position: relative; z-index: 20; background: #fff; box-shadow: 0 1px 0 var(--line); }

.utility-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eceef0;
  color: #545961;
  font-size: 0.78rem;
  font-weight: 600;
}

.utility-bar nav { display: flex; gap: 24px; }
.utility-bar a:hover { color: var(--red); }

.location-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 7px 0;
  font-weight: 600;
}

.main-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 210px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  transform: skew(-6deg);
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1.85rem; font-weight: 900; letter-spacing: -0.06em; }
.brand-copy small { margin-top: 4px; color: var(--red); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.23em; }

.search {
  position: relative;
  height: 50px;
  display: flex;
  overflow: visible;
  border: 2px solid #222428;
  border-radius: 6px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(223,0,0,.12); }
.search input { min-width: 0; flex: 1; padding: 0 18px; border: 0; outline: 0; color: var(--ink); font-size: 0.96rem; }
.search input::placeholder { color: #868b92; }
.search button { width: 56px; display: grid; place-items: center; border: 0; background: #222428; color: #fff; }
.search button:hover { background: var(--red); }
.search svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search .search-clear { width: 38px; flex: 0 0 auto; background: #fff; color: #5c6168; font-size: 1.3rem; }
.search .search-clear:hover { background: #f2f3f4; color: var(--red); }
.search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 90; overflow: hidden; border: 1px solid #d6d9de; border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(18,20,23,.22); color: var(--ink); }
.search-suggestions[hidden] { display: none; }
.search-suggestions a { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #eceef0; color: inherit; text-decoration: none; }
.search-suggestions a:last-child { border-bottom: 0; }
.search-suggestions a:hover, .search-suggestions a:focus-visible { background: #f5f6f7; outline: 0; }
.search-suggestions img { width: 54px; height: 44px; object-fit: contain; }
.search-suggestions span { min-width: 0; display: grid; gap: 3px; }
.search-suggestions strong { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions small { color: #6a6f76; font-size: .68rem; }
.search-no-result { display: block !important; padding: 16px; color: #646970; font-size: .76rem; }

.header-actions { display: flex; align-items: stretch; gap: 20px; }
.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  border: 0;
  background: transparent;
  text-align: left;
}
.header-action:hover strong { color: var(--red); }
.header-action span:last-child { display: grid; }
.header-action small { color: #6e737a; font-size: 0.72rem; }
.header-action strong { font-size: 0.85rem; white-space: nowrap; }
.action-icon { font-size: 1.55rem; line-height: 1; }

.category-nav { border-top: 1px solid #eceef0; }
.category-scroll { display: flex; align-items: center; min-height: 50px; overflow-x: auto; scrollbar-color: rgba(255,255,255,.72) transparent; scrollbar-width: thin; }
.category-scroll::-webkit-scrollbar { height: 4px; }
.category-scroll::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255,255,255,.72); }
.nav-category {
  min-height: 50px;
  flex: 0 0 auto;
  padding: 0 19px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #2e3136;
  font-size: 0.86rem;
  font-weight: 700;
}
.nav-category:hover, .nav-category.is-active { color: var(--red); border-bottom-color: var(--red); }
.nav-sale { min-width: 48px; margin-right: 4px; border: 0; background: var(--red); color: #fff !important; font-size: 1.18rem; font-weight: 900; }

main { padding-bottom: 72px; }

.hero {
  min-height: 470px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(120deg, #dc0000 0%, #c40000 58%, #9f0000 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 6vw, 82px); }
.eyebrow, .section-kicker { color: var(--red); font-size: 0.73rem; font-weight: 900; letter-spacing: 0.13em; }
.hero .eyebrow { display: inline-flex; padding: 7px 10px; border-radius: 3px; background: var(--yellow); color: #15171a; }
.hero h1 { margin: 19px 0 15px; font-size: clamp(2.55rem, 5vw, 4.75rem); line-height: .98; letter-spacing: -0.055em; }
.hero h1 span { color: var(--yellow); }
.hero-copy > p:not(.hero-note) { max-width: 590px; margin: 0 0 27px; color: rgba(255,255,255,.88); font-size: 1.06rem; }
.hero-note { margin: 16px 0 0; color: rgba(255,255,255,.7); font-size: 0.75rem; }

.primary-button, .secondary-button, .checkout-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}
.primary-button { background: #fff; color: var(--red); }
.primary-button:hover { background: var(--yellow); color: #15171a; }

.hero-visual { position: relative; min-height: 470px; background: radial-gradient(circle at 55% 45%, rgba(255,255,255,.22), transparent 42%), linear-gradient(145deg, rgba(255,255,255,.09), rgba(0,0,0,.14)); }
.hero-visual::before { content: ""; position: absolute; inset: 42px 8% 42px 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-8deg); }
.hero-device-grid { position: absolute; top: 50%; left: 46%; width: min(390px, 74%); aspect-ratio: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; transform: translate(-50%, -50%) rotate(-3deg); }
.hero-device-grid .sprite { aspect-ratio: 1; border-radius: 14px; background-color: rgba(255,255,255,.94); box-shadow: 0 15px 30px rgba(56,0,0,.25); }
.hero-price { position: absolute; right: 4%; top: 37%; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 7px solid #fff; border-radius: 50%; background: var(--yellow); color: #15171a; box-shadow: 0 10px 35px rgba(0,0,0,.25); transform: rotate(7deg); }
.hero-price small { font-size: .72rem; font-weight: 800; }
.hero-price strong { font-size: 2.4rem; line-height: 1; letter-spacing: -.08em; }
.hero-price strong span { font-size: 1.1rem; }
.hero-price em { font-size: .65rem; font-style: normal; font-weight: 800; }

.benefits { background: #fff; border-bottom: 1px solid var(--line); }
.benefit-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit-grid article { display: flex; align-items: center; gap: 14px; padding: 17px 24px; border-right: 1px solid var(--line); }
.benefit-grid article:first-child { border-left: 1px solid var(--line); }
.benefit-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 1.2rem; }
.benefit-grid article div { display: grid; }
.benefit-grid strong { font-size: .9rem; }
.benefit-grid small { margin-top: 2px; color: var(--muted); font-size: .72rem; }

.category-showcase, .product-section, .promo-grid { margin-top: 56px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.65rem, 2.3vw, 2.25rem); line-height: 1.1; letter-spacing: -.035em; }
.section-heading p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.text-button { border: 0; background: transparent; color: var(--red); font-size: .88rem; font-weight: 800; text-decoration: none; }

.category-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 14px; }
.category-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 10px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); border-color: #bbbfc5; box-shadow: 0 10px 24px rgba(20,22,25,.08); }
.category-card.is-active { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 2px var(--red); }
.category-card.is-active strong { color: var(--red); }
.category-thumb { width: 100%; aspect-ratio: 1; margin-bottom: 10px; border-radius: 5px; background-color: #f6f6f6; }
.category-card strong { font-size: .9rem; }
.category-card small { margin-top: 3px; color: var(--muted); font-size: .72rem; }

.product-heading { align-items: center; }
.sort-control { display: flex; align-items: center; gap: 10px; color: #555b63; font-size: .82rem; font-weight: 700; }
.sort-control select { min-height: 42px; padding: 0 36px 0 13px; border: 1px solid #cfd3d8; border-radius: 4px; background: #fff; color: var(--ink); outline: 0; }
.sort-control select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(223,0,0,.1); }

.active-filter { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 9px 8px 13px; border-radius: 99px; background: #242629; color: #fff; font-size: .78rem; font-weight: 700; }
.active-filter[hidden] { display: none; }
.active-filter button { width: 25px; height: 25px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.05rem; line-height: 1; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d8dbe0;
  border-radius: 8px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.product-image-button { position: absolute; inset: 0; z-index: 1; width: 100%; display: block; padding: 0; border: 0; background: transparent; }
.product-image { position: absolute; inset: 0; width: 100%; height: 100%; padding: 34px 22px 20px; object-fit: contain; transition: transform .28s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: 13px; left: 13px; z-index: 2; padding: 6px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: .67rem; font-weight: 900; letter-spacing: .025em; }
.product-badge.yellow { background: var(--yellow); color: #17191c; }
.favorite-button { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border: 1px solid #d8dbe0; border-radius: 50%; background: #fff; color: #4c5158; font-size: 1.12rem; }
.favorite-button:hover, .favorite-button.is-favorite { border-color: var(--red); background: var(--red); color: #fff; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.product-brand { color: #777c83; font-size: .68rem; font-weight: 800; letter-spacing: .09em; }
.product-title { min-height: 45px; margin: 5px 0 10px; font-size: .9rem; line-height: 1.45; font-weight: 700; }
.product-title-button { width: 100%; display: block; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; line-height: inherit; text-align: left; }
.product-title-button:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.product-image-button:focus-visible, .product-title-button:focus-visible, .category-card:focus-visible, .nav-category:focus-visible, .menu-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #555b63; font-size: .72rem; }
.product-model { display: block; min-height: 18px; color: #666b73; }
.stars { color: #f4b000; letter-spacing: -2px; }
.price-block { margin-top: auto; display: grid; }
.old-price { color: #747980; font-size: .72rem; text-decoration: line-through; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price { color: var(--red); font-size: 1.45rem; font-weight: 900; letter-spacing: -.04em; }
.discount { padding: 4px 6px; border-radius: 3px; background: var(--red-soft); color: var(--red); font-size: .65rem; font-weight: 900; }
.delivery { margin: 9px 0 14px; color: var(--green); font-size: .7rem; font-weight: 700; }
.add-button { min-height: 42px; width: 100%; border: 0; border-radius: 4px; background: var(--red); color: #fff; font-size: .82rem; font-weight: 800; }
.add-button:hover { background: var(--red-dark); }
.add-button.added { background: var(--green); }

.empty-state { padding: 60px 24px; border: 1px dashed #c7cbd0; border-radius: 8px; background: #fff; text-align: center; }
.empty-state strong { font-size: 1.2rem; }
.empty-state p { color: var(--muted); }
.secondary-button { border: 1px solid #272a2f; background: #fff; color: #22252a; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-card { position: relative; min-height: 310px; overflow: hidden; padding: 42px; border-radius: 8px; }
.promo-card > span { font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.promo-card h2 { position: relative; z-index: 2; margin: 12px 0; font-size: 2.2rem; line-height: 1.05; letter-spacing: -.045em; }
.promo-card p { position: relative; z-index: 2; max-width: 340px; font-size: .88rem; }
.promo-card a { position: relative; z-index: 3; min-height: 42px; display: inline-flex; align-items: center; margin-top: 12px; padding: 0 16px; border-radius: 3px; font-size: .8rem; font-weight: 800; text-decoration: none; }
.promo-dark { background: #202327; color: #fff; }
.promo-dark a { border: 0; background: var(--red); color: #fff; }
.promo-light { background: #eceff2; color: #16181b; }
.promo-light a { border: 0; background: #202327; color: #fff; }
.promo-image { position: absolute; right: -2%; bottom: -12%; width: 50%; aspect-ratio: 1; background-color: transparent; mix-blend-mode: multiply; }

.sprite { display: block; background-repeat: no-repeat; background-size: 200% 200%; background-position: center; }
.sprite-sheet-1 { background-image: url("assets/nova-products-sheet-1.webp"); }
.sprite-sheet-2 { background-image: url("assets/nova-products-sheet-2.webp"); }
.sprite-sheet-3 { background-image: url("assets/nova-products-sheet-3.webp"); }
.sprite-q1 { background-position: 0 0; }
.sprite-q2 { background-position: 100% 0; }
.sprite-q3 { background-position: 0 100%; }
.sprite-q4 { background-position: 100% 100%; }

.site-footer { background: #202327; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; padding-block: 58px 45px; }
.brand-footer .brand-copy strong { color: #fff; }
.footer-grid p { max-width: 390px; color: #b7bbc1; font-size: .82rem; }
.footer-grid h3 { margin: 0 0 16px; font-size: .9rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid button { padding: 5px 0; border: 0; background: transparent; color: #b7bbc1; font-size: .8rem; }
.footer-grid button:hover { color: #fff; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #3b3e43; color: #aeb2b8; font-size: .72rem; }
.footer-bottom strong { color: var(--yellow); letter-spacing: .08em; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 98; background: rgba(13,15,18,.58); backdrop-filter: blur(2px); }
.drawer-backdrop[hidden] { display: none; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; width: min(440px, 100%); display: flex; flex-direction: column; padding: 28px; background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .28s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 4px 0 0; font-size: 1.65rem; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d7dadd; border-radius: 50%; background: #fff; color: #2b2e33; font-size: 1.5rem; line-height: 1; }
.cart-items { overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item > a:first-child { display: block; border-radius: 4px; }
.cart-item-image { width: 72px; height: 64px; padding: 4px; border-radius: 4px; background-color: #fff; object-fit: contain; }
.cart-item div:nth-child(2) { display: grid; }
.cart-item strong { font-size: .78rem; line-height: 1.35; }
.cart-item strong a:hover { color: var(--red); text-decoration: underline; }
.cart-item a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cart-item small { margin-top: 4px; color: var(--red); font-weight: 800; }
.remove-item { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f0f1f2; color: #555a61; }
.cart-empty { margin: auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cart-empty[hidden], .cart-summary[hidden] { display: none; }
.cart-empty > span { font-size: 3rem; }
.cart-empty strong { margin-top: 13px; }
.cart-empty p { color: var(--muted); font-size: .84rem; }
.cart-summary { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; font-weight: 700; }
.cart-summary > div strong { font-size: 1.2rem; }
.cart-summary p { margin: 8px 0 18px; color: var(--muted); font-size: .72rem; }
.checkout-button { width: 100%; background: var(--red); color: #fff; }

.cart-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.demo-dialog { width: min(590px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow-y: auto; padding: 38px; border: 0; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.28); text-align: left; }
.demo-dialog::backdrop { background: rgba(13,15,18,.64); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 13px; right: 13px; }
.dialog-badge { display: inline-block; padding: 6px 9px; border-radius: 3px; background: var(--yellow); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.demo-dialog h2 { margin: 18px 0 8px; font-size: 1.8rem; }
.demo-dialog p { color: var(--muted); }
.demo-dialog .primary-button { margin-top: 10px; background: var(--red); color: #fff; }
.product-detail-dialog { width: min(850px, calc(100% - 30px)); }
.product-detail-layout { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr); gap: 34px; align-items: center; }
.product-detail-media { min-height: 360px; display: grid; place-items: center; border-radius: 7px; background: #f5f6f7; }
.product-detail-media img { width: 100%; max-height: 360px; padding: 28px; object-fit: contain; }
.product-detail-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.product-detail-category { margin-top: 14px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-detail-dialog h2 { margin-top: 8px; line-height: 1.15; }
.product-detail-model { margin: 0 0 20px; }
.product-detail-price { color: var(--red); font-size: 2rem; letter-spacing: -.04em; }
.product-detail-old-price { margin-top: 2px; }
.product-detail-copy .delivery { margin: 13px 0; }
.product-detail-payment { width: 100%; margin: 4px 0 20px; padding: 13px; border-left: 4px solid var(--yellow); background: #f5f6f7; font-size: .78rem; }
.product-detail-payment strong { display: block; color: var(--ink); }
.product-detail-copy .add-button { min-height: 48px; }
.checkout-form { display: grid; gap: 14px; margin-top: 24px; }
.checkout-form[hidden] { display: none; }
.checkout-form label { display: grid; gap: 6px; color: #30343a; font-size: .76rem; font-weight: 800; }
.checkout-form input, .checkout-form textarea { width: 100%; border: 1px solid #cfd3d8; border-radius: 4px; background: #fff; color: var(--ink); padding: 11px 12px; outline: none; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(223,0,0,.1); }
.checkout-form textarea { resize: vertical; }
.checkout-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.checkout-field { grid-column: 1 / -1; }
.checkout-field-compact { grid-column: auto; }
.checkout-field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.checkout-field-label strong { font: inherit; }
.checkout-field-optional { color: var(--muted); font-size: .68rem; font-weight: 500; }
.checkout-fields-empty { grid-column: 1 / -1; margin: 0; padding: 13px; border-radius: 4px; background: #f5f6f7; color: var(--muted); font-size: .78rem; }
.cod-box { display: flex; justify-content: space-between; gap: 18px; padding: 14px; border: 1px solid #d7dadd; border-radius: 5px; background: #f7f7f8; }
.cod-box strong { color: var(--red); }
.cod-box span { color: var(--muted); font-size: .78rem; }
.privacy-check { display: grid !important; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: #555b63; font-size: .74rem; line-height: 1.4; }
.privacy-check input { width: 18px !important; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.checkout-form .primary-button { width: 100%; min-height: 48px; }
.checkout-status { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin: 24px 0 0; padding: 20px; border: 1px solid #d7dadd; border-left: 4px solid var(--yellow); border-radius: 6px; background: #f7f7f8; color: var(--ink) !important; }
.checkout-status[hidden] { display: none; }
.checkout-status small { display: block; margin-bottom: 5px; color: #697078; font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.checkout-status h3 { margin: 0 0 5px; font-size: 1.05rem; }
.checkout-status p { margin: 0; color: #535961; font-size: .84rem; line-height: 1.45; }
.order-status-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #ffe000; color: #17191c; font-size: 1.15rem; }
.checkout-status.is-pending .order-status-icon { animation: orderPulse 1.2s ease-in-out infinite; }
.checkout-status.is-approved { border-left-color: #16804a; background: #eef9f3; }
.checkout-status.is-approved .order-status-icon { background: #16804a; color: #fff; }
.checkout-status.is-declined { border-left-color: #cf2525; background: #fff2f2; }
.checkout-status.is-declined .order-status-icon { background: #cf2525; color: #fff; }
.order-status-edit { grid-column: 1 / -1; width: 100%; min-height: 43px; }
@keyframes orderPulse { 50% { transform: scale(.9); opacity: .72; } }

.otp-preview { margin-top: 24px; padding: 24px; border: 1px solid #d8dbe0; border-radius: 8px; background: linear-gradient(145deg, #f8f8f9, #fff); text-align: center; }
.otp-preview[hidden] { display: none; }
.otp-preview-badge { display: inline-flex; padding: 5px 8px; border-radius: 3px; background: #23262a; color: #fff; font-size: .62rem; font-weight: 900; letter-spacing: .07em; }
.otp-preview-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 18px auto 8px; border-radius: 50%; background: #ffe000; color: #17191c; font-size: 1.8rem; }
.otp-preview > small { color: #697078; font-size: .67rem; font-weight: 900; letter-spacing: .08em; }
.otp-preview h3 { margin: 7px 0 8px; font-size: 1.2rem; }
.otp-preview p { max-width: 470px; margin: 0 auto; font-size: .8rem; line-height: 1.55; }
.otp-preview-boxes { display: grid; grid-template-columns: repeat(6, minmax(38px, 1fr)); gap: 8px; margin: 22px auto 12px; }
.otp-preview-boxes span { height: 50px; display: grid; place-items: center; border: 1px solid #cfd3d8; border-radius: 5px; background: #f2f3f4; color: #9ba0a7; font-size: 1.25rem; }
.otp-preview .primary-button, .otp-preview .secondary-button { width: 100%; min-height: 44px; }
.otp-preview .primary-button:disabled { opacity: .48; cursor: not-allowed; }
.otp-preview .secondary-button { margin-top: 9px; }

.compact-dialog { width: min(500px, calc(100% - 30px)); }
.delivery-area-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 22px; }
.delivery-area-form label { display: grid; gap: 7px; color: #30343a; font-size: .76rem; font-weight: 800; }
.delivery-area-form input { width: 100%; min-height: 44px; border: 1px solid #cfd3d8; border-radius: 4px; padding: 0 12px; font: inherit; }
.delivery-area-form .primary-button { min-height: 44px; margin: 0; }
.info-dialog-copy { margin-top: 18px; padding: 16px; border-left: 4px solid var(--yellow); border-radius: 0 5px 5px 0; background: #f6f7f8; }
.info-dialog-copy p { margin: 0; line-height: 1.65; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(520px, calc(100% - 30px)); padding: 12px 17px; border-radius: 4px; background: #202327; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.24); font-size: .82rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* NOVA's original interpretation of the German big-box electronics layout. */
.demo-ribbon {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 125;
  min-height: 0;
  width: auto;
  max-width: calc(100% - 28px);
  justify-content: flex-start;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: rgba(25, 26, 28, .94);
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
  font-size: .67rem;
}

.site-header { background: var(--red); color: #fff; box-shadow: none; }

.main-header {
  min-height: 72px;
  grid-template-columns: 205px minmax(340px, 1fr) auto;
  gap: 24px;
  color: #fff;
}

.site-header .brand-mark { background: #fff; color: var(--red); }
.site-header .brand-copy strong, .site-header .brand-copy small { color: #fff; }
.site-header .brand-copy small { letter-spacing: .18em; }

.search { height: 50px; border: 0; border-radius: 8px; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.search input { padding-inline: 15px; }
.search button { width: 54px; background: #fff; color: #121416; }
.search button:hover { background: #f2f3f4; color: var(--red); }
.ai-search { height: 36px; display: inline-flex; align-items: center; gap: 6px; align-self: center; margin-left: 7px; padding: 0 10px; border-right: 1px solid #dddfe2; border-radius: 5px; background: #f0f1f2; color: #44484e; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.ai-search i { position: relative; width: 31px; height: 17px; border-radius: 99px; background: #a9adb2; }
.ai-search i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }

.header-actions { gap: 10px; }
.market-action { min-width: 150px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border: 0; background: transparent; color: #fff; text-align: left; }
.market-action > span { display: grid; }
.market-action strong { font-size: .79rem; }
.market-action small { margin-top: 2px; color: rgba(255,255,255,.82); font-size: .65rem; }
.market-action b { font-size: 1rem; }
.round-action { position: relative; width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 50%; background: #fff; color: #141619; font-size: 1.3rem; font-weight: 800; }
.round-action:hover { background: var(--yellow); }
.round-action > b { position: absolute; right: -3px; top: -3px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--red); border-radius: 99px; background: #fff; color: var(--red); font-size: .62rem; }
.round-action > b[hidden] { display: none; }

.category-nav { border: 0; background: var(--red); color: #fff; }
.category-scroll { min-height: 48px; gap: 0; }
.menu-button { min-height: 34px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-right: 20px; padding: 0 15px; border: 0; border-radius: 3px; background: #fff; color: #15171a; font-size: .8rem; font-weight: 800; text-decoration: none; }
.menu-button.is-active { background: var(--yellow); color: #15171a; }
.nav-category { min-height: 48px; display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0 13px; border: 0; color: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.nav-category:hover, .nav-category.is-active { border: 0; background: rgba(130,0,0,.28); color: #fff; }
.nav-divider { width: 1px; height: 22px; flex: 0 0 auto; margin: 0 8px; background: rgba(255,255,255,.55); }

.benefits { background: #050505; border: 0; color: #fff; }
.benefit-grid { min-height: 50px; grid-template-columns: repeat(3, 1fr); }
.benefit-grid article, .benefit-grid article:first-child { justify-content: center; padding: 10px 18px; border: 0; }
.benefit-grid article > span { display: none; }
.benefit-grid strong { color: #fff; font-size: .73rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

main { padding-bottom: 72px; background: #fff; }
.hero.shell { width: 100%; max-width: none; margin-top: 0; }
.hero { min-height: 430px; grid-template-columns: .8fr 1.2fr; border-radius: 0; background: #050505; box-shadow: none; }
.hero-copy { padding: 48px max(28px, calc((100vw - 1440px) / 2 + 24px)); padding-right: 35px; }
.countdown { display: grid; margin-bottom: 45px; }
.countdown small { font-size: .78rem; font-weight: 800; }
.countdown strong { margin-top: 5px; font-size: 2.15rem; font-weight: 900; font-style: italic; letter-spacing: -.04em; }
.countdown span { margin-top: -3px; color: #aaaeb5; font-size: .55rem; word-spacing: 8px; }
.hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(2rem, 3.3vw, 3.55rem); font-style: italic; letter-spacing: -.055em; }
.hero-copy > p:not(.hero-note) { max-width: 470px; margin-bottom: 30px; color: #c6c8cc; font-size: .94rem; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: #fff; font-size: .9rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.hero-link span { color: var(--red); font-size: 1.6rem; text-decoration: none; }
.hero-note { margin-top: 27px; font-size: .66rem; }
.hero-visual { min-height: 430px; overflow: hidden; background: radial-gradient(circle at 55% 50%, #2e3035 0, #090a0b 50%, #050505 75%); }
.hero-visual::before { display: none; }
.hero-word { position: absolute; left: 50%; top: 50%; color: rgba(255,255,255,.95); font-size: clamp(12rem, 23vw, 28rem); font-weight: 900; line-height: .8; letter-spacing: -.13em; transform: translate(-54%, -50%); }
.hero-phone { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(470px, 72%); max-height: 390px; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0,0,0,.3)); transform: translate(-50%, -50%); }
.hero-product-photo { border-radius: 12px; background: #fff; }
.energy-tag { position: absolute; right: 8%; bottom: 13%; z-index: 3; width: 40px; height: 26px; display: grid; place-items: center; background: #16a566; color: #fff; font-size: .8rem; font-weight: 900; clip-path: polygon(0 50%, 22% 0, 100% 0, 100% 100%, 22% 100%); }

.top-offers { margin-top: 32px; }
.top-offers > h2 { margin: 0 0 22px; font-size: 1.55rem; letter-spacing: -.035em; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.offer-card { min-width: 0; overflow: hidden; border: 1px solid #d9dce0; border-radius: 10px; background: #fff; }
.offer-art { height: 228px; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 18px; background: var(--yellow); }
.offer-art > .sprite { width: 31%; aspect-ratio: 1; flex: 0 0 auto; border-radius: 4px; background-color: #fff; }
.offer-single { position: relative; background: #ececee; }
.offer-single > .sprite { width: 46%; }
.offer-single b { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.45rem; transform: rotate(-8deg); }
.offer-pair { background: #f5f5f5; }
.offer-pair > .sprite { width: 38%; }
.offer-pair i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #050505; color: #fff; font-size: 1.2rem; font-style: normal; font-weight: 900; }
.offer-content { min-height: 290px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 20px 22px; }
.offer-content small { display: inline-flex; padding: 4px 8px; border: 1px solid var(--red); border-radius: 99px; color: #44484e; font-size: .63rem; }
.offer-content h3 { margin: 18px 0 9px; font-size: 1.55rem; line-height: 1.08; font-style: italic; letter-spacing: -.04em; }
.offer-content p { margin: 0 0 22px; color: var(--muted); font-size: .8rem; }
.offer-content a { min-height: 41px; display: inline-flex; align-items: center; margin-top: auto; padding: 0 16px; border: 2px solid #1e2024; border-radius: 4px; background: #fff; color: #15171a; font-size: .76rem; font-weight: 800; text-decoration: none; }
.offer-content a::before { content: "›"; margin-right: 8px; font-size: 1rem; }
.offer-content a:hover { background: #1e2024; color: #fff; }

.category-showcase, .product-section, .promo-grid { margin-top: 48px; }
.category-route-intro { display: none; }
.site-document.category-route .home-only { display: none; }
.site-document.search-route .home-only { display: none; }
.site-document.search-route .product-section { margin-top: 30px; }
.site-document.category-route .category-route-intro {
  display: block;
  margin-top: 30px;
  border: 1px solid #d9dce0;
  border-radius: 10px;
  background: linear-gradient(120deg, #fff 0%, #fff 64%, #f1f2f3 100%);
  box-shadow: 0 10px 30px rgba(20,22,25,.06);
}
.breadcrumbs { display: flex; align-items: center; gap: 9px; padding: 16px 26px; border-bottom: 1px solid #e1e3e6; color: #6b7077; font-size: .78rem; }
.breadcrumbs a { color: var(--red); font-weight: 800; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs strong { color: #40444a; }
.category-route-heading { max-width: 760px; padding: 34px 26px 38px; }
.category-route-heading h1 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.055em; }
.category-route-heading p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.site-document.category-route .product-section { margin-top: 28px; }

.product-page { display: none; margin-top: 30px; margin-bottom: 72px; }
.product-page[hidden] { display: none; }
.site-document.product-route .home-only,
.site-document.product-route .category-route-intro,
.site-document.product-route .product-section { display: none; }
.site-document.product-route .product-page:not([hidden]) { display: block; }
.pdp-breadcrumbs { border: 1px solid #d9dce0; border-radius: 8px; background: #fff; }
.pdp-breadcrumbs strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 24px; align-items: start; margin-top: 16px; }
.pdp-gallery,
.pdp-summary,
.pdp-description,
.pdp-specs { border: 1px solid #d8dbe0; border-radius: 10px; background: #fff; box-shadow: 0 8px 25px rgba(20,22,25,.045); }
.pdp-gallery { min-width: 0; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; padding: 22px; }
.pdp-thumbnails { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbnail { width: 78px; aspect-ratio: 1; overflow: hidden; padding: 6px; border: 2px solid var(--red); border-radius: 7px; background: #fff; }
.pdp-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.pdp-main-media { min-width: 0; aspect-ratio: 1.08; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #f7f7f8; }
.pdp-main-media img { width: 100%; height: 100%; max-height: 630px; padding: clamp(28px, 5vw, 66px); object-fit: contain; }
.pdp-summary { position: sticky; top: 18px; padding: 28px; }
.pdp-badge { display: inline-flex; min-height: 27px; align-items: center; padding: 5px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 900; letter-spacing: .03em; }
.pdp-badge.yellow { background: var(--yellow); color: #17191c; }
.pdp-brand { display: block; margin-top: 22px; color: #6c7178; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.pdp-title { margin: 8px 0 12px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.08; letter-spacing: -.045em; }
.pdp-model { margin: 0; color: #5c6168; line-height: 1.65; }
.pdp-price-wrap { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pdp-old-price { display: block; font-size: .82rem; }
.pdp-price-row { display: flex; align-items: center; gap: 12px; margin-top: 3px; }
.pdp-price { color: var(--red); font-size: 2.25rem; font-weight: 900; letter-spacing: -.055em; }
.pdp-discount { padding: 5px 8px; border-radius: 3px; background: var(--red-soft); color: var(--red); font-size: .74rem; font-weight: 900; }
.pdp-stock { display: flex; align-items: center; gap: 11px; margin: 20px 0; padding: 13px 14px; border-radius: 6px; background: #f2f8f4; color: #155f35; }
.pdp-stock > span { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,131,66,.13); }
.pdp-stock div { display: grid; }
.pdp-stock strong { font-size: .88rem; }
.pdp-stock small { color: #4e705c; font-size: .74rem; }
.pdp-buy-row { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: end; }
.pdp-quantity { display: grid; gap: 6px; color: #4e535a; font-size: .74rem; font-weight: 800; }
.pdp-quantity > span { height: 52px; display: grid; grid-template-columns: 38px 1fr 38px; overflow: hidden; border: 1px solid #cfd3d8; border-radius: 5px; background: #fff; }
.pdp-quantity button { border: 0; background: #f2f3f4; color: #30343a; font-size: 1.2rem; }
.pdp-quantity input { min-width: 0; width: 100%; border: 0; border-inline: 1px solid #dfe2e6; outline: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.pdp-quantity input::-webkit-outer-spin-button,
.pdp-quantity input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.pdp-add { min-height: 52px; font-size: .92rem; }
.pdp-quantity button:focus-visible,
.pdp-quantity input:focus-visible,
.pdp-add:focus-visible,
.pdp-thumbnail:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pdp-service-list { display: grid; gap: 0; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.pdp-service-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pdp-service-list li > span { color: var(--green); font-weight: 900; }
.pdp-service-list li div { display: grid; }
.pdp-service-list strong { font-size: .82rem; }
.pdp-service-list small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.pdp-content-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 24px; }
.pdp-description,
.pdp-specs { padding: 30px; }
.pdp-content-grid h2 { margin: 8px 0 18px; font-size: 1.55rem; }
.pdp-description p { margin: 0; color: #51565d; line-height: 1.75; }
.pdp-description p + p { margin-top: 14px; }
.pdp-spec-list { margin: 0; }
.pdp-spec-list > div { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pdp-spec-list > div:last-child { border-bottom: 0; }
.pdp-spec-list dt { color: #666b73; font-size: .78rem; }
.pdp-spec-list dd { margin: 0; font-size: .8rem; font-weight: 800; text-align: right; }
.pdp-related { margin-top: 40px; }
.pdp-related .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.product-title { font-size: .8rem; }
.product-body { padding: 13px; }
.price { font-size: 1.25rem; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 32px, 1100px); }
  .main-header { grid-template-columns: 180px 1fr auto; gap: 20px; }
  .market-action { display: none; }
  .header-action span:last-child { display: none; }
  .header-actions { gap: 12px; }
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid article:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .benefit-grid article:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .utility-bar nav a:nth-child(n+2) { display: none; }
  .main-header { grid-template-columns: 1fr auto; padding-block: 14px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 400px; }
  .hero-visual { min-height: 360px; }
  .hero-device-grid { left: 50%; width: min(360px, 76%); }
  .hero-price { right: 6%; top: 32%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pdp-hero,
  .pdp-content-grid { grid-template-columns: 1fr; }
  .pdp-summary { position: static; }
  .pdp-related .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 24px); }
  .demo-ribbon { font-size: .66rem; }
  .utility-bar { min-height: 34px; }
  .main-header { grid-template-columns: 1fr auto; gap: 13px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 1.55rem; }
  .header-actions .header-action:first-child { display: none; }
  .header-actions > button[aria-label="Merkliste"] { display: none; }
  .ai-search { display: none; }
  .action-icon { font-size: 1.35rem; }
  .hero { margin-top: 12px; }
  .hero-copy { min-height: 355px; padding: 32px 24px; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .hero-visual { min-height: 290px; }
  .hero-device-grid { left: 48%; width: min(270px, 78%); }
  .hero-price { width: 105px; height: 105px; border-width: 5px; }
  .hero-price strong { font-size: 1.85rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article, .benefit-grid article:nth-child(3), .benefit-grid article:first-child { border: 0; border-bottom: 1px solid var(--line); }
  .category-showcase, .product-section, .promo-grid { margin-top: 42px; }
  .category-cards { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .category-card { min-width: 150px; scroll-snap-align: start; }
  .site-document.category-route .category-route-intro { width: calc(100% - 24px); margin-top: 18px; }
  .site-document.product-route .category-route-intro { display: none; }
  .product-page { width: calc(100% - 24px); margin-top: 18px; }
  .pdp-breadcrumbs { padding: 13px 15px; }
  .pdp-gallery { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .pdp-main-media { order: 1; aspect-ratio: 1; }
  .pdp-main-media img { padding: 28px; }
  .pdp-thumbnails { order: 2; flex-direction: row; }
  .pdp-thumbnail { width: 66px; }
  .pdp-summary,
  .pdp-description,
  .pdp-specs { padding: 20px 18px; }
  .pdp-title { font-size: 1.65rem; }
  .pdp-buy-row { grid-template-columns: 1fr; }
  .pdp-quantity { width: 132px; }
  .pdp-spec-list > div { grid-template-columns: 1fr; gap: 3px; }
  .pdp-spec-list dd { text-align: left; }
  .breadcrumbs { padding: 13px 18px; }
  .category-route-heading { padding: 25px 18px 28px; }
  .section-heading { align-items: flex-start; }
  .product-heading { flex-direction: column; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { flex: 1; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-body { padding: 12px; }
  .product-title { min-height: 58px; font-size: .8rem; }
  .price { font-size: 1.16rem; }
  .discount { display: none; }
  .product-badge { top: 8px; left: 8px; font-size: .58rem; }
  .favorite-button { top: 6px; right: 6px; width: 32px; height: 32px; }
  .promo-card { min-height: 290px; padding: 30px 24px; }
  .promo-card h2 { font-size: 1.75rem; }
  .promo-image { width: 52%; opacity: .7; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .cart-drawer { padding: 22px; }
  .demo-dialog { padding: 30px 20px 24px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-media { min-height: 220px; }
  .product-detail-media img { max-height: 220px; padding: 18px; }
  .checkout-row { grid-template-columns: 105px 1fr; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-field, .checkout-field-compact { grid-column: 1; }
  .otp-preview { padding: 20px 14px; }
  .otp-preview-boxes { gap: 5px; }
  .otp-preview-boxes span { height: 42px; }
  .delivery-area-form { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .pdp-related .product-grid { grid-template-columns: 1fr; }
  .pdp-quantity > span { grid-template-columns: 44px 1fr 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
