*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--surface);
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-family-body);
  font-size: var(--font-md);
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
a,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  object-fit: contain !important;
}

html[data-theme="dark"] img[src$="movcan-v30.webp"] {
  content: url("../assets/images/movcan-v30-dark.png");
}

html[data-theme="dark"] img[src$="tamobyke-v29.webp"] {
  content: url("../assets/images/tamobyke-v29-dark.png");
}

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

h1,
h2,
h3 {
  font-family: var(--font-family-heading);
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  translate: 0 -160%;
  border-radius: 10px;
  background: var(--blue);
  color: var(--on-primary);
  padding: 10px 14px;
  transition: translate 160ms var(--ease-out);
}

.skip-link:focus {
  translate: 0 0;
}

.app-shell {
  min-height: 100dvh;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
}

.app-main {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  animation: route-in 190ms var(--ease-out) both;
}

.page-pad {
  padding-inline: var(--page-x);
}

.section {
  margin-top: var(--section-gap);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.section-title {
  color: var(--ink);
  font-size: var(--font-lg);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.text-button,
.icon-button,
.plain-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button {
  min-width: 44px;
  min-height: 44px;
  color: var(--blue);
  font-size: var(--font-sm);
  font-weight: 700;
  padding: 8px 0 8px 12px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  transition: transform 160ms var(--ease-out), border-color 160ms ease-out, background-color 160ms ease-out;
}

.icon-button:active,
.btn:active,
.nav-item:active,
.product-card:active,
.category-button:active,
.chip:active,
.select-card:active {
  transform: scale(0.97);
}

.icon-button svg,
.btn svg,
.header-control svg,
.nav-item svg,
.feature-icon svg,
.trust-icon svg,
.step-icon svg,
.spec-icon svg,
.status-icon svg {
  width: 1.35em;
  height: 1.35em;
  stroke-width: 2;
}

.app-header {
  position: relative;
  z-index: 20;
  display: grid;
  width: 100%;
  min-height: var(--header-height);
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(8px, 2.5vw, 14px);
  padding: max(10px, env(safe-area-inset-top, 0px)) var(--page-x) 8px;
  background: var(--header-bg);
}

.app-header.with-back {
  grid-template-columns: auto 1fr auto;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: clamp(36px, 10.8vw, 48px);
  height: clamp(36px, 10.8vw, 48px);
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--brand-mark-primary) 0 44%, var(--brand-mark-secondary) 44% 51%, var(--brand-mark-primary) 51% 94%, var(--brand-mark-secondary) 94% 100%);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: var(--brand-mark-core);
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  color: var(--green-dark);
  stroke-width: 2.2;
}

.brand-name {
  overflow: hidden;
  font-size: clamp(18px, 5.7vw, 27px);
  font-weight: 790;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name .brand-accent {
  color: var(--green);
}

.brand-name.compact {
  font-size: clamp(17px, 5vw, 23px);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.theme-toggle {
  color: var(--blue-dark);
}

.header-control {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-card);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 680;
  padding: 8px 10px;
  transition: transform 160ms var(--ease-out), border-color 160ms ease-out;
}

.header-location {
  display: none;
}

.cart-button {
  position: relative;
  border: 0;
  box-shadow: none;
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid var(--surface-card);
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-primary);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.bottom-nav {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  border-top: 1px solid var(--border);
  background: var(--nav-bg);
  box-shadow: 0 -8px 30px rgba(20, 39, 78, 0.06);
  padding: 7px max(6px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(6px, env(safe-area-inset-left, 0px));
  backdrop-filter: blur(14px);
}

.nav-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: clamp(9px, 2.55vw, 11px);
  font-weight: 560;
  line-height: 1.15;
  text-decoration: none;
  transition: color 160ms ease-out, transform 160ms var(--ease-out);
}

.nav-item svg {
  width: clamp(22px, 6.5vw, 28px);
  height: clamp(22px, 6.5vw, 28px);
}

.nav-item.active {
  color: var(--blue);
  font-weight: 720;
}

.nav-item .badge-count {
  top: -3px;
  right: calc(50% - 24px);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: var(--page-x);
}

.search-box {
  position: relative;
  display: flex;
  min-width: 0;
  height: clamp(44px, 13vw, 52px);
  align-items: center;
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.search-box svg {
  width: 20px;
  height: 20px;
  margin-left: 14px;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--font-sm);
  padding: 0 14px 0 10px;
}

.search-box input::placeholder {
  color: var(--ink-soft);
}

.filter-button {
  min-width: 48px;
  height: clamp(44px, 13vw, 52px);
  border-radius: 16px;
}

.hero {
  position: relative;
  height: var(--hero-height);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  box-shadow: var(--shadow-card);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 61% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: clamp(22px, 6vw, 34px);
  left: clamp(16px, 4.8vw, 24px);
  width: min(59%, 310px);
}

.hero h1 {
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(26px, 8vw, 38px);
  font-weight: 810;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero h1 .blue {
  color: var(--blue);
}

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

.hero p {
  max-width: 26ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: var(--font-sm);
  line-height: 1.42;
}

.btn {
  display: inline-flex;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-size: var(--font-md);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, box-shadow 180ms ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--on-primary);
  box-shadow: 0 9px 22px rgba(7, 104, 247, 0.23);
}

.btn-secondary {
  border-color: var(--blue);
  background: var(--surface-card);
  color: var(--blue);
}

.btn-green {
  border-color: var(--green);
  background: var(--surface-card);
  color: var(--green-dark);
}

.btn-muted {
  border-color: var(--border);
  background: var(--surface-soft);
  color: var(--ink);
}

.btn[disabled],
.btn.is-disabled {
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.48;
}

.hero .btn {
  min-height: 44px;
  margin-top: clamp(13px, 4vw, 20px);
  border-radius: 999px;
  padding: 0 15px 0 18px;
  font-size: var(--font-sm);
}

.hero .btn .circle-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: -8px;
  border-radius: 50%;
  background: var(--surface-card);
  color: var(--blue);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--glass-bg);
}

