:root {
    --bg: #ffffff;
    --bg-soft: #f6f6f6;
    --card: #ffffff;
    --card-2: #fafafa;
    --text: #111111;
    --muted: #555555;
    --primary: #1f1f1f;
    --primary-2: #333333;
    --accent: #666666;
    --border: #d8d8d8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 24px rgba(12, 20, 36, 0.08);
    --shadow-hover: 0 16px 34px rgba(12, 20, 36, 0.16);
    --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

/* Reference storefront: black, gold and compact jewelry commerce */
:root {
  --jewel-black: #050505;
  --jewel-black-2: #0d0b08;
  --jewel-gold-ref: #c9963e;
  --jewel-gold-light: #e4bc72;
  --jewel-line: rgba(201, 150, 62, 0.32);
  --jewel-paper: #ffffff;
  --jewel-paper-soft: #f8f8f8;
}

/* Premium cart redesign */
body.cart-page {
  --cart-primary: #C9A227;
  --cart-primary-hover: #B58E16;
  --cart-bg: #FAFAFA;
  --cart-card: #FFFFFF;
  --cart-border: #ECECEC;
  --cart-title: #1E1E1E;
  --cart-muted: #6B7280;
  --cart-success-bg: #EAF7EE;
  --cart-success: #2E7D32;
  background: var(--cart-bg) !important;
  color: var(--cart-title);
}

body.cart-page .container.simple-page {
  width: min(100% - 64px, 1480px) !important;
  max-width: 1480px !important;
  padding: 28px 0 72px !important;
}

body.cart-page .cart-page-shell,
body.cart-page .cart-main-column {
  display: grid;
  gap: 24px;
}

body.cart-page .cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--cart-muted) !important;
  font-size: 14px;
}

body.cart-page .cart-breadcrumb a {
  color: var(--cart-muted) !important;
  text-decoration: none;
  transition: color .25s ease;
}

body.cart-page .cart-breadcrumb a:hover {
  color: var(--cart-primary) !important;
}

body.cart-page .cart-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

body.cart-page .cart-page-heading h1 {
  margin: 0;
  color: var(--cart-title) !important;
  font-family: var(--lux-sans, Inter, "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 32px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.cart-page .cart-page-heading p {
  margin: 8px 0 0;
  color: var(--cart-muted) !important;
  font-size: 16px;
}

body.cart-page .clear-cart-btn,
body.cart-page .drawer-remove-btn,
body.cart-page .cart-remove-link,
body.cart-page .cart-save-btn,
body.cart-page .cart-recommendation-fav {
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

body.cart-page .clear-cart-btn {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--cart-border);
  border-radius: 12px;
  background: #fff;
  color: var(--cart-muted);
  font-size: 13px;
  font-weight: 700;
}

body.cart-page .clear-cart-btn:hover {
  border-color: #F2C8C8;
  color: #B42318;
  background: #FFF8F8;
}

body.cart-page .cart-page-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 72fr) minmax(320px, 28fr) !important;
  gap: 28px !important;
  align-items: start;
  max-width: none !important;
  margin: 0 !important;
}

body.cart-page #cart-items-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.cart-page .cart-page-item,
body.cart-page .cart-coupon-band,
body.cart-page .cart-summary-shell,
body.cart-page .cart-recommendation-card,
body.cart-page .cart-guest-banner {
  border: 1px solid var(--cart-border) !important;
  background: var(--cart-card) !important;
  color: var(--cart-title) !important;
  box-shadow: none !important;
}

body.cart-page .cart-page-item {
  min-height: 178px;
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, auto) !important;
  gap: 24px;
  align-items: center;
  padding: 24px !important;
  border-radius: 16px !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

body.cart-page .cart-page-item:hover {
  transform: translateY(-3px);
  border-color: #E2D4A5 !important;
  box-shadow: 0 14px 34px rgba(30, 30, 30, .07) !important;
}

body.cart-page .cart-item-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

body.cart-page .cart-item-image,
body.cart-page .cart-recommendation-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--cart-border);
  background: #fff;
}

body.cart-page .cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 14px;
}

body.cart-page .cart-item-image img,
body.cart-page .cart-recommendation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

body.cart-page .cart-page-item:hover .cart-item-image img,
body.cart-page .cart-recommendation-card:hover .cart-recommendation-image img {
  transform: scale(1.05);
}

body.cart-page .cart-item-meta {
  display: grid;
  gap: 12px;
  min-width: 0;
}

body.cart-page .cart-item-meta h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 550;
}

body.cart-page .cart-item-link,
body.cart-page .cart-recommendation-card h3 a {
  color: var(--cart-title) !important;
  text-decoration: none;
}

body.cart-page .cart-item-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
  color: var(--cart-muted);
  font-size: 15px;
}

body.cart-page .cart-item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

body.cart-page .cart-save-btn,
body.cart-page .cart-remove-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cart-muted);
  font-size: 14px;
  font-weight: 650;
}

body.cart-page .cart-save-btn:hover {
  color: var(--cart-primary);
}

body.cart-page .cart-remove-link:hover {
  color: #B42318;
}

body.cart-page .cart-page-actions {
  display: grid !important;
  grid-template-columns: 126px 116px 136px 44px !important;
  gap: 14px;
  align-items: center;
  justify-content: end;
}

body.cart-page .cart-price-block {
  display: grid;
  gap: 7px;
  text-align: right;
}

body.cart-page .cart-price-block span {
  color: var(--cart-muted);
  font-size: 12px;
  font-weight: 700;
}

body.cart-page .cart-price-block strong,
body.cart-page .cart-unit-price {
  color: var(--cart-title) !important;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.1;
}

body.cart-page .cart-qty-wrap {
  width: 116px;
  height: 42px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--cart-border);
  border-radius: 12px;
  background: #fff;
}

body.cart-page .cart-qty-wrap button {
  min-width: 0;
  width: 38px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--cart-title);
  font-size: 18px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

body.cart-page .cart-qty-wrap button:hover {
  background: var(--cart-primary);
  color: #fff;
}

body.cart-page .cart-qty-wrap span {
  display: grid;
  place-items: center;
  min-width: 40px;
  color: var(--cart-title);
  font-size: 15px;
  font-weight: 650;
  border-inline: 1px solid var(--cart-border);
}

body.cart-page .drawer-remove-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid var(--cart-border);
  border-radius: 12px;
  background: #fff;
  color: #C33A3A;
  font-size: 22px;
  line-height: 1;
}

body.cart-page .drawer-remove-btn:hover {
  border-color: #F2C8C8;
  background: #FFF5F5;
  transform: translateY(-1px);
}

body.cart-page .cart-empty-state {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cart-border);
  border-radius: 16px;
  background: #fff;
  color: var(--cart-muted);
  font-size: 16px;
}

body.cart-page .cart-coupon-band {
  display: grid;
  gap: 16px;
  padding: 24px !important;
  border-radius: 16px !important;
}

body.cart-page .cart-coupon-band h2,
body.cart-page .cart-summary-shell h2,
body.cart-page .cart-recommendations h2 {
  margin: 0;
  color: var(--cart-title) !important;
  font-family: var(--lux-sans, Inter, "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.cart-page .cart-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 0;
}

body.cart-page .cart-tool-row input {
  min-height: 52px;
  min-width: 0;
  border: 1px solid var(--cart-border);
  border-radius: 12px !important;
  background: #fff;
  color: var(--cart-title);
  padding: 0 16px;
  font-size: 15px;
}

body.cart-page .cart-tool-row button,
body.cart-page .cart-summary-actions .btn-primary,
body.cart-page .cart-recommendation-add {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--cart-primary) !important;
  color: #fff !important;
  font-weight: 750;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body.cart-page .cart-tool-row button {
  min-height: 52px;
  border-radius: 12px !important;
  padding: 0 24px;
}

body.cart-page .cart-tool-row button:hover,
body.cart-page .cart-summary-actions .btn-primary:hover,
body.cart-page .cart-recommendation-add:hover {
  background: var(--cart-primary-hover) !important;
}

body.cart-page .cart-summary-shell {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
  height: fit-content;
  padding: 28px !important;
  border-radius: 16px !important;
}

body.cart-page .cart-summary-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 4px;
}

body.cart-page .cart-summary-list > div,
body.cart-page .cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  color: var(--cart-muted);
  font-size: 15px;
}

body.cart-page .cart-summary-list dt,
body.cart-page .cart-summary-list dd {
  margin: 0;
}

body.cart-page .cart-summary-list dd {
  color: var(--cart-title);
  font-weight: 650;
}

body.cart-page #cart-discount {
  color: var(--cart-success);
}

body.cart-page .cart-vat-row {
  display: none !important;
}

body.cart-page .cart-shipping-goal,
body.cart-page .cart-campaign-feedback {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #DDEFE2;
  border-radius: 12px;
  background: var(--cart-success-bg);
  color: var(--cart-success);
  font-size: 14px;
  font-weight: 650;
}

body.cart-page .cart-campaign-feedback:empty,
body.cart-page .cart-cargo-companies:empty {
  display: none;
}

body.cart-page .cart-cargo-companies {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--cart-border);
  border-radius: 12px;
  background: #fff;
  color: var(--cart-muted);
  font-size: 14px;
}

body.cart-page .cart-summary-total {
  padding-top: 18px;
  border-top: 1px solid var(--cart-border);
}

body.cart-page .cart-summary-total strong {
  color: var(--cart-title);
  font-size: 16px;
}

body.cart-page .cart-summary-total span {
  color: var(--cart-title) !important;
  font-family: var(--lux-sans, Inter, "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 30px !important;
  font-weight: 800;
  letter-spacing: 0;
}

body.cart-page .cart-summary-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px;
  margin: 0;
}

body.cart-page .cart-summary-actions .btn-primary,
body.cart-page .cart-summary-actions .btn-secondary {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .04em;
}

body.cart-page .cart-summary-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.34), transparent 85%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}

body.cart-page .cart-summary-actions .btn-primary:hover::after {
  transform: translateX(120%);
}

body.cart-page .cart-summary-actions .btn-secondary {
  border: 1px solid var(--cart-border) !important;
  background: #fff !important;
  color: var(--cart-title) !important;
  font-weight: 750;
}

body.cart-page .cart-summary-actions .btn-secondary:hover {
  border-color: var(--cart-primary) !important;
  color: var(--cart-primary) !important;
}

body.cart-page .cart-trust-stack {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

body.cart-page .cart-trust-stack div {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--cart-border);
  border-radius: 12px;
  background: #fff;
}

body.cart-page .cart-trust-stack svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--cart-title);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.cart-page .cart-trust-stack strong {
  color: var(--cart-title);
  font-size: 14px;
  font-weight: 650;
}

body.cart-page .cart-guest-banner {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  color: var(--cart-muted) !important;
}

body.cart-page .cart-guest-banner:empty {
  display: none;
}

body.cart-page .cart-guest-banner strong {
  color: var(--cart-title);
}

body.cart-page .cart-guest-banner .cart-guest-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.cart-page .cart-guest-banner .cart-action-btn {
  min-height: 40px;
  border-radius: 10px;
  background: var(--cart-primary) !important;
}

body.cart-page .cart-hidden-action {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.cart-page .cart-recommendations {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

body.cart-page .cart-recommendations h2 {
  font-size: 24px !important;
}

body.cart-page .cart-recommendations-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 250px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 14px;
  scroll-snap-type: inline mandatory;
}

body.cart-page .cart-recommendation-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  scroll-snap-align: start;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

body.cart-page .cart-recommendation-card:hover {
  transform: translateY(-3px);
  border-color: #E2D4A5 !important;
  box-shadow: 0 14px 30px rgba(30, 30, 30, .07) !important;
}

body.cart-page .cart-recommendation-image {
  aspect-ratio: 1;
  border-radius: 14px;
}

body.cart-page .cart-recommendation-fav {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cart-border);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--cart-title);
  font-size: 20px;
}

body.cart-page .cart-recommendation-fav:hover {
  color: var(--cart-primary);
  border-color: var(--cart-primary);
}

body.cart-page .cart-recommendation-card h3 {
  min-height: 44px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 650;
}

body.cart-page .cart-recommendation-card p {
  margin: 0;
  color: var(--cart-title);
  font-size: 18px;
  font-weight: 800;
}

body.cart-page .cart-recommendation-add {
  min-height: 44px;
  border-radius: 12px;
}

@media (max-width: 1180px) {
  body.cart-page .cart-page-layout {
    grid-template-columns: 1fr !important;
  }

  body.cart-page .cart-summary-shell {
    position: static;
  }
}

@media (max-width: 900px) {
  body.cart-page .container.simple-page {
    width: min(100% - 28px, 1480px) !important;
    padding-top: 22px !important;
  }

  body.cart-page .cart-page-heading {
    align-items: start;
    flex-direction: column;
  }

  body.cart-page .cart-page-item {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }

  body.cart-page .cart-page-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 44px !important;
    justify-content: stretch;
  }

  body.cart-page .cart-qty-wrap {
    justify-self: center;
  }

  body.cart-page .cart-line-total {
    text-align: left;
  }
}

@media (max-width: 768px) {
  body.cart-page .cart-item-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body.cart-page .cart-item-image {
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 1;
  }

  body.cart-page .cart-item-specs,
  body.cart-page .cart-item-links {
    justify-content: center;
  }

  body.cart-page .cart-page-actions {
    grid-template-columns: 1fr !important;
    justify-items: stretch;
  }

  body.cart-page .cart-price-block,
  body.cart-page .cart-line-total {
    text-align: center;
  }

  body.cart-page .cart-qty-wrap {
    justify-self: center;
  }

  body.cart-page .drawer-remove-btn {
    justify-self: center;
  }

  body.cart-page .cart-tool-row {
    grid-template-columns: 1fr;
  }

  body.cart-page .cart-tool-row button,
  body.cart-page .clear-cart-btn {
    width: 100%;
  }

  body.cart-page .cart-guest-banner .cart-guest-banner-top {
    align-items: stretch;
    flex-direction: column;
  }

  body.cart-page .cart-recommendations-list {
    grid-auto-columns: minmax(190px, 78vw);
  }
}

body {
  background: #fff;
  color: #171717;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--jewel-black);
  border-bottom: 1px solid var(--jewel-line);
  color: #fff;
  box-shadow: none;
}

.store-topbar {
  border-bottom: 1px solid rgba(201, 150, 62, 0.35);
  background: #030303;
  color: #fff;
  font-size: 0.82rem;
}

.store-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  white-space: nowrap;
}

.store-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.store-topbar span::before {
  content: "◇";
  color: var(--jewel-gold-ref);
  font-size: 0.92rem;
}

.header-inner {
  min-height: 100px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
}

.logo {
  gap: 0.78rem;
  color: var(--jewel-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: transparent;
  color: var(--jewel-gold-light);
  border: 1px solid var(--jewel-line);
  box-shadow: none;
}

.logo-text {
  display: grid;
  line-height: 1.05;
  text-align: center;
}

.logo-text strong {
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 500;
}

.logo-text small {
  color: var(--jewel-gold-light);
  font-size: 0.84rem;
  letter-spacing: 0.48em;
}

.main-store-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-store-nav a {
  position: relative;
  padding: 0.7rem 0;
}

.main-store-nav a.active,
.main-store-nav a:hover {
  color: var(--jewel-gold-light);
}

.main-store-nav a.active::after,
.main-store-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--jewel-gold-ref);
}

.header-actions {
  gap: 0.78rem;
  color: #fff;
}

.header-currency-tools {
  display: none;
}

.search-bar {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search-bar input {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
}

.search-bar button,
.header-icon-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font-size: 1.45rem;
  line-height: 1;
}

.search-bar button:hover,
.header-icon-link:hover {
  color: var(--jewel-gold-light);
}

.cart {
  position: relative;
}

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  margin: 0;
  min-width: 18px;
  height: 18px;
  background: var(--jewel-gold-light);
  color: #111;
  font-size: 0.72rem;
}

body[data-page="home"] {
  background: #fff;
}

body[data-page="home"] .site-header {
  background: #030303;
  border-bottom-color: var(--jewel-line);
}

.jewel-hero {
  margin: 0;
  background: #050505;
}

.jewel-hero .hero-visual,
.jewel-hero .hero-slider-window,
.jewel-hero .hero-slide {
  min-height: 590px;
  height: 590px;
  border: 0;
  background: #050505;
}

.jewel-hero .hero-slide {
  position: relative;
}

.jewel-hero .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.36));
}

.jewel-hero .hero-slide img {
  height: 590px;
  object-fit: cover;
  object-position: right center;
  filter: saturate(1.04) contrast(1.06);
}

.jewel-hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}

.jewel-hero-copy > * {
  pointer-events: auto;
  max-width: 570px;
}

.jewel-hero-copy p:first-child {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.jewel-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 500;
  line-height: 0.96;
}

.jewel-hero-copy h1 span {
  display: block;
  color: var(--jewel-gold-light);
}

.hero-divider {
  width: min(350px, 70%);
  margin: 1.55rem 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--jewel-gold-ref);
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--jewel-gold-ref);
}

.jewel-hero-lead {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.75;
}

.jewel-cta {
  margin-top: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 250px;
  min-height: 56px;
  padding: 0.9rem 1.45rem;
  border: 1px solid var(--jewel-gold-ref);
  color: var(--jewel-gold-light);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jewel-cta:hover {
  background: var(--jewel-gold-ref);
  color: #050505;
}

.jewel-hero .hero-slider-nav {
  display: none;
}

.jewel-hero .hero-slider-dots {
  z-index: 3;
  bottom: 24px;
}

.jewel-hero .hero-dot {
  width: 11px;
  height: 11px;
  background: #fff;
  opacity: 1;
}

.jewel-hero .hero-dot.active {
  background: var(--jewel-gold-ref);
}

.jewel-benefits {
  background: #fff;
  border-bottom: 1px solid #e6e1d9;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.jewel-benefits-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.jewel-benefits article,
.jewel-newsletter-row > article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.18rem 0.9rem;
  align-items: center;
}

.jewel-benefits span,
.jewel-newsletter-row > article > span {
  grid-row: span 2;
  color: var(--jewel-gold-ref);
  font-size: 2.35rem;
}

.jewel-benefits strong,
.jewel-newsletter-row strong {
  color: #111;
  font-size: 0.94rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jewel-benefits p,
.jewel-newsletter-row p {
  margin: 0;
  color: #555;
  font-size: 0.86rem;
}

.jewel-section {
  margin-top: 2rem;
}

.jewel-section-title {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  text-align: center;
}

.jewel-section-title span {
  height: 1px;
  background: var(--jewel-gold-ref);
}

.jewel-section-title h2 {
  margin: 0;
  color: #171717;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jewel-section-title.with-link {
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr) auto;
}

.jewel-section-title.with-link > a {
  color: #111;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.jewel-category-card {
  min-height: 216px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  padding: 1rem;
  border: 1px solid #e0ded9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7f7f7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.category-jewel-visual {
  width: 100%;
  min-height: 112px;
  position: relative;
}

.category-jewel-visual::before {
  content: "";
  position: absolute;
  inset: 18px 10% 10px;
  border: 9px solid #d7a34b;
  border-radius: 999px;
  transform: rotate(-14deg);
  box-shadow: 12px 10px 0 rgba(227, 195, 122, 0.38), inset 0 0 0 2px #fff0c9;
}

.category-jewel-visual::after {
  content: "◇";
  position: absolute;
  right: 20%;
  bottom: 18px;
  color: #d7a34b;
  font-size: 1.8rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.jewel-category-card strong {
  margin-top: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.jewel-category-card small {
  margin-top: 0.25rem;
  color: #333;
}

.jewel-category-card small span,
.jewel-section-title.with-link > a,
.jewel-category-card:hover strong {
  color: var(--jewel-gold-ref);
}

.jewel-product-grid,
.product-grid.jewel-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.35rem;
}

.product-card {
  position: relative;
  border: 1px solid #e1dfdb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 0.85rem;
  color: #151515;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 150, 62, 0.58);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.11);
}

.product-image {
  min-height: 190px;
  height: 190px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f2f2f2);
  padding: 0.35rem;
  display: grid;
  place-items: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.product-image > span:not(:only-child) {
  display: none;
}

.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #dfd7ca;
  background: #fff;
  color: #151515;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  font-size: 1.2rem;
}

.product-title {
  margin: 0.8rem 0 0;
  min-height: 42px;
  color: #111;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 500;
}

.product-rating-line {
  margin: 0.22rem 0 0;
  color: #d89422;
  font-size: 0.86rem;
}

.product-rating-line span {
  color: #555;
}

.product-meta-line,
.jewelry-spec-line {
  display: none;
}

.price-summary {
  margin-top: 0.25rem;
}

.price-summary .price,
.price {
  color: #111;
  font-size: 1.08rem;
  font-weight: 850;
}

.price-summary .old-price {
  color: #777;
}

.card-actions {
  margin-top: 0.65rem;
  grid-template-columns: 1fr;
}

.add-cart-btn,
.btn-link.add-cart-btn {
  min-height: 42px;
  border-radius: 4px;
  background: #050505;
  border: 1px solid #050505;
  color: var(--jewel-gold-light);
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-cart-btn:hover:not(:disabled) {
  background: var(--jewel-gold-ref);
  border-color: var(--jewel-gold-ref);
  color: #050505;
}

.cart-btn-icon {
  stroke: currentColor;
}

.discount-rate-badge,
.product-tag-badge {
  border-radius: 4px;
  background: var(--jewel-gold-ref);
  color: #111;
}

.jewel-collection-banner {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 6px;
  background: #050505;
  color: #fff;
}

.jewel-collection-banner div {
  padding: 0.8rem 1.2rem;
  align-self: center;
}

.jewel-collection-banner small {
  color: var(--jewel-gold-light);
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jewel-collection-banner h2 {
  margin: 0.4rem 0 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.jewel-collection-banner p {
  margin: 0 0 1rem;
}

.jewel-collection-banner a {
  display: inline-flex;
  padding: 0.72rem 1.2rem;
  border-radius: 4px;
  background: var(--jewel-gold-light);
  color: #111;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jewel-collection-banner img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 4px;
}

.jewel-newsletter-row {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  border-top: 1px solid #e2ded6;
  border-bottom: 1px solid #e2ded6;
}

.jewel-newsletter-row > article {
  padding: 1.2rem 1rem;
  border-right: 1px solid #e2ded6;
}

.jewel-newsletter-row > article:last-child {
  border-right: 0;
}

.newsletter-card {
  display: block !important;
}

.newsletter-card h3 {
  margin: 0;
  max-width: 250px;
  font-size: 1rem;
  line-height: 1.18;
  text-transform: uppercase;
}

.newsletter-card form {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 44px;
  border: 1px solid #ded8cd;
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-card input {
  min-width: 0;
  border: 0;
  padding: 0.72rem 0.85rem;
  outline: none;
}

.newsletter-card button {
  border: 0;
  background: var(--jewel-gold-ref);
  color: #fff;
  cursor: pointer;
}

.jewel-hidden-collection {
  display: none;
}

.site-footer {
  margin-top: 0;
  background: #050505;
  border-top: 1px solid var(--jewel-line);
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  padding: 1.8rem 0 1.3rem;
}

.footer-grid h4 {
  color: var(--jewel-gold-light);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  color: #ddd;
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .store-topbar-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-inner {
    grid-template-columns: 1fr;
    padding: 1rem 0;
  }

  .main-store-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    justify-content: flex-start;
  }

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

  .jewel-benefits-grid,
  .jewel-newsletter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.4rem, 1360px);
  }

  .store-topbar {
    font-size: 0.76rem;
  }

  .logo-text strong {
    font-size: 1.35rem;
  }

  .logo-text small {
    letter-spacing: 0.28em;
  }

  .main-store-nav {
    font-size: 0.78rem;
    gap: 1rem;
  }

  .jewel-hero .hero-visual,
  .jewel-hero .hero-slider-window,
  .jewel-hero .hero-slide,
  .jewel-hero .hero-slide img {
    min-height: 520px;
    height: 520px;
  }

  .jewel-hero-copy {
    padding-top: 1.5rem;
  }

  .jewel-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .jewel-cta {
    min-width: 210px;
  }

  .jewel-benefits-grid,
  .jewel-category-grid,
  .jewel-product-grid,
  .product-grid.jewel-product-grid,
  .jewel-newsletter-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .jewel-section-title,
  .jewel-section-title.with-link {
    grid-template-columns: 1fr;
  }

  .jewel-section-title span {
    display: none;
  }

  .jewel-collection-banner {
    grid-template-columns: 1fr;
  }

  .jewel-collection-banner img {
    height: 190px;
  }
}

/* Targeted polish after category/listing compare QA */
.category-product-hero {
  position: relative;
  align-content: end;
  gap: 18px;
  min-height: clamp(360px, 44vw, 520px);
}

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

.category-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: min(100%, 920px);
  margin: 0 0 4px !important;
  color: var(--lux-text-2) !important;
  font-size: .86rem !important;
  line-height: 1.4;
}

.category-breadcrumb a,
.category-breadcrumb strong {
  color: var(--lux-text) !important;
  font-weight: 500;
}

.category-breadcrumb span {
  color: var(--lux-gold) !important;
}

.category-product-hero h1 {
  max-width: 100%;
  margin: 0 !important;
  overflow-wrap: anywhere;
  font-size: clamp(3.4rem, 10vw, 7rem) !important;
  line-height: .88 !important;
}

.category-ornament.compact {
  width: min(230px, 48vw);
  height: 1px;
  margin: 4px 0 12px !important;
  background: var(--lux-gold);
}

.category-ornament.compact::before,
.category-ornament.compact::after {
  display: none !important;
}

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

.product-card .card-actions {
  min-height: 46px;
  margin-top: auto !important;
}

.product-card .add-cart-btn,
.product-card:hover .add-cart-btn,
.product-card:focus-within .add-cart-btn {
  opacity: 1 !important;
  transform: none !important;
}

.category-listing-area .product-card {
  padding-bottom: 18px !important;
}

.category-listing-area .category-detail-link {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.compare-result {
  margin-top: 24px;
  overflow-x: auto;
}

.compare-result .table-responsive {
  width: 100%;
  overflow-x: auto;
}

.compare-result table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-result th,
.compare-result td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--lux-divider);
  color: var(--lux-text-2);
  text-align: left;
  vertical-align: top;
}

.compare-result th {
  color: var(--lux-gold-light);
  font-family: var(--lux-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.compare-result td:first-child,
.compare-result th:first-child {
  width: 150px;
  color: var(--lux-text);
  font-weight: 700;
}

.compare-result .btn-secondary {
  min-height: 38px;
  padding: 8px 16px;
  white-space: nowrap;
}

.category-filter-card details {
  padding: 16px 0;
}

.category-filter-card details > a,
.category-filter-card details > label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-top: 10px;
  color: var(--lux-text-2);
  font-size: .92rem;
}

.category-filter-card details > a:hover,
.category-filter-card details > label:hover {
  color: var(--lux-gold-light);
}

@media (max-width: 768px) {
  .category-product-hero {
    min-height: 360px;
    padding: 42px 24px !important;
  }

  .category-product-hero h1 {
    font-size: clamp(3rem, 18vw, 4.8rem) !important;
  }

  .compare-result table {
    min-width: 620px;
  }
}

/* Dark jewelry language for every storefront page except home and admin */
body:not([data-page="home"]):not([data-page="admin"]) {
  --inner-bg: #070806;
  --inner-panel: rgba(10, 13, 11, .96);
  --inner-panel-2: rgba(13, 16, 14, .98);
  --inner-border: rgba(201, 150, 62, .32);
  --inner-text: #efe7d7;
  --inner-muted: #a99f8d;
  background:
    radial-gradient(circle at 70% 12%, rgba(201, 150, 62, .11), transparent 34rem),
    linear-gradient(180deg, #050505 0, #0a0b09 42%, #050505 100%) !important;
  color: var(--inner-text);
}

body:not([data-page="home"]):not([data-page="admin"]) .page-shell,
body:not([data-page="home"]):not([data-page="admin"]) .simple-page,
body:not([data-page="home"]):not([data-page="admin"]) .detail-page,
body:not([data-page="home"]):not([data-page="admin"]) .page-main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .card,
body:not([data-page="home"]):not([data-page="admin"]) .form-shell,
body:not([data-page="home"]):not([data-page="admin"]) .detail-surface,
body:not([data-page="home"]):not([data-page="admin"]) .listing-toolbar,
body:not([data-page="home"]):not([data-page="admin"]) .filter-panel,
body:not([data-page="home"]):not([data-page="admin"]) .listing-pagination,
body:not([data-page="home"]):not([data-page="admin"]) .listing-empty-state {
  border: 1px solid var(--inner-border) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .005)),
    var(--inner-panel) !important;
  color: var(--inner-text);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28) !important;
}

