:root {
  --bg: #f4fbf6;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #6f6f75;
  --primary: #2f8f5b;
  --primary-strong: #46a86f;
  --line: #e8e8e8;
  --shadow: 0 14px 36px rgba(34, 34, 34, 0.08);
  --theme-tint: rgba(47, 143, 91, 0.14);
  --theme-soft: rgba(202, 236, 213, 0.7);
  --theme-button-border: #d9eadf;
  --theme-accent: #ef4d00;
  --theme-accent-border: #ff9225;
  --theme-accent-text: #ff7b00;
  --drawer-overlay: rgba(18, 26, 22, 0.38);
}

body[data-theme="dark"] {
  --bg: #070909;
  --surface: #111515;
  --text: #f4f7f4;
  --muted: #a7b0a8;
  --primary: #50b878;
  --primary-strong: #3d9962;
  --line: #232a25;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  --theme-tint: rgba(80, 184, 120, 0.07);
  --theme-soft: rgba(10, 15, 12, 0.96);
  --theme-button-border: #355141;
  --theme-accent: #ff8b3d;
  --theme-accent-border: #ff8b3d;
  --theme-accent-text: #ff9a53;
  --drawer-overlay: rgba(6, 10, 7, 0.62);
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(80, 184, 120, 0.06), transparent 24%),
    linear-gradient(180deg, #090c0a 0%, #050706 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--theme-tint), transparent 30%),
    linear-gradient(180deg, #fbfffc 0%, var(--bg) 100%);
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='90' viewBox='0 0 160 90'%3E%3Cg fill='none' stroke='%232f8f5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='38' cy='62' r='13'/%3E%3Ccircle cx='116' cy='62' r='13'/%3E%3Cpath d='M46 62h24l18-20h20l10 10'/%3E%3Cpath d='M70 42l-10 20'/%3E%3Cpath d='M89 42l-17 0'/%3E%3Cpath d='M118 52l14-12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 102px;
  background-repeat: repeat;
  background-position: 0 20px;
}

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

button,
input {
  font: inherit;
}

body[data-theme="dark"] .nav-pill,
body[data-theme="dark"] .secondary-btn,
body[data-theme="dark"] .profile-btn.ghost,
body[data-theme="dark"] .tab,
body[data-theme="dark"] .profile-drawer-trigger,
body[data-theme="dark"] .hero-search-form input,
body[data-theme="dark"] .empty-search-state,
body[data-theme="dark"] .motor-card,
body[data-theme="dark"] .info-card,
body[data-theme="dark"] .type-card,
body[data-theme="dark"] .cart-dialog,
body[data-theme="dark"] .auth-dialog,
body[data-theme="dark"] .settings-dialog,
body[data-theme="dark"] .notification-item,
body[data-theme="dark"] .cart-item,
body[data-theme="dark"] .user-order-item,
body[data-theme="dark"] .cart-empty,
body[data-theme="dark"] .detail-gallery,
body[data-theme="dark"] .detail-summary,
body[data-theme="dark"] .detail-description-card,
body[data-theme="dark"] .checkout-card,
body[data-theme="dark"] .checkout-success-card,
body[data-theme="dark"] .checkout-card-panel,
body[data-theme="dark"] .hero-banner,
body[data-theme="dark"] .profile-panel,
body[data-theme="dark"] .question-card,
body[data-theme="dark"] .product-question-card,
body[data-theme="dark"] .product-question-answer,
body[data-theme="dark"] .product-feedback-tabs,
body[data-theme="dark"] .product-review-card,
body[data-theme="dark"] .user-order-review,
body[data-theme="dark"] .checkout-summary,
body[data-theme="dark"] .cart-summary,
body[data-theme="dark"] .question-answer-card,
body[data-theme="dark"] .detail-inline-description,
body[data-theme="dark"] .type-card-copy span {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

body[data-theme="dark"] .type-card-copy span,
body[data-theme="dark"] .close-auth,
body[data-theme="dark"] .icon-btn,
body[data-theme="dark"] .favorite-icon,
body[data-theme="dark"] .cart-remove-btn {
  background: #1d2922;
  color: var(--text);
  border-color: var(--line);
}

body[data-theme="dark"] .product-image,
body[data-theme="dark"] .motor-visual,
body[data-theme="dark"] .detail-image-shell,
body[data-theme="dark"] .detail-thumb,
body[data-theme="dark"] .type-card-media,
body[data-theme="dark"] .type-card-badge,
body[data-theme="dark"] .hero-video-panel,
body[data-theme="dark"] .hero-video-empty,
body[data-theme="dark"] .hero-search-form,
body[data-theme="dark"] .settings-form input[readonly],
body[data-theme="dark"] .checkout-form textarea[readonly],
body[data-theme="dark"] .checkout-form input[readonly] {
  background: #132019;
}

body[data-theme="dark"] .type-card-visual::after {
  display: none;
}

body[data-theme="dark"] .hero-video-empty {
  background:
    linear-gradient(180deg, rgba(6, 10, 8, 0.18) 0%, rgba(6, 10, 8, 0.84) 100%),
    radial-gradient(circle at top, rgba(107, 178, 139, 0.2), transparent 45%);
  border-color: #26352d;
}

body[data-theme="dark"] .product-feedback-tab {
  color: #9fb0a4;
}

body[data-theme="dark"] .product-feedback-tab.active {
  color: #fff;
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: #0d1210;
  color: var(--text);
  border-color: var(--line);
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
  color: #90a094;
}

body[data-theme="dark"] .brand-text strong,
body[data-theme="dark"] .center-nav a,
body[data-theme="dark"] .motor-info h3,
body[data-theme="dark"] .score,
body[data-theme="dark"] .detail-summary h1,
body[data-theme="dark"] .detail-summary h2,
body[data-theme="dark"] .detail-description-card h3,
body[data-theme="dark"] .product-questions-head h2,
body[data-theme="dark"] .product-question-card h3,
body[data-theme="dark"] .product-question-answer-head strong,
body[data-theme="dark"] .about-card h2,
body[data-theme="dark"] .about-card p,
body[data-theme="dark"] .cart-dialog h3,
body[data-theme="dark"] .notification-item strong,
body[data-theme="dark"] .user-order-head strong {
  color: var(--text);
}

body[data-theme="dark"] .cargo-line,
body[data-theme="dark"] .description,
body[data-theme="dark"] .detail-inline-description p,
body[data-theme="dark"] .detail-description-card p,
body[data-theme="dark"] .product-question-meta,
body[data-theme="dark"] .product-question-answer-head small,
body[data-theme="dark"] .product-question-answer p,
body[data-theme="dark"] .notification-item span,
body[data-theme="dark"] .user-order-meta,
body[data-theme="dark"] .profile-label {
  color: var(--muted);
}

body[data-theme="dark"] .site-footer-note {
  color: #c0cbc3;
}

body[data-theme="dark"] .add-cart-btn {
  background: #111515;
}

body[data-theme="dark"] .detail-nav-arrow {
  background: rgba(25, 37, 30, 0.96);
  color: #edf5ef;
  border-color: var(--line);
}

body[data-theme="dark"] .product-dots {
  background: rgba(18, 28, 22, 0.9);
}

body[data-theme="dark"] .product-dot {
  background: #5f7466;
}

body[data-theme="dark"] .product-dot.active {
  background: #e4efe7;
}

body[data-theme="dark"] .floating-toast,
body[data-theme="dark"] .checkout-toast {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .site-footer-note {
  color: #b2c1b6;
}

.page-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.topbar {
    display: grid;
    grid-template-columns: 260px 1fr auto;
    gap: 20px;
    align-items: center;
    position: relative;
  }

.topbar-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }

.topbar-right-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;
  }

.topbar-mini-links {
  position: absolute;
  right: 0;
  top: -28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1;
  }

.topbar-mini-links span,
.topbar-mini-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: inherit;
}