.hero-dot.active {
  width: 15px;
  background: var(--blue);
}

.category-scroller,
.product-scroller,
.chip-scroller {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-scroller::-webkit-scrollbar,
.product-scroller::-webkit-scrollbar,
.chip-scroller::-webkit-scrollbar {
  display: none;
}

.category-scroller {
  gap: clamp(11px, 3.7vw, 18px);
  padding: 0 var(--page-x) 4px;
}

.category-button {
  min-width: clamp(68px, 21vw, 90px);
  scroll-snap-align: start;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  text-align: center;
  transition: transform 160ms var(--ease-out), color 160ms ease-out;
}

.category-orb {
  display: grid;
  width: clamp(56px, 17.5vw, 74px);
  height: clamp(56px, 17.5vw, 74px);
  place-items: center;
  margin: 0 auto 7px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-card);
  color: var(--category-color, var(--blue));
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.category-button.active .category-orb {
  border-color: color-mix(in srgb, var(--category-color, var(--blue)) 45%, var(--tint-base));
  background: color-mix(in srgb, var(--category-color, var(--blue)) 8%, var(--tint-base));
}

.category-orb svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.9;
}

.category-button span:last-child {
  display: block;
  font-size: var(--font-xs);
  font-weight: 690;
  white-space: nowrap;
}

.product-scroller {
  gap: var(--card-gap);
  padding: 0 var(--page-x) 8px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: clamp(146px, 43vw, 185px);
  overflow: hidden;
  scroll-snap-align: start;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  color: inherit;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), box-shadow 180ms ease-out;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  background: var(--surface-muted);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.favorite-button {
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 7px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(224, 230, 239, 0.9);
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), color 160ms ease-out, background-color 160ms ease-out;
  backdrop-filter: blur(8px);
}

.favorite-button svg {
  width: 17px;
  height: 17px;
}

.favorite-button.active {
  color: var(--favorite);
}

.favorite-button.active svg {
  fill: currentColor;
}

.product-card-body {
  display: flex;
  min-height: 123px;
  flex: 1;
  flex-direction: column;
  padding: 9px 10px 11px;
}

.product-card h3 {
  overflow: hidden;
  font-size: var(--font-sm);
  font-weight: 770;
  letter-spacing: -0.018em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card .tagline {
  display: -webkit-box;
  min-height: 30px;
  overflow: hidden;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
}

.product-price + .product-price {
  border-left: 1px solid var(--border);
  padding-left: 7px;
}

.price-label {
  display: block;
  color: var(--green-dark);
  font-size: clamp(8px, 2.3vw, 10px);
  font-weight: 720;
  white-space: nowrap;
}

.product-price.rent .price-label {
  color: var(--blue);
}

.price-value {
  display: block;
  margin-top: 1px;
  color: var(--ink);
  font-size: clamp(13px, 3.9vw, 17px);
  font-weight: 790;
  letter-spacing: -0.025em;
  line-height: 1.1;
  white-space: nowrap;
}

.price-value small {
  font-size: 0.62em;
  font-weight: 650;
}

.unavailable-ribbon {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 8px;
  border-radius: 999px;
  background: var(--scrim-strong);
  color: var(--on-primary);
  font-size: 9px;
  font-weight: 750;
  padding: 5px 8px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 12px 5px;
}

.trust-item {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--trust-color, var(--blue));
}

.trust-copy {
  min-width: 0;
}

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