body:not([data-page="home"]):not([data-page="admin"]) .page-main {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.55rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel {
  top: 158px;
  padding: 1.35rem 1.2rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-head {
  padding-bottom: 1.05rem;
  border-bottom: 1px solid rgba(201, 150, 62, .22);
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel h2 {
  margin: 0;
  color: var(--ref-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .04em;
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel h3,
body:not([data-page="home"]):not([data-page="admin"]) .checkout-section-title,
body:not([data-page="home"]):not([data-page="admin"]) .cart-summary-shell h3,
body:not([data-page="home"]):not([data-page="admin"]) .account-panel h2 {
  color: var(--ref-gold-light);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel section {
  border-top: 1px solid rgba(201, 150, 62, .18);
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel label,
body:not([data-page="home"]):not([data-page="admin"]) .form-field span,
body:not([data-page="home"]):not([data-page="admin"]) .form-field label,
body:not([data-page="home"]):not([data-page="admin"]) .cart-order-note span,
body:not([data-page="home"]):not([data-page="admin"]) .cart-gift-wrap-option {
  color: #d8cfbf;
}

body:not([data-page="home"]):not([data-page="admin"]) input[type="checkbox"] {
  accent-color: var(--ref-gold);
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel input[type="checkbox"] {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(201, 150, 62, .62);
  border-radius: 3px;
  background: transparent;
  vertical-align: -3px;
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel input[type="checkbox"]:checked {
  background:
    linear-gradient(135deg, transparent 46%, #050505 47% 53%, transparent 54%),
    var(--ref-gold);
}

body:not([data-page="home"]):not([data-page="admin"]) .filter-panel label.filter-with-count strong {
  color: #f6d18a;
  background: rgba(201, 150, 62, .12);
}

body:not([data-page="home"]):not([data-page="admin"]) .text-btn,
body:not([data-page="home"]):not([data-page="admin"]) .btn-secondary,
body:not([data-page="home"]):not([data-page="admin"]) .listing-pagination button {
  border: 1px solid rgba(201, 150, 62, .45);
  border-radius: 4px;
  background: rgba(201, 150, 62, .06);
  color: var(--ref-gold-light);
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="admin"]) .btn-primary,
body:not([data-page="home"]):not([data-page="admin"]) .auth-btn.btn-primary,
body:not([data-page="home"]):not([data-page="admin"]) #cart-checkout-btn {
  border: 1px solid var(--ref-gold);
  border-radius: 4px;
  background: linear-gradient(135deg, #b8842e, #f1cd82);
  color: #080806;
  box-shadow: 0 12px 26px rgba(201, 150, 62, .18);
}

body:not([data-page="home"]):not([data-page="admin"]) .listing-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: .78rem 1rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .listing-toolbar p,
body:not([data-page="home"]):not([data-page="admin"]) .listing-toolbar label {
  color: #d8cfbf;
}

body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls {
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}

body:not([data-page="home"]):not([data-page="admin"]) input,
body:not([data-page="home"]):not([data-page="admin"]) select,
body:not([data-page="home"]):not([data-page="admin"]) textarea,
body:not([data-page="home"]):not([data-page="admin"]) .price-range-fields input,
body:not([data-page="home"]):not([data-page="admin"]) .price-range-fields select,
body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls input,
body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls select {
  border: 1px solid rgba(201, 150, 62, .33);
  border-radius: 4px;
  background: rgba(0, 0, 0, .24);
  color: var(--inner-text);
  outline: none;
}

body:not([data-page="home"]):not([data-page="admin"]) input::placeholder,
body:not([data-page="home"]):not([data-page="admin"]) textarea::placeholder {
  color: rgba(239, 231, 215, .46);
}

body:not([data-page="home"]):not([data-page="admin"]) input:focus,
body:not([data-page="home"]):not([data-page="admin"]) select:focus,
body:not([data-page="home"]):not([data-page="admin"]) textarea:focus {
  border-color: var(--ref-gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 62, .12);
}

body:not([data-page="home"]):not([data-page="admin"]) .price-range-fields {
  border-color: rgba(201, 150, 62, .24);
  background: rgba(0, 0, 0, .16);
}

body:not([data-page="home"]):not([data-page="admin"]) .quick-filter-chip,
body:not([data-page="home"]):not([data-page="admin"]) .filter-tag {
  border-color: rgba(201, 150, 62, .35);
  background: rgba(201, 150, 62, .08);
  color: #e8d8bd;
}

body:not([data-page="home"]):not([data-page="admin"]) .quick-filter-chip.active {
  background: var(--ref-gold);
  color: #050505;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-card,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .product-card {
  border: 1px solid rgba(201, 150, 62, .34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)),
    #0a0c0b;
  color: var(--inner-text);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .26);
  overflow: hidden;
  padding: 0;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 188, 114, .72);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .38);
}

body:not([data-page="home"]):not([data-page="admin"]) .product-image,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .product-image {
  height: 205px;
  min-height: 205px;
  border-radius: 0;
  padding: 0;
  background: #111;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-image img,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .product-image img {
  object-fit: cover;
  border-radius: 0;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-title,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .product-title {
  margin: 1rem 1rem .45rem;
  min-height: 42px;
  color: #efe7d7;
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-rating-line,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .product-rating-line {
  margin: 0 1rem .38rem;
  display: block;
  color: var(--ref-gold-light);
  text-align: center;
}

body:not([data-page="home"]):not([data-page="admin"]) .price-summary,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .price-summary {
  margin: 0 1rem;
  display: grid;
  gap: .18rem;
  text-align: center;
  min-width: 0;
}

body:not([data-page="home"]):not([data-page="admin"]) .price-summary .price,
body:not([data-page="home"]):not([data-page="admin"]) .price,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .price-summary .price {
  color: #f6efe2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}

body:not([data-page="home"]):not([data-page="admin"]) .price-summary .old-price {
  display: block;
  color: #8f846f;
  font-size: .82rem;
  text-decoration: line-through;
}

body:not([data-page="home"]):not([data-page="admin"]) .card-actions,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .card-actions {
  margin: .65rem 1rem 1rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .add-cart-btn,
body:not([data-page="home"]):not([data-page="admin"]) .btn-link.add-cart-btn,
body:not([data-page="home"]):not([data-page="admin"]) .luxury-grid .add-cart-btn {
  min-height: 34px;
  border: 0;
  background: transparent !important;
  color: var(--ref-gold-light);
  letter-spacing: .16em;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="admin"]) .add-cart-btn:hover:not(:disabled) {
  background: rgba(201, 150, 62, .08) !important;
  color: #f6d18a;
}

body:not([data-page="home"]):not([data-page="admin"]) .wishlist-btn {
  background: rgba(0, 0, 0, .34);
  border-color: transparent;
  color: #fff;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="admin"]) .listing-pagination {
  justify-content: center;
  gap: 1rem;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body:not([data-page="home"]):not([data-page="admin"]) .listing-pagination span {
  color: #d8cfbf;
}

body:not([data-page="home"]):not([data-page="admin"]) .page-hero,
body:not([data-page="home"]):not([data-page="admin"]) .account-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .42)),
    radial-gradient(circle at 80% 20%, rgba(201, 150, 62, .18), transparent 22rem),
    #090b0a !important;
}

body:not([data-page="home"]):not([data-page="admin"]) .page-hero h1,
body:not([data-page="home"]):not([data-page="admin"]) .account-hero h1,
body:not([data-page="home"]):not([data-page="admin"]) .detail-info h1 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

body:not([data-page="home"]):not([data-page="admin"]) .page-hero p,
body:not([data-page="home"]):not([data-page="admin"]) .account-hero p,
body:not([data-page="home"]):not([data-page="admin"]) .detail-meta,
body:not([data-page="home"]):not([data-page="admin"]) .breadcrumb,
body:not([data-page="home"]):not([data-page="admin"]) .cart-summary-note,
body:not([data-page="home"]):not([data-page="admin"]) .account-panel-subtitle {
  color: var(--inner-muted);
}

body:not([data-page="home"]):not([data-page="admin"]) .detail-top {
  grid-template-columns: minmax(0, .95fr) minmax(360px, .8fr);
  gap: 1.6rem;
  padding: 1.2rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-detail-image,
body:not([data-page="home"]):not([data-page="admin"]) .image-frame {
  border-color: rgba(201, 150, 62, .28);
  background: #080908;
}

body:not([data-page="home"]):not([data-page="admin"]) .product-detail-image img {
  object-fit: cover;
}

body:not([data-page="home"]):not([data-page="admin"]) .thumb {
  border-color: rgba(201, 150, 62, .28);
  background: rgba(0, 0, 0, .26);
}

body:not([data-page="home"]):not([data-page="admin"]) .thumb.active {
  border-color: var(--ref-gold);
}

body:not([data-page="home"]):not([data-page="admin"]) .detail-price {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

body:not([data-page="home"]):not([data-page="admin"]) .purchase-inline,
body:not([data-page="home"]):not([data-page="admin"]) .cart-tool-panel,
body:not([data-page="home"]):not([data-page="admin"]) .cart-guest-banner,
body:not([data-page="home"]):not([data-page="admin"]) .cart-page-item,
body:not([data-page="home"]):not([data-page="admin"]) .checkout-mode-notice,
body:not([data-page="home"]):not([data-page="admin"]) .account-menu,
body:not([data-page="home"]):not([data-page="admin"]) .account-panel,
body:not([data-page="home"]):not([data-page="admin"]) .review-form,
body:not([data-page="home"]):not([data-page="admin"]) .review-summary > div {
  border-color: rgba(201, 150, 62, .22);
  background: rgba(0, 0, 0, .18) !important;
  color: var(--inner-text);
}

body:not([data-page="home"]):not([data-page="admin"]) .cart-guest-banner *,
body:not([data-page="home"]):not([data-page="admin"]) .cart-page-item *,
body:not([data-page="home"]):not([data-page="admin"]) .info-list,
body:not([data-page="home"]):not([data-page="admin"]) .cart-summary-list,
body:not([data-page="home"]):not([data-page="admin"]) .checkout-summary-list {
  color: inherit;
}

body:not([data-page="home"]):not([data-page="admin"]) .tabs {
  border-bottom-color: rgba(201, 150, 62, .22);
}

body:not([data-page="home"]):not([data-page="admin"]) .tab-btn {
  color: #d8cfbf;
}

body:not([data-page="home"]):not([data-page="admin"]) .tab-btn.active {
  color: var(--ref-gold-light);
  border-bottom-color: var(--ref-gold);
}

body:not([data-page="home"]):not([data-page="admin"]) .cart-page-layout,
body:not([data-page="home"]):not([data-page="admin"]) .checkout-layout {
  gap: 1.4rem;
}

body:not([data-page="home"]):not([data-page="admin"]) .cart-summary-list div,
body:not([data-page="home"]):not([data-page="admin"]) .cart-summary-total,
body:not([data-page="home"]):not([data-page="admin"]) .checkout-summary-list div {
  border-color: rgba(201, 150, 62, .2);
}

body:not([data-page="home"]):not([data-page="admin"]) .table {
  color: var(--inner-text);
}

body:not([data-page="home"]):not([data-page="admin"]) .table th,
body:not([data-page="home"]):not([data-page="admin"]) .table td {
  border-color: rgba(201, 150, 62, .22);
}

body:not([data-page="home"]):not([data-page="admin"]) .site-footer {
  margin-top: 0;
}

.logo-text em {
  margin-top: .55rem;
  color: var(--ref-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-style: normal;
  letter-spacing: .06em;
}

@media (max-width: 1180px) {
  body:not([data-page="home"]):not([data-page="admin"]) .page-main {
    grid-template-columns: 1fr;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .filter-panel {
    position: static;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not([data-page="home"]):not([data-page="admin"]) .detail-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body:not([data-page="home"]):not([data-page="admin"]) .product-grid {
    grid-template-columns: 1fr;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .listing-toolbar,
  body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls,
  body:not([data-page="home"]):not([data-page="admin"]) .cart-page-layout,
  body:not([data-page="home"]):not([data-page="admin"]) .checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls label,
  body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls input,
  body:not([data-page="home"]):not([data-page="admin"]) .toolbar-controls select {
    width: 100%;
    margin-left: 0;
  }
}

/* Category landing and category collection screens */
body[data-page="categories"] .category-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.category-landing-hero,
.category-product-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
}

.category-landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .95) 0%, rgba(5, 5, 5, .72) 44%, rgba(5, 5, 5, .24) 100%),
    url("https://images.unsplash.com/photo-1605100804763-247f67b3557e?auto=format&fit=crop&w=1800&q=88") right center / cover no-repeat;
}

.category-landing-copy,
.category-product-hero > * {
  position: relative;
  z-index: 1;
}

.category-landing-copy h1,
.category-product-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.category-landing-copy p,
.category-product-hero p {
  margin: .8rem 0 0;
  color: #f3d99b;
  font-size: 1.12rem;
}

.category-ornament {
  width: min(360px, 55vw);
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--ref-gold);
}

.category-ornament.compact {
  width: 230px;
}

.category-ornament::before,
.category-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ref-gold);
}

.category-landing-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.35rem;
  margin-top: 1.8rem;
}

.category-filter-card {
  align-self: start;
  border: 1px solid rgba(201, 150, 62, .32);
  border-radius: 8px;
  background: rgba(10, 13, 11, .96);
  overflow: hidden;
}

.category-filter-head {
  min-height: 68px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 150, 62, .2);
}

.category-filter-head h2 {
  margin: 0;
  color: var(--ref-gold-light);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.category-filter-card details {
  border-bottom: 1px solid rgba(201, 150, 62, .16);
}

.category-filter-card summary {
  min-height: 58px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f4efe4;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
}

.category-filter-card summary::after {
  content: "⌄";
  color: var(--ref-gold-light);
}

.category-clear-btn {
  margin: 1.25rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ref-gold);
  border-radius: 4px;
  color: var(--ref-gold-light);
  background: rgba(0, 0, 0, .16);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.category-showcase-card {
  min-height: 250px;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(201, 150, 62, .32);
  border-radius: 8px;
  background: #090b0a;
}

.category-showcase-card:first-child,
.category-showcase-card:nth-child(2),
.category-showcase-card:nth-child(3),
.category-showcase-card:nth-child(4) {
  min-height: 300px;
}

.category-showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.04);
  transition: transform .45s ease;
}

.category-showcase-card:hover img {
  transform: scale(1.04);
}

.category-showcase-card div {
  min-height: 86px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: .3rem 1rem;
  padding: 1.05rem 1.25rem;
  background: linear-gradient(180deg, rgba(9, 11, 10, .74), rgba(9, 11, 10, .98));
}

.category-showcase-card h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 500;
  text-transform: uppercase;
}

.category-showcase-card p {
  margin: .25rem 0 0;
  color: #d8cfbf;
  font-size: .78rem;
  text-transform: uppercase;
}

.category-showcase-card span {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--ref-gold-light);
  font-size: 1.7rem;
}

.category-assurance-row {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(201, 150, 62, .22);
  border-radius: 8px;
  background: rgba(13, 16, 14, .9);
}

.category-assurance-row article {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem 1rem;
  align-content: center;
  padding: 1rem 1.4rem;
  border-right: 1px solid rgba(201, 150, 62, .15);
}

.category-assurance-row article:last-child {
  border-right: 0;
}

.category-assurance-row span {
  grid-row: span 2;
  color: var(--ref-gold);
  font-size: 2rem;
}

.category-assurance-row strong {
  color: #fff;
  text-transform: uppercase;
}

.category-assurance-row p {
  margin: 0;
  color: #d8cfbf;
  font-size: .86rem;
}

.category-product-hero {
  grid-column: 1 / -1;
  min-height: 285px;
  margin-bottom: .2rem;
}

.category-product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .95) 0%, rgba(5, 5, 5, .74) 40%, rgba(5, 5, 5, .22) 100%),
    var(--category-hero-image) right center / cover no-repeat;
}

.category-breadcrumb {
  display: flex;
  gap: .7rem;
  align-items: center;
  color: #bfb4a2;
  font-size: .86rem;
}

.category-breadcrumb strong {
  color: #fff;
}

.category-listing-area .listing-toolbar {
  min-height: 66px;
}

.category-listing-area .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-listing-area .product-card {
  padding: 0;
}

.category-listing-area .product-image {
  height: 270px !important;
  min-height: 270px !important;
}

.category-listing-area .product-rating-line,
.category-listing-area .discount-rate-badge {
  display: none !important;
}

.category-listing-area .product-title {
  margin-top: 1.35rem !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.category-listing-area .product-meta-line {
  display: block;
  margin: -.1rem 1rem .8rem;
  color: #bfb4a2;
  text-align: center;
}

.category-listing-area .price-summary .old-price {
  display: none;
}

.category-listing-area .card-actions {
  margin: 1rem 1.8rem 1.45rem !important;
}

.category-listing-area .category-detail-link {
  min-height: 48px;
  border: 1px solid var(--ref-gold) !important;
  border-radius: 4px !important;
  justify-content: center;
}

.category-view-toggle {
  display: inline-flex;
  border: 1px solid rgba(201, 150, 62, .32);
  border-radius: 4px;
  overflow: hidden;
}

.category-view-toggle button {
  width: 46px;
  height: 40px;
  border: 0;
  border-right: 1px solid rgba(201, 150, 62, .25);
  background: transparent;
  color: var(--ref-gold-light);
}

.category-view-toggle button:last-child {
  border-right: 0;
}

.category-view-toggle button.active {
  background: rgba(201, 150, 62, .1);
}

@media (max-width: 1180px) {
  .category-landing-layout,
  body:not([data-page="home"]):not([data-page="admin"]) .category-landing-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .category-landing-hero,
  .category-product-hero {
    min-height: 250px;
  }

  .category-landing-copy h1,
  .category-product-hero h1 {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .category-card-grid,
  .category-listing-area .product-grid,
  .category-assurance-row {
    grid-template-columns: 1fr;
  }

  .category-assurance-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 150, 62, .15);
  }
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1360px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.utility-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid #dcdcdc;
  font-size: 0.85rem;
  color: #333333;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-inner p {
  margin: 0;
}

.utility-inner nav {
  display: flex;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.site-header.compact {
  top: 0;
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  box-shadow: none;
}

.logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.search-bar {
  display: flex;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: var(--card);
  padding: 0.3rem;
}

.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #111111;
}

.search-bar input::placeholder {
  color: #777777;
}

.search-bar button {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: #333333;
}

.header-currency-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: var(--card-2);
}

.header-exchange-ticker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #3c3c3c;
  white-space: nowrap;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #444;
}

.currency-selector select {
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  padding: 0.2rem 0.35rem;
  font-size: 0.8rem;
}

.cart {
  font-weight: 700;
}

.badge {
  margin-left: 0.25rem;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.74rem;
}

.header-categories {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.9rem;
}

.header-categories a {
  color: #333333;
}

.category-mega-nav {
  background: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.category-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
}

.category-mega-list > li {
  position: relative;
}

.category-mega-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  color: #f8fafc;
  white-space: nowrap;
}

.category-mega-list > li > a:hover {
  background: rgba(148, 163, 184, 0.14);
}

.category-submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 260px;
  padding: 0.65rem 0.9rem;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  z-index: 40;
}

.category-submenu strong {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: #1f2937;
}

.category-submenu a {
  color: #1f2937;
  padding: 0.25rem 0;
}

.category-submenu a:hover {
  color: #1d4ed8;
}

.has-submenu:hover .category-submenu {
  display: flex;
}

.hero {
  margin-top: 1.25rem;
  display: block;
  padding: 0;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.2;
  font-family: "Times New Roman", Georgia, serif;
  color: #1a1a1a;
}

.hero-visual,
.product-image,
.product-detail-image {
  border-radius: 0;
  min-height: 270px;
  border: 1px solid #d6d6d6;
  background: #f7f7f7;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  background: #dfe2e8;
}

.hero-slider-window {
  width: 100%;
  min-height: 460px;
  overflow: hidden;
}

.hero-click-zones {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.hero-click-zone {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.hero-click-zone-left,
.hero-click-zone-right {
  width: 24%;
  min-width: 120px;
}

.hero-click-zone-left {
  margin-right: auto;
}

.hero-click-zone-right {
  margin-left: auto;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.hero-slide {
  width: 100%;
  min-width: 100%;
  min-height: 460px;
  display: block;
  padding: 0;
  background: #dfe2e8;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 500px;
}

.hero-brand {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d5ea8;
}

.hero-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffd65d, #f8b630 48%, #1d57a4 49%, #1d57a4);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  font-family: "Times New Roman", Georgia, serif;
}

.hero-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-slider-nav {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #c7ccd8;
  background: rgba(255, 255, 255, 0.8);
  color: #2b3447;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

#hero-prev { left: 12px; }
#hero-next { right: 12px; }

.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #b8bdc8;
  cursor: pointer;
}

.hero-dot.active {
  background: #87909f;
}
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123, 170, 247, 0.34);
  animation: spin 14s linear infinite;
}

.ring-one {
  width: 180px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ring-two {
  width: 240px;
  height: 240px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 20s;
  animation-direction: reverse;
}

.machine-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(0, 119, 255, 0.42), rgba(255, 138, 0, 0.35));
  display: grid;
  place-items: center;
  gap: 0.25rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 40, 92, 0.5);
}

.machine-core span {
  font-size: 0.76rem;
  color: #ecf4ff;
}

.hero-stat-box {
  background: rgba(8, 20, 41, 0.92);
  border-radius: 10px;
  border: 1px solid rgba(115, 165, 238, 0.34);
  padding: 0.9rem;
  display: grid;
  gap: 0.2rem;
  z-index: 1;
}

.hero-stat-box strong {
  font-size: 1.3rem;
}

.hero-stat-box span {
  color: #b7caea;
  font-size: 0.9rem;
}

.automation-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
}

.automation-strip article {
    border: 1px solid rgba(122, 167, 240, 0.14);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(9, 22, 46, 0.88);
    box-shadow: 0 10px 20px rgba(2, 8, 19, 0.22);
}

.automation-strip h3 {
  margin: 0;
  color: #ebf3ff;
}

.automation-strip p {
  margin: 0.45rem 0 0;
  color: #9fb3d4;
}

