:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.98);
  --surface-strong: #ffffff;
  --font-body: "Manrope", sans-serif;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-brand: "Plus Jakarta Sans", sans-serif;
  --ink: #17324d;
  --muted: #4e6d8e;
  --line: rgba(13, 116, 217, 0.14);
  --accent: #0d74d9;
  --accent-dark: #0958af;
  --accent-soft: #e8f3ff;
  --teal: #0d74d9;
  --header-bg: #0d74d9;
  --header-bg-dark: #0958af;
  --shadow: 0 18px 42px rgba(13, 116, 217, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3000;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(13, 116, 217, 0.36);
  outline-offset: 3px;
}

body.page-loading {
  overflow: hidden;
}

.page-skeleton {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-rows: auto 1fr;
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 38%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

body.page-loading .page-skeleton {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.page-ready .page-skeleton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-skeleton__header {
  padding: 0.9rem 0 1rem;
  background: linear-gradient(
    180deg,
    var(--header-bg) 0%,
    var(--header-bg-dark) 100%
  );
}

.page-skeleton__header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.page-skeleton__brand,
.page-skeleton__search,
.page-skeleton__chip,
.page-skeleton__eyebrow,
.page-skeleton__headline,
.page-skeleton__copy,
.page-skeleton__card {
  display: block;
  border-radius: 999px;
}

.page-skeleton__brand {
  inline-size: 11rem;
  block-size: 2.2rem;
}

.page-skeleton__search {
  block-size: 4rem;
}

.page-skeleton__header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-skeleton__chip {
  inline-size: 5.3rem;
  block-size: 2.7rem;
}

.page-skeleton__main {
  padding: 1.45rem 0 2rem;
}

.page-skeleton__hero {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.page-skeleton__eyebrow {
  inline-size: 8rem;
  block-size: 0.82rem;
}

.page-skeleton__headline {
  inline-size: min(100%, 30rem);
  block-size: clamp(2.5rem, 5vw, 4rem);
  margin-top: 0.9rem;
}

.page-skeleton__headline--short {
  inline-size: min(100%, 20rem);
}

.page-skeleton__copy {
  inline-size: min(100%, 38rem);
  block-size: 1rem;
  margin-top: 1rem;
}

.page-skeleton__copy--short {
  inline-size: min(100%, 25rem);
}

.page-skeleton__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.page-skeleton__card {
  min-height: 10rem;
  border-radius: var(--radius-lg);
}

.page-skeleton__card--wide {
  grid-column: span 2;
  min-height: 11.5rem;
}

.page-skeleton__header .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 25%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.12) 75%
  );
  background-size: 200% 100%;
}

.page-skeleton__main .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(232, 243, 255, 0.82) 25%,
    rgba(194, 221, 248, 0.96) 50%,
    rgba(232, 243, 255, 0.82) 75%
  );
  background-size: 200% 100%;
}

.skeleton-shimmer {
  animation: skeleton-shimmer 1.15s linear infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.page-skeleton__market-header,
.page-skeleton__help-header {
  background: linear-gradient(
    180deg,
    var(--header-bg) 0%,
    var(--header-bg-dark) 100%
  );
}

.page-skeleton__market-header {
  padding: 0.95rem 0 1rem;
}

.page-skeleton__help-header {
  padding: 1rem 0 1.05rem;
}

.page-skeleton__market-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
}

.page-skeleton__market-brand-group,
.page-skeleton__help-brand-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  min-width: 13rem;
}

.page-skeleton__market-brand-eyebrow,
.page-skeleton__market-brand-name,
.page-skeleton__market-search,
.page-skeleton__market-chip,
.page-skeleton__market-link,
.page-skeleton__catalog-hero,
.page-skeleton__category-card,
.page-skeleton__product-card,
.page-skeleton__crumb,
.page-skeleton__product-media,
.page-skeleton__thumb,
.page-skeleton__price,
.page-skeleton__copy-line,
.page-skeleton__button,
.page-skeleton__detail-card,
.page-skeleton__cart-line,
.page-skeleton__help-search,
.page-skeleton__topic-card,
.page-skeleton__question-row,
.page-skeleton__field,
.page-skeleton__section-kicker,
.page-skeleton__section-title,
.page-skeleton__section-copy {
  display: block;
  border-radius: 999px;
}

.page-skeleton__market-brand-eyebrow {
  inline-size: 13.4rem;
  block-size: 0.82rem;
}

.page-skeleton__market-brand-name {
  inline-size: 10.5rem;
  block-size: 1.95rem;
}

.page-skeleton__market-search {
  block-size: 4.2rem;
}

.page-skeleton__market-actions {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.page-skeleton__market-chip {
  inline-size: 5rem;
  block-size: 2.85rem;
}

.page-skeleton__market-subnav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-skeleton__market-link {
  inline-size: 6.2rem;
  block-size: 0.9rem;
}

.page-skeleton__surface {
  padding: 1.45rem 0 2rem;
}

.page-skeleton__section-card {
  margin-top: 1.4rem;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.page-skeleton__section-kicker {
  inline-size: 8.4rem;
  block-size: 0.78rem;
}

.page-skeleton__section-title {
  inline-size: min(100%, 24rem);
  block-size: clamp(2.1rem, 4vw, 3rem);
  margin-top: 0.9rem;
}

.page-skeleton__section-title--center {
  margin-inline: auto;
}

.page-skeleton__section-title--medium {
  inline-size: min(100%, 19rem);
  block-size: 2.35rem;
}

.page-skeleton__section-title--small {
  inline-size: min(100%, 11rem);
  block-size: 1.9rem;
}

.page-skeleton__section-copy {
  inline-size: min(100%, 30rem);
  block-size: 0.98rem;
  margin-top: 0.9rem;
}

.page-skeleton__section-copy--center {
  margin-inline: auto;
}

.page-skeleton__catalog-hero {
  block-size: clamp(18rem, 38vw, 26rem);
  border-radius: 2rem;
}

.page-skeleton__category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.page-skeleton__category-card {
  min-height: 10.6rem;
  border-radius: 1.65rem;
}

.page-skeleton__product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.page-skeleton__product-card {
  min-height: 20rem;
  border-radius: 1.65rem;
}

.page-skeleton__crumb-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.page-skeleton__crumb {
  inline-size: 6rem;
  block-size: 0.8rem;
}

.page-skeleton__crumb--short {
  inline-size: 4rem;
}

.page-skeleton__product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.2rem;
}

.page-skeleton__product-panel {
  margin-top: 0;
}

.page-skeleton__product-media {
  block-size: clamp(20rem, 34vw, 27rem);
  border-radius: 1.65rem;
}

.page-skeleton__product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.95rem;
}

.page-skeleton__thumb {
  block-size: 4.8rem;
  border-radius: 1rem;
}

.page-skeleton__price {
  inline-size: 9.5rem;
  block-size: 2.6rem;
  margin-top: 1rem;
}

.page-skeleton__copy-line {
  inline-size: 100%;
  block-size: 0.96rem;
  margin-top: 0.85rem;
}

.page-skeleton__copy-line--short {
  inline-size: 68%;
}

.page-skeleton__action-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.page-skeleton__button {
  inline-size: 100%;
  block-size: 3.4rem;
  border-radius: 999px;
}

.page-skeleton__button--secondary {
  max-width: 8.5rem;
}

.page-skeleton__detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.page-skeleton__detail-grid .page-skeleton__section-card {
  margin-top: 0;
}

.page-skeleton__detail-card {
  min-height: 12rem;
  border-radius: 1.5rem;
}

.page-skeleton__detail-card--short {
  min-height: 8rem;
  margin-top: 1rem;
}

.page-skeleton__cart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-skeleton__cart-heading .page-skeleton__section-title,
.page-skeleton__cart-heading .page-skeleton__section-copy {
  margin-top: 0;
}

.page-skeleton__cart-summary-chips {
  display: flex;
  gap: 0.7rem;
}

.page-skeleton__cart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
  gap: 1.2rem;
}

.page-skeleton__cart-lines {
  display: grid;
  gap: 1rem;
}

.page-skeleton__cart-line {
  min-height: 8.5rem;
  border-radius: 1.75rem;
}

.page-skeleton__cart-summary-card {
  margin-top: 0;
}

.page-skeleton__help-hero {
  text-align: center;
}

.page-skeleton__admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.1),
      transparent 24%
    ),
    linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
}

.page-skeleton__admin-sidebar {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.4rem;
  min-height: 100vh;
  padding: 1.75rem 1.35rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, #edf3ff 0%, #e3ecff 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.35);
}

.page-skeleton__admin-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.page-skeleton__admin-brand-mark {
  inline-size: 50px;
  block-size: 50px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.page-skeleton__admin-brand-copy {
  display: grid;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.page-skeleton__admin-brand-line {
  display: block;
  inline-size: 7rem;
  block-size: 0.8rem;
  border-radius: 999px;
}

.page-skeleton__admin-brand-line--title {
  inline-size: 9rem;
  block-size: 1.05rem;
}

.page-skeleton__admin-profile {
  display: block;
  min-height: 8.6rem;
  border-radius: 22px;
}

.page-skeleton__admin-nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.page-skeleton__admin-nav-item,
.page-skeleton__admin-meta-item {
  display: block;
  min-height: 46px;
  border-radius: 16px;
}

.page-skeleton__admin-meta {
  display: grid;
  gap: 0.4rem;
}

.page-skeleton__admin-content {
  padding: 2rem 1.25rem 2rem;
}

.page-skeleton__admin-hero {
  padding: 0 0 1.1rem;
}

.page-skeleton__admin-hero .page-skeleton__section-title,
.page-skeleton__admin-hero .page-skeleton__section-copy {
  margin-top: 0.8rem;
}

.page-skeleton__admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-skeleton__admin-metric-card,
.page-skeleton__admin-chart-card,
.page-skeleton__admin-form-card,
.page-skeleton__admin-table-card,
.page-skeleton__admin-chat-list,
.page-skeleton__admin-chat-panel,
.page-skeleton__admin-toolbar-control {
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.page-skeleton__admin-metric-card {
  min-height: 9.5rem;
}

.page-skeleton__admin-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.page-skeleton__admin-chart-card {
  min-height: 21rem;
}

.page-skeleton__admin-form-card {
  padding: 1.55rem;
}

.page-skeleton__admin-chat-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
  gap: 1rem;
}

.page-skeleton__admin-chat-list {
  min-height: 34rem;
}

.page-skeleton__admin-chat-panel {
  min-height: 34rem;
}

.page-skeleton__admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-skeleton__admin-toolbar-actions {
  display: flex;
  gap: 0.75rem;
}

.page-skeleton__admin-toolbar-control {
  min-width: 9rem;
  min-height: 3.2rem;
}

.page-skeleton__admin-toolbar-control--wide {
  width: min(100%, 22rem);
}

.page-skeleton__admin-table-card {
  padding: 1.3rem;
}

.page-skeleton__admin-table-row {
  display: block;
  min-height: 3.9rem;
  border-radius: 18px;
}

.page-skeleton__admin-table-row + .page-skeleton__admin-table-row {
  margin-top: 0.85rem;
}

.page-skeleton__admin-sidebar .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(103, 127, 168, 0.18) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(103, 127, 168, 0.18) 75%
  );
  background-size: 200% 100%;
}