.topbar-mini-links span {
  cursor: default;
}

.topbar-mini-links a:hover {
  color: var(--primary);
}

body.faq-view .topbar-right-column {
  margin-top: 18px;
}

body.faq-view .topbar-mini-links {
  top: -28px;
}

.faq-page {
  display: grid;
  gap: 22px;
  margin-top: 72px;
}

.faq-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px 32px;
}

.faq-eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.faq-hero-card h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1;
}

.faq-hero-card p:last-child {
  margin: 0;
  max-width: 1120px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 143, 91, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card-body {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.support-page-alert {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.support-page-alert.success {
  border-color: rgba(47, 143, 91, 0.22);
  color: var(--primary);
}

.support-page-alert.error {
  border-color: rgba(201, 73, 73, 0.22);
  color: #c94949;
}

.support-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
  align-items: start;
  font-family: "Space Grotesk", sans-serif;
}

.support-page-sidebar {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 14px;
}

.support-page-sidebutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.support-page-sidebutton:hover,
.support-page-sidebutton.active {
  transform: translateY(-1px);
  border-color: rgba(47, 143, 91, 0.25);
  color: var(--primary);
}

.support-page-content {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 24px;
}

.support-page-content .faq-page {
  margin-top: 0;
}

.support-page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px 32px;
}

.support-page-card h1,
.support-page-card h2,
.support-thread-header h2 {
  margin: 0;
  font-family: inherit;
}

.support-page-card h1,
.support-page-card h2 {
  margin-bottom: 18px;
}

.support-create-form {
  display: grid;
  gap: 18px;
}

.support-create-form label {
  display: grid;
  gap: 10px;
  font-family: inherit;
}

.support-create-form span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  font-family: inherit;
}

.support-create-form input,
.support-create-form select,
.support-create-form textarea,
.support-thread-reply textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
  font-family: inherit;
}

.support-create-form textarea,
.support-thread-reply textarea {
  resize: vertical;
  min-height: 120px;
}

.support-create-form button,
.support-thread-reply button {
  justify-self: start;
  min-width: 180px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(70, 168, 111, 0.25);
  font-family: inherit;
}

.support-user-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.support-user-ticket-list {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: min(62vh, 640px);
  overflow-y: auto;
  padding-right: 8px;
}

.support-user-ticket-item {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-family: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.support-user-ticket-item strong,
.support-user-ticket-item span {
  color: var(--text);
}

.support-user-ticket-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.support-user-ticket-item:hover,
.support-user-ticket-item.active {
  transform: translateY(-1px);
  border-color: rgba(47, 143, 91, 0.25);
}

.support-thread-card {
  display: grid;
  align-content: start;
  padding: 26px 28px;
  align-self: start;
  max-height: min(74vh, 760px);
  overflow: hidden;
}

.support-thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.support-ticket-code {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: inherit;
}

.support-ticket-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.12);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  font-family: inherit;
}

.support-thread-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.support-thread-messages {
  display: grid;
  gap: 14px;
}

.support-thread-scroll {
  max-height: min(62vh, 640px);
  overflow-y: auto;
  align-content: start;
  padding-right: 10px;
}

.support-thread-message {
  display: flex;
}

.support-thread-message.user {
  justify-content: flex-start;
}

.support-thread-message.admin {
  justify-content: flex-end;
}

.support-thread-bubble {
  max-width: min(620px, 100%);
  padding: 18px 20px;
  border-radius: 24px;
  background: #f8faf9;
  border: 1px solid var(--line);
  font-family: inherit;
}

.support-thread-message.admin .support-thread-bubble {
  background: rgba(47, 143, 91, 0.08);
}

.support-thread-meta {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  font-family: inherit;
}

.support-thread-bubble p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.support-thread-reply {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  max-width: 560px;
}

.support-thread-closed-note {
  max-width: 560px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(239, 77, 0, 0.2);
  background: rgba(239, 77, 0, 0.08);
  color: var(--text);
  line-height: 1.6;
}