.section-block {
  margin-top: 1.6rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.section-head h2 {
  margin: 0;
}

.section-head a {
  color: #79c7ff;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.category-card {
  background: linear-gradient(155deg, rgba(15, 32, 64, 0.95), rgba(8, 19, 40, 0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(125, 161, 221, 0.2);
  transition: all 0.25s ease;
}

.category-card:hover {
  border-color: rgba(125, 190, 255, 0.8);
  transform: translateY(-3px);
}

.category-card span {
  font-size: 1.7rem;
}

.category-card p {
  margin: 0.45rem 0 0.2rem;
  font-weight: 600;
}

.category-card small {
  color: #93a8cd;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.promo-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.promo-info-card {
  padding: 1rem;
  background: linear-gradient(160deg, rgba(12, 27, 54, 0.96), rgba(8, 17, 36, 0.96));
  border-color: rgba(122, 169, 236, 0.2);
}

.promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(0, 119, 255, 0.15);
  border: 1px solid rgba(125, 188, 255, 0.34);
}

.promo-info-card h3 {
  margin: 0.7rem 0 0.35rem;
}

.promo-info-card p {
  margin: 0;
  color: #9fb4d7;
}

.product-card {
    background: linear-gradient(165deg, rgba(14, 30, 59, 0.96), rgba(8, 19, 39, 0.96));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(125, 161, 221, 0.12);
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-3px);
        border-color: rgba(122, 190, 255, 0.32);
        box-shadow: 0 18px 30px rgba(2, 7, 19, 0.4);
    }

.product-image {
    grid-template-columns: 1fr;
    place-items: center;
    font-weight: 600;
    color: #d9e6ff;
    border-color: rgba(115, 165, 238, 0.2);
    background: radial-gradient(circle at 30% 18%, rgba(0, 119, 255, 0.2), transparent 50%), linear-gradient(170deg, rgba(12, 27, 55, 0.9), rgba(8, 16, 34, 0.9));
}

.product-title {
  margin: 0;
  font-size: 0.95rem;
  min-height: 44px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-link.secondary {
  background: transparent;
  border: 1px solid var(--border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #a5b8d8;
}

.price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.rating {
  margin: 0;
  color: #ffb347;
  font-size: 0.9rem;
}

.rating span {
  color: #9cb1d4;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  padding: 1.1rem;
}

.trust-card h3 {
  margin: 0;
}

.trust-card p {
  margin-bottom: 0;
  color: #a5b9dd;
}

.brand-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
}

.brand-nav {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(9, 21, 44, 0.95);
  color: #d6e4ff;
  cursor: pointer;
}

.brand-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

    .brand-logo {
        min-width: 170px;
        height: 80px;
        border-radius: 14px;
        border: 1px solid rgba(153, 179, 224, 0.25);
        background: rgba(9, 22, 46, 0.12);
    }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(127, 159, 208, 0.24);
  background: rgba(5, 14, 31, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-grid section {
  display: grid;
  gap: 0.4rem;
}

.footer-grid h4 {
  margin: 0;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: #a8bddf;
}

.page-main {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1rem;
  position: relative;
}

.filter-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 1rem;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.text-btn {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #c9d2e3;
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.text-btn:hover {
  transform: translateY(-1px);
  border-color: #aebed8;
  box-shadow: 0 6px 16px rgba(62, 86, 125, 0.18);
}

.filter-panel h2,
.filter-panel h3 {
  margin-top: 0;
}

.filter-panel section {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  animation: filterSectionIn 0.45s ease both;
}

.filter-panel section:nth-of-type(2) {
  animation-delay: 0.05s;
}

.filter-panel section:nth-of-type(3) {
  animation-delay: 0.1s;
}

.filter-panel section:nth-of-type(4) {
  animation-delay: 0.15s;
}


.filter-panel label {
  display: block;
  margin: 0.45rem 0;
  color: #c9d9f4;
  font-size: 0.93rem;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.filter-panel label.filter-option-disabled {
  opacity: 0.4;
  transform: translateX(4px);
  pointer-events: none;
}

.filter-panel label.filter-with-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.filter-panel label.filter-with-count strong {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

.price-range-fields {
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem;
  border: 1px solid #d7e2f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.price-range-fields input,
.price-range-fields select {
  border: 1px solid #c8d5e7;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  background: #ffffff;
  color: #1f2937;
}

.price-range-fields .price-input-wrap {
  position: relative;
}

.price-range-fields .price-input-wrap span {
  position: absolute;
  top: 50%;
  left: 0.65rem;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
  pointer-events: none;
}

.price-range-fields .price-input-wrap input {
  width: 100%;
  padding-left: 1.7rem;
}

.price-range-fields input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.price-range-fields label {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.price-range-fields small {
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: #475569;
}

.price-range-fields.is-active {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2);
  background: linear-gradient(180deg, #f0f7ff 0%, #e3efff 100%);
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.listing-toolbar p {
  margin: 0;
}

.toolbar-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toolbar-controls select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem;
  margin-left: 0.4rem;
  color: #111827;
  background: #ffffff;
}

.toolbar-controls input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem;
  margin-left: 0.4rem;
  color: #111827;
  background: #ffffff;
}

.active-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.filter-tag {
  border: 1px solid #d5dde8;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  background: #ffffff;
  color: #1f2937;
}

button.filter-tag {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.filter-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 38, 74, 0.16);
}

.quick-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.quick-filter-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.quick-filter-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
}

.quick-filter-chip.active {
  background: #ffffff;
  color: #111827;
  border-color: #9fb3d1;
  box-shadow: 0 0 0 1px rgba(159, 179, 209, 0.35) inset;
}

.filter-tag.muted {
  opacity: 1;
  background: #ffffff;
  color: #334155;
  border-color: #d8dee9;
}

.product-grid .product-card {
  animation: productCardReveal 0.45s ease both;
}

@keyframes filterSectionIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productCardReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.listing-pagination {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-pagination button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.listing-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.listing-empty-state {
  margin-top: 0.6rem;
  text-align: center;
  padding: 1.1rem;
}

.listing-empty-state h3 {
  margin: 0 0 0.45rem;
}

.listing-empty-state p {
  margin: 0 0 0.8rem;
}

.listing-empty-state button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.detail-page {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.detail-top {
  padding: 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 0.7rem;
}

.image-gallery-top {
  display: flex;
  justify-content: flex-start;
}

.image-frame {
  position: relative;
}

.image-back-btn {
  position: static;
  border: 1px solid #d3dae7;
  border-radius: 12px;
  background: #ffffff;
  color: #13223c;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 20, 38, 0.1);
}

.product-detail-image {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 390px;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 1rem;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.55rem;
}

.thumb {
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #d6e3fc;
  padding: 0.3rem;
  min-height: 66px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.thumb:hover {
  transform: translateY(-2px);
}

.thumb.active {
  border-color: rgba(129, 193, 255, 0.8);
  background: rgba(0, 119, 255, 0.08);
}

.thumb img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.breadcrumb,
.detail-meta {
  margin: 0;
  color: var(--muted);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.detail-surface {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(8, 18, 36, 0.08);
}

.detail-top-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.detail-info {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}


.detail-icon-actions {
  display: flex;
  gap: 0.55rem;
}

.icon-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: iconFloat 2.4s ease-in-out infinite;
}

.icon-action-btn:hover {
  transform: translateY(-2px) scale(1.07);
  filter: saturate(1.2);
}

.icon-action-btn:nth-child(2) {
  animation-delay: 0.25s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.detail-info h1 {
  margin: 0.15rem 0 0.25rem;
  line-height: 1.25;
}

.detail-meta {
  line-height: 1.45;
}


.detail-price-stack {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.25rem 0 0.1rem;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.4rem 0 0.2rem;
}

.detail-price {
  margin: 0;
}

.detail-old-price {
  margin: 0;
}

.detail-discount-rate {
  margin: 0;
  color: #7ce8ae;
  font-weight: 600;
}

.in-stock {
  color: #7ce8ae;
}

.out-stock {
  color: #ffb2b2;
}

.purchase-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
  max-width: 360px;
  background: rgba(9, 22, 46, 0.75);
}

.purchase-inline {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.purchase-inline .quantity-row {
  min-width: 200px;
  flex: 1 1 220px;
}

.purchase-inline .btn-primary {
  min-height: 36px;
  padding-inline: 1.2rem;
}

.quantity-row {
  display: grid;
  gap: 0.35rem;
}

.qty-control {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
}

.qty-control button,
.qty-control input {
  border: 1px solid var(--border);
  background: rgba(7, 18, 38, 0.95);
  color: #d9e7ff;
  height: 36px;
}

.qty-control button {
  cursor: pointer;
}

.qty-control input {
  text-align: center;
  border-left: 0;
  border-right: 0;
}

.full {
  width: 100%;
}

.tabs-section {
  padding: 1rem;
}

.tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
}

.tab-btn {
  border: 1px solid var(--border);
  background: rgba(9, 22, 46, 0.92);
  color: #dce9ff;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.tab-btn.active {
  border-color: rgba(125, 188, 255, 0.8);
  background: rgba(0, 119, 255, 0.15);
}

.tab-content {
  display: none;
  padding-top: 0.9rem;
  color: #c9daf8;
}

.tab-content.active {
  display: block;
}

.review-summary {
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.review-list {
  display: grid;
  gap: 0.8rem;
}

.review-item {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: flex-start;
}

.review-meta {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.review-image {
  margin-top: 0.55rem;
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
}

.review-delete-btn {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: #a23636;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
}

.review-form {
  margin-top: 1rem;
  border-top: 1px solid #d8d8d8;
  padding-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.review-form-wide {
  grid-column: 1 / -1;
}

.review-form-msg {
  margin: 0;
  min-height: 1.2rem;
  color: #9b2f2f;
}

.review-form-msg.success {
  color: #1f7a1f;
}

.review-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.review-star-btn {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.15rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.review-star-btn:hover {
  transform: scale(1.1);
}

.extra-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.extra-card {
  padding: 1rem;
}

.full-row {
  grid-column: 1 / -1;
}

.compatible-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.compatible-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(9, 22, 46, 0.9);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  background: rgba(9, 22, 46, 0.75);
}

.mini-card h3,
.mini-card p {
  margin: 0;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .product-grid,
  .category-grid,
  .automation-strip,
  .promo-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .hero-slider-window,
  .hero-slide {
    min-height: 360px;
  }

  .hero-slide {
    padding: 0;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero-slide img {
    width: 100%;
    height: 360px;
    max-height: none;
    object-fit: cover;
    object-position: right center;
  }

  .page-main {
    grid-template-columns: 240px 1fr;
  }

}

@media (max-width: 768px) {
  .utility-inner,
  .header-inner,
  .header-actions,
  .footer-grid,
  .detail-top,
  .extra-sections,
  .trust-grid,
  .page-main,
  .product-grid,
  .category-grid,
  .automation-strip,
  .promo-info-grid {
    grid-template-columns: 1fr;
  }

  .utility-inner {
    display: none;
  }

  .header-inner {
    padding: 0.8rem 0;
  }

  .search-bar {
    order: 3;
  }

  .header-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .header-currency-tools {
    width: 100%;
    justify-content: space-between;
  }

  .header-exchange-ticker {
    font-size: 0.74rem;
  }

  .header-categories {
    min-height: 40px;
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .filter-panel {
    position: static;
  }

  .listing-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-visual,
  .hero-slider-window,
  .hero-slide {
    min-height: 300px;
  }

  .hero-slide {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(1.3rem, 7vw, 1.9rem);
  }

  .hero-brand {
    font-size: 0.9rem;
  }

  .hero-cta {
    font-size: 1.55rem;
    padding: 0.5rem 1.15rem;
  }

  .hero-slide img {
    width: 100%;
    height: 300px;
    max-height: none;
    object-fit: cover;
    object-position: right center;
  }

  .hero-slider-nav {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    top: auto;
    bottom: 10px;
  }

  #hero-prev {
    left: 10px;
  }

  #hero-next {
    right: 10px;
  }
}

.btn-link {
  display: inline-block;
  text-align: center;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #1f1f1f;
  color: #fff;
}

.simple-page {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.auth-page {
  min-height: calc(100vh - 110px);
  align-content: center;
  padding: 1rem 0 2.5rem;
}

.cart-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(96, 165, 250, 0.15), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.13), transparent 28%),
    #f8fafc;
}

.cart-page .simple-page {
  min-height: calc(100vh - 96px);
  align-content: start;
  padding-bottom: 3rem;
  display: grid;
  gap: 1rem;
}

.page-hero {
  padding: 1rem 1.2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cart-hero {
  position: relative;
  overflow: hidden;
  max-width: 1050px;
  border-radius: 20px;
  border: 1px solid #dbe7ff !important;
  background: linear-gradient(135deg, #f8fbff, #eef4ff 45%, #f5f9ff);
  box-shadow: 0 16px 36px rgba(44, 83, 182, 0.12) !important;
}

.cart-hero p {
  white-space: nowrap;
}

.cart-hero-glow {
  position: absolute;
  inset: -35% auto auto -15%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  animation: floatyGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.cart-hero-badges {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.cart-hero-badges span {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #cfe0ff;
  background: #ffffffd6;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1f3768;
}

.page-hero.card,
.form-shell.card {
    background: transparent;
    border: 0;
    box-shadow: none;
}
 
.page-hero h1 {
  margin: 0;
}

.page-hero p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.form-shell {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
}

.auth-hero {
  background: radial-gradient(circle at top left, #f5f8ff, #ffffff 60%);
  border: 1px solid #e6ebf5;
  box-shadow: 0 12px 32px rgba(23, 34, 52, 0.08);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
}

.auth-eyebrow {
  margin: 0;
  color: #2f62c8;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-shell {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  box-shadow: 0 16px 36px rgba(22, 34, 52, 0.11);
  border-radius: 16px;
  padding: 1.4rem;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
}

.auth-helper {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px dashed #adc1f1;
  background: #f3f7ff;
  color: #294582;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-feedback {
  min-height: 1.1rem;
  margin: 0;
  color: #bc2448;
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-note-box {
  border-radius: 12px;
  border: 1px solid #e6eaf4;
  background: linear-gradient(145deg, #fbfcff, #f4f7ff);
  padding: 0.9rem 1rem;
}

.auth-note-box h3 {
  margin: 0;
  font-size: 0.95rem;
}

.auth-note-box p {
  margin: 0.35rem 0 0;
  color: #5f6780;
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.auth-title-row h2 {
  margin: 0;
  font-size: 1.2rem;
}

.auth-inline-link {
  color: #315fc2;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full-span {
  grid-column: 1 / -1;
}

.full-span {
  grid-column: 1 / -1;
}

.form-field label {
  color: #333333;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0.7rem 0.8rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #456fc9;
  box-shadow: 0 0 0 3px rgba(69, 111, 201, 0.16);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.auth-actions {
  justify-content: flex-start;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #2b3447;
}

.check-field input {
  width: 16px;
  height: 16px;
}

.btn-primary,
.btn-secondary {
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  font-size: 0.93rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-btn {
  min-width: 220px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(35, 78, 167, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: #eef2fb;
  border-color: #d8e1f4;
  color: #2e4f99;
}

.btn-secondary.ghost {
  background: transparent;
  border-color: #d0d7e6;
  color: #41516e;
}

.info-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #444444;
  display: grid;
  gap: 0.35rem;
}

.link-list {
  display: grid;
  gap: 0.5rem;
}

.link-list a {
  color: #222222;
}

/* Geleneksel ve sade görünüm için genel tema geçersiz kılmaları */
.machine-core,
.hero-stat-box,
.automation-strip article,
.category-card,
.product-card,
.brand-nav,
.brand-logo,
.site-footer,
.toolbar-controls select,
.thumb,
.purchase-box,
.qty-control button,
.qty-control input,
.tab-btn,
.compatible-row span {
  background: #ffffff;
  color: #111111;
  border-color: #d8d8d8;
}

.automation-strip article,
.category-card,
.product-card,
.trust-card,
.filter-panel,
.listing-toolbar,
.purchase-box,
.extra-card,
.brand-shell {
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.automation-strip article:hover,
.category-card:hover,
.product-card:hover,
.trust-card:hover,
.filter-panel:hover,
.listing-toolbar:hover,
.purchase-box:hover,
.extra-card:hover,
.brand-shell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #c6cfdd;
}

.machine-core,
.hero-stat-box,
.product-image {
  background: #f7f7f7;
}

.machine-core span,
.hero-stat-box span,
.automation-strip p,
.category-card small,
.meta-row,
.rating span,
.trust-card p,
.footer-grid p,
.footer-grid a,
.filter-panel label,
.tab-content {
  color: #555555;
}
.automation-strip h3 {
    color: #222222;
}


.section-head a,
.text-btn {
  color: #222222;
}

.in-stock {
  color: #1f7a1f;
}

@media (max-width: 768px) {
  .auth-page {
    align-content: start;
  }

  .auth-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-btn {
    min-width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

}

/* Home v2 ecommerce */
.hero-commerce {
  margin-top: 1rem;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  background: radial-gradient(circle at 20% 30%, rgba(24, 75, 163, 0.35), rgba(9, 20, 40, 0.95));
  border-color: rgba(127, 172, 247, 0.32);
}

.hero-content {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.hero-content h1 {
  margin: 0;
  color: #e9f2ff;
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
}

.hero-content p {
  margin: 0;
  color: #bdd0ee;
}

.hero-chip {
  width: fit-content;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 192, 255, 0.35);
  background: rgba(0, 119, 255, 0.2);
  font-size: 0.83rem;
}

.hero-cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-search-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-search-tags button {
  border: 1px solid rgba(154, 194, 250, 0.3);
  border-radius: 999px;
  background: rgba(9, 23, 45, 0.9);
  color: #d6e5ff;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.hero-scene {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(150, 190, 250, 0.25);
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(0, 119, 255, 0.2), rgba(7, 16, 36, 0.95));
  overflow: hidden;
}

.model-frame {
  width: 100%;
  height: 100%;
  min-height: 390px;
  --poster-color: transparent;
}

.floating-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  background: rgba(3, 9, 22, 0.85);
  border: 1px solid rgba(151, 196, 255, 0.34);
  color: #d7e9ff;
  display: grid;
}

.floating-badge strong {
  font-size: 1.2rem;
  color: #7accff;
}

.mega-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
}

.menu-toggle {
  border: 1px solid #2a3d5f;
  border-radius: 10px;
  background: #101b31;
  color: #d6e8ff;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.mega-menu-links {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.mega-menu-links a {
  white-space: nowrap;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(10, 23, 47, 0.82);
  border: 1px solid rgba(146, 188, 246, 0.18);
  color: #d0e2ff;
}

.quick-search-panel {
  padding: 1rem;
  background: linear-gradient(170deg, rgba(11, 24, 48, 0.96), rgba(8, 18, 35, 0.96));
}

.quick-search-head h2,
.tab-filter-head h2 {
  margin: 0;
}

.quick-search-head p {
  margin: 0.4rem 0 0.8rem;
  color: #9ab1d6;
}

.quick-filter-row {
  display: grid;
  grid-template-columns: 1.2fr 220px 140px;
  gap: 0.6rem;
}

.quick-filter-row input,
.quick-filter-row select {
  border: 1px solid rgba(149, 189, 247, 0.25);
  border-radius: 10px;
  background: rgba(8, 17, 34, 0.95);
  color: #d6e7ff;
  padding: 0.7rem;
}

.quick-filter-row button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #1f8bff, #2566ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.quick-result-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-item {
  border: 1px solid rgba(147, 189, 250, 0.25);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(8, 19, 40, 0.85);
}

.quick-item p {
  margin: 0;
}

.quick-item small {
  color: #8eabd6;
}

.category-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-showcase {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(120deg, rgba(26, 106, 235, 0.2), rgba(9, 20, 40, 0.95));
}

.countdown {
  font-size: 1.6rem;
  font-weight: 700;
  color: #93d8ff;
  min-width: 140px;
  text-align: center;
}

.tabs-shell {
  padding: 1rem;
}

.tab-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.collection-tabs {
  display: flex;
  gap: 0.5rem;
}

.collection-tabs button {
  border: 1px solid rgba(143, 188, 255, 0.25);
  background: rgba(7, 19, 39, 0.88);
  color: #dce9ff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.collection-tabs button.active {
  background: rgba(16, 116, 255, 0.35);
  border-color: rgba(143, 205, 255, 0.8);
}

@media (max-width: 1024px) {
  .hero-commerce,
  .campaign-showcase,
  .quick-filter-row {
    grid-template-columns: 1fr;
  }

  .quick-result-grid,
  .category-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .quick-result-grid,
  .category-grid-large {
    grid-template-columns: 1fr;
  }

  .tab-filter-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .collection-tabs {
    flex-wrap: wrap;
  }

  .mega-menu {
    padding-bottom: 0.6rem;
  }

  .mega-menu-links {
    display: none;
    width: 100%;
    flex-wrap: wrap;
  }

  .mega-menu.open .mega-menu-links {
    display: flex;
  }
}

/* Home premium layout (kategori + slider) */
.home-showcase {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.home-category-sidebar {
  padding: 1rem;
  max-height: 430px;
  overflow: auto;
}

.home-category-sidebar h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.category-tree {
  display: grid;
  gap: 0.45rem;
}

.category-tree details {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-tree details[open] {
  border-color: #cfd4db;
  box-shadow: inset 0 0 0 1px #f2f4f7;
}

.category-tree summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0.62rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.category-tree summary::-webkit-details-marker {
  display: none;
}

.category-tree summary span {
  font-size: 0.78rem;
  color: #6c6c6c;
}

.category-tree details a {
  display: block;
  padding: 0.45rem 0.9rem;
  border-top: 1px solid #efefef;
  font-size: 0.9rem;
  color: #2e2e2e;
}

.category-tree details a:hover {
  background: #f7f7f7;
}

.home-showcase .hero {
  margin-top: 0;
  height: 430px;
}

.home-showcase .hero-visual {
  min-height: 430px;
  max-height: 430px;
  background: #f0f1f4;
}

.home-showcase .hero-slider-window,
.home-showcase .hero-slide {
  min-height: 430px;
  max-height: 430px;
}

.home-showcase .hero-slide img {
  height: 430px;
  object-position: center;
}

.quick-search-panel,
.campaign-showcase,
.tabs-shell {
  background: #ffffff;
  border: 1px solid #d8d8d8;
}

.quick-search-head p,
.quick-item small,
.countdown {
  color: #444444;
}

.quick-filter-row input,
.quick-filter-row select,
.quick-item,
.collection-tabs button {
  background: #ffffff;
  color: #111111;
  border: 1px solid #d8d8d8;
}

.quick-filter-row button,
.collection-tabs button.active,
.hero-chip,
.hero-search-tags button,
.menu-toggle,
.mega-menu-links a {
  background: #222222;
  color: #ffffff;
  border: 1px solid #222222;
}

.hero-slider-nav {
  border: 1px solid #d1d1d1;
  background: rgba(255, 255, 255, 0.92);
  color: #222222;
}

@media (max-width: 1024px) {
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-showcase .hero,
  .home-category-sidebar,
  .home-showcase .hero-visual,
  .home-showcase .hero-slider-window,
  .home-showcase .hero-slide {
    max-height: none;
    height: auto;
  }
}

.cart-drawer {
  position: fixed;
  top: 96px;
  right: 16px;
  width: min(340px, calc(100vw - 2rem));
  max-height: calc(100vh - 120px);
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.16);
  background: #ffffff;
  z-index: 60;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  transform: translateX(115%);
  transition: transform 0.24s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-popup-animation {
  position: fixed;
  left: 16px;
  bottom: 16px;
  opacity: 0;
  pointer-events: none;
  z-index: 55;
  visibility: hidden;
  transform: translateX(-58px) translateY(8px) scale(0.94);
  transition: opacity 0.18s ease, transform 0.58s cubic-bezier(0.22, 0.88, 0.28, 1.05);
}

.cart-popup-animation.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0) scale(1);
}

.cart-popup-visual {
  width: min(272px, 62vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
  filter: drop-shadow(0 16px 22px rgba(15, 23, 42, 0.22));
  overflow: visible;
  transform-origin: center;
}

.cart-popup-icon {
  width: min(244px, 58vw);
  height: min(244px, 58vw);
  transform-origin: center;
  transform: translateX(-2px) translateY(3px);
}

.cart-base-shadow ellipse {
  fill: rgba(15, 23, 42, 0.2);
}

.cart-frame path {
  fill: none;
  stroke: #263549;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-handle path {
  fill: none;
  stroke: #1f2937;
  stroke-width: 9;
  stroke-linecap: round;
}

.cart-wheel-outer {
  fill: #253042;
}

.cart-wheel-inner {
  fill: #dfe7f5;
}

.cart-popup-box {
  --box-depth: 12px;
  position: absolute;
  width: 62px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(150deg, #f9c23f 0%, #f59e0b 58%, #d97706 100%);
  border: 1px solid rgba(120, 53, 15, 0.35);
  box-shadow: inset -7px -6px 0 rgba(146, 64, 14, 0.28), 0 8px 14px rgba(120, 53, 15, 0.25);
  transform: translate(-120px, -102px) scale(0.64) rotate(-28deg) rotateY(18deg);
  opacity: 0;
}

.cart-popup-speed-line {
  position: absolute;
  left: 20px;
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.58), rgba(99, 102, 241, 0.06));
  opacity: 0;
}

.cart-popup-speed-line:nth-child(1) {
  top: 106px;
}

.cart-popup-speed-line:nth-child(2) {
  top: 128px;
  width: 44px;
}

.cart-popup-speed-line:nth-child(3) {
  top: 150px;
  width: 34px;
}

.cart-popup-animation.run .cart-popup-box {
  animation: cartVisualBoxDrop3d 0.7s cubic-bezier(0.28, 0.95, 0.37, 1) 1 forwards;
}

.cart-added-notice {
  position: fixed;
  top: 86px;
  right: 22px;
  width: min(360px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  padding: 0.85rem;
  z-index: 1005;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-added-notice.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-added-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.2rem;
  line-height: 1;
}

.cart-added-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.75rem;
  padding-right: 1.3rem;
}

.cart-added-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cart-added-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-added-row strong {
  display: block;
  color: #111827;
  font-size: 0.92rem;
}

.cart-added-row p {
  margin: 0.2rem 0 0;
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cart-added-row p span {
  color: #ea580c;
  text-decoration: underline;
}

.cart-added-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.cart-added-actions .btn-primary,
.cart-added-actions .btn-secondary {
  border-radius: 5px;
  padding: 0.65rem 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-popup-animation.run .cart-popup-icon {
  animation: cartVisualCartPulse3d 0.8s ease 1;
}

.cart-popup-animation.run .cart-popup-speed-line {
  animation: cartSpeedLine 0.55s ease 1;
}

.cart-popup-animation.run .cart-popup-speed-line:nth-child(1) {
  animation-delay: 0.04s;
}

.cart-popup-animation.run .cart-popup-speed-line:nth-child(2) {
  animation-delay: 0.1s;
}

.cart-popup-animation.run .cart-popup-speed-line:nth-child(3) {
  animation-delay: 0.16s;
}

.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem 0.4rem;
}

.cart-drawer-head h3 {
  margin: 0;
}

.cart-drawer-close {
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.cart-drawer-subtitle {
  margin: 0;
  padding: 0 1rem 0.8rem;
  color: #666;
  font-size: 0.88rem;
}

.cart-drawer-items {
  overflow: auto;
  padding: 0 1rem 0.5rem;
  display: grid;
  gap: 0.55rem;
}

.cart-drawer-item {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 0.7rem;
}

.cart-item-main {
  display: grid;
  gap: 0.38rem;
}

.cart-item-top,
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.cart-drawer-item p {
  margin: 0;
  font-size: 0.9rem;
}

.cart-item-link {
  color: inherit;
  text-decoration: none;
}

.cart-item-link:hover {
  text-decoration: underline;
}

.cart-drawer-item small {
  color: #666;
}

.cart-item-price {
  white-space: nowrap;
  font-size: 1rem;
}

.cart-empty {
  margin: 0;
  color: #6d6d6d;
  padding: 0.5rem 0;
}

.cart-drawer-footer {
  border-top: 1px solid #ececec;
  padding: 0.75rem 1rem 1rem;
}

.cart-drawer-footer p {
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.cart-drawer-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

#cart-go-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart-drawer-footer.empty {
  padding-top: 0.55rem;
}

.cart-drawer-footer.empty .cart-drawer-total-row {
  justify-content: flex-start;
  margin-bottom: 0.2rem;
}

.hidden {
  display: none !important;
}

.discount-price-box {
  display: grid;
  gap: 0.2rem;
}

.discount-rate {
  width: fit-content;
  font-size: 0.75rem;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  background: #e7f4ea;
  color: #136a35;
  font-weight: 700;
}

.old-price {
  margin: 0;
  font-size: 0.85rem;
  color: #7a7a7a;
  text-decoration: line-through;
}

.category-grid-large .category-card {
  text-align: left;
  padding: 1rem 1.1rem;
}

.category-grid-large .category-card p {
  margin-top: 0.6rem;
}

@media (max-width: 768px) {
  .cart-drawer {
    top: auto;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: 72vh;
  }

  .cart-popup-animation {
    bottom: 84px;
  }

  .cart-popup-visual {
    width: min(200px, 45vw);
  }
}

/* ZonqOtomasyon: kategori, buton ve ürün grid iyileştirmeleri */
.category-shortcut {
  display: block;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f7f8fb;
  font-weight: 700;
  color: #222;
}

.category-tree summary[data-category] {
  cursor: pointer;
}

.product-grid {
  gap: 0.75rem;
}

.product-card {
  background: #fff;
  border: 1px solid #d9dce2;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  padding: 0.8rem;
  gap: 0.32rem;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.product-image {
  min-height: 112px;
}

.product-title {
  min-height: auto;
  line-height: 1.35;
}

.product-category {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.price-summary {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.price-summary.no-discount .price {
  font-size: 1.3rem;
}

.price-summary .old-price {
  font-size: 0.9rem;
  margin: 0;
  text-decoration: line-through;
}

.price-summary .discount-rate {
  font-size: 0.88rem;
  font-weight: 700;
  color: #dc2626;
}

.price-summary .price {
  margin: 0;
  font-size: 1.32rem;
}

.price-conversion-note {
  display: block;
  flex-basis: 100%;
  margin-top: 0.1rem;
  color: #6b7280;
  font-size: 0.78rem;
}

.btn-link,
.btn-primary,
.btn-secondary {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary {
  background: #374151;
  border-color: #374151;
}

.btn-link.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #cfd5df;
}

.add-cart-btn.is-added {
  background: #dedfd8;
  border-color: #c8cabf;
  color: #111827;
}

.drawer-qty-row,
.cart-page-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.drawer-qty-row button,
.cart-page-actions button {
  min-width: 28px;
  height: 28px;
  border: 1px solid #cfd5df;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.cart-drawer-item-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.drawer-remove-icon-btn,
.clear-cart-btn {
  border: 1px solid #f4b9b9;
  color: #d32f2f;
  background: #fff5f5;
  border-radius: 8px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.clear-cart-btn {
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.05rem;
}

#cart-items-list {
  list-style: none;
  padding-left: 0;
  margin: 0.55rem 0 0;
}

.cart-page-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid #dfe7f4;
  border-radius: 16px;
  padding: 0.85rem;
  background: linear-gradient(160deg, #ffffff, #f6f9ff);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  animation: cartCardIn 0.45s ease both;
}

.cart-page-item small {
  display: block;
  color: #52607a;
  margin-top: 0.2rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-meta {
  display: grid;
  gap: 0.2rem;
}

.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.cart-list-shell {
  max-width: none;
}

.cart-summary-shell {
  max-width: none;
  height: fit-content;
  position: sticky;
  top: 95px;
  border-radius: 18px;
  background: linear-gradient(170deg, #ffffff, #f8fbff) !important;
  border: 1px solid #dbe5f6 !important;
  box-shadow: 0 14px 30px rgba(21, 45, 92, 0.12) !important;
}

.cart-summary-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.cart-summary-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  font-size: 0.95rem;
}

.cart-summary-list dt,
.cart-summary-list dd {
  margin: 0;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.65rem;
  margin: 0.15rem 0 0;
}

.cart-shipping-goal {
  margin: 0.75rem 0 0;
  padding: 0.72rem 0.82rem;
  border: 1px dashed #b7cdfc;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  color: #1f3c93;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.cart-shipping-goal::before {
  content: "🚚";
  font-size: 1rem;
}

.cart-gift-wrap-option {
  margin: 0.75rem 0 0;
  padding: 0.72rem 0.82rem;
  border: 1px solid #dbe5f6;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}

.cart-gift-wrap-option input {
  width: 18px;
  height: 18px;
  accent-color: #111827;
}

.cart-accordion-tools {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.cart-tool-panel {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.cart-tool-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 0.72rem 0.82rem;
  color: #d81b60;
  font-size: 0.86rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-tool-panel summary::after {
  content: "+";
  font-size: 1.15rem;
}

.cart-tool-panel[open] summary::after {
  content: "-";
}

.cart-tool-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0 0.82rem 0.82rem;
}

.cart-tool-row input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  min-width: 0;
}

.cart-tool-row button {
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
}

.cart-order-note {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
  color: #111827;
  font-weight: 800;
}

.cart-order-note textarea {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  resize: vertical;
  min-height: 84px;
  font-weight: 500;
}

.cart-campaign-feedback {
  margin: 0.55rem 0 0;
  color: #166534;
  font-size: 0.86rem;
  font-weight: 700;
  min-height: 1.1rem;
}

.cart-cargo-companies {
  margin: 0.6rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dbeafe;
  border-radius: 0.55rem;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.9rem;
  line-height: 1.35;
}

#cart-discount-row.is-hidden {
  display: none;
}

#checkout-discount-row.is-hidden,
#checkout-order-note-preview:empty {
  display: none;
}

.cart-summary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.cart-summary-actions .btn-primary,
.cart-summary-actions .btn-secondary {
  width: 100%;
  text-align: center;
}

.cart-summary-note {
  color: #6b7280;
}

.checkout-shell {
  display: grid;
  gap: 1rem;
}

.checkout-hero {
  border: 1px solid #d9e2f3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #f8fbff, #eef4ff 48%, #f8faff) !important;
}

.checkout-hero .single-line-note {
  white-space: nowrap;
  overflow-x: auto;
  display: block;
}

.checkout-mode-switch {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.checkout-mode-btn {
  border: 1px solid #c8d5ee;
  background: #eef3ff;
  color: #25427a;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.checkout-mode-btn.active {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}

.checkout-mode-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  align-items: start;
}

.checkout-form-shell {
  position: relative;
  border-radius: 18px;
  border: 1px solid #dbe5f6 !important;
  background: linear-gradient(170deg, #ffffff, #f8fbff) !important;
  box-shadow: 0 14px 32px rgba(21, 45, 92, 0.1) !important;
}

.checkout-form-shell,
.checkout-summary-shell {
  max-width: 100%;
  margin: 0;
}

.checkout-mode-notice {
  border: 1px solid #d9e5fb;
  background: #f5f8ff;
  color: #27427a;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-section-title {
  margin: 0.55rem 0 0.1rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1f3c93;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-top: 0.2rem;
  border-top: 1px solid #e3eaf8;
}

.checkout-section-title:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.checkout-steps {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.checkout-steps span {
  border: 1px solid #dbe5f6;
  background: #fff;
  color: #4b5563;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-steps .is-complete {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.checkout-steps .is-active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.checkout-checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkout-checkbox-field > span {
  margin: 0;
}

.checkout-nested-grid {
  margin-top: -0.15rem;
  padding: 0.65rem;
  border: 1px dashed #c9d9fb;
  border-radius: 12px;
  background: #f8fbff;
}

.checkout-nested-grid.is-hidden {
  display: none;
}

.checkout-card-field.is-hidden,
#checkout-card-title.is-hidden {
  display: none;
}

.checkout-bank-transfer-info {
  border: 1px solid #dbe5f6;
  border-radius: 12px;
  background: #f8fbff;
  color: #1f2937;
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.checkout-bank-transfer-info.is-hidden {
  display: none;
}

.checkout-bank-transfer-info h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #111827;
}

.checkout-bank-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.8rem;
  font-size: 0.9rem;
}

.checkout-bank-transfer-grid div {
  min-width: 0;
}

.checkout-bank-transfer-grid span {
  display: block;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
}

.checkout-bank-transfer-grid strong {
  word-break: break-word;
}

.required-highlight span {
  color: #1f3c93;
}

.is-readonly {
  background: #eef2f7 !important;
  color: #4b5563;
  border-color: #d5dde9 !important;
  cursor: not-allowed;
}

.checkout-page .btn-primary[type="submit"] {
  position: relative;
  overflow: hidden;
}

.checkout-page .btn-primary[type="submit"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.26), transparent 90%);
  transform: translateX(-120%);
  animation: checkoutSubmitGlow 2.8s ease-in-out infinite;
}

@keyframes checkoutSubmitGlow {
  0%, 18% {
    transform: translateX(-120%);
  }
  62%, 100% {
    transform: translateX(120%);
  }
}

.cart-guest-banner {
  padding: 0.68rem 0.85rem;
  border: 1px solid #d7dce2;
  border-radius: 10px;
  background: #f7f9fb;
  display: grid;
  gap: 0;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: transform 0.25s ease;
}

.cart-guest-banner.is-guest {
  border-color: #fde68a;
  background: #fffbeb;
}

.cart-guest-banner:hover {
  transform: translateY(-1px);
}

#cart-checkout-btn.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.cart-action-btn {
  min-width: 200px;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  background: transparent !important;
  color: #1f2e46;
  border: 1px solid rgba(31, 46, 70, 0.3);
  box-shadow: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  animation: guestBtnPulse 2.1s ease-in-out infinite;
}

.cart-action-btn:hover,
.cart-action-btn:focus-visible {
  background: rgba(31, 46, 70, 0.08) !important;
  border-color: rgba(31, 46, 70, 0.55);
  color: #0f172a;
  transform: translateY(-1px);
}

.cart-guest-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-guest-banner-top strong {
  margin: 0;
}

.cart-guest-banner > span {
  color: #374151;
  margin-top: 0;
}

.cart-page-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 285px;
}

.cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-qty-wrap span {
  min-width: 68px;
  text-align: center;
  color: #334155;
  font-weight: 700;
}

.drawer-remove-btn {
  border: 1px solid #f4b9b9 !important;
  color: #d32f2f;
  background: #fff5f5 !important;
  border-radius: 8px;
  width: 30px;
  min-width: 30px !important;
  padding: 0;
}

@keyframes cartCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatyGlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@keyframes guestBtnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 46, 70, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(31, 46, 70, 0);
  }
}

@media (max-width: 980px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-shell {
    position: static;
  }

  .cart-page-item {
    grid-template-columns: 1fr;
  }

  .cart-page-actions {
    min-width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .cart-summary-actions {
    grid-template-columns: 1fr;
  }

  .cart-hero p {
    white-space: normal;
  }

  .cart-guest-banner-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-action-btn {
    width: 100%;
    min-width: 100%;
  }
}

/* Ürün kartı tasarım geliştirmeleri */
.product-card {
  position: relative;
  border-radius: 14px;
  padding: 0.9rem;
  gap: 0.45rem;
}

.discount-rate-badge,
.product-tag-badge {
  position: absolute;
  font-size: 0.76rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
  z-index: 2;
}

.product-meta-line {
  margin: 0;
  display: block;
  text-align: center;
  font-size: 0.88rem;
  color: #475467;
  font-weight: 700;
}

.product-rating-line {
  margin: 0;
  font-size: 0.85rem;
  color: #f59e0b;
  text-align: center;
}

.product-rating-line span {
  color: #667085;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.stock-pill.in-stock {
  color: #0b7a3c;
  background: #e9f9ef;
  border-color: #b9e9ca;
}

.stock-pill.out-stock {
  color: #b42318;
  background: #fdecec;
  border-color: #f7c4c4;
}

.no-discount-badge {
  font-size: 0.73rem;
  font-weight: 700;
  color: #475467;
  border: 1px dashed #c2c8d0;
  border-radius: 999px;
  padding: 0.13rem 0.45rem;
}

.shipping-note {
  margin: 0;
  font-size: 0.78rem;
  color: #475467;
  font-weight: 600;
}

.add-cart-btn:disabled {
  background: #f3f4f6;
  border-color: #d6dae2;
  color: #6b7280;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.add-cart-btn:disabled .out-stock-icon {
  stroke-width: 2.15;
}

.cart-inline-validation {
  position: fixed;
  top: 5.25rem;
  right: 1rem;
  max-width: 340px;
  width: calc(100% - 2rem);
  border-radius: 12px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1200;
}

.cart-inline-validation.show {
  opacity: 1;
  transform: translateY(0);
}

.stock-count-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
}

.card-actions.only-detail {
  grid-template-columns: 1fr;
}

.card-actions.only-detail .btn-link.secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.price-summary.no-discount {
  display: flex;
  align-items: center;
}

.trust-slider {
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.trust-head {
  align-items: center;
  margin-bottom: 0.7rem;
}

.trust-head p {
  margin: 0.25rem 0 0;
  color: #667085;
  font-size: 0.92rem;
}

.trust-controls {
  display: flex;
  gap: 0.5rem;
}

.trust-slider-window {
  overflow: hidden;
}

.trust-slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.trust-card {
  min-width: 100%;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid #dce8ff;
  background: radial-gradient(circle at 94% 8%, rgba(37, 99, 235, 0.12), transparent 32%), #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.trust-card h3 {
  margin: 0.35rem 0 0.4rem;
}

/* Liste kartları: yeni görsel düzen ve etkileşimler */
.product-card[data-detail-url] {
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #d3dceb;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f7fc 0%, #edf2f9 100%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card[data-detail-url]:hover {
  transform: translateY(-3px);
  border-color: #b5c4dd;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.product-card[data-detail-url]:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.discount-rate-badge {
  left: 0.62rem;
  right: auto;
  top: 0.58rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(150deg, #fb7185, #f43f5e 58%, #e11d48 100%);
  box-shadow: 0 5px 12px rgba(225, 29, 72, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.product-tag-badge {
  left: auto;
  right: 0.62rem;
  top: 0.58rem;
  padding: 0.22rem 0.7rem 0.22rem 0.82rem;
  border-radius: 6px 999px 999px 6px;
  background: linear-gradient(150deg, #fb7185, #f43f5e 58%, #e11d48 100%);
  box-shadow: 0 5px 12px rgba(225, 29, 72, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.product-tag-badge::before {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 50%;
  width: 0.3rem;
  height: 0.3rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.35);
}

.product-image {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 0.25rem;
}


.product-image img,
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.detail-gallery .product-detail-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  image-rendering: auto;
}

.product-image span,
.product-detail-image span {
  font-weight: 700;
  color: #334155;
}
.product-image::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%;
  height: 200%;
  transform: rotate(25deg) translateX(-120%);
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.55) 40%, transparent 70%);
  transition: transform 0.6s ease;
}

.product-card[data-detail-url]:hover .product-image::after {
  transform: rotate(25deg) translateX(320%);
}

.price-summary {
  margin-top: 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}

.price-summary .old-price {
  color: #99a5b8;
  margin: 0;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.price-summary .discount-rate {
  color: #dc2626;
  font-weight: 700;
}

.price-summary .price {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-title {
  text-align: center;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 0.55rem;
  text-transform: uppercase;
}

.product-rating-line {
  font-size: 0.84rem;
}

.product-meta-line {
  font-size: 0.72rem;
  color: #364152;
  letter-spacing: 0.02em;
}

.card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.card-actions .btn-link {
  flex: 1 1 auto;
  min-height: 38px;
  border-radius: 12px;
  background: #f8fafe;
  border: 1px solid #bdc8db;
  font-size: 0.88rem;
}

.card-actions .wishlist-btn {
  flex: 0 0 38px;
}

.product-card.is-out-stock {
  gap: 0.35rem;
}

.product-card.is-out-stock .product-image {
  min-height: 132px;
}

.product-card.is-out-stock .product-title {
  min-height: auto;
}

.product-card.is-out-stock .price-summary {
  margin-top: 0.05rem;
}

.wishlist-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #d0d7e6;
  background: #ffffff;
  color: #344054;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  border-color: #fda4af;
  color: #be123c;
  background: #fff1f2;
}

.wishlist-btn.is-favorite {
  border-color: #fda4af;
  color: #be123c;
  background: #fff1f2;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.2s ease;
  z-index: 55;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
  transform: translateY(-2px) scale(1);
}

.product-grid .product-card {
  animation: productCardReveal 0.55s ease both;
  animation-delay: var(--card-delay, 0s);
}

.add-cart-btn {
  width: 100%;
  min-height: 40px;
  padding: 0.54rem 0.8rem;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: #ffffff;
  border: 1px solid #cfd5df;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: transform 0.22s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.cart-btn-content {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.cart-btn-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: none) {
  .add-cart-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.add-cart-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
}

.add-cart-btn:hover:not(:disabled) .cart-btn-icon,
.add-cart-btn:focus-visible:not(:disabled) .cart-btn-icon {
  animation: cartIconHopStrong 0.55s cubic-bezier(0.21, 0.82, 0.33, 1.08);
}

.add-cart-btn:active:not(:disabled) {
  transform: translateY(0);
}

.add-cart-btn.is-added {
  background: #dedfd8;
  border-color: #c8cabf;
  color: #111827;
}

.add-cart-btn.is-adding {
  animation: addCartPulse 0.5s ease;
  background: #dedfd8;
  border-color: #c8cabf;
}

.add-cart-btn.is-adding .cart-btn-icon {
  animation: cartIconHop 0.5s ease;
}

@keyframes addCartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes cartIconHop {
  0% { transform: translateX(0) rotate(0deg); }
  35% { transform: translateX(4px) rotate(-10deg); }
  65% { transform: translateX(-2px) rotate(7deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

@keyframes cartIconHopStrong {
  0% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }
  30% { transform: translateX(6px) translateY(-1px) rotate(-15deg) scale(1.16); }
  60% { transform: translateX(-3px) translateY(1px) rotate(12deg) scale(0.96); }
  100% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }
}

@keyframes cartVisualBoxDrop3d {
  0% {
    opacity: 0;
    transform: translate(-132px, -114px) scale(0.64) rotate(-28deg) rotateY(18deg);
  }
  38% {
    opacity: 1;
    transform: translate(-38px, -44px) scale(1.08) rotate(7deg) rotateY(-4deg);
  }
  68% {
    transform: translate(-24px, -34px) scale(0.97) rotate(-4deg) rotateY(-10deg);
  }
  100% {
    opacity: 1;
    transform: translate(-18px, -40px) translateZ(var(--box-depth)) rotateY(-13deg) rotateX(7deg);
  }
}

@keyframes cartVisualCartPulse3d {
  0% { transform: translateX(-18px) rotateX(13deg) rotateY(-14deg) translateY(0); }
  34% { transform: translateX(2px) rotateX(13deg) rotateY(-14deg) translateY(-6px); }
  66% { transform: translateX(-4px) rotateX(13deg) rotateY(-14deg) translateY(1px); }
  100% { transform: translateX(-2px) rotateX(13deg) rotateY(-14deg) translateY(0); }
}

@keyframes cartFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes boxBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes cartSpeedLine {
  0% { transform: translateX(0) scaleX(0.72); opacity: 0; }
  35% { transform: translateX(-18px) scaleX(1); opacity: 0.8; }
  100% { transform: translateX(-58px) scaleX(1.1); opacity: 0; }
}

@keyframes cartWheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quick-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.quick-benefit-card {
  background: linear-gradient(160deg, #f8fbff, #eaf1ff);
  border: 1px solid #d9e3f7;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.14);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-benefit-card:hover {
  box-shadow: 0 14px 26px rgba(59, 130, 246, 0.2);
}

.quick-benefit-emoji {
  font-size: 1.45rem;
  display: inline-flex;
  margin-bottom: 0.35rem;
  animation: pulseGlow 2.1s ease-in-out infinite;
}

.quick-benefit-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.quick-benefit-card p {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.trust-card p {
  margin: 0;
  color: #475467;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
}

.trust-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.trust-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #c7d7f8;
  cursor: pointer;
}

.trust-dots button.active {
  width: 22px;
  background: #1d4ed8;
}

.brand-shell {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 16px;
}

.brand-logo {
  min-width: 170px;
  height: 80px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 0.7rem 1rem;
  background: #ffffff;
  border: 1px solid #d7e1f5;
}

.brand-logo img {
  width: 100%;
  max-width: 130px;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .trust-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

.quick-actions {
  padding: 1.1rem;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-action-item {
  border: 1px solid #d8e2f8;
  border-radius: 12px;
  padding: 1rem;
  background: #f8fbff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-action-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.quick-action-item p {
  margin: 0;
  color: #475467;
}

.quick-action-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.support-highlight {
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.support-highlight h2 {
  margin: 0 0 0.35rem;
}

.support-highlight p {
  margin: 0;
  color: #667085;
}

.support-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .support-highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

.category-mega-nav { display: none !important; }

.account-hero {
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  background: linear-gradient(145deg, #ffffff, #f5f5f5 72%);
}

.account-hero-tag {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #111111;
  font-weight: 700;
}

.account-hero h1 {
  margin: 0.35rem 0;
}

.account-hero p {
  margin: 0;
  color: #1f2937;
}

.account-hero-side {
  display: grid;
  gap: 0.7rem;
}

.account-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 64px;
  background: #111111;
  border-radius: 12px;
}

.account-hero-visual span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ffffff;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.account-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-content: start;
}

.account-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.account-stat-card span {
  color: #374151;
  font-size: 0.8rem;
}

.account-stat-card strong {
  color: #111111;
  font-size: 1rem;
}

.account-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: start;
  background: #f8f8f8;
  max-width: 100%;
  margin: 0;
}

.account-menu {
  display: grid;
  gap: 0.55rem;
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.8rem;
}

.account-menu-btn {
  border: 1px solid #e5e7eb;
  background: #f7f7f7;
  color: #111111;
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.account-menu-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
}

.account-menu-btn.active {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.account-menu-btn.active .account-menu-icon {
  background: #2a2a2a;
  border-color: #4b5563;
}

.account-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

.account-panel {
  display: none;
}

.account-panel.active {
  display: block;
}

.account-panel h2 {
  margin: 0;
  font-size: 1.2rem;
}

.account-panel-subtitle {
  margin: 0.3rem 0 1rem;
  color: #374151;
}

.account-section-icon {
  margin-right: 0.35rem;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.account-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.account-summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  padding: 0.9rem;
}

.account-summary-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.account-summary-card p {
  margin: 0.2rem 0;
  color: #1f2937;
}

.account-inline-form {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #d1d5db;
}


.account-orders-filter {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.account-orders-filter label {
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
}

.account-orders-filter input {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.58rem 0.7rem;
}

.account-orders-accordion {
  display: grid;
  gap: 0.65rem;
}

.account-favorites-grid {
  display: grid;
  gap: 0.75rem;
}

.account-favorite-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  padding: 0.85rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.account-favorite-meta h3 {
  margin: 0;
  font-size: 1rem;
}

.account-favorite-meta p {
  margin: 0.35rem 0 0;
  color: #374151;
}

.account-favorite-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.account-remove-favorite {
  color: #9f1239;
  border-color: #f8bdcb;
  background: #fff1f2;
}

.account-order-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}

.account-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
}

.account-order-body {
  border-top: 1px dashed #d1d5db;
  padding: 0.75rem 0.9rem 0.9rem;
}

.account-order-body h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.account-order-body ul {
  margin: 0;
  padding-left: 1rem;
  color: #374151;
}

.password-strength {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.35rem;
}

.password-strength-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.password-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.25s ease, background-color 0.25s ease;
  background: #6b7280;
}

.password-strength p {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
}

.order-card {
  position: relative;
  overflow: hidden;
}

.order-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(130, 175, 255, 0.2), transparent 65%);
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #e8f1ff;
  color: #2456ac;
}

@media (max-width: 900px) {
  .account-hero {
    grid-template-columns: 1fr;
  }

  .account-hero-stats {
    grid-template-columns: 1fr;
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.admin-page {
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.admin-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2456ac;
  font-weight: 700;
}

.admin-hero h1 {
  margin: 0.45rem 0;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}

.admin-hero p {
  margin: 0;
  color: #4b5563;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1d4f99;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
}

.admin-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1rem;
}

.admin-sidebar {
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.admin-sidebar button {
  border: 1px solid #d6ddeb;
  background: #f9fbff;
  color: #1f2937;
  border-radius: 0.65rem;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.admin-sidebar button.active {
  background: #2456ac;
  color: #fff;
  border-color: #2456ac;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.compact-head {
  margin-bottom: 0.8rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-info-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  padding: 0.85rem;
  background: #f8fbff;
}

.admin-info-card h3 {
  margin-top: 0;
}

.admin-form {
  margin-top: 1rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-form-grid label {
  display: grid;
  gap: 0.35rem;
  color: #1f2937;
  font-weight: 600;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-toolbar select,
.admin-toolbar input,
.admin-stock-input {
  border: 1px solid #d1d5db;
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.admin-toolbar {
  margin-bottom: 0.75rem;
}

.admin-toolbar label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.65rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-kpi {
  border: 1px solid #dbe5f6;
  background: #f7faff;
  border-radius: 0.8rem;
  padding: 0.8rem;
}

.admin-kpi p {
  margin: 0 0 0.3rem;
  color: #4b5563;
}

.admin-kpi strong {
  font-size: 1.2rem;
}

.admin-chart {
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  min-height: 230px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.75rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.admin-bar-item {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  height: 100%;
}

.admin-bar {
  width: 100%;
  border-radius: 0.6rem 0.6rem 0.25rem 0.25rem;
  background: linear-gradient(180deg, #4a8af6 0%, #2456ac 100%);
  min-height: 18%;
}

@media (max-width: 950px) {
  .admin-layout,
  .admin-grid,
  .admin-form-grid,
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-content {
  display: grid;
  gap: 1rem;
}

.admin-kpi-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0.9rem;
}

.admin-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: #334155;
}

.admin-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

@media (max-width: 950px) {
  .admin-kpi-grid-large,
  .admin-dual-grid,
  .admin-toolbar-grid {
    grid-template-columns: 1fr;
  }
}

.warehouse-page {
  background: #f3f5f9;
}

.warehouse-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.warehouse-sidebar {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  color: #e5e7eb;
  padding: 1.2rem 1rem;
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.warehouse-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.warehouse-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f97316;
  color: #fff;
  font-weight: 800;
}

.warehouse-menu-title {
  margin: 0.8rem 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.warehouse-menu {
  display: grid;
  gap: 0.2rem;
}

.warehouse-menu a {
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  color: #cbd5e1;
  font-weight: 600;
}

.warehouse-menu a:hover,
.warehouse-menu a.active {
  background: rgba(249, 115, 22, 0.16);
  color: #fff;
}

.warehouse-main {
  padding: 1.3rem 1.3rem 1.8rem;
  display: grid;
  gap: 1rem;
}

.warehouse-section {
  display: none;
}

.warehouse-section.is-active {
  display: grid;
}

.warehouse-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.warehouse-topbar h1 {
  margin: 0;
  font-size: 1.3rem;
  color: #334155;
  letter-spacing: 0.01em;
}

.warehouse-top-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.warehouse-top-actions button {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.warehouse-top-actions img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.warehouse-search input {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.6rem 0.75rem;
  width: min(240px, 45vw);
}

.warehouse-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.warehouse-kpi-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.warehouse-kpi-card p {
  margin: 0 0 0.5rem;
  color: #64748b;
  font-weight: 600;
}

.warehouse-kpi-card strong {
  font-size: 1.7rem;
  color: #0f172a;
}

.warehouse-kpi-card strong span {
  font-size: 0.85rem;
  color: #64748b;
}

.warehouse-kpi-card .danger {
  color: #dc2626;
  font-weight: 700;
}

.warehouse-table-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 1rem;
  overflow: hidden;
}

.warehouse-table-head {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e4e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.warehouse-table-head h2 {
  margin: 0;
  font-size: 1.08rem;
}

.warehouse-table-head select {
  border: 1px solid #dbe1ea;
  border-radius: 0.7rem;
  padding: 0.45rem 0.6rem;
}

.warehouse-table-wrap {
  overflow-x: auto;
}

.warehouse-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.warehouse-table th,
.warehouse-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eff2f7;
  color: #334155;
}

.warehouse-table th {
  font-size: 0.84rem;
  color: #64748b;
}

.warehouse-actions {
  display: flex;
  gap: 0.4rem;
}

.warehouse-actions button {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 0.55rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .warehouse-layout {
    grid-template-columns: 1fr;
  }

  .warehouse-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.8rem;
  }

  .warehouse-brand {
    grid-column: 1 / -1;
  }

  .warehouse-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .warehouse-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .warehouse-kpi-grid {
    grid-template-columns: 1fr;
  }

  .warehouse-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

.buyer-erp-page {
  display: grid;
  gap: 1rem;
}

.buyer-erp-hero {
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.buyer-erp-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.65rem;
}

.buyer-erp-kpi {
  background: #f7f7f7;
  border: 1px solid #dfdfdf;
  border-radius: 10px;
  padding: 0.65rem;
}

.buyer-erp-kpi p {
  margin: 0;
  color: #4b5563;
  font-size: 0.78rem;
}

.buyer-erp-kpi strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 1.03rem;
}

.buyer-erp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
}

.buyer-erp-filters {
  padding: 1rem;
  position: sticky;
  top: 94px;
  height: fit-content;
}

.buyer-erp-content {
  display: grid;
  gap: 0.8rem;
}

.buyer-erp-toolbar {
  padding: 0.85rem 1rem;
}

.buyer-erp-toolbar p {
  margin: 0 0 0.7rem;
}

.buyer-erp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
}

.buyer-erp-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.buyer-erp-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.buyer-erp-card small {
  color: #6b7280;
}

.buyer-erp-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  font-size: 0.84rem;
  color: #303030;
}

.buyer-erp-card-actions {
  display: flex;
  gap: 0.5rem;
}

.buyer-erp-card-actions .btn-secondary,
.buyer-erp-card-actions .btn-primary {
  flex: 1;
}

.buyer-erp-detail {
  padding: 1rem;
}

.buyer-erp-detail h2 {
  margin: 0 0 0.55rem;
}

.buyer-erp-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.buyer-erp-detail ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
}

@media (max-width: 1024px) {
  .buyer-erp-layout {
    grid-template-columns: 1fr;
  }

  .buyer-erp-filters {
    position: static;
  }
}

@media (max-width: 720px) {
  .buyer-erp-hero,
  .buyer-erp-detail-grid {
    grid-template-columns: 1fr;
  }
}

.account-menu-link {
  display: block;
  text-align: left;
}

.warehouse-dashboard {
  display: grid;
  gap: 0.9rem;
}

.warehouse-alert {
  background: #fce4d9;
  border: 1px solid #ffd6c4;
  color: #9a3412;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-weight: 600;
}

.warehouse-dashboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  gap: 0.85rem;
}

.warehouse-kpi-card small {
  display: block;
  margin-top: 0.6rem;
  font-weight: 700;
}

.warehouse-kpi-card .positive,
.positive {
  color: #16a34a;
}

.warehouse-kpi-card .negative,
.negative {
  color: #dc2626;
}

.warning {
  color: #d97706;
}

.warehouse-chart-card,
.warehouse-analytics-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.warehouse-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.warehouse-chart-head h2,
.warehouse-analytics-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.warehouse-chart-filters {
  display: flex;
  gap: 0.35rem;
}

.warehouse-chart-filters button {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.35rem 0.55rem;
  font-weight: 600;
  color: #334155;
}

.warehouse-chart-filters .is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.warehouse-fake-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(14px, 1fr));
  align-items: end;
  gap: 0.5rem;
  height: 240px;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}

.warehouse-fake-chart span {
  height: var(--h);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, #fb923c, #f97316);
}

.warehouse-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.warehouse-ring {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0.7rem auto 1rem;
  border: 14px solid #e2e8f0;
  border-top-color: #f97316;
  border-left-color: #fb923c;
  display: grid;
  place-items: center;
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
}

.warehouse-analytics-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.warehouse-analytics-stats p {
  margin: 0;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.6rem;
}

.warehouse-analytics-stats span {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
}

.warehouse-analytics-stats strong {
  color: #0f172a;
  font-size: 1.25rem;
}

.warehouse-country-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.warehouse-country-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.55rem 0.65rem;
  color: #334155;
  font-weight: 600;
}

.warehouse-top-pages {
  padding: 0;
  overflow: hidden;
}

.warehouse-top-pages .warehouse-table-head {
  margin: 0;
}

.warehouse-top-pages .warehouse-table-head h3 {
  margin: 0;
}

.warehouse-top-pages .warehouse-table-head a {
  font-weight: 700;
  color: #f97316;
}

.warehouse-mini-table {
  width: 100%;
  border-collapse: collapse;
}

.warehouse-mini-table th,
.warehouse-mini-table td {
  text-align: left;
  border-top: 1px solid #eff2f7;
  padding: 0.6rem 1rem;
  color: #334155;
}

.warehouse-mini-table th {
  font-size: 0.78rem;
  color: #64748b;
}

.warehouse-product-toolbar {
  gap: 0.8rem;
  flex-wrap: wrap;
}

.warehouse-product-actions {
  display: flex;
  gap: 0.6rem;
  align-items: end;
  flex-wrap: wrap;
}

.warehouse-product-actions label {
  display: grid;
  gap: 0.25rem;
  color: #64748b;
  font-size: 0.82rem;
}

.warehouse-product-actions select,
.btn-orange {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.48rem 0.65rem;
}

.btn-orange {
  border: 0;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.warehouse-product-table td small {
  display: block;
  color: #64748b;
  margin-top: 0.2rem;
}

.warehouse-products-shell {
  display: grid;
  gap: 0.8rem;
}

.warehouse-product-view-switch {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.warehouse-product-view-switch button {
  border: 1px solid #dbe1ea;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.warehouse-product-view-switch button.is-active {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}

.warehouse-product-view {
  display: none;
}

.warehouse-product-view.is-active {
  display: block;
}

.warehouse-product-detail-grid,
.warehouse-product-edit-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 0.85rem;
}

.warehouse-product-gallery,
.warehouse-edit-summary {
  padding: 1rem;
}

.warehouse-product-hero {
  min-height: 280px;
  border-radius: 1rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  display: grid;
  place-items: center;
  font-size: 6rem;
}

.warehouse-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.warehouse-product-thumbs button {
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  min-height: 54px;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.warehouse-product-thumbs button.is-active {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.16);
}

.warehouse-product-summary {
  padding: 1.1rem;
}

.warehouse-pill {
  display: inline-flex;
  border-radius: 0.5rem;
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
}

.warehouse-product-summary h2 {
  margin: 0.7rem 0 0.3rem;
  font-size: 1.9rem;
  color: #0f172a;
}

.warehouse-rating-line,
.warehouse-price-line {
  margin: 0.4rem 0 0;
  color: #334155;
}

.warehouse-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.warehouse-price-line strong {
  font-size: 2rem;
  color: #1e293b;
}

.warehouse-price-line small {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1rem;
}

.warehouse-meta-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.warehouse-meta-grid p {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.55rem 0.65rem;
}

.warehouse-meta-grid span {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
}

.warehouse-check-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #16a34a;
  display: grid;
  gap: 0.32rem;
}

.warehouse-product-description {
  margin: 1rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.warehouse-edit-summary h3 {
  margin: 0.8rem 0 0.35rem;
  font-size: 1.2rem;
  color: #0f172a;
}

.warehouse-edit-summary p {
  margin: 0.2rem 0;
  color: #64748b;
}

.warehouse-edit-price {
  font-size: 1.4rem;
  color: #1e293b !important;
  font-weight: 700;
}

.warehouse-edit-form-card h2 {
  margin: 0;
  padding: 1rem 1rem 0;
  color: #1e293b;
  font-size: 1.2rem;
}

.warehouse-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
}

.warehouse-edit-form label {
  display: grid;
  gap: 0.33rem;
  color: #475569;
  font-weight: 600;
}

.warehouse-edit-form input,
.warehouse-edit-form select,
.warehouse-edit-form textarea {
  border: 1px solid #dbe1ea;
  border-radius: 0.65rem;
  padding: 0.6rem 0.7rem;
  color: #1e293b;
  font-size: 0.95rem;
}

.warehouse-edit-form .is-wide {
  grid-column: 1 / -1;
}

.warehouse-edit-actions {
  padding: 0 1rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

@media (max-width: 1200px) {
  .warehouse-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .warehouse-analytics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .warehouse-analytics-grid,
  .warehouse-analytics-stats {
    grid-template-columns: 1fr;
  }

  .warehouse-ring {
    width: 140px;
    border-width: 12px;
    font-size: 1.2rem;
  }
}

@media (max-width: 980px) {
  .warehouse-product-detail-grid,
  .warehouse-product-edit-grid,
  .warehouse-edit-form {
    grid-template-columns: 1fr;
  }

  .warehouse-meta-grid {
    grid-template-columns: 1fr;
  }
}

.warehouse-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.warehouse-inline-form input,
.warehouse-inline-form select {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.45rem 0.65rem;
  min-width: 130px;
}

.warehouse-form-card {
  padding: 1rem;
}

.warehouse-form-card h2 {
  margin: 0 0 1rem;
}

.warehouse-settings-form {
  display: grid;
  gap: 0.75rem;
  max-width: 520px;
}

.warehouse-settings-form label {
  display: grid;
  gap: 0.3rem;
  color: #334155;
  font-weight: 600;
}

.warehouse-settings-form input,
.warehouse-settings-form select {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
}

.warehouse-modal {
  border: 0;
  border-radius: 1rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  padding: 0;
}

.warehouse-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.warehouse-modal-card {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.warehouse-modal-card h3 {
  margin: 0 0 0.3rem;
}

.warehouse-modal-card label {
  display: grid;
  gap: 0.32rem;
  color: #334155;
  font-weight: 600;
}

.warehouse-modal-card input,
.warehouse-modal-card select {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
}

/* Ürün kartı görsel alanı: taşma yapmadan sabit ve tutarlı alan */
.product-image {
  grid-template-columns: 1fr;
  place-items: center;
  font-weight: 600;
  color: #d9e6ff;
  border-color: rgba(115, 165, 238, 0.2);
  background: radial-gradient(circle at 30% 18%, rgba(0, 119, 255, 0.2), transparent 50%),
    linear-gradient(170deg, rgba(12, 27, 55, 0.9), rgba(8, 16, 34, 0.9));
  overflow: hidden;
  padding: 0.35rem;
  box-sizing: border-box;
  display: grid;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  display: block;
}

.product-image span {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(145deg, #e6edf8, #d8e2f2);
  color: #334155;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-image.no-image span {
  display: flex;
}

/* Filtre paneli: modern ve daha temiz görünüm */
.filter-panel {
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
  border: 1px solid #bcc7d7;
  border-radius: 16px;
  padding: 1.1rem 1rem;
}

.filter-head {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #cfd8e5;
}

.filter-panel h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2vw, 2rem);
  letter-spacing: -0.02em;
  color: #111827;
}

.filter-panel h3 {
  color: #111827;
  font-size: 1.08rem;
  font-weight: 700;
}

.filter-panel section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d2dae6;
}

.text-btn {
  background: #ffffff;
  border: 1px solid #b9c6da;
  color: #273449;
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  box-shadow: 0 2px 0 rgba(11, 18, 32, 0.06);
}

.text-btn:hover {
  border-color: #9fb0cb;
  box-shadow: 0 6px 16px rgba(39, 52, 73, 0.16);
}

.filter-panel label {
  color: #3f4b5e;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.1rem;
  border-radius: 8px;
}

.filter-panel label:hover {
  color: #1f2937;
  background: rgba(255, 255, 255, 0.65);
}

.filter-panel input[type="checkbox"] {
  accent-color: #4b6cb7;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.filter-panel label.filter-with-count {
  justify-content: space-between;
}

.filter-panel label.filter-with-count strong {
  min-width: 24px;
  text-align: center;
  color: #475569;
  background: #dde5f2;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
}
.content-page-flow {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.content-section {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, .12);
}

.content-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.content-section h2 {
  font-size: 1.45rem;
  margin: 0 0 .5rem;
}

.content-section p {
  color: var(--muted-text, #4b5563);
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .content-section {
    grid-template-columns: 1fr;
  }
}

/* Asımoğulları Kuyumculuk storefront theme */
:root {
  --jewel-ink: #17120b;
  --jewel-gold: #b88936;
  --jewel-gold-soft: #f3d99b;
  --jewel-ivory: #fffaf0;
  --jewel-blush: #f8efe0;
  --jewel-burgundy: #6f1d2f;
  --jewel-green: #315f4b;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(248, 239, 224, 0.92)),
    #fffaf0;
  color: var(--jewel-ink);
}

.site-header {
  background: rgba(255, 250, 240, 0.96);
  border-bottom: 1px solid rgba(184, 137, 54, 0.28);
  backdrop-filter: blur(14px);
}

.logo {
  color: var(--jewel-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
}

.logo-mark {
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, #ffe7a8, #b88936 58%, #5b3510);
  color: #1c1207;
  box-shadow: 0 8px 18px rgba(91, 53, 16, 0.22);
}

.search-bar {
  border-color: rgba(184, 137, 54, 0.38);
  background: #fffef9;
  box-shadow: 0 8px 24px rgba(69, 44, 14, 0.07);
}

.search-bar button,
.btn-link,
.btn-primary {
  background: linear-gradient(135deg, #1e160d, #7a4d18 58%, #b88936);
  color: #fffaf0;
  box-shadow: 0 10px 22px rgba(122, 77, 24, 0.22);
}

.header-actions a:hover,
.section-head a {
  color: var(--jewel-burgundy);
}

.header-currency-tools,
.card,
.listing-toolbar,
.filter-panel,
.tabs-shell {
  border-color: rgba(184, 137, 54, 0.24);
  background: rgba(255, 254, 249, 0.94);
}

.home-showcase {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 1.15rem;
}

.home-category-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.96), rgba(248, 239, 224, 0.9));
  border-color: rgba(184, 137, 54, 0.26);
}

.home-category-sidebar h2,
.section-head h2,
.tab-filter-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--jewel-ink);
}

.category-shortcut,
.category-tree details a {
  color: var(--jewel-burgundy);
  font-weight: 700;
}

.category-tree details {
  border-color: rgba(184, 137, 54, 0.24);
  background: #fffdf8;
}

.category-tree summary span {
  color: #876327;
}

.home-showcase .hero,
.home-showcase .hero-visual,
.home-showcase .hero-slider-window,
.home-showcase .hero-slide {
  height: 468px;
  max-height: 468px;
}

.hero {
  border-color: rgba(184, 137, 54, 0.34);
  box-shadow: 0 18px 44px rgba(69, 44, 14, 0.16);
}

.hero-slide {
  position: relative;
  overflow: hidden;
  background: var(--jewel-ink);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 18, 11, 0.88) 0%, rgba(23, 18, 11, 0.62) 39%, rgba(23, 18, 11, 0.14) 70%),
    linear-gradient(180deg, transparent 55%, rgba(23, 18, 11, 0.32));
}

.home-showcase .hero-slide img,
.hero-slide img {
  height: 468px;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.hero-slide-content {
  position: absolute;
  z-index: 1;
  left: clamp(1.2rem, 4vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, calc(100% - 2.4rem));
  color: #fffaf0;
  display: grid;
  gap: 0.8rem;
}

.hero-slide-content span {
  width: fit-content;
  border: 1px solid rgba(243, 217, 155, 0.5);
  color: #f3d99b;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-slide-content h1 {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.hero-slide-content p {
  margin: 0;
  color: #f7e9c8;
  font-size: 1rem;
  max-width: 440px;
}

.hero-slide-content .btn-link {
  width: fit-content;
  border: 1px solid rgba(243, 217, 155, 0.55);
  border-radius: 999px;
}

.hero-slider-nav {
  background: rgba(255, 250, 240, 0.92);
  border-color: rgba(184, 137, 54, 0.36);
  color: var(--jewel-ink);
}

.hero-dot {
  background: rgba(255, 250, 240, 0.62);
}

.hero-dot.active {
  background: var(--jewel-gold);
}

.jewelry-assurance-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.jewelry-assurance-strip article {
  border: 1px solid rgba(184, 137, 54, 0.26);
  background: #fffef9;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(69, 44, 14, 0.08);
}

.jewelry-assurance-strip strong,
.jewelry-assurance-strip span {
  display: block;
}

.jewelry-assurance-strip strong {
  color: #6f1d2f;
  font-size: 0.94rem;
}

.jewelry-assurance-strip span {
  margin-top: 0.25rem;
  color: #5f5140;
  font-size: 0.88rem;
}

.product-grid {
  gap: 1.1rem;
}

.product-card {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(184, 137, 54, 0.25);
  background: linear-gradient(180deg, #fffef9, #fbf3e6);
  box-shadow: 0 10px 28px rgba(69, 44, 14, 0.1);
  color: var(--jewel-ink);
}

.product-card:hover {
  border-color: rgba(184, 137, 54, 0.6);
  box-shadow: 0 18px 40px rgba(69, 44, 14, 0.18);
}

.product-image {
  min-height: 248px;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(243, 217, 155, 0.58), transparent 42%),
    linear-gradient(145deg, #20160d, #6f1d2f 55%, #b88936);
  padding: 0.55rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.product-image.no-image span {
  background: linear-gradient(145deg, #fff5dc, #e7c26d);
  color: #3d260d;
}

.product-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  min-height: 48px;
  color: var(--jewel-ink);
}

.product-rating-line {
  color: var(--jewel-gold);
}

.product-rating-line span,
.product-meta-line,
.jewelry-spec-line {
  color: #6d604f;
}

.jewelry-spec-line {
  margin: -0.15rem 0 0;
  font-size: 0.82rem;
}

.price-summary .price {
  color: #6f1d2f;
  font-size: 1.26rem;
}

.price-summary .old-price {
  color: #9d8a70;
}

.discount-rate-badge,
.product-tag-badge {
  background: linear-gradient(135deg, #6f1d2f, #b88936);
  color: #fffaf0;
  border: 1px solid rgba(255, 250, 240, 0.35);
}

.collection-tabs button,
.quick-filter-chip,
.filter-tag {
  border-color: rgba(184, 137, 54, 0.28);
  background: #fffef9;
  color: var(--jewel-ink);
}

.collection-tabs button.active,
.quick-filter-chip.active {
  background: #6f1d2f;
  border-color: #6f1d2f;
  color: #fffaf0;
}

.filter-panel {
  background: linear-gradient(180deg, #fffef9, #f8efe0);
  border-radius: 8px;
}

.filter-panel input[type="checkbox"] {
  accent-color: #b88936;
}

.price-range-fields {
  border-color: rgba(184, 137, 54, 0.26);
  background: #fffaf0;
}

.site-footer {
  background: #17120b;
  border-top: 1px solid rgba(184, 137, 54, 0.36);
}

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

.footer-grid h4 {
  color: #f3d99b;
}

.footer-grid p,
.footer-grid a {
  color: #e8d8bd;
}

@media (max-width: 1024px) {
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-showcase .hero,
  .home-showcase .hero-visual,
  .home-showcase .hero-slider-window,
  .home-showcase .hero-slide {
    height: auto;
    max-height: none;
  }

  .jewelry-assurance-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-slide-content {
    top: 1.15rem;
    bottom: auto;
    transform: none;
    gap: 0.48rem;
  }

  .hero-slide-content h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.08;
  }

  .hero-slide-content p {
    font-size: 0.9rem;
  }

  .hero-slide-content .btn-link {
    padding: 0.58rem 0.82rem;
    font-size: 0.86rem;
  }

  .home-showcase .hero-slide img,
  .hero-slide img {
    height: 360px;
  }

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

/* Premium editorial refinement */
body[data-page="home"] {
  background: #fbf7ef;
}

body[data-page="home"] .site-header {
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid rgba(31, 22, 13, 0.08);
  box-shadow: none;
}

body[data-page="home"] .header-inner {
  min-height: 74px;
  grid-template-columns: minmax(250px, auto) minmax(260px, 0.8fr) auto;
}

body[data-page="home"] .logo {
  gap: 0.72rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

body[data-page="home"] .logo-mark {
  width: 38px;
  height: 38px;
  box-shadow: none;
}

body[data-page="home"] .search-bar {
  max-width: 520px;
  justify-self: center;
  border-color: rgba(31, 22, 13, 0.12);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

body[data-page="home"] .search-bar button {
  background: #17120b;
  box-shadow: none;
  padding-inline: 1.05rem;
}

body[data-page="home"] .header-actions {
  color: #30261b;
  gap: 1.05rem;
}

body[data-page="home"] .header-currency-tools {
  border: 0;
  background: transparent;
  padding: 0;
}

body[data-page="home"] .header-exchange-ticker {
  display: none;
}

.luxury-hero {
  padding: clamp(2.2rem, 5vw, 5rem) 0 0;
}

.luxury-hero-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4.5rem);
}

.luxury-hero-copy {
  max-width: 560px;
}

.luxury-eyebrow,
.luxury-section-head p {
  margin: 0 0 0.9rem;
  color: #8b6f43;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.luxury-hero-copy h1 {
  margin: 0;
  color: #17120b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
}

.luxury-lead {
  margin: 1.15rem 0 0;
  max-width: 470px;
  color: #5f5548;
  font-size: 1.02rem;
  line-height: 1.75;
}

.luxury-hero-actions {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.luxury-primary-link,
.luxury-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.luxury-primary-link {
  padding: 0.72rem 1.25rem;
  background: #17120b;
  color: #fbf7ef;
  border: 1px solid #17120b;
}

.luxury-secondary-link {
  color: #17120b;
  border-bottom: 1px solid rgba(23, 18, 11, 0.42);
}

.luxury-hero-media {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.luxury-hero-media .hero-visual,
.luxury-hero-media .hero-slider-window,
.luxury-hero-media .hero-slide {
  min-height: clamp(520px, 72vh, 760px);
  height: clamp(520px, 72vh, 760px);
  max-height: none;
  border: 0;
  border-radius: 0;
}

.luxury-hero-media .hero-slide::after {
  background:
    linear-gradient(180deg, rgba(23, 18, 11, 0.06), rgba(23, 18, 11, 0.22)),
    linear-gradient(90deg, rgba(23, 18, 11, 0.14), transparent 42%);
}

.luxury-hero-media .hero-slide img {
  height: clamp(520px, 72vh, 760px);
  object-fit: cover;
}

.luxury-hero-media .hero-slider-nav {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: rgba(251, 247, 239, 0.88);
  border: 0;
  color: #17120b;
  box-shadow: none;
}

.luxury-hero-media .hero-slider-dots {
  bottom: 22px;
}

.luxury-hero-media .hero-dot {
  width: 32px;
  height: 2px;
  border-radius: 0;
  background: rgba(251, 247, 239, 0.48);
}

.luxury-hero-media .hero-dot.active {
  background: #fbf7ef;
}

.luxury-category-rail {
  margin-top: 1.2rem;
  padding: 1rem 0;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(23, 18, 11, 0.1);
  border-top: 1px solid rgba(23, 18, 11, 0.08);
}

.luxury-category-rail a {
  white-space: nowrap;
  color: #31271c;
  font-size: 0.86rem;
  font-weight: 700;
}

.luxury-service-line {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 18, 11, 0.1);
  border-bottom: 1px solid rgba(23, 18, 11, 0.1);
}

.luxury-service-line article {
  padding: 1.25rem 1.2rem;
  border-right: 1px solid rgba(23, 18, 11, 0.1);
}

.luxury-service-line article:last-child {
  border-right: 0;
}

.luxury-service-line span {
  display: block;
  color: #9d834e;
  font-size: 0.78rem;
  font-weight: 800;
}

.luxury-service-line strong {
  display: block;
  margin-top: 0.35rem;
  color: #17120b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.luxury-service-line p {
  margin: 0.4rem 0 0;
  max-width: 330px;
  color: #62584c;
  font-size: 0.9rem;
  line-height: 1.55;
}

.luxury-product-section {
  margin-top: clamp(2.6rem, 5vw, 5rem);
}

.luxury-section-head {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(23, 18, 11, 0.1);
  padding-bottom: 0.9rem;
}

.luxury-section-head p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.luxury-section-head h2 {
  margin: 0;
  color: #17120b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
}

.luxury-section-head > a {
  color: #17120b;
  font-weight: 800;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(23, 18, 11, 0.38);
}

.luxury-section-head .collection-tabs {
  align-self: center;
}

.luxury-section-head .collection-tabs button {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #706456;
  padding: 0.25rem 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.luxury-section-head .collection-tabs button.active {
  background: transparent;
  color: #17120b;
  border-bottom-color: #17120b;
}

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

.luxury-grid .product-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.luxury-grid .product-card:hover {
  transform: none;
  box-shadow: none;
}

.luxury-grid .product-image {
  min-height: 330px;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  padding: 0;
  background: #eee5d6;
}

.luxury-grid .product-image img {
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.luxury-grid .product-card:hover .product-image img {
  transform: scale(1.025);
  filter: saturate(0.96) contrast(1.04);
}

.luxury-grid .discount-rate-badge,
.luxury-grid .product-tag-badge {
  top: 0.7rem;
  border: 0;
  border-radius: 0;
  background: rgba(251, 247, 239, 0.92);
  color: #17120b;
  box-shadow: none;
}

.luxury-grid .product-title {
  margin-top: 0.9rem;
  min-height: auto;
  font-size: 1.08rem;
  font-weight: 500;
}

.luxury-grid .product-rating-line {
  display: none;
}

.luxury-grid .product-meta-line,
.luxury-grid .jewelry-spec-line {
  color: #766a5c;
  font-size: 0.82rem;
}

.luxury-grid .price-summary {
  margin-top: 0.25rem;
}

.luxury-grid .price-summary .price {
  color: #17120b;
  font-size: 1rem;
  font-weight: 800;
}

.luxury-grid .card-actions {
  margin-top: 0.45rem;
  grid-template-columns: 1fr auto;
}

.luxury-grid .add-cart-btn {
  min-height: 38px;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(23, 18, 11, 0.22);
  color: #17120b;
  box-shadow: none;
  font-size: 0.82rem;
}

.luxury-grid .add-cart-btn:hover:not(:disabled) {
  background: #17120b;
  color: #fbf7ef;
  box-shadow: none;
}

.luxury-grid .wishlist-btn {
  border-radius: 0;
  border-color: rgba(23, 18, 11, 0.18);
  background: transparent;
  box-shadow: none;
}

@media (max-width: 1180px) {
  body[data-page="home"] .header-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body[data-page="home"] .search-bar {
    justify-self: stretch;
    max-width: none;
  }

  body[data-page="home"] .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .luxury-hero-inner {
    grid-template-columns: 1fr;
  }

  .luxury-hero-copy {
    max-width: 760px;
  }

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

@media (max-width: 768px) {
  .luxury-hero {
    padding-top: 1.6rem;
  }

  .luxury-hero-copy h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }

  .luxury-hero-media .hero-visual,
  .luxury-hero-media .hero-slider-window,
  .luxury-hero-media .hero-slide,
  .luxury-hero-media .hero-slide img {
    min-height: 430px;
    height: 430px;
  }

  .luxury-category-rail {
    width: calc(100% - 2.4rem);
  }

  .luxury-service-line {
    grid-template-columns: 1fr;
  }

  .luxury-service-line article {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 18, 11, 0.1);
  }

  .luxury-service-line article:last-child {
    border-bottom: 0;
  }

  .luxury-section-head {
    grid-template-columns: 1fr;
  }

  .luxury-section-head .collection-tabs {
    flex-wrap: wrap;
  }

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

  .luxury-grid .product-image {
    min-height: 390px;
  }
}

/* Final storefront override for the supplied Asimogullari reference */
:root {
  --ref-black: #050505;
  --ref-gold: #c9963e;
  --ref-gold-light: #e4bc72;
  --ref-line: rgba(201, 150, 62, 0.34);
}

body,
body[data-page="home"] {
  background: #fff !important;
  color: #171717;
}

.site-header,
body[data-page="home"] .site-header {
  top: 0;
  background: var(--ref-black) !important;
  border-bottom: 1px solid var(--ref-line) !important;
  color: #fff;
  box-shadow: none !important;
}

.store-topbar {
  display: block;
  background: #030303;
  border-bottom: 1px solid var(--ref-line);
  color: #fff;
  font-size: 0.82rem;
}

.store-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  white-space: nowrap;
}

.store-topbar span::before {
  content: "◇";
  margin-right: 0.36rem;
  color: var(--ref-gold);
}

.header-inner,
body[data-page="home"] .header-inner {
  min-height: 100px;
  grid-template-columns: 310px minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 1.2rem;
}

.logo {
  color: var(--ref-gold-light) !important;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 0;
  border: 1px solid var(--ref-line);
  background: transparent !important;
  color: var(--ref-gold-light);
  box-shadow: none;
}

.logo-text {
  display: grid;
  text-align: center;
  line-height: 1.05;
}

.logo-text strong {
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 500;
}

.logo-text small {
  color: var(--ref-gold-light);
  font-size: 0.84rem;
  letter-spacing: 0.48em;
}

.main-store-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-store-nav a {
  position: relative;
  padding: 0.7rem 0;
}

.main-store-nav a.active,
.main-store-nav a:hover {
  color: var(--ref-gold-light);
}

.main-store-nav a.active::after,
.main-store-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ref-gold);
}

.header-actions,
body[data-page="home"] .header-actions {
  gap: 0.78rem;
  color: #fff;
}

.header-currency-tools {
  display: none !important;
}

.search-bar,
body[data-page="home"] .search-bar {
  width: 44px;
  height: 44px;
  max-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search-bar input {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
}

.search-bar button,
body[data-page="home"] .search-bar button,
.header-icon-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #fff;
  box-shadow: none;
  font-size: 1.45rem;
  line-height: 1;
}

.search-bar button:hover,
.header-icon-link:hover {
  color: var(--ref-gold-light);
}

.header-search-form,
body[data-page="home"] .header-search-form {
  position: relative;
  overflow: visible;
}

.header-search-form input,
body[data-page="home"] .header-search-form input {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 1200;
  width: 280px;
  height: 44px;
  min-width: 280px;
  padding: 0 44px 0 15px;
  border: 1px solid rgba(201, 164, 91, .36);
  border-radius: 8px;
  background: #fff;
  color: #111;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.header-search-form input::placeholder {
  color: #777;
}

.header-search-form.is-open input,
body[data-page="home"] .header-search-form.is-open input {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-search-form.is-open::after {
  content: "";
  position: absolute;
  top: calc(100% + 18px);
  right: 13px;
  z-index: 1201;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(201, 164, 91, .36);
  border-left: 1px solid rgba(201, 164, 91, .36);
  background: #fff;
  transform: rotate(45deg);
}

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  margin: 0;
  background: var(--ref-gold-light);
  color: #111;
  font-size: 0.72rem;
}

.jewel-hero {
  margin: 0;
  background: #050505;
}

.jewel-hero .hero-visual,
.jewel-hero .hero-slider-window,
.jewel-hero .hero-slide,
.jewel-hero .hero-slide img {
  min-height: 590px;
  height: 590px;
  border: 0;
  border-radius: 0;
}

.jewel-hero .hero-slide {
  position: relative;
  background: #050505;
}

.jewel-hero .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .78) 30%, rgba(0, 0, 0, .22) 62%, rgba(0, 0, 0, .42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .36));
}

.jewel-hero .hero-slide img {
  object-fit: cover;
  object-position: right center;
}

.jewel-hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}

.jewel-hero-copy > * {
  max-width: 570px;
  pointer-events: auto;
}

.jewel-hero-copy p:first-child {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.jewel-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 500;
  line-height: .96;
}

.jewel-hero-copy h1 span {
  display: block;
  color: var(--ref-gold-light);
}

.hero-divider {
  width: min(350px, 70%);
  margin: 1.55rem 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--ref-gold);
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--ref-gold);
}

.jewel-hero-lead {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.75;
}

.jewel-cta {
  margin-top: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 250px;
  min-height: 56px;
  padding: .9rem 1.45rem;
  border: 1px solid var(--ref-gold);
  color: var(--ref-gold-light);
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jewel-hero .hero-slider-nav {
  display: none;
}

.jewel-hero .hero-slider-dots {
  z-index: 3;
  bottom: 24px;
}

.jewel-hero .hero-dot {
  width: 11px;
  height: 11px;
  background: #fff;
  opacity: 1;
}

.jewel-hero .hero-dot.active {
  background: var(--ref-gold);
}

.jewel-benefits {
  background: #fff;
  border-bottom: 1px solid #e6e1d9;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.jewel-benefits-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.jewel-benefits article,
.jewel-newsletter-row > article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .18rem .9rem;
  align-items: center;
}

.jewel-benefits span,
.jewel-newsletter-row > article > span {
  grid-row: span 2;
  color: var(--ref-gold);
  font-size: 2.35rem;
}

.jewel-benefits strong,
.jewel-newsletter-row strong {
  color: #111;
  font-size: .94rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jewel-benefits p,
.jewel-newsletter-row p {
  margin: 0;
  color: #555;
  font-size: .86rem;
}

.jewel-section {
  margin-top: 2rem;
}

.jewel-section-title,
.jewel-section-title.with-link {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  text-align: center;
}

.jewel-section-title:not(.with-link) {
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
}

.jewel-section-title span {
  height: 1px;
  background: var(--ref-gold);
}

.jewel-section-title h2 {
  margin: 0;
  color: #171717;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jewel-section-title a {
  color: #111;
  font-weight: 750;
}

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

.jewel-category-card {
  min-height: 216px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  padding: 1rem;
  border: 1px solid #e0ded9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7f7f7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.category-jewel-visual {
  width: 100%;
  min-height: 112px;
  position: relative;
}

.category-jewel-visual::before {
  content: "";
  position: absolute;
  inset: 18px 10% 10px;
  border: 9px solid #d7a34b;
  border-radius: 999px;
  transform: rotate(-14deg);
  box-shadow: 12px 10px 0 rgba(227, 195, 122, .38), inset 0 0 0 2px #fff0c9;
}

.category-jewel-visual::after {
  content: "◇";
  position: absolute;
  right: 20%;
  bottom: 18px;
  color: #d7a34b;
  font-size: 1.8rem;
}

.jewel-category-card strong {
  margin-top: .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.jewel-category-card small span,
.jewel-section-title a,
.jewel-category-card:hover strong {
  color: var(--ref-gold);
}

.product-grid.jewel-product-grid,
.jewel-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.35rem;
}

.product-card,
.luxury-grid .product-card {
  position: relative;
  border: 1px solid #e1dfdb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  padding: .85rem;
  color: #151515;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 150, 62, .58);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .11);
}

.product-image,
.luxury-grid .product-image {
  min-height: 190px;
  height: 190px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f2f2f2);
  padding: .35rem;
  display: grid;
  place-items: center;
}

.product-image img,
.luxury-grid .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.product-image > span:not(:only-child) {
  display: none;
}

.wishlist-btn,
.luxury-grid .wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #dfd7ca;
  background: #fff;
  color: #151515;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.product-title,
.luxury-grid .product-title {
  margin: .8rem 0 0;
  min-height: 42px;
  color: #111;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 500;
}

.product-rating-line,
.luxury-grid .product-rating-line {
  display: block;
  margin: .22rem 0 0;
  color: #d89422;
  font-size: .86rem;
}

.product-rating-line span {
  color: #555;
}

.product-meta-line,
.jewelry-spec-line {
  display: none;
}

.price-summary .price,
.price,
.luxury-grid .price-summary .price {
  color: #111;
  font-size: 1.08rem;
  font-weight: 850;
}

.card-actions,
.luxury-grid .card-actions {
  margin-top: .65rem;
  grid-template-columns: 1fr;
}

.add-cart-btn,
.btn-link.add-cart-btn,
.luxury-grid .add-cart-btn {
  min-height: 42px;
  border-radius: 4px;
  background: #050505;
  border: 1px solid #050505;
  color: var(--ref-gold-light);
  box-shadow: none;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.add-cart-btn:hover:not(:disabled) {
  background: var(--ref-gold);
  border-color: var(--ref-gold);
  color: #050505;
}

.discount-rate-badge,
.product-tag-badge,
.luxury-grid .discount-rate-badge,
.luxury-grid .product-tag-badge {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #b98230, #f0c77b) !important;
  color: #111 !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}

.jewel-collection-banner {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 6px;
  background: #050505;
  color: #fff;
}

.jewel-collection-banner div {
  padding: .8rem 1.2rem;
  align-self: center;
}

.jewel-collection-banner small {
  color: var(--ref-gold-light);
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.jewel-collection-banner h2 {
  margin: .4rem 0 .25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.jewel-collection-banner a {
  display: inline-flex;
  padding: .72rem 1.2rem;
  border-radius: 4px;
  background: var(--ref-gold-light);
  color: #111;
  font-size: .84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jewel-collection-banner img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 4px;
}

.jewel-newsletter-row {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  border-top: 1px solid #e2ded6;
  border-bottom: 1px solid #e2ded6;
}

.jewel-newsletter-row > article {
  padding: 1.2rem 1rem;
  border-right: 1px solid #e2ded6;
}

.newsletter-card {
  display: block !important;
}

.newsletter-card h3 {
  margin: 0;
  max-width: 250px;
  font-size: 1rem;
  line-height: 1.18;
  text-transform: uppercase;
}

.newsletter-card form {
  margin-top: .75rem;
  display: grid;
  grid-template-columns: 1fr 44px;
  border: 1px solid #ded8cd;
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-card input {
  min-width: 0;
  border: 0;
  padding: .72rem .85rem;
}

.newsletter-card button {
  border: 0;
  background: var(--ref-gold);
  color: #fff;
}

.jewel-hidden-collection {
  display: none;
}

.site-footer {
  margin-top: 0;
  background: #050505;
  border-top: 1px solid var(--ref-line);
}

.footer-grid {
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  padding: 1.8rem 0 1.3rem;
}

.footer-grid h4 {
  color: var(--ref-gold-light);
  font-size: .92rem;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  color: #ddd;
  font-size: .92rem;
}

@media (max-width: 1180px) {
  .store-topbar-inner,
  .main-store-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .store-topbar-inner::-webkit-scrollbar,
  .main-store-nav::-webkit-scrollbar {
    display: none;
  }

  .header-inner,
  body[data-page="home"] .header-inner {
    grid-template-columns: 1fr !important;
    padding: 1rem 0;
  }

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

  .jewel-benefits-grid,
  .jewel-newsletter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.4rem, 1360px);
  }

  .logo-text small {
    letter-spacing: .28em;
  }

  .jewel-hero .hero-visual,
  .jewel-hero .hero-slider-window,
  .jewel-hero .hero-slide,
  .jewel-hero .hero-slide img {
    min-height: 520px;
    height: 520px;
  }

  .jewel-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .jewel-benefits-grid,
  .jewel-category-grid,
  .product-grid.jewel-product-grid,
  .jewel-product-grid,
  .jewel-newsletter-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .jewel-section-title,
  .jewel-section-title.with-link {
    grid-template-columns: 1fr;
  }

  .jewel-section-title h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .jewel-section-title span {
    display: none;
  }

  .jewel-collection-banner {
    grid-template-columns: 1fr;
  }

  .jewel-collection-banner img {
    height: 190px;
  }
}

/* Asimogullari premium boutique design system */
:root {
  --lux-bg: #0B0B0C;
  --lux-bg-2: #111112;
  --lux-card: #161616;
  --lux-hover: #1B1B1C;
  --lux-gold: #C9A45B;
  --lux-gold-2: #B88C3C;
  --lux-gold-light: #E4C88D;
  --lux-text: #FFFFFF;
  --lux-text-2: #B7B7B7;
  --lux-muted: #7B7B7B;
  --lux-divider: rgba(255,255,255,.08);
  --lux-gold-line: rgba(201,164,91,.20);
  --lux-radius: 12px;
  --lux-max: 1500px;
  --lux-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --lux-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: var(--lux-bg);
  --bg-soft: var(--lux-bg-2);
  --card: var(--lux-card);
  --text: var(--lux-text);
  --muted: var(--lux-text-2);
  --primary: var(--lux-gold);
  --accent: var(--lux-gold-light);
  --border: var(--lux-divider);
  --shadow: none;
  --radius: var(--lux-radius);
}

html {
  background: var(--lux-bg);
  color-scheme: dark;
}

body,
body[data-page="home"],
body:not([data-page="admin"]) {
  background: var(--lux-bg) !important;
  color: var(--lux-text);
  font-family: var(--lux-sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease, opacity 250ms ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 1px solid var(--lux-gold-light);
  outline-offset: 4px;
}

.container {
  width: min(100% - clamp(32px, 5vw, 96px), var(--lux-max)) !important;
  margin-inline: auto;
}

.site-header,
body[data-page="home"] .site-header {
  background: rgba(11,11,12,.96) !important;
  border-bottom: 1px solid var(--lux-gold-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
}

.store-topbar {
  display: none !important;
}

.header-inner,
body[data-page="home"] .header-inner {
  min-height: 88px !important;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr) !important;
  gap: 32px;
}

.logo {
  color: var(--lux-text) !important;
  font-family: var(--lux-serif);
  letter-spacing: .08em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--lux-gold-line);
  border-radius: 50%;
  background: transparent !important;
  color: var(--lux-gold-light);
}

.logo-text {
  text-align: left;
}

.logo-text strong {
  color: var(--lux-text);
  font-family: var(--lux-serif);
  font-size: clamp(1.25rem, 1.6vw, 1.75rem);
  font-weight: 600;
}

.logo-text small,
.logo-text em {
  color: var(--lux-gold-light);
}

.logo-text em {
  display: none;
}

.main-store-nav {
  justify-self: center;
  gap: clamp(20px, 3vw, 44px);
  color: var(--lux-text-2);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.main-store-nav a:nth-child(4),
.main-store-nav a:nth-child(5) {
  display: none;
}

.main-store-nav a {
  padding: 32px 0;
}

.main-store-nav a.active,
.main-store-nav a:hover,
.header-icon-link:hover,
.search-bar button:hover {
  color: var(--lux-gold-light);
}

.main-store-nav a.active::after,
.main-store-nav a:hover::after {
  height: 1px;
  background: var(--lux-gold);
}

.header-actions {
  justify-self: end;
  gap: 8px;
}

.search-bar,
body[data-page="home"] .search-bar,
.search-bar button,
body[data-page="home"] .search-bar button,
.header-icon-link {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  color: var(--lux-text);
  font-size: 1.2rem;
  box-shadow: none;
}

.badge {
  min-width: 16px;
  height: 16px;
  background: transparent;
  border: 1px solid var(--lux-gold);
  color: var(--lux-gold-light);
  font-size: .65rem;
}

.jewel-hero {
  background: var(--lux-bg);
}

.jewel-hero .hero-visual,
.jewel-hero .hero-slider-window,
.jewel-hero .hero-slide,
.jewel-hero .hero-slide img {
  min-height: min(76vh, 760px);
  height: min(76vh, 760px);
}

.jewel-hero .hero-slide::after {
  background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.58) 44%, rgba(11,11,12,.20) 100%) !important;
}

.jewel-hero-copy h1,
.category-landing-copy h1,
.category-product-hero h1,
.page-hero h1,
.detail-info h1,
.jewel-section-title h2,
.luxury-section-head h2,
.footer-grid h4,
.filter-panel h2,
.cart-summary-shell h3,
.checkout-summary-shell h3,
.account-panel h2 {
  font-family: var(--lux-serif) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.jewel-hero-copy p:first-child {
  color: var(--lux-gold-light);
  font-size: .75rem;
  letter-spacing: .24em;
  font-weight: 600;
}

.jewel-hero-copy h1 {
  max-width: 760px;
  color: var(--lux-text);
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: .9;
}

.jewel-hero-copy h1 span,
.hero-divider,
.jewel-section-title a,
.category-showcase-card span {
  color: var(--lux-gold-light);
}

.hero-divider::before,
.hero-divider::after,
.jewel-section-title span {
  background: var(--lux-gold-line);
}

.jewel-hero-lead {
  max-width: 560px;
  color: var(--lux-text-2);
  font-size: 1.08rem;
}

.jewel-cta,
.btn-primary,
.btn-secondary,
.add-cart-btn,
.btn-link.add-cart-btn,
.category-clear-btn,
.listing-pagination button,
.cart-tool-row button {
  min-height: 46px;
  border: 1px solid var(--lux-gold) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--lux-gold-light) !important;
  box-shadow: none !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, opacity 250ms ease;
}

.jewel-cta:hover,
.btn-primary:hover,
.btn-secondary:hover,
.add-cart-btn:hover:not(:disabled),
.btn-link.add-cart-btn:hover,
.category-clear-btn:hover,
.listing-pagination button:hover,
.cart-tool-row button:hover {
  background: var(--lux-gold) !important;
  color: #0B0B0C !important;
}

.jewel-benefits,
.jewel-newsletter-row,
.category-assurance-row {
  background: var(--lux-bg-2) !important;
  border-block: 1px solid var(--lux-divider) !important;
  box-shadow: none !important;
}

.jewel-benefits-grid,
.jewel-newsletter-row,
.category-assurance-row,
.luxury-service-line {
  min-height: 128px;
  gap: 0;
}

.jewel-benefits article,
.jewel-newsletter-row > article,
.category-assurance-row article,
.luxury-service-line article {
  padding: 28px 24px;
  border-color: var(--lux-divider) !important;
}

.jewel-benefits span,
.jewel-newsletter-row > article > span,
.category-assurance-row span {
  color: var(--lux-gold);
  font-size: 1.35rem;
}

.jewel-benefits strong,
.jewel-newsletter-row strong,
.category-assurance-row strong,
.luxury-service-line strong {
  color: var(--lux-text);
  font-weight: 600;
}

.jewel-benefits p,
.jewel-newsletter-row p,
.category-assurance-row p,
.luxury-service-line p {
  color: var(--lux-text-2);
}

.jewel-section,
.luxury-product-section,
.tabs-section,
.category-landing-layout {
  margin-top: clamp(64px, 8vw, 128px);
}

.jewel-section-title,
.jewel-section-title.with-link,
.luxury-section-head {
  margin-bottom: 32px;
  border-color: var(--lux-divider);
}

.jewel-section-title h2,
.luxury-section-head h2 {
  color: var(--lux-text);
  font-size: clamp(2.1rem, 4vw, 4rem);
  text-transform: none;
}

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

.jewel-category-card,
.category-showcase-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-radius);
  background: var(--lux-card) !important;
  box-shadow: none;
}

.category-jewel-visual {
  min-height: 300px;
}

.category-jewel-visual::before,
.category-jewel-visual::after {
  opacity: .42;
  border-color: var(--lux-gold);
  color: var(--lux-gold);
  box-shadow: none;
}

.jewel-category-card strong,
.category-showcase-card h2 {
  color: var(--lux-text);
  font-family: var(--lux-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 500;
  text-transform: none;
}

.jewel-category-card small,
.category-showcase-card p {
  color: var(--lux-text-2);
}

.category-showcase-card img {
  height: 100%;
  filter: saturate(.92) contrast(1.05);
  transition: transform 300ms ease;
}

.category-showcase-card:hover img {
  transform: scale(1.03);
}

.product-grid,
.product-grid.jewel-product-grid,
.jewel-product-grid,
.luxury-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(24px, 3vw, 40px) !important;
}

.product-card,
.luxury-grid .product-card {
  position: relative;
  padding: 0 0 24px !important;
  overflow: hidden;
  border: 1px solid transparent !important;
  border-radius: var(--lux-radius) !important;
  background: transparent !important;
  color: var(--lux-text) !important;
  box-shadow: none !important;
  transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}

.product-card:hover {
  transform: none !important;
  border-color: var(--lux-gold-line) !important;
  background: var(--lux-card) !important;
}

.product-image,
.luxury-grid .product-image {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--lux-radius) !important;
  background: #111112 !important;
}

.product-image img,
.luxury-grid .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: inherit !important;
  transition: transform 250ms ease, filter 250ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
  filter: saturate(.94) contrast(1.06);
}

.product-title,
.luxury-grid .product-title {
  min-height: 0 !important;
  margin: 22px 18px 0 !important;
  color: var(--lux-text) !important;
  font-family: var(--lux-serif) !important;
  font-size: clamp(1.45rem, 2vw, 1.9rem) !important;
  font-weight: 500 !important;
  line-height: 1.05;
  text-align: center;
}

.product-subtitle,
.product-meta-line {
  display: block !important;
  margin: 8px 18px 0;
  color: var(--lux-muted) !important;
  font-size: .78rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.jewelry-spec-line {
  display: none !important;
}

.product-rating-line,
.discount-rate-badge,
.product-tag-badge,
.detail-discount-rate,
.rating,
#detail-rating,
.cart-hero-badges,
.quick-filter-chips,
.active-filter-tags {
  display: none !important;
}

.price-summary {
  margin: 14px 18px 0 !important;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: baseline;
}

.price-summary .price,
.price,
.luxury-grid .price-summary .price,
.detail-price {
  color: var(--lux-text) !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
}

.old-price,
.price-summary .old-price {
  color: var(--lux-muted) !important;
  font-size: .85rem !important;
  text-decoration-color: var(--lux-muted);
}

.card-actions,
.luxury-grid .card-actions {
  margin: 18px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
}

.product-card .add-cart-btn {
  opacity: 0;
  transform: translateY(8px);
}

.product-card:hover .add-cart-btn,
.product-card:focus-within .add-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.wishlist-btn,
.luxury-grid .wishlist-btn,
.icon-action-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lux-gold-line) !important;
  border-radius: 50% !important;
  background: rgba(11,11,12,.68) !important;
  color: var(--lux-gold-light) !important;
  box-shadow: none !important;
  opacity: 0;
  transition: opacity 250ms ease, border-color 250ms ease, color 250ms ease;
}

.product-card:hover .wishlist-btn,
.product-card:focus-within .wishlist-btn,
.icon-action-btn {
  opacity: 1;
}

.page-main,
body:not([data-page="home"]):not([data-page="admin"]) .page-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  padding-block: clamp(48px, 7vw, 96px) !important;
}

.card,
.form-shell,
.detail-surface,
.listing-toolbar,
.filter-panel,
.listing-pagination,
.listing-empty-state,
.page-hero,
.category-filter-card {
  border: 1px solid var(--lux-divider) !important;
  border-radius: var(--lux-radius) !important;
  background: var(--lux-card) !important;
  color: var(--lux-text);
  box-shadow: none !important;
}

.filter-panel,
body:not([data-page="home"]):not([data-page="admin"]) .filter-panel {
  position: sticky;
  top: 120px;
  padding: 24px !important;
}

.filter-head,
.filter-panel section,
.cart-tool-panel,
.tabs,
.cart-summary-list div {
  border-color: var(--lux-divider) !important;
}

.filter-panel section {
  padding: 18px 0;
}

.filter-panel details.filter-accordion {
  border-top: 1px solid var(--lux-divider);
  padding: 18px 0;
}

.filter-panel details.filter-accordion:first-of-type {
  border-top: 0;
}

.filter-panel details.filter-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--lux-gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  list-style: none;
  text-transform: uppercase;
}

.filter-panel details.filter-accordion summary::-webkit-details-marker {
  display: none;
}

.filter-panel details.filter-accordion summary::after {
  content: "+";
  color: var(--lux-gold);
  font-size: 1rem;
  font-weight: 400;
}

.filter-panel details.filter-accordion[open] summary::after {
  content: "-";
}

.filter-panel details.filter-accordion > :not(summary) {
  margin-top: 14px;
}

.filter-panel h3,
.checkout-section-title {
  color: var(--lux-gold-light) !important;
  font-size: .78rem !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.filter-panel label,
.form-field span,
.form-field label,
.checkout-checkbox-field,
.cart-order-note,
.cart-gift-wrap-option {
  color: var(--lux-text-2) !important;
}

input,
select,
textarea,
.price-input-wrap,
.qty-control {
  border: 1px solid var(--lux-divider) !important;
  border-radius: 10px !important;
  background: var(--lux-bg-2) !important;
  color: var(--lux-text) !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--lux-muted);
}

input[type="checkbox"] {
  accent-color: var(--lux-gold);
}

.listing-toolbar {
  padding: 20px 24px !important;
}

.listing-toolbar p,
.listing-toolbar label,
.cart-summary-note,
.single-line-note {
  color: var(--lux-text-2) !important;
}

.category-product-hero,
.category-landing-hero,
.page-hero,
.listing-intro-hero {
  grid-column: 1 / -1;
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: clamp(48px, 7vw, 96px) !important;
  overflow: hidden;
  border: 1px solid var(--lux-divider);
  border-radius: var(--lux-radius);
  background-color: var(--lux-bg-2);
  background-size: cover;
  background-position: center;
}

.listing-intro-hero {
  background-image: linear-gradient(90deg, rgba(11,11,12,.88), rgba(11,11,12,.32)), url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1800&q=86");
}

.category-product-hero {
  background-image: linear-gradient(90deg, rgba(11,11,12,.88), rgba(11,11,12,.30)), var(--category-hero-image);
}

.listing-intro-hero span {
  color: var(--lux-gold-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.listing-intro-hero h1 {
  margin: 14px 0 0;
  color: var(--lux-text);
  font-family: var(--lux-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  line-height: .95;
}

.listing-intro-hero p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--lux-text-2);
  line-height: 1.8;
}

.category-product-hero::before,
.category-landing-hero::before {
  background: linear-gradient(90deg, rgba(11,11,12,.86), rgba(11,11,12,.24));
}

.category-product-hero h1,
.category-landing-copy h1,
.page-hero h1 {
  color: var(--lux-text);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .95;
}

.category-product-hero p,
.category-landing-copy p,
.page-hero p {
  max-width: 640px;
  color: var(--lux-text-2);
  font-size: 1rem;
  line-height: 1.8;
}

.detail-page {
  padding-block: clamp(48px, 7vw, 96px);
}

.detail-top,
.detail-surface {
  padding: clamp(24px, 4vw, 48px) !important;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(320px, 35fr);
  gap: clamp(32px, 5vw, 72px);
}

.detail-gallery {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
}

.image-gallery-top {
  grid-column: 1 / -1;
}

.image-frame,
.product-detail-image {
  min-height: 620px;
  border: 0 !important;
  border-radius: var(--lux-radius);
  background: var(--lux-bg-2) !important;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-row {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb {
  width: 76px;
  height: 96px;
  border: 1px solid var(--lux-divider) !important;
  border-radius: 10px !important;
  background: var(--lux-bg-2) !important;
}

.thumb.active,
.thumb:hover {
  border-color: var(--lux-gold) !important;
}

.detail-info {
  align-self: start;
}

.breadcrumb,
.detail-meta,
.stock,
.review-summary,
.tab-content,
.table {
  color: var(--lux-text-2) !important;
}

.detail-info h1 {
  margin-top: 24px;
  color: var(--lux-text);
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: .9;
}

.image-back-btn,
.qty-control button,
.cart-tool-row button,
.review-star-btn {
  border: 1px solid var(--lux-gold-line) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--lux-gold-light) !important;
  box-shadow: none !important;
}

.image-back-btn:hover,
.qty-control button:hover,
.review-star-btn:hover {
  border-color: var(--lux-gold) !important;
  background: var(--lux-hover) !important;
}

.purchase-inline {
  padding: 20px 0 !important;
  border-top: 1px solid var(--lux-divider);
}

.tabs {
  gap: 0;
}

.tab-btn {
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lux-text-2) !important;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--lux-gold-light) !important;
  border-bottom-color: var(--lux-gold) !important;
}

.cart-page-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
}

.cart-summary-total,
.cart-summary-total span {
  color: var(--lux-text) !important;
}

.newsletter-card form {
  border-color: var(--lux-divider);
  background: var(--lux-bg-2);
}

.site-footer {
  margin-top: clamp(64px, 8vw, 128px);
  background: #080809 !important;
  border-top: 1px solid var(--lux-gold-line) !important;
}

.footer-grid {
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding: 56px 0 48px;
}

.footer-grid h4 {
  color: var(--lux-gold-light) !important;
  font-size: 1.35rem !important;
  text-transform: none !important;
}

.footer-grid p,
.footer-grid a {
  color: var(--lux-text-2) !important;
}

@media (max-width: 1180px) {
  .header-inner,
  body[data-page="home"] .header-inner {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 18px 0;
  }

  .logo,
  .main-store-nav,
  .header-actions {
    justify-self: start;
  }

  .product-grid,
  .product-grid.jewel-product-grid,
  .jewel-product-grid,
  .luxury-grid,
  .jewel-category-grid,
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-main,
  body:not([data-page="home"]):not([data-page="admin"]) .page-main,
  .detail-top,
  .cart-page-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, var(--lux-max)) !important;
  }

  .main-store-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .jewel-hero .hero-visual,
  .jewel-hero .hero-slider-window,
  .jewel-hero .hero-slide,
  .jewel-hero .hero-slide img {
    min-height: 620px;
    height: 620px;
  }

  .jewel-hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .product-grid,
  .product-grid.jewel-product-grid,
  .jewel-product-grid,
  .luxury-grid,
  .jewel-category-grid,
  .category-card-grid,
  .jewel-benefits-grid,
  .jewel-newsletter-row,
  .category-assurance-row,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

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

  .thumb-row {
    grid-row: auto;
    flex-direction: row;
    overflow-x: auto;
  }

  .image-frame,
  .product-detail-image {
    min-height: 430px;
  }

  .product-card .add-cart-btn,
  .wishlist-btn {
    opacity: 1;
    transform: none;
  }
}

/* Categories page uses the same premium filter language as product listings. */
.category-page .category-landing-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.category-page .category-filter-card.filter-panel {
  position: sticky;
  top: 120px;
  padding: 24px !important;
}

.category-page .category-filter-card .filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lux-divider);
}

.category-page .category-filter-card .text-btn {
  border: 1px solid var(--lux-gold-line);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--lux-gold-light) !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.category-page .category-filter-card .text-btn:hover {
  border-color: var(--lux-gold);
  background: var(--lux-hover);
}

.category-page .category-filter-card details.filter-accordion {
  border-top: 1px solid var(--lux-divider);
  padding: 18px 0;
}

.category-page .category-filter-card details.filter-accordion:first-of-type {
  border-top: 0;
}

.category-page .category-filter-card details.filter-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--lux-gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  list-style: none;
  text-transform: uppercase;
}

.category-page .category-filter-card details.filter-accordion summary::-webkit-details-marker {
  display: none;
}

.category-page .category-filter-card details.filter-accordion summary::after {
  content: "+";
  color: var(--lux-gold);
  font-size: 1rem;
  font-weight: 400;
}

.category-page .category-filter-card details.filter-accordion[open] summary::after {
  content: "-";
}

.category-page .category-filter-card details.filter-accordion > a,
.category-page .category-filter-card details.filter-accordion > label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-top: 12px;
  color: var(--lux-text-2);
  font-size: .92rem;
}

.category-page .category-filter-card details.filter-accordion > a:hover,
.category-page .category-filter-card details.filter-accordion > label:hover {
  color: var(--lux-gold-light);
}

@media (max-width: 1180px) {
  .category-page .category-landing-layout {
    grid-template-columns: 1fr;
  }

  .category-page .category-filter-card.filter-panel {
    position: static;
  }
}

/* Premium category filter sidebar specification */
.category-page .category-filter-trigger,
.category-page .category-filter-backdrop,
.category-page .category-filter-close {
  display: none;
}

.category-page .category-filter-card.filter-panel {
  background: #111112 !important;
  border: 1px solid rgba(201,164,91,.18) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  padding: 32px !important;
}

.category-page .category-filter-card .filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.category-page .category-filter-card .filter-head h2 {
  margin: 0;
  color: #E6D4AE !important;
  font-family: var(--lux-serif);
  font-size: 30px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1;
  text-transform: none !important;
}

.category-page .category-filter-card .text-btn,
.category-page .category-filter-close {
  min-width: 82px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #C9A45B !important;
  border-radius: 10px;
  background: transparent !important;
  color: #E4C88D !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.category-page .category-filter-card .text-btn:hover,
.category-page .category-filter-close:hover {
  background: #C9A45B !important;
  color: #0B0B0C !important;
}

.category-page .category-filter-card details.filter-accordion {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.category-page .category-filter-card details.filter-accordion:last-of-type {
  margin-bottom: 28px;
}

.category-page .category-filter-card details.filter-accordion summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #D8C49A;
  font-family: var(--lux-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  list-style: none;
  text-transform: uppercase;
  transition: color 250ms ease;
}

.category-page .category-filter-card details.filter-accordion summary:hover {
  color: #E4C88D;
}

.category-page .category-filter-card details.filter-accordion summary::-webkit-details-marker {
  display: none;
}

.category-page .category-filter-card details.filter-accordion summary::after {
  content: "+";
  color: #D8C49A;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 250ms ease, color 250ms ease;
}

.category-page .category-filter-card details.filter-accordion[open] summary::after {
  content: "-";
  transform: rotate(180deg);
  color: #E4C88D;
}

.category-page .category-filter-card details.filter-accordion > label,
.category-page .category-filter-card details.filter-accordion > .filter-choice-link {
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: #D0D0D0;
  font-family: var(--lux-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  transition: color 250ms ease;
}

.category-page .category-filter-card details.filter-accordion > label:hover,
.category-page .category-filter-card details.filter-accordion > .filter-choice-link:hover {
  color: #E4C88D;
}

.category-page .category-filter-card details.filter-accordion input[type="checkbox"] {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  appearance: none;
  border: 1px solid rgba(201,164,91,.82) !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.category-page .category-filter-card details.filter-accordion input[type="checkbox"]:hover {
  border-color: #E4C88D !important;
}

.category-page .category-filter-card details.filter-accordion input[type="checkbox"]:checked {
  background: #C9A45B !important;
  border-color: #C9A45B !important;
}

.category-page .category-filter-card details.filter-accordion input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #FFFFFF;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.category-page .category-filter-card .filter-choice-link::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid rgba(201,164,91,.82);
  border-radius: 50%;
  transition: border-color 200ms ease, background 200ms ease;
}

.category-page .category-filter-card .filter-choice-link:hover::before {
  border-color: #E4C88D;
}

.category-page .luxury-price-fields {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.category-page .luxury-price-field {
  position: relative;
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #D0D0D0;
}

.category-page .luxury-price-field > span:first-child {
  color: #D0D0D0;
  font-size: 13px;
}

.category-page .luxury-price-field .currency-prefix {
  position: absolute;
  left: 16px;
  bottom: 15px;
  z-index: 1;
  color: rgba(201,164,91,.72);
  font-size: 12px;
  font-weight: 700;
}

.category-page .luxury-price-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 48px !important;
  border: 1px solid rgba(201,164,91,.18) !important;
  border-radius: 12px !important;
  background: #0F0F10 !important;
  color: #FFFFFF !important;
  outline: none !important;
  box-shadow: none !important;
}

.category-page .luxury-price-field input::placeholder {
  color: #7B7B7B;
}

.category-page .luxury-price-field input:focus {
  border-color: #C9A45B !important;
}

.category-page .luxury-price-fields small {
  color: #7B7B7B;
  font-size: 12px;
  line-height: 1.5;
}

.category-page .category-filter-submit {
  width: 100%;
  height: 52px;
  border: 1px solid #C9A45B;
  border-radius: 12px;
  background: #0B0B0C;
  color: #E4C88D;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.category-page .category-filter-submit:hover {
  background: #C9A45B;
  color: #0B0B0C;
}

@media (max-width: 1180px) {
  .category-page .category-filter-trigger {
    width: min(100%, 360px);
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0 0;
    border: 1px solid #C9A45B;
    border-radius: 12px;
    background: #0B0B0C;
    color: #E4C88D;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background 250ms ease, color 250ms ease;
  }

  .category-page .category-filter-trigger:hover {
    background: #C9A45B;
    color: #0B0B0C;
  }

  .category-page .category-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 88;
    display: block;
    background: rgba(0,0,0,.56);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
  }

  .category-page .category-filter-backdrop[hidden] {
    display: block;
  }

  body.category-filter-open .category-filter-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .category-page .category-filter-card.filter-panel {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 89;
    width: min(90vw, 420px);
    max-height: none;
    overflow-y: auto;
    border-radius: 16px 0 0 16px !important;
    transform: translateX(100%);
    transition: transform 300ms ease;
  }

  body.category-filter-open .category-filter-card.filter-panel {
    transform: translateX(0);
  }

  .category-page .category-filter-close {
    min-width: 40px;
    display: inline-flex;
  }
}

/* Product detail and shopping cart reference redesign */
body[data-page="detail"],
body.cart-page {
  background:
    radial-gradient(circle at 18% 6%, rgba(201,164,91,.08), transparent 28%),
    #0B0B0C !important;
  color: #FFFFFF;
}

body[data-page="detail"] .container.detail-page,
body.cart-page .container.simple-page {
  width: min(100% - 48px, 1500px) !important;
  max-width: 1500px !important;
  padding: 36px 0 96px;
}

body[data-page="detail"] .detail-surface,
body.cart-page .cart-list-shell,
body.cart-page .cart-summary-shell,
body.cart-page .luxury-cart-hero,
body.cart-page .cart-coupon-band {
  background: rgba(17,17,18,.92) !important;
  border: 1px solid rgba(201,164,91,.18) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body[data-page="detail"] .detail-top.luxury-detail-showroom {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) minmax(380px, .9fr) !important;
  gap: 48px !important;
  align-items: start;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-page="detail"] .detail-gallery {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: stretch;
}

body[data-page="detail"] .image-gallery-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

body[data-page="detail"] .image-back-btn,
body[data-page="detail"] .icon-action-btn,
body[data-page="detail"] .detail-gallery-actions button,
body.cart-page .clear-cart-btn,
body.cart-page .drawer-remove-btn {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(201,164,91,.35) !important;
  border-radius: 10px !important;
  background: #0B0B0C !important;
  color: #E4C88D !important;
  box-shadow: none !important;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease;
}

body[data-page="detail"] .image-back-btn {
  width: auto;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] .image-back-btn:hover,
body[data-page="detail"] .icon-action-btn:hover,
body[data-page="detail"] .detail-gallery-actions button:hover,
body.cart-page .clear-cart-btn:hover,
body.cart-page .drawer-remove-btn:hover {
  background: #C9A45B !important;
  color: #0B0B0C !important;
  border-color: #C9A45B !important;
}

body[data-page="detail"] .thumb-row {
  grid-column: 1;
  grid-row: 2;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow: visible !important;
}

body[data-page="detail"] .thumb {
  width: 88px !important;
  height: 88px !important;
  min-width: 88px !important;
  border: 1px solid rgba(201,164,91,.18) !important;
  border-radius: 10px !important;
  background: #111112 !important;
  overflow: hidden;
  transition: border-color 250ms ease, transform 250ms ease;
}

body[data-page="detail"] .thumb.active,
body[data-page="detail"] .thumb:hover {
  border-color: #C9A45B !important;
  transform: translateY(-2px);
}

body[data-page="detail"] .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="detail"] .image-frame {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  min-height: clamp(560px, 60vw, 760px) !important;
  border: 1px solid rgba(201,164,91,.18) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), transparent 34%),
    radial-gradient(circle at 52% 38%, rgba(201,164,91,.12), transparent 34%),
    #050505 !important;
  overflow: hidden;
}

body[data-page="detail"] .product-detail-image,
body[data-page="detail"] .product-detail-image img {
  width: 100%;
  height: 100%;
  min-height: inherit !important;
}

body[data-page="detail"] .product-detail-image img {
  object-fit: cover !important;
  transform: scale(1);
  transition: transform 350ms ease;
}

body[data-page="detail"] .image-frame:hover .product-detail-image img {
  transform: scale(1.03);
}

body[data-page="detail"] .detail-gallery-actions {
  position: absolute;
  right: 22px;
  top: 22px;
  display: flex;
  gap: 12px;
}

body[data-page="detail"] .detail-info {
  position: sticky;
  top: 104px;
  padding: 34px !important;
  border: 1px solid rgba(201,164,91,.18);
  border-radius: 14px;
  background: rgba(17,17,18,.9);
}

body[data-page="detail"] .detail-top-actions {
  margin-bottom: 26px;
  align-items: flex-start;
}

body[data-page="detail"] .breadcrumb,
body.cart-page .cart-breadcrumb {
  color: #9E9E9E !important;
  font-size: 12px !important;
  letter-spacing: .03em;
}

body[data-page="detail"] .breadcrumb a,
body.cart-page .cart-breadcrumb a {
  color: #B7B7B7 !important;
}

body[data-page="detail"] .detail-info h1 {
  margin: 0 0 12px !important;
  color: #FFFFFF !important;
  font-family: var(--lux-serif, "Cormorant Garamond", serif) !important;
  font-size: clamp(42px, 4vw, 68px) !important;
  font-weight: 500 !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

body[data-page="detail"] .detail-collection {
  margin: 0 0 10px;
  color: #C9A45B;
  font-size: 14px;
  font-weight: 700;
}

body[data-page="detail"] .detail-meta,
body[data-page="detail"] .detail-shipping-note {
  color: #B7B7B7 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

body[data-page="detail"] .detail-price {
  margin: 22px 0 !important;
  color: #FFFFFF !important;
  font-family: var(--lux-serif, "Cormorant Garamond", serif);
  font-size: clamp(32px, 3vw, 48px) !important;
  font-weight: 500 !important;
}

body[data-page="detail"] .detail-old-price,
body[data-page="detail"] .detail-discount-rate,
body[data-page="detail"] .rating {
  display: none !important;
}

body[data-page="detail"] .stock {
  width: max-content;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 1px solid rgba(201,164,91,.22);
  border-radius: 999px;
  color: #E4C88D !important;
  background: rgba(201,164,91,.07);
  font-size: 12px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] .purchase-inline {
  display: grid;
  gap: 18px;
  margin-top: 22px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}

body[data-page="detail"] .form-field,
body[data-page="detail"] .quantity-row {
  display: grid;
  gap: 10px;
}

body[data-page="detail"] .form-field label,
body[data-page="detail"] .form-field > span,
body[data-page="detail"] .quantity-row > label {
  color: #D8C49A !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] select,
body[data-page="detail"] textarea,
body[data-page="detail"] input,
body.cart-page input,
body.cart-page textarea {
  border: 1px solid rgba(201,164,91,.18) !important;
  border-radius: 10px !important;
  background: #0F0F10 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  outline: none !important;
}

body[data-page="detail"] select,
body[data-page="detail"] .qty-control,
body.cart-page .cart-qty-wrap {
  min-height: 52px;
}

body[data-page="detail"] .qty-control,
body.cart-page .cart-qty-wrap {
  width: max-content;
  display: inline-grid !important;
  grid-template-columns: 42px 56px 42px;
  align-items: center;
  border: 1px solid rgba(201,164,91,.28);
  border-radius: 10px;
  background: #0B0B0C;
  overflow: hidden;
}

body[data-page="detail"] .qty-control button,
body.cart-page .cart-qty-wrap button {
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #C9A45B !important;
}

body[data-page="detail"] .qty-control input,
body.cart-page .cart-qty-wrap span {
  height: 100%;
  display: grid;
  place-items: center;
  border: 0 !important;
  text-align: center;
  color: #FFFFFF !important;
}

body[data-page="detail"] .btn-primary.full,
body[data-page="detail"] .btn-secondary.full,
body.cart-page .btn-primary,
body.cart-page .btn-secondary,
body.cart-page .cart-tool-row button {
  min-height: 54px;
  border: 1px solid #C9A45B !important;
  border-radius: 10px !important;
  background: #0B0B0C !important;
  color: #E4C88D !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

body[data-page="detail"] .btn-primary.full:hover,
body[data-page="detail"] .btn-secondary.full:hover,
body.cart-page .btn-primary:hover,
body.cart-page .btn-secondary:hover,
body.cart-page .cart-tool-row button:hover {
  background: #C9A45B !important;
  color: #0B0B0C !important;
}

body[data-page="detail"] .detail-spec-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 32px 0 24px;
  border: 1px solid rgba(201,164,91,.18);
  border-radius: 14px;
  background: rgba(17,17,18,.86);
  overflow: hidden;
}

body[data-page="detail"] .detail-spec-cards article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}

body[data-page="detail"] .detail-spec-cards article:last-child {
  border-right: 0;
}

body[data-page="detail"] .detail-spec-cards span {
  color: #C9A45B;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] .detail-spec-cards strong {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
}

body[data-page="detail"] .tabs-section {
  margin-top: 24px !important;
  padding: 30px !important;
}

body[data-page="detail"] .tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow-x: auto;
}

body[data-page="detail"] .tab-btn {
  min-height: 54px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #B7B7B7 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-page="detail"] .tab-btn.active {
  color: #C9A45B !important;
  box-shadow: inset 0 -1px 0 #C9A45B;
}

body[data-page="detail"] .tab-content {
  padding-top: 24px;
  color: #CFCFCF;
  line-height: 1.8;
}

body[data-page="detail"] .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.cart-page .luxury-cart-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
  padding: 34px !important;
}

body.cart-page .cart-breadcrumb {
  grid-column: 1 / -1;
  margin: 0;
}

body.cart-page .cart-hero-copy h1,
body.cart-page .cart-summary-shell h3 {
  margin: 0;
  color: #FFFFFF !important;
  font-family: var(--lux-serif, "Cormorant Garamond", serif) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

body.cart-page .cart-hero-copy h1 {
  font-size: clamp(42px, 5vw, 74px) !important;
}

body.cart-page .cart-hero-copy p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #B7B7B7;
}

body.cart-page .cart-page-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 32px !important;
  align-items: start;
}

body.cart-page .cart-list-shell,
body.cart-page .cart-summary-shell {
  padding: 28px !important;
}

body.cart-page .cart-summary-shell {
  position: sticky;
  top: 104px;
}

body.cart-page .cart-list-head {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 130px 140px 140px;
  gap: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #C9A45B;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.cart-page #cart-items-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.cart-page .cart-page-item {
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) minmax(430px, auto);
  gap: 18px;
  align-items: center;
  padding: 24px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.cart-page .cart-item-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

body.cart-page .cart-item-image {
  width: 126px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,164,91,.18);
  border-radius: 10px;
  background: #050505;
  overflow: hidden;
}