.page-skeleton__admin-content .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(232, 243, 255, 0.82) 25%,
    rgba(194, 221, 248, 0.96) 50%,
    rgba(232, 243, 255, 0.82) 75%
  );
  background-size: 200% 100%;
}

.page-skeleton__help-search {
  inline-size: min(100%, 60rem);
  block-size: 4.2rem;
  margin: 1.25rem auto 0;
}

.page-skeleton__topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.page-skeleton__topic-card {
  min-height: 9.5rem;
  border-radius: 1.65rem;
}

.page-skeleton__question-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.page-skeleton__question-row {
  block-size: 4rem;
  border-radius: 1.45rem;
}

.page-skeleton__hero-compact {
  padding: 0.65rem 0 0.2rem;
}

.page-skeleton__panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
}

.page-skeleton__panel-card {
  min-height: 14rem;
}

.page-skeleton__panel-card--primary {
  min-height: 18rem;
}

.page-skeleton__form-shell {
  max-width: 44rem;
  margin: 1rem auto 0;
}

.page-skeleton__form-card {
  margin-top: 0;
}

.page-skeleton__field-stack {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.15rem;
}

.page-skeleton__field {
  block-size: 3.75rem;
  border-radius: 1.25rem;
}

.page-skeleton__field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.page-skeleton__chat-shell,
.page-skeleton__checkout-shell,
.page-skeleton__coupon-split-grid {
  display: grid;
  gap: 1rem;
}

.page-skeleton__chat-shell {
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
}

.page-skeleton__chat-sidebar-card,
.page-skeleton__chat-thread-card,
.page-skeleton__checkout-panel,
.page-skeleton__checkout-summary-card {
  margin-top: 0;
}

.page-skeleton__chat-list,
.page-skeleton__chat-thread-body,
.page-skeleton__checkout-choice-grid,
.page-skeleton__checkout-summary-lines,
.page-skeleton__coupon-stack,
.page-skeleton__market-table,
.page-skeleton__order-items {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.page-skeleton__chat-list-item,
.page-skeleton__chat-status,
.page-skeleton__chat-input,
.page-skeleton__chat-bubble,
.page-skeleton__coupon-overview-card,
.page-skeleton__coupon-card,
.page-skeleton__order-total,
.page-skeleton__order-meta-card,
.page-skeleton__order-item,
.page-skeleton__action-pill,
.page-skeleton__address-card,
.page-skeleton__checkout-choice,
.page-skeleton__seller-stat-card,
.page-skeleton__market-table-search,
.page-skeleton__market-table-filter,
.page-skeleton__market-table-row {
  display: block;
  border-radius: 1.4rem;
}

.page-skeleton__chat-list-item {
  min-height: 5rem;
}

.page-skeleton__chat-status {
  inline-size: 11rem;
  block-size: 1rem;
}

.page-skeleton__chat-thread-body {
  min-height: 20rem;
  align-content: start;
}

.page-skeleton__chat-bubble {
  inline-size: min(100%, 18rem);
  min-height: 4.7rem;
}

.page-skeleton__chat-bubble--reply {
  margin-left: auto;
  inline-size: min(100%, 15rem);
}

.page-skeleton__chat-input {
  block-size: 3.5rem;
  margin-top: 1rem;
}

.page-skeleton__coupon-overview-grid,
.page-skeleton__coupon-featured-grid,
.page-skeleton__address-grid,
.page-skeleton__seller-stat-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.page-skeleton__coupon-overview-grid,
.page-skeleton__seller-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.page-skeleton__coupon-split-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  margin-top: 1.2rem;
}

.page-skeleton__coupon-overview-card {
  min-height: 8.6rem;
}

.page-skeleton__coupon-card {
  min-height: 12rem;
}

.page-skeleton__coupon-card--featured {
  min-height: 15rem;
}

.page-skeleton__coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.page-skeleton__order-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.page-skeleton__order-card {
  margin-top: 0;
}

.page-skeleton__order-head,
.page-skeleton__section-head,
.page-skeleton__market-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-skeleton__order-head-copy,
.page-skeleton__section-head-copy {
  display: grid;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.page-skeleton__order-head-copy .page-skeleton__section-title,
.page-skeleton__section-head-copy .page-skeleton__section-title {
  margin-top: 0;
}

.page-skeleton__order-total {
  inline-size: 7rem;
  block-size: 2.6rem;
  flex: 0 0 auto;
}

.page-skeleton__order-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.page-skeleton__order-meta-card {
  min-height: 6.5rem;
}

.page-skeleton__order-item {
  min-height: 5.2rem;
}

.page-skeleton__action-pill {
  inline-size: 9.5rem;
  block-size: 3rem;
  flex: 0 0 auto;
}

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

.page-skeleton__address-card {
  min-height: 15rem;
}

.page-skeleton__checkout-shell {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
}

.page-skeleton__checkout-choice-grid {
  min-height: 16rem;
}

.page-skeleton__checkout-choice {
  min-height: 5.4rem;
}

.page-skeleton__checkout-summary-card .page-skeleton__section-title {
  margin-top: 0.7rem;
}

.page-skeleton__seller-stat-card {
  min-height: 8.8rem;
}

.page-skeleton__seller-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.page-skeleton__market-table-search {
  inline-size: min(100%, 18rem);
  block-size: 3.25rem;
}

.page-skeleton__market-table-filter {
  inline-size: 8.5rem;
  block-size: 3.25rem;
}

.page-skeleton__market-table {
  margin-top: 1rem;
}

.page-skeleton__market-table-row {
  min-height: 4.1rem;
}

.page-skeleton__market-header .skeleton-shimmer,
.page-skeleton__help-header .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 25%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.12) 75%
  );
  background-size: 200% 100%;
}

.page-skeleton__surface .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(232, 243, 255, 0.82) 25%,
    rgba(194, 221, 248, 0.96) 50%,
    rgba(232, 243, 255, 0.82) 75%
  );
  background-size: 200% 100%;
}

@media (max-width: 1199.98px) {
  .page-skeleton__market-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .page-skeleton__market-brand-group {
    grid-column: 1 / -1;
  }

  .page-skeleton__market-search {
    grid-column: 1 / 2;
  }

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

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

@media (max-width: 991.98px) {
  .page-skeleton__market-main {
    grid-template-columns: 1fr;
  }

  .page-skeleton__market-actions {
    justify-content: flex-start;
  }

  .page-skeleton__market-subnav {
    flex-wrap: wrap;
    gap: 1.2rem 1.6rem;
  }

  .page-skeleton__product-shell,
  .page-skeleton__detail-grid,
  .page-skeleton__cart-shell,
  .page-skeleton__panel-grid,
  .page-skeleton__chat-shell,
  .page-skeleton__checkout-shell,
  .page-skeleton__coupon-split-grid {
    grid-template-columns: 1fr;
  }

  .page-skeleton__cart-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-skeleton__category-grid,
  .page-skeleton__product-grid,
  .page-skeleton__topic-grid,
  .page-skeleton__coupon-overview-grid,
  .page-skeleton__coupon-featured-grid,
  .page-skeleton__seller-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-skeleton__order-meta,
  .page-skeleton__address-grid,
  .page-skeleton__coupon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .page-skeleton__surface {
    padding-top: 1rem;
  }

  .page-skeleton__market-header {
    padding: 0.8rem 0 0.9rem;
  }

  .page-skeleton__market-subnav {
    display: none;
  }

  .page-skeleton__section-card {
    padding: 1.15rem;
  }

  .page-skeleton__category-grid,
  .page-skeleton__product-grid,
  .page-skeleton__topic-grid,
  .page-skeleton__field-row,
  .page-skeleton__coupon-overview-grid,
  .page-skeleton__coupon-featured-grid,
  .page-skeleton__coupon-grid,
  .page-skeleton__address-grid,
  .page-skeleton__seller-stat-grid {
    grid-template-columns: 1fr;
  }

  .page-skeleton__catalog-hero {
    block-size: 14rem;
  }

  .page-skeleton__product-media {
    block-size: 16rem;
  }

  .page-skeleton__action-row {
    flex-direction: column;
  }

  .page-skeleton__button--secondary {
    max-width: none;
  }

  .page-skeleton__order-head,
  .page-skeleton__section-head,
  .page-skeleton__market-table-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-skeleton__action-pill,
  .page-skeleton__market-table-search,
  .page-skeleton__market-table-filter {
    width: 100%;
    max-width: none;
  }
}

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

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

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

#catalog-feed {
  scroll-margin-top: 9rem;
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(24, 34, 47, 0.06);
}