.trust-copy strong {
  overflow: hidden;
  font-size: clamp(9px, 2.6vw, 11px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-copy span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: clamp(8px, 2.25vw, 10px);
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.step {
  position: relative;
  min-width: 0;
  text-align: left;
}

.step-number {
  position: absolute;
  z-index: 2;
  top: -4px;
  left: -1px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--step-color, var(--blue));
  color: var(--on-primary);
  font-size: 10px;
  font-weight: 800;
}

.step-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--step-color, var(--blue)) 10%, var(--tint-base));
  color: var(--step-color, var(--blue));
}

.step strong {
  display: block;
  margin-top: 6px;
  color: var(--step-color, var(--blue));
  font-size: var(--font-xs);
}

.step p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: clamp(8px, 2.4vw, 10px);
  line-height: 1.3;
}

.promo-card {
  position: relative;
  display: grid;
  min-height: 128px;
  overflow: hidden;
  grid-template-columns: minmax(108px, 35%) 1fr;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--promo-gradient);
  box-shadow: var(--shadow-card);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-content {
  padding: 14px;
}

.promo-content h3 {
  font-size: var(--font-lg);
  font-weight: 790;
  letter-spacing: -0.03em;
}

.promo-content p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.promo-content .btn {
  min-height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  padding-inline: 14px;
  font-size: var(--font-xs);
}

.mode-switch {
  display: grid;
  height: 52px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-card);
  padding: 3px;
}

.mode-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 710;
  transition: transform 160ms var(--ease-out), background-color 180ms ease-out, color 180ms ease-out;
}

.mode-option.active {
  background: var(--blue);
  color: var(--on-primary);
}

.mode-option svg {
  width: 18px;
  height: 18px;
}

.chip-scroller {
  gap: 8px;
  padding-bottom: 4px;
}

.chip {
  display: inline-flex;
  min-width: max-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  scroll-snap-align: start;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-card);
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 680;
  padding: 8px 13px;
  transition: transform 160ms var(--ease-out), border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out;
}

.chip.active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

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

.catalog-card {
  position: relative;
  display: grid;
  min-height: 160px;
  overflow: hidden;
  grid-template-columns: 44% 56%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.catalog-card-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface-muted);
}

.catalog-card-image img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: contain;
}

.catalog-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 11px 11px 10px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: var(--font-xs);
  font-weight: 720;
}

.catalog-card h3 {
  overflow: hidden;
  margin-top: 2px;
  font-size: clamp(15px, 4.4vw, 19px);
  font-weight: 790;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card .tagline {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--ink);
  font-size: var(--font-xs);
}

.rating-row .star {
  color: var(--gold);
  fill: var(--gold);
}

.catalog-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.catalog-price-row .price-label {
  font-size: 9px;
}

.catalog-price-row .price-value {
  font-size: clamp(17px, 5vw, 22px);
}

.quick-add {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease-out;
}

.quick-add svg {
  width: 21px;
  height: 21px;
}

.product-hero {
  position: relative;
  aspect-ratio: 1.32 / 1;
  overflow: hidden;
  margin-inline: var(--page-x);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  box-shadow: var(--shadow-card);
}

.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-count {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: var(--scrim-strong);
  color: var(--on-primary);
  font-size: var(--font-xs);
  font-weight: 750;
  padding: 6px 10px;
  backdrop-filter: blur(8px);
}

.gallery-dots {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.gallery-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--glass-bg);
}

.gallery-dots span:first-child {
  background: var(--blue);
}

.product-detail-card {
  margin: -1px var(--page-x) 0;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-title-row h1 {
  font-size: clamp(23px, 6.5vw, 30px);
  font-weight: 810;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.product-title-row p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: var(--font-sm);
}

.product-title-row .favorite-button {
  position: static;
  flex: 0 0 auto;
}

.availability-pill {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--font-xs);
  font-weight: 700;
  padding: 6px 9px;
}

.product-mode-tabs {
  display: grid;
  height: 50px;
  grid-template-columns: 1fr 1fr;
  margin-top: 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-soft);
}

.product-mode-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 710;
}

.product-mode-tab.active {
  color: var(--blue);
}

.product-mode-tab.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}

.price-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.price-panel {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-card);
  padding: 12px;
}

.price-panel span {
  display: block;
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.price-panel strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(25px, 7vw, 34px);
  font-weight: 810;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-panel strong small {
  font-size: 0.5em;
  font-weight: 600;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}

.option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-xs);
  font-weight: 690;
}

.swatches,
.size-options {
  display: flex;
  gap: 9px;
  margin-top: 8px;
}

.swatch {
  width: 44px;
  height: 44px;
  border: 4px solid var(--surface-card);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--border-strong);
  cursor: pointer;
}

.swatch.active {
  box-shadow: 0 0 0 2px var(--blue);
}

.size-button {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-card);
  cursor: pointer;
  font-size: var(--font-sm);
  font-weight: 680;
}

.size-button.active {
  border: 2px solid var(--blue);
  color: var(--blue);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 4px;
}

.spec-item {
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}

.spec-item + .spec-item {
  border-left: 1px solid var(--border);
}