.support-empty-card {
  padding: 26px 24px;
  border-radius: 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.theme-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  width: 90px;
  height: 46px;
  padding: 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.theme-toggle-option {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #35423a;
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbe2f, #f0a400);
  box-shadow: 0 10px 22px rgba(240, 164, 0, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body[data-theme="dark"] .theme-toggle-track {
  background: #162019;
}

body[data-theme="dark"] .theme-toggle-option {
  color: #d5e2d8;
}

body[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(44px);
  background: linear-gradient(135deg, #1d2938, #35485f);
  box-shadow: 0 10px 22px rgba(23, 34, 48, 0.34);
}

.topbar-guest-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  
.brand-mark {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), #74c08f);
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(47, 143, 91, 0.24);
  }

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
    display: inline-flex;
    align-items: center;
  }

.brand-text strong {
  font-size: 0.96rem;
}

.brand-text small,
.profile-label,
.profile-mail,
.description,
.info-card p {
  color: var(--muted);
}

.center-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.profile-drawer-trigger {
  min-width: 250px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.profile-drawer-trigger-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #74c08f);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.profile-drawer-trigger-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.profile-drawer-trigger-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-drawer-trigger-copy strong {
  font-size: 0.98rem;
}

.profile-drawer-trigger-icon {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--primary);
}

.nav-pill,
.primary-btn,
.secondary-btn,
.profile-btn,
.tab {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-pill {
  padding: 12px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  background: #fff;
  border-color: var(--theme-button-border);
}

.nav-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(47, 143, 91, 0.22);
}

.nav-pill:hover,
.primary-btn:hover,
.secondary-btn:hover,
.profile-btn:hover,
.tab:hover,
.icon-btn:hover,
.favorite-icon:hover,
.add-cart-btn:hover {
  transform: translateY(-2px);
}

.profile-panel,
.hero-banner,
.motor-card,
.info-card,
.auth-dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-panel {
  padding: 22px;
  border-radius: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.profile-drawer-item-icon {
  width: 24px;
  text-align: center;
  color: var(--primary);
  font-size: 1rem;
}

.profile-drawer-badge {
  margin-left: auto;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 0.82rem;
}

.profile-workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.profile-sidebar,
.profile-content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.profile-sidebar {
  position: sticky;
  top: 24px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.profile-sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-sidebar-head h2 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.profile-sidebar-head .profile-mail {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.profile-sidebar-nav {
  display: grid;
  gap: 8px;
}

.profile-sidebar-link {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  font-size: 0.92rem;
}

.profile-sidebar-link:hover,
.profile-sidebar-link.is-active {
  border-color: #bdd4c6;
  box-shadow: 0 10px 22px rgba(32, 74, 49, 0.08);
}

.profile-sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(236, 247, 240, 0.96), rgba(226, 241, 232, 0.96));
  transform: translateX(2px);
}

.profile-sidebar-link .profile-drawer-badge {
  margin-left: auto;
}

.profile-content {
  min-width: 0;
}

.profile-content-panel {
  padding: 20px 22px;
}

.profile-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-content-head h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.profile-tab-flow {
  display: grid;
  gap: 12px;
}

.profile-cart-summary {
  margin-top: 14px;
}

.profile-settings-form {
  max-width: 640px;
}

.profile-sidebar .avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.98rem;
}

.profile-sidebar .profile-label {
  margin-bottom: 4px;
  font-size: 0.72rem;
}

.profile-sidebar-link .profile-drawer-item-icon {
  width: 18px;
  font-size: 0.95rem;
}

.profile-sidebar-link.danger {
  color: #b34a4a;
}

.profile-sidebar-link.danger .profile-drawer-item-icon {
  color: #b34a4a;
}

.profile-content .eyebrow {
  margin-bottom: 4px;
  font-size: 0.72rem;
}

.profile-content-panel .notification-list,
.profile-content-panel .orders-list,
.profile-content-panel .favorites-list,
.profile-content-panel .cart-list {
  margin-top: 0;
  padding-right: 0;
  overflow: visible;
}

.profile-content-panel .notification-item,
.profile-content-panel .favorite-item,
.profile-content-panel .cart-item,
.profile-content-panel .user-order-item {
  border-radius: 16px;
}

.profile-content-panel .notification-item {
  padding: 14px;
}

.profile-content-panel .favorite-item {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
}

.profile-content-panel .favorite-item img,
.profile-content-panel .favorite-item .cart-item-fallback {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}

.profile-content-panel .favorite-item-main {
  gap: 4px;
}

.profile-content-panel .favorite-item-main h3 {
  font-size: 0.96rem;
}

.profile-content-panel .favorite-item-main strong {
  font-size: 0.94rem;
}

.profile-content-panel .cart-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 12px;
}

.profile-content-panel .cart-item img,
.profile-content-panel .cart-item-fallback {
  width: 64px;
  height: 64px;
  border-radius: 12px;
}

.profile-content-panel .user-order-item {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px;
}

.profile-content-panel .user-order-item img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

.profile-content-panel .user-order-main h3 {
  font-size: 0.96rem;
}

.profile-content-panel .user-order-meta {
  gap: 8px;
  font-size: 0.8rem;
}

.profile-content-panel .user-order-status {
  min-width: 120px;
  align-self: start;
  text-align: right;
}

.profile-content-panel .user-order-status strong {
  font-size: 0.9rem;
}

.profile-content-panel .user-order-actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
  margin-top: -2px;
}

.profile-content-panel .user-order-inline-form,
.profile-content-panel .user-order-review-form {
  width: auto;
  min-width: min(100%, 320px);
}

.profile-content-panel .user-order-review {
  width: min(100%, 420px);
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8faf8;
}

.profile-content-panel .user-order-review strong {
  margin-bottom: 4px;
  font-size: 1rem;
}

.profile-content-panel .user-order-review p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.profile-content-panel .user-order-review-form {
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faf8;
}

.profile-content-panel .user-order-review-form textarea {
  min-height: 92px;
  padding: 10px 12px;
  border-radius: 12px;
}

.profile-content-panel .user-order-action-btn {
  min-height: 36px;
}

.profile-content-panel .user-order-cancel-btn {
  min-width: 0;
}

.profile-content-panel .user-order-star-rating {
  gap: 1px;
}

.profile-content-panel .user-order-label,
.profile-content-panel .user-order-review-label {
  font-size: 0.82rem;
}

.profile-content-panel .settings-form label,
.profile-content-panel .settings-form input,
.profile-content-panel .settings-form select,
.profile-content-panel .settings-form textarea {
  font-size: 0.92rem;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-copy {
  flex: 1;
}

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

.avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #74c08f);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.avatar.neutral {
  background: linear-gradient(135deg, #dff3e6, #bfe4cc);
  color: #2f8f5b;
}

.profile-label,
.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--primary);
}

.profile-head h2,
.section-heading h2,
.info-card h3 {
  margin: 0;
}

.profile-mail {
  margin: 14px 0 0;
  line-height: 1.6;
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.profile-bottom-row {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.profile-bottom-row.centered {
  justify-content: center;
}

.profile-bottom-row .profile-actions {
  margin-top: 0;
}

.profile-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.notification-count {
  background: linear-gradient(135deg, #3a5f48, #527364);
  box-shadow: 0 8px 18px rgba(58, 95, 72, 0.24);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 143, 91, 0.22);
}

.primary-btn,
.profile-btn.solid {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 14px 26px rgba(47, 143, 91, 0.24);
}

.secondary-btn,
.profile-btn.ghost,
.tab {
  padding: 12px 18px;
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.content-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.hero-banner {
  padding: 26px 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--theme-tint), var(--theme-soft)),
    #fff;
  display: grid;
  gap: 18px;
}

.hero-video-panel {
  position: relative;
  min-height: 470px;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(12, 19, 16, 0.94), rgba(29, 43, 37, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #050807;
}

.hero-video-empty {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 34px 36px;
  background:
    linear-gradient(180deg, rgba(9, 12, 11, 0.2) 0%, rgba(9, 12, 11, 0.78) 100%),
    radial-gradient(circle at top, rgba(107, 178, 139, 0.28), transparent 45%);
  color: #f3f7f4;
}

.hero-video-empty h1,
.banner-copy h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 3.7vw, 3.8rem);
  line-height: 0.98;
}

.hero-video-empty .description,
.description {
  margin: 16px 0 0;
  max-width: 58ch;
  line-height: 1.7;
}