body.cart-page .cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

body.cart-page .cart-page-item:hover .cart-item-image img {
  transform: scale(1.04);
}

body.cart-page .cart-item-meta {
  display: grid;
  gap: 8px;
}

body.cart-page .cart-item-link {
  color: #FFFFFF !important;
  font-family: var(--lux-serif, "Cormorant Garamond", serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}

body.cart-page .cart-item-meta small,
body.cart-page .cart-item-meta span,
body.cart-page .cart-item-meta em {
  color: #B7B7B7 !important;
  font-style: normal;
  font-size: 13px;
}

body.cart-page .cart-page-actions {
  display: grid !important;
  grid-template-columns: 130px 130px 130px auto auto;
  gap: 14px;
  align-items: center;
  justify-content: end;
}

body.cart-page .cart-unit-price,
body.cart-page .cart-page-actions strong {
  color: #FFFFFF;
  font-weight: 700;
  text-align: right;
}

body.cart-page .cart-save-btn {
  border: 0;
  background: transparent;
  color: #C9A45B;
  font-size: 12px;
  white-space: nowrap;
}

body.cart-page .drawer-remove-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
}

body.cart-page .cart-coupon-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 22px !important;
}

body.cart-page .cart-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 0;
}

body.cart-page .cart-tool-row input {
  min-height: 52px;
  border-radius: 10px 0 0 10px !important;
}