.spec-icon {
  display: grid;
  height: 25px;
  place-items: center;
  color: var(--ink-soft);
}

.spec-item strong,
.spec-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-item strong {
  margin-top: 3px;
  font-size: clamp(8px, 2.4vw, 10px);
}

.spec-item span {
  color: var(--ink-soft);
  font-size: clamp(7px, 2.1vw, 9px);
  white-space: nowrap;
}

.review-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px;
}

.review-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
  color: var(--ink);
  font-weight: 800;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--font-xs);
}

.review-stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.review-card p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.sticky-actions {
  position: sticky;
  z-index: 18;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 9px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  background: var(--nav-bg);
  padding: 10px var(--page-x);
  backdrop-filter: blur(12px);
}

.cart-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cart-page-title h1 {
  font-size: var(--font-xl);
  font-weight: 810;
  letter-spacing: -0.05em;
}

.count-pill {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: var(--font-xs);
  font-weight: 680;
  padding: 6px 10px;
}

.page-intro {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: var(--font-sm);
}

.cart-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cart-item {
  position: relative;
  display: grid;
  min-height: 164px;
  grid-template-columns: 34% 1fr;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 11px;
}

.cart-item img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  border-radius: 12px;
  object-fit: contain;
}

.cart-item-content {
  min-width: 0;
  padding-right: 34px;
}

.cart-item h3 {
  overflow: hidden;
  font-size: var(--font-lg);
  font-weight: 780;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--font-xs);
  font-weight: 720;
  padding: 4px 8px;
}

.mode-pill.rent {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.cart-meta {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.cart-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.quantity-control {
  display: grid;
  height: 46px;
  grid-template-columns: 44px 36px 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-card);
}

.quantity-control button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
}

.quantity-control span {
  display: grid;
  place-items: center;
  font-weight: 750;
}

.cart-item-price {
  font-size: clamp(21px, 6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.remove-button {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-card);
  color: var(--ink-soft);
  cursor: pointer;
}

.cart-option-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 12px 14px;
}

.cart-option-row > svg {
  color: var(--blue);
}

.cart-option-row div {
  min-width: 0;
  flex: 1;
}

.cart-option-row strong,
.cart-option-row span {
  display: block;
}

.cart-option-row strong {
  font-size: var(--font-sm);
}

.cart-option-row span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.cart-option-row .text-button {
  padding-left: 8px;
}

.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 15px;
}

.summary-card h2,
.summary-card h3 {
  font-size: var(--font-lg);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.summary-lines {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: var(--font-sm);
}

.summary-line span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.summary-line.positive span:last-child {
  color: var(--green-dark);
}

.summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.summary-total strong {
  font-size: var(--font-lg);
}

.summary-total .total-number {
  font-size: clamp(26px, 7.6vw, 36px);
  font-weight: 820;
  letter-spacing: -0.05em;
}

.full-width {
  width: 100%;
}

.checkout-cta {
  margin-top: 13px;
}

.empty-state {
  display: grid;
  min-height: 54dvh;
  place-items: center;
  padding: 34px var(--page-x);
  text-align: center;
}

.empty-state-icon {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.empty-state-icon svg {
  width: 38px;
  height: 38px;
}

.empty-state h1,
.empty-state h2 {
  margin-top: 15px;
  font-size: var(--font-xl);
  font-weight: 810;
  letter-spacing: -0.045em;
}

.empty-state p {
  max-width: 34ch;
  margin: 7px auto 0;
  color: var(--ink-soft);
  font-size: var(--font-sm);
}

.empty-state .btn {
  margin-top: 17px;
  padding-inline: 22px;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 6px;
  padding-inline: var(--page-x);
}

.progress-step {
  position: relative;
  display: grid;
  justify-items: center;
  color: var(--ink-soft);
  text-align: center;
}

.progress-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 17px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: var(--border);
}

.progress-step.done:not(:last-child)::after,
.progress-step.active:not(:last-child)::after {
  background: var(--blue);
}

.progress-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-card);
  font-size: var(--font-xs);
  font-weight: 800;
}

.progress-step.done .progress-number {
  border-color: var(--blue);
  color: var(--blue);
}

.progress-step.active .progress-number {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--on-primary);
}

.progress-label {
  margin-top: 5px;
  font-size: clamp(8px, 2.4vw, 11px);
  font-weight: 650;
}

.progress-step.active .progress-label {
  color: var(--blue);
}

.selected-product-bar {
  display: grid;
  min-height: 92px;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 9px;
}

.selected-product-bar > div {
  min-width: 0;
}

.selected-product-bar img {
  width: 100%;
  height: 76px;
  border-radius: 11px;
  object-fit: contain;
}

