:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d5d9d9;
  --paper: #ffffff;
  --page: #eaeded;
  --nav: #131921;
  --nav-2: #232f3e;
  --accent: #febd69;
  --accent-2: #f3a847;
  --link: #007185;
  --success: #007600;
}

html {
  font-size: 14px;
  min-height: 100%;
  position: relative;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
}

body.gallery-open {
  overflow: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: #c7511f;
  text-decoration: underline;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
}

.btn-warning {
  background: #ffd814;
  border-color: #fcd200;
  color: #111;
}

.btn-warning:hover {
  background: #f7ca00;
  border-color: #f2c200;
  color: #111;
}

.btn-outline-dark {
  background: #fff;
  border-color: #888c8c;
  color: #111;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem #fff, 0 0 0 0.35rem #f90;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.market-topbar {
  align-items: center;
  background: var(--nav);
  color: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(240px, 1fr) auto auto auto;
  padding: 10px 18px;
}

.market-brand-block {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  justify-self: start;
  min-width: 150px;
}

.market-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  line-height: 0;
  min-height: 42px;
}

.market-brand:hover {
  color: #fff;
}

.market-brand img {
  display: block;
  height: 72px;
  max-width: 310px;
  object-fit: contain;
  width: auto;
}

.market-search {
  display: grid;
  grid-template-columns: 120px 1fr 96px;
  min-width: 0;
}

.market-search select,
.market-search input,
.market-search button {
  border: 0;
  min-height: 42px;
}

.market-search select {
  background: #f3f3f3;
  border-radius: 6px 0 0 6px;
  color: #333;
  padding: 0 10px;
}

.market-search input {
  border-left: 1px solid #d5d9d9;
  padding: 0 14px;
  width: 100%;
}

.market-search button {
  background: var(--accent);
  border-radius: 0 6px 6px 0;
  color: #111;
  font-weight: 800;
}

.language-picker {
  position: relative;
  white-space: nowrap;
}

.language-picker summary {
  align-items: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  list-style: none;
  padding: 8px 9px;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  content: "";
  margin-left: 2px;
}

.language-picker[open] summary,
.language-picker summary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.language-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 2px;
  min-width: 110px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1100;
}

.language-menu a {
  align-items: center;
  border-radius: 3px;
  color: var(--ink);
  display: flex;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px;
}

.language-menu a:hover,
.language-menu a.active {
  background: #f3f3f3;
  color: var(--ink);
  text-decoration: none;
}

.cart-widget {
  align-items: center;
  display: flex;
}

.cart-link {
  align-items: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  display: flex;
  gap: 8px;
  padding: 5px 8px;
}