body.cart-page .cart-tool-row button {
  border-radius: 0 10px 10px 0 !important;
}

body.cart-page .cart-trust-row,
body.cart-page .cart-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #D8C49A;
  font-size: 12px;
}

body.cart-page .cart-summary-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

body.cart-page .cart-summary-list > div,
body.cart-page .cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #B7B7B7;
}

body.cart-page .cart-summary-list dd,
body.cart-page .cart-summary-total span {
  margin: 0;
  color: #FFFFFF;
}

body.cart-page .cart-summary-total {
  margin: 28px 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}

body.cart-page .cart-summary-total span {
  color: #E4C88D;
  font-family: var(--lux-serif, "Cormorant Garamond", serif);
  font-size: 32px;
}

body.cart-page .cart-accordion-tools {
  display: grid;
  gap: 12px;
}

body.cart-page .cart-tool-panel {
  border: 1px solid rgba(201,164,91,.18);
  border-radius: 10px;
  background: #0F0F10;
  padding: 0;
}

body.cart-page .cart-tool-panel summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #D8C49A;
  cursor: pointer;
}

body.cart-page .cart-tool-panel .cart-tool-row {
  padding: 0 16px 16px;
}

body.cart-page .cart-gift-wrap-option,
body.cart-page .cart-order-note,
body.cart-page .cart-shipping-goal,
body.cart-page .cart-cargo-companies,
body.cart-page .cart-summary-note,
body.cart-page .cart-support-box {
  color: #B7B7B7;
}