.selected-product-bar h2 {
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--font-lg);
  font-weight: 780;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.selected-product-bar p {
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.selected-product-price {
  text-align: right;
  white-space: nowrap;
}

.selected-product-price strong {
  font-size: var(--font-lg);
}

.selected-product-price span {
  display: block;
  color: var(--blue);
  font-size: var(--font-xs);
  font-weight: 680;
}

.form-section-title {
  margin-bottom: 10px;
  font-size: var(--font-lg);
  font-weight: 790;
  letter-spacing: -0.03em;
}

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

.date-card,
.duration-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 12px;
}

.date-card label {
  display: block;
  font-size: var(--font-xs);
  font-weight: 700;
}

.date-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.date-input-row svg {
  color: var(--ink-soft);
}

.date-card input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 0 8px;
}

.duration-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.duration-card strong {
  display: block;
  font-size: var(--font-xl);
  letter-spacing: -0.04em;
}

.duration-card span {
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.save-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: var(--font-xs);
  font-weight: 720;
  padding: 6px 9px;
}

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

.plan-card {
  position: relative;
  min-width: 0;
  min-height: 175px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  cursor: pointer;
  padding: 12px 10px;
  text-align: left;
  transition: transform 160ms var(--ease-out), border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.plan-card.active {
  border: 2px solid var(--blue);
  box-shadow: 0 8px 22px rgba(7, 104, 247, 0.1);
}

.radio-dot {
  position: absolute;
  top: 10px;
  right: 9px;
  width: 19px;
  height: 19px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
}

.active .radio-dot {
  border: 5px solid var(--blue);
}

.plan-card h3 {
  padding-right: 18px;
  font-size: var(--font-sm);
  font-weight: 780;
}

.plan-card .plan-subtitle {
  display: block;
  min-height: 28px;
  color: var(--ink-soft);
  font-size: clamp(8px, 2.25vw, 10px);
}

.plan-price {
  display: block;
  margin-top: 6px;
  font-size: clamp(15px, 4.4vw, 19px);
  font-weight: 800;
}

.plan-price small {
  font-size: 0.55em;
}

.plan-benefits {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.plan-benefits li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 4px;
  color: var(--ink-soft);
  font-size: clamp(7px, 2.1vw, 9px);
  line-height: 1.25;
}

.plan-benefits li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.extra-grid {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.extra-card {
  min-width: 140px;
  flex: 0 0 140px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 9px 6px 7px;
  text-align: center;
  scroll-snap-align: start;
}

.extra-visual {
  display: grid;
  height: 44px;
  place-items: center;
  color: var(--ink-soft);
}

.extra-visual svg {
  width: 33px;
  height: 33px;
  stroke-width: 1.6;
}

.extra-card strong,
.extra-card span {
  display: block;
}

.extra-card strong {
  overflow: hidden;
  font-size: clamp(8px, 2.25vw, 10px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extra-card span {
  color: var(--ink-soft);
  font-size: clamp(7px, 2vw, 9px);
}

.extra-card .quantity-control {
  width: 132px;
  height: 46px;
  grid-template-columns: repeat(3, 44px);
  margin: 7px auto 0;
  border-radius: 9px;
}

.extra-card .quantity-control button {
  font-size: 17px;
}

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

.select-card {
  position: relative;
  display: grid;
  min-height: 110px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  cursor: pointer;
  padding: 12px;
  text-align: left;
  transition: transform 160ms var(--ease-out), border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.select-card.active {
  border: 2px solid var(--blue);
  box-shadow: 0 8px 22px rgba(7, 104, 247, 0.1);
}

.select-card > svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.select-card:nth-child(2) > svg {
  color: var(--green);
}

.select-card strong,
.select-card span {
  display: block;
}

.select-card strong {
  font-size: var(--font-sm);
}

.select-card span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  line-height: 1.3;
}

.payment-layout {
  display: grid;
  gap: 12px;
}

.checkout-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.checkout-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-card h2 {
  font-size: var(--font-lg);
  font-weight: 790;
  letter-spacing: -0.025em;
}

.detail-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.detail-row > svg {
  color: var(--blue);
}

.detail-row p {
  color: var(--ink-soft);
  font-size: var(--font-sm);
}

.default-pill {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--font-xs);
  padding: 5px 8px;
}

.payment-methods {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.payment-method {
  display: grid;
  min-height: 52px;
  grid-template-columns: 22px auto 1fr auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-card);
  cursor: pointer;
  padding: 7px 10px;
  text-align: left;
}

.payment-method.active {
  border: 2px solid var(--blue);
}

.payment-method .radio-dot {
  position: static;
}

.payment-method-logo {
  display: grid;
  width: 28px;
  height: 24px;
  place-items: center;
  color: var(--blue);
}

.payment-method-logo svg {
  width: 22px;
  height: 22px;
}

.payment-method-logo img {
  width: 28px;
  max-height: 20px;
  object-fit: contain;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logos img {
  width: 32px;
  max-height: 20px;
  object-fit: contain;
}

.order-product {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.order-product img {
  width: 94px;
  height: 70px;
  border-radius: 10px;
  object-fit: contain;
}

.order-product h3 {
  overflow: hidden;
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-product p {
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.order-product > strong {
  font-size: var(--font-lg);
}

.prototype-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 10px auto 0;
  color: var(--green-dark);
  font-size: var(--font-xs);
  text-align: center;
}

.confirmation-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface-card), var(--surface-success));
  box-shadow: var(--shadow-card);
  padding: 26px 18px 20px;
  text-align: center;
}

.success-check {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--on-primary);
  box-shadow: 0 12px 24px rgba(67, 181, 31, 0.22);
  animation: check-arrive 300ms var(--ease-out) both;
}

.success-check svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.7;
}

.confirmation-hero h1 {
  margin-top: 15px;
  font-size: clamp(29px, 8.5vw, 41px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.confirmation-hero h1 span {
  color: var(--green);
}

.confirmation-hero p {
  max-width: 39ch;
  margin: 9px auto 0;
  color: var(--ink-soft);
  font-size: var(--font-sm);
}

.order-code {
  display: inline-flex;
  min-width: min(100%, 290px);
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  border-radius: 14px;
  background: var(--green-soft);
  padding: 12px 15px;
}

.order-code span,
.order-code strong {
  display: block;
}

.order-code span {
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.order-code strong {
  margin-top: 1px;
  font-size: var(--font-lg);
  letter-spacing: 0.02em;
}

.confetti-piece {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 7px;
  height: 3px;
  border-radius: 2px;
  background: var(--confetti-color);
  transform: translate(var(--x), var(--y)) rotate(var(--rotation));
  animation: confetti 420ms var(--ease-out) both;
  animation-delay: var(--delay);
}

.confirmation-product {
  display: grid;
  grid-template-columns: 46% 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding: 12px;
}

.confirmation-product img {
  width: 100%;
  height: 128px;
  border-radius: 13px;
  object-fit: contain;
}

.confirmation-product h2 {
  font-size: var(--font-lg);
  font-weight: 790;
}

.confirmation-product p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.confirmation-product .mode-label {
  color: var(--green-dark);
  font-weight: 720;
}

.confirmation-product strong {
  display: block;
  margin-top: 9px;
  font-size: var(--font-xl);
}

.order-facts {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  padding-inline: 14px;
}

.order-fact {
  display: grid;
  min-height: 68px;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
}

.order-fact + .order-fact {
  border-top: 1px solid var(--border);
}

.order-fact > svg {
  color: var(--fact-color, var(--blue));
}

.order-fact strong,
.order-fact span {
  display: block;
}

.order-fact strong {
  font-size: var(--font-sm);
}

.order-fact span {
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.order-fact > div:last-child {
  text-align: right;
}

.order-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 12px;
}

.status-step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.status-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 25px;
  left: 66%;
  width: 70%;
  height: 2px;
  background: var(--border-strong);
}

.status-step.done:not(:last-child)::after {
  background: var(--green);
}

.status-icon {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-card);
  color: var(--ink-soft);
}

.status-step.done .status-icon {
  border-color: var(--green);
  color: var(--green);
}

.status-step.active .status-icon {
  border-color: var(--blue);
  color: var(--blue);
}

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

.status-step strong {
  margin-top: 6px;
  font-size: var(--font-xs);
}

.status-step span {
  color: var(--ink-soft);
  font-size: clamp(8px, 2.2vw, 10px);
}

.confirmation-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.confirmation-actions .btn {
  min-width: 0;
  padding-inline: 7px;
  font-size: var(--font-xs);
}

.support-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-accent), var(--surface-soft));
  padding: 14px;
}