.cart-link:hover,
.cart-link:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.cart-icon {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.cart-count {
  color: #f3a847;
  font-size: 0.92rem;
  font-weight: 900;
  min-width: 10px;
}

.flag-icon {
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-block;
  height: 14px;
  overflow: hidden;
  position: relative;
  width: 22px;
}

.flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flag-us {
  background:
    linear-gradient(to bottom, #b22234 0 7.69%, #fff 7.69% 15.38%, #b22234 15.38% 23.07%, #fff 23.07% 30.76%, #b22234 30.76% 38.45%, #fff 38.45% 46.14%, #b22234 46.14% 53.83%, #fff 53.83% 61.52%, #b22234 61.52% 69.21%, #fff 69.21% 76.9%, #b22234 76.9% 84.59%, #fff 84.59% 92.28%, #b22234 92.28% 100%);
}

.flag-us::before {
  background: #3c3b6e;
  content: "";
  height: 54%;
  left: 0;
  position: absolute;
  top: 0;
  width: 45%;
}

.account-widget {
  align-items: center;
  display: flex;
  gap: 8px;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  list-style: none;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-user {
  align-items: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 8px;
  padding: 5px 8px;
}

.account-menu[open] .account-user,
.account-user:hover,
.account-user:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.account-menu-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1100;
}

.account-menu-panel a,
.account-menu-panel button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 3px;
  color: var(--ink);
  display: flex;
  font-size: 0.86rem;
  font-weight: 800;
  justify-content: flex-start;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover,
.account-menu-panel a:focus,
.account-menu-panel button:focus {
  background: #f3f3f3;
  color: var(--ink);
  text-decoration: none;
}

.user-initials,
.user-icon {
  align-items: center;
  border-radius: 999px;
  color: #111;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  overflow: hidden;
  width: 34px;
}

.user-initials {
  background: #fff;
}

.user-icon {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
}

.account-label {
  font-size: 0.88rem;
  font-weight: 800;
}

.market-subnav {
  background: var(--nav-2);
  min-height: 42px;
  padding: 0 18px;
}

.market-subnav .nav-link {
  color: #fff;
  font-size: 0.92rem;
  padding: 10px 12px;
}

.market-subnav .nav-link:hover {
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.mobile-menu {
  display: none;
  width: 100%;
}

.mobile-menu-top {
  position: relative;
  width: auto;
}

.desktop-menu {
  display: block;
}

.mobile-menu summary {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  list-style: none;
  padding: 8px 10px;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu ul {
  background: var(--nav-2);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
  margin: 6px 0 0;
  padding: 6px 0 10px;
}

.mobile-menu a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: block;
  padding: 13px 6px;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.menu-bars {
  display: inline-block;
  height: 14px;
  position: relative;
  width: 18px;
}

.menu-bars::before,
.menu-bars::after,
.menu-bars {
  border-top: 2px solid #fff;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  left: 0;
  position: absolute;
  width: 18px;
}

.menu-bars::before {
  top: 4px;
}

.menu-bars::after {
  top: 10px;
}

.market-shell {
  margin: 0 auto;
  max-width: 1480px;
  padding: 18px;
}

.market-hero {
  display: block;
  margin-bottom: 18px;
}

.hero-panel,
.quick-grid article,
.deal-strip,
.store-heading,
.store-filter,
.product-shelf,
.product-card,
.buy-box,
.checkout-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.hero-main {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  color: #fff;
  display: flex;
  min-height: 340px;
  overflow: hidden;
  padding: 34px;
  width: 100%;
}

.hero-main img {
  display: none;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 8px 0 12px;
  max-width: 1120px;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 860px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.eyebrow {
  color: #f6c65b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-side {
  padding: 24px;
}

.hero-side h2,
.quick-grid h2,
.store-filter h2,
.checkout-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.hero-side p {
  color: var(--muted);
}

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

.quick-grid article {
  min-height: 180px;
  padding: 18px;
}

.quick-grid img {
  display: block;
  height: 170px;
  margin: 10px auto 16px;
  object-fit: cover;
  width: 100%;
}

.home-featured {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.cheesecake-orbit {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 28, 46, 0.18);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  margin-bottom: 18px;
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.cheesecake-orbit::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 52%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.cheesecake-orbit > * {
  position: relative;
  z-index: 1;
}

.cheesecake-orbit-copy h2 {
  color: #fff;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.05;
  margin: 4px 0 12px;
  max-width: 560px;
}

.cheesecake-orbit-copy p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 520px;
}

.cheesecake-orbit-copy {
  align-self: start;
  padding-top: 8px;
}

.cheesecake-orbit-stage {
  background:
    radial-gradient(circle at center, rgba(255, 248, 230, 0.38) 0, rgba(255, 248, 230, 0.08) 18%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0) 72%);
  min-height: 660px;
  position: relative;
}

.solar-stage {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
  position: relative;
}

.solar-text-orbits {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
  z-index: 4;
}

.solar-text-link {
  cursor: pointer;
}

.solar-text-ring {
  animation: solar-text-spin var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
  transform-box: fill-box;
  transform-origin: center;
}

.solar-text-guide {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.6;
}

.solar-orbit-text {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
  dominant-baseline: middle;
  fill: #fffdf7;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  paint-order: stroke fill;
  stroke: rgba(21, 28, 38, 0.9);
  stroke-width: 2px;
  text-transform: uppercase;
}

.solar-text-link:hover .solar-orbit-text,
.solar-text-link:focus .solar-orbit-text {
  fill: #ffffff;
}

.solar-text-inner {
  font-size: 28px;
}

.solar-text-mid {
  font-size: 21px;
}

.solar-text-outer {
  font-size: 17px;
}

.solar-sun {
  align-items: center;
  background:
    radial-gradient(circle at 35% 35%, #fff7dc 0, #fde29c 48%, #f3a847 100%);
  border-radius: 999px;
  box-shadow:
    0 0 0 18px rgba(252, 216, 20, 0.14),
    0 0 90px rgba(243, 168, 71, 0.36);
  display: flex;
  height: 150px;
  justify-content: center;
  position: relative;
  width: 150px;
  z-index: 3;
}

.solar-sun img {
  display: block;
  filter: drop-shadow(0 8px 20px rgba(17, 24, 39, 0.18));
  height: 62px;
  max-width: 118px;
  object-fit: contain;
  width: auto;
}

.solar-orbit {
  animation: solar-spin var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
  border: 1px solid rgba(19, 25, 33, 0.08);
  border-radius: 999px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

@keyframes solar-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes solar-text-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.deal-strip {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px 22px;
}

.deal-strip span {
  color: #b12704;
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-heading {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  border: 0;
  box-shadow: 0 10px 24px rgba(16, 28, 46, 0.18);
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.store-heading::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 52%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.store-heading h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 4px 0;
  position: relative;
  z-index: 1;
}

.store-heading p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.store-heading .eyebrow {
  color: #f6c65b;
  position: relative;
  z-index: 1;
}

.store-heading-action {
  align-self: center;
  border: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  color: #111;
  min-width: 120px;
  position: relative;
  z-index: 1;
}

.store-heading-action:hover,
.store-heading-action:focus {
  color: #111;
  text-decoration: none;
}

.store-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.store-filter {
  padding: 18px;
  position: sticky;
  top: 116px;
}

.store-filter a {
  border-top: 1px solid #edf0f0;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.store-filter span {
  color: var(--muted);
}

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

.product-shelf {
  padding: 18px;
}

.shelf-title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shelf-title h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
}

.shelf-title span {
  color: var(--muted);
}

.product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-image-link {
  background: #f7f8f8;
  display: block;
  padding: 14px;
}

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

.product-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.product-category {
  color: #565959;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 7px 0;
}

.product-meta h3 a {
  color: var(--ink);
}

.product-meta p {
  color: #333;
  display: -webkit-box;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.rating-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}

.rating-row span {
  color: #f59e0b;
  letter-spacing: 0;
}

.rating-row small,
.price-row small {
  color: var(--muted);
}

.price-row {
  margin-top: auto;
}

.price-row strong,
.detail-price {
  color: #b12704;
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
}

.discount-price-block,
.detail-price-block,
.buy-box-price {
  display: grid;
  gap: 4px;
}

.discount-headline {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discount-badge {
  color: #cc0c39;
  font-size: 1rem;
  font-weight: 800;
}

.discount-headline .detail-price,
.discount-headline strong {
  color: #0f1111;
}

.list-price-line {
  color: #565959;
  display: block;
  font-size: 0.82rem;
}

.original-price {
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
}

.breadcrumb-line {
  color: var(--muted);
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

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

.product-detail-hero {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.product-detail-hero::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.product-detail-hero > * {
  position: relative;
  z-index: 1;
}

.product-detail-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.04;
  margin: 6px 0 10px;
  max-width: 760px;
}

.product-detail-hero p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 720px;
}

.product-detail-hero-summary {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 18px 20px;
}

.product-detail-hero-summary span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-hero-summary strong {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.product-detail-hero-summary small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.product-detail-image,
.product-detail-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
}

.product-detail-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.product-image-trigger {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.product-gallery-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  margin-top: 14px;
}

.product-gallery-thumb,
.product-gallery-strip-thumb {
  background: #f7f8f8;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.product-gallery-thumb.is-active,
.product-gallery-strip-thumb.is-active {
  border-color: #f3a847;
  box-shadow: 0 0 0 2px rgba(243, 168, 71, 0.15);
}

.product-gallery-thumb img,
.product-gallery-strip-thumb img {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.product-gallery-modal {
  inset: 0;
  position: fixed;
  z-index: 2000;
}

.product-gallery-backdrop {
  background: rgba(15, 17, 17, 0.72);
  inset: 0;
  position: absolute;
}

.product-gallery-dialog {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 16px;
  left: 50%;
  max-height: min(90vh, 980px);
  max-width: min(92vw, 1040px);
  overflow: hidden;
  padding: 18px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.product-gallery-close {
  align-items: center;
  background: #111827;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.4rem;
  height: 38px;
  justify-content: center;
  justify-self: end;
  line-height: 1;
  width: 38px;
}

.product-gallery-main {
  background: #f7f8f8;
  border-radius: 10px;
  overflow: hidden;
}

.product-gallery-main img {
  display: block;
  max-height: 68vh;
  object-fit: contain;
  width: 100%;
}

.product-gallery-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.product-detail-copy h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 8px 0 10px;
}

.product-detail-copy p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.55;
}

.stock-line {
  color: var(--success) !important;
  font-weight: 700;
}

.buy-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  position: sticky;
  top: 116px;
}

.buy-box strong {
  color: #b12704;
  font-size: 1.55rem;
}

.buy-box span {
  color: var(--success);
  font-weight: 700;
}

.related-products-section {
  margin-top: 18px;
}

.related-products-section .shelf-title {
  margin-bottom: 16px;
}

.related-products-section .shelf-title div {
  display: grid;
  gap: 4px;
}

.checkout-title {
  margin-bottom: 16px;
}

.checkout-title h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 4px 0 0;
}

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

.checkout-card {
  padding: 22px;
}

.summary-product {
  display: grid;
  gap: 12px;
  grid-template-columns: 88px minmax(0, 1fr);
  margin: 12px 0 18px;
}

.summary-product img {
  aspect-ratio: 1 / 1;
  background: #f7f8f8;
  object-fit: cover;
  width: 88px;
}

.summary-product span {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  margin-top: 4px;
}

.summary-product small,
.summary-total {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  margin-top: 4px;
}

.summary-total {
  color: #b12704;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 0;
}

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

.cart-qty-form {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 72px auto;
}

.cart-qty-form input {
  min-width: 0;
}

.cart-line-actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-summary dl {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  margin: 0;
  padding-top: 14px;
}

.order-summary dt {
  color: var(--muted);
  font-weight: 500;
}

.order-summary dd {
  font-weight: 800;
  margin: 0;
}

.checkout-order-detail-separator {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  margin: 18px 0 14px;
  text-transform: uppercase;
}

.checkout-order-detail-separator::before,
.checkout-order-detail-separator::after {
  background: var(--line);
  content: "";
  flex: 1;
  height: 1px;
}

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

.checkout-form-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.checkout-form-header p {
  color: var(--muted);
  margin: 6px 0 0;
}

.checkout-delivery-amount {
  color: #b12704;
}

.checkout-form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.checkout-form .form-control,
.checkout-form .form-select {
  border: 1px solid #a6a6a6;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(15, 17, 17, 0.08);
  min-height: 46px;
}

.checkout-form .form-control[readonly] {
  background: #f7f8f8;
  color: #37475a;
}

.checkout-address {
  min-height: 96px;
  resize: vertical;
}

.form-hint {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  margin-top: 6px;
}

.order-history-card {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 18px 0;
}

.order-history-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.order-history-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-history-dates,
.order-detail-dates {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-date-chip {
  background: #f7f8f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.order-date-chip small {
  color: var(--muted);
}

.order-date-chip span {
  color: #37475a;
  font-size: 0.9rem;
  font-weight: 700;
}

.order-date-chip-accent {
  background: #fff7e6;
  border-color: #f3d29a;
}

.order-history-head span,
.order-history-grid small,
.order-history-address {
  color: var(--muted);
}

.order-status-badge {
  background: #e7f4f5;
  border-radius: 999px;
  color: #21626b;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 10px;
  white-space: nowrap;
}

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

.order-history-grid div {
  display: grid;
  gap: 2px;
}

.order-history-address {
  margin: 0;
}

.order-history-items {
  margin: 0;
  padding-left: 18px;
}

.orders-page {
  display: grid;
  gap: 18px;
}

.orders-hero {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.orders-hero::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.orders-hero > * {
  position: relative;
  z-index: 1;
}

.orders-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 6px 0 10px;
}

.orders-hero p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 620px;
}

.orders-hero-action {
  align-self: center;
  border: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  color: #111;
  min-width: 180px;
}

.orders-hero-action:hover,
.orders-hero-action:focus {
  color: #111;
  text-decoration: none;
}

.orders-page-header {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
}

.orders-page-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
}

.orders-page-header p {
  color: var(--muted);
  margin: 4px 0 0;
}

.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.order-card-header {
  background: #f0f2f2;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding: 14px 18px;
}

.order-meta-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-meta-row div,
.order-status-row {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-meta-row small,
.order-status-subtle {
  color: var(--muted);
}

.order-status-row {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}

.order-order-totals {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-order-totals strong {
  color: #0f1111;
}

.order-card-body {
  display: grid;
  gap: 16px;
  padding: 20px 18px;
}

.order-progress-track {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 2px 0 4px;
  padding: 0;
}

.order-progress-track li {
  color: #6b7280;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  position: relative;
  text-align: center;
}

.order-progress-track li::before,
.order-progress-track li::after {
  background: #d5d9d9;
  content: "";
  height: 3px;
  position: absolute;
  top: 11px;
  width: 50%;
  z-index: 0;
}

.order-progress-track li::before {
  left: 0;
}

.order-progress-track li::after {
  right: 0;
}

.order-progress-track li:first-child::before,
.order-progress-track li:last-child::after {
  display: none;
}

.order-progress-track li.is-lit {
  color: #0f5132;
}

.order-progress-track li.is-lit::before,
.order-progress-track li.is-past::after {
  background: #22c55e;
}

.order-progress-track li.is-current .order-progress-dot {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18), 0 0 18px rgba(34, 197, 94, 0.45);
}

.order-progress-dot {
  align-items: center;
  background: #fff;
  border: 3px solid #c7ccd1;
  border-radius: 999px;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  position: relative;
  width: 24px;
  z-index: 1;
}

.order-progress-track li.is-lit .order-progress-dot {
  background: #22c55e;
  border-color: #16a34a;
}

.order-progress-track li.is-lit .order-progress-dot::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.order-progress-label {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  min-height: 2.4em;
  overflow-wrap: anywhere;
}

.order-progress-cancelled {
  align-items: center;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  color: #9f1239;
  display: inline-flex;
  gap: 10px;
  padding: 10px 12px;
  width: fit-content;
}

.order-progress-cancelled .order-progress-dot {
  background: #e11d48;
  border-color: #be123c;
  height: 18px;
  width: 18px;
}

.order-delivery-note {
  display: grid;
  gap: 4px;
}

.order-delivery-note span {
  color: var(--muted);
}

.order-item-row {
  align-items: start;
  border-top: 1px solid #eaeded;
  display: grid;
  gap: 16px;
  grid-template-columns: 96px minmax(0, 1fr) auto 180px;
  padding-top: 16px;
}

.order-item-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.order-item-row img {
  aspect-ratio: 1 / 1;
  background: #f7f8f8;
  border: 1px solid #eaeded;
  border-radius: 6px;
  object-fit: cover;
  width: 96px;
}

.order-item-image-link {
  display: inline-block;
}

.order-item-image-link:hover,
.order-item-image-link:focus {
  text-decoration: none;
}

.order-item-copy {
  display: grid;
  gap: 6px;
}

.order-item-copy h3 {
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0;
}

.order-item-copy h3 a {
  color: #007185;
}

.order-item-copy p,
.order-item-copy small,
.order-item-total span {
  color: var(--muted);
}

.order-item-copy p {
  margin: 0;
}

.order-item-total {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-item-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.order-item-actions .btn {
  width: 100%;
}

.orders-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 4px 0 0;
}

.orders-pagination .btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.orders-pagination-status {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-page {
  display: grid;
  gap: 18px;
}

.cart-hero {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.cart-hero::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.cart-hero > * {
  position: relative;
  z-index: 1;
}

.cart-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 6px 0 10px;
}

.cart-hero p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 620px;
}

.cart-hero-action {
  align-self: center;
  border: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  color: #111;
  min-width: 180px;
}

.cart-hero-action:hover,
.cart-hero-action:focus {
  color: #111;
  text-decoration: none;
}

.cart-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.cart-title h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.cart-continue-link {
  color: #007185;
  font-size: 0.95rem;
}

.cart-panel {
  background: #fff;
  border: 1px solid #d5d9d9;
  border-radius: 4px;
}

.cart-empty-panel {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 22px;
}

.cart-empty-panel h2 {
  font-size: 1.4rem;
  margin: 0;
}

.cart-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.cart-main {
  padding: 22px 24px;
}

.cart-main-header,
.cart-main-footer {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.cart-main-header {
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 8px;
  padding-bottom: 12px;
}

.cart-main-header h2 {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0;
}

.cart-main-header p {
  color: #565959;
  margin: 4px 0 0;
}

.cart-price-label {
  color: #565959;
  font-size: 0.92rem;
}

.cart-line-item {
  border-bottom: 1px solid #e7e7e7;
  display: grid;
  gap: 18px;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  padding: 18px 0;
}

.cart-line-item img {
  aspect-ratio: 1 / 1;
  background: #f7f8f8;
  max-width: 180px;
  object-fit: cover;
  width: 100%;
}

.cart-line-copy h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}

.cart-line-copy p {
  color: #565959;
  line-height: 1.45;
  margin: 0 0 8px;
}

.cart-line-stock,
.cart-line-unit-price {
  display: block;
  font-size: 0.94rem;
}

.cart-line-stock {
  color: #067d62;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-line-unit-price {
  color: #565959;
  margin-bottom: 12px;
}

.cart-line-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cart-tool-divider {
  background: #d5d9d9;
  height: 18px;
  width: 1px;
}

.cart-remove-form .btn-link {
  color: #007185;
  font-size: 0.95rem;
  text-decoration: none;
}

.cart-remove-form .btn-link:hover {
  color: #c7511f;
  text-decoration: underline;
}

.cart-line-total {
  color: #0f1111;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-main-footer {
  justify-content: end;
  padding-top: 16px;
}

.cart-main-footer strong,
.cart-sidebar-totals strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-currency-totals,
.cart-sidebar-totals {
  display: grid;
  gap: 6px;
}

.cart-currency-totals {
  justify-items: end;
  margin-left: 18px;
}

.cart-currency-totals span,
.cart-sidebar-totals span {
  color: #b12704;
  font-size: 1.05rem;
  font-weight: 700;
}

.cart-sidebar {
  display: grid;
  gap: 14px;
  padding: 18px;
  position: sticky;
  top: 116px;
}

.cart-gift-option {
  align-items: start;
  color: #0f1111;
  display: flex;
  gap: 8px;
  font-size: 0.92rem;
}

.cart-gift-option input {
  margin-top: 3px;
}

.cart-access-note {
  margin: -2px 0 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
}

.identity-page {
  margin: 0 auto;
  max-width: 960px;
}

.identity-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.identity-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.identity-links a {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  padding-top: 12px;
}

.identity-message {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 680px;
}

.identity-message h1,
.identity-page h1 {
  font-size: 2rem;
  font-weight: 800;
}

.identity-dev-link {
  background: #fff8db;
  border: 1px solid #f0c14b;
  border-radius: 4px;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 12px;
}

.dev-email-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.dev-email-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.dev-email-card header {
  background: #f7f8f8;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.dev-email-card header span,
.dev-email-card header small {
  color: var(--muted);
}

.dev-email-body {
  padding: 16px;
}

.account-settings-page {
  display: grid;
  gap: 18px;
}

.settings-hero {
  align-items: center;
  background: linear-gradient(115deg, #101c2e 0%, #1b3550 46%, #315c78 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.settings-hero::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.settings-hero > * {
  position: relative;
  z-index: 1;
}

.settings-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 6px 0 10px;
}

.settings-hero p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 720px;
}

.settings-hero-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  min-width: 250px;
  padding: 16px 18px;
}

.settings-hero-badge strong,
.settings-hero-badge span {
  display: block;
}

.settings-hero-badge span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  margin-top: 4px;
}

.settings-avatar {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #111827;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

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

.settings-sidebar,
.settings-main,
.settings-single-column {
  display: grid;
  gap: 18px;
}

.settings-nav,
.settings-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.settings-nav {
  overflow: hidden;
}

.settings-nav a {
  border-top: 1px solid #edf0f0;
  color: #0f1111;
  display: block;
  font-weight: 700;
  padding: 14px 16px;
}

.settings-nav a:first-child {
  border-top: 0;
}

.settings-nav a.active,
.settings-nav a:hover,
.settings-nav a:focus {
  background: #f7f8f8;
  color: #0f1111;
  text-decoration: none;
}

.settings-card {
  padding: 22px;
}

.settings-card-narrow {
  margin: 0 auto;
  max-width: 920px;
  width: 100%;
}

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

.settings-card-head h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
}

.settings-card-head p {
  color: var(--muted);
  margin: 6px 0 0;
  max-width: 680px;
}

.settings-chip {
  background: #e7f4f5;
  border-radius: 999px;
  color: #21626b;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.settings-stats {
  display: grid;
  gap: 14px;
}

.settings-stat {
  display: grid;
  gap: 4px;
}

.settings-stat span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.settings-stat strong {
  color: #0f1111;
  font-size: 1rem;
}

.settings-status {
  background: #e7f4f5;
  border: 1px solid #b7dfe2;
  border-radius: 8px;
  color: #1f4f57;
  font-weight: 700;
  padding: 14px 16px;
}

.settings-form,
.settings-action-list,
.settings-cards-grid {
  display: grid;
  gap: 16px;
}

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

.settings-form-actions {
  display: flex;
  justify-content: flex-end;
}

.settings-action-list .btn {
  justify-content: center;
}

.settings-single-column {
  grid-template-columns: 1fr;
}

.settings-hero-compact {
  min-height: 0;
}

.settings-back-link {
  align-self: start;
  background: #fff;
  border-color: #fff;
  color: #0f1111;
}

.settings-back-link:hover,
.settings-back-link:focus {
  background: #f3f4f6;
  border-color: #f3f4f6;
  color: #0f1111;
  text-decoration: none;
}

.form-field label {
  font-weight: 800;
  margin-bottom: 6px;
}

.form-control {
  border: 1px solid #a6a6a6;
  border-radius: 4px;
  min-height: 42px;
}

.footer-main {
  background: var(--nav);
  color: #fff;
  margin-top: 30px;
}

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

  .market-brand-block,
  .account-widget {
    justify-content: space-between;
  }

  .market-hero,
  .product-detail,
  .checkout-grid,
  .cart-layout,
  .identity-grid,
  .settings-layout,
  .settings-form-grid,
  .settings-cards-grid,
  .cheesecake-orbit {
    grid-template-columns: 1fr;
  }

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

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

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

  .order-history-dates,
  .order-detail-dates {
    grid-template-columns: 1fr;
  }

  .order-meta-row,
  .order-item-row {
    grid-template-columns: 1fr;
  }

  .order-order-totals {
    align-items: start;
  }

  .order-item-total {
    align-items: start;
  }

  .settings-card-head,
  .settings-hero,
  .orders-hero,
  .cart-hero,
  .product-detail-hero {
    align-items: start;
    flex-direction: column;
  }

  .buy-box,
  .store-filter {
    position: static;
  }
}

@media (max-width: 760px) {
  .market-shell {
    padding: 12px;
  }

  .market-topbar {
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    padding: 8px 10px;
  }

  .market-brand-block {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
  }

  .market-brand {
    min-height: 42px;
  }

  .market-brand img {
    height: 54px;
    max-width: 220px;
  }

  .market-search {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 48px;
    min-width: 0;
  }

  .market-search select {
    display: none;
  }

  .market-search button {
    font-size: 0;
    min-width: 48px;
    position: relative;
  }

  .market-search button::before {
    border: 3px solid #111;
    border-radius: 999px;
    content: "";
    height: 15px;
    left: 47%;
    position: absolute;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 15px;
  }

  .market-search button::after {
    background: #111;
    border-radius: 999px;
    content: "";
    height: 3px;
    left: 58%;
    position: absolute;
    top: 60%;
    transform: rotate(45deg);
    transform-origin: left center;
    width: 10px;
  }

  .language-picker {
    grid-column: 3;
    width: auto;
  }

  .cart-widget {
    grid-column: 4;
    width: auto;
  }

  .cart-link {
    justify-content: center;
    min-height: 42px;
    padding: 4px 7px;
  }

  .language-picker summary {
    justify-content: center;
    min-height: 42px;
    padding: 8px;
  }

  .language-menu {
    left: auto;
    right: 0;
    width: max-content;
  }

  .market-search select,
  .market-search input,
  .market-search button {
    border-radius: 0;
  }

  .market-search input {
    border-left: 0;
    border-top: 0;
    border-radius: 4px 0 0 4px;
    min-width: 0;
  }

  .market-search button {
    border-radius: 0 4px 4px 0;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu-top {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: relative;
    width: auto;
  }

  .mobile-menu-top summary {
    justify-content: center;
    min-height: 42px;
    min-width: 42px;
    padding: 8px;
  }

  .mobile-menu-top ul {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    left: 0;
    min-width: 240px;
    position: absolute;
    top: calc(100% + 6px);
    z-index: 1200;
  }

  .account-widget {
    grid-column: 5;
    width: auto;
  }

  .account-menu {
    width: auto;
  }

  .account-user {
    justify-content: center;
    min-height: 42px;
    padding: 4px 7px;
    width: auto;
  }

  .account-label {
    display: none;
  }

  .account-menu-panel {
    min-width: 190px;
    right: 0;
  }

  .user-initials,
  .user-icon {
    height: 30px;
    width: 30px;
  }

  .market-hero,
  .store-layout {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: 24px;
  }

  .cheesecake-orbit {
    padding: 20px;
  }

  .cheesecake-orbit-stage,
  .solar-stage {
    min-height: 520px;
  }

  .solar-sun {
    height: 118px;
    width: 118px;
  }

  .solar-sun img {
    height: 48px;
    max-width: 90px;
  }

  .solar-text-inner {
    font-size: 20px;
  }

  .solar-text-mid {
    font-size: 15px;
  }

  .solar-text-outer {
    font-size: 13px;
  }

  .settings-hero,
  .orders-hero,
  .cart-hero,
  .product-detail-hero,
  .settings-card {
    padding: 20px;
  }

  .settings-form-actions .btn,
  .settings-back-link,
  .orders-hero-action,
  .cart-hero-action {
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .deal-strip,
  .store-heading,
  .shelf-title,
  .cart-title,
  .cart-main-header,
  .cart-main-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

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

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

  .cart-line-item img {
    max-width: 220px;
  }

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

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

  .cart-tool-divider {
    display: none;
  }

  .cart-line-total {
    white-space: normal;
  }

  .cart-main-footer {
    justify-content: stretch;
  }

  .cart-currency-totals {
    justify-items: start;
    margin-left: 0;
  }

  .order-status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-progress-track {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .order-progress-track li {
    align-items: center;
    gap: 10px;
    grid-template-columns: 24px minmax(0, 1fr);
    justify-items: start;
    min-height: 42px;
    text-align: left;
  }

  .order-progress-track li::before,
  .order-progress-track li::after {
    height: 50%;
    left: 11px;
    width: 3px;
  }

  .order-progress-track li::before {
    top: 0;
  }

  .order-progress-track li::after {
    bottom: 0;
    right: auto;
    top: auto;
  }

  .order-progress-label {
    min-height: 0;
  }
}

.admin-body {
  background: #f4f6fb;
  color: #17202f;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  background: #111827;
  color: #f8fafc;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-brand {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.admin-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.admin-brand strong,
.admin-brand span {
  display: block;
}

.admin-brand strong {
  font-size: 1.1rem;
}

.admin-brand span {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.92rem;
}

.admin-nav,
.admin-sidebar-footer {
  display: grid;
  gap: 8px;
}

.admin-nav a,
.admin-sidebar-footer a,
.admin-sidebar-footer button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #e5edf8;
  text-decoration: none;
  padding: 12px 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-sidebar-footer button {
  text-align: left;
}

.admin-nav a:hover,
.admin-nav a.active,
.admin-sidebar-footer a:hover,
.admin-sidebar-footer button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-sidebar-footer form {
  margin: 0;
}

.admin-captcha-box {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-captcha-box img {
  width: 180px;
  height: 64px;
  border: 1px solid #cfd9e7;
  border-radius: 8px;
  background: #eef4fb;
}

.admin-captcha-box .btn {
  width: 52px;
  border-radius: 8px;
}

.admin-main {
  padding: 28px;
  display: grid;
  gap: 24px;
}

.admin-hero {
  background: linear-gradient(135deg, #153b64 0%, #1f578d 45%, #f5a623 100%);
  color: #fff;
  border-radius: 8px;
  padding: 30px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 40px rgba(21, 59, 100, 0.18);
}

.admin-hero--compact {
  padding: 24px 28px;
}

.admin-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  max-width: 820px;
}

.admin-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.admin-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.admin-stat-card {
  background: #fff;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.admin-stat-card span,
.admin-stat-card small {
  display: block;
}

.admin-stat-card span {
  color: #5a6881;
  font-weight: 700;
  font-size: 0.92rem;
}

.admin-stat-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 2rem;
  line-height: 1;
  color: #122033;
}

.admin-stat-card small {
  color: #6f7c92;
  font-size: 0.92rem;
}

.admin-panel {
  background: #fff;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

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

.admin-panel-header h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.admin-panel-header p {
  margin: 0;
  color: #627089;
}

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

.admin-stat-bars {
  display: grid;
  gap: 14px;
}

.admin-stat-bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 2fr) 72px;
  gap: 12px;
  align-items: center;
}

.admin-stat-bar-row strong,
.admin-stat-bar-row span,
.admin-stat-bar-row small {
  display: block;
}

.admin-stat-bar-row span,
.admin-stat-bar-row small {
  color: #627089;
  font-size: 0.88rem;
}

.admin-stat-bar-row small {
  text-align: right;
  font-weight: 700;
}

.admin-stat-bar-track,
.admin-stat-mini-bar {
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.admin-stat-bar-track {
  height: 12px;
}

.admin-stat-mini-bar {
  height: 6px;
  margin-top: 8px;
}

.admin-stat-bar-track span,
.admin-stat-mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5a524 0%, #f97316 100%);
}

.statistics-hero {
  align-items: stretch;
}

.statistics-hero-summary {
  align-self: stretch;
  display: flex;
  min-width: 260px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.statistics-hero-summary span,
.statistics-hero-summary small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.statistics-hero-summary strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 1.25rem;
}

.statistics-filter-panel {
  padding: 18px 20px;
}

.statistics-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(160px, 0.6fr) minmax(160px, 0.6fr) auto;
  gap: 16px;
  align-items: end;
}

.statistics-filter p {
  margin: 4px 0 0;
  color: #627089;
}

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

.statistics-kpi-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.statistics-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #d9e4f2;
}

.statistics-kpi-card.is-primary::before {
  background: linear-gradient(90deg, #f5a524, #f97316);
}

.statistics-kpi-card span,
.statistics-kpi-card small {
  display: block;
}

.statistics-kpi-card span {
  color: #5a6881;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.statistics-kpi-card strong {
  display: block;
  margin: 12px 0 8px;
  color: #122033;
  font-size: 1.7rem;
  line-height: 1;
}

.statistics-kpi-card small {
  color: #627089;
}

.statistics-workspace {
  padding: 0;
}

.statistics-tabs {
  padding: 16px 18px 0;
  border-bottom: 1px solid #d7e0eb;
}

.statistics-tabs .nav-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}

.statistics-tab-content {
  padding: 22px;
}

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

.statistics-section-header h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.statistics-section-header p {
  margin: 0;
  color: #627089;
}

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

.statistics-metric-grid article,
.statistics-time-grid article,
.statistics-card {
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: #fbfdff;
}

.statistics-metric-grid article {
  padding: 16px;
}

.statistics-metric-grid span,
.statistics-metric-grid small {
  display: block;
}

.statistics-metric-grid span,
.statistics-time-grid span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.statistics-metric-grid strong {
  display: block;
  margin: 8px 0;
  color: #122033;
  font-size: 1.4rem;
}

.statistics-metric-grid small {
  color: #64748b;
}

.statistics-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.statistics-time-grid article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 16px;
}

.statistics-time-grid i {
  grid-row: span 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #9a5b00;
  background: #fff3d8;
}

.statistics-time-grid strong {
  color: #122033;
  font-size: 1.25rem;
}

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

.statistics-card {
  padding: 18px;
}

.admin-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table thead th {
  background: linear-gradient(180deg, #eef4fb 0%, #e2ebf6 100%);
  border-bottom: 1px solid #c9d7e7;
  border-top: 1px solid #d6e1ee;
  color: #28415f;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
  padding-top: 15px;
  padding-bottom: 15px;
  vertical-align: middle;
}

.admin-table thead th:first-child {
  border-top-left-radius: 8px;
}

.admin-table thead th:last-child {
  border-top-right-radius: 8px;
}

.admin-table td,
.admin-table th {
  padding-top: 14px;
  padding-bottom: 14px;
}

.admin-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.admin-table tbody tr.admin-table-row-danger,
.admin-table tbody tr.admin-table-row-danger:nth-child(even) {
  --bs-table-bg: #ffe4e6;
  --bs-table-accent-bg: #ffe4e6;
  --bs-table-striped-bg: #ffe4e6;
  --bs-table-hover-bg: #fff7f7;
  background-color: #ffe4e6;
}

.admin-table tbody tr.admin-table-row-danger > td,
.admin-table tbody tr.admin-table-row-danger:nth-child(even) > td {
  background-color: #ffe4e6;
}

.admin-table tbody tr.admin-table-row-danger td {
  border-color: #f3d4d8;
}

.admin-table-subtext {
  color: #6b7280;
  font-size: 0.9rem;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #174ea6;
  font-weight: 700;
  font-size: 0.86rem;
}

.admin-status-chip-gold {
  background: #fff7df;
  color: #8a5b00;
  margin-left: 8px;
}

.admin-status-chip-muted {
  background: #f1f5f9;
  color: #64748b;
}

.admin-status-age {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 7px;
  padding: 7px 10px;
  white-space: nowrap;
}

.admin-status-age.is-normal {
  background: #eef6ff;
  color: #1d4f86;
}

.admin-status-age.is-warning {
  background: #fff7df;
  color: #8a5b00;
}

.admin-status-age.is-danger {
  background: #fff1f2;
  color: #be123c;
}

.admin-status-age.is-complete {
  background: #ecfdf3;
  color: #166534;
}

.admin-status-age--large {
  border-radius: 8px;
  justify-content: center;
  margin-top: 14px;
  width: 100%;
}

.admin-status-timeline {
  display: grid;
  gap: 14px;
}

.admin-status-timeline-item {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 18px minmax(0, 1fr);
  position: relative;
}

.admin-status-timeline-item::before {
  background: #d7e0eb;
  content: "";
  height: calc(100% + 14px);
  left: 8px;
  position: absolute;
  top: 18px;
  width: 2px;
}

.admin-status-timeline-item:last-child::before {
  display: none;
}

.admin-status-timeline-dot {
  background: #f5a623;
  border: 3px solid #fff7df;
  border-radius: 999px;
  height: 18px;
  position: relative;
  width: 18px;
  z-index: 1;
}

.admin-status-timeline-item strong,
.admin-status-timeline-item small {
  display: block;
}

.admin-status-timeline-item small {
  color: #64748b;
  margin-top: 3px;
}

.admin-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #153b64 0%, #1f578d 45%, #f5a623 100%);
}

.admin-auth-card {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 440px);
  gap: 26px;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(11, 24, 43, 0.22);
  backdrop-filter: blur(10px);
}

.admin-auth-card--compact {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.admin-auth-copy {
  color: #fff;
  padding: 18px 10px;
}

.admin-auth-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.05;
  max-width: 14ch;
}

.admin-auth-copy p,
.admin-auth-copy li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.admin-auth-copy ul {
  margin: 20px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.admin-auth-form-panel {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.admin-auth-form-header h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.admin-auth-form-header p {
  color: #64748b;
  margin-bottom: 24px;
}

.admin-auth-form .form-control {
  border-radius: 8px;
}

.admin-auth-links {
  margin-top: 18px;
  text-align: center;
}

.admin-auth-links a {
  color: #1d4f86;
  font-weight: 600;
  text-decoration: none;
}

.admin-auth-links a:hover {
  text-decoration: underline;
}

.admin-form-panel {
  max-width: 920px;
}

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

.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-actions-cell {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 20px;
}

.admin-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-filter-grid--products {
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.8fr) auto;
}

.admin-filter-grid--couriers {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) auto auto;
}

.admin-filter-check {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding-top: 28px;
}

.admin-form-card {
  background: #fff;
  border: 1px solid rgba(33, 37, 41, 0.12);
  border-radius: 8px;
  padding: 16px;
}

.survey-shell {
  background: #f7f3ed;
  display: grid;
  min-height: calc(100vh - 180px);
  padding: 48px 16px;
  place-items: center;
}

.survey-card {
  background: #fff;
  border: 1px solid rgba(43, 37, 32, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(43, 37, 32, 0.08);
  padding: clamp(20px, 4vw, 40px);
  width: min(760px, 100%);
}

.survey-card--thanks {
  text-align: center;
}

.survey-header span,
.survey-card--thanks span {
  color: #8a6530;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.survey-header h1,
.survey-card--thanks h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 12px;
}

.survey-header p,
.survey-card--thanks p {
  color: #74695e;
  line-height: 1.6;
}

.survey-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.survey-question {
  border-top: 1px solid rgba(43, 37, 32, 0.1);
  padding-top: 20px;
}

.survey-question > label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}

.survey-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 7px;
}

.survey-rating input {
  opacity: 0;
  position: absolute;
}

.survey-rating label {
  background: #fff;
  border: 1px solid rgba(43, 37, 32, 0.18);
  border-radius: 50%;
  color: #74695e;
  cursor: pointer;
  display: grid;
  font-weight: 700;
  height: 43px;
  place-items: center;
  width: 43px;
}

.survey-rating input:checked ~ label,
.survey-rating label:hover,
.survey-rating label:hover ~ label {
  background: #f2b84b;
  border-color: #f2b84b;
  color: #1f1a14;
}

.admin-form-grid--wide {
  grid-column: 1 / -1;
}

.admin-shipment-order-list {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: grid;
  max-height: 420px;
  overflow: auto;
}

.admin-shipment-order-option {
  align-items: flex-start;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0;
  padding: 14px 16px;
}

.admin-shipment-order-option:last-child {
  border-bottom: 0;
}

.admin-shipment-order-option:hover {
  background: #fbfdff;
}

.admin-shipment-order-option input {
  margin-top: 4px;
}

.admin-shipment-order-option strong,
.admin-shipment-order-option small {
  display: block;
}

.admin-shipment-order-option small {
  color: #64748b;
  margin-top: 3px;
}

.admin-route-preview {
  background: #fbfdff;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.admin-route-preview span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-route-preview strong {
  color: #122033;
}

.shipment-progress-track {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}

.shipment-progress-track li {
  color: #64748b;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  position: relative;
  text-align: center;
}

.shipment-progress-track li::before,
.shipment-progress-track li::after {
  background: #d7e0eb;
  content: "";
  height: 3px;
  position: absolute;
  top: 12px;
  width: 50%;
  z-index: 0;
}

.shipment-progress-track li::before {
  left: 0;
}

.shipment-progress-track li::after {
  right: 0;
}

.shipment-progress-track li:first-child::before,
.shipment-progress-track li:last-child::after {
  display: none;
}

.shipment-progress-track li.is-lit {
  color: #1d4f86;
}

.shipment-progress-track li.is-lit::before,
.shipment-progress-track li.is-past::after {
  background: #f5a623;
}

.shipment-progress-track li.is-current .shipment-progress-dot {
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18), 0 0 18px rgba(245, 166, 35, 0.42);
}

.shipment-progress-dot {
  background: #fff;
  border: 3px solid #cbd5e1;
  border-radius: 999px;
  height: 26px;
  position: relative;
  width: 26px;
  z-index: 1;
}

.shipment-progress-track li.is-lit .shipment-progress-dot {
  background: #f5a623;
  border-color: #d98910;
}

.shipment-progress-track li.is-lit .shipment-progress-dot::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 6px;
  position: absolute;
  top: 6px;
  width: 8px;
}