body.cart-page .cart-gift-wrap-option input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50% !important;
}

body.cart-page .cart-gift-wrap-option input:checked {
  background: #C9A45B !important;
}

body.cart-page .cart-summary-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.cart-page .cart-payment-row {
  margin-top: 22px;
}

body.cart-page .cart-payment-row span {
  color: #FFFFFF;
  font-weight: 800;
}

body.cart-page .cart-support-box {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(201,164,91,.18);
  border-radius: 10px;
  background: #0F0F10;
}

body.cart-page .cart-support-box strong {
  color: #FFFFFF;
}

@media (max-width: 1180px) {
  body[data-page="detail"] .detail-top.luxury-detail-showroom,
  body.cart-page .cart-page-layout {
    grid-template-columns: 1fr !important;
  }

  body[data-page="detail"] .detail-info,
  body.cart-page .cart-summary-shell {
    position: static;
  }

  body[data-page="detail"] .detail-spec-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cart-page .cart-page-item,
  body.cart-page .cart-coupon-band {
    grid-template-columns: 1fr;
  }

  body.cart-page .cart-list-head {
    display: none;
  }

  body.cart-page .cart-page-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  body[data-page="detail"] .container.detail-page,
  body.cart-page .container.simple-page {
    width: min(100% - 24px, 1500px) !important;
    padding-top: 22px;
  }

  body[data-page="detail"] .detail-gallery {
    grid-template-columns: 1fr !important;
  }

  body[data-page="detail"] .image-frame {
    grid-column: 1;
    min-height: 440px !important;
  }

  body[data-page="detail"] .thumb-row {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row !important;
    overflow-x: auto !important;
  }

  body[data-page="detail"] .detail-info,
  body.cart-page .cart-list-shell,
  body.cart-page .cart-summary-shell,
  body.cart-page .luxury-cart-hero {
    padding: 22px !important;
  }

  body[data-page="detail"] .detail-spec-cards,
  body[data-page="detail"] .product-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-page="detail"] .detail-spec-cards article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  body.cart-page .luxury-cart-hero {
    grid-template-columns: 1fr;
  }

  body.cart-page .cart-item-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  body.cart-page .cart-item-image {
    width: 96px;
  }

  body.cart-page .cart-page-actions {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  body.cart-page .cart-unit-price,
  body.cart-page .cart-page-actions strong {
    text-align: left;
  }

  body.cart-page .cart-qty-wrap {
    grid-column: 1 / -1;
  }
}