.support-card > svg {
  color: var(--blue);
}

.support-card div {
  flex: 1;
}

.support-card strong,
.support-card span {
  display: block;
}

.support-card strong {
  font-size: var(--font-sm);
}

.support-card span {
  color: var(--ink-soft);
  font-size: var(--font-xs);
}

.toast-region {
  position: fixed;
  z-index: 1000;
  right: var(--page-x);
  bottom: calc(var(--nav-height) + 16px + env(safe-area-inset-bottom, 0px));
  left: var(--page-x);
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  max-width: 380px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(9, 26, 58, 0.1);
  border-radius: 999px;
  background: var(--toast-bg);
  color: var(--on-primary);
  box-shadow: var(--shadow-float);
  font-size: var(--font-xs);
  font-weight: 680;
  padding: 10px 14px;
  transition: opacity 180ms ease-out, transform 200ms var(--ease-out);
  @starting-style {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

.toast.hiding {
  opacity: 0;
  transform: translateY(7px) scale(0.98);
}

.modal-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  align-items: end;
  background: var(--scrim-soft);
  padding: 16px;
  backdrop-filter: blur(3px);
  animation: fade-in 160ms ease-out both;
}

.modal-sheet {
  width: 100%;
  max-width: 540px;
  max-height: min(78dvh, 680px);
  overflow-y: auto;
  margin-inline: auto;
  border-radius: 22px;
  background: var(--surface-card);
  box-shadow: var(--shadow-float);
  padding: 16px;
  transform-origin: bottom center;
  animation: sheet-in 220ms var(--ease-out) both;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  font-size: var(--font-lg);
}

.modal-body {
  margin-top: 14px;
}

.filter-list {
  display: grid;
  gap: 7px;
}

.filter-list button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-card);
  cursor: pointer;
  font-weight: 650;
  padding: 8px 12px;
}

