:root {
  color-scheme: light;
  --orange: #F96700;
  --orange-dark: #D95A00;
  --price-red: #FF3927;
  --yellow: #FFE100;
  --ink: #141414;
  --power-grey: #252525;
  --muted: #676b72;
  --line: #e5e5e5;
  --soft: #f7f7f7;
  --green: #13a538;
  --app-width: 430px;
  --nav-height: 82px;
}

@font-face {
  font-family: "Gotham Narrow";
  src: url("./assets/fonts/GothamNarrow-Medium.otf") format("opentype");
  font-weight: 500;
}

@font-face {
  font-family: "Gotham Narrow";
  src: url("./assets/fonts/GothamNarrow-Black.otf") format("opentype");
  font-weight: 800;
}

@font-face {
  font-family: "Gotham Narrow";
  src: url("./assets/fonts/GothamNarrow-Ultra.otf") format("opentype");
  font-weight: 900;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
  color: var(--ink);
  font-family: "Gotham Narrow", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: rgba(255, 79, 0, 0.18);
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.prototype-shell {
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #ffffff;
  overflow: hidden;
}

.app-frame {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #ffffff;
  overflow: hidden;
  box-shadow: none;
}

.app-header {
  z-index: 5;
  padding: calc(18px + env(safe-area-inset-top)) 15px 12px;
  color: #ffffff;
  background: #000000;
}

.header-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.brand {
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  min-width: 100px;
  flex: 0 1 128px;
  justify-items: start;
}

.brand img {
  width: 100%;
  max-width: 128px;
  max-height: 32px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  display: none;
}

.header-actions {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 2px;
}

.header-action {
  min-width: 0;
  flex: 1 1 0;
  border: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #ffffff;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.header-action span {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.header-action svg {
  font-size: 23px;
}

.search-field {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #6f7379;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}

.search-field svg {
  font-size: 22px;
}

.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #63676d;
  background: transparent;
  font: inherit;
  font-size: 17px;
}

.search-field input::placeholder {
  color: #767b81;
}

.search-submit,
.search-field .scan {
  border: 0;
  padding: 0;
  background: transparent;
}

.search-submit {
  color: #6f7379;
}

.search-field .scan {
  color: var(--orange);
}

.app-main {
  min-height: 0;
  padding: 16px 15px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  overscroll-behavior: contain;
}

.app-main > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.app-main::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.bottom-nav {
  z-index: 6;
  width: 100%;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 8px 6px max(8px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.nav-item {
  min-width: 0;
  border: 0;
  padding: 4px 0 2px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: #151515;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}

.nav-item.active {
  color: var(--orange);
}

.nav-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  font-size: 30px;
}

.badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-size: 10px;
  font-weight: 800;
}

.app-frame button {
  cursor: pointer;
}

.app-frame button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

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

.page-heading {
  margin: 8px 0 14px;
}

.page-heading h1,
.product-hero h1 {
  font-size: 29px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.page-heading p,
.product-hero p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.section-title {
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
}

.section-title button {
  border: 0;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--orange);
  background: transparent;
  white-space: nowrap;
  font-weight: 500;
}

.bonus-strip,
.store-card,
.member-card,
.countdown-card,
.calendar-card,
.checkout-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.bonus-strip {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  background: linear-gradient(135deg, #090909, #202020);
  margin-bottom: 16px;
}

.bonus-strip strong {
  color: var(--orange);
}

.bonus-strip button {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--orange);
  background: transparent;
  font-size: 23px;
  font-weight: 800;
}

.campaign-grid,
.offer-grid,
.support-actions {
  display: grid;
  gap: 12px;
}

.campaign-grid {
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.campaign-grid::-webkit-scrollbar {
  display: none;
}

.offer-grid,
.support-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campaign-card {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 12px;
  color: #ffffff;
  text-align: left;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.campaign-card.sale {
  background: var(--orange);
}

.campaign-card.show {
  background: #40130d;
}

.campaign-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-card strong {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.campaign-card i {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #111111;
  background: #ffffff;
  border-radius: 999px;
  z-index: 1;
}

.campaign-page-hero {
  min-height: 190px;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: #111111;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.campaign-page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.58));
}

.campaign-page-hero div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.campaign-page-hero span {
  color: var(--orange);
  font-weight: 700;
}

.campaign-page-hero h1 {
  font-size: 28px;
  line-height: 1.03;
}

.campaign-page-hero p {
  max-width: 32ch;
  font-weight: 400;
}

.brand-list-page {
  display: grid;
  gap: 10px;
}

.brand-list-page button {
  min-height: 60px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  text-align: left;
}

.brand-list-page strong {
  font-size: 18px;
  font-weight: 700;
}

.brand-list-page span {
  color: var(--muted);
  font-size: 13px;
}

.category-rail,
.small-tile-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.small-tile-row {
  grid-auto-columns: 92px;
}

.category-rail,
.small-tile-row,
.brand-grid {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-rail::-webkit-scrollbar,
.small-tile-row::-webkit-scrollbar,
.brand-grid::-webkit-scrollbar {
  display: none;
}

.round-category,
.small-tile {
  border: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.round-category svg {
  width: 56px;
  height: 56px;
  padding: 13px;
  color: #151515;
  background: #f1f1f1;
  border-radius: 999px;
}

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

.category-tile,
.small-tile,
.mini-card,
.quick-grid button,
.action-grid button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-tile {
  min-height: 92px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--ink);
  text-align: center;
}

.category-tile span,
.round-category span {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.category-tile svg {
  font-size: 32px;
}

.small-tile {
  width: 92px;
  min-height: 76px;
  padding: 10px 5px;
  position: relative;
}

.small-tile svg {
  font-size: 25px;
}

.small-tile span {
  max-width: 82px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.small-tile em {
  padding: 2px 6px;
  color: #ffffff;
  background: var(--orange);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
}

.brand-grid,
.mypower-grid,
.quick-grid,
.action-grid,
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brand-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 138px;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.brand-grid button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  background: #ffffff;
  font-weight: 800;
  font-size: 20px;
  overflow: hidden;
  white-space: nowrap;
}

.wide-campaign {
  width: 100%;
  min-height: 0;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  display: block;
  position: relative;
  color: #ffffff;
  text-align: left;
  background: #bd9a69;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.wide-campaign > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.wide-campaign .point {
  position: relative;
  z-index: 1;
  padding: 4px 12px;
  background: #d51c16;
  font-size: 22px;
  font-weight: 900;
}

.wide-campaign strong {
  position: relative;
  z-index: 1;
  max-width: 260px;
  font-size: 24px;
  line-height: 1.05;
}

.wide-campaign em {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  border-radius: 6px;
  font-style: normal;
  font-weight: 800;
}

.wide-campaign i {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #151515;
  border: 3px solid var(--orange);
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  z-index: 1;
}

.offer-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 7px;
  background: #ffffff;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.product-title {
  min-height: 34px;
  font-size: 15px;
  line-height: 1.08;
  font-weight: 500;
}

.save,
.result-price em,
.power-price em {
  justify-self: start;
  padding: 3px 7px;
  color: #111111;
  background: var(--yellow);
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}

.brand-name {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.stars {
  color: var(--orange);
  font-size: 13px;
}

.stars small {
  color: var(--muted);
  margin-left: 4px;
}

.price {
  color: var(--price-red);
  font-size: 27px;
  font-weight: 900;
}

.power-price {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 2px;
}

.power-price strong {
  padding: 2px 10px 3px;
  color: #ffffff;
  background: var(--price-red);
  font-size: 34px;
  line-height: 0.95;
  font-weight: 900;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.power-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.card-price strong {
  font-size: 27px;
}

.result-price-block strong,
.detail-price strong {
  font-size: 42px;
}

.product-media {
  min-height: 112px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: contain;
  padding: 2px;
}

.product-fallback {
  width: 100%;
  min-height: inherit;
  display: none;
  place-items: center;
  color: #151515;
  background: linear-gradient(135deg, #f8f8f8, #ededed);
  border: 1px solid #eeeeee;
  border-radius: 8px;
  font-size: 46px;
}

.product-media.is-fallback img {
  display: none;
}

.product-media.is-fallback .product-fallback {
  display: grid;
}

.result-product-image {
  min-height: 140px;
}

.owned-product-image {
  min-height: 94px;
}

.detail-product-image {
  min-height: 230px;
  margin: 20px 0;
  background: #ffffff;
}

.detail-product-image img {
  padding: 0;
}

.cart-product-image {
  min-height: 70px;
}

.product-art {
  min-height: 88px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7f7f7, #e9e9e9);
  overflow: hidden;
}

.product-art span,
.product-art::before,
.product-art::after {
  content: "";
  display: block;
  position: absolute;
}

.product-art.phone span {
  width: 44px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(145deg, #101010, #555);
  box-shadow: -16px 8px 0 #d5d5d5;
}

.product-art.headphones span {
  width: 80px;
  height: 62px;
  border: 9px solid #111;
  border-bottom: 0;
  border-radius: 48px 48px 0 0;
}

.product-art.headphones::before,
.product-art.headphones::after {
  bottom: 15px;
  width: 24px;
  height: 38px;
  background: #111;
  border-radius: 14px;
}

.product-art.headphones::before {
  left: 34px;
}

.product-art.headphones::after {
  right: 34px;
}

.product-art.washer span,
.product-art.washerAlt span,
.product-art.washerDark span {
  width: 70px;
  height: 94px;
  border-radius: 5px;
  background: #ffffff;
  border: 2px solid #d9d9d9;
}

.product-art.washerDark span {
  background: #161616;
  border-color: #333333;
}

.product-art.washer span::after,
.product-art.washerAlt span::after,
.product-art.washerDark span::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle, #888, #222);
}

.product-art.speaker span {
  width: 104px;
  height: 42px;
  border-radius: 999px;
  background: #111;
}

.product-art.laptop span,
.product-art.laptopLarge span {
  width: 116px;
  height: 72px;
  border-radius: 4px;
  background: linear-gradient(135deg, #090909 0%, #181818 55%, #ec1f1f 56%, #090909);
  box-shadow: 0 16px 0 -4px #191919;
}

.product-art.laptopLarge {
  min-height: 210px;
}

.product-art.laptopLarge span {
  width: 230px;
  height: 145px;
}

.product-art.tvScene span {
  width: 110px;
  height: 62px;
  border: 4px solid #111;
  background: linear-gradient(135deg, #ff7a00, #55a7ff, #4fd05a);
}

.mini-card {
  min-width: 0;
  min-height: 84px;
  padding: 8px 5px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  text-align: center;
  overflow: hidden;
}

.mini-card svg {
  font-size: 23px;
}

.mini-card span {
  max-width: 100%;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.mini-card strong {
  color: var(--orange);
  font-size: 15px;
}

.store-card {
  width: 100%;
  margin-top: 24px;
  padding: 10px;
  display: grid;
  grid-template-columns: 78px 1fr auto auto;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.store-photo {
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: #252525;
  border-radius: 5px;
  font-weight: 800;
  font-style: italic;
}

.store-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.store-card small i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.store-card.is-open small i {
  background: var(--green);
}

.store-card.is-closed small i {
  background: #8b8f96;
}

.store-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

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

.benefit-row {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  text-align: left;
}

.benefit-row > svg:first-child {
  font-size: 38px;
}

.benefit-row small {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.benefit-row strong {
  font-size: 22px;
  font-weight: 800;
}

.popular-searches {
  margin-top: 28px;
}

.popular-searches h2 {
  margin-bottom: 14px;
}

.popular-searches div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
}

.pill svg {
  color: var(--orange);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.benefit-strip span {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  line-height: 1.05;
}

.benefit-strip strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.benefit-strip svg {
  font-size: 24px;
}

.results-heading {
  margin: 28px 0 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.results-heading h1 {
  font-size: 25px;
  line-height: 1.12;
}

.results-heading p {
  margin-top: 8px;
}

.filter-button {
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.result-list,
.owned-list,
.plain-list,
.cart-list,
.event-list,
.subcategory-list,
.search-category-matches > div {
  display: grid;
  gap: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 154px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 18px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  color: var(--ink);
  background: #ffffff;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.empty-state > svg {
  width: 42px;
  height: 42px;
  color: var(--orange);
}

.empty-state strong {
  font-size: 19px;
  font-weight: 800;
}

.empty-state p {
  max-width: 260px;
  color: var(--muted);
  font-size: 14px;
}

.empty-state button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 500;
}

.category-row-card {
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.category-row-card > svg:first-child {
  width: 34px;
  height: 34px;
}

.category-row-card strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
}

.category-row-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.search-category-matches {
  margin-top: 24px;
}

.search-category-matches h2 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 800;
}

.result-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.favorite {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.result-main {
  width: 100%;
  border: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  background: transparent;
  text-align: left;
}

.result-main .product-media {
  min-height: 135px;
}

.result-info {
  display: grid;
  gap: 6px;
  padding-right: 20px;
}

.category-line,
.product-meta-line {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
}

.result-info ul {
  margin: 0;
  padding-left: 17px;
  font-size: 13px;
}

.stock {
  color: var(--green);
  font-size: 12px;
  line-height: 1.35;
}

.result-price {
  grid-column: 2;
  justify-self: end;
  display: grid;
  justify-items: end;
}

.result-price .power-price {
  justify-items: end;
}

.member-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b0b0b, #232323);
}

.avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid #444;
  border-radius: 999px;
  color: var(--orange);
  font-size: 38px;
  font-weight: 900;
}

.avatar span {
  position: absolute;
  right: -3px;
  bottom: 5px;
  padding: 5px;
  color: #ffffff;
  background: #444;
  border-radius: 999px;
  font-size: 13px;
}

.member-card h1 {
  font-size: 25px;
  line-height: 1.12;
  font-weight: 800;
}

.member-card p {
  margin-top: 6px;
  font-weight: 500;
}

.member-card strong {
  display: block;
  margin-top: 4px;
  font-size: 25px;
  font-weight: 800;
}

.member-tools {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 48px 48px;
  gap: 10px;
}

.member-tools button {
  border: 1px solid #555;
  border-radius: 8px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.member-tools .id-button {
  justify-content: center;
  font-size: 18px;
}

.member-tools .id-button span {
  display: grid;
  gap: 2px;
  line-height: 1.08;
}

.member-tools .id-button small,
.quick-grid button small {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.member-tools .circle-action {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  justify-content: center;
}

.quick-grid {
  margin: 16px 0 24px;
}

.quick-grid button {
  min-width: 0;
  min-height: 78px;
  padding: 12px 8px;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  place-items: center;
  gap: 6px;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
}

.quick-grid button span {
  max-width: 100%;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.quick-grid svg {
  max-width: 100%;
  font-size: 30px;
}

.quick-grid button small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.disabled-soon {
  cursor: not-allowed;
  opacity: 0.56;
}

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

.menu-group h2 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

.menu-group > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.menu-row {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 11px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  text-align: left;
  color: var(--ink);
  font-weight: 500;
}

.menu-row strong {
  font-weight: 500;
}

.menu-row:last-child {
  border-bottom: 0;
}

.menu-row > svg:first-child {
  font-size: 24px;
}

.wolt-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #7bd1ee;
}

.wolt-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-row small {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-weight: 400;
}

.menu-row.is-closed small {
  color: #6e7379;
}

.menu-badge {
  padding: 3px 7px;
  color: #ffffff;
  background: var(--orange);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}

.menu-row.disabled-soon {
  background: #f7f7f7;
  color: #72777d;
}

.menu-row.disabled-soon small,
.quick-grid .disabled-soon small,
.member-tools .disabled-soon small {
  color: #7c8288;
}

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

.product-stat-card {
  position: relative;
  min-height: 102px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 9px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 38px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--orange);
  transform: translateX(-50%);
}

.product-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #f5f5f5;
}

.product-stat-icon svg {
  font-size: 24px;
}

.product-stat-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  align-content: center;
}

.product-stat-copy strong {
  font-size: 29px;
  line-height: 0.95;
  font-weight: 800;
}

.product-stat-copy > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.tab-row {
  margin: 18px 0;
  display: flex;
  gap: 10px;
}

.tab-row button {
  min-width: 70px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  background: #ffffff;
  font-weight: 500;
}

.tab-row .selected {
  border-color: var(--orange);
  color: #ffffff;
  background: var(--orange);
}

.owned-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 20, 24, 0.07);
}

.owned-main {
  width: 100%;
  border: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 11px;
  background: #ffffff;
  text-align: left;
}

.owned-product-image {
  min-height: 132px;
  align-self: stretch;
  background: #f7f7f7;
}

.owned-product-image img {
  padding: 6px;
}

.owned-content {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.owned-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.owned-metadata {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.owned-metadata > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.owned-metadata svg {
  flex: 0 0 auto;
  font-size: 18px;
}

.owned-metadata > span > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.owned-main em {
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.18;
  text-align: left;
}

.owned-main em svg {
  flex: 0 0 auto;
  font-size: 18px;
}

.owned-main em.good {
  color: var(--green);
  background: #e9f7e9;
}

.owned-main em.warn {
  color: var(--orange);
  background: #fff0ea;
}

.owned-main em.expired {
  color: #5d6268;
  background: #eeeeee;
}

.owned-main em.muted {
  color: #656565;
  background: #eeeeee;
}

.owned-trailing {
  min-height: 32px;
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 14px;
  padding-top: 2px;
  color: var(--ink);
}

.owned-trailing svg {
  font-size: 21px;
}

.owned-trailing svg:last-child {
  font-size: 24px;
}

.owned-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.owned-actions button {
  min-width: 0;
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 5px;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.owned-actions svg {
  flex: 0 0 auto;
  font-size: 19px;
}

.owned-actions button:last-child {
  border-right: 0;
}

.support-actions {
  margin-top: 20px;
}

.support-actions button {
  min-width: 0;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 10px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  text-align: left;
}

.support-actions button > svg:first-child {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--orange);
  background: #fff0ea;
  border-radius: 999px;
}

.support-actions strong {
  display: block;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.support-actions small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.buy-product {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  gap: 14px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.back-link {
  justify-self: start;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: transparent;
}

.back-link svg {
  transform: rotate(180deg);
}

.buy-media {
  min-height: 238px;
  display: grid;
  place-items: center;
}

.buy-product-image {
  width: 100%;
  min-height: 230px;
  background: #f7f7f7;
}

.buy-product-image img {
  padding: 14px;
}

.buy-summary {
  display: grid;
  gap: 8px;
}

.buy-summary h1 {
  font-size: 30px;
  line-height: 1.06;
  font-weight: 800;
}

.buy-stock {
  color: var(--green);
  font-size: 14px;
}

.buy-price-row {
  margin-top: 4px;
  display: block;
}

.primary-cta {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 800;
  font-size: 18px;
}

.purchase-options {
  margin: 14px 0;
  display: grid;
  gap: 10px;
}

.purchase-options article {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  background: #ffffff;
}

.purchase-options svg {
  font-size: 28px;
}

.purchase-options small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.spec-card,
.receipt-card,
.placeholder-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.spec-card {
  padding: 16px;
}

.spec-card h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.spec-card dl {
  margin: 0;
}

.description-list {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.spec-card div {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(96px, 0.8fr);
  column-gap: 16px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.spec-card dt {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.spec-card dd {
  margin: 0;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.spec-groups {
  display: grid;
  gap: 16px;
}

.spec-groups article {
  display: grid;
  gap: 6px;
}

.spec-groups h3 {
  font-size: 17px;
  font-weight: 700;
}

.category-product-list {
  margin-top: 16px;
}

.receipt-list,
.agreement-list,
.placeholder-products {
  display: grid;
  gap: 14px;
}

.agreement-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.agreement-card button {
  width: 100%;
  min-height: 94px;
  border: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  text-align: left;
}

.agreement-product-image {
  min-height: 72px;
}

.agreement-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.08;
  font-weight: 700;
}

.agreement-card small {
  display: block;
  margin: 4px 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
}

.agreement-card em {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
}

.agreement-card em.good {
  color: var(--green);
  background: #e9f7e9;
}

.agreement-card em.expired {
  color: #5d6268;
  background: #eeeeee;
}

.receipt-card {
  padding: 14px;
  box-shadow: 0 4px 16px rgba(16, 20, 24, 0.07);
}

.receipt-card header {
  display: block;
}

.receipt-toggle {
  width: 100%;
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.receipt-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 6px;
}

.receipt-card header strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.receipt-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: #fff0ea;
  border-radius: 999px;
  font-size: 23px;
}

.receipt-summary {
  min-width: 0;
}

.receipt-card header small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.receipt-card header small i {
  padding: 0 3px;
  font-style: normal;
}

.receipt-card header em {
  color: var(--orange);
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.receipt-chevron {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 21px;
  transition: transform 160ms ease;
}

.receipt-toggle[aria-expanded="true"] .receipt-chevron {
  transform: rotate(90deg);
}

.receipt-lines {
  margin: 13px 0 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.receipt-line {
  min-height: 58px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.receipt-line:last-child {
  border-bottom: 0;
}

.receipt-item-image,
.receipt-line-icon {
  width: 44px;
  min-height: 44px;
  height: 44px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fafafa;
}

.receipt-item-image img {
  min-height: 44px;
  padding: 3px;
}

.receipt-line-icon {
  display: grid;
  place-items: center;
  color: #5e6268;
  font-size: 22px;
}

.receipt-line-icon.service {
  color: var(--green);
  background: #edf8ed;
}

.receipt-line-icon.discount {
  color: var(--orange);
  background: #fff3ed;
}

.receipt-line-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.receipt-line-copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.receipt-line-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.receipt-line.service .receipt-line-copy strong,
.receipt-line.service .receipt-line-copy small {
  color: var(--green);
}

.receipt-line.discount .receipt-line-copy strong,
.receipt-line.discount .receipt-line-copy small {
  color: #70757b;
}

.receipt-quantity,
.receipt-card footer > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #5f656c;
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.receipt-quantity {
  min-width: 37px;
  min-height: 28px;
  padding: 0 7px;
}

.receipt-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.receipt-card footer > span {
  min-height: 30px;
  padding: 0 9px;
}

.receipt-card footer button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.receipt-card footer button svg {
  color: var(--orange);
  font-size: 20px;
}

.receipt-search {
  min-height: 50px;
  margin: 0 0 16px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 20, 24, 0.04);
}

.receipt-search > svg,
.receipt-search > span {
  display: grid;
  place-items: center;
  font-size: 22px;
}

.receipt-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.receipt-search input::placeholder {
  color: #7a8087;
}

.receipt-no-results {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
}

.receipt-privacy {
  margin: 20px 0 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.receipt-privacy svg {
  flex: 0 0 auto;
  font-size: 17px;
}

.compact-heading {
  margin-top: 8px;
}

.placeholder-card {
  overflow: hidden;
}

.placeholder-card button {
  width: 100%;
  border: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  text-align: left;
}

.placeholder-card strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.placeholder-card small {
  display: block;
  margin: 4px 0;
  color: var(--muted);
}

.placeholder-card em {
  display: inline-flex;
  padding: 3px 8px;
  color: #ffffff;
  background: #111111;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
}

.phone-placeholder {
  width: 74px;
  height: 104px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #111111;
  box-shadow: inset 0 0 0 4px #1f1f1f;
}

.phone-placeholder i {
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: #2b2b2b;
  align-self: start;
  margin-top: 9px;
}

.product-hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.product-hero .product-art {
  margin: 20px 0;
}

.product-hero dl {
  margin: 0;
}

.product-hero dl div {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(100px, 0.8fr);
  column-gap: 16px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.product-hero dt {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-hero dd {
  margin: 0;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
  text-align: right;
}

.green {
  color: var(--green);
}

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

.action-grid button {
  min-height: 112px;
  min-width: 0;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.action-grid button span {
  max-width: 100%;
  line-height: 1.1;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.action-grid svg {
  font-size: 34px;
}

.plain-list button,
.event-list button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  text-align: left;
  font-weight: 500;
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-heading svg {
  font-size: 32px;
}

.countdown-card {
  min-height: 174px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 0, 0, 0.88), rgba(80, 22, 0, 0.58)),
    url("./assets/campaigns/bigbang.webp") center / cover;
  overflow: hidden;
  text-align: center;
}

.countdown-card h2 {
  font-size: 24px;
  font-weight: 800;
}

.countdown {
  margin: 16px auto 14px;
  width: min(100%, 390px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.countdown span {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 2px 7px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  line-height: 1.1;
}

.countdown strong {
  display: block;
  font-size: clamp(23px, 7vw, 34px);
  font-weight: 800;
}

.countdown-card i {
  display: none;
}

.calendar-card {
  margin-top: 18px;
  padding: 16px;
}

.calendar-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-card header h2 {
  font-weight: 800;
}

.calendar-card header span {
  display: flex;
  gap: 18px;
}

.weekday-row,
.day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.weekday-row {
  margin-top: 20px;
  padding-bottom: 10px;
  color: #555;
  border-bottom: 1px solid var(--line);
}

.day-grid button,
.day-grid span {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.day-grid button {
  display: grid;
  place-items: center;
}

.day-grid button strong {
  font-weight: 500;
}

.day-grid .event strong {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--orange);
  border-radius: 999px;
  font-weight: 800;
}

.day-grid small {
  color: var(--orange);
  font-size: 10px;
}

.calendar-card p {
  margin-top: 14px;
  color: #222;
  font-size: 13px;
}

.calendar-card p i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background: var(--orange);
  border-radius: 999px;
}

.event-list {
  margin-top: 18px;
}

.event-list button {
  grid-template-columns: 54px 1fr auto auto auto;
}

.event-list button > strong {
  color: var(--orange);
  font-size: 28px;
  font-weight: 800;
}

.event-list button > strong span {
  display: block;
  color: #111111;
  font-size: 15px;
  font-weight: 400;
}

.event-list em {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
}

.cart-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #ffffff;
}

.cart-row .product-media {
  min-height: 72px;
}

.cart-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.checkout-card {
  margin-top: 16px;
  padding: 16px;
  display: grid;
  gap: 16px;
}

.checkout-card div {
  display: flex;
  justify-content: space-between;
}

.checkout-card button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 800;
}

.member-locked {
  position: relative;
  margin-top: 28px;
}

.member-locked-content {
  filter: grayscale(0.9);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

.member-login-gate {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 48px;
  min-width: 208px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(249, 103, 0, 0.28);
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.member-login-gate svg {
  font-size: 20px;
}

.login-overlay {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 0 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.login-dialog {
  width: min(100%, var(--app-width));
  max-height: calc(100dvh - 24px);
  position: relative;
  overflow: auto;
  border-radius: 16px 16px 0 0;
  padding: 28px 22px max(28px, env(safe-area-inset-bottom));
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.25);
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft);
  font-size: 27px;
  line-height: 1;
}

.login-logo {
  width: 122px;
  height: 32px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.login-dialog h1 {
  margin-top: 24px;
  font-size: 28px;
  line-height: 1.06;
  font-weight: 800;
}

.login-dialog > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.login-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.login-form > label {
  display: grid;
  gap: 7px;
  color: #32353a;
  font-size: 14px;
  font-weight: 800;
}

.login-form input {
  min-width: 0;
  width: 100%;
  height: 50px;
  border: 1px solid #ced0d3;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  outline: 0;
}

.login-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 103, 0, 0.17);
}

.phone-input-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}

.country-selector {
  min-height: 50px;
  border: 1px solid #ced0d3;
  border-radius: 8px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 500;
}

.norway-flag {
  width: 23px;
  height: 17px;
  flex: 0 0 auto;
  border-radius: 2px;
  background:
    linear-gradient(to right, transparent 0 29%, #fff 29% 37%, #003087 37% 46%, #fff 46% 54%, transparent 54% 100%),
    linear-gradient(to bottom, #ef2b2d 0 34%, #fff 34% 42%, #003087 42% 58%, #fff 58% 66%, #ef2b2d 66% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.country-selector svg {
  font-size: 15px;
}

.login-error {
  margin: -3px 0 0;
  color: #bd2d20;
  font-size: 14px;
  font-weight: 500;
}

.login-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--orange);
  font-size: 17px;
  font-weight: 800;
}

.login-submit:disabled {
  opacity: 0.62;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-switch {
  margin-top: 18px !important;
  color: var(--muted);
  font-size: 14px !important;
  text-align: center;
}

.auth-switch button {
  border: 0;
  padding: 0;
  color: var(--orange-dark);
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
}

.app-version-card,
.release-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(16, 20, 24, 0.06);
}

.app-version-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-version-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: #fff0ea;
}

.app-version-icon svg {
  font-size: 28px;
}

.app-version-card > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.app-version-card small,
.release-card header small {
  color: var(--muted);
  font-size: 13px;
}

.app-version-card strong {
  font-size: 22px;
  font-weight: 800;
}

.app-version-card em {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--orange-dark);
  background: #fff0ea;
  font-size: 12px;
  font-style: normal;
  text-transform: capitalize;
}

.release-card {
  margin-top: 14px;
  padding: 18px;
}

.release-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.release-card header h2 {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 800;
}

.release-card time {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.release-summary,
.release-loading,
.release-error,
.release-available {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.release-error {
  color: #bd2d20;
}

.release-available {
  color: var(--green);
}

.release-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.release-portal-link {
  min-height: 44px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 500;
}

@media (min-width: 600px) {
  .campaign-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 390px) {
  .app-main {
    padding-inline: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-action {
    width: 62px;
    font-size: 10px;
  }

  .offer-grid,
  .support-actions,
  .menu-layout {
    grid-template-columns: 1fr;
  }

  .member-card {
    grid-template-columns: 72px 1fr;
  }

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

  .member-tools button {
    justify-content: center;
  }

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

  .brand-grid,
  .mypower-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-main {
    grid-template-columns: 96px 1fr;
  }

  .result-price {
    grid-column: 1 / -1;
  }
}

/* Compact phones keep all labels readable instead of allowing them to escape cards. */
@media (max-width: 480px) {
  .header-actions {
    gap: 1px;
  }

  .header-action {
    font-size: 10px;
  }

  .header-action svg {
    font-size: 22px;
  }

  .nav-item {
    font-size: 13px;
  }

  .product-stat-card {
    min-height: 126px;
    padding: 12px 6px 15px;
    grid-template-columns: 1fr;
    grid-template-rows: 38px auto;
    justify-items: center;
    gap: 7px;
    text-align: center;
  }

  .product-stat-icon {
    width: 38px;
    height: 38px;
  }

  .product-stat-copy {
    justify-items: center;
  }

  .product-stat-copy strong {
    font-size: 27px;
  }

  .product-stat-copy > span {
    font-size: 12px;
  }

  .owned-main {
    grid-template-columns: 96px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 12px;
  }

  .owned-product-image {
    min-height: 122px;
  }

  .owned-actions button {
    min-height: 56px;
    gap: 5px;
    font-size: 13px;
  }

  .owned-actions svg {
    font-size: 18px;
  }

  .product-hero,
  .spec-card {
    padding: 15px;
  }

  .product-hero dl div,
  .spec-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-hero dd,
  .spec-card dd {
    justify-content: flex-start;
    text-align: left;
  }

  .action-grid {
    gap: 9px;
  }

  .action-grid button {
    min-height: 118px;
    font-size: 14px;
  }

  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .release-card header {
    display: grid;
    gap: 6px;
  }
}

/* Tablet portrait: deliberate spacing and multi-column content, not a stretched phone. */
@media (min-width: 600px) {
  :root {
    --nav-height: 76px;
  }

  .app-header {
    padding: calc(20px + env(safe-area-inset-top)) 32px 16px;
  }

  .header-row,
  .search-field {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }

  .header-row {
    min-height: 50px;
    gap: 24px;
  }

  .brand {
    flex-basis: 172px;
    min-width: 150px;
  }

  .brand img {
    max-width: 172px;
    max-height: 42px;
  }

  .header-actions {
    flex: 0 1 384px;
    gap: 14px;
  }

  .header-action {
    font-size: 13px;
  }

  .header-action svg {
    font-size: 27px;
  }

  .search-field {
    min-height: 52px;
    margin-top: 16px;
    padding-inline: 16px;
  }

  .search-field input {
    font-size: 19px;
  }

  .app-main {
    padding: 28px 32px 30px;
  }

  .bottom-nav {
    height: calc(var(--nav-height) + env(safe-area-inset-bottom));
    padding: 8px max(24px, calc((100vw - 1240px) / 2)) max(8px, env(safe-area-inset-bottom));
  }

  .nav-item {
    font-size: 14px;
  }

  .page-heading {
    margin-top: 4px;
    margin-bottom: 20px;
  }

  .page-heading h1,
  .product-hero h1 {
    font-size: 34px;
  }

  .page-heading p,
  .product-hero p {
    font-size: 17px;
  }

  .section-title {
    margin-top: 34px;
    margin-bottom: 18px;
  }

  .section-title h2 {
    font-size: 25px;
  }

  .campaign-card {
    padding: 20px;
  }

  .campaign-card strong {
    font-size: 19px;
  }

  .campaign-card i {
    width: 48px;
    height: 48px;
  }

  .category-rail,
  .small-tile-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
  }

  .small-tile-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .round-category {
    font-size: 14px;
  }

  .round-category svg {
    width: 66px;
    height: 66px;
    padding: 16px;
  }

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

  .category-tile {
    min-height: 130px;
    padding: 18px 10px;
  }

  .category-tile span,
  .round-category span {
    font-size: 16px;
  }

  .small-tile {
    width: auto;
    min-height: 98px;
    padding: 14px 8px;
  }

  .small-tile span {
    max-width: 100%;
  }

  .brand-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
  }

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

  .stats-row {
    gap: 16px;
  }

  .product-stat-card {
    min-height: 154px;
    padding: 20px;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 16px;
  }

  .product-stat-icon {
    width: 66px;
    height: 66px;
  }

  .product-stat-icon svg {
    font-size: 35px;
  }

  .product-stat-copy strong {
    font-size: 42px;
  }

  .product-stat-copy > span {
    font-size: 16px;
  }

  .tab-row {
    margin-block: 24px;
  }

  .tab-row button {
    min-width: 108px;
    padding: 12px 24px;
  }

  .owned-card {
    border-radius: 10px;
  }

  .owned-main {
    grid-template-columns: 152px minmax(0, 1fr) 34px;
    gap: 18px;
    padding: 20px;
  }

  .owned-product-image {
    min-height: 176px;
  }

  .owned-title {
    font-size: 23px;
  }

  .owned-metadata {
    font-size: 16px;
  }

  .owned-main em {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 15px;
  }

  .owned-actions button {
    min-height: 60px;
    gap: 10px;
    font-size: 16px;
  }

  .support-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .support-actions button {
    min-height: 88px;
    padding: 16px;
  }

  .menu-layout {
    gap: 22px 18px;
  }

  .menu-group h2 {
    font-size: 21px;
  }

  .menu-row {
    min-height: 64px;
    padding: 14px;
  }

  .member-card {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    padding: 22px;
  }

  .member-tools {
    grid-column: auto;
    grid-template-columns: minmax(150px, 1fr) 52px 52px;
  }

  .quick-grid {
    margin-bottom: 30px;
  }

  .quick-grid button {
    min-height: 112px;
    padding: 16px 10px;
    font-size: 16px;
  }

  .product-hero {
    padding: 26px;
  }

  .product-hero dl div,
  .spec-card div {
    grid-template-columns: minmax(0, 1.25fr) minmax(200px, 0.75fr);
    min-height: 50px;
    padding-block: 12px;
  }

  .product-hero dd,
  .spec-card dd {
    font-size: 16px;
  }

  .action-grid button {
    min-height: 132px;
    padding: 18px 12px;
    font-size: 17px;
  }

  .action-grid svg {
    font-size: 40px;
  }

  .purchase-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-block: 18px;
  }

  .purchase-options article {
    min-height: 94px;
    padding: 16px;
  }

  .spec-card {
    padding: 22px;
  }

  .spec-card h2 {
    font-size: 25px;
  }

  .countdown-card {
    min-height: 210px;
    padding: 28px;
  }

  .countdown {
    width: min(100%, 520px);
    gap: 12px;
  }

  .countdown span {
    min-height: 78px;
    padding: 9px 4px;
    font-size: 14px;
  }

  .countdown strong {
    font-size: 34px;
  }

  .login-overlay {
    align-items: center;
    padding: 28px;
  }

  .login-dialog {
    width: min(100%, 560px);
    max-height: min(900px, calc(100dvh - 56px));
    border-radius: 12px;
    padding: 34px 36px;
    box-shadow: 0 20px 64px rgba(0, 0, 0, 0.32);
  }

  .login-dialog.is-registering {
    width: min(100%, 680px);
  }

  .login-dialog h1 {
    font-size: 32px;
  }

  .app-version-card,
  .release-card {
    padding: 24px;
  }
}

/* Large tablets and desktop browser testing get composed, readable information density. */
@media (min-width: 960px) {
  .app-main {
    padding: 38px 48px 36px;
  }

  .page-heading h1,
  .product-hero h1 {
    font-size: 38px;
  }

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

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

  .category-rail {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .buy-product {
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
    grid-template-areas:
      "back back"
      "media summary";
    align-items: center;
    padding: 28px;
  }

  .back-link {
    grid-area: back;
  }

  .buy-media {
    grid-area: media;
  }

  .buy-summary {
    grid-area: summary;
    padding: 12px;
  }

  .buy-product-image,
  .buy-media {
    min-height: 340px;
  }

  .result-main {
    grid-template-columns: 190px minmax(0, 1fr) minmax(170px, 0.45fr);
    align-items: start;
  }

  .result-main .product-media {
    min-height: 190px;
  }

  .result-price {
    grid-column: auto;
    align-self: end;
  }

  .receipt-card,
  .spec-card,
  .product-hero {
    border-radius: 10px;
  }
}

/* Short landscape screens need a compact chrome so content remains usable. */
@media (orientation: landscape) and (max-height: 620px) {
  :root {
    --nav-height: 64px;
  }

  .app-header {
    padding: calc(8px + env(safe-area-inset-top)) 18px 8px;
  }

  .header-row {
    min-height: 30px;
  }

  .brand {
    flex-basis: 108px;
    min-width: 96px;
  }

  .brand img {
    max-width: 108px;
    max-height: 28px;
  }

  .header-actions {
    flex-basis: 280px;
  }

  .header-action {
    gap: 2px;
    font-size: 10px;
  }

  .header-action svg {
    font-size: 21px;
  }

  .search-field {
    min-height: 38px;
    margin-top: 7px;
  }

  .search-field input {
    font-size: 16px;
  }

  .app-main {
    padding: 14px 20px 18px;
  }

  .bottom-nav {
    padding-top: 4px;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
  }

  .nav-item {
    gap: 2px;
    font-size: 12px;
  }

  .nav-icon {
    min-height: 26px;
    font-size: 26px;
  }

  .login-overlay {
    align-items: center;
    padding: 16px;
  }

  .login-dialog {
    width: min(720px, 100%);
    max-height: calc(100dvh - 32px);
    border-radius: 12px;
    padding: 24px 30px;
  }
}