.shipment-progress-label {
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.admin-pagination-status {
  color: #64748b;
  font-weight: 600;
}

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

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

.admin-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.admin-detail-row span {
  color: #64748b;
  font-weight: 600;
}

.admin-detail-row strong {
  color: #122033;
  text-align: right;
}

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

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

.admin-order-item-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-order-item-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.admin-order-item-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-order-item-top h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.admin-order-item-top p {
  margin: 0;
  color: #64748b;
}

.admin-order-item-pricing {
  display: grid;
  justify-items: end;
  text-align: right;
  gap: 4px;
}

.admin-order-item-pricing strong {
  font-size: 1.12rem;
  color: #122033;
}

.admin-order-item-pricing span {
  color: #475569;
}

.admin-order-item-pricing small {
  color: #94a3b8;
  text-decoration: line-through;
}

.admin-modal {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.admin-modal .modal-header,
.admin-modal .modal-footer {
  border-color: #e2e8f0;
  padding: 18px 22px;
  background: #fff;
  z-index: 2;
}

.admin-modal .modal-body {
  padding: 22px;
}

.admin-modal .modal-header {
  position: sticky;
  top: 0;
}

.admin-modal .modal-footer {
  position: sticky;
  bottom: 0;
  justify-content: flex-end;
}

.admin-modal-subtitle {
  color: #64748b;
  margin-top: 6px;
}

.admin-modal--product .modal-dialog,
.admin-modal--product {
  max-width: 100%;
}

.admin-modal-tabs {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.admin-modal-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-weight: 700;
  padding: 12px 16px;
}

.admin-modal-tabs .nav-link:hover,
.admin-modal-tabs .nav-link:focus {
  color: #122033;
  border-color: transparent;
}

.admin-modal-tabs .nav-link.active {
  color: #122033;
  background: transparent;
  border-color: #f59e0b;
}

.admin-modal-tab-content {
  min-height: 420px;
}

.admin-product-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-product-summary > div {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-product-summary-label {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-product-summary strong {
  color: #122033;
  font-size: 1rem;
}

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

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

.admin-toggle-grid {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.admin-toggle-grid .form-check {
  min-width: 180px;
  padding: 16px 18px 16px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfdff;
}

@media (max-width: 1120px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .statistics-filter,
  .statistics-kpi-grid,
  .statistics-metric-grid,
  .statistics-time-grid,
  .statistics-dashboard-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-summary {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .admin-main,
  .admin-sidebar,
  .admin-auth-shell {
    padding: 18px;
  }

  .admin-hero,
  .admin-panel,
  .admin-auth-card,
  .admin-auth-form-panel {
    padding: 20px;
  }

  .admin-hero,
  .admin-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-bar-row {
    grid-template-columns: 1fr;
  }

  .admin-stat-bar-row small {
    text-align: left;
  }

  .statistics-hero-summary,
  .statistics-section-header {
    align-items: stretch;
  }

  .statistics-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .admin-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-grid--products {
    grid-template-columns: 1fr;
  }

  .admin-filter-grid--couriers {
    grid-template-columns: 1fr;
  }

  .admin-filter-check {
    padding-top: 0;
  }

  .shipment-progress-track {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .shipment-progress-track li {
    align-items: center;
    gap: 10px;
    grid-template-columns: 26px minmax(0, 1fr);
    justify-items: start;
    min-height: 44px;
    text-align: left;
  }

  .shipment-progress-track li::before,
  .shipment-progress-track li::after {
    height: 50%;
    left: 12px;
    width: 3px;
  }

  .shipment-progress-track li::before {
    top: 0;
  }

  .shipment-progress-track li::after {
    bottom: 0;
    right: auto;
    top: auto;
  }

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

  .admin-modal-tab-content {
    min-height: 0;
  }

  .admin-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-detail-row,
  .admin-order-item-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-detail-row strong,
  .admin-order-item-pricing {
    text-align: left;
    justify-items: start;
  }

  .admin-order-dates,
  .admin-order-item-card {
    grid-template-columns: 1fr;
  }
}