.filter-list button.active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.profile-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, var(--surface-card), var(--surface-accent));
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.profile-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.profile-card h1 {
  margin-top: 14px;
  font-size: var(--font-xl);
}

.profile-card p {
  margin-top: 6px;
  color: var(--ink-soft);
}

@keyframes route-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes check-arrive {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes confetti {
  from {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  35% { opacity: 1; }
  to {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--rotation));
  }
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover,
  .header-control:hover,
  .chip:hover,
  .select-card:hover,
  .plan-card:hover {
    border-color: var(--border-strong);
  }

  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 39, 78, 0.11);
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  }

  .favorite-button:hover {
    color: var(--favorite);
  }
}

@media (min-width: 540px) {
  .header-location {
    display: inline-flex;
  }

  .product-card {
    min-width: 180px;
  }

  .date-grid {
    grid-template-columns: 1fr 1fr 0.9fr;
  }

  .duration-card {
    grid-column: auto;
    display: block;
  }
}

@media (min-width: 768px) {
  :root {
    --page-x: clamp(24px, 4vw, 42px);
    --section-gap: 26px;
    --nav-height: 72px;
  }

  .app-header {
    position: sticky;
    top: 0;
    max-width: var(--content-max);
    margin-inline: auto;
    border-bottom: 1px solid rgba(225, 230, 239, 0.8);
  }

  .home-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 24px;
    align-items: start;
  }

  .hero {
    height: clamp(310px, 41vw, 440px);
  }

  .hero-content {
    width: 53%;
  }

  .product-scroller {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }

  .product-card {
    min-width: 0;
  }

  .catalog-list {
    grid-template-columns: 1fr 1fr;
  }

  .product-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 20px;
    padding-inline: var(--page-x);
  }

  .product-hero,
  .product-detail-card {
    margin-inline: 0;
  }

  .product-detail-card {
    border-radius: var(--radius-md);
  }

  .sticky-actions {
    position: static;
    max-width: 620px;
    margin: 18px 0 0 auto;
    border: 0;
    padding-inline: 0;
  }

  .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 20px;
    align-items: start;
  }

  .cart-summary-column {
    position: sticky;
    top: 92px;
  }

  .rental-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 20px;
    align-items: start;
  }

  .rental-summary-column {
    position: sticky;
    top: 92px;
  }

  .payment-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

  .payment-summary {
    position: sticky;
    top: 92px;
  }

  .bottom-nav {
    right: 50%;
    left: auto;
    width: min(620px, 70vw);
    translate: 50% 0;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 26px rgba(20, 39, 78, 0.08);
  }
}