/* Category listing page reference redesign */
body[data-page="listing"] .category-listing-page {
  --cat-bg: #0B0B0C;
  --cat-card: #111112;
  --cat-card-2: #161616;
  --cat-gold: #C9A45B;
  --cat-gold-2: #B88C3C;
  --cat-text: #FFFFFF;
  --cat-muted: #8A8A8A;
  --cat-border: rgba(201,164,91,.18);
  --cat-divider: rgba(255,255,255,.08);
  --cat-serif: var(--lux-serif, "Cormorant Garamond", "Playfair Display", serif);
  --cat-sans: var(--lux-sans, Inter, "Helvetica Neue", Arial, sans-serif);
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 34px 40px !important;
  width: min(100% - 56px, 1500px) !important;
  max-width: 1500px !important;
  padding: 0 0 72px !important;
  color: var(--cat-text);
}

body[data-page="listing"] {
  background:
    radial-gradient(circle at 82% 12%, rgba(201,164,91,.07), transparent 30%),
    #0B0B0C !important;
}

body[data-page="listing"] .category-listing-page .category-product-hero {
  position: relative;
  grid-column: 1 / -1;
  min-height: 300px !important;
  height: clamp(260px, 24vw, 320px);
  display: grid !important;
  align-items: center;
  margin: 0 calc(50% - 50vw) 0 !important;
  padding: 0 max(40px, calc((100vw - 1500px) / 2 + 40px)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(11,11,12,.98) 0%, rgba(11,11,12,.86) 42%, rgba(11,11,12,.34) 68%, rgba(11,11,12,.82) 100%),
    var(--category-hero-image),
    radial-gradient(circle at 78% 42%, rgba(201,164,91,.12), transparent 32%),
    #050505 !important;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

body[data-page="listing"] .category-listing-page .category-product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(201,164,91,.18);
}

body[data-page="listing"] .category-listing-page .category-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

body[data-page="listing"] .category-listing-page .category-hero-copy h1 {
  margin: 0;
  color: var(--cat-text);
  font-family: var(--cat-serif);
  font-size: clamp(46px, 5vw, 74px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="listing"] .category-listing-page .category-hero-copy p {
  max-width: 460px;
  margin: 18px 0 0;
  color: #C9C9C9;
  font-size: 16px;
  line-height: 1.6;
}

body[data-page="listing"] .category-listing-page .category-breadcrumb {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: -4px 0 -2px;
  color: var(--cat-muted) !important;
  font-size: 13px !important;
}

body[data-page="listing"] .category-listing-page .category-breadcrumb a,
body[data-page="listing"] .category-listing-page .category-breadcrumb strong {
  color: var(--cat-muted) !important;
  font-weight: 500;
  transition: color 250ms ease;
}

body[data-page="listing"] .category-listing-page .category-breadcrumb a:hover {
  color: var(--cat-gold) !important;
}

body[data-page="listing"] .category-listing-page .filter-panel {
  position: sticky !important;
  top: 112px !important;
  align-self: start;
  width: 280px !important;
  max-height: calc(100vh - 132px);
  overflow: auto;
  padding: 28px 24px !important;
  border: 1px solid var(--cat-border) !important;
  border-radius: 14px !important;
  background: rgba(17,17,18,.96) !important;
  box-shadow: none !important;
}

body[data-page="listing"] .category-listing-page .filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cat-divider);
}

body[data-page="listing"] .category-listing-page .filter-head h2 {
  margin: 0;
  color: #E6D4AE !important;
  font-family: var(--cat-serif) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-page="listing"] .category-listing-page .filter-head .text-btn {
  height: 38px;
  padding: 0 14px !important;
  border: 1px solid var(--cat-gold) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #E4C88D !important;
  font-size: 12px;
  font-weight: 700;
  transition: background 250ms ease, color 250ms ease;
}

body[data-page="listing"] .category-listing-page .filter-head .text-btn:hover {
  background: var(--cat-gold) !important;
  color: #0B0B0C !important;
}

body[data-page="listing"] .category-listing-page .filter-panel details.filter-accordion,
body[data-page="listing"] .category-listing-page .filter-panel section {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--cat-divider) !important;
}

body[data-page="listing"] .category-listing-page .filter-panel details.filter-accordion:first-of-type,
body[data-page="listing"] .category-listing-page .filter-panel section:first-of-type {
  border-top: 0 !important;
}

body[data-page="listing"] .category-listing-page .filter-panel summary,
body[data-page="listing"] .category-listing-page .filter-panel h3 {
  min-height: 58px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  color: #D8C49A !important;
  font-family: var(--cat-sans) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: color 250ms ease;
}

body[data-page="listing"] .category-listing-page .filter-panel summary:hover {
  color: #E4C88D !important;
}

body[data-page="listing"] .category-listing-page .filter-panel details.filter-accordion summary::after {
  content: "+";
  color: var(--cat-gold);
  font-size: 15px;
  transition: transform 250ms ease;
}

body[data-page="listing"] .category-listing-page .filter-panel details.filter-accordion[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

body[data-page="listing"] .category-listing-page .filter-panel label,
body[data-page="listing"] .category-listing-page .attribute-filter-group strong,
body[data-page="listing"] .category-listing-page .filter-panel small {
  color: #CFCFCF !important;
  font-family: var(--cat-sans);
  font-size: 14px !important;
}

body[data-page="listing"] .category-listing-page .filter-panel label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin: 10px 0 !important;
}

body[data-page="listing"] .category-listing-page .filter-panel input[type="checkbox"],
body[data-page="listing"] .category-listing-page .filter-panel input[type="radio"] {
  appearance: none;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  border: 1px solid rgba(201,164,91,.45) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background 200ms ease, border-color 200ms ease;
}

body[data-page="listing"] .category-listing-page .filter-panel input[type="checkbox"]:checked,
body[data-page="listing"] .category-listing-page .filter-panel input[type="radio"]:checked {
  border-color: var(--cat-gold) !important;
  background: radial-gradient(circle, var(--cat-gold) 0 42%, transparent 48%) !important;
}

body[data-page="listing"] .category-listing-page .filter-with-count {
  justify-content: space-between;
}

body[data-page="listing"] .category-listing-page .filter-with-count > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body[data-page="listing"] .category-listing-page .filter-with-count strong {
  color: #8A8A8A !important;
  font-size: 12px;
}

body[data-page="listing"] .category-listing-page .price-range-fields {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
}

body[data-page="listing"] .category-listing-page .price-input-wrap {
  height: 48px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--cat-border);
  border-radius: 8px;
  background: #0F0F10;
}

body[data-page="listing"] .category-listing-page .price-input-wrap span {
  color: var(--cat-gold);
  text-align: center;
}

body[data-page="listing"] .category-listing-page .price-input-wrap input {
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  color: var(--cat-text) !important;
  outline: 0 !important;
}

body[data-page="listing"] .category-listing-page .category-clear-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid var(--cat-gold);
  border-radius: 8px;
  background: #0B0B0C;
  color: #E4C88D;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="listing"] .category-listing-page .listing-area {
  min-width: 0;
}

body[data-page="listing"] .category-listing-page .listing-toolbar {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center;
  min-height: 72px;
  margin: 0 0 22px !important;
  padding: 14px 20px !important;
  border: 1px solid var(--cat-border) !important;
  border-radius: 12px !important;
  background: rgba(17,17,18,.96) !important;
  box-shadow: none !important;
}

body[data-page="listing"] .category-listing-page .listing-toolbar p {
  margin: 0 !important;
  color: #B7B7B7 !important;
  white-space: nowrap;
}

body[data-page="listing"] .category-listing-page .listing-toolbar strong {
  color: #FFFFFF;
}

body[data-page="listing"] .category-listing-page .toolbar-controls {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto auto !important;
  gap: 20px !important;
  align-items: center;
}

body[data-page="listing"] .category-listing-page .toolbar-controls label {
  display: grid !important;
  gap: 0 !important;
  color: #B7B7B7 !important;
  font-size: 13px !important;
}

body[data-page="listing"] .category-listing-page .category-toolbar-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body[data-page="listing"] .category-listing-page .listing-toolbar input,
body[data-page="listing"] .category-listing-page .listing-toolbar select {
  min-width: 0;
  height: 42px !important;
  border: 1px solid var(--cat-border) !important;
  border-radius: 10px !important;
  background: #0F0F10 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  outline: none !important;
}

body[data-page="listing"] .category-listing-page .listing-toolbar input {
  padding: 0 42px 0 16px !important;
}

body[data-page="listing"] .category-listing-page .listing-toolbar select {
  min-width: 156px;
  padding: 0 36px 0 14px !important;
}

body[data-page="listing"] .category-listing-page .category-view-toggle {
  display: none !important;
}

body[data-page="listing"] .category-listing-page .quick-filter-chips,
body[data-page="listing"] .category-listing-page .active-filter-tags {
  display: none !important;
}

body[data-page="listing"] .category-listing-page #listing-products.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body[data-page="listing"] .category-listing-page .product-card {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  align-items: start;
  padding: 20px !important;
  border: 1px solid var(--cat-border) !important;
  border-radius: 12px !important;
  background: rgba(17,17,18,.94) !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}

body[data-page="listing"] .category-listing-page .product-card:hover {
  border-color: rgba(201,164,91,.48) !important;
  background: #161616 !important;
  transform: translateY(-2px);
}

body[data-page="listing"] .category-listing-page .product-image {
  position: relative;
  width: 100% !important;
  aspect-ratio: 1.18 / 1 !important;
  min-height: 0 !important;
  margin: 0 0 22px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #050505 !important;
  overflow: hidden;
}

body[data-page="listing"] .category-listing-page .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transform: scale(1);
  transition: transform 300ms ease;
}

body[data-page="listing"] .category-listing-page .product-card:hover .product-image img {
  transform: scale(1.03);
}

body[data-page="listing"] .category-listing-page .product-title {
  min-height: 52px;
  margin: 0 auto 8px !important;
  color: #FFFFFF !important;
  font-family: var(--cat-serif) !important;
  font-size: clamp(20px, 1.45vw, 27px) !important;
  font-weight: 600 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

body[data-page="listing"] .category-listing-page .product-subtitle,
body[data-page="listing"] .category-listing-page .product-meta-line {
  min-height: 34px;
  margin: 0 0 12px !important;
  color: var(--cat-muted) !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  line-height: 1.45;
  text-align: center !important;
  text-transform: uppercase !important;
}

body[data-page="listing"] .category-listing-page .price-summary {
  display: grid !important;
  justify-items: center;
  gap: 4px;
  min-height: 48px;
  margin: 0 0 16px !important;
}

body[data-page="listing"] .category-listing-page .price-summary .price {
  color: #FFFFFF !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

body[data-page="listing"] .category-listing-page .price-summary .old-price {
  color: #777 !important;
  font-size: 13px !important;
  text-decoration: line-through;
}

body[data-page="listing"] .category-listing-page .card-actions {
  position: static !important;
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: 100%;
  margin: 0 !important;
}

body[data-page="listing"] .category-listing-page .add-cart-btn {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cat-gold) !important;
  border-radius: 8px !important;
  background: #0B0B0C !important;
  color: #E4C88D !important;
  opacity: 1 !important;
  transform: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

body[data-page="listing"] .category-listing-page .add-cart-btn:hover:not(:disabled) {
  background: var(--cat-gold) !important;
  color: #0B0B0C !important;
}

body[data-page="listing"] .category-listing-page .wishlist-btn {
  position: static !important;
  width: 44px !important;
  height: 44px !important;
  display: inline-grid !important;
  place-items: center;
  border: 1px solid rgba(201,164,91,.35) !important;
  border-radius: 8px !important;
  background: #0B0B0C !important;
  color: #E4C88D !important;
  opacity: 1 !important;
  transform: none !important;
}

body[data-page="listing"] .category-listing-page .cart-btn-icon {
  width: 16px;
  height: 16px;
}

body[data-page="listing"] .category-listing-page .listing-pagination {
  grid-column: auto;
  display: flex !important;
  justify-content: center;
  gap: 14px;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="listing"] .category-listing-page .listing-pagination button,
body[data-page="listing"] .category-listing-page .listing-pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--cat-border) !important;
  border-radius: 8px !important;
  background: #0F0F10 !important;
  color: #E4C88D !important;
}

body[data-page="listing"] .category-listing-page .listing-empty-state {
  border: 1px solid var(--cat-border) !important;
  border-radius: 12px !important;
  background: #111112 !important;
}

body[data-page="listing"] .category-listing-page .category-service-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  border: 1px solid var(--cat-border);
  border-radius: 12px;
  background: rgba(17,17,18,.94);
  overflow: hidden;
}

body[data-page="listing"] .category-listing-page .category-service-strip article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-content: center;
  padding: 20px;
  border-right: 1px solid var(--cat-divider);
}

body[data-page="listing"] .category-listing-page .category-service-strip article:last-child {
  border-right: 0;
}

body[data-page="listing"] .category-listing-page .category-service-strip span {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cat-gold);
  border-radius: 50%;
  color: var(--cat-gold);
}

body[data-page="listing"] .category-listing-page .category-service-strip strong {
  color: #FFFFFF;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body[data-page="listing"] .category-listing-page .category-service-strip small {
  color: var(--cat-muted);
  font-size: 12px;
}

@media (max-width: 1240px) {
  body[data-page="listing"] .category-listing-page {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  body[data-page="listing"] .category-listing-page #listing-products.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-page="listing"] .category-listing-page .toolbar-controls {
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-page="listing"] .category-listing-page .category-toolbar-search {
    grid-column: 1 / -1;
  }

  body[data-page="listing"] .category-listing-page .category-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body[data-page="listing"] .category-listing-page {
    grid-template-columns: 1fr !important;
    width: min(100% - 24px, 1500px) !important;
  }

  body[data-page="listing"] .category-listing-page .category-product-hero {
    min-height: 280px !important;
    padding: 0 24px !important;
  }

  body[data-page="listing"] .category-listing-page .filter-panel {
    position: static !important;
    width: 100% !important;
    max-height: none;
  }

  body[data-page="listing"] .category-listing-page .listing-toolbar {
    grid-template-columns: 1fr !important;
  }

  body[data-page="listing"] .category-listing-page .toolbar-controls {
    grid-template-columns: 1fr !important;
  }

  body[data-page="listing"] .category-listing-page #listing-products.product-grid,
  body[data-page="listing"] .category-listing-page .category-service-strip {
    grid-template-columns: 1fr !important;
  }

  body[data-page="listing"] .category-listing-page .category-service-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--cat-divider);
  }
}

/* Final cart-page override: white premium jewelry cart */
body.cart-page {
  --cart-primary: #C9A227;
  --cart-primary-hover: #B58E16;
  --cart-bg: #FAFAFA;
  --cart-card: #FFFFFF;
  --cart-border: #ECECEC;
  --cart-title: #1E1E1E;
  --cart-muted: #6B7280;
  --cart-success-bg: #EAF7EE;
  --cart-success: #2E7D32;
  background: var(--cart-bg) !important;
  color: var(--cart-title) !important;
}

body.cart-page .container.simple-page {
  width: min(100% - 64px, 1480px) !important;
  max-width: 1480px !important;
  padding: 28px 0 72px !important;
}

body.cart-page .cart-page-shell,
body.cart-page .cart-main-column,
body.cart-page #cart-items-list {
  display: grid !important;
  gap: 24px !important;
}

body.cart-page .cart-breadcrumb,
body.cart-page .cart-breadcrumb a {
  color: var(--cart-muted) !important;
  text-decoration: none !important;
}

body.cart-page .cart-breadcrumb {
  display: flex !important;
  gap: 10px !important;
  margin: 0 !important;
  font-size: 14px !important;
}

body.cart-page .cart-breadcrumb a:hover {
  color: var(--cart-primary) !important;
}

body.cart-page .cart-page-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

body.cart-page .cart-page-heading h1 {
  margin: 0 !important;
  color: var(--cart-title) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 32px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.cart-page .cart-page-heading p {
  margin: 8px 0 0 !important;
  color: var(--cart-muted) !important;
  font-size: 16px !important;
}

body.cart-page .cart-page-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 72fr) minmax(320px, 28fr) !important;
  gap: 28px !important;
  align-items: start !important;
  max-width: none !important;
  margin: 0 !important;
}

body.cart-page .cart-page-item,
body.cart-page .cart-coupon-band,
body.cart-page .cart-summary-shell,
body.cart-page .cart-recommendation-card,
body.cart-page .cart-guest-banner {
  border: 1px solid var(--cart-border) !important;
  background: var(--cart-card) !important;
  color: var(--cart-title) !important;
  box-shadow: none !important;
}

body.cart-page .cart-page-item {
  min-height: 178px !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, auto) !important;
  gap: 24px !important;
  align-items: center !important;
  padding: 24px !important;
  border-radius: 16px !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

body.cart-page .cart-page-item:hover,
body.cart-page .cart-recommendation-card:hover {
  transform: translateY(-3px) !important;
  border-color: #E2D4A5 !important;
  box-shadow: 0 14px 34px rgba(30, 30, 30, .07) !important;
}

body.cart-page .cart-item-row {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
}

body.cart-page .cart-item-image {
  width: 120px !important;
  height: 120px !important;
  border-radius: 14px !important;
}

body.cart-page .cart-item-image,
body.cart-page .cart-recommendation-image {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid var(--cart-border) !important;
  background: #fff !important;
}

body.cart-page .cart-item-image img,
body.cart-page .cart-recommendation-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .28s ease !important;
}

body.cart-page .cart-page-item:hover .cart-item-image img,
body.cart-page .cart-recommendation-card:hover .cart-recommendation-image img {
  transform: scale(1.05) !important;
}

body.cart-page .cart-item-meta {
  display: grid !important;
  gap: 12px !important;
}

body.cart-page .cart-item-meta h2 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 550 !important;
}

body.cart-page .cart-item-link,
body.cart-page .cart-recommendation-card h3 a {
  color: var(--cart-title) !important;
  text-decoration: none !important;
}

body.cart-page .cart-item-specs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style-position: inside !important;
  color: var(--cart-muted) !important;
  font-size: 15px !important;
}

body.cart-page .cart-item-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