.utility-bar__inner,
.utility-bar__links,
.utility-bar__meta,
.site-header__main,
.site-header__navrow,
.header-nav,
.header-highlights,
.market-hero__actions,
.section-block__header,
.results-header__meta,
.catalog-main__header,
.catalog-sortbar,
.catalog-sidebar__actions,
.product-card__price-row,
.summary-row,
.cart-line__header,
.cart-line__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.utility-bar__inner {
  justify-content: space-between;
  min-height: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.utility-bar__links,
.utility-bar__meta,
.header-highlights {
  flex-wrap: wrap;
}

.utility-bar__dot {
  inline-size: 4px;
  block-size: 4px;
  border-radius: 999px;
  background: rgba(24, 34, 47, 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  padding: 1rem 0 1.1rem;
  color: #fff;
  backdrop-filter: none;
  background: linear-gradient(
    180deg,
    var(--header-bg) 0%,
    var(--header-bg-dark) 100%
  );
  border-bottom: 0;
}

.site-header__main,
.site-header__navrow {
  justify-content: space-between;
}

.site-header__main {
  gap: 1.25rem;
}

.site-header__navrow {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(24, 34, 47, 0.08);
}

.site-nav__eyebrow,
.hero-section__eyebrow,
.results-header__eyebrow,
.summary-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header .site-nav__eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav__brand,
.hero-section__title,
.section-block__header h2,
.catalog-main__header h2,
.catalog-sidebar__title,
.promo-tile h2,
.deal-card h3,
.summary-card h3,
.product-card__title,
.cart-line h3,
.empty-state h3 {
  font-family: var(--font-heading);
}

.site-nav__brand-link {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.site-nav__brand {
  font-size: 1.2rem;
  font-weight: 700;
}

.site-header .site-nav__brand {
  color: #fff;
}

.header-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  max-width: 760px;
  padding: 0.8rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.header-search__input,
.form-control,
.form-select {
  inline-size: 100%;
  border-radius: 16px;
  border: 1px solid rgba(13, 116, 217, 0.12);
  padding: 0.8rem 0.95rem;
  background-color: rgba(255, 255, 255, 0.98);
}

.header-search__input:focus,
.form-control:focus,
.form-select:focus {
  border-color: rgba(107, 184, 240, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(107, 184, 240, 0.18);
  outline: 0;
}

.header-search__button {
  white-space: nowrap;
}

.search-autocomplete {
  position: absolute;
  top: calc(100% - 2px);
  left: -2px;
  right: -2px;
  padding: 0.95rem 1rem 1rem;
  border: 1px solid rgba(13, 116, 217, 0.12);
  border-top: 0;
  border-radius: 0 0 32px 32px;
  background: #ffffff;
  box-shadow: 0 24px 44px rgba(23, 50, 77, 0.14);
  z-index: 30;
}

.header-search.is-autocomplete-open {
  z-index: 31;
}

.header-search--market.is-autocomplete-open {
  border-color: rgba(13, 116, 217, 0.16);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
}

.search-autocomplete__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1rem;
}

.search-autocomplete__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.search-autocomplete__section {
  min-width: 0;
}

.search-autocomplete__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.1rem 0.35rem 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-autocomplete__clear {
  border: 0;
  padding: 0;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
}

.search-autocomplete__list {
  display: grid;
  gap: 0.2rem;
}

.search-autocomplete__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.82rem 0.72rem;
  border: 0;
  border-radius: 16px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.search-autocomplete__item:hover,
.search-autocomplete__item:focus-visible,
.search-autocomplete__item.is-active {
  background: rgba(13, 116, 217, 0.08);
  outline: 0;
}

.search-autocomplete__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(13, 116, 217, 0.08);
  font-size: 1rem;
  line-height: 1;
}

.search-autocomplete__item-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.search-autocomplete__item-label {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.search-autocomplete__item-meta {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.search-autocomplete__empty {
  padding: 0.8rem 0.72rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .search-autocomplete {
    padding: 0.85rem;
  }

  .search-autocomplete__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.header-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  font-weight: 700;
}

.header-cart-link strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #fff;
}

.header-nav .nav-link,
.nav-link {
  color: var(--muted);
  font-weight: 700;
}

.header-nav .nav-link.active,
.header-nav .nav-link:hover,
.nav-link.active,
.nav-link:hover {
  color: var(--ink);
}

.header-highlights {
  color: var(--muted);
  font-size: 0.95rem;
}

.header-highlights span::before {
  content: "•";
  margin-right: 0.55rem;
  color: var(--accent);
}

.header-highlights span:first-child::before {
  display: none;
}

.btn-brand,
.btn-brand-outline {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.8rem 1.2rem;
}

.btn-brand {
  border: 0;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  box-shadow: 0 14px 28px rgba(13, 116, 217, 0.18);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(135deg, #2185e5 0%, #074e9a 100%);
}

.btn-brand-outline {
  border: 1px solid rgba(63, 142, 214, 0.22);
  color: var(--teal);
  background: #fff;
}

.btn-brand-outline:hover,
.btn-brand-outline:focus {
  color: var(--teal);
  border-color: rgba(63, 142, 214, 0.38);
  background: rgba(255, 255, 255, 0.98);
}

.site-header .btn-brand-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.site-header .btn-brand-outline:hover,
.site-header .btn-brand-outline:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.18);
}

.storefront-home,
.catalog-section {
  padding-bottom: 4rem;
}

.market-hero,
.shortcut-section,
.deal-strip-section,
.catalog-feed-section,
.hero-section {
  padding: 1.5rem 0 0;
}

.hero-section--compact {
  padding-bottom: 0;
}

.hero-section__title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero-section__copy,
.promo-tile p,
.deal-card p,
.shortcut-tile__meta,
.product-card__description,
.product-card__meta,
.product-card__sku,
.cart-line__seller,
.cart-line__description,
.cart-panel__copy p,
.summary-card__note,
.empty-state p,
.site-footer {
  color: var(--muted);
}

.hero-section__copy {
  max-width: 64ch;
  margin: 1.1rem 0 0;
  font-size: 1.06rem;
}

.market-hero__grid,
.market-hero__stack,
.market-hero__metrics,
.shortcut-grid,
.deal-strip,
.catalog-shell,
.sidebar-filter-form,
.sidebar-category-list,
.sidebar-price-grid,
.product-card__body,
.product-card__details,
.cart-panel,
.cart-panel__items,
.cart-lines,
.cart-line,
.summary-card__rows,
.empty-state {
  display: grid;
  gap: 1rem;
}

.market-hero__grid {
  grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
  align-items: stretch;
}

.market-hero__banner,
.promo-tile,
.section-block,
.catalog-sidebar__panel,
.catalog-main__header,
.catalog-sortbar,
.hero-stat-card,
.summary-card,
.product-card,
.cart-line,
.cart-panel,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.market-hero__banner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
  gap: 1.2rem;
  padding: 1.6rem;
  min-height: 360px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(232, 243, 255, 0.94)
    ),
    radial-gradient(
      circle at top right,
      rgba(13, 116, 217, 0.08),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(107, 184, 240, 0.12),
      transparent 30%
    );
}

.market-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.market-hero__actions {
  flex-wrap: wrap;
}

.market-hero__metrics {
  align-content: start;
}

.market-metric,
.hero-stat-card {
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(232, 243, 255, 0.64);
}

.market-metric strong,
.hero-stat-card strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.65rem;
}

.hero-stat-card__label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-hero__stack {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.promo-tile {
  padding: 1.35rem;
}

.promo-tile h2,
.section-block__header h2,
.catalog-main__header h2,
.catalog-sidebar__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

.promo-tile h2 {
  font-size: 1.4rem;
}

.promo-tile p {
  margin: 0.75rem 0 0;
}

.section-block {
  padding: 1.5rem;
}

.section-block__header {
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

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

.shortcut-tile {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 1.1rem 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.shortcut-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(13, 116, 217, 0.1);
}

.shortcut-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
}

.shortcut-tile__title {
  font-weight: 700;
}

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

.deal-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
}

.deal-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.deal-card__body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.deal-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.deal-card p {
  margin: 0;
  font-size: 0.95rem;
}