@media (min-width: 1024px) {
  .catalog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bottom-nav {
    width: 680px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .app-main,
  .success-check,
  .modal-sheet,
  .toast {
    transform: none !important;
  }
}

@media (max-width: 540px) {
  .app-header.with-back .brand-name {
    display: none;
  }

  .header-control.locale-toggle {
    width: 44px;
    padding-inline: 6px;
  }

  .header-control.locale-toggle span {
    display: none;
  }

  #app[data-route="home"] {
    --section-gap: 8px;
  }

  #app[data-route="home"] .section-header {
    margin-bottom: 6px;
  }

  #app[data-route="home"] .hero {
    height: 170px;
  }

  #app[data-route="home"] .hero-content {
    top: 14px;
    left: 16px;
    width: 57%;
  }

  #app[data-route="home"] .hero h1 {
    font-size: clamp(22px, 6.4vw, 27px);
  }

  #app[data-route="home"] .hero p {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.3;
  }

  #app[data-route="home"] .hero .btn {
    margin-top: 8px;
    padding-inline: 14px 8px;
  }

  #app[data-route="home"] .hero-dots {
    bottom: 7px;
  }

  #app[data-route="home"] .category-scroller {
    gap: 8px;
  }

  #app[data-route="home"] .category-button {
    min-width: 56px;
  }

  #app[data-route="home"] .category-orb {
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
  }

  #app[data-route="home"] .category-orb svg {
    width: 24px;
    height: 24px;
  }

  #app[data-route="home"] .product-scroller {
    gap: 8px;
    padding-bottom: 3px;
  }

  #app[data-route="home"] .product-card {
    min-width: 120px;
    border-radius: 14px;
  }

  #app[data-route="home"] .product-card-body {
    min-height: 72px;
    padding: 6px 7px 7px;
  }

  #app[data-route="home"] .product-card h3 {
    font-size: 10px;
  }

  #app[data-route="home"] .product-image-wrap {
    aspect-ratio: 1.3 / 1;
  }

  #app[data-route="home"] .product-card .tagline {
    display: none;
  }

  #app[data-route="home"] .product-prices {
    gap: 3px;
    padding-top: 5px;
  }

  #app[data-route="home"] .product-price + .product-price {
    padding-left: 4px;
  }

  #app[data-route="home"] .price-label {
    font-size: 7px;
  }

  #app[data-route="home"] .price-value {
    font-size: 14px;
  }

  #app[data-route="home"] .trust-strip {
    min-height: 56px;
    padding: 7px 8px;
  }

  #app[data-route="home"] .steps {
    gap: 6px;
  }

  #app[data-route="home"] .step-icon {
    width: 36px;
    height: 36px;
  }

  #app[data-route="home"] .promo-card {
    min-height: 96px;
    grid-template-columns: 35% 1fr;
  }

  #app[data-route="home"] .promo-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 7px;
    padding: 8px;
  }

  #app[data-route="home"] .promo-content h3 {
    font-size: 15px;
  }

  #app[data-route="home"] .promo-content .btn {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 18px;
  }

  .header-control.locale-toggle {
    width: 44px;
    padding-inline: 6px;
  }

  .header-control.locale-toggle span {
    display: none;
  }

  .trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: 5px;
    text-align: center;
  }

  .trust-copy span {
    display: none;
  }

  .plan-card {
    min-height: 164px;
    padding-inline: 8px;
  }

  .confirmation-actions {
    grid-template-columns: 1fr;
  }
}

/* Commute planning stays within the existing app-card visual language. */
.mobility-toolkit {
  display: grid;
  gap: 12px;
}

.mobility-intro {
  padding: 4px 2px 0;
}

.mobility-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: var(--font-xs);
  font-weight: 760;
}

.mobility-kicker svg {
  width: 1.15em;
  height: 1.15em;
}

.mobility-intro .section-title {
  margin-top: 4px;
  font-size: var(--font-xl);
  line-height: 0.98;
}

.mobility-intro p,
.savings-card-heading p,
.need-finder > div > p,
.need-recommendation {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: var(--font-sm);
}

.mobility-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
}

.mobility-comparison > div,
.savings-card,
.need-finder {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.mobility-comparison > div {
  padding: 13px 11px;
}

.mobility-comparison > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--blue);
}

.mobility-comparison > div:last-child > span {
  background: var(--green-soft);
  color: var(--green-dark);
}

.mobility-comparison strong {
  display: block;
  margin-top: 8px;
  font-size: var(--font-sm);
}

.mobility-comparison p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  line-height: 1.35;
}

.comparison-arrow {
  display: grid;
  width: 28px;
  place-items: center;
  color: var(--green-dark);
}

.comparison-arrow svg {
  width: 18px;
  height: 18px;
}

.savings-card,
.need-finder {
  padding: 14px;
}

.savings-card-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.mobility-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.savings-card h3,
.need-finder h3 {
  font-size: var(--font-md);
  font-weight: 790;
  letter-spacing: -0.02em;
}

.savings-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.savings-fields label {
  display: grid;
  gap: 5px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  font-weight: 700;
}

.savings-fields input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  outline: none;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 0 10px;
}

.savings-fields input:focus {
  border-color: var(--blue);
}

.input-with-prefix {
  position: relative;
}

.input-with-prefix > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 11px;
  color: var(--ink-soft);
  transform: translateY(-50%);
}

.input-with-prefix input {
  padding-left: 24px;
}

.savings-disclaimer {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  line-height: 1.35;
}

.savings-result {
  display: block;
  margin-top: 10px;
  border-left: 3px solid var(--green);
  color: var(--ink);
  font-size: var(--font-sm);
  font-weight: 680;
  line-height: 1.4;
  padding: 2px 0 2px 10px;
}

.savings-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 12px;
  font-size: var(--font-sm);
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.need-option {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 720;
  padding: 8px 9px;
  text-align: left;
  transition: transform 160ms var(--ease-out), border-color 160ms ease-out, background-color 160ms ease-out;
}

.need-option svg {
  width: 17px;
  height: 17px;
  color: var(--green-dark);
}

.need-option.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.need-option:active {
  transform: scale(0.98);
}

.need-recommendation {
  min-height: 20px;
  margin-bottom: 10px;
  font-weight: 650;
}

@media (min-width: 720px) {
  .mobility-toolkit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobility-intro,
  .mobility-comparison {
    grid-column: 1 / -1;
  }

  .mobility-comparison > div {
    padding: 16px;
  }
}