.hero-search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-search-form input {
  width: min(420px, 100%);
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

.empty-search-state {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.empty-search-state h3,
.empty-search-state p {
  margin: 0;
}

.empty-search-state p {
  margin-top: 8px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.type-card {
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  min-height: 430px;
  content-visibility: auto;
  contain-intrinsic-size: 430px;
}

.type-card:hover {
  transform: translateY(-4px);
  border-color: #bfd8c7;
  box-shadow: 0 18px 38px rgba(27, 62, 40, 0.12);
}

.type-card-visual {
  min-height: 240px;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.type-card-visual::before,
.type-card-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  opacity: 0.9;
}

.type-card-visual::before {
  width: 76%;
  height: 22px;
  bottom: 34px;
  background: rgba(17, 22, 18, 0.08);
  filter: blur(10px);
}

.type-card-visual::after {
  width: 110px;
  height: 110px;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(2px);
}

.type-card-visual span {
  position: relative;
  z-index: 1;
  min-width: 108px;
  height: 108px;
  padding: 0 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(18, 32, 24, 0.12);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.type-card-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 290px;
  height: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(20, 28, 23, 0.12));
}

.type-bike {
  background: linear-gradient(135deg, #fdfefe, #eef8ff);
}

.type-scooter {
  background: linear-gradient(135deg, #fffdf7, #f7f4ff);
}

.type-street {
  background: linear-gradient(135deg, #fff7f5, #fff1ea);
}

.type-atv {
  background: linear-gradient(135deg, #f7fff9, #ecf6df);
}

.type-car {
  background: linear-gradient(135deg, #f8fbff, #edf2fb);
}

.type-card-copy {
  display: grid;
  gap: 14px;
  text-align: center;
}

.type-card-copy h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.type-card-copy span {
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f6;
  color: #252525;
  font-weight: 500;
  font-size: 1.08rem;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.type-card:hover .type-card-copy span {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 143, 91, 0.24);
}

.motor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.motor-card {
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  width: 100%;
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.motor-visual {
  position: relative;
  min-height: 208px;
  aspect-ratio: 4 / 3;
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: absolute;
  inset: 10px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b4b4b4;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.product-dot.active {
  width: 10px;
  background: #7b7b7b;
}

.favorite-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e9e9e9;
  background: #fff;
  color: #454545;
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.bike-photo {
  position: absolute;
  inset: 0;
  transform: scale(0.88);
  transform-origin: center 62%;
}

.bike-wheel {
  position: absolute;
  bottom: 34px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 8px solid #2c2c2c;
  background: radial-gradient(circle, #dbdbdb 0 28%, #6b6b6b 29% 36%, #f6f6f6 37% 100%);
}

.bike-wheel.left {
  left: 28px;
}

.bike-wheel.right {
  right: 34px;
}

.bike-main {
  position: absolute;
  left: 92px;
  right: 92px;
  bottom: 88px;
  height: 30px;
  border-radius: 28px;
  background: linear-gradient(90deg, #111, #666);
  transform: skewX(-14deg);
}

.bike-tail {
  position: absolute;
  left: 72px;
  bottom: 108px;
  width: 90px;
  height: 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, #2f8f5b, #7ec296);
  transform: rotate(-8deg);
}

.bike-front {
  position: absolute;
  right: 66px;
  bottom: 102px;
  width: 92px;
  height: 16px;
  border-radius: 20px;
  background: linear-gradient(90deg, #1f1f1f, #777);
  transform: rotate(-24deg);
}

.bike-seat {
  position: absolute;
  left: 148px;
  bottom: 120px;
  width: 86px;
  height: 18px;
  border-radius: 20px;
  background: #1c1c1c;
}

.bike-glow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 70%;
  height: 48px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 70%);
}

.img-red {
  background: linear-gradient(180deg, #ffffff, #f3f3f3);
}

.img-blue {
  background: linear-gradient(180deg, #fbfdff, #edf5ff);
}

.img-dark {
  background: linear-gradient(180deg, #f6f6f6, #e7e7e7);
}

.img-green {
  background: linear-gradient(180deg, #f7fff9, #ebf7ef);
}

.img-silver {
  background: linear-gradient(180deg, #ffffff, #ececec);
}

.img-navy {
  background: linear-gradient(180deg, #f8fbff, #e4edff);
}

.img-white {
  background: linear-gradient(180deg, #ffffff, #f6f6f6);
}

.img-mint {
  background: linear-gradient(180deg, #fbfffd, #e7f6ec);
}

.img-red .bike-tail {
  background: linear-gradient(90deg, #ff9a20, #ffc257);
}

.img-blue .bike-tail {
  background: linear-gradient(90deg, #5671ff, #7ec1ff);
}

.img-dark .bike-tail {
  background: linear-gradient(90deg, #4f4f4f, #0f0f0f);
}

.img-green .bike-tail {
  background: linear-gradient(90deg, #2f8f5b, #69c08a);
}

.motor-info {
  padding: 10px 12px 12px;
}

.motor-info h3 {
  margin: 0 0 6px;
  min-height: 48px;
  font-size: 0.92rem;
  line-height: 1.34;
}

.cargo-line {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.cargo-line {
  color: #535353;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.score {
  color: #222;
}

.stars {
  color: #ffb400;
  letter-spacing: 0.06em;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.price-row strong {
  font-size: 1.05rem;
  color: var(--theme-accent);
}

.motor-meta {
  margin-top: 10px;
}

.add-cart-btn {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--theme-accent-border);
  background: #fff;
  color: var(--theme-accent-text);
  font-weight: 700;
  cursor: pointer;
}

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

.info-card {
  padding: 20px;
  border-radius: 18px;
}

.info-card h3 {
  margin-bottom: 10px;
}

.about-card {
  grid-column: 1 / -1;
}

.about-card p {
  margin: 0 0 14px;
  max-width: 110ch;
  line-height: 1.8;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.admin-panel {
  display: grid;
  gap: 16px;
}

.admin-lock-card,
.admin-add-card,
.admin-product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-lock-card h3,
.admin-add-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.admin-lock-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.admin-auth-form,
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-auth-form {
  grid-template-columns: 1fr auto;
}

.admin-auth-form input,
.admin-form-grid input,
.admin-form-grid select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-product-list {
  display: grid;
  gap: 14px;
}

.admin-toolbar {
  display: flex;
  justify-content: flex-end;
}

.delete-form {
  margin-top: 10px;
}

.danger-btn {
  min-width: 110px;
  height: 40px;
  border: 1px solid #e05353;
  border-radius: 10px;
  background: #fff;
  color: #d32f2f;
  font-weight: 700;
  cursor: pointer;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.auth-modal.open {
  display: flex;
}

.cart-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 45;
}

.cart-modal.open {
  display: flex;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 28px;
  border-radius: 24px;
}

.cart-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.notification-dialog {
  width: min(620px, 100%);
  max-height: min(78vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.orders-dialog {
  width: min(760px, 100%);
  max-height: min(78vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.cart-dialog-head h2 {
  margin: 0;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfefd;
}

.cart-item img,
.cart-item-fallback {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #f2f5f3;
}

.cart-item-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.cart-item-main strong {
  display: block;
  margin-top: 6px;
  color: var(--theme-accent);
  font-size: 1rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.cart-empty {
  padding: 22px;
  border: 1px dashed #c9ddd0;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.cart-remove-btn {
  min-width: 94px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.cart-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notification-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  overflow-y: auto;
  padding-right: 6px;
}

.orders-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  overflow-y: auto;
  padding-right: 6px;
}

.user-order-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfefd;
}

.user-order-item img {
  width: 86px;
  height: 86px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.user-order-main strong,
.user-order-main h3,
.user-order-main p,
.user-order-status strong,
.user-order-label {
  display: block;
}

.user-order-main h3,
.user-order-main p {
  margin: 0;
}

.user-order-main strong {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}

.user-order-main h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.user-order-main p,
.user-order-label {
  color: var(--muted);
}

.user-order-meta {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.user-order-meta span {
  display: block;
}

.user-order-status {
  min-width: 150px;
  text-align: right;
}

.user-order-status strong {
  color: #1f2b21;
}

.user-order-status.is-canceled strong {
  color: #d93b3b;
}

.user-order-label {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.user-order-status-stack {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 6px;
}

.user-order-status-buttons {
  display: grid;
  gap: 2px;
  justify-items: end;
}

.user-order-status-stack .user-order-inline-form,
.user-order-status-stack .user-order-track-btn,
.user-order-status-buttons .user-order-inline-form,
.user-order-status-buttons .user-order-track-btn {
  width: auto;
  justify-self: end;
}

.user-order-status-stack .user-order-action-btn {
  justify-content: center;
  text-align: center;
  justify-self: end;
}

.user-order-track-btn {
  margin-top: 8px;
}

.user-order-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.user-order-inline-form,
.user-order-review-form {
  display: grid;
  gap: 10px;
}

.user-order-review-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.user-order-review-form textarea {
  resize: vertical;
}

.user-order-action-btn {
  min-height: 38px;
  padding: 8px 18px;
}

.user-order-cancel-btn {
  justify-self: end;
  width: auto;
}

.user-order-review {
  padding: 14px;
  border-radius: 16px;
  background: #f7f7f7;
  border: 1px solid var(--line);
}

.user-order-review strong {
  display: block;
  margin-bottom: 8px;
  color: #f0b429;
  letter-spacing: 1px;
}

.user-order-review p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.user-order-review-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.user-order-star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.user-order-star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.user-order-star-rating label {
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: #d5d8de;
  transition: transform 0.16s ease, color 0.16s ease;
}

.user-order-star-rating label:hover,
.user-order-star-rating label:hover ~ label,
.user-order-star-rating input:checked ~ label {
  color: #f0b429;
}

.user-order-star-rating label:hover {
  transform: scale(1.05);
}

.site-footer-note {
  margin: 10px 0 0;
  padding: 8px 12px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.notification-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfefd;
}

.notification-item strong {
  display: block;
  margin-bottom: 10px;
}

.notification-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.notification-item p + p {
  margin-top: 8px;
}

.notification-item span {
  color: var(--text);
  font-weight: 700;
}

.notification-read-form {
  margin-top: 12px;
}

.notification-read-btn {
  min-width: 120px;
  height: 42px;
}

.settings-dialog {
  width: min(520px, 100%);
}

.settings-modal {
  z-index: 55;
}

.settings-modal.open {
  display: flex;
}

.settings-head h2 {
  margin: 0;
}

.settings-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.settings-form label {
  font-size: 0.94rem;
  font-weight: 500;
}

.settings-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.settings-form select,
.settings-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.settings-form textarea {
  resize: vertical;
}

.settings-form input[readonly] {
  background: #f6f8f7;
  color: var(--muted);
}

.settings-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cart-summary-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-summary-text strong,
.cart-summary-text span {
  font-size: 1rem;
}

.cart-checkout-btn {
  white-space: nowrap;
}

.close-auth {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef8f1;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border-color: transparent;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.auth-form.active {
  display: flex;
}

.auth-form h2 {
  margin: 6px 0 10px;
}

.auth-form label {
  font-size: 0.94rem;
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.auth-form input:focus {
  outline: 2px solid rgba(47, 143, 91, 0.18);
  border-color: rgba(47, 143, 91, 0.4);
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  cursor: pointer;
}

.auth-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
}

.auth-checkbox span {
  font-size: 0.94rem;
  font-weight: 500;
}

.full {
  width: 100%;
  margin-top: 8px;
}

.form-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: #2f8f5b;
  font-weight: 500;
  opacity: 1;
  transition: opacity 300ms ease;
}

.form-message.success {
  color: #208854;
}

.form-message.hidden {
  opacity: 0;
}

.detail-topbar {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.detail-nav {
  align-self: start;
  padding-top: 0;
}

.detail-nav .nav-pill {
  min-height: auto;
}

.detail-topbar .brand,
.detail-topbar .profile-panel {
  align-self: start;
}

.detail-topbar .brand {
  width: max-content;
}

.detail-topbar .brand-text strong {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  white-space: nowrap;
}

.detail-topbar .brand-text small {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.detail-gallery,
.detail-summary,
.detail-description-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.detail-gallery,
.detail-summary,
.detail-description-card {
  padding: 24px;
}

.detail-image-shell {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  padding: 20px;
}

.detail-main-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
  display: block;
}

.detail-nav-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  font-size: 2rem;
  line-height: 1;
  color: #4a4a4a;
  cursor: pointer;
}

.detail-nav-prev {
  left: 16px;
}

.detail-nav-next {
  right: 16px;
}

.detail-bike-photo {
  transform: scale(1);
}

.detail-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.detail-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.detail-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(47, 143, 91, 0.16);
}

.detail-thumb img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}

.detail-summary {
  display: flex;
  flex-direction: column;
}

.detail-summary h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.detail-rating-row {
  margin-top: 18px;
}

.detail-price {
  margin-top: 14px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--theme-accent);
}

.detail-actions {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.detail-quantity-field {
  display: grid;
  gap: 6px;
  flex: 0 0 116px;
}

.detail-quantity-field span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.detail-quantity-stepper {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.detail-quantity-btn {
  height: 100%;
  border: 0;
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.detail-quantity-btn:hover {
  background: #f6f8f7;
}

.detail-quantity-field input {
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  background: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
}

.detail-add-cart {
  flex: 1 1 220px;
  height: 50px;
  font-size: 1rem;
}

.detail-question-toggle {
  flex: 1 1 160px;
  height: 50px;
}

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

.detail-question-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.detail-question-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.detail-question-submit {
  width: 100%;
  min-height: 52px;
}

.detail-question-message {
  margin-top: 14px;
}

.question-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.question-modal.open {
  display: flex;
}

.question-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  border: 0;
}

.question-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

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

.question-dialog-head h2 {
  margin: 6px 0 0;
}

.question-dialog-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.detail-inline-description {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-feedback-section {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.product-feedback-header {
  display: flex;
  justify-content: center;
}

.product-feedback-tabs {
  width: fit-content;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-feedback-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-feedback-tab.active {
  background: var(--primary);
  color: #fff;
}

.product-feedback-panel {
  display: none;
  gap: 14px;
}

.product-feedback-panel.active {
  display: grid;
}

.product-feedback-empty {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
}

.product-questions-section {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

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

.product-questions-head h2 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.product-questions-nav {
  display: none;
  align-items: center;
  gap: 10px;
}

.product-questions-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.product-questions-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  overflow: visible;
  padding-bottom: 0;
}

.product-question-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
}

.product-question-card h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-question-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  word-break: break-word;
}

.product-question-answer {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.product-question-answer-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.product-question-answer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}

.product-question-answer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-question-answer-head strong,
.product-question-answer-head small,
.product-question-answer p {
  display: block;
}

.product-question-answer-head small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.product-question-answer p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.84rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-question-answer-head strong {
  font-size: 0.84rem;
  line-height: 1.4;
  word-break: break-word;
}

.product-reviews-head h2 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.product-review-card {
  gap: 10px;
}

.product-reviews-combined {
  gap: 18px;
}

.product-reviews-summary {
  display: grid;
  gap: 10px;
}

.product-review-answer {
  background: #f7f7f7;
}

.product-review-stars {
  margin: 0;
  color: #f0b429;
  letter-spacing: 1px;
  font-size: 1.05rem;
}

.product-review-list {
  display: grid;
  gap: 14px;
}

.product-review-entry {
  padding: 16px 18px;
}

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

.product-review-copy {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.product-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-review-copy h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
}

.product-review-head small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-review-copy p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.86rem;
  color: var(--text);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-review-score {
  display: flex;
  align-items: center;
  justify-items: end;
  flex-shrink: 0;
  text-align: right;
}

.product-review-score strong {
  color: #f0b429;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 1px;
}

.product-review-score small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .product-review-row {
    flex-direction: column;
    align-items: stretch;
  }

  .product-review-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-review-score {
    justify-content: flex-start;
    text-align: left;
  }
}

.detail-inline-description p:last-child {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.detail-description-card p:last-child {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.checkout-toast {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 60;
  min-width: 320px;
  max-width: 440px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 14px;
  align-items: start;
  padding: 16px 18px 18px;
  border-radius: 14px;
  border: 1px solid #e69393;
  background: linear-gradient(180deg, #fff7f7, #fff1f1);
  box-shadow: 0 18px 38px rgba(140, 46, 46, 0.14);
  color: #8c2e2e;
}

.checkout-toast::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d85a5a, #c64242);
  transform-origin: left center;
  animation: panel-toast-progress 4.5s linear forwards;
}

.checkout-toast.hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
}

.checkout-toast-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: #d85a5a;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-toast-body {
  display: grid;
  gap: 6px;
}

.checkout-toast-body strong {
  font-size: 1rem;
}

.checkout-toast-body span {
  line-height: 1.45;
}

.checkout-toast-close {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.floating-toast {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 80;
  min-width: 320px;
  max-width: 420px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 14px;
  align-items: start;
  padding: 16px 18px 18px;
  border-radius: 14px;
  border: 1px solid #52c27b;
  background: linear-gradient(180deg, #f2fff6, #ecfdf2);
  box-shadow: 0 18px 38px rgba(23, 82, 51, 0.18);
  color: #164c30;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.floating-toast::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22a95c, #2f8f5b);
  transform-origin: left center;
  animation: panel-toast-progress 2.6s linear forwards;
}

.floating-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-toast-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: #22a95c;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.floating-toast-body {
  display: grid;
  gap: 6px;
}

.floating-toast-body strong {
  font-size: 1rem;
}

.floating-toast-body span {
  line-height: 1.45;
}

.floating-toast-close {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-card,
.checkout-success-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.checkout-section-note {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.checkout-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfefd;
}

.checkout-item img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.checkout-item strong,
.checkout-item small,
.checkout-item span {
  display: block;
}

.checkout-item small {
  margin-top: 6px;
  color: var(--muted);
}

.checkout-item span {
  margin-top: 6px;
  color: var(--theme-accent);
  font-weight: 700;
}

.checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
}

.checkout-total-row span {
  color: var(--theme-accent);
  font-size: 1.45rem;
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-form label {
  font-size: 0.94rem;
  font-weight: 500;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form textarea[readonly],
.checkout-form input[readonly] {
  background: #f6f8f7;
  color: var(--muted);
}

.checkout-card-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #f9fcfa, #f3faf6);
}

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

.checkout-submit-btn {
  margin-top: 8px;
  min-height: 52px;
}

.checkout-summary {
  display: grid;
  align-content: start;
}

.checkout-support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.checkout-support-strip > div {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdfb, #f3f9f5);
  border: 1px solid rgba(47, 143, 91, 0.12);
}

.checkout-support-strip strong {
  font-size: 0.95rem;
}

.checkout-support-strip span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
  display: block;
}

.checkout-provider-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.checkout-provider-summary {
  display: grid;
  gap: 12px;
}

.checkout-provider-summary-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fbfdfc;
  border: 1px solid rgba(47, 143, 91, 0.1);
}

.checkout-provider-summary-row strong {
  color: #1c3a2a;
}

.checkout-provider-summary-row span {
  color: var(--text);
  line-height: 1.6;
}

.checkout-provider-warning {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #f0b770;
  background: linear-gradient(180deg, #fff9ef, #fff4df);
  color: #8a5919;
  line-height: 1.65;
}

.checkout-provider-launch-form {
  display: grid;
  gap: 14px;
}

.checkout-provider-launch-form .field {
  display: grid;
  gap: 8px;
}

.checkout-provider-launch-form .field.full {
  grid-column: 1 / -1;
}

.checkout-provider-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .checkout-card-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-success-card {
  text-align: center;
}

.checkout-success-card h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.checkout-success-card p:last-of-type {
  margin: 14px auto 0;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.favorite-icon.active {
  color: #e25f76;
  border-color: rgba(226, 95, 118, 0.24);
  background: #fff4f7;
}

.favorites-dialog {
  width: min(720px, 100%);
  max-height: min(78vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.favorites-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  overflow-y: auto;
  padding-right: 6px;
}

.favorite-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fcfefd;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.favorite-item:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 124, 83, 0.24);
  box-shadow: 0 16px 34px rgba(25, 52, 37, 0.08);
}

.favorite-item img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  background: #f4f8f5;
}

.favorite-item-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.favorite-item-main p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--theme-accent);
  font-weight: 700;
}

.favorite-item-main h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.favorite-item-main strong {
  color: var(--theme-accent);
  font-size: 1rem;
}

.favorite-remove-btn {
  min-width: 104px;
  min-height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(228, 84, 84, 0.3);
  background: #fff;
  color: #d95050;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.favorite-remove-btn:hover {
  background: #fff5f5;
  border-color: rgba(228, 84, 84, 0.42);
}

body[data-theme="dark"] .favorite-icon.active {
  color: #ff8da3;
  border-color: rgba(255, 141, 163, 0.28);
  background: rgba(255, 141, 163, 0.12);
}

body[data-theme="dark"] .favorite-item {
  background: #101715;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-theme="dark"] .favorite-item:hover {
  border-color: rgba(104, 185, 141, 0.28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .favorite-item img {
  background: #0b100f;
}

body[data-theme="dark"] .favorite-remove-btn {
  background: #101715;
  color: #ff8f8f;
  border-color: rgba(255, 143, 143, 0.24);
}

body[data-theme="dark"] .favorite-remove-btn:hover {
  background: rgba(255, 143, 143, 0.08);
}

body[data-theme="dark"] .profile-sidebar-link,
body[data-theme="dark"] .profile-content-panel {
  background: #101715;
}

body[data-theme="dark"] .profile-sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(39, 60, 48, 0.92), rgba(29, 47, 38, 0.92));
}

@media (max-width: 1220px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .center-nav {
    justify-content: flex-start;
  }

  .topbar-actions,
  .topbar-guest-actions {
    justify-content: flex-start;
  }

  .topbar-right-column {
    display: grid;
    justify-items: stretch;
    width: 100%;
  }

  .topbar-mini-links {
    position: static;
    justify-content: flex-start;
    margin-bottom: 6px;
  }

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

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

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

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

  .profile-workspace {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding: 18px;
  }

  .hero-video-panel {
    min-height: 360px;
  }

  .hero-video-empty {
    padding: 24px;
  }

  .checkout-card,
  .checkout-success-card {
    padding: 22px;
  }

  .checkout-support-strip {
    grid-template-columns: 1fr;
  }

  .checkout-provider-summary-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .motor-grid,
  .info-strip,
  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    flex-wrap: wrap;
  }

  .admin-auth-form,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .banner-copy h1 {
    max-width: 100%;
  }

  .favorite-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .favorite-remove-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .user-order-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .user-order-status,
  .user-order-actions {
    grid-column: 1 / -1;
  }

  .user-order-status {
    text-align: left;
    min-width: 0;
  }

  .user-order-status-stack {
    justify-items: stretch;
  }

  .profile-sidebar {
    padding: 18px;
  }

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

  .profile-content-panel {
    padding: 22px;
  }

  .profile-content-panel .user-order-status,
  .profile-content-panel .user-order-actions {
    grid-column: 1 / -1;
  }

  .profile-content-panel .user-order-status {
    text-align: left;
    min-width: 0;
  }

  .profile-content-panel .user-order-status-stack {
    justify-items: stretch;
  }
}

@media (max-width: 560px) {
  .center-nav,
  .profile-actions,
  .tabs {
    flex-direction: column;
  }

  .hero-video-panel {
    min-height: 300px;
  }

  .hero-video-empty {
    padding: 18px 18px 120px;
  }

  .product-feedback-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-feedback-tab {
    width: 100%;
  }

  .profile-drawer-trigger {
    width: 100%;
  }

  .user-order-actions {
    grid-column: 1 / -1;
  }

  .hero-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search-form input {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-pill,
  .primary-btn,
  .secondary-btn,
  .profile-btn,
  .tab {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .motor-grid,
  .info-strip,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-gallery,
  .detail-summary,
  .detail-description-card {
    padding: 18px;
  }

  .detail-image-shell {
    min-height: 460px;
  }

  .favorite-item {
    grid-template-columns: 1fr;
  }

  .favorite-item img {
    width: 100%;
    max-width: 120px;
    height: 120px;
  }

  .profile-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .profile-sidebar-link {
    width: 100%;
  }

  .profile-content-panel {
    padding: 18px;
  }

  .profile-content-panel .user-order-actions,
  .profile-content-panel .user-order-review,
  .profile-content-panel .user-order-review-form,
  .profile-content-panel .user-order-inline-form {
    width: 100%;
    min-width: 0;
  }
}

body.tracking-view .topbar-right-column {
  gap: 0.85rem;
}

.tracking-page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
  display: grid;
  gap: 24px;
}

.tracking-hero-card,
.tracking-feedback-card,
.tracking-order-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.98)),
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.08), transparent 42%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.tracking-hero-card {
  padding: 34px;
}

.tracking-hero-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.tracking-hero-card p:last-of-type {
  margin: 0;
  max-width: 760px;
  color: #52607a;
  font-size: 1.02rem;
  line-height: 1.7;
}

.tracking-search-form {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.tracking-search-form label {
  color: #10213a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracking-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.tracking-search-row input {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #10213a;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracking-search-row input:focus {
  border-color: rgba(255, 122, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
  transform: translateY(-1px);
}

.tracking-feedback-card {
  padding: 24px 28px;
}

.tracking-feedback-error {
  border-color: rgba(224, 83, 83, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 248, 248, 0.98), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top right, rgba(224, 83, 83, 0.12), transparent 42%);
}

.tracking-feedback-card strong {
  display: block;
  margin-bottom: 6px;
  color: #8a1f1f;
  font-size: 1.05rem;
}

.tracking-feedback-card p {
  margin: 0;
  color: #6a7280;
  line-height: 1.7;
}

.tracking-results {
  display: grid;
  gap: 18px;
}

.tracking-order-card {
  padding: 28px;
  display: grid;
  gap: 18px;
}

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

.tracking-order-head h2 {
  margin: 8px 0 0;
  color: #10213a;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.tracking-order-code {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #43516b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.tracking-status-badge.is-new,
.tracking-status-badge.is-processing {
  background: rgba(255, 186, 73, 0.18);
  color: #8a5b00;
}

.tracking-status-badge.is-shipping {
  background: rgba(66, 153, 225, 0.18);
  color: #175b96;
}

.tracking-status-badge.is-delivered {
  background: rgba(52, 163, 99, 0.16);
  color: #17623a;
}

.tracking-status-badge.is-canceled {
  background: rgba(224, 83, 83, 0.15);
  color: #932525;
}

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

.tracking-order-meta {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 7px;
}

.tracking-order-meta span {
  color: #6d7a90;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracking-order-meta strong {
  color: #10213a;
  font-size: 1rem;
}

.tracking-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.tracking-timeline-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: #6d7a90;
  min-height: 144px;
}

.tracking-timeline-item strong {
  font-size: 0.98rem;
  font-weight: 500;
  color: #364458;
}

.tracking-timeline-item small {
  color: #4e5d74;
  font-size: 0.92rem;
}

.tracking-timeline-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 44px);
  width: calc(100% - 88px);
  height: 4px;
  border-radius: 999px;
  background: #dfe3e9;
}

.tracking-timeline-line.is-completed {
  background: #6cc56f;
}

.tracking-timeline-line.is-next {
  background: #ffb000;
}

.tracking-timeline-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d9d9d9;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.tracking-timeline-item.completed .tracking-timeline-icon {
  background: #6cc56f;
  color: #fff;
}

.tracking-timeline-item.current .tracking-timeline-icon {
  background: #ffb000;
  color: #fff;
}

.tracking-timeline-item.current:last-child .tracking-timeline-icon {
  background: #6cc56f;
  color: #fff;
}

.tracking-timeline-item.upcoming .tracking-timeline-icon {
  background: #d9d9d9;
  color: #555;
}

.tracking-timeline-item:last-child .tracking-timeline-icon {
  font-size: 1.2rem;
}

.tracking-order-note {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.05);
  color: #42536d;
  line-height: 1.7;
}

.tracking-order-note.is-canceled {
  background: rgba(224, 83, 83, 0.1);
  color: #8f2929;
}

@media (max-width: 960px) {
  .tracking-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracking-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tracking-timeline-item {
    min-height: auto;
    grid-template-columns: 64px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 8px 16px;
  }

  .tracking-timeline-item strong,
  .tracking-timeline-item small {
    grid-column: 2;
  }

  .tracking-timeline-line {
    top: calc(100% + 6px);
    left: 26px;
    width: 4px;
    height: 22px;
  }

  .tracking-timeline-item:last-child .tracking-timeline-line {
    display: none;
  }
}

@media (max-width: 720px) {
  .tracking-page {
    width: min(100% - 28px, 100%);
    padding: 24px 0 56px;
  }

  .tracking-hero-card,
  .tracking-feedback-card,
  .tracking-order-card {
    padding: 22px;
    border-radius: 22px;
  }

  .tracking-search-row,
  .tracking-order-grid {
    grid-template-columns: 1fr;
  }

  .tracking-order-head {
    flex-direction: column;
  }

  .tracking-search-row .primary-btn {
    width: 100%;
  }
}

@media (max-width: 960px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    padding: 16px;
  }

  .topbar {
    gap: 16px;
  }

  .brand {
    width: 100%;
    justify-content: flex-start;
  }

  .center-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .center-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    width: auto;
  }

  .topbar-right-column {
    width: 100%;
  }

  .topbar-mini-links {
    flex-wrap: wrap;
    row-gap: 10px;
    white-space: normal;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .topbar-guest-actions {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-btn,
  .profile-drawer-trigger {
    width: 100%;
    min-width: 0;
  }

  .hero-search-form,
  .section-heading,
  .support-thread-header,
  .cart-dialog-head,
  .cart-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search-form .primary-btn,
  .cart-summary .primary-btn,
  .cart-summary .secondary-btn {
    width: 100%;
  }

  .support-page {
    grid-template-columns: 1fr;
  }

  .support-page-sidebar {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .support-page-sidebar::-webkit-scrollbar {
    display: none;
  }

  .support-page-sidebutton {
    white-space: nowrap;
  }

  .support-user-shell {
    grid-template-columns: 1fr;
  }

  .support-user-ticket-list,
  .support-thread-card,
  .support-thread-scroll {
    max-height: none;
    padding-right: 0;
  }

  .faq-page {
    margin-top: 32px;
  }

  .auth-modal,
  .cart-modal {
    padding: 16px;
  }

  .auth-dialog,
  .cart-dialog,
  .settings-dialog,
  .notification-dialog,
  .orders-dialog {
    width: 100%;
    max-height: min(88vh, 100dvh - 32px);
    padding: 22px;
    border-radius: 22px;
    overflow-y: auto;
  }

  .cart-item,
  .user-order-item,
  .favorite-item {
    grid-template-columns: 1fr;
  }

  .cart-item img,
  .cart-item-fallback,
  .user-order-item img,
  .favorite-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .favorite-item-main,
  .user-order-main,
  .cart-item-main {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .brand-text strong {
    font-size: 0.88rem;
  }

  .topbar-mini-links {
    gap: 12px;
    font-size: 0.74rem;
  }

  .topbar-actions {
    gap: 10px;
  }

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

  .theme-toggle {
    width: 100%;
  }

  .theme-toggle-track {
    width: 100%;
  }

  .hero-banner,
  .faq-hero-card,
  .support-page-card,
  .profile-content-panel,
  .profile-sidebar {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-video-panel {
    min-height: 260px;
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-video {
    height: 260px;
    border-radius: 20px;
  }

  .hero-video-empty {
    position: relative;
    min-height: 260px;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-video-empty {
    padding: 18px 18px 24px;
  }

  .hero-video-empty h1,
  .banner-copy h1,
  .faq-hero-card h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.05;
  }

  .hero-video-empty .description,
  .faq-hero-card p:last-child {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .support-thread-bubble {
    padding: 16px;
    border-radius: 20px;
  }

.profile-sidebar-nav {
  grid-template-columns: 1fr;
  }
}

body.market-track-view .topbar-right-column {
  align-items: center;
}

.market-track-page {
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 72px;
  display: grid;
  gap: 22px;
}

.market-track-hero,
.market-track-card,
.market-track-error {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
}

.market-track-hero {
  padding: 34px 36px;
  background:
    radial-gradient(circle at top right, rgba(255, 154, 41, 0.18), transparent 30%),
    linear-gradient(135deg, #fff7ef, #ffffff 58%);
}

.market-track-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -48px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 165, 0, 0.12);
  filter: blur(6px);
}

.market-track-kicker {
  margin: 0 0 10px;
  color: #cf6700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.market-track-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.market-track-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 14px 0 0;
  color: #596579;
  font-size: 1rem;
  line-height: 1.7;
}

.market-track-token {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #243044;
  font-weight: 700;
}

.market-track-token span {
  color: #7a8698;
  font-weight: 500;
}

.market-track-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
}

.market-track-card {
  padding: 28px;
}

.market-track-card h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.market-track-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.market-track-card dl div {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.market-track-card dt {
  margin: 0 0 6px;
  color: #7a8698;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.market-track-card dd {
  margin: 0;
  color: #1f2937;
  line-height: 1.5;
  font-weight: 600;
}

.market-track-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef7f1;
  color: #29784d;
  font-size: 0.84rem;
  font-weight: 700;
}

.market-track-status-badge.is-processing {
  background: #fff6de;
  color: #a57000;
}

.market-track-status-badge.is-shipping {
  background: #e9f1ff;
  color: #295ec2;
}

.market-track-status-badge.is-canceled {
  background: #fff0f0;
  color: #cb4141;
}

.market-track-timeline {
  display: grid;
  gap: 16px;
}

.market-track-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fbfcfe;
}

.market-track-step-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #64748b;
  font-size: 1.35rem;
}

.market-track-step strong,
.market-track-step p,
.market-track-step small {
  display: block;
  margin: 0;
}

.market-track-step strong {
  font-size: 1rem;
  color: #1f2937;
}

.market-track-step p {
  margin-top: 6px;
  color: #667489;
  line-height: 1.6;
}

.market-track-step small {
  margin-top: 10px;
  color: #94a3b8;
  font-weight: 700;
}

.market-track-step.is-completed {
  border-color: rgba(47, 143, 91, 0.18);
  background: #f4fbf6;
}

.market-track-step.is-completed .market-track-step-icon {
  background: #2f8f5b;
  color: #fff;
}

.market-track-step.is-current {
  border-color: rgba(255, 145, 55, 0.28);
  background: linear-gradient(135deg, #fff8ef, #fffdf9);
}

.market-track-step.is-current .market-track-step-icon {
  background: linear-gradient(135deg, #ff9b3d, #ff7a00);
  color: #fff;
}

.market-track-step.is-upcoming {
  opacity: 0.72;
}

.market-track-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff4f4;
  border: 1px solid rgba(217, 59, 59, 0.16);
  color: #a63a3a;
  line-height: 1.6;
}

.market-track-error {
  padding: 30px 32px;
}

.market-track-error strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.market-track-error p {
  margin: 0;
  color: #5b677a;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .market-track-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .market-track-page {
    width: min(100%, calc(100% - 24px));
    margin-top: 24px;
  }

  .market-track-hero,
  .market-track-card,
  .market-track-error {
    border-radius: 24px;
    padding: 22px;
  }

  .market-track-step {
    grid-template-columns: 1fr;
  }
}