.deal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.catalog-shell--with-sidebar {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.catalog-shell--without-sidebar {
  display: block;
}

.catalog-hidden-form {
  display: none;
}

.catalog-sidebar {
  position: relative;
}

.catalog-sidebar__panel {
  position: sticky;
  top: 7.2rem;
  display: grid;
  gap: 1.2rem;
  padding: 1.35rem;
  align-self: start;
  max-height: calc(100vh - 8.2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.catalog-sidebar__section {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(24, 34, 47, 0.08);
}

.catalog-sidebar__section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.catalog-sidebar__title {
  font-size: 1.55rem;
}

.catalog-sidebar__heading {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-category-list {
  gap: 0.55rem;
}

.sidebar-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  font-weight: 700;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.sidebar-category-link:hover,
.sidebar-category-link.is-active {
  color: var(--teal);
  background: rgba(13, 116, 217, 0.1);
  transform: translateX(2px);
}

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

.sidebar-filter-form {
  gap: 1.15rem;
}

.catalog-sidebar__actions {
  justify-content: space-between;
  flex-wrap: wrap;
}

.catalog-main {
  min-width: 0;
}

.catalog-main--full .catalog-main__header,
.catalog-main--full .catalog-sortbar {
  max-width: none;
}

.catalog-main__header {
  justify-content: space-between;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.catalog-sortbar {
  justify-content: space-between;
  padding: 1rem 1.3rem;
  margin-bottom: 1.2rem;
}

.catalog-sortbar__label {
  font-weight: 800;
}

.catalog-sortbar__controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.catalog-sortbar__select {
  min-width: 230px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label,
.toggle-field span {
  font-weight: 700;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.toggle-field input {
  inline-size: 1rem;
  block-size: 1rem;
}

.filter-form__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.catalog-results.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.product-card {
  overflow: hidden;
  height: 100%;
}

.product-card__media {
  position: relative;
}

.product-card__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card__badges {
  position: absolute;
  inset: 1rem auto auto 1rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.product-card__body {
  gap: 1rem;
  padding: 1.4rem;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.product-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.product-card__description,
.cart-line__description {
  margin: 0;
  font-size: 0.98rem;
}

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

.product-card__details div {
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.product-card__details dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card__details dd {
  margin: 0;
  font-weight: 700;
}

.product-card__price-row {
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
}

.product-card__compare {
  margin-left: 0.45rem;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card__sku {
  font-size: 0.8rem;
  font-weight: 700;
}

.product-card__form {
  display: grid;
  gap: 0.9rem;
}

.quantity-picker {
  display: inline-grid;
  grid-template-columns: 44px minmax(56px, 1fr) 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
}

.quantity-picker--wide {
  min-inline-size: 150px;
}

.quantity-picker__button,
.quantity-picker__input {
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
}

.quantity-picker__button {
  min-block-size: 46px;
  color: var(--teal);
}

.quantity-picker__input {
  padding: 0.65rem 0.4rem;
  appearance: textfield;
}

.quantity-picker__input::-webkit-outer-spin-button,
.quantity-picker__input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.pill-badge--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.pill-badge--soft {
  color: var(--teal);
  background: rgba(13, 116, 217, 0.1);
}

.pill-badge--dark {
  color: #fff;
  background: rgba(23, 50, 77, 0.78);
}

.pill-badge--info {
  color: #0d6cd9;
  background: rgba(13, 108, 217, 0.12);
}

.pill-badge--success {
  color: #1f8a58;
  background: rgba(31, 138, 88, 0.12);
}

.pill-badge--danger {
  color: #c23b3b;
  background: rgba(194, 59, 59, 0.12);
}

.catalog-section {
  padding-top: 1.5rem;
}

.hero-stat-card,
.summary-card {
  padding: 1.4rem;
}

.cart-panel {
  padding: 1.4rem;
}

.cart-panel__item,
.cart-line {
  display: grid;
  gap: 1rem;
}

.cart-panel__item {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
}

.cart-panel__item img,
.cart-line__image {
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cart-panel__copy h3,
.cart-line h3 {
  margin: 0;
  font-size: 1.08rem;
}

.cart-panel__copy p,
.cart-panel__copy span {
  margin: 0;
  font-size: 0.9rem;
}

.cart-panel__note {
  margin: -0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.cart-line {
  grid-template-columns: 140px minmax(0, 1fr);
  padding: 1.4rem;
}

.cart-line__header {
  align-items: start;
  justify-content: space-between;
}

.cart-line__content {
  display: grid;
  gap: 0.7rem;
}

.cart-line__seller,
.cart-line__description {
  margin: 0;
}

.cart-line__controls {
  flex-wrap: wrap;
  justify-content: space-between;
}

.btn-remove {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.summary-card__rows {
  gap: 0.85rem;
  margin: 1.2rem 0 1.4rem;
}

.summary-row {
  justify-content: space-between;
  font-size: 1rem;
}

.summary-row--grand {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.empty-state {
  place-items: center;
  gap: 0.8rem;
  padding: 2.2rem;
  text-align: center;
}

.empty-state--compact {
  min-height: 240px;
}

.empty-state h3 {
  margin: 0;
}

.status-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1080;
  max-width: 340px;
  padding: 0.95rem 1.2rem;
  border-radius: 18px;
  color: #fff;
  background: rgba(23, 50, 77, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

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

.status-toast[data-tone="error"] {
  background: rgba(188, 84, 84, 0.96);
}

.cart-drawer {
  max-width: 420px;
  background: rgba(255, 255, 255, 0.99);
}

.site-footer {
  padding: 0 0 2.5rem;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 1199.98px) {
  .market-hero__grid,
  .market-hero__banner {
    grid-template-columns: 1fr;
  }

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

  .catalog-shell--with-sidebar {
    grid-template-columns: 270px minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .site-header {
    position: static;
  }

  .utility-bar__inner,
  .site-header__main,
  .site-header__navrow,
  .catalog-main__header,
  .catalog-sortbar,
  .catalog-sidebar__actions,
  .section-block__header,
  .cart-line__header,
  .cart-line__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .header-search {
    max-width: none;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .catalog-shell--with-sidebar {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar__panel {
    position: static;
  }
}

@media (max-width: 767.98px) {
  #catalog-feed {
    scroll-margin-top: 1.5rem;
  }

  .market-hero,
  .shortcut-section,
  .deal-strip-section,
  .catalog-feed-section,
  .hero-section,
  .catalog-section {
    padding-top: 1rem;
  }

  .utility-bar__inner,
  .utility-bar__links,
  .utility-bar__meta,
  .site-header__actions,
  .header-nav,
  .header-highlights,
  .market-hero__actions,
  .results-header__meta,
  .filter-form__actions,
  .catalog-sortbar__controls,
  .product-card__meta,
  .product-card__price-row {
    flex-direction: column;
    align-items: stretch;
  }

  .header-search {
    grid-template-columns: 1fr;
  }

  .shortcut-grid,
  .deal-strip,
  .product-card__details,
  .cart-line {
    grid-template-columns: 1fr;
  }

  .section-block,
  .catalog-sidebar__panel,
  .catalog-main__header,
  .catalog-sortbar,
  .market-hero__banner,
  .promo-tile,
  .summary-card,
  .cart-line {
    border-radius: 22px;
  }

  .catalog-sortbar__select {
    min-width: 0;
  }

  .cart-line__image {
    max-width: 180px;
  }
}

/* ── Auth & Profile Pages ─────────────────────────────────── */

.auth-section {
  padding: 2.5rem 0;
}

.auth-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.auth-wrapper--wide {
  max-width: 860px;
}

.auth-card,
.profile-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.profile-card--editor {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.auth-card__title {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  margin: 0.5rem 0 1.2rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-card__error {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(138, 61, 32, 0.1);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-card__success {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(36, 92, 97, 0.1);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-card__notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 116, 217, 0.08);
  color: var(--accent-dark);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.auth-card__footer {
  margin: 1.2rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.coupon-form {
  gap: 1.15rem;
}

.coupon-form .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.coupon-form .form-control,
.coupon-form .form-select {
  min-width: 0;
}

.coupon-form textarea.form-control {
  min-height: 7rem;
  resize: vertical;
}

.coupon-form__helper {
  margin: -0.1rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.coupon-form .toggle-field {
  width: 100%;
  min-height: 100%;
  align-items: flex-start;
}

.header-action-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-card__footer a {
  color: var(--teal);
  font-weight: 700;
}

/* ── Header Auth Row ──────────────────────────────────────── */

.header-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Admin Table ──────────────────────────────────────────── */

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table th {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}

.admin-table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(24, 34, 47, 0.06);
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ── Address Cards ────────────────────────────────────────── */

.address-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: grid;
  gap: 0.5rem;
}

.address-card__header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.address-card__name {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  margin: 0;
}

.address-card__line {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.address-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-sm {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.82rem !important;
}

/* ── Customer Coupons ─────────────────────────────────────── */

.customer-coupons-page {
  padding-top: 0.6rem;
}

.coupon-hero__copy {
  max-width: none;
}

.coupon-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .coupon-hero__copy {
    white-space: nowrap;
  }
}

.coupon-overview-card,
.coupon-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.coupon-overview-card {
  padding: 1.35rem 1.45rem;
}

.coupon-overview-card strong {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.coupon-overview-card p,
.coupon-card p,
.coupon-card__meta,
.coupon-card__validity,
.coupon-card__expiry {
  color: var(--muted);
}

.coupon-overview-card p {
  margin: 0.6rem 0 0;
}

.coupon-featured-block {
  margin-bottom: 1rem;
}

.coupon-stack {
  display: grid;
  gap: 1rem;
}

.coupon-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  height: 100%;
  padding: 1.35rem;
  overflow: hidden;
}

.coupon-card::before {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}

.coupon-card--limited::before,
.coupon-card--featured.coupon-card--limited::before {
  background: rgba(13, 116, 217, 0.28);
}

.coupon-card--shipping::before {
  background: rgba(26, 161, 133, 0.26);
}

.coupon-card--shop::before {
  background: rgba(255, 154, 61, 0.24);
}

.coupon-card--brand::before {
  background: rgba(113, 102, 255, 0.22);
}

.coupon-card--featured {
  padding: 1.5rem;
}

.coupon-card__top,
.coupon-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.coupon-card__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-dark);
}

.coupon-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.coupon-card p {
  margin: 0;
  font-size: 0.98rem;
}

.coupon-card__meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.coupon-card code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(232, 243, 255, 0.9);
}

.coupon-card__validity,
.coupon-card__expiry {
  font-size: 0.86rem;
  font-weight: 700;
}

/* ── Address Modal ────────────────────────────────────────── */

.address-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 34, 47, 0.45);
  backdrop-filter: blur(4px);
}

.address-modal {
  background: var(--surface-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
}

.address-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.address-modal__header h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  margin: 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── NovaMarket Storefront Restore ───────────────────────── */

.site-header--market {
  color: #ffffff;
  padding: 0.8rem 0 0.65rem;
  background: linear-gradient(
    180deg,
    var(--header-bg) 0%,
    var(--header-bg-dark) 100%
  );
  border-bottom: 0;
  box-shadow: none;
}

.site-header__main--market {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
}

.site-header__start {
  display: flex;
  align-items: center;
  min-width: 240px;
  gap: 1rem;
  padding-right: 1rem;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  inline-size: 2.9rem;
  block-size: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mobile-menu-toggle span {
  display: block;
  inline-size: 1.1rem;
  block-size: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav__brand-link--market {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: auto;
  line-height: 1.1;
}

.site-nav__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.site-nav__brand-mark {
  inline-size: 3.15rem;
  block-size: 3.15rem;
  flex: 0 0 auto;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav__brand--market {
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 1.58rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.header-search--market {
  width: min(100%, 44rem);
  max-width: 44rem;
  justify-self: center;
  transform: translateX(-1.5rem);
  padding: 0.3rem;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: none;
}

.header-search--market .header-search__input {
  border: 0;
  background: transparent;
  font-size: 1.02rem;
  padding: 0.88rem 1.25rem;
  box-shadow: none;
}

.header-search--market .header-search__input:focus {
  box-shadow: none;
}

.header-search__button--market {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.45rem;
  block-size: 3.45rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
}

.site-header__actions--market {
  gap: 1rem;
  flex-wrap: nowrap;
}

.header-icon-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-icon-action--button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-icon-action__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  flex-shrink: 0;
}

.header-icon-action__icon-wrap svg {
  inline-size: 1.4rem;
  block-size: 1.4rem;
  display: block;
}

.header-icon-action__badge {
  position: absolute;
  top: -0.55rem;
  right: -0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  min-height: 1.2rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #ffffff;
  border: 2px solid var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.header-icon-action__label {
  display: inline-flex;
  align-items: center;
}

.header-notification {
  position: relative;
  display: inline-flex;
}

.header-notification__panel {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 0.9rem;
  width: min(26rem, calc(100vw - 2rem));
  max-height: min(32rem, calc(100vh - 8rem));
  padding: 1rem;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.18);
}

.header-notification__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.header-notification__head strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.header-notification__head span {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.header-notification__head a {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-notification__list {
  display: grid;
  gap: 0.8rem;
}

.header-notification__empty {
  margin: 0;
  padding: 1rem 0.85rem;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  background: rgba(248, 250, 255, 0.92);
}

.header-notification__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.header-notification__item:hover,
.header-notification__item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 16px 28px rgba(59, 130, 246, 0.08);
}

.header-notification__media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  overflow: hidden;
  border-radius: 0.95rem;
  background: rgba(232, 243, 255, 0.94);
}

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

.header-notification__media-mark {
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 800;
}

.header-notification__body {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.header-notification__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.header-notification__title {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-notification__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  min-height: 1.3rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.header-notification__subtitle,
.header-notification__preview,
.header-notification__time {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.header-notification__preview {
  color: #425775;
}

.header-notification__time {
  font-size: 0.78rem;
}

.header-action-link {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
  white-space: nowrap;
}

.header-cart-link--market {
  gap: 0.5rem;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-cart-link--market strong {
  min-width: 1.45rem;
  min-height: 1.45rem;
  color: var(--accent-dark);
  background: #ffffff;
  font-size: 0.8rem;
}

.market-subnav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 0.95rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.98rem;
  font-weight: 700;
}

.market-subnav a {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
}

.market-utility-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.2rem;
  padding-top: 0.85rem;
  margin-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-utility-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.market-utility-nav a:hover,
.market-utility-nav a:focus,
.market-utility-nav a[aria-current="page"] {
  color: #ffffff;
}

.site-status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-top: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-status-banner strong {
  font-weight: 800;
}

.site-status-banner--warning {
  color: #5b4300;
  background: linear-gradient(
    180deg,
    rgba(255, 244, 212, 0.96),
    rgba(255, 249, 231, 0.98)
  );
  border: 1px solid rgba(211, 155, 31, 0.22);
  box-shadow: 0 12px 30px rgba(211, 155, 31, 0.12);
}

.storefront-home--market,
.cart-page--market {
  padding-top: 1.05rem;
  padding-bottom: 4rem;
}

.home-carousel {
  padding-top: 0.25rem;
}

.help-page--market {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 22rem);
}

.site-header--help-simple {
  padding: 0.95rem 0;
}

.site-header__main--help {
  display: flex;
  align-items: center;
  min-height: 3rem;
}

.help-page-shell {
  padding-top: 1.05rem;
  padding-bottom: 4rem;
}

.help-center-page {
  display: grid;
  gap: 1.5rem;
}

.help-center__hero {
  padding: 2rem 1.65rem 1.65rem;
  color: #ffffff;
  border-color: rgba(13, 116, 217, 0.26);
  background:
    linear-gradient(135deg, rgba(13, 116, 217, 0.96), rgba(9, 88, 175, 0.98)),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(107, 184, 240, 0.22),
      transparent 30%
    );
  box-shadow: 0 24px 48px rgba(13, 116, 217, 0.18);
}

.help-center__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.help-center__hero-copy {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.help-center__hero .help-center__eyebrow {
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.76);
}

.help-center__hero-copy h1 {
  margin: 0;
  max-width: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.help-center__hero-copy p {
  max-width: 52ch;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.help-center__hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.help-center__hero .btn-brand {
  color: var(--accent-dark);
  background: #ffffff;
  box-shadow: none;
}

.help-center__hero .btn-brand:hover,
.help-center__hero .btn-brand:focus {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
}

.help-center__hero .btn-brand-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.help-center__hero .btn-brand-outline:hover,
.help-center__hero .btn-brand-outline:focus {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

.help-center__hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.help-center__hero-metrics {
  display: grid;
  gap: 1rem;
}

.help-center__hero .hero-stat-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.help-center__hero .hero-stat-card strong {
  color: #ffffff;
}

.help-center__hero .hero-stat-card__label {
  color: rgba(255, 255, 255, 0.72);
}

.help-center__stat-copy {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.help-center-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  max-width: min(100%, 72rem);
  margin: 1.45rem auto 0;
  padding: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
}

.help-center-search input {
  min-width: 0;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  font-size: 1.06rem;
  background: transparent;
}

.help-center-search input:focus {
  outline: none;
}

.help-center-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.15rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
}

.help-center__filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.help-center__filter-row--hero {
  margin-top: 1rem;
}

.help-center__filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(232, 243, 255, 0.9);
  font-weight: 700;
}

.help-center__filter-row--hero .help-center__filter-chip {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.help-center__clear-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2rem;
}

.help-center__filter-row--hero .help-center__clear-link {
  color: #ffffff;
}

.help-center__clear-link:hover {
  text-decoration-color: currentColor;
}

.help-center__section {
  margin-top: 1.5rem;
}

.help-center__section-head {
  margin-bottom: 1.3rem;
}

.help-center__section-head--with-action {
  align-items: flex-end;
}

.help-center__section-link {
  white-space: nowrap;
}

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

.help-category-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  min-height: 8.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(13, 116, 217, 0.1);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 251, 255, 0.98)
  );
  box-shadow: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.help-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 116, 217, 0.24);
  box-shadow: 0 16px 30px rgba(13, 116, 217, 0.08);
}

.help-category-card.is-active {
  border-color: rgba(13, 116, 217, 0.34);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1),
    rgba(232, 243, 255, 0.92)
  );
  box-shadow: 0 0 0 3px rgba(13, 116, 217, 0.08);
}

.help-category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(13, 116, 217, 0.08);
}

.help-category-card__icon svg {
  inline-size: 1.55rem;
  block-size: 1.55rem;
}

.help-category-card__body {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.help-category-card__body strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.help-category-card__body span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.help-category-card--shop .help-category-card__icon,
.help-category-card--wallet .help-category-card__icon,
.help-category-card--shield .help-category-card__icon {
  color: var(--accent-dark);
  background: rgba(232, 243, 255, 0.92);
}

.help-category-card--truck .help-category-card__icon {
  color: #1d8f7a;
  background: rgba(225, 247, 242, 0.96);
}

.help-category-card--tag .help-category-card__icon,
.help-category-card--refresh .help-category-card__icon {
  color: #de5d24;
  background: rgba(255, 238, 227, 0.96);
}

.help-category-card--document .help-category-card__icon,
.help-category-card--notice .help-category-card__icon {
  color: #6b57d9;
  background: rgba(238, 235, 255, 0.96);
}

.help-question-list {
  display: grid;
  gap: 0.9rem;
}

.help-question-card {
  overflow: hidden;
  border: 1px solid rgba(13, 116, 217, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.help-question-card[open] {
  border-color: rgba(13, 116, 217, 0.22);
  box-shadow: 0 14px 26px rgba(13, 116, 217, 0.08);
}

.help-question-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.help-question-card summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 1.25rem;
  line-height: 1;
  background: rgba(232, 243, 255, 0.96);
}

.help-question-card[open] summary::after {
  content: "-";
}

.help-question-card__summary-copy {
  display: grid;
  gap: 0.35rem;
}

.help-question-card__tag {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.help-question-card__answer {
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
}

.help-question-card__answer p {
  margin: 0;
  padding-top: 1rem;
  line-height: 1.7;
  border-top: 1px solid rgba(13, 116, 217, 0.08);
}

.help-center__empty {
  padding: 2rem;
  border: 1px solid rgba(13, 116, 217, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: none;
}

.help-center__empty h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.help-center__empty p {
  margin: 0.6rem 0 1.2rem;
  color: var(--muted);
}

.home-carousel__shell {
  overflow: hidden;
  inline-size: 100%;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.home-carousel .carousel-item {
  position: relative;
  min-height: clamp(420px, 36vw, 560px);
}

.home-carousel .carousel-item img {
  height: 100%;
  min-height: inherit;
  aspect-ratio: auto;
  object-fit: cover;
}

.home-carousel__caption {
  position: absolute;
  inset: 0 auto 4.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  max-width: min(38rem, 52%);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: clamp(0.9rem, 1.8vw, 1.35rem);
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.84) 100%
  );
  box-shadow: 0 18px 36px rgba(10, 52, 97, 0.1);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.home-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-carousel__caption h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.7vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.home-carousel__caption p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.home-carousel__caption .btn-brand {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.home-carousel__indicators {
  right: auto;
  bottom: 1.35rem;
  left: clamp(1.5rem, 4vw, 3rem);
  justify-content: flex-start;
  margin: 0;
}

.home-carousel__indicators [data-bs-target] {
  inline-size: 0.72rem;
  block-size: 0.72rem;
  margin-inline: 0.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 116, 217, 0.22);
  opacity: 1;
}

.home-carousel__indicators .active {
  background: var(--accent);
}

.home-carousel__control {
  top: auto;
  bottom: 1.35rem;
  width: auto;
  opacity: 1;
}

.home-carousel__control.carousel-control-prev {
  left: auto;
  right: 5.5rem;
}

.home-carousel__control.carousel-control-next {
  right: 1.5rem;
}

.home-carousel__control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3rem;
  block-size: 3rem;
  border: 1px solid rgba(13, 116, 217, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  font-size: 2rem;
  line-height: 1;
}

.discover-section,
.catalog-feed-section--market,
.cart-page__intro {
  padding-top: 0.75rem;
}

.discover-section {
  padding-top: 1.6rem;
}

.catalog-feed-section--market {
  padding-top: 2.5rem;
}

.section-heading--market {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading--market h1,
.section-heading--market h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading--market h1 {
  max-width: none;
  white-space: nowrap;
}

.section-heading--catalog h2,
.section-heading--cart h1 {
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
}

.section-heading__copy {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.category-showcase {
  padding: 1.5rem;
  border: 1px solid rgba(13, 116, 217, 0.1);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 251, 255, 0.96)
  );
}

.category-showcase__header {
  margin-bottom: 1.35rem;
}

.category-showcase__eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-showcase__header h2 {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.category-showcase__header p {
  max-width: 58ch;
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

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

.category-tile {
  display: grid;
  justify-items: start;
  gap: 0.72rem;
  min-height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(13, 116, 217, 0.08);
  border-radius: 18px;
  background: #ffffff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 116, 217, 0.2);
  box-shadow: 0 14px 24px rgba(13, 116, 217, 0.08);
}

.category-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(232, 243, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(13, 116, 217, 0.08);
}

.category-tile__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.category-tile__icon--home-living,
.category-tile__icon--wellness {
  color: #1d8f7a;
  background: rgba(225, 247, 242, 0.96);
}

.category-tile__icon--kitchen {
  color: #de5d24;
  background: rgba(255, 238, 227, 0.96);
}

.category-tile__icon--lifestyle {
  color: #7a56d8;
  background: rgba(238, 235, 255, 0.96);
}

.category-tile__title {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.category-tile__meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.category-tile__count {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(13, 116, 217, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-dark);
  font-weight: 700;
  box-shadow: none;
}

.mobile-filter-toggle__icon {
  display: inline-block;
  inline-size: 0.95rem;
  block-size: 0.8rem;
  background:
    linear-gradient(var(--accent-dark), var(--accent-dark)) 0 0 / 100% 2px
      no-repeat,
    linear-gradient(var(--accent-dark), var(--accent-dark)) 0 50% / 72% 2px
      no-repeat,
    linear-gradient(var(--accent-dark), var(--accent-dark)) 0 100% / 46% 2px
      no-repeat;
}

.deal-strip--market {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.deal-card--market {
  display: block;
  overflow: hidden;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
  text-decoration: none;
}

.deal-card--market img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eef5fc;
}

.deal-card--market .deal-card__body {
  gap: 0.25rem;
  padding: 1rem 1rem 1.1rem;
}

.deal-card--market h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

.deal-card--market p {
  color: var(--muted);
  font-size: 0.95rem;
}

.catalog-feed-section--market .catalog-main {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.catalog-feed-section--market #catalog-shell.catalog-shell--without-sidebar {
  display: block;
}

.catalog-feed-section--market #catalog-shell.catalog-shell--with-sidebar {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.catalog-results {
  margin-top: 0.5rem;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  justify-content: stretch;
}

.catalog-product-grid__item {
  min-width: 0;
  max-width: none;
}

.catalog-sidebar__panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.catalog-sidebar__section {
  border-bottom: 1px solid rgba(13, 116, 217, 0.1);
}

.sidebar-category-link,
.toggle-field {
  border: 1px solid rgba(13, 116, 217, 0.12);
  background: #ffffff;
}

.sidebar-category-link:hover,
.sidebar-category-link.is-active {
  color: var(--ink);
  background: var(--accent-soft);
  transform: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.product-card__media-link,
.product-card__title-link {
  color: inherit;
  text-decoration: none;
}

.product-card__media-link:hover img,
.product-card__title-link:hover {
  opacity: 0.96;
}

.product-card__media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card__badges {
  inset: 0.75rem auto auto 0.75rem;
}

.product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 1rem 1.05rem;
}

.product-card__seller {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-card__title {
  margin: 0;
  min-height: calc(1.35em * 2);
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card__form {
  margin-top: auto;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-card__rating-stars {
  color: #f7b500;
  font-weight: 700;
}

.product-card__description {
  display: none;
}

.product-card__price-row {
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.product-card__price {
  color: #f47a20;
  font-size: 1.2rem;
}

.product-card__meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #eef5fc;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.product-card__purchase-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-card__submit {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  box-shadow: none;
  white-space: nowrap;
}

.quantity-picker {
  flex: 0 0 132px;
  min-width: 132px;
  grid-template-columns: 38px minmax(44px, 1fr) 38px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: none;
}

.quantity-picker__button {
  min-block-size: 40px;
  color: var(--ink);
}

.pill-badge--accent {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 116, 217, 0.16);
}

.pill-badge--soft {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.product-page--market {
  padding-top: 1.4rem;
}

.product-page__content {
  padding-bottom: 0.5rem;
}

.product-page__shell {
  max-width: 1100px;
  margin: 0 auto;
}

[data-product-detail-host].is-loading {
  opacity: 0.75;
}

.product-detail {
  display: grid;
  gap: 1.35rem;
}

.product-detail__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-detail__breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
}

.product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.88fr);
  gap: 1.05rem;
  align-items: start;
}

.product-detail__media-card,
.product-detail__summary-card,
.product-detail__description-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.product-detail__media-card {
  padding: 0.95rem;
}

.product-detail__media-shell {
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}

.product-detail__media-frame[hidden] {
  display: none !important;
}

.product-detail__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail__video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0f1722;
}

.product-detail__thumb-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.product-detail__thumb {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 1 / 1;
}

.product-detail__thumb.is-active {
  border-color: rgba(13, 116, 217, 0.42);
  box-shadow: 0 0 0 2px rgba(13, 116, 217, 0.12);
}

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

.product-detail__thumb-badge {
  position: absolute;
  inset: auto 0.45rem 0.45rem auto;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  background: rgba(15, 23, 34, 0.82);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-detail__summary-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.product-detail__eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-detail__title {
  margin: 0;
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  line-height: 1.15;
}

.product-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
}

.product-detail__seller,
.product-detail__rating {
  color: var(--ink);
  font-weight: 700;
}

.product-detail__rating {
  color: #f7b500;
}

.product-detail__meta-dot {
  inline-size: 0.28rem;
  block-size: 0.28rem;
  border-radius: 999px;
  background: rgba(24, 34, 47, 0.28);
}

.product-detail__price-panel {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
}

.product-detail__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-detail__price {
  color: #f47a20;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1;
}

.product-detail__compare {
  color: var(--muted);
  font-size: 1.1rem;
  text-decoration: line-through;
}

.product-detail__short-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.product-detail__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
}

.product-detail__facts div {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(13, 116, 217, 0.12);
  border-radius: 18px;
  background: #ffffff;
}

.product-detail__facts dt {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-detail__facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.product-detail__form {
  margin-top: 0.2rem;
}

.product-detail__purchase-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-detail__quantity-group {
  display: grid;
  gap: 0.55rem;
}

.product-detail__quantity-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quantity-picker--detail {
  min-width: 168px;
  grid-template-columns: 42px minmax(52px, 1fr) 42px;
  border-radius: 18px;
}

.product-detail__submit {
  min-width: 190px;
  padding: 0.9rem 1.25rem;
}

.product-detail__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.product-detail__secondary-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.product-detail__description-card {
  padding: 1.2rem 1.3rem;
}

.product-detail__section-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.product-detail__section-heading h2 {
  margin: 0;
  font-size: 1.5rem;
}

.product-detail__description-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cart-line__image-link,
.cart-line__title-link,
.cart-panel__image-link,
.cart-panel__title-link {
  color: inherit;
  text-decoration: none;
}

.cart-page__summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.cart-page__summary span:last-child,
.cart-page__summary strong {
  color: var(--ink);
}

.cart-line,
.summary-card,
.cart-panel,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.cart-page__content {
  padding-top: 0.3rem;
}

.cart-drawer {
  background: #ffffff;
}

.mobile-drawer {
  --bs-offcanvas-width: min(22rem, 88vw);
  color: var(--ink);
  background: #ffffff;
}

.mobile-drawer .offcanvas-header {
  padding: 1.25rem 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer .offcanvas-body {
  padding: 1rem 1.15rem 1.25rem;
}

.mobile-drawer__nav,
.mobile-drawer__links {
  display: grid;
  gap: 0.75rem;
}

.mobile-drawer__nav + .mobile-drawer__links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mobile-drawer__nav a,
.mobile-drawer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 116, 217, 0.12);
  border-radius: 16px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
}

.mobile-filter-drawer .catalog-sidebar__panel {
  position: static;
  top: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer {
  padding-top: 2.25rem;
  color: var(--muted);
  background: transparent;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.2rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer__links a {
  color: var(--muted);
}

.site-footer__links a:hover,
.site-footer__links a:focus,
.site-footer__links a[aria-current="page"] {
  color: var(--accent-dark);
}

.site-footer__disclaimer,
.auth-page__disclaimer {
  max-width: 62rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer__copyright {
  text-align: center;
}

.mobile-drawer__links--secondary {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mobile-drawer__section-label {
  display: block;
  padding: 0 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page {
  padding-bottom: 4rem;
}

.legal-page__title {
  max-width: none;
}

.legal-page__intro {
  max-width: 70ch;
}

.legal-page__section {
  padding-top: 1rem;
}

.legal-page__layout,
.legal-contact-grid,
.legal-sidebar,
.legal-summary-list,
.legal-link-list {
  display: grid;
  gap: 1rem;
}

.legal-page__layout {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.95fr);
  align-items: start;
}

.legal-page__layout--contact {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
}

.legal-card,
.legal-contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.legal-card--content {
  padding: 1.75rem;
}

.legal-card--summary {
  position: sticky;
  top: 1.25rem;
  padding: 1.35rem;
}

.legal-card__header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(13, 116, 217, 0.12);
}

.legal-card__meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-section + .legal-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(13, 116, 217, 0.08);
}

.legal-section h2,
.legal-contact-card h2 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-section p,
.legal-list li,
.legal-summary-list li,
.legal-contact-card p {
  color: var(--muted);
  line-height: 1.72;
}

.legal-section p + p {
  margin-top: 0.85rem;
}

.legal-list,
.legal-summary-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.legal-link-list {
  margin-top: 0.15rem;
}

.legal-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 116, 217, 0.12);
  border-radius: 16px;
  color: var(--ink);
  font-weight: 700;
  background: #ffffff;
}

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

.legal-contact-card {
  align-content: start;
  padding: 1.3rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 251, 255, 0.98)
    ),
    radial-gradient(
      circle at top right,
      rgba(13, 116, 217, 0.05),
      transparent 34%
    );
}

.legal-contact-card .btn {
  justify-self: flex-start;
}

@media (max-width: 1199.98px) {
  .page-skeleton__header-inner {
    grid-template-columns: 1fr;
  }

  .page-skeleton__header-actions {
    justify-content: flex-end;
  }

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

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

@media (min-width: 992px) {
  .product-page__shell {
    max-width: 1080px;
  }
}

@media (max-width: 1199.98px) {
  .site-header__main--market {
    grid-template-columns: 1fr;
  }

  .header-search--market {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    transform: none;
  }

  .site-header__start,
  .site-header__actions--market {
    justify-content: space-between;
  }

  .site-header__start {
    min-width: 0;
    padding-right: 0;
  }

  .catalog-feed-section--market #catalog-shell.catalog-shell--with-sidebar {
    grid-template-columns: 1fr;
  }

  .home-carousel .carousel-item {
    min-height: 500px;
  }

  .home-carousel__caption {
    max-width: min(36rem, 56%);
  }

  .home-carousel__caption h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  }

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

  .product-page__shell {
    max-width: 1040px;
  }
}

@media (max-width: 991.98px) {
  .product-detail__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-page__layout,
  .legal-page__layout--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-card--summary {
    position: static;
  }

  .product-detail__media-card {
    max-width: 42rem;
  }

  .product-detail__thumb-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-carousel .carousel-item {
    min-height: 560px;
  }

  .section-heading--market h1 {
    white-space: normal;
  }

  .home-carousel__caption {
    inset: 0 auto 2.75rem 0;
    max-width: min(31rem, 64%);
    padding: 2rem 1.75rem;
    margin: 1rem;
  }

  .home-carousel__caption h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  }

  .home-carousel__caption p {
    font-size: 0.98rem;
  }

  .help-center__hero-copy h1 {
    max-width: none;
  }

  .help-center__section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 767.98px) {
  .page-skeleton__header {
    padding-top: 0.7rem;
  }

  .page-skeleton__header-actions {
    display: none;
  }

  .page-skeleton__search {
    block-size: 3.5rem;
  }

  .page-skeleton__hero {
    padding: 1.2rem;
  }

  .page-skeleton__main {
    padding-top: 1rem;
  }

  .site-header--market {
    padding-top: 0.65rem;
  }

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

  .site-header__main--market {
    gap: 1rem;
  }

  .site-header__start {
    grid-column: 1 / -1;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    padding-right: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .site-nav__brand--market {
    font-size: 1.5rem;
  }

  .site-nav__brand-mark {
    inline-size: 2.8rem;
    block-size: 2.8rem;
  }

  .site-header__actions--market {
    display: none;
  }

  .header-action-link,
  .header-icon-action,
  .header-cart-link--market {
    font-size: 0.98rem;
  }

  .market-subnav {
    display: none;
  }

  .market-utility-nav {
    display: none;
  }

  .site-status-banner {
    margin-top: 0.85rem;
    font-size: 0.88rem;
  }

  .header-search--market {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    align-self: flex-start;
  }

  .section-heading--market h1 {
    white-space: normal;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .section-heading--catalog h2,
  .section-heading--cart h1 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .deal-strip--market {
    grid-auto-columns: minmax(220px, 1fr);
  }

  .product-page--market {
    padding-top: 1.4rem;
  }

  .catalog-feed-section--market #catalog-shell.catalog-shell--with-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-catalog-sidebar-host] {
    display: none;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    justify-content: stretch;
  }

  .catalog-product-grid__item {
    max-width: none;
  }

  .discover-section {
    padding-top: 1.25rem;
  }

  .catalog-feed-section--market {
    padding-top: 1.5rem;
  }

  .help-page-shell {
    padding-top: 0.9rem;
  }

  .help-center__hero {
    padding: 1.25rem;
  }

  .help-center__hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .help-center-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .help-center__section {
    margin-top: 1.25rem;
  }

  .help-question-card summary {
    font-size: 1rem;
  }

  .site-footer__links {
    gap: 0.7rem 1rem;
  }

  .legal-card--content,
  .legal-card--summary {
    padding: 1.25rem;
  }

  .legal-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-coupon-form__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-coupon-card {
    flex-direction: column;
  }

  .category-showcase {
    padding: 1.2rem;
  }

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

  .home-carousel .carousel-item img {
    min-height: inherit;
  }

  .home-carousel__caption {
    position: absolute;
    inset: auto 1rem 1.25rem 1rem;
    justify-content: flex-start;
    max-width: none;
    margin: 0;
    padding: 1.1rem;
    border-radius: 20px;
  }

  .home-carousel__caption h2 {
    font-size: 1.55rem;
  }

  .home-carousel__caption p {
    font-size: 0.95rem;
  }

  .home-carousel__indicators {
    left: 1rem;
    bottom: 1rem;
  }

  .product-detail__summary-card,
  .product-detail__description-card,
  .product-detail__media-card {
    padding: 1rem;
  }

  .product-detail__thumb-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
  }

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

  .product-detail__title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .product-detail__price {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .product-detail__purchase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .quantity-picker--detail,
  .product-detail__submit {
    width: 100%;
    min-width: 0;
  }

  .quantity-picker {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    grid-template-columns: 34px minmax(40px, 1fr) 34px;
    border-radius: 14px;
    background: #f8fbff;
  }

  .product-card__purchase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }

  .quantity-picker__button {
    min-block-size: 34px;
  }

  .product-card__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: none;
    border-radius: 14px;
    padding: 0.78rem 0.8rem;
    font-size: 0.9rem;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    box-shadow: 0 10px 20px rgba(13, 116, 217, 0.16);
  }

  .product-card__body {
    gap: 0.45rem;
    padding: 0.8rem;
  }

  .product-card__seller,
  .product-card__rating {
    font-size: 0.8rem;
  }

  .product-card__title {
    font-size: 0.95rem;
  }

  .product-card__price {
    font-size: 1.02rem;
  }

  .product-card__compare {
    font-size: 0.82rem;
  }

  .product-card__meta-chip {
    font-size: 0.68rem;
  }

  .quantity-picker__input {
    font-size: 0.94rem;
  }
}

@media (max-width: 575.98px) {
  .page-skeleton__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-skeleton__card--wide {
    grid-column: auto;
  }

  .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-header__main--market {
    gap: 0.85rem;
  }

  .site-header__start {
    gap: 0.8rem;
  }

  .site-nav__brand--market {
    font-size: 1.35rem;
  }

  .mobile-menu-toggle {
    inline-size: 2.65rem;
    block-size: 2.65rem;
  }

  .header-search--market {
    padding: 0.24rem;
  }

  .header-search--market .header-search__input {
    font-size: 1rem;
    padding: 0.82rem 1rem;
  }

  .header-search__button--market {
    inline-size: 3rem;
    block-size: 3rem;
    font-size: 1.45rem;
  }

  .help-center__hero-copy p {
    font-size: 1rem;
  }

  .site-footer__links {
    flex-direction: column;
    align-items: center;
  }

  .site-status-banner {
    padding: 0.85rem 0.9rem;
    font-size: 0.86rem;
  }

  .legal-page__title {
    font-size: clamp(1.95rem, 8vw, 2.65rem);
  }

  .legal-section + .legal-section {
    margin-top: 1.3rem;
    padding-top: 1.3rem;
  }

  .help-center-search input {
    padding: 0.95rem 1rem;
    font-size: 1rem;
  }

  .help-center-search button {
    min-width: 3.85rem;
    font-size: 1.4rem;
  }

  .category-showcase__header h2 {
    font-size: 1.45rem;
  }

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

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

  .product-detail__breadcrumb {
    font-size: 0.88rem;
  }

  .home-carousel .carousel-item {
    min-height: 500px;
  }

  .home-carousel__caption {
    inset: auto 0.85rem 1rem 0.85rem;
    padding: 0.95rem;
    gap: 0.7rem;
  }

  .home-carousel__caption h2 {
    font-size: 1.45rem;
  }

  .home-carousel__caption p {
    max-width: none;
    font-size: 0.9rem;
  }

  .home-carousel__indicators {
    left: 0.85rem;
    bottom: 0.85rem;
  }

  .discover-section,
  .catalog-feed-section--market,
  .cart-page__intro {
    padding-top: 1rem;
  }

  .section-heading--market {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .section-heading--market h1 {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }

  .section-heading--catalog h2,
  .section-heading--cart h1 {
    font-size: clamp(1.45rem, 8vw, 1.95rem);
  }

  .deal-strip--market {
    grid-auto-columns: minmax(200px, 82vw);
    gap: 1rem;
  }

  .catalog-sidebar__panel {
    padding: 1rem;
    border-radius: 16px;
  }

  .mobile-filter-drawer .catalog-sidebar__panel {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .product-card__body {
    padding: 0.75rem;
  }

  .product-card__price {
    font-size: 0.98rem;
  }

  .product-card__meta-chip {
    font-size: 0.64rem;
  }

  .product-card__seller,
  .product-card__rating {
    font-size: 0.76rem;
  }

  .product-card__title {
    font-size: 0.9rem;
  }

  .product-card__purchase-row {
    gap: 0.5rem;
  }

  .quantity-picker {
    grid-template-columns: 32px minmax(36px, 1fr) 32px;
    min-width: 0;
    border-radius: 12px;
  }

  .quantity-picker__button {
    min-block-size: 32px;
  }

  .product-card__submit {
    border-radius: 12px;
    padding: 0.72rem 0.6rem;
    font-size: 0.84rem;
  }
}

/* ── Customer Checkout / Orders ─────────────────────────── */

.customer-grid {
  display: grid;
  gap: 1.5rem;
}

.customer-grid--checkout {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
}

.customer-panel {
  background: #fff;
  border: 1px solid #d7e3f6;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  padding: clamp(1.4rem, 2vw, 2rem);
}

.customer-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.customer-panel__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.customer-panel__empty {
  min-height: 100%;
}

.customer-form {
  display: grid;
  gap: 1rem;
}

.checkout-group {
  display: grid;
  gap: 0.95rem;
}

.checkout-coupon-form {
  display: grid;
  gap: 0.8rem;
}

.checkout-coupon-form__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: center;
}

.checkout-coupon-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(13, 103, 213, 0.16);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(244, 249, 255, 0.98),
    rgba(255, 255, 255, 0.98)
  );
}

.checkout-coupon-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 1rem;
}

.checkout-coupon-card p,
.checkout-coupon-card span {
  margin: 0;
  color: var(--muted);
}

.checkout-coupon-card__value {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-group__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-group__heading a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.checkout-choice-grid {
  display: grid;
  gap: 0.85rem;
}

.checkout-choice {
  display: block;
  cursor: pointer;
}

.checkout-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-choice__body {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d7e3f6;
  border-radius: 22px;
  background: #fdfefe;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  color: var(--muted);
}

.checkout-choice__body strong {
  color: var(--ink);
}

.checkout-choice input:checked + .checkout-choice__body,
.checkout-choice.is-selected .checkout-choice__body {
  border-color: rgba(13, 103, 213, 0.38);
  box-shadow: 0 12px 28px rgba(13, 103, 213, 0.12);
  transform: translateY(-1px);
}

.summary-card--checkout .summary-row--item {
  font-size: 0.95rem;
}

.summary-row--discount strong {
  color: #1f8a58;
}

.checkout-success-packages {
  display: grid;
  gap: 0.85rem;
}

.checkout-success-packages__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid #d7e3f6;
  border-radius: 22px;
  background: #fbfdff;
}

.checkout-success-packages__item p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.order-list {
  display: grid;
  gap: 1.25rem;
}

.order-card {
  background: #fff;
  border: 1px solid #d7e3f6;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  padding: clamp(1.35rem, 2vw, 1.75rem);
}

.order-card__header,
.order-card__meta,
.order-card__item {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.order-card__header {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.order-card__header h2,
.order-card__item-copy h3 {
  margin: 0;
  color: var(--ink);
}

.order-card__header p,
.order-card__meta p,
.order-card__item-copy p,
.order-card__summary span {
  margin: 0;
  color: var(--muted);
}

.order-card__summary {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  text-align: right;
}

.order-card__summary strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.order-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid #e3ebf7;
  border-bottom: 1px solid #e3ebf7;
}

.order-card__meta span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card__meta strong {
  color: var(--ink);
}

.order-card__items {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.order-card__fulfillments {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.order-fulfillment {
  padding: 1rem 1.05rem;
  border: 1px solid #e1ebf8;
  border-radius: 24px;
  background: #fbfdff;
}

.order-fulfillment__header,
.order-fulfillment__meta {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.order-fulfillment__header {
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.order-fulfillment__header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.order-fulfillment__header p,
.order-fulfillment__meta p {
  margin: 0;
  color: var(--muted);
}

.order-fulfillment__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid #edf2fa;
}

.order-fulfillment__meta span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-fulfillment__meta strong {
  color: var(--ink);
}

.order-fulfillment__returns {
  margin-top: 0.95rem;
}

.order-fulfillment__request-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e4ecf8;
  border-radius: 20px;
  background: #ffffff;
}

.order-fulfillment__request-label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.order-fulfillment__request-card strong {
  color: var(--ink);
}

.order-fulfillment__request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.delivery-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.request-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.delivery-workspace__main,
.delivery-workspace__aside,
.request-workspace__main,
.request-workspace__aside {
  display: grid;
  gap: 1.5rem;
}

.delivery-workspace .section-block {
  border: 1px solid rgba(179, 203, 235, 0.72);
  box-shadow: 0 24px 56px rgba(16, 36, 76, 0.08);
}

.delivery-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.delivery-meta-card,
.delivery-address-card {
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid #dce7f7;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    #f8fbff 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.request-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.delivery-meta-card span,
.delivery-timeline span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-meta-card__label,
.delivery-address-card__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #6f86a7;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.delivery-meta-card strong,
.delivery-address-card strong,
.delivery-timeline strong {
  color: var(--ink);
}

.delivery-meta-card__value {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.delivery-meta-card__hint {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.delivery-meta-card p,
.delivery-address-card p,
.delivery-timeline p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.request-meta-card,
.request-response-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid #dce7f7;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    #f8fbff 100%
  );
}

.request-meta-card__label,
.request-response-card__label,
.delivery-action-bar__eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  color: #6f86a7;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.request-meta-card__value {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.3;
}

.request-meta-card__hint,
.request-response-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.request-decision-form {
  display: grid;
  gap: 1rem;
}

.request-decision-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.request-package-items {
  display: grid;
  gap: 0.8rem;
}

.request-package-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e4ecf8;
  border-radius: 18px;
  background: #fbfdff;
}

.request-package-item img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #d7e3f6;
  background: #f4f8ff;
}

.request-package-item strong,
.request-package-item span {
  color: var(--ink);
}

.request-package-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.request-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.request-status-badge--neutral {
  color: #3b577a;
  background: #eef3fa;
}

.request-status-badge--success {
  color: #12624f;
  background: #e8f8f0;
}

.request-status-badge--danger {
  color: #a54141;
  background: #fdeaea;
}

.delivery-address-card {
  display: grid;
  gap: 0.9rem;
}

.delivery-address-card__name {
  display: block;
  margin: 0;
  font-size: 1.12rem;
}

.delivery-address-card__lines {
  display: grid;
  gap: 0.28rem;
}

.delivery-address-card__lines p {
  margin: 0;
  line-height: 1.55;
}

.delivery-address-card__contact {
  display: grid;
  gap: 0.18rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e6eef9;
}

.delivery-address-card__contact span {
  display: block;
  color: #6f86a7;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.delivery-update-form {
  display: grid;
  gap: 1rem;
}

.delivery-action-bar {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  margin-bottom: 1.25rem;
  border: 1px solid #dce7f7;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    #f7fbff 100%
  );
}

.delivery-action-bar h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.delivery-action-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.delivery-action-bar__actions form {
  margin: 0;
}

.delivery-action-bar__copy {
  margin: 0;
  color: var(--muted);
}

.delivery-update-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.delivery-timeline {
  display: grid;
  gap: 0.95rem;
}

.delivery-timeline__row {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e3ebf7;
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.96);
}

.delivery-timeline__row strong {
  font-size: 1rem;
  line-height: 1.35;
}

.delivery-timeline__note {
  padding: 1rem 1rem 0;
  border-top: 1px solid #edf2fa;
}

.order-card__item {
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid #edf2fa;
}

.order-card__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.order-card__item-image {
  flex: 0 0 82px;
  inline-size: 82px;
  block-size: 82px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d7e3f6;
  background: #f4f8ff;
}

.order-card__item-image img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.order-card__item-copy {
  flex: 1 1 auto;
  min-inline-size: 0;
  display: grid;
  gap: 0.35rem;
}

.order-card__item-copy a {
  color: var(--ink);
  text-decoration: none;
}

.order-card__item-actions {
  display: grid;
  gap: 0.65rem;
  justify-items: end;
  text-align: right;
}

.order-card__item-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

/* ── Product Reviews ─────────────────────────────────────── */

.product-detail__reviews-card {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #d7e3f6;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  padding: clamp(1.4rem, 2vw, 1.85rem);
}

.product-reviews {
  display: grid;
  gap: 1.4rem;
}

.product-reviews__prompt,
.product-review-card,
.order-review-modal__product,
.order-review-modal__note {
  border: 1px solid #d7e3f6;
  border-radius: 24px;
  background: #fbfdff;
}

.product-reviews__section-copy {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.product-reviews__section-copy a {
  color: var(--brand);
  font-weight: 700;
}

.product-reviews__toolbar {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #f2dfd8;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffaf8 0%, #fff 100%);
}

.product-reviews__headline {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.product-reviews__headline-score {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #ef4f3e;
}

.product-reviews__headline-score strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
}

.product-reviews__headline-score span {
  font-size: 1.05rem;
  font-weight: 700;
}

.product-reviews__headline-stars {
  color: #f5ae1b;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.product-reviews__headline-stars span,
.product-review-card__stars span {
  color: #a8bedc;
}

.product-reviews__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-reviews__filter {
  padding: 0.7rem 1rem;
  border: 1px solid #d7e3f6;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-reviews__filter:hover,
.product-reviews__filter:focus-visible,
.product-reviews__filter.is-active {
  border-color: #ef7b6e;
  color: #ef4f3e;
  box-shadow: 0 10px 24px rgba(239, 79, 62, 0.1);
}

.product-reviews__feed {
  display: grid;
  gap: 1rem;
}

.product-review-card p,
.product-review-card__reply p {
  margin: 0;
  color: var(--muted);
}
.product-review-card__catalog-header h3,
.product-review-card h4 {
  margin: 0;
  color: var(--ink);
}

.product-review-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.product-review-card--hidden {
  display: none !important;
}

.product-review-card h4 {
  font-size: 1rem;
}

.product-review-card__catalog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-review-card__identity {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.product-review-card__avatar {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #d7e3f6;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: var(--brand);
  font-weight: 800;
}

.product-review-card__identity p {
  margin-top: 0.2rem;
}

.product-review-card__stars {
  color: #f5ae1b;
  font-size: 1rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.product-review-card__comment {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
}

.product-review-card__media {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: flex-start;
}

.product-review-card__image,
.product-review-card__video {
  display: block;
  width: min(100%, 220px);
  border-radius: 18px;
  border: 1px solid #d7e3f6;
  background: #f8fbff;
  overflow: hidden;
}

.product-review-card__image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-review-card__video {
  aspect-ratio: 9 / 16;
  max-height: 320px;
  object-fit: contain;
}

.product-review-card__reply {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #f3f6fa;
}

.product-review-card__reply strong {
  color: var(--ink);
}

.product-review-form__feedback {
  min-height: 0;
}

.order-review-modal__content {
  border: 1px solid #d7e3f6;
  border-radius: 30px;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.order-review-modal__header {
  padding: 1.35rem 1.45rem 1rem;
  border-bottom: 1px solid #e6eef9;
}

.order-review-modal__header h2 {
  margin: 0.2rem 0 0;
  color: var(--ink);
}

.order-review-modal__body,
.order-review-modal__form {
  display: grid;
  gap: 1rem;
}

.order-review-modal__body {
  padding: 1.25rem 1.45rem 1.45rem;
}

.order-review-modal__product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.order-review-modal__product-image-shell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.order-review-modal__product-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-review-modal__product-copy h3 {
  margin: 0.2rem 0 0.25rem;
  color: var(--ink);
}

.order-review-modal__product-copy p {
  margin: 0;
  color: var(--muted);
}

.order-review-modal__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.order-review-modal__rating-group {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.order-review-modal__rating-group legend {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}

.order-review-modal__stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
}

.order-review-modal__stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-review-modal__stars label {
  color: #d4dfef;
  cursor: pointer;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.order-review-modal__stars label:hover,
.order-review-modal__stars label:hover ~ label,
.order-review-modal__stars input:checked ~ label {
  color: #ffbf47;
  transform: translateY(-1px);
}

.order-review-modal__note {
  padding: 0.95rem 1rem;
}

.order-review-modal__note strong {
  color: var(--ink);
}

.order-review-modal__existing-media {
  display: grid;
  gap: 0.8rem;
}

.order-review-modal__existing-media h4 {
  margin: 0;
  color: var(--ink);
}

.order-review-modal .form-text {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.order-review-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

@media (max-width: 767.98px) {
  .product-review-card__image,
  .product-review-card__video {
    width: 100%;
    max-width: 100%;
  }

  .product-review-card__video {
    max-height: 420px;
  }

  .product-reviews__toolbar,
  .product-review-card {
    padding: 1rem;
  }

  .product-review-card__catalog-header {
    flex-direction: column;
  }

  .product-reviews__headline {
    align-items: flex-start;
  }

  .order-review-modal__media-grid {
    grid-template-columns: 1fr;
  }

  .order-review-modal__product {
    grid-template-columns: 1fr;
  }

  .order-review-modal__product-image-shell {
    width: 88px;
  }

  .order-review-modal__actions {
    justify-content: stretch;
  }

  .order-review-modal__actions .btn {
    width: 100%;
  }
}

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

@media (max-width: 767.98px) {
  .order-card__header,
  .order-card__item,
  .order-fulfillment__header {
    flex-direction: column;
  }

  .order-card__summary,
  .order-card__item-actions {
    justify-items: start;
    text-align: left;
  }

  .order-card__item-actions-row {
    justify-content: flex-start;
  }

  .order-card__meta {
    grid-template-columns: 1fr;
  }

  .order-fulfillment__meta,
  .delivery-workspace,
  .delivery-meta-grid,
  .delivery-update-form__grid,
  .request-workspace,
  .request-meta-grid,
  .request-decision-form__grid {
    grid-template-columns: 1fr;
  }

  .request-package-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .request-package-item span {
    grid-column: 2;
  }

  .product-review-form__actions {
    flex-direction: column;
  }
}

/* ── Chat Workspace ─────────────────────────────────────── */

.chat-shell {
  display: grid;
  grid-template-columns: minmax(19rem, 24rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.chat-shell__sidebar,
.chat-shell__thread {
  min-height: 42rem;
}

.chat-shell__sidebar {
  display: grid;
  gap: 1rem;
}

.chat-shell__sidebar-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.chat-shell__sidebar-copy {
  margin: 0;
  color: var(--muted);
}

.chat-shell__counter {
  min-width: 2.5rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  text-align: center;
}

.chat-shell__status {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 116, 217, 0.08);
  color: var(--ink);
  font-weight: 600;
}

.chat-shell__status[data-tone="error"] {
  background: rgba(214, 78, 78, 0.12);
  color: #a73737;
}

.chat-conversation-list {
  display: grid;
  gap: 0.9rem;
}

.chat-conversation-item {
  width: 100%;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid #d7e3f6;
  border-radius: 22px;
  background: #fff;
  text-align: left;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.chat-conversation-item:hover,
.chat-conversation-item:focus-visible,
.chat-conversation-item.is-active {
  border-color: rgba(13, 103, 213, 0.36);
  box-shadow: 0 18px 40px rgba(13, 103, 213, 0.1);
  transform: translateY(-1px);
}

.chat-conversation-item__header,
.chat-conversation-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.chat-conversation-item__header strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.chat-conversation-item__header span,
.chat-conversation-item__subtitle,
.chat-conversation-item__preview {
  color: var(--muted);
}

.chat-conversation-item__subtitle,
.chat-conversation-item__preview {
  margin: 0.35rem 0 0;
}

.chat-conversation-item__preview {
  font-size: 0.95rem;
  line-height: 1.55;
}

.chat-conversation-item__count {
  min-width: 1.75rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.chat-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: 38rem;
}

.chat-thread__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4edf8;
}

.chat-thread__header h2 {
  margin: 0.2rem 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.chat-thread__header p {
  margin: 0;
  color: var(--muted);
}

.chat-thread__product-link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.chat-thread__messages {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  max-height: 31rem;
  padding-right: 0.35rem;
  overflow-y: auto;
}

.chat-thread__composer {
  display: grid;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid #e4edf8;
}

.chat-thread__composer .form-control {
  min-height: 6rem;
  resize: vertical;
}

.chat-thread__composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.chat-message {
  display: flex;
  justify-content: flex-start;
}

.chat-message.is-own {
  justify-content: flex-end;
}

.chat-message__bubble {
  max-width: min(78%, 38rem);
  padding: 0.95rem 1rem;
  border-radius: 1.15rem 1.15rem 1.15rem 0.45rem;
  background: #f8fbff;
  border: 1px solid rgba(13, 116, 217, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.chat-message.is-own .chat-message__bubble {
  border-radius: 1.15rem 1.15rem 0.45rem 1.15rem;
  background: linear-gradient(180deg, #1780ea 0%, #0d67d5 100%);
}

.chat-message__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
}

.chat-message__meta strong {
  color: var(--ink);
}

.chat-message__meta span {
  color: var(--muted);
}

.chat-message__bubble p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.chat-message.is-own .chat-message__meta strong,
.chat-message.is-own .chat-message__meta span,
.chat-message.is-own .chat-message__bubble p {
  color: #fff;
}

.chat-thread__empty {
  min-height: 18rem;
}

@media (max-width: 1199.98px) {
  .chat-shell {
    grid-template-columns: 1fr;
  }

  .chat-shell__sidebar,
  .chat-shell__thread {
    min-height: auto;
  }

  .chat-thread__messages {
    max-height: 24rem;
  }
}

@media (max-width: 767.98px) {
  .chat-thread__header,
  .chat-thread__composer-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-message__bubble {
    max-width: 100%;
  }

  .chat-thread__messages {
    max-height: none;
  }
}