body.cart-page .cart-save-btn,
body.cart-page .cart-remove-link,
body.cart-page .clear-cart-btn,
body.cart-page .drawer-remove-btn,
body.cart-page .cart-recommendation-fav {
  cursor: pointer !important;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

body.cart-page .cart-save-btn,
body.cart-page .cart-remove-link {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--cart-muted) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

body.cart-page .cart-save-btn:hover {
  color: var(--cart-primary) !important;
}

body.cart-page .cart-remove-link:hover {
  color: #B42318 !important;
}

body.cart-page .cart-page-actions {
  display: grid !important;
  grid-template-columns: 126px 116px 136px 44px !important;
  gap: 14px !important;
  align-items: center !important;
  justify-content: end !important;
}

body.cart-page .cart-price-block {
  display: grid !important;
  gap: 7px !important;
  text-align: right !important;
}

body.cart-page .cart-price-block span {
  color: var(--cart-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.cart-page .cart-price-block strong,
body.cart-page .cart-unit-price {
  color: var(--cart-title) !important;
  font-size: 22px !important;
  font-weight: 750 !important;
  line-height: 1.1 !important;
}

body.cart-page .cart-qty-wrap {
  width: 116px !important;
  height: 42px !important;
  display: grid !important;
  grid-template-columns: 38px 1fr 38px !important;
  align-items: stretch !important;
  overflow: hidden !important;
  border: 1px solid var(--cart-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.cart-page .cart-qty-wrap button {
  width: 38px !important;
  height: 40px !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--cart-title) !important;
  font-size: 18px !important;
}

body.cart-page .cart-qty-wrap button:hover,
body.cart-page .cart-tool-row button:hover,
body.cart-page .cart-summary-actions .btn-primary:hover,
body.cart-page .cart-recommendation-add:hover {
  background: var(--cart-primary-hover) !important;
  color: #fff !important;
}

body.cart-page .cart-qty-wrap span {
  display: grid !important;
  place-items: center !important;
  border-inline: 1px solid var(--cart-border) !important;
  color: var(--cart-title) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body.cart-page .drawer-remove-btn,
body.cart-page .clear-cart-btn {
  border: 1px solid var(--cart-border) !important;
  background: #fff !important;
}

body.cart-page .drawer-remove-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 12px !important;
  color: #C33A3A !important;
  font-size: 22px !important;
}

body.cart-page .clear-cart-btn {
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  color: var(--cart-muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.cart-page .cart-coupon-band {
  display: grid !important;
  gap: 16px !important;
  padding: 24px !important;
  border-radius: 16px !important;
}

body.cart-page .cart-coupon-band h2,
body.cart-page .cart-summary-shell h2,
body.cart-page .cart-recommendations h2 {
  margin: 0 !important;
  color: var(--cart-title) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.cart-page .cart-tool-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  padding: 0 !important;
}

body.cart-page .cart-tool-row input {
  min-height: 52px !important;
  border: 1px solid var(--cart-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--cart-title) !important;
  padding: 0 16px !important;
  font-size: 15px !important;
}

body.cart-page .cart-tool-row button,
body.cart-page .cart-summary-actions .btn-primary,
body.cart-page .cart-recommendation-add {
  position: relative !important;
  overflow: hidden !important;
  border: 0 !important;
  background: var(--cart-primary) !important;
  color: #fff !important;
  font-weight: 750 !important;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

body.cart-page .cart-tool-row button {
  min-height: 52px !important;
  border-radius: 12px !important;
  padding: 0 24px !important;
}

body.cart-page .cart-summary-shell {
  position: sticky !important;
  top: 104px !important;
  display: grid !important;
  gap: 22px !important;
  height: fit-content !important;
  padding: 28px !important;
  border-radius: 16px !important;
}

body.cart-page .cart-summary-list {
  display: grid !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.cart-page .cart-summary-list > div,
body.cart-page .cart-summary-total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
  color: var(--cart-muted) !important;
  font-size: 15px !important;
}

body.cart-page .cart-summary-list dt,
body.cart-page .cart-summary-list dd {
  margin: 0 !important;
}

body.cart-page .cart-summary-list dd {
  color: var(--cart-title) !important;
  font-weight: 650 !important;
}

body.cart-page #cart-discount {
  color: var(--cart-success) !important;
}

body.cart-page .cart-vat-row {
  display: none !important;
}

body.cart-page .cart-shipping-goal,
body.cart-page .cart-campaign-feedback {
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #DDEFE2 !important;
  border-radius: 12px !important;
  background: var(--cart-success-bg) !important;
  color: var(--cart-success) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

body.cart-page .cart-campaign-feedback:empty,
body.cart-page .cart-cargo-companies:empty,
body.cart-page .cart-guest-banner:empty {
  display: none !important;
}

body.cart-page .cart-summary-total {
  padding-top: 18px !important;
  border-top: 1px solid var(--cart-border) !important;
}

body.cart-page .cart-summary-total strong {
  color: var(--cart-title) !important;
  font-size: 16px !important;
}

body.cart-page .cart-summary-total span {
  color: var(--cart-title) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
}

body.cart-page .cart-summary-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
}

body.cart-page .cart-summary-actions .btn-primary,
body.cart-page .cart-summary-actions .btn-secondary {
  width: 100% !important;
  min-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 14px !important;
  letter-spacing: .04em !important;
}

body.cart-page .cart-summary-actions .btn-primary::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.34), transparent 85%) !important;
  transform: translateX(-120%) !important;
  transition: transform .65s ease !important;
}

body.cart-page .cart-summary-actions .btn-primary:hover::after {
  transform: translateX(120%) !important;
}

body.cart-page .cart-summary-actions .btn-secondary {
  border: 1px solid var(--cart-border) !important;
  background: #fff !important;
  color: var(--cart-title) !important;
  font-weight: 750 !important;
}

body.cart-page .cart-trust-stack {
  display: grid !important;
  gap: 12px !important;
}

body.cart-page .cart-trust-stack div {
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--cart-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.cart-page .cart-trust-stack svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: var(--cart-title) !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.cart-page .cart-hidden-action {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.cart-page .cart-recommendations {
  display: grid !important;
  gap: 18px !important;
  margin-top: 20px !important;
}

body.cart-page .cart-recommendations h2 {
  font-size: 24px !important;
}

body.cart-page .cart-recommendations-list {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(220px, 250px) !important;
  gap: 18px !important;
  overflow-x: auto !important;
  padding: 2px 2px 14px !important;
  scroll-snap-type: inline mandatory !important;
}

body.cart-page .cart-recommendation-card {
  position: relative !important;
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
  border-radius: 16px !important;
  scroll-snap-align: start !important;
}

body.cart-page .cart-recommendation-image {
  aspect-ratio: 1 !important;
  border-radius: 14px !important;
}

body.cart-page .cart-recommendation-fav {
  position: absolute !important;
  top: 24px !important;
  right: 24px !important;
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--cart-border) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  color: var(--cart-title) !important;
  font-size: 20px !important;
}

body.cart-page .cart-recommendation-card h3 {
  min-height: 44px !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

body.cart-page .cart-recommendation-card p {
  margin: 0 !important;
  color: var(--cart-title) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.cart-page .cart-recommendation-add {
  min-height: 44px !important;
  border-radius: 12px !important;
}

@media (max-width: 1180px) {
  body.cart-page .cart-page-layout {
    grid-template-columns: 1fr !important;
  }

  body.cart-page .cart-summary-shell {
    position: static !important;
  }
}

@media (max-width: 900px) {
  body.cart-page .container.simple-page {
    width: min(100% - 28px, 1480px) !important;
    padding-top: 22px !important;
  }

  body.cart-page .cart-page-heading {
    align-items: start !important;
    flex-direction: column !important;
  }

  body.cart-page .cart-page-item,
  body.cart-page .cart-page-actions {
    grid-template-columns: 1fr !important;
  }

  body.cart-page .cart-item-row {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body.cart-page .cart-item-image {
    width: min(100%, 220px) !important;
    height: auto !important;
    aspect-ratio: 1 !important;
  }

  body.cart-page .cart-item-specs,
  body.cart-page .cart-item-links {
    justify-content: center !important;
  }

  body.cart-page .cart-price-block,
  body.cart-page .cart-line-total {
    text-align: center !important;
  }

  body.cart-page .cart-qty-wrap,
  body.cart-page .drawer-remove-btn {
    justify-self: center !important;
  }

  body.cart-page .cart-tool-row {
    grid-template-columns: 1fr !important;
  }

  body.cart-page .cart-tool-row button,
  body.cart-page .clear-cart-btn {
    width: 100% !important;
  }

  body.cart-page .cart-recommendations-list {
    grid-auto-columns: minmax(190px, 78vw) !important;
  }
}

/* Cart screenshot match */
body.cart-page {
  background: #fff !important;
}

html:has(body.cart-page) {
  background: #fff !important;
}

body.cart-page .container.simple-page,
body.cart-page .cart-page-shell,
body.cart-page .cart-page-layout,
body.cart-page .cart-main-column,
body.cart-page .cart-side-column {
  background: #fff !important;
}

body.cart-page .container.simple-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.cart-page .cart-page-shell {
  width: min(100% - 64px, 1480px) !important;
  margin: 0 auto !important;
  padding: 24px 0 0 !important;
  gap: 28px !important;
}

body.cart-page .cart-title-row {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

body.cart-page .cart-title-row h1 {
  margin: 0 0 10px !important;
  color: #111 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 29px !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.cart-page #cart-item-count-text {
  color: #777 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body.cart-page .cart-breadcrumb {
  gap: 12px !important;
  color: #6b7280 !important;
  font-size: 14px !important;
}

body.cart-page .cart-continue-top {
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 20px !important;
  border: 1px solid #cfd3d8 !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: border-color .25s ease, color .25s ease, background .25s ease !important;
}

body.cart-page .cart-continue-top span {
  font-size: 26px !important;
  line-height: 0 !important;
  transform: translateY(-1px) !important;
}

body.cart-page .cart-continue-top:hover {
  border-color: #b58e16 !important;
  color: #b58e16 !important;
}

body.cart-page .cart-page-layout {
  grid-template-columns: minmax(0, 1fr) 390px !important;
  gap: 22px !important;
}

body.cart-page .cart-main-column {
  gap: 16px !important;
}

body.cart-page .cart-added-alert {
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: linear-gradient(90deg, #eef8ee, #f3faf0) !important;
  color: #2e7d32 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.cart-page .cart-added-alert:empty {
  display: none !important;
}

body.cart-page .cart-alert-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #78b66b !important;
  border-radius: 50% !important;
  color: #2e7d32 !important;
  font-weight: 800 !important;
}

body.cart-page .cart-table-card {
  overflow: hidden !important;
  border: 1px solid #ececec !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.cart-page .cart-list-head {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) 150px 140px 150px 70px !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid #ececec !important;
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.cart-page .cart-list-head span:not(:first-child) {
  text-align: center !important;
}

body.cart-page #cart-items-list {
  display: block !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.cart-page .cart-page-item {
  min-height: 120px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) 510px !important;
  gap: 0 !important;
  align-items: center !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: background .25s ease, box-shadow .25s ease !important;
}

body.cart-page .cart-page-item:last-child {
  border-bottom: 0 !important;
}

body.cart-page .cart-page-item:hover {
  transform: none !important;
  border-color: #ececec !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 999px rgba(250,250,250,.35) !important;
}

body.cart-page .cart-item-row {
  display: grid !important;
  grid-template-columns: 158px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
}

body.cart-page .cart-item-image {
  width: 158px !important;
  height: 100px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #f7f7f7 !important;
}

body.cart-page .cart-item-meta {
  gap: 5px !important;
}

body.cart-page .cart-item-meta h2 {
  margin: 0 0 4px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
}

body.cart-page .cart-item-meta p {
  margin: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.cart-page .cart-item-links {
  margin-top: 8px !important;
}

body.cart-page .cart-save-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.cart-page .cart-save-btn span {
  font-size: 20px !important;
  line-height: 1 !important;
}

body.cart-page .cart-page-actions {
  display: grid !important;
  grid-template-columns: 150px 140px 150px 70px !important;
  gap: 0 !important;
  align-items: center !important;
  justify-content: stretch !important;
}

body.cart-page .cart-unit-price,
body.cart-page .cart-line-total {
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 550 !important;
  text-align: center !important;
}

body.cart-page .cart-qty-wrap {
  justify-self: center !important;
  width: 100px !important;
  height: 38px !important;
  grid-template-columns: 30px 40px 30px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px !important;
}

body.cart-page .cart-qty-wrap button {
  width: 30px !important;
  height: 36px !important;
  color: #555 !important;
  font-size: 18px !important;
}

body.cart-page .cart-qty-wrap button:hover {
  background: #f8f8f8 !important;
  color: #111 !important;
}

body.cart-page .cart-qty-wrap span {
  min-width: 40px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.cart-page .drawer-remove-btn {
  justify-self: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #ef4444 !important;
}

body.cart-page .drawer-remove-btn svg {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.cart-page .drawer-remove-btn:hover {
  background: #fff5f5 !important;
}

body.cart-page .cart-coupon-band {
  width: 430px !important;
  max-width: 100% !important;
  gap: 12px !important;
  padding: 14px 20px 18px !important;
  border: 1px solid #ececec !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.cart-page .cart-coupon-band h2 {
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.cart-page .cart-tool-row {
  grid-template-columns: 220px 126px !important;
  gap: 8px !important;
}

body.cart-page .cart-tool-row input {
  min-height: 34px !important;
  border-radius: 4px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

body.cart-page .cart-tool-row button {
  min-height: 34px !important;
  border-radius: 4px !important;
  padding: 0 14px !important;
  background: #c99a2e !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.cart-page .cart-side-column {
  position: sticky !important;
  top: 104px !important;
  display: grid !important;
  gap: 10px !important;
  align-self: start !important;
}

body.cart-page .cart-summary-shell {
  position: static !important;
  gap: 18px !important;
  padding: 20px !important;
  border: 1px solid #ececec !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.cart-page .cart-summary-shell h2 {
  font-size: 16px !important;
  font-weight: 850 !important;
}

body.cart-page .cart-summary-list {
  gap: 13px !important;
}

body.cart-page .cart-summary-list > div {
  color: #111 !important;
  font-size: 15px !important;
}

body.cart-page .cart-summary-list dd {
  color: #111 !important;
  font-weight: 500 !important;
}

body.cart-page #cart-discount {
  color: #2e7d32 !important;
}

body.cart-page .cart-shipping-goal,
body.cart-page .cart-campaign-feedback,
body.cart-page .cart-cargo-companies {
  display: none !important;
}

body.cart-page .cart-summary-total {
  padding-top: 18px !important;
  border-top: 1px solid #e4e4e4 !important;
  color: #111 !important;
}

body.cart-page .cart-summary-total strong {
  font-size: 15px !important;
  font-weight: 850 !important;
}

body.cart-page .cart-summary-total span {
  font-size: 20px !important;
  font-weight: 850 !important;
}

body.cart-page .cart-summary-actions {
  gap: 10px !important;
}

body.cart-page .cart-summary-actions .btn-primary,
body.cart-page .cart-summary-actions .btn-secondary {
  min-height: 44px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.cart-page .cart-summary-actions .btn-primary {
  gap: 9px !important;
  background: #d0a12d !important;
}

body.cart-page .cart-summary-actions .btn-primary svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.cart-page .cart-summary-actions .btn-secondary {
  border: 1px solid #bbb !important;
  color: #111 !important;
}

body.cart-page .cart-trust-stack {
  gap: 18px !important;
  padding: 20px !important;
  border: 1px solid #ececec !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.cart-page .cart-trust-stack div {
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.cart-page .cart-trust-stack svg {
  width: 28px !important;
  height: 28px !important;
  stroke: #111 !important;
}

body.cart-page .cart-trust-stack span {
  display: grid !important;
  gap: 2px !important;
}

body.cart-page .cart-trust-stack strong {
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.cart-page .cart-trust-stack small {
  color: #555 !important;
  font-size: 12px !important;
}

body.cart-page .cart-recommendations {
  gap: 16px !important;
  margin-top: 28px !important;
  padding: 18px 0 34px !important;
  background: #fafafa !important;
  box-shadow: 0 0 0 100vmax #fafafa !important;
  clip-path: inset(0 -100vmax) !important;
}

body.cart-page .cart-recommendations h2 {
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.cart-page .cart-recommendations-list {
  grid-auto-columns: 225px !important;
  gap: 16px !important;
  padding-bottom: 10px !important;
}

body.cart-page .cart-recommendation-card {
  gap: 8px !important;
  padding: 8px !important;
  border: 1px solid #ececec !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.cart-page .cart-recommendation-image {
  border: 0 !important;
  border-radius: 4px !important;
}

body.cart-page .cart-recommendation-fav {
  top: 15px !important;
  right: 15px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  font-size: 18px !important;
}

body.cart-page .cart-recommendation-card h3 {
  min-height: 38px !important;
  font-size: 13px !important;
}

body.cart-page .cart-recommendation-card p {
  font-size: 14px !important;
}

body.cart-page .cart-recommendation-add {
  min-height: 34px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
}

@media (max-width: 1180px) {
  body.cart-page .cart-page-layout {
    grid-template-columns: 1fr !important;
  }

  body.cart-page .cart-side-column {
    position: static !important;
  }
}

@media (max-width: 860px) {
  body.cart-page .container.simple-page {
    width: min(100% - 24px, 1480px) !important;
  }

  body.cart-page .cart-title-row {
    flex-direction: column !important;
  }

  body.cart-page .cart-continue-top {
    width: 100% !important;
  }

  body.cart-page .cart-list-head {
    display: none !important;
  }

  body.cart-page .cart-page-item {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  body.cart-page .cart-item-row {
    grid-template-columns: 110px minmax(0, 1fr) !important;
    gap: 14px !important;
    text-align: left !important;
  }

  body.cart-page .cart-item-image {
    width: 110px !important;
    height: 96px !important;
  }

  body.cart-page .cart-page-actions {
    grid-template-columns: 1fr 120px 1fr 40px !important;
  }

  body.cart-page .cart-tool-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.cart-page .cart-item-row,
  body.cart-page .cart-page-actions {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body.cart-page .cart-item-image {
    width: min(100%, 180px) !important;
    height: 130px !important;
  }
}

/* Product card add-to-cart button proportion fix */
body[data-page="home"] .product-card .card-actions,
body[data-page="listing"] .product-card .card-actions,
.product-grid.jewel-product-grid .product-card .card-actions {
  width: calc(100% - 36px) !important;
  margin: auto 18px 18px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: end !important;
}

body[data-page="home"] .product-card .add-cart-btn,
body[data-page="home"] .product-card .btn-link.add-cart-btn,
body[data-page="listing"] .product-card .add-cart-btn,
body[data-page="listing"] .product-card .btn-link.add-cart-btn,
.product-grid.jewel-product-grid .product-card .add-cart-btn,
.product-grid.jewel-product-grid .product-card .btn-link.add-cart-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

body[data-page="home"] .product-card .cart-btn-content,
body[data-page="listing"] .product-card .cart-btn-content,
.product-grid.jewel-product-grid .product-card .cart-btn-content {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  line-height: 1 !important;
}

body[data-page="home"] .product-card .cart-btn-icon,
body[data-page="listing"] .product-card .cart-btn-icon,
.product-grid.jewel-product-grid .product-card .cart-btn-icon {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}

body[data-page="home"] .product-card .cart-btn-content span,
body[data-page="listing"] .product-card .cart-btn-content span,
.product-grid.jewel-product-grid .product-card .cart-btn-content span {
  display: inline-block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
}

body[data-page="listing"]:not(.listing-hero-ready) .listing-intro-hero h1,
body[data-page="listing"]:not(.listing-hero-ready) .listing-intro-hero span,
body[data-page="listing"]:not(.listing-hero-ready) .listing-intro-hero p {
  visibility: hidden;
}

/* Header mega category dropdown */
.site-header {
  position: relative;
  z-index: 1000;
  overflow: visible;
}

.header-inner,
.main-store-nav {
  overflow: visible;
}

.header-category-mega {
  display: inline-flex;
  align-items: center;
}

.header-category-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  transition: color .25s ease;
}

.header-category-toggle > span {
  font-size: 18px;
  line-height: 1;
}

.header-category-toggle strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef2a2a;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.header-category-toggle:hover,
.header-category-toggle:focus-visible,
.header-category-toggle.active {
  color: #c9963e;
}

.header-category-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(calc(100vw - 56px), 1480px);
  min-height: 420px;
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 0;
  padding: 8px;
  border: 1px solid #e4e4e4;
  border-top-color: #d8d8d8;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.header-category-mega:hover .header-category-panel,
.header-category-mega:focus-within .header-category-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-category-sidebar {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 2px 0;
  border-right: 1px solid #ececec;
}

.header-category-sidebar a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 8px;
  color: #151515 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.15;
  transition: background .2s ease, color .2s ease;
}

.header-category-sidebar a span {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  color: #111;
  font-size: 17px;
}

.header-category-sidebar a:hover,
.header-category-sidebar a.active {
  background: #fff4ea;
  color: #f26b21 !important;
}

.header-category-sidebar a:hover span,
.header-category-sidebar a.active span {
  color: #f26b21;
}

.header-category-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 24px 46px;
  align-content: start;
  padding: 12px 22px 24px;
}

.header-category-content section {
  display: grid;
  gap: 9px;
  align-content: start;
}

.header-category-content h3 {
  margin: 0 0 2px;
  color: #f26b21;
  font-size: 14px;
  font-weight: 850;
}

.header-category-content h3::after {
  content: "›";
  margin-left: 6px;
  font-weight: 800;
}

.header-category-content a {
  color: #171717 !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.header-category-content a:hover {
  color: #f26b21 !important;
  text-decoration: underline;
}

.header-category-content a.more {
  margin-top: 2px;
  color: #111 !important;
  font-weight: 850;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .header-category-panel {
    width: min(calc(100vw - 24px), 760px);
    grid-template-columns: 1fr;
    max-height: min(72vh, 620px);
    overflow-y: auto;
  }

  .header-category-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #ececec;
    padding-bottom: 8px;
  }

  .header-category-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .header-category-panel {
    width: calc(100vw - 16px);
  }

  .header-category-sidebar,
  .header-category-content {
    grid-template-columns: 1fr;
  }
}

/* Basic header category dropdown */
.header-category-mega {
  position: relative;
}

.header-category-toggle strong {
  display: none !important;
}

.header-category-panel {
  left: 50% !important;
  top: calc(100% + 10px) !important;
  width: 620px !important;
  min-width: 620px !important;
  min-height: auto !important;
  display: block !important;
  padding: 8px !important;
  border: 1px solid rgba(201, 164, 91, .28) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .18) !important;
  transform: translate(-50%, 10px) !important;
}

.header-category-mega:hover .header-category-panel,
.header-category-mega:focus-within .header-category-panel {
  transform: translate(-50%, 0) !important;
}

.header-category-panel > .header-category-content {
  display: none !important;
}

.header-category-panel > .header-category-sidebar,
.header-category-basic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 0 !important;
  border: 0 !important;
}

.header-category-panel > .header-category-sidebar a:nth-child(n+6) {
  display: none !important;
}

.header-category-panel > .header-category-sidebar a,
.header-category-basic-list a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 7px;
  color: #161616 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header-category-panel > .header-category-sidebar a span,
.header-category-basic-list a span {
  color: #c9963e;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}

.header-category-basic-list a strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-category-basic-list a em {
  display: none;
}

.header-category-basic-list a:hover,
.header-category-basic-list a:focus-visible,
.header-category-basic-list a.active {
  background: #fff4ea;
  color: #f26b21 !important;
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .header-category-panel {
    width: min(calc(100vw - 24px), 520px) !important;
    min-width: 0 !important;
  }

  .header-category-panel > .header-category-sidebar,
  .header-category-basic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Dark cart drawer override */
.cart-drawer {
  border-color: rgba(201, 164, 91, 0.34) !important;
  background: #0b0b0c !important;
  color: #fff !important;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.38) !important;
}

.cart-drawer,
.cart-drawer * {
  color: #fff !important;
}

.cart-drawer-head h3,
.cart-drawer-item p,
.cart-drawer-item strong,
.cart-drawer-total-row p {
  color: #fff !important;
}

.cart-drawer-subtitle,
.cart-drawer-item small,
.cart-empty {
  color: rgba(255, 255, 255, 0.72) !important;
}

.cart-drawer-close,
.cart-drawer-item,
.drawer-qty-row button,
.drawer-qty-row span,
.drawer-remove-icon-btn {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: #111112 !important;
}

.cart-drawer-item {
  box-shadow: inset 0 0 0 1px rgba(201, 164, 91, 0.08) !important;
}

.cart-drawer-close,
.drawer-qty-row button,
.drawer-qty-row span {
  color: #fff !important;
}

.drawer-remove-icon-btn {
  color: #ff6b6b !important;
}

.cart-drawer-footer {
  border-top-color: rgba(255, 255, 255, 0.14) !important;
}

.cart-drawer .clear-cart-btn {
  border-color: #ff6b6b !important;
  background: #ff6b6b !important;
  color: #fff !important;
}

.cart-drawer .btn-secondary,
.cart-drawer .btn-primary {
  border-color: #d0a12d !important;
  background: #d0a12d !important;
  color: #fff !important;
}

.cart-drawer .btn-primary {
  background: #d0a12d !important;
  color: #fff !important;
}

/* Editorial luxury product detail */
body[data-page="detail"] {
  --detail-gold: #d4aa3d;
  --detail-gold-soft: #f0d99a;
  --detail-ink: #f8f4ea;
  --detail-muted: rgba(248, 244, 234, 0.68);
  --detail-line: rgba(212, 170, 61, 0.26);
  background: #070707 !important;
  color: var(--detail-ink) !important;
}

body[data-page="detail"] .container.detail-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(26px, 4vw, 54px) 0 96px !important;
  background:
    linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 50% 12%, rgba(212, 170, 61, .13), transparent 32%),
    #070707 !important;
}

body[data-page="detail"] .editorial-detail-hero,
body[data-page="detail"] .editorial-detail-gallery,
body[data-page="detail"] .editorial-purchase-panel,
body[data-page="detail"] .detail-spec-cards,
body[data-page="detail"] .tabs-section,
body[data-page="detail"] .related-products-section {
  width: min(100% - 64px, 1480px) !important;
  margin-inline: auto !important;
}

body[data-page="detail"] .editorial-detail-hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 4px 0 clamp(28px, 4vw, 56px);
}

body[data-page="detail"] .detail-editorial-back {
  position: absolute;
  left: 0;
  top: 0;
  border-color: var(--detail-line) !important;
  background: transparent !important;
  color: var(--detail-muted) !important;
}

body[data-page="detail"] .detail-editorial-breadcrumb {
  margin: 0 !important;
  color: var(--detail-muted) !important;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] .detail-editorial-breadcrumb a {
  color: var(--detail-muted) !important;
  text-decoration: none;
}

body[data-page="detail"] .editorial-detail-hero h1 {
  max-width: 1060px;
  margin: 0;
  color: #fff !important;
  font-family: var(--lux-serif, "Cormorant Garamond", serif) !important;
  font-size: clamp(44px, 7vw, 98px) !important;
  line-height: .92 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-page="detail"] .detail-collection {
  margin: 0;
  color: var(--detail-gold-soft) !important;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body[data-page="detail"] .editorial-detail-gallery {
  display: grid !important;
  gap: 24px;
}

body[data-page="detail"] .editorial-image-frame {
  position: relative;
  width: min(70vw, 1040px);
  min-height: clamp(460px, 62vw, 820px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--detail-line);
  border-radius: 0;
  background:
    radial-gradient(circle at 45% 35%, rgba(255,255,255,.09), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.075) 0 1px, transparent 1px 20px),
    linear-gradient(145deg, #171717, #050505 62%, #111);
  box-shadow: 0 36px 90px rgba(0,0,0,.45);
}

body[data-page="detail"] .editorial-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255,255,255,.075) 37%, transparent 39%),
    linear-gradient(58deg, transparent 0 58%, rgba(255,255,255,.05) 59%, transparent 61%);
  opacity: .75;
  pointer-events: none;
}

body[data-page="detail"] .editorial-main-image {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 84%;
  max-height: 760px;
  display: grid;
  place-items: center;
  background: transparent !important;
  border: 0 !important;
  cursor: zoom-in;
}

body[data-page="detail"] .editorial-main-image img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: contain !important;
  filter: drop-shadow(0 30px 34px rgba(0,0,0,.42));
  opacity: 1;
  transform: scale(1);
  transition: opacity .28s ease, transform .35s ease, filter .35s ease;
}

body[data-page="detail"] .editorial-main-image.is-changing img {
  opacity: 0;
  transform: scale(.985);
}

body[data-page="detail"] .editorial-main-image.is-zoomed {
  cursor: zoom-out;
}

body[data-page="detail"] .editorial-main-image.is-zoomed img {
  transform: scale(1.55);
}

body[data-page="detail"] .detail-gallery-actions {
  z-index: 2;
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 10px;
}

body[data-page="detail"] .detail-gallery-actions button {
  min-width: 46px;
  min-height: 42px;
  border: 1px solid var(--detail-line) !important;
  border-radius: 999px !important;
  background: rgba(7,7,7,.68) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

body[data-page="detail"] .editorial-thumb-row {
  display: flex !important;
  justify-content: center;
  gap: 14px;
  padding: 0 0 clamp(30px, 5vw, 72px);
  overflow-x: auto;
}

body[data-page="detail"] .editorial-thumb-row .thumb {
  width: clamp(86px, 9vw, 132px) !important;
  height: clamp(76px, 8vw, 112px) !important;
  flex: 0 0 auto;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 0 !important;
  background: #111 !important;
  opacity: .76;
  transition: opacity .22s ease, border-color .22s ease, transform .22s ease;
}

body[data-page="detail"] .editorial-thumb-row .thumb.active {
  border-color: var(--detail-gold) !important;
  opacity: 1;
  transform: translateY(-3px);
}

body[data-page="detail"] .editorial-thumb-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="detail"] .editorial-purchase-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(32px, 5vw, 70px) 0;
  border-top: 1px solid var(--detail-line);
  border-bottom: 1px solid var(--detail-line);
  text-align: center;
}

body[data-page="detail"] .editorial-purchase-panel .detail-top-actions {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

body[data-page="detail"] .editorial-purchase-panel .detail-meta {
  margin: 0;
  color: var(--detail-muted) !important;
  line-height: 1.75;
}

body[data-page="detail"] .detail-icon-actions {
  display: flex;
  gap: 10px;
}

body[data-page="detail"] .icon-action-btn {
  border: 1px solid var(--detail-line) !important;
  background: transparent !important;
  color: #fff !important;
}

body[data-page="detail"] .detail-price {
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--lux-serif, "Cormorant Garamond", serif) !important;
  font-size: clamp(38px, 5vw, 68px) !important;
  font-weight: 600 !important;
}

body[data-page="detail"] .detail-old-price,
body[data-page="detail"] .detail-discount-rate,
body[data-page="detail"] .rating,
body[data-page="detail"] .detail-shipping-note,
body[data-page="detail"] .stock {
  margin: 0;
  color: var(--detail-muted) !important;
}

body[data-page="detail"] .editorial-purchase-controls {
  width: min(100%, 760px);
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="detail"] .editorial-purchase-controls .form-field,
body[data-page="detail"] .editorial-purchase-controls .quantity-row {
  display: grid;
  gap: 8px;
  text-align: left;
}

body[data-page="detail"] .editorial-purchase-controls label,
body[data-page="detail"] .editorial-purchase-controls .form-field span {
  color: var(--detail-muted) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] .editorial-purchase-controls select,
body[data-page="detail"] .editorial-purchase-controls input,
body[data-page="detail"] .editorial-purchase-controls textarea,
body[data-page="detail"] .qty-control button {
  border: 1px solid var(--detail-line) !important;
  background: #0d0d0e !important;
  color: #fff !important;
}

body[data-page="detail"] .editorial-wide-field,
body[data-page="detail"] .editorial-add-cart,
body[data-page="detail"] .luxury-wishlist-action {
  grid-column: 1 / -1;
}

body[data-page="detail"] .editorial-add-cart,
body[data-page="detail"] .luxury-wishlist-action {
  min-height: 58px;
  border-radius: 0 !important;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body[data-page="detail"] .editorial-add-cart {
  background: var(--detail-gold) !important;
  color: #111 !important;
}

body[data-page="detail"] .luxury-wishlist-action {
  border-color: var(--detail-line) !important;
  background: transparent !important;
  color: #fff !important;
}

body[data-page="detail"] .editorial-service-actions {
  width: min(100%, 760px);
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="detail"] .editorial-service-actions .form-field,
body[data-page="detail"] .editorial-service-actions .auth-feedback {
  grid-column: 1 / -1;
}

body[data-page="detail"] .detail-spec-cards {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 12px;
  padding: clamp(36px, 5vw, 72px) 0 0;
}

body[data-page="detail"] .detail-spec-cards article {
  min-height: 156px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 20px 14px;
  border: 1px solid var(--detail-line) !important;
  background: rgba(255,255,255,.025) !important;
  text-align: center;
}

body[data-page="detail"] .detail-spec-cards svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--detail-gold);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="detail"] .detail-spec-cards span {
  color: var(--detail-muted) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="detail"] .detail-spec-cards strong {
  color: #fff !important;
  font-size: 15px;
}

body[data-page="detail"] .tabs-section {
  margin-top: clamp(36px, 5vw, 70px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="detail"] .tabs {
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

body[data-page="detail"] .tab-btn {
  min-height: 58px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--detail-muted) !important;
  letter-spacing: .14em;
}

body[data-page="detail"] .tab-btn.active {
  color: var(--detail-gold-soft) !important;
  box-shadow: inset 0 -1px 0 var(--detail-gold) !important;
}

body[data-page="detail"] .tab-content {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 32px;
  color: var(--detail-muted) !important;
  text-align: center;
}

body[data-page="detail"] .related-products-section {
  margin-top: clamp(48px, 7vw, 96px) !important;
}

body[data-page="detail"] .related-products-section h2 {
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--lux-serif, "Cormorant Garamond", serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  text-align: center;
}

body[data-page="detail"] .editorial-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

body[data-page="detail"] .editorial-related-grid .product-card {
  background: rgba(255,255,255,.035) !important;
  border-color: var(--detail-line) !important;
  transition: transform .28s ease, border-color .28s ease;
}

body[data-page="detail"] .editorial-related-grid .product-card:hover {
  transform: translateY(-6px);
  border-color: var(--detail-gold) !important;
}

@media (max-width: 1180px) {
  body[data-page="detail"] .editorial-image-frame {
    width: min(86vw, 960px);
    min-height: clamp(420px, 70vw, 720px);
  }

  body[data-page="detail"] .detail-spec-cards,
  body[data-page="detail"] .editorial-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-page="detail"] .editorial-detail-hero,
  body[data-page="detail"] .editorial-detail-gallery,
  body[data-page="detail"] .editorial-purchase-panel,
  body[data-page="detail"] .detail-spec-cards,
  body[data-page="detail"] .tabs-section,
  body[data-page="detail"] .related-products-section {
    width: min(100% - 28px, 1480px) !important;
  }

  body[data-page="detail"] .detail-editorial-back {
    position: static;
    justify-self: start;
  }

  body[data-page="detail"] .editorial-image-frame {
    width: 100%;
    min-height: 420px;
  }

  body[data-page="detail"] .editorial-main-image {
    width: 92%;
    height: 92%;
  }

  body[data-page="detail"] .editorial-purchase-panel .detail-top-actions,
  body[data-page="detail"] .editorial-purchase-controls,
  body[data-page="detail"] .editorial-service-actions,
  body[data-page="detail"] .detail-spec-cards,
  body[data-page="detail"] .editorial-related-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-page="detail"] .detail-icon-actions {
    justify-content: center;
  }

  body[data-page="detail"] .editorial-thumb-row {
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
  }

  body[data-page="detail"] .editorial-thumb-row .thumb {
    scroll-snap-align: start;
  }

  body[data-page="detail"] .tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  body[data-page="detail"] #detail-add-to-cart {
    position: sticky;
    bottom: 12px;
    z-index: 40;
    box-shadow: 0 14px 34px rgba(0,0,0,.35);
  }
}

/* Product detail two-column showcase override */
body[data-page="detail"] .container.detail-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr) !important;
  gap: clamp(22px, 3vw, 44px) !important;
  align-items: start !important;
  width: min(100% - 80px, 1500px) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 54px) 0 96px !important;
}

body[data-page="detail"] .editorial-detail-hero,
body[data-page="detail"] .detail-spec-cards,
body[data-page="detail"] .tabs-section,
body[data-page="detail"] .related-products-section {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

body[data-page="detail"] .editorial-detail-hero {
  justify-items: start !important;
  text-align: left !important;
  padding-bottom: clamp(14px, 2vw, 26px) !important;
}

body[data-page="detail"] .detail-editorial-back {
  position: static !important;
  order: -1;
}

body[data-page="detail"] .editorial-detail-hero h1 {
  max-width: 1000px !important;
  font-size: clamp(42px, 6vw, 82px) !important;
}

body[data-page="detail"] .editorial-detail-gallery {
  grid-column: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  height: clamp(520px, 48vw, 760px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

body[data-page="detail"] .editorial-purchase-panel {
  grid-column: 2 !important;
  width: 100% !important;
  margin: 0 !important;
  position: static !important;
  top: auto !important;
  justify-items: stretch !important;
  align-self: start;
  height: clamp(520px, 48vw, 760px) !important;
  max-height: clamp(520px, 48vw, 760px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: clamp(24px, 3vw, 38px) !important;
  border: 1px solid var(--detail-line) !important;
  background: rgba(9, 9, 10, .82) !important;
  text-align: left !important;
  box-shadow: 0 26px 64px rgba(0,0,0,.28);
}

body[data-page="detail"] .editorial-purchase-panel::-webkit-scrollbar {
  width: 6px;
}

body[data-page="detail"] .editorial-purchase-panel::-webkit-scrollbar-thumb {
  background: rgba(212, 170, 61, .45);
}

body[data-page="detail"] .editorial-image-frame {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
}

body[data-page="detail"] .editorial-main-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: clamp(24px, 4vw, 54px) !important;
  box-sizing: border-box !important;
}

body[data-page="detail"] .editorial-main-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

body[data-page="detail"] .editorial-thumb-row {
  flex: 0 0 96px !important;
  width: 100% !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  min-height: 96px !important;
  align-items: stretch !important;
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

body[data-page="detail"] .editorial-thumb-row .thumb {
  flex: 0 0 112px !important;
  width: 112px !important;
  height: 96px !important;
}

body[data-page="detail"] .editorial-purchase-panel .detail-top-actions {
  width: 100% !important;
  grid-template-columns: 1fr auto !important;
}

body[data-page="detail"] .editorial-purchase-panel .detail-price-stack {
  display: grid;
  gap: 4px;
}

body[data-page="detail"] .editorial-purchase-panel .detail-price {
  font-size: clamp(38px, 4vw, 58px) !important;
}

body[data-page="detail"] .editorial-purchase-controls {
  width: 100% !important;
  grid-template-columns: 1fr !important;
}

body[data-page="detail"] .editorial-service-actions {
  width: 100% !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

body[data-page="detail"] .detail-spec-cards {
  padding-top: clamp(18px, 3vw, 38px) !important;
  perspective: 1200px;
}

body[data-page="detail"] .detail-spec-cards {
  gap: 14px !important;
  padding: 18px !important;
  border: 1px solid rgba(212, 170, 61, .22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,170,61,.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 70px rgba(0,0,0,.28);
}

body[data-page="detail"] .detail-spec-cards article {
  position: relative;
  min-height: 154px !important;
  overflow: hidden;
  border-radius: 10px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.015) 44%, rgba(212,170,61,.055)),
    #121212 !important;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.08),
    inset -1px -1px 0 rgba(0,0,0,.7),
    0 16px 30px rgba(0,0,0,.26);
  transform: translateZ(0);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

body[data-page="detail"] .detail-spec-cards article::before {
  content: "";
  position: absolute;
  inset: -60% -40% auto;
  height: 120%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.13), transparent 62%);
  transform: translateX(-58%) rotate(10deg);
  opacity: .42;
}

body[data-page="detail"] .detail-spec-cards article::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,170,61,.45), transparent);
}

body[data-page="detail"] .detail-spec-cards article:hover {
  border-color: rgba(212,170,61,.62) !important;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.1),
    inset -1px -1px 0 rgba(0,0,0,.72),
    0 22px 42px rgba(0,0,0,.34);
  transform: translateY(-4px) rotateX(2deg);
}

body[data-page="detail"] .detail-spec-cards svg {
  position: relative;
  z-index: 1;
  width: 34px !important;
  height: 34px !important;
  padding: 7px;
  border: 1px solid rgba(212,170,61,.34);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212,170,61,.18), rgba(212,170,61,.04));
  filter: drop-shadow(0 8px 12px rgba(212,170,61,.16));
}

body[data-page="detail"] .detail-spec-cards span,
body[data-page="detail"] .detail-spec-cards strong {
  position: relative;
  z-index: 1;
}

body[data-page="detail"] .tabs-section {
  margin-top: clamp(24px, 4vw, 54px) !important;
}

@media (max-width: 1060px) {
  body[data-page="detail"] .container.detail-page {
    grid-template-columns: 1fr !important;
    width: min(100% - 32px, 1500px) !important;
  }

  body[data-page="detail"] .editorial-detail-gallery,
  body[data-page="detail"] .editorial-purchase-panel {
    grid-column: 1 / -1 !important;
    height: auto !important;
    max-height: none !important;
  }

  body[data-page="detail"] .editorial-purchase-panel {
    position: static;
  }
}

/* Header search dropdown final override */
.header-actions .header-search-form,
body[data-page="home"] .header-actions .header-search-form {
  position: relative !important;
  overflow: visible !important;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
}

.header-actions .header-search-form input,
body[data-page="home"] .header-actions .header-search-form input {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  z-index: 2000 !important;
  width: 290px !important;
  height: 44px !important;
  min-width: 290px !important;
  max-width: none !important;
  padding: 0 15px !important;
  border: 1px solid rgba(201, 164, 91, .42) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .24) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

.header-actions .header-search-form.is-open input,
body[data-page="home"] .header-actions .header-search-form.is-open input {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.header-actions .header-search-form input::placeholder {
  color: #777 !important;
}
