/* Font display: swap ensures text is visible immediately while Inter loads */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0B0B14;
  --panel: rgba(23, 23, 39, 0.82);
  --panel-strong: rgba(28, 28, 48, 0.96);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(168, 85, 247, 0.38);
  --text: #f7fbff;
  --muted: #aeb8c3;
  --soft: #71808d;
  --cyan: #8B5CF6;
  --blue: #A855F7;
  --green: #30df68;
  --orange: #ff8a17;
  --red: #ff5364;
  --violet: #C084FC;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  background: #d9d4fb;
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 4%, rgba(139, 92, 246, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 12%, rgba(255, 138, 23, 0.09), transparent 22rem),
    linear-gradient(180deg, #171727 0%, #0B0B14 42%, #000 100%);
  color: var(--text);
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.desktop-header {
  display: none;
}

.app-frame {
  min-height: 100svh;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 18px 16px 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 4%, rgba(139, 92, 246, 0.16), transparent 12rem),
    radial-gradient(circle at 8% 60%, rgba(168, 85, 247, 0.1), transparent 14rem),
    linear-gradient(180deg, #171727 0%, #11111C 48%, #0B0B14 100%);
  box-shadow: var(--shadow);
}

.app-frame::before {
  content: "";
  position: fixed;
  inset: 0;
  max-width: 460px;
  margin: auto;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.view {
  display: none;
  animation: viewIn 220ms ease both;
}

.view.is-active {
  display: block;
}

/* Enable smooth sliding transitions for the Cart page (desktop & mobile) */
#cart-view {
  min-height: 100%;
  /* No separate background — inherits .app-frame so the cart
     content flows seamlessly from the navbar without a colour seam. */
}

#cart-view.is-active {
  animation: cartSlideIn 370ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#cart-view.sliding-in,
#cart-view.sliding-out {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 10;
  background:
    radial-gradient(circle at 48% 4%, rgba(139, 92, 246, 0.16), transparent 12rem),
    radial-gradient(circle at 8% 60%, rgba(168, 85, 247, 0.1), transparent 14rem),
    linear-gradient(180deg, #171727 0%, #11111C 48%, #0B0B14 100%);
}

#cart-view.sliding-in {
  display: block !important;
  animation: cartSlideIn 370ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

#cart-view.sliding-out {
  display: block !important;
  animation: cartSlideOut 315ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

@keyframes cartSlideIn {
  from {
    opacity: 0.8;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cartSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0.8;
    transform: translateX(100%);
  }
}

/* Prevent horizontal scrollbars globally during transitions */
html, body {
  overflow-x: hidden;
}

/* Mobile: push body content up so it can scroll clear of the fixed bottom nav */
@media (max-width: 759px) {
  body {
    padding-bottom: 100px;
  }
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-bar,
.detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
}

.brand-stack {
  display: grid;
  place-items: center;
  gap: 4px;
}

.logo-mark {
  position: relative;
  width: 44px;
  height: 34px;
}

.logo-mark span {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, var(--violet));
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.35);
}

.logo-mark span:nth-child(1) {
  left: 3px;
  top: 7px;
}

.logo-mark span:nth-child(2) {
  left: 18px;
  top: 0;
}

.logo-mark span:nth-child(3) {
  left: 21px;
  top: 17px;
}

.brand-stack strong,
.footer-brand strong {
  font-size: 18px;
  line-height: 1;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}

.icon-btn svg,
.bottom-nav svg,
.round-icon svg,
.chip svg,
.footer-trust svg,
.list-row svg,
.feature svg {
  width: 20px;
  height: 20px;
}

.welcome {
  margin: 20px 0 18px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.25;
}

h3 {
  font-size: 14px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.45;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 18px;
}

.search-box {
  min-width: 0;
  flex: 1;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(3, 8, 12, 0.36);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  box-shadow: inset 0 0 18px rgba(139, 92, 246, 0.05), 0 0 22px rgba(139, 92, 246, 0.08);
}

.search-box input {
  min-width: 0;
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-box input::placeholder {
  color: #8a98a5;
}

.filter-btn {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 50%;
}

.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.chip-row::-webkit-scrollbar,
.product-strip::-webkit-scrollbar {
  display: none;
}

.chip {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.chip.is-active {
  color: #031316;
  background: linear-gradient(135deg, var(--cyan), #A855F7);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.28);
}

.hero-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8px;
  align-items: center;
  margin: 8px 0 24px;
  padding: 20px 14px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(125deg, rgba(4, 12, 16, 0.96), rgba(16, 24, 30, 0.74)),
    radial-gradient(circle at 78% 36%, rgba(139, 92, 246, 0.28), transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.hero-card h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.hero-card p {
  color: #fff;
  font-size: 13px;
}

.hero-card .primary-btn {
  width: fit-content;
  margin-top: 14px;
  padding: 11px 18px;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 160px;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.product-card {
  min-width: 0;
  padding: 10px 10px 60px;
  position: relative;
  color: var(--text);
  text-align: left;
  background: linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.035)
  );
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform .2s ease,
              border-color .2s ease,
              box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,.35);
  box-shadow: 0 12px 24px rgba(139,92,246,.12);
}

.product-card .product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 20px;
}

.product-card h3 {
  margin-top: 9px;
  min-height: 35px;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 3px;
}

.price {
  color: var(--cyan);
  font-weight: 800;
}

.strike {
  color: var(--soft);
  text-decoration: line-through;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffc84d;
  font-size: 12px;
  margin-top: 7px;
}

.mini-cart{
    position:absolute;
    right:10px;
    bottom:10px;

    width:36px;
    height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    background:linear-gradient(135deg,var(--cyan),#A855F7);

    border-radius:10px;
    z-index:10;
}

.mini-share, .mini-wishlist{
    position:absolute;
    right:10px;
    top:10px;

    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:rgba(255,255,255,0.8);
    background:rgba(0,0,0,0.40);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.12);
    border-radius:50%;

    transition:.2s;
    cursor:pointer;
    z-index:10;
}

.mini-wishlist.in-wishlist{
    color:#ff5b67;
    background:rgba(255,91,103,.1);
    border-color:rgba(255,91,103,.25);
}

.mini-share:hover, .mini-wishlist:hover {
  transform: translateY(-1px);
}

.deal-card,
.info-panel,
.cart-item,
.checkout-total,
.support-card,
.list-panel,
.profile-card,
.empty-state {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.deal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 13px;
  border-color: rgba(255, 138, 23, 0.42);
}

.deal-card .round-icon {
  color: var(--orange);
}

.deal-time {
  display: flex;
  gap: 5px;
  color: var(--orange);
  font-weight: 800;
}

.primary-btn,
.secondary-btn,
.danger-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 24px;
  font-weight: 800;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #A855F7);
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.22);
}

.secondary-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.605);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.danger-btn {
  color: #fff;
  background: rgba(255, 83, 100, 0.14);
  border: 1px solid rgba(255, 83, 100, 0.35);
}

.full {
  width: 100%;
}

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

.feature {
  min-height: 82px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 12px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature[data-nav]:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

.feature svg {
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45));
}

.feature span {
  font-size: 12px;
  color: var(--muted);
}

.detail-hero {
  padding: 4px 0 14px;
}

.detail-image {
  width: 100%;
  height: min(56vw, 270px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.55));
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 18px;
}

.stock {
  color: var(--green);
  font-weight: 800;
}

.option-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 20px;
}

.option-btn {
  min-height: 52px;
  padding: 8px 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.option-btn.is-selected {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: inset 0 0 16px rgba(139, 92, 246, 0.08);
}

.action-dock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.cart-page-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 6px 0 18px;
}

.cart-page-head h1 {
  font-size: 28px;
}

.cart-page-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.cart-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}

.cart-left,
.checkout-total,
.cart-benefits {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cart-left {
  min-width: 0;
  padding: 14px;
}

.cart-table-head {
  display: none;
}

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

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-col {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  grid-column: 1 / -1;
}

.cart-item img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
}

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

.product-info h3 {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--green);
  font-size: 12px;
}

.stock-line svg {
  width: 14px;
  height: 14px;
}

.price-col,
.qty-col,
.total-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  color: var(--text);
  font-weight: 700;
}

.price-col::before,
.qty-col::before,
.total-col::before {
  content: attr(data-label);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.qty-control {
  display: grid;
  grid-template-columns: 34px 42px 34px;
  width: 110px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.qty-control span,
.qty-control button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control button {
  width: 100%;
  height: 100%;
  color: inherit;
  background: transparent;
}

.qty-control button:hover {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
}

.remove-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  align-self: end;
  justify-self: end;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.remove-btn:hover {
  color: var(--red);
  border-color: rgba(255, 83, 100, 0.32);
}

.cart-panel-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.continue-shopping-btn {
  min-height: 38px;
  border-radius: 8px;
}

.cart-empty {
  border: 0;
  box-shadow: none;
}

.cart-empty p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.checkout-total {
  margin-top: 0;
  padding: 18px;
}

.checkout-total h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 13px;
}

.summary-row strong {
  color: var(--text);
}

.summary-row .discount-value {
  color: var(--green);
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 16px;
}

.summary-row.total .price {
  color: #A855F7;
  font-size: 22px;
}

.checkout-total .primary-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border-radius: 8px;
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.secure-note svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.cart-benefits {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
}

.cart-benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.cart-benefit .round-icon {
  border-radius: 50%;
}

.cart-benefit strong,
.cart-benefit small {
  display: block;
}

.cart-benefit small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 759px) {
  .cart-benefits {
    display: none;
  }
}

.list-panel {
  overflow: hidden;
  margin: 12px 0 18px;
}

.list-row {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row small,
.profile-card small,
.footer-brand small,
.footer-pitch small,
.footer-contact small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  margin-bottom: 18px;
  line-height: 1.45;
  text-align: left;
}

.round-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  color: var(--cyan);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.13);
  border-radius: 12px;
}

.profile-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin: 12px 0 18px;
}

.avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #061015;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #ECE9FC, var(--cyan) 46%, #A855F7);
  border-radius: 50%;
}

.reward-hero,
.wallet-card,
.code-card,
.order-card,
.address-card,
.recent-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.reward-hero {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  margin: 14px 0;
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.78), rgba(23, 23, 39, 0.7)),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.22), transparent 10rem);
}

.code-card {
  padding: 14px;
  margin: 12px 0;
}

.code-card > div {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.code-card strong {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.stat-panel {
  padding: 8px 14px;
}

.wallet-card {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  margin: 14px 0 20px;
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.68), rgba(23, 23, 39, 0.78)),
    radial-gradient(circle at 82% 28%, rgba(168, 85, 247, 0.32), transparent 11rem);
}

.wallet-card .primary-btn {
  grid-column: 1 / -1;
}

.order-list,
.address-list,
.recent-list {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.order-card {
  padding: 20px;
}

.address-card {
  padding: 14px;
}

.order-card small,
.address-card small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.order-product {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.order-product img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.recent-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.order-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}

.order-footer-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

@media (min-width: 480px) {
  .order-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .order-footer-buttons {
    display: flex;
    width: auto;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.delivered {
  color: var(--green);
  background: rgba(48, 223, 104, 0.12);
}

.status-pill.shipped {
  color: var(--cyan);
  background: rgba(139, 92, 246, 0.12);
}

.status-pill.confirmed {
  color: #9a83ff;
  background: rgba(113, 87, 255, 0.16);
}

.status-pill.pending {
  color: var(--orange);
  background: rgba(255, 138, 23, 0.14);
}

.status-pill.accepted {
  color: var(--green);
  background: rgba(48, 223, 104, 0.12);
}

.status-pill.declined {
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.12);
}

.address-head {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

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

.address-actions .secondary-btn {
  min-height: 38px;
  border-radius: 10px;
}

.recent-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 82px 1fr 42px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  position: relative;
}

.recent-card .mini-cart {
  position: static;
}

.compact-row {
  border-bottom: 1px solid var(--line);
}

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

.cyan {
  color: var(--cyan);
}

.red {
  color: var(--red);
}

.radio-dot.checked {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 4px #10171d, 0 0 0 2px rgba(139, 92, 246, 0.16);
  background: var(--cyan);
}

.switch {
  width: 42px;
  height: 24px;
  position: relative;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: 180ms ease;
}

.switch.is-on {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.switch.is-on::after {
  transform: translateX(18px);
}

.support-hero {
  padding: 18px;
  margin: 16px 0 18px;
  background:
    linear-gradient(135deg, rgba(29, 64, 170, 0.74), rgba(16, 25, 38, 0.72)),
    radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.2), transparent 12rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

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

.support-card {
  padding: 13px;
  min-height: 104px;
}

.support-card .round-icon {
  margin-bottom: 10px;
}

.payment-option {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 12px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.payment-option > span:nth-child(2) {
  min-width: 0;
}

.payment-option strong,
.payment-option small {
  display: block;
}

.payment-option small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.payment-option:last-child {
  border-bottom: 0;
}

#checkout-view .feature-grid {
  margin: 10px 0;
}

#checkout-view .feature {
  min-height: 72px;
}

.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--soft);
}

.payment-option.is-selected {
  outline: 1px solid var(--cyan);
  outline-offset: -1px;
  background: rgba(139, 92, 246, 0.07);
}

.payment-option.is-selected .radio-dot {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 4px #10171d, 0 0 0 2px rgba(139, 92, 246, 0.16);
  background: var(--cyan);
}

.empty-state {
  padding: 34px 18px;
  text-align: center;
}

.empty-state .round-icon {
  margin: 0 auto 14px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 6px 12px 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(139, 92, 246, 0.26), transparent 38%),
    rgba(8, 14, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  backdrop-filter: blur(18px);
  overflow: visible;
}

.bottom-nav .nav-btn-earn {
  position: relative;
  top: -14px;
  height: 62px;
  width: 62px;
  min-height: auto;
  margin: 0 auto;
  border-radius: 50%;
  background: 
    linear-gradient(135deg, #4f46e5, #a855f7),
    radial-gradient(circle at top, rgba(139, 92, 246, 0.8), transparent);
  box-shadow: 
    0 8px 20px rgba(99, 102, 241, 0.4),
    0 0 15px rgba(139, 92, 246, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.25);
  border: 2.5px solid #8B5CF6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: white !important;
  z-index: 35;
  transition: all 0.2s ease;
  padding: 0;
}

.bottom-nav .nav-btn-earn svg {
  width: 22px;
  height: 22px;
  stroke: white;
  stroke-width: 1.85;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.bottom-nav .nav-btn-earn small {
  color: white;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.bottom-nav .nav-btn-earn.is-active {
  border-color: #d946ef;
  box-shadow: 
    0 8px 24px rgba(217, 70, 239, 0.6),
    0 0 20px rgba(139, 92, 246, 0.7);
  transform: scale(1.05);
}

.nav-btn {
  min-width: 0;
  min-height: 46px;
  position: relative;
  display: grid;
  place-items: center;
  gap: 3px;
  color: #b6c0c9;
  background: transparent;
  border-radius: 14px;
}

.nav-btn small {
  max-width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  text-overflow: ellipsis;
}

.nav-btn.is-active {
  color: var(--cyan);
}

.nav-btn.is-active svg {
  filter: drop-shadow(0 0 9px rgba(139, 92, 246, 0.75));
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 11px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  color: #041014;
  background: var(--orange);
  border-radius: 999px;
  font-size: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 118px;
  z-index: 999999;
  width: min(300px, calc(100% - 32px));
  padding: 12px 14px;
  color: var(--text);
  text-align: center;
  background: rgba(9, 15, 20, 0.94);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 14px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.desktop-footer {
  display: none;
}

@media (min-width: 760px) {
  html {
    background: #080b0f;
  }

  body {
    padding: 0 22px;
  }

  .site-shell {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
  }

  .desktop-header {
    position: sticky;
    top: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: auto auto minmax(260px, 1fr) auto;
    gap: 22px;
    align-items: center;
    min-height: 82px;
    padding: 12px 0;
    margin-bottom: 28px;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  }

  .desktop-header.is-scrolled {
    background: rgba(9, 13, 17, 0.45);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .desktop-brand,
  .desktop-nav,
  .desktop-actions {
    display: flex;
    align-items: center;
  }

  .desktop-brand {
    gap: 12px;
  }

  .desktop-brand strong {
    display: block;
    font-size: 20px;
  }

  .desktop-brand small {
    color: var(--muted);
  }

  .desktop-nav {
    gap: 6px;
  }

  .desktop-nav a {
    padding: 10px 13px;
    color: var(--muted);
    border-radius: 8px;
    font-weight: 700;
  }

  .desktop-nav a:hover,
  .desktop-nav a.is-active {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
  }

  .desktop-search {
    min-width: 0;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }

  .desktop-search input {
    min-width: 0;
    width: 100%;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
  }

  .desktop-actions {
    gap: 10px;
  }

  .app-frame {
    max-width: none;
    min-height: auto;
    width: 100%;
    padding: 8px 0 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  #home-view,
  #categories-view,
  #search-view,
  #wishlist-view,
  #recent-view {
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
  }

  .app-frame::before {
    display: none;
  }

  .top-bar {
    display: none;
  }

  .detail-bar {
    min-height: 64px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-top: -15px;
  }

  .detail-bar h2 {
    font-size: 28px;
  }

  .welcome {
    max-width: 620px;
    margin: 14px 0 22px;
  }

  .welcome h1,
  #search-view h1,
  .detail-hero h1 {
    font-size: 52px;
    line-height: 1.02;
  }

  .welcome p {
    font-size: 18px;
  }

  #home-view > .search-row {
    display: none;
  }

  #home-view .chip-row {
    max-width: 720px;
  }

  .hero-card {
    min-height: 320px;
    grid-template-columns: 0.9fr 1.1fr;
    padding: 42px;
    border-radius: 8px;
  }

  .hero-card h2 {
    font-size: 56px;
  }

  .hero-card p {
    font-size: 18px;
  }

  .hero-card .primary-btn {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
  }

  .hero-art {
    max-height: 280px;
  }

  .section-head {
    margin-top: 28px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .product-strip {
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    gap: 16px;
  }

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

  .product-card {
    border-radius: 8px;
    padding: 14px 14px 56px;
  }

  .cart-page-head {
    grid-template-columns: 1fr auto;
    margin: 0 0 22px;
  }

  .cart-back-btn {
    display: none;
  }

  .cart-page-head h1 {
    font-size: 34px;
  }

  .cart-layout {
    grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.95fr);
    gap: 24px;
  }

  .cart-right {
    position: sticky;
    top: 104px;
  }

  .cart-left {
    min-height: 342px;
    padding: 26px;
  }

  .cart-table-head {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 112px 140px 110px 38px;
    gap: 18px;
    align-items: center;
    padding: 0 0 18px;
    color: #8b96a5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }

  .cart-table-head span:not(:first-child) {
    text-align: center;
  }

  .cart-item {
    grid-template-columns: minmax(300px, 1fr) 112px 140px 110px 38px;
    gap: 18px;
    align-items: center;
    padding: 20px 0;
  }

  .product-col {
    grid-column: auto;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
  }

  .cart-item img {
    width: 112px;
    height: 112px;
  }

  .product-info h3 {
    max-width: 300px;
    font-size: 15px;
  }

  .price-col,
  .qty-col,
  .total-col {
    justify-content: center;
    min-height: auto;
    text-align: center;
  }

  .price-col::before,
  .qty-col::before,
  .total-col::before {
    display: none;
  }

  .qty-control {
    grid-template-columns: 36px 48px 36px;
    width: 120px;
  }

  .remove-btn {
    align-self: center;
  }

  .checkout-total {
    min-height: 342px;
    padding: 28px;
  }

  .cart-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 26px;
    padding: 22px 28px;
  }

  .cart-benefit {
    padding: 0 26px;
    border-right: 1px solid var(--line);
  }

  .cart-benefit:first-child {
    padding-left: 0;
  }

  .cart-benefit:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .product-card .product-image {
    border-radius: 8px;
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .deal-card,
.info-panel{
  display:grid;
  gap:16px;
  align-items:center;
}

  .support-card,
  .list-panel,
  .profile-card,
  .empty-state,
  .reward-hero,
  .wallet-card,
  .code-card,
  .order-card,
  .address-card,
  .recent-card {
    border-radius: 8px;
  }

  .profile-card {
    max-width: 560px;
  }

  #account-view .list-panel,
  #settings-view .list-panel,
  #support-view .list-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #account-view .list-row,
  #settings-view .list-row,
  #support-view .list-row {
    border-right: 1px solid var(--line);
  }

  .wallet-card {
    max-width: 640px;
  }

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

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

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

  #product-view {
    display: none;
  }

  #product-view.is-active {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1fr);
    gap: 15px 34px;
    align-items: start;
  }

  #product-view .detail-bar {
    grid-column: 1 / -1;
  }

  .reviews-and-recommended-section {
    grid-column: 1 / -1;
  }

  .detail-image {
    height: 420px;
  }

  .action-dock {
    position: static;
  }

  .bottom-nav {
    display: none;
  }

  .desktop-footer {
    display: block;
    width: 100%;
    margin: 28px auto 0;
    padding: 24px 0 28px;
  }

  .footer-subscribe,
  .footer-grid,
  .footer-trust,
  .footer-bottom {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .footer-subscribe {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.2fr;
    gap: 24px;
    align-items: center;
    padding: 28px 34px;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .footer-brand.small {
    margin-bottom: 18px;
  }

  .footer-pitch {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .subscribe-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .subscribe-form input {
    min-width: 0;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
    padding: 0 12px;
  }

  .subscribe-form button {
    min-height: 42px;
    padding: 0 18px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #19b8ff, #176cff);
    border-radius: 8px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr 1.18fr 1fr 1.15fr 1.7fr;
    gap: 24px;
    margin-top: 22px;
    padding: 34px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .footer-about p,
  .footer-contact p {
    font-size: 14px;
  }

  .social-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
  }

  .social-row a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 11px;
  }

  .footer-links h2,
  .footer-contact h2 {
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
  }

  .footer-links a {
    display: block;
    color: var(--muted);
    font-size: 14px;
    padding: 7px 0;
  }

  .footer-links a:hover {
    color: var(--cyan);
  }

  .footer-contact p {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    margin-bottom: 18px;
    line-height: 1.45;
  }

  .footer-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 34px;
    border-radius: 0;
    border-top: 0;
  }

  .footer-trust span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
  }

  .footer-trust svg {
    color: var(--blue);
  }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    font-size: 13px;
  }
}

@media (min-width: 760px) and (max-width: 1039px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-right {
    position: static;
  }

  .cart-left {
    min-height: auto;
    padding: 18px;
  }

  .cart-table-head {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 0 0 16px;
  }

  .product-col {
    grid-column: 1 / -1;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-item img {
    width: 88px;
    height: 88px;
  }

  .price-col,
  .qty-col,
  .total-col {
    justify-content: space-between;
    min-height: 36px;
    text-align: left;
  }

  .price-col::before,
  .qty-col::before,
  .total-col::before {
    display: inline;
  }

  .qty-control {
    grid-template-columns: 34px 42px 34px;
    width: 110px;
  }

  .remove-btn {
    align-self: end;
  }

  .checkout-total {
    min-height: auto;
  }

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

  .cart-benefit,
  .cart-benefit:first-child,
  .cart-benefit:last-child {
    padding: 0;
    border-right: 0;
  }
}

@media (min-width: 1040px) {
  .site-shell {
    width: 100%;
  }

  .app-frame {
    max-width: none;
  }

  #checkout-view .checkout-total {
    min-height: auto;
  }
}

@media (max-width: 360px) {
  .app-frame {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-card h2 {
    font-size: 24px;
  }

  .product-grid {
    gap: 9px;
  }

  .product-card {
    border-radius: 20px;
  }
}

/* --- Premium Immersive Auth Views (Login & Signup) --- */
body.auth-mode {
  position: fixed;
  inset: 0;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.auth-mode .desktop-header,
.auth-mode .desktop-footer,
.auth-mode .bottom-nav,
.auth-mode footer,
.checkout-mode .bottom-nav {
  display: none !important;
}

.auth-mode .app-frame {
  padding: 0 !important;
}

.auth-view-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  width: 100%;
  padding: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(26, 32, 53, 1) 0%, rgba(11, 14, 26, 1) 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #0b0e17; /* Solid deep indigo background for maximum contrast */
  border: 1.5px solid rgba(255, 255, 255, 0.12); /* Brighter border */
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.auth-card-scrollable {
  max-height: calc(100svh - 120px);
  overflow-y: auto;
  width: 100%;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.auth-card-scrollable::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.auth-card-scrollable .auth-logo {
  margin-top: 24px; /* Push logo down to prevent colliding with Back button */
}

@media (max-width: 480px) {
  .auth-card {
    padding: 40px 20px 20px 20px;
    max-height: calc(100svh - 20px);
  }
  .auth-card-scrollable {
    max-height: calc(100svh - 80px);
  }
}


.auth-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(25, 184, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.auth-logo strong {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.auth-logo .logo-mark {
  width: 28px;
  height: 28px;
}

.auth-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.auth-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}

.auth-input-group {
  position: relative;
  margin-bottom: 20px;
  text-align: left;
}

.auth-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #8892b0;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-input-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s ease;
}

.auth-input-group input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(32, 223, 189, 0.15);
}

.auth-forgot {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--cyan);
  margin-top: -10px;
  margin-bottom: 25px;
  text-decoration: none;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #000;
  background: linear-gradient(135deg, #A855F7, #00bfff);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(32, 223, 189, 0.25);
}

.auth-btn:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: var(--muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 10px;
}

.auth-social {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.auth-switch {
  margin-top: 24px;
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.auth-switch a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

/* Premium Product Detail Enhancements */
/* --- Amazon/Flipkart Image Viewer Styling --- */
.product-media-viewer {
  display: flex;
  gap: 16px;
  margin: 15px auto 25px;
  width: 100%;
  max-width: 580px;
  box-sizing: border-box;
}

.desktop-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
  transition: all 0.2s ease;
}

.thumb-btn:hover, .thumb-btn.is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
  transform: scale(1.03);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-video-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  z-index: 2;
}

.main-viewport-container {
  width: 450px;
  height: 450px;
  min-width: 450px;
  max-width: 450px;
  min-height: 450px;
  max-height: 450px;
  flex: 0 0 450px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.15), var(--shadow);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-viewport-container img, .main-viewport-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-swipe-dots {
  display: none;
}

@media (max-width: 768px) {
  .product-media-viewer {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .desktop-thumbnails {
    display: none;
  }

  .main-viewport-container {
    width: 320px;
    height: 320px;
    min-width: 320px;
    max-width: 320px;
    min-height: 320px;
    max-height: 320px;
    flex: 0 0 320px;
  }

  .mobile-swipe-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .dot-indicator.is-active {
    background: var(--cyan);
    transform: scale(1.2);
    box-shadow: 0 0 6px var(--cyan);
  }
}

.video-overlay-share {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 25, 31, 0.75);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.2s ease;
}
.video-overlay-share:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 10px var(--cyan);
}

.video-overlay-share svg {
  width: 16px;
  height: 16px;
}

.video-play-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.video-play-btn-overlay .play-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--red);
  border: 2px solid #fff;
}

.video-play-btn-overlay .play-icon-circle svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  color: #fff;
  margin-left: 4px;
}

/* Badge pills styling */
.badge-pills-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 12px 0 16px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -webkit-overflow-scrolling: touch;
}

.badge-pills-row::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

@media (max-width: 768px) {
  .pdp-desktop-only-badges {
    display: none !important;
  }
}

.badge-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .badge-pill {
    font-size: 9px;
    padding: 3px 6px;
  }
}
.badge-pill.premium {
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--cyan);
}

/* Live viewers stat */
.live-viewer-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(48, 223, 104, 0.05);
  border: 1px solid rgba(48, 223, 104, 0.15);
  padding: 8px 14px;
  border-radius: 12px;
  margin: 10px 0 15px;
  width: 100%;
}

.live-viewer-pulsar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulseGreen 1.8s infinite ease-in-out;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px var(--green); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Select model premium custom dropdown */
.premium-select-container {
  position: relative;
  width: 100%;
  margin: 8px 0 18px;
}

.premium-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(18, 25, 31, 0.85);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  font-size: 14.5px;
  cursor: pointer;
  appearance: none;
  transition: all 0.2s ease;
}
.premium-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.premium-select-container::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 16px;
}

/* Colors Circular Previews */
.color-circles-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
  padding: 36px 8px 8px 8px; /* 36px top for tooltip, 8px bottom/left/right for shadow */
  margin: -36px -8px 10px -8px; /* Offset the padding to keep layout aligned */
}

.color-circles-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.color-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.color-circle-btn:hover {
  transform: scale(1.15);
}
.color-circle-btn.is-active {
  box-shadow: 0 0 0 3px #130f26, 0 0 0 5.5px #ffffff, 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  transform: scale(1.1);
  border-color: transparent !important;
  outline: none !important;
}

/* Color Tooltip */
.color-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e24;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  animation: tooltipFadeIn 0.2s ease-out;
}

.color-tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #1e1e24;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 4px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Qty count input row style */
.qty-row-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
}
.qty-row-wrapper label {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

/* Reviews and Ratings Engine + Recommended Slider Split Layout */
.reviews-and-recommended-section {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 769px) {
  .reviews-and-recommended-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 3fr 7fr; /* 30% reviews and 70% recommended product slider */
    gap: 34px;
    align-items: start;
    margin-top: 0;
    padding-top: 12px;
  }
  .reviews-container-box {
    align-self: start;
  }
  .recommended-slider-wrapper {
    align-self: start;
  }
}

.reviews-container-box {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.recommended-slider-wrapper {
  width: 100%;
}

.recommended-product-slider-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.recommended-product-slider-card:hover {
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rec-product-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.rec-product-vertical-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.rec-product-vertical-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.rec-product-image-container-vertical {
  width: 100%;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.rec-product-image-container-vertical img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.rec-product-vertical-card:hover .rec-product-image-container-vertical img {
  transform: scale(1.05);
}

.rec-product-details-vertical {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.rec-product-title-vertical {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
  line-height: 1.4;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-product-desc-vertical {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 72px;
}

.rec-product-price-row-vertical {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rec-product-price-vertical {
  font-size: 15px;
  font-weight: 800;
  color: var(--cyan);
}

.rec-product-strike-vertical {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--muted);
}

.rec-product-discount-badge-vertical {
  font-size: 9px;
  font-weight: 700;
  background: rgba(255, 91, 103, 0.15);
  color: #ff5b67;
  padding: 2px 4px;
  border-radius: 4px;
}

.rec-product-buy-btn {
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--cyan);
  color: #0f172a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.rec-product-buy-btn:hover {
  background: var(--cyan-glow);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

@media (max-width: 480px) {
  .rec-product-grid-two {
    grid-template-columns: 1fr;
  }
}

.rec-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.rec-dot-indicator.is-active {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
}

.recommended-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

@media (min-width: 769px) {
  .rec-product-split {
    flex-direction: row;
    gap: 30px;
  }
  
  .rec-product-image-container {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
  }
}

.reviews-summary-panel {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 25px;
}

.reviews-overall-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reviews-overall-score h3 {
  font-size: 34px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
  line-height: 1;
}

.reviews-overall-score .stars-rating {
  color: var(--orange);
  font-size: 14px;
  margin: 6px 0;
}

.reviews-overall-score span {
  font-size: 11px;
  color: var(--soft);
}

.reviews-distribution-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.reviews-distribution-row {
  display: grid;
  grid-template-columns: 14px 10px 1fr 28px;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
}

.reviews-distribution-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.reviews-distribution-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffb236);
  border-radius: 3px;
}

/* Reviews listings — horizontal scrolling flexbox */
.reviews-list-block {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 8px 4px;
  margin-bottom: 20px;
}

.reviews-list-block::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.review-card-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  width: 290px;
  max-width: 85vw;
  flex-shrink: 0;
}

/* Compact header inside narrow grid cells */
.review-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

/* Read More inline button */
.review-read-more-btn {
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  padding: 0;
  margin-left: 3px;
  text-decoration: underline;
  transition: color 0.2s ease;
  vertical-align: baseline;
}
.review-read-more-btn:hover {
  color: #fff;
}

/* Shrink card footer for tight spaces */
.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--soft);
  margin-top: auto;
  padding-top: 8px;
}

/* ===== Review Full-Text Modal ===== */
.review-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
  box-sizing: border-box;
}
.review-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}
.review-modal-box {
  background: linear-gradient(155deg, rgba(18, 24, 32, 0.98), rgba(6, 10, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  position: relative;
  transform: scale(0.88) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}
.review-modal-backdrop.is-active .review-modal-box {
  transform: scale(1) translateY(0);
}
.review-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.review-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
.review-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 36px;
}
.review-modal-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.review-modal-meta {
  flex: 1;
  min-width: 0;
}
.review-modal-meta h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.review-modal-meta span {
  font-size: 11.5px;
  color: var(--soft);
  display: block;
}
.review-modal-stars {
  display: flex;
  gap: 2px;
  margin-top: 4px;
  font-size: 14px;
}
.review-modal-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
.review-modal-comment {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
  font-style: italic;
}



.review-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card-meta {
  flex: 1;
}

.review-card-meta h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-card-verified-badge {
  font-size: 10px;
  padding: 1px 5px;
  background: rgba(48, 223, 104, 0.1);
  border: 1.5px solid rgba(48, 223, 104, 0.3);
  color: var(--green);
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-card-meta span {
  font-size: 10.5px;
  color: var(--soft);
}

.review-card-rating {
  color: var(--orange);
  font-size: 12px;
}

.review-card-comment {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 10px 0;
}



.review-card-like-btn {
  background: transparent;
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.review-card-like-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
}
.review-card-like-btn svg {
  width: 12px;
  height: 12px;
}

/* Write review form box */
.write-review-card-form {
  background: rgba(18, 25, 31, 0.8);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  padding: 18px;
  margin-top: 25px;
}

.write-review-card-form h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 0;
  margin-bottom: 15px;
}

.rating-stars-picker-row {
  display: flex;
  gap: 6px;
  margin: 6px 0 16px;
}

.rating-star-picker-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.15);
  font-size: 26px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}
.rating-star-picker-btn.selected {
  color: var(--orange);
  text-shadow: 0 0 10px rgba(255, 138, 23, 0.4);
}
.rating-star-picker-btn:hover {
  transform: scale(1.2);
}

/* Premium Wallet Card with Gradient Border */
.premium-wallet-card {
  position: relative;
  background: rgba(13, 22, 27, 0.6) !important;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-wallet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(32, 223, 189, 0.12), 0 8px 32px rgba(0,0,0,0.6);
}

.premium-wallet-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  padding: 1.5px; /* Border thickness */
  background: linear-gradient(135deg, #A855F7, #0072ff, #9b51e0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== Purchase Loading Overlay ===== */
#purchase-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(4, 8, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#purchase-loading-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.purchase-spinner-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-top-color: #6366f1;
  border-right-color: #a855f7;
  animation: purchase-spin 0.9s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
  position: relative;
}

.purchase-spinner-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(99, 102, 241, 0.3);
  animation: purchase-spin 1.4s linear infinite reverse;
}

@keyframes purchase-spin {
  to { transform: rotate(360deg); }
}

.purchase-loading-text {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  animation: purchase-pulse 1.6s ease-in-out infinite;
}

.purchase-loading-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: -12px;
  animation: purchase-pulse 1.6s ease-in-out 0.3s infinite;
}

@keyframes purchase-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Disable Place Order button while loading */
button[data-place-order]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Address bottom-sheet overlay / desktop modal backdrop */
.address-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.address-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Address overlay sliding bottom sheet for mobile */
.address-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: 92vh;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px 24px 0 0;
  padding: 24px;
  box-sizing: border-box;
  z-index: 9999;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.address-overlay.active {
  transform: translateY(0);
}

/* Form grid styling */
.address-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.address-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.address-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/* Desktop popup override for screens wider than mobile */
@media (min-width: 769px) {
  .address-overlay {
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    width: 500px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
    max-height: 85vh;
  }
  .address-overlay.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Disable pinch-to-zoom globally on all touch/mobile screens while keeping smooth scrolling active */
html, body, .site-shell, .view {
  touch-action: pan-x pan-y;
}

/* ──────────────────────────────────────────────────────────
   ACCOUNT SIDEBAR & SPLIT LAYOUT
   ────────────────────────────────────────────────────────── */

/* Sidebar default hidden */
.account-sidebar {
  display: none;
}

@media (min-width: 769px) {
  /* Account Mode Layout Split */
  body.account-mode .app-frame {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 40px 60px calc(96px + var(--safe-bottom));
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  body.account-mode .account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 106px; /* Offset below sticky desktop header */
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }
  body.account-mode .account-sidebar::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Edge */
  }

  body.account-mode .view {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding-right: 12px;
  }
  body.account-mode .view::-webkit-scrollbar {
    width: 6px;
  }
  body.account-mode .view::-webkit-scrollbar-track {
    background: transparent;
  }
  body.account-mode .view::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
  }
  body.account-mode .view::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
  }

  /* Hide back arrow on desktop account views */
  body.account-mode .detail-bar [data-back] {
    display: none !important;
  }

  /* Make detail bar look cleaner */
  body.account-mode .detail-bar {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 24px;
  }
}

/* Sidebar Profile Card */
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #000;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
}

.sidebar-info {
  min-width: 0;
}

.sidebar-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-email {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sidebar Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: transparent;
  width: 100%;
  text-align: left;
  border: 0;
  cursor: pointer;
  position: relative;
}

.sidebar-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-link.is-active {
  color: var(--cyan);
  background: rgba(139, 92, 246, 0.08);
  border-left: 3px solid var(--cyan);
  padding-left: 9px;
}

.sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.sidebar-icon svg {
  width: 18px;
  height: 18px;
}

.sidebar-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: 700;
}

.sidebar-link.is-active .sidebar-badge {
  background: var(--cyan);
  color: #0f172a;
}

.sidebar-logout-btn {
  color: var(--red);
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  border-radius: 0;
}

.sidebar-logout-btn:hover {
  background: rgba(255, 83, 100, 0.05);
  color: var(--red);
}

/* Sidebar bottom banner */
.sidebar-banner {
  background: linear-gradient(135deg, rgba(32, 223, 189, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px dashed rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.sidebar-banner:hover {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(32, 223, 189, 0.08), rgba(139, 92, 246, 0.08));
}

.sidebar-banner img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

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

.banner-content h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.banner-content p {
  margin: 2px 0 0 0;
  font-size: 10px;
  color: var(--muted);
}

/* ──────────────────────────────────────────────────────────
   NEW HOME VIEWS & CASES
   ────────────────────────────────────────────────────────── */

/* Premium Hero Section */
.premium-hero {
  position: relative;
  border-radius: 16px;
  background: rgba(18, 25, 31, 0.75);
  background-image: var(--mobile-bg, none);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  overflow: visible;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.premium-hero h1 {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.premium-hero p {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

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

.neon-btn {
  background: var(--cyan) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4) !important;
}

.neon-btn:hover {
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.6) !important;
}

.hero-carousel-dots {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-carousel-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.hero-carousel-dot.is-active {
  background: var(--cyan);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(50px);
  opacity: 0.15;
}

.hero-product-img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
  animation: floatProduct 4s ease-in-out infinite;
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 769px) {
  .premium-hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 48px;
    min-height: 360px;
    background-image: var(--desktop-bg, none);
    align-items: stretch;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    z-index: 5;
  }
  .hero-image-wrapper {
    align-self: center;
  }
  .premium-hero h1 {
    font-size: 44px;
  }
  .hero-product-img {
    max-height: 280px;
  }
}

.desktop-only {
  display: grid !important;
}
.mobile-only {
  display: none !important;
}

/* Trust Indicators */
.trust-indicators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.06);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 14px;
  color: var(--text);
  line-height: 1.25;
}

.trust-text span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .trust-indicators-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 24px;
  }
  .trust-item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 3px;
    gap: 5px;
    border-radius: 12px;
  }
  .trust-icon {
    width: 24px;
    height: 24px;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
  }
  .trust-icon svg {
    width: 12px;
    height: 12px;
  }
  .trust-text {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .trust-text strong {
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    display: block;
  }
  .trust-text span {
    display: none;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: grid !important;
  }

  /* Tall and centered mobile hero banner matching user upload */
  .premium-hero {
    min-height: 480px;
    padding: 32px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 36px;
    overflow: visible;
  }
  .hero-content {
    display: contents;
  }
  .hero-badge {
    order: 1;
  }
  .premium-hero h1 {
    font-size: 26px;
    text-align: center;
    order: 2;
  }
  .premium-hero p {
    text-align: center;
    font-size: 13px;
    order: 3;
  }
  .hero-image-wrapper {
    width: 100%;
    order: 4;
    margin-top: auto;
    margin-bottom: 16px;
  }
  .hero-product-img {
    max-height: 200px;
    object-fit: contain;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
    gap: 8px;
    order: 5;
    margin-top: auto;
  }
}

@media (min-width: 769px) {
  .trust-indicators-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* iPhone Models Carousel Styles */
.iphone-models-carousel-wrapper {
  margin: 0 -16px 20px -16px;
  overflow: hidden;
}

.iphone-models-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 12px 16px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}

.iphone-models-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.iphone-model-card-item {
  flex: 0 0 72px; /* Compact cards showing ~5.5 items on screen */
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.iphone-model-card-item:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.iphone-model-card-image-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  box-sizing: border-box;
  border-radius: 14px; /* border-radius: 14px */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px; /* Compact padding */
  transition: border-color 0.2s ease, background 0.2s ease;
}

.iphone-model-card-item:hover .iphone-model-card-image-wrap {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.iphone-model-card-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* contain-fit images */
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.iphone-model-card-item:hover img {
  transform: scale(1.08);
}

.iphone-model-card-title {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  text-align: center; /* centered label underneath */
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .iphone-models-carousel-wrapper {
    margin: 0 0 24px 0;
    overflow: hidden;
  }
  
  .iphone-models-carousel {
    display: flex;
    gap: 16px;
    padding: 4px 0 12px 0;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
    scroll-behavior: smooth;
  }

  .iphone-models-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .iphone-model-card-item {
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
  }

  .iphone-model-card-image-wrap {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    max-width: 140px;
    max-height: 140px;
    aspect-ratio: unset;
    border-radius: 20px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

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

  .iphone-model-card-title {
    font-size: 12px;
  }
}

/* ── iPhone Models Slider Wrapper (desktop side arrows) ─────────────────── */
.iphone-models-slider-wrapper {
  position: relative;
}

/* Hide side arrows on mobile — touchscreen swipes naturally */
.iphone-slide-arrow {
  display: none;
}

@media (min-width: 769px) {
  /* Flex row: [arrow] [carousel track] [arrow]  — no overlap ever */
  .iphone-models-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Carousel wrapper grows to fill remaining space */
  .iphone-models-slider-wrapper .iphone-models-carousel-wrapper {
    flex: 1;
    min-width: 0;          /* allow shrink inside flex */
    margin: 0;             /* reset any negative margins on desktop */
    overflow: hidden;
  }

  .iphone-slide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;        /* never shrink — always same size */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 18, 28, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease,
                transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    padding: 0;
  }

  .iphone-slide-arrow svg {
    stroke: var(--text);
    flex-shrink: 0;
    transition: stroke 0.2s ease;
  }

  .iphone-slide-arrow:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
    transform: scale(1.1);
  }

  .iphone-slide-arrow:hover svg {
    stroke: var(--cyan);
  }

  .iphone-slide-arrow:active {
    transform: scale(0.93);
  }
}

/* Carousel arrows styling */
.carousel-arrows {
  display: flex;
  gap: 8px;
  align-items: center;
}
.arrow-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.arrow-btn svg {
  stroke: var(--text);
}
.arrow-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}
.arrow-btn:hover svg {
  stroke: var(--cyan);
}
.arrow-btn:active {
  transform: scale(0.95);
}
@media (max-width: 768px) {
  .carousel-arrows {
    display: none !important;
  }
}

/* Visibility Utilities for Models layout */
.mobile-models-carousel-container {
  display: block;
}
.desktop-models-grid-container {
  display: none;
}

@media (min-width: 769px) {
  .mobile-models-carousel-container {
    display: none;
  }
  .desktop-models-grid-container {
    display: block;
  }
}

/* iPhone Models Grid (Desktop Reverted) */
.iphone-models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.model-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}

.model-chip:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.model-chip .chevron {
  color: var(--muted);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

.model-chip:hover .chevron {
  color: var(--cyan);
  transform: translateX(3px);
}

@media (min-width: 769px) {
  .iphone-models-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Styles Banners Grid */
.styles-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.style-banner {
  position: relative;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background-size: cover;
  background-position: center;
  transition: all 0.2s ease;
  text-align: left;
}

.style-banner:hover {
  transform: scale(1.02);
  border-color: var(--cyan);
}

.style-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.clear-case {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.leather-case {
  background: linear-gradient(135deg, rgba(162, 79, 36, 0.15) 0%, rgba(28, 21, 18, 0.9) 100%);
  border: 1px solid rgba(162, 79, 36, 0.3);
}
.rugged-case {
  background: linear-gradient(135deg, rgba(156, 163, 175, 0.08) 0%, rgba(15, 20, 25, 0.9) 100%);
  border: 1px solid rgba(156, 163, 175, 0.25);
}
.silicone-case {
  background: linear-gradient(135deg, rgba(186, 104, 200, 0.15) 0%, rgba(25, 18, 26, 0.9) 100%);
  border: 1px solid rgba(186, 104, 200, 0.3);
}

.banner-text {
  position: relative;
  z-index: 2;
}

.banner-text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.banner-text p {
  margin: 2px 0 0 0;
  font-size: 10px;
  color: var(--muted);
}

/* Customer Reviews Strip */
.customer-reviews-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.customer-reviews-strip::-webkit-scrollbar {
  height: 4px;
}

.customer-reviews-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.review-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.review-stars {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 2px;
}

.review-comment {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

.review-author span {
  display: block;
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
}

@media (min-width: 769px) {
  .customer-reviews-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
  .review-card {
    flex: none;
  }
}

/* ──────────────────────────────────────────────────────────
   PAYOUT VIEW INTERFACE
   ────────────────────────────────────────────────────────── */

/* Payout View Layout */
.payout-view-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 769px) {
  .payout-view-container {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.payout-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  text-align: left;
}

.payout-header-row h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.payout-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payout-method-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s ease;
  text-align: left;
}

.payout-method-card.is-default {
  border-color: var(--cyan);
  background: rgba(139, 92, 246, 0.03);
}

.pm-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.payout-method-card.is-default .pm-type-icon {
  background: rgba(139, 92, 246, 0.1);
  color: var(--cyan);
}

.pm-details {
  flex: 1;
  min-width: 0;
}

.pm-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pm-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.pm-qr-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
}

.pm-qr-link img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
}

.pm-qr-link span {
  font-size: 11px;
  color: var(--cyan);
  text-decoration: underline;
}

.pm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.secondary-btn.icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.secondary-btn.icon-only.danger {
  color: var(--red);
  background: rgba(255,83,100,0.06);
  border-color: rgba(255,83,100,0.15);
}

.secondary-btn.icon-only.danger:hover {
  background: rgba(255,83,100,0.12);
  border-color: var(--red);
}

/* Form Styles */
.payout-tab-bar {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.payout-tab {
  flex: 1;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.payout-tab.is-active {
  background: var(--cyan);
  color: #0f172a;
}

.payout-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.form-group input[type="text"] {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 14px;
  outline: 0;
  transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus {
  border-color: var(--cyan);
}

.form-group small {
  font-size: 10px;
  color: var(--soft);
}

.qr-dropzone {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(255,255,255,0.01);
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-dropzone:hover,
.qr-dropzone.dragover {
  border-color: var(--cyan);
  background: rgba(139, 92, 246, 0.02);
}

.payout-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.payout-empty-state .round-icon {
  margin: 0 auto 16px;
}

.payout-empty-state p {
  font-size: 13px;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Right Info Card */
.payout-info-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}

.payout-info-card h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 800;
}

.payout-info-card > p {
  margin: 0 0 20px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.payout-method-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.payout-method-badge:last-of-type {
  border-bottom: 0;
  margin-bottom: 16px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.payout-method-badge div {
  display: flex;
  flex-direction: column;
}

.payout-method-badge strong {
  font-size: 13px;
  color: #fff;
}

.payout-method-badge span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.payout-info-notes {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.payout-info-notes strong {
  display: block;
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 8px;
}

.payout-info-notes ul {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.4;
}

/* Product image slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 25, 31, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}
.slider-arrow:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}
.prev-arrow {
  left: 12px;
}
.next-arrow {
  right: 12px;
}

/* Make slider arrows slightly smaller on mobile */
@media (max-width: 768px) {
  .slider-arrow {
    width: 34px;
    height: 34px;
  }
  .prev-arrow {
    left: 8px;
  }
  .next-arrow {
    right: 8px;
  }
}

/* Explore All button — black text on desktop */
.hero-actions .secondary-btn {
  color: #000 !important;
}

/* Mobile Hero Banner adjustments: remove explore button and center text/actions */
@media (max-width: 768px) {
  .hero-content {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .hero-actions {
    justify-content: center !important;
  }
  .hero-actions .secondary-btn {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════
   CHECKOUT PAGE — DESKTOP TWO-COLUMN LAYOUT
   ═══════════════════════════════════════════════ */

/* Shared card style */
.checkout-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
}

/* Trust badges section (left column, below order summary, vertical layout) */
.checkout-trust-badges-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* Horizontal Trust Badges for Mobile View */
.checkout-trust-badges-horizontal {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  .checkout-trust-badges-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .checkout-trust-badges-vertical {
    display: none; /* hidden on mobile */
  }
}

.checkout-trust-item-horizontal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-sizing: border-box;
}

.checkout-trust-icon-horizontal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.checkout-trust-item-horizontal strong {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.checkout-trust-item-horizontal p {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.2;
}

.checkout-trust-item-vertical {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: left;
}

.checkout-trust-icon-vertical {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.checkout-trust-info-vertical {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-trust-info-vertical strong {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}

.checkout-trust-info-vertical p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* Payment Option Cards */
.payment-methods-grid {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

@media (max-width: 500px) {
  .payment-methods-grid {
    flex-direction: column;
    gap: 10px;
  }
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.payment-method-card.is-selected {
  background: rgba(99, 102, 241, 0.05);
  border-color: #6366f1;
}

.payment-method-radio {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.payment-method-card.is-selected .payment-method-radio {
  border-color: #6366f1;
  background: #6366f1;
}

.payment-method-radio-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  display: block;
}

.payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.payment-method-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-method-info strong {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

.payment-method-info p {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

/* Mobile: single column stack */
.checkout-page-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Slider and Stepper Layout */
.checkout-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 16px;
}

.checkout-slider {
  display: flex;
  width: 200%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: flex-start;
}

.checkout-step-pane {
  width: 50%;
  box-sizing: border-box;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Height toggles for the step panes to prevent scrollbars when content fits */
.checkout-slider.step-1-active .checkout-step-pane:nth-child(2) {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0s 0.4s, opacity 0.4s;
}

.checkout-slider.step-2-active .checkout-step-pane:nth-child(1) {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0s 0.4s, opacity 0.4s;
}

.checkout-slider.step-1-active .checkout-step-pane:nth-child(1),
.checkout-slider.step-2-active .checkout-step-pane:nth-child(2) {
  max-height: 2000px;
  opacity: 1;
  pointer-events: auto;
  transition: max-height 0s, opacity 0.4s;
}


/* Sticky bottom CTA bar for checkout */
.checkout-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(10, 8, 20, 0.98) 70%, rgba(10, 8, 20, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 580px;
  margin: 0 auto;
}

.checkout-sticky-cta .primary-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, #7C3AED, #A855F7);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.45);
  transition: all 0.2s ease;
}

.checkout-sticky-cta .primary-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.55);
}

/* Premium Card Styles */

.checkout-premium-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  position: relative;
}

/* Product list inside checkout card */
.checkout-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-product-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-product-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-product-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 4px;
}

.checkout-product-details {
  flex: 1;
  min-width: 0;
}

.checkout-product-name {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.checkout-product-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  display: flex;
  gap: 8px;
}

.checkout-product-price {
  font-size: 13px;
  font-weight: 700;
  color: #c084fc;
}

/* Qty controls inside checkout */
.checkout-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 6px;
  margin-top: 6px;
  width: fit-content;
}

.checkout-qty-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.2s;
}

.checkout-qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.checkout-qty-val {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  min-width: 14px;
  text-align: center;
}

/* Why Shop Grid */
.why-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.why-shop-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-shop-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  flex-shrink: 0;
}

.why-shop-info h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.why-shop-info p {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   PRODUCT OPTIONS SIDEBAR DRAWER & HOVER OVERLAY STYLES
   ========================================================================== */

/* Overriding .product-card to hide hover overflow */
.product-card {
  overflow: hidden;
}

/* Options Drawer Container */
.options-drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  transform: none;
  width: 0;
  max-width: 420px;
  height: 100vh;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, width 0s linear 0.3s;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.options-drawer.is-active {
  opacity: 1;
  visibility: visible;
  width: 100%;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease, width 0s linear 0s;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 18, 0.75);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: relative;
  z-index: 201;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #131a22 0%, #0a0e12 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.options-drawer.is-active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  color: var(--soft);
  font-size: 26px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-drawer-btn:hover {
  color: var(--cyan);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-footer {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 18, 0.5);
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.drawer-footer button {
  flex: 1;
  width: auto;
}

/* Drawer Product Info Header */
.drawer-product-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.drawer-product-summary img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-product-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.drawer-product-info .drawer-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--cyan);
}

/* Option Groups */
.drawer-option-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-option-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--soft);
  letter-spacing: 0.8px;
}

.drawer-colors-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
  padding: 8px 8px;
  margin: -8px -8px;
}

.drawer-colors-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.drawer-color-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.drawer-color-circle:hover {
  transform: scale(1.1);
}

.drawer-color-circle.is-active {
  box-shadow: 0 0 0 3px #171228, 0 0 0 5.5px #ffffff, 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  transform: scale(1.1);
  border-color: transparent !important;
  outline: none !important;
}

/* Custom Dropdown select for model selection */
.drawer-models-select {
  width: 100%;
  height: 44px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.12);
}

.drawer-models-select:focus {
  border-color: #7C3AED;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
  color: #ffffff;
}

.drawer-models-select option {
  background: #121425;
  color: #ffffff;
}

/* Quantity Adjuster */
.drawer-qty-control {
  display: grid;
  grid-template-columns: 40px 50px 40px;
  width: 130px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.drawer-qty-control button,
.drawer-qty-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.drawer-qty-control button {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.drawer-qty-control button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
}

.drawer-qty-control span {
  font-size: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Select Option Button inside product card */
.select-option-btn-card {
  position: absolute;
  left: 10px;
  right: 54px;          /* Reserve space for cart only */
  bottom: 10px;
  height: 36px;
  padding: 0 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #A855F7);
  border: none;
  border-radius: 10px;

  font-weight: 800;
  font-size: 11px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  cursor: pointer;
  transition: opacity 0.25s ease, background 0.2s, box-shadow 0.2s;
  z-index: 5;
}

.select-option-btn-card {
  left: 8px;
  right: 46px;
  bottom: 8px;
  height: 32px;
  font-size: 10px;
}

.mini-share, .mini-wishlist {
  right: 8px;
  top: 8px;
  bottom: auto;
  width: 28px;
  height: 28px;
}

.mini-cart {
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
}

/* Recent Purchase Notification Popup */
.purchase-notification {
  position: fixed;
  bottom: 94px;
  left: 20px; /* Anchor to the left side */
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(18, 22, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 14px;
  padding: 12px 36px 12px 16px; /* Extra right padding so content doesn't go under close btn */
  width: 320px;
  max-width: calc(100vw - 40px);
  z-index: 10000;
  overflow: hidden;
  position: fixed; /* Re-assert fixed for specificity */
  /* Hidden state: off-screen left, transparent, and non-interactive */
  transform: translateX(-360px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, visibility 0.3s;
  cursor: pointer; /* Indicated clickable link */
  pointer-events: none; /* Block clicks when hidden */
  visibility: hidden;   /* Hide from cursor interaction when hidden */
}

.purchase-notification.is-active {
  opacity: 1;
  transform: translateX(0); /* Rests still on the left side */
  pointer-events: auto; /* Allow clicks when active */
  visibility: visible;
}

.purchase-notification-image-wrap {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}

.purchase-notification-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.purchase-notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.purchase-notification-user {
  font-size: 12px;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.purchase-notification-user strong {
  font-weight: 700;
}

.purchase-notification-user span.city {
  color: #ff3a70;
  font-weight: 700;
}

.purchase-notification-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.purchase-notification-product {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.purchase-notification-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1;
}

.purchase-notification-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 2;
}

.purchase-notification-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.purchase-notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #ff3a70;
  width: 0%;
}

.purchase-notification.is-active .purchase-notification-progress {
  animation: notificationProgress 30s linear forwards;
}

@keyframes notificationProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

@media (max-width: 768px) {
  .purchase-notification {
    bottom: 80px;
    left: 16px;
    width: 290px;
  }
}

/* Search Suggestions Dropdown */
.search-suggestions-dropdown {
  position: absolute;
  background: #12161e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  z-index: 10000000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-sizing: border-box;
}

.search-suggestions-dropdown.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Each suggestion row */
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.12s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
  width: 100%;
  text-decoration: none;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-focused {
  background: rgba(99, 102, 241, 0.1);
}

/* Thumbnail wrapper - product image or search icon */
.suggestion-thumb {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.suggestion-product-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.suggestion-icon-wrap {
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-icon-wrap svg {
  width: 16px;
  height: 16px;
}

/* Text body */
.suggestion-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.suggestion-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.suggestion-text strong {
  color: #ffffff;
  font-weight: 700;
}

.search-suggestion-item:hover .suggestion-text {
  color: #ffffff;
}

.suggestion-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestion-category {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.suggestion-price {
  font-size: 12px;
  color: var(--cyan, #8B5CF6);
  font-weight: 700;
}

/* "See all results" footer row */
.search-suggestion-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  background: rgba(255,255,255,0.02);
}

.search-suggestion-all svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
}

.search-suggestion-all:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #ffffff;
}

.search-suggestion-all strong {
  color: #ffffff;
  font-weight: 600;
}

/* Scrollbar */
.search-suggestions-dropdown::-webkit-scrollbar {
  width: 4px;
}
.search-suggestions-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.search-suggestions-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
.search-suggestions-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Policy View Styling */
.policy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  box-sizing: border-box;
}

/* Mobile-only scrollable tabs bar */
.policy-mobile-tabs {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  margin-bottom: 16px;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
}

.policy-mobile-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.policy-mobile-tab-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.policy-mobile-tab-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #021013;
  box-shadow: 0 4px 12px rgba(55, 200, 255, 0.3);
}

/* Grid Layout for Desktop Split screen */
.policy-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: stretch; /* Stretch columns to equal height */
}

/* Sidebar styling */
.policy-sidebar {
  height: 100%;
}

.policy-sidebar-inner {
  background: rgba(18, 22, 28, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px; /* Equal rounded corners to match content panel */
  padding: 24px;       /* Consistent premium padding */
  backdrop-filter: blur(10px);
  height: 100%;
  box-sizing: border-box;
}

.policy-sidebar-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 16px 8px;
  font-weight: 700;
}

.policy-desktop-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-desktop-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.policy-desktop-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.policy-desktop-tab-btn.active {
  background: rgba(55, 200, 255, 0.08);
  border: 1px solid rgba(55, 200, 255, 0.15);
  color: var(--cyan);
}

.policy-desktop-tab-btn .tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.policy-desktop-tab-btn.active .tab-icon {
  opacity: 1;
}

.policy-desktop-tab-btn .tab-label {
  flex: 1;
}

.policy-desktop-tab-btn .tab-chevron {
  display: flex;
  align-items: center;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.policy-desktop-tab-btn.active .tab-chevron {
  opacity: 0.8;
  transform: translateX(0);
}

/* Content Panel styling */
.policy-content-panel {
  background: rgba(18, 22, 28, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  min-height: 500px;
  backdrop-filter: blur(10px);
}

.policy-article h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.policy-article .subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 32px;
  font-weight: 500;
}

.policy-article section {
  margin-bottom: 28px;
}

.policy-article section:last-child {
  margin-bottom: 0;
}

.policy-article h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #ffffff;
}

.policy-article h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 8px;
  color: rgba(255, 255, 255, 0.9);
}

.policy-article p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 14px;
}

.policy-article p:last-child {
  margin-bottom: 0;
}

.policy-article ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.policy-article li {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.policy-article a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

.policy-article a:hover {
  text-decoration: underline;
}

/* Contact Us and FAQ components inside policies page */
.contact-details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-row strong {
  color: #ffffff;
  display: inline-block;
  width: 140px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive breakpoint styling */
@media (max-width: 900px) {
  .policy-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .policy-sidebar {
    display: none;
  }
  .policy-mobile-tabs {
    display: flex;
  }
  .policy-content-panel {
    padding: 20px;
    min-height: auto;
  }
}

/* ============================================================
   DRAWER IMAGE LIGHTBOX
   ============================================================ */

/* Clickable image wrapper inside drawer */
.drawer-img-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  transition: transform 0.18s ease;
}
.drawer-img-btn:hover {
  transform: scale(1.04);
}
.drawer-img-btn::after {
  content: '🔍';
  position: absolute;
  bottom: 3px;
  right: 3px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.drawer-img-btn:hover::after {
  opacity: 1;
}
.drawer-img-btn img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  display: block;
}

/* ============================================================
   PDP FULLSCREEN IMAGE VIEWER
   ============================================================ */
.pdp-fullscreen-lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 5, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pdp-fullscreen-lb.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Main image stage — fills most of screen */
.pdp-fs-stage {
  flex: 1;
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
}
.pdp-fs-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.18s ease, transform 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.pdp-fs-stage img.pdp-fs-fade {
  opacity: 0;
  transform: scale(0.96);
}

/* Close button */
.pdp-fs-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.pdp-fs-close:hover {
  background: rgba(225, 29, 72, 0.75);
  border-color: #e11d48;
  transform: scale(1.08);
}

/* Arrow navigation row */
.pdp-fs-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.pdp-fs-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  user-select: none;
}
.pdp-fs-arrow:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.55);
  transform: scale(1.1);
}
.pdp-fs-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}
.pdp-fs-counter {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  min-width: 48px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Dot indicators */
.pdp-fs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.pdp-fs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.pdp-fs-dot.is-active {
  background: #6366f1;
  transform: scale(1.4);
}

/* Lightbox container — fixed, beside the drawer */
.img-lightbox {
  position: fixed;
  top: 0;
  right: 420px; /* sits beside the drawer panel */
  width: 340px;
  height: 100vh;
  z-index: 202;
  display: flex;
  align-items: flex-start;       /* anchor to top */
  justify-content: center;
  padding-top: 62px;             /* aligns with drawer product-summary row */
  pointer-events: none;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-lightbox.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* On narrow screens, centred overlay */
@media (max-width: 820px) {
  .img-lightbox {
    right: 0;
    width: 100%;
    padding-top: 0;
    align-items: center;
    background: rgba(9, 13, 18, 0.88);
    backdrop-filter: blur(10px);
    z-index: 250;
  }
}

/* The card */
.img-lightbox-card {
  background: linear-gradient(160deg, #131a22 0%, #0a0e12 100%);
  border: none;
  border-radius: 20px;
  box-shadow: -12px 0 40px rgba(0,0,0,0.7), 0 8px 32px rgba(0,0,0,0.5);
  width: 460px;
  max-width: 95vw;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Close button */
.img-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}
.img-lightbox-close:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
}

/* Main image display */
.img-lightbox-stage {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,0.06) 0%, transparent 70%);
  border-radius: 14px;
  border: none;
  overflow: hidden;
  position: relative;
}
.img-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.img-lightbox-stage img.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

/* Arrow navigation */
.img-lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.img-lightbox-arrow {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e2e8f0;
  font-size: 17px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  user-select: none;
}
.img-lightbox-arrow:hover:not(:disabled) {
  background: rgba(99,102,241,0.2);
  color: #fff;
  border-color: rgba(99,102,241,0.5);
}
.img-lightbox-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.img-lightbox-counter {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  min-width: 44px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Dot indicators */
.img-lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.img-lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  border: none;
  padding: 0;
}
.img-lightbox-dot.is-active {
  background: var(--cyan, #06b6d4);
  transform: scale(1.3);
}

/* Model Pill Select Dropdowns */
.model-pill-select-container {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.model-pill-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(124, 58, 237, 0.06); /* Premium purple-tinted background */
  border: 1px solid rgba(124, 58, 237, 0.25); /* Purple border */
  border-radius: 20px;
  color: #e2e8f0; /* Off-white color */
  font-weight: 700;
  font-size: 13px;
  padding: 8px 26px 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.12); /* Subtle purple glow */
}

.model-pill-select option {
  background: #121425; /* Dark navy option background */
  color: #ffffff; /* White option text */
}

.model-pill-select-container::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 52%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: var(--muted);
  pointer-events: none;
}

.model-pill-select:hover {
  background: rgba(124, 58, 237, 0.15); /* Brighter on hover */
  border-color: rgba(124, 58, 237, 0.55);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.25);
}

.model-pill-select-container.is-active .model-pill-select {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.model-pill-select-container.is-active::after {
  border-top-color: #fff;
}

/* Product Detail Page Custom Boxy Neon Buttons */
.pdp-add-to-cart,
.pdp-buy-now {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px; /* Proportional boxy round corners */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px; /* Poppins/Inter 18px */
  font-weight: 600; /* SemiBold */
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

.pdp-add-to-cart {
  gap: 12px; /* Gap between icon and text */
  background: linear-gradient(to bottom, #171B2E, #121425); /* Dark navy/charcoal gradient */
  border: 2px solid #7C3AED; /* Neon purple border */
  color: #F4F4F5; /* Text color */
  box-shadow: 
    0 0 8px rgba(124, 58, 237, 0.35),
    0 0 16px rgba(124, 58, 237, 0.18); /* Glow shadow */
}

.pdp-add-to-cart svg {
  width: 22px; /* Icon size */
  height: 22px;
  color: #F5F5F7; /* Soft white icon */
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  transition: all 0.2s ease-in-out;
}

.pdp-add-to-cart:hover {
  background: linear-gradient(to bottom, #20253d, #16192d); /* Slightly brighten background */
  box-shadow: 
    0 0 12px rgba(124, 58, 237, 0.55),
    0 0 24px rgba(124, 58, 237, 0.3); /* Increase glow */
  transform: scale(1.02); /* Hover scale */
}

.pdp-add-to-cart:active {
  transform: scale(0.98); /* Active scale */
  box-shadow: 
    0 0 5px rgba(124, 58, 237, 0.25),
    0 0 10px rgba(124, 58, 237, 0.12); /* Reduce glow */
}

.pdp-buy-now {
  gap: 10px;
  background: linear-gradient(135deg, var(--cyan), #A855F7);
  border: none;
  color: #ffffff;
  font-weight: 800; /* Bold text for primary Buy Now */
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.22);
}

.pdp-buy-now svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.pdp-buy-now:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 38px rgba(168, 85, 247, 0.32);
}

.pdp-buy-now:active {
  transform: scale(0.98);
}

/* Hide availability on mobile and adjust spacing */
@media (max-width: 768px) {
  .pdp-availability-container {
    display: none !important;
  }
  .pdp-right-col {
    gap: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC CART REDESIGN
   ========================================================================== */

#cart-view {
  position: relative;
  background-color: #0B0914 !important; /* Luxurious dark background */
  overflow: hidden;
  padding: 40px 24px;
}

/* Background Glow Shapes */
.cart-bg-glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: -100px;
  left: -50px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #D946EF 0%, transparent 70%);
  bottom: -150px;
  right: -50px;
}

/* Page head header actions & secure badge */
#cart-view .cart-page-head {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

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

.cart-secure-badge-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(25, 22, 40, 0.7);
  border: 1px solid rgba(140, 82, 255, 0.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(124, 58, 237, 0.08);
}

.cart-secure-badge-top svg {
  width: 13px;
  height: 13px;
  stroke: #D946EF;
  stroke-width: 2.5;
  fill: none;
}

/* Premium Empty Cart Card */
.premium-empty-cart-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  border-radius: 20px;
  background: rgba(25, 22, 40, 0.75);
  border: 1px solid rgba(140, 82, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 30px rgba(124, 58, 237, 0.1);
  max-width: 580px;
  margin: 30px auto;
  animation: cartFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Empty State Illustration */
.illustration-container {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-glow {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, rgba(217, 70, 239, 0.06) 100%);
  border: 1px solid rgba(140, 82, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.4), inset 0 2px 10px rgba(124, 58, 237, 0.3);
}

.floating-cart-icon {
  width: 36px;
  height: 36px;
  animation: floatCartIcon 3s ease-in-out infinite;
}

@keyframes floatCartIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-3deg);
  }
}

/* Sparkles animation around icon */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  color: #D946EF;
  font-size: 14px;
  text-shadow: 0 0 10px rgba(217, 70, 239, 0.85);
  opacity: 0;
  animation: sparkleRotateAnim 2.2s infinite ease-in-out;
}

.sparkle-1 {
  top: 10px;
  left: 10px;
  animation-delay: 0s;
}

.sparkle-2 {
  bottom: 15px;
  right: 10px;
  animation-delay: 0.7s;
  font-size: 12px;
}

.sparkle-3 {
  top: 25px;
  right: 15px;
  animation-delay: 1.4s;
  font-size: 10px;
}

@keyframes sparkleRotateAnim {
  0%, 100% {
    transform: scale(0.4) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(90deg);
    opacity: 1;
  }
}

/* Heading and Description */
.premium-empty-cart-card h2 {
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.premium-empty-cart-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #A6A6B5;
  max-width: 440px;
  margin: 0 0 32px 0;
}

/* Premium Gradient CTA Button */
.premium-gradient-btn {
  height: 52px;
  padding: 0 36px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #7C3AED, #D946EF);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.premium-gradient-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #8B5CF6, #EC4899);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.premium-gradient-btn span,
.premium-gradient-btn svg {
  position: relative;
  z-index: 2;
}

.premium-gradient-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.55), 0 0 15px rgba(217, 70, 239, 0.3);
}

.premium-gradient-btn:hover::before {
  opacity: 1;
}

.premium-gradient-btn:active {
  transform: translateY(0) scale(0.98);
}

.premium-gradient-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.premium-gradient-btn svg:last-child {
  transition: transform 0.25s ease;
}

.premium-gradient-btn:hover svg:last-child {
  transform: translateX(4px);
}

/* Glassmorphism Containers when items exist */
#cart-view .cart-layout {
  position: relative;
  z-index: 1;
}

#cart-view .cart-left {
  background: rgba(25, 22, 40, 0.5);
  border: 1px solid rgba(140, 82, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#cart-view .cart-table-head {
  background: rgba(25, 22, 40, 0.4);
  border: 1px solid rgba(140, 82, 255, 0.15);
  border-radius: 12px;
  padding: 12px 24px;
  color: #A6A6B5;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

#cart-view .cart-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#cart-view .cart-item:hover {
  background: rgba(140, 82, 255, 0.03);
  border-color: rgba(140, 82, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

#cart-view .checkout-total {
  background: rgba(25, 22, 40, 0.75);
  border: 1px solid rgba(140, 82, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 25px rgba(124, 92, 246, 0.08);
}

/* Features Section (Benefits) Redesign */
#cart-view .cart-benefits {
  background: rgba(25, 22, 40, 0.45);
  border: 1px solid rgba(140, 82, 255, 0.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  position: relative;
  z-index: 1;
}

#cart-view .cart-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
  grid-template-columns: none !important; /* Reset display grid columns */
}

#cart-view .cart-benefit:hover {
  background: rgba(140, 82, 255, 0.05);
  border-color: rgba(140, 82, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#cart-view .cart-benefit .round-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.26);
  color: #7C3AED;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.18), inset 0 1px 4px rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

#cart-view .cart-benefit:hover .round-icon {
  background: #7C3AED;
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.45);
}

#cart-view .cart-benefit .round-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
}

#cart-view .cart-benefit strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  display: block;
}

#cart-view .cart-benefit small {
  font-size: 12px;
  color: #A6A6B5;
  line-height: 1.45;
  display: block;
}

/* Responsive Overrides for Cart Section */
@media (max-width: 992px) {
  #cart-view .cart-benefits {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  #cart-view {
    padding: 30px 16px;
  }
  .cart-header-actions {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .cart-secure-badge-top {
    padding: 5px 12px;
    font-size: 11px;
  }
  .premium-empty-cart-card h2 {
    font-size: 28px;
  }
  .premium-empty-cart-card p {
    font-size: 13.5px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  #cart-view .cart-benefits {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 16px;
  }
  
  #cart-view .cart-benefit {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
  }
  
  #cart-view .cart-benefit .round-icon {
    margin-bottom: 0;
  }
  
  #cart-view .cart-benefit strong {
    margin-bottom: 2px;
  }
}

/* ==========================================================================
   CART VISUAL REFINEMENT PASS — Unified Premium Design
   ========================================================================== */

/* 1 ── Unified Background for Cart View
   Replace the hard dark rectangle with a seamless radial + linear gradient */
#cart-view {
  --primary-purple: #7C3AED;
  --accent-purple:  #A855F7;
  --pink-accent:    #D946EF;
  --main-bg:        #0B0915;
  --card-bg:        rgba(23, 18, 36, 0.82);
  --border-color:   rgba(124, 58, 237, 0.18);
  --text-primary:   #FFFFFF;
  --text-secondary: #A9A8B5;
  --text-muted:     #7C7A8F;
  --success-color:  #22C55E;
  --card-radius:    22px;
  --card-shadow:    0 10px 40px rgba(0,0,0,.35), 0 0 30px rgba(124,58,237,.08);

  background:
    radial-gradient(circle at top left, rgba(124,58,237,0.10) 0%, transparent 35%),
    radial-gradient(circle at top right, rgba(217,70,239,0.08) 0%, transparent 30%),
    linear-gradient(180deg, #0C0916 0%, #0B0915 100%) !important;
  overflow: hidden;
  padding: 40px 24px;
  position: relative;
}

/* 2 ── All Cards: Unified Glass Surface
   .cart-left, .checkout-total already override background/border.
   This block enforces 22px radius + standard shadow. */
#cart-view .cart-left,
#cart-view .checkout-total {
  background:        var(--card-bg) !important;
  border:            1px solid var(--border-color) !important;
  border-radius:     var(--card-radius) !important;
  backdrop-filter:   blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow:        var(--card-shadow) !important;
}

/* Cart table header row */
#cart-view .cart-table-head {
  background:    rgba(23, 18, 36, 0.55) !important;
  border:        1px solid rgba(124, 58, 237, 0.14) !important;
  border-radius: 14px !important;
  color:         var(--text-muted) !important;
}

/* 3 ── Product Rows: Darker Glass Surface with Breathing Space */
#cart-view .cart-item {
  background:    rgba(30, 24, 45, 0.72) !important;
  border:        1px solid rgba(124, 58, 237, 0.12) !important;
  border-radius: var(--card-radius) !important;
  padding:       24px !important;
  margin-bottom: 14px !important;
  box-shadow:    0 4px 20px rgba(0,0,0,.22) !important;
  transition:    all 0.28s ease !important;
}

#cart-view .cart-item:last-child {
  border-bottom: 1px solid rgba(124, 58, 237, 0.12) !important;
  margin-bottom: 0 !important;
}

#cart-view .cart-item:hover {
  background:    rgba(40, 30, 58, 0.80) !important;
  border-color:  rgba(124, 58, 237, 0.28) !important;
  transform:     translateY(-3px) !important;
  box-shadow:    0 10px 32px rgba(124,58,237,.14) !important;
}

/* Product image – 16px radius */
#cart-view .cart-item img {
  border-radius: 16px !important;
  object-fit:    cover !important;
}

/* Product name */
#cart-view .product-info h3 {
  font-weight: 700 !important;
  color:       var(--text-primary) !important;
  font-size:   15px !important;
}

/* Active price – purple */
#cart-view .product-info .price,
#cart-view .price-col {
  color:       var(--accent-purple) !important;
  font-weight: 800 !important;
}

/* Old / strike price – muted gray */
#cart-view .product-info .strike,
#cart-view .strike {
  color:           var(--text-muted) !important;
  text-decoration: line-through !important;
}

/* In-stock text – success green */
#cart-view .stock-line {
  color: var(--success-color) !important;
}

#cart-view .stock-line svg {
  stroke: var(--success-color) !important;
}

/* Total column – white bold */
#cart-view .total-col {
  color:       var(--text-primary) !important;
  font-weight: 700 !important;
}

/* Remove button hover */
#cart-view .remove-btn:hover {
  color:        #ff5b67 !important;
  border-color: rgba(255, 91, 103, 0.35) !important;
}

/* 4 ── Secure Checkout Badge (top-right pill) */
#cart-view .cart-secure-badge-top {
  height:        40px !important;
  padding:       0 18px !important;
  background:    rgba(124, 58, 237, 0.08) !important;
  border:        1px solid rgba(124, 58, 237, 0.25) !important;
  border-radius: 999px !important;
  font-size:     12px !important;
  font-weight:   600 !important;
  color:         #FFFFFF !important;
  gap:           8px !important;
  box-shadow:    0 0 12px rgba(124, 58, 237, 0.10) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

#cart-view .cart-secure-badge-top svg {
  width:        14px !important;
  height:       14px !important;
  stroke:       var(--accent-purple) !important;
  stroke-width: 2.4 !important;
  flex-shrink:  0 !important;
}

/* 5 ── Feature Cards: Premium Redesign */
#cart-view .cart-benefits {
  background:        rgba(23, 18, 36, 0.60) !important;
  border:            1px solid var(--border-color) !important;
  border-radius:     var(--card-radius) !important;
  backdrop-filter:   blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow:        var(--card-shadow) !important;
  padding:           32px !important;
  margin-top:        60px !important;
  gap:               20px !important;
}

#cart-view .cart-benefit {
  background:    rgba(30, 24, 45, 0.60) !important;
  border:        1px solid rgba(124, 58, 237, 0.12) !important;
  border-radius: 18px !important;
  padding:       28px 20px !important;
  transition:    all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display:       flex !important;
  flex-direction: column !important;
  align-items:   center !important;
  text-align:    center !important;
  gap:           0 !important;
}

#cart-view .cart-benefit:hover {
  background:    rgba(40, 30, 58, 0.75) !important;
  border-color:  rgba(124, 58, 237, 0.28) !important;
  transform:     translateY(-5px) !important;
  box-shadow:    0 12px 32px rgba(124, 58, 237, 0.15) !important;
}

/* Glowing 56px circular icon container */
#cart-view .cart-benefit .round-icon {
  width:         56px !important;
  height:        56px !important;
  border-radius: 50% !important;
  background:    rgba(124, 58, 237, 0.12) !important;
  border:        1px solid rgba(124, 58, 237, 0.25) !important;
  color:         var(--accent-purple) !important;
  display:       flex !important;
  align-items:   center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  box-shadow:    0 0 18px rgba(124, 58, 237, 0.25), inset 0 1px 6px rgba(124, 58, 237, 0.18) !important;
  transition:    all 0.28s ease !important;
  flex-shrink:   0 !important;
}

#cart-view .cart-benefit:hover .round-icon {
  background:  rgba(124, 58, 237, 0.22) !important;
  box-shadow:  0 0 26px rgba(168, 85, 247, 0.40), inset 0 1px 6px rgba(168, 85, 247, 0.25) !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
}

/* Standardize all benefit icons to accent-purple & consistent size */
#cart-view .cart-benefit .round-icon svg {
  width:        22px !important;
  height:       22px !important;
  stroke:       var(--accent-purple) !important;
  stroke-width: 2.2 !important;
}

#cart-view .cart-benefit:hover .round-icon svg {
  stroke: #C084FC !important;
}

#cart-view .cart-benefit strong {
  font-size:     15px !important;
  font-weight:   700 !important;
  color:         var(--text-primary) !important;
  margin-bottom: 8px !important;
}

#cart-view .cart-benefit small {
  font-size:   12.5px !important;
  color:       var(--text-secondary) !important;
  line-height: 1.5 !important;
}

/* 6 ── Empty Cart Illustration — floating cart icon with float animation */
#cart-view .cart-icon-glow svg {
  width:        38px !important;
  height:       38px !important;
  stroke:       #FFFFFF !important;
  stroke-width: 2.0 !important;
  animation:    floatCartIcon 3s ease-in-out infinite !important;
}

/* 7 ── All Buttons inside Cart: Unified Gradient */
#cart-view .primary-btn,
#cart-view button[data-nav="checkout"] {
  background:    linear-gradient(90deg, #7C3AED, #A855F7, #D946EF) !important;
  border:        none !important;
  color:         #FFFFFF !important;
  font-weight:   700 !important;
  transition:    all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#cart-view .primary-btn:hover,
#cart-view button[data-nav="checkout"]:hover {
  transform:    scale(1.03) !important;
  filter:       brightness(1.08) !important;
  box-shadow:   0 0 30px rgba(168, 85, 247, 0.35) !important;
}

/* Gradient also on the premium gradient CTA button */
#cart-view .premium-gradient-btn {
  background:  linear-gradient(90deg, #7C3AED, #A855F7, #D946EF) !important;
  box-shadow:  0 8px 28px rgba(124, 58, 237, 0.42) !important;
}

#cart-view .premium-gradient-btn:hover {
  filter:     brightness(1.08) !important;
  transform:  translateY(-3px) scale(1.03) !important;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.45) !important;
}

/* Secondary / continue shopping button */
#cart-view .secondary-btn {
  border:     1px solid rgba(124, 58, 237, 0.28) !important;
  color:      var(--accent-purple) !important;
  transition: all 0.25s ease !important;
}

#cart-view .secondary-btn:hover {
  background:  rgba(124, 58, 237, 0.10) !important;
  border-color: rgba(124, 58, 237, 0.45) !important;
  box-shadow:  0 0 14px rgba(124, 58, 237, 0.18) !important;
}

/* 8 ── Order Summary Card */
#cart-view .checkout-total h2 {
  font-size:     20px !important;
  font-weight:   800 !important;
  color:         var(--text-primary) !important;
  margin-bottom: 20px !important;
}

#cart-view .summary-row {
  border-bottom: 1px solid rgba(124, 58, 237, 0.10) !important;
  padding:       12px 0 !important;
  color:         var(--text-secondary) !important;
}

#cart-view .summary-row:last-of-type {
  border-bottom: none !important;
}

#cart-view .summary-row.total {
  border-top:  1px solid rgba(124, 58, 237, 0.20) !important;
  margin-top:  8px !important;
  padding-top: 16px !important;
}

#cart-view .summary-row.total strong:first-child {
  color:       var(--text-primary) !important;
  font-size:   16px !important;
  font-weight: 800 !important;
}

#cart-view .summary-row.total .price {
  color:       var(--accent-purple) !important;
  font-size:   20px !important;
  font-weight: 800 !important;
}

#cart-view .discount-value {
  color:       var(--success-color) !important;
  font-weight: 700 !important;
}

#cart-view .secure-note {
  margin-top:  16px !important;
  font-size:   12px !important;
  color:       var(--text-muted) !important;
  text-align:  center !important;
  gap:         6px !important;
  display:     flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#cart-view .secure-note svg {
  stroke:       var(--accent-purple) !important;
  stroke-width: 2.2 !important;
  width:        14px !important;
  height:       14px !important;
}

/* 9 ── Empty Cart Card Final Polish */
#cart-view .premium-empty-cart-card {
  background:  var(--card-bg) !important;
  border:      1px solid var(--border-color) !important;
  border-radius: var(--card-radius) !important;
  box-shadow:  var(--card-shadow) !important;
}

#cart-view .premium-empty-cart-card h2 {
  color:      var(--text-primary) !important;
  font-size:  34px !important;
  font-weight: 800 !important;
}

#cart-view .premium-empty-cart-card > p {
  color:     var(--text-secondary) !important;
  font-size: 14.5px !important;
}

/* 10 ── Section Spacing */
#cart-view .cart-layout {
  margin-top: 0 !important;
}

#cart-view .cart-panel-actions {
  margin-top:  20px !important;
  padding-top: 16px !important;
  border-top:  1px solid rgba(124, 58, 237, 0.12) !important;
}

/* 11 ── Footer: Seamless Fade into Page (scoped to desktop only) */
@media (min-width: 760px) {
  /* Remove the harsh black rectangle from footer sub-blocks */
  .footer-subscribe,
  .footer-grid,
  .footer-trust,
  .footer-bottom {
    background:    transparent !important;
    border:        none !important;
    border-radius: 0 !important;
    box-shadow:    none !important;
  }

  /* Footer wrapper itself fades in */
  .desktop-footer {
    background:  linear-gradient(180deg, rgba(14,10,24,0.60), rgba(10,8,18,0.90)) !important;
    border-top:  1px solid rgba(124, 58, 237, 0.12) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow:  none !important;
    margin-top:  60px !important;
    padding:     40px 0 32px !important;
  }
}

/* 12 ── Responsive Overrides — Feature Cards */
@media (max-width: 992px) {
  #cart-view .cart-benefits {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  #cart-view .cart-benefits {
    padding: 20px !important;
    margin-top: 40px !important;
  }

  #cart-view .cart-item {
    padding: 16px !important;
  }

  #cart-view {
    padding: 24px 14px !important;
  }
}

@media (max-width: 480px) {
  #cart-view .cart-benefits {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  #cart-view .cart-benefit {
    flex-direction: row !important;
    text-align:     left !important;
    gap:            16px !important;
    align-items:    center !important;
    padding:        14px 16px !important;
  }

  #cart-view .cart-benefit .round-icon {
    margin-bottom: 0 !important;
    flex-shrink:   0 !important;
  }
}

/* ==========================================================================
   CART PAGE — TARGETED FIXES
   ========================================================================== */

/* Fix 1 ── Continue Shopping button: remove grey, use purple gradient */
#cart-view .continue-shopping-btn,
#cart-view .secondary-btn.continue-shopping-btn {
  background:    linear-gradient(90deg, #7C3AED, #A855F7) !important;
  border:        none !important;
  color:         #FFFFFF !important;
  font-weight:   700 !important;
  opacity:       1 !important;
  transition:    all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#cart-view .continue-shopping-btn:hover,
#cart-view .secondary-btn.continue-shopping-btn:hover {
  transform:  scale(1.03) !important;
  filter:     brightness(1.08) !important;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.38) !important;
}

/* Fix 2 ── Background area under navbar (app-frame) matches the cart dark
   palette when the cart view is active. We target the parent .app-frame
   via a body class that we inject only on cart — see note below.
   Since we cannot set a body class from here, we override the cart view
   to be full-height and fill the visual gap with its own gradient. */
#cart-view {
  min-height: 100svh !important;
}

/* Fix 3 ── The cart-page-head (section directly under navbar) must share
   the same gradient so there is no colour seam between navbar and cart. */
#cart-view .cart-page-head {
  background: transparent !important;
}

/* The very top of #cart-view already has the radial gradient set on the
   element itself, so we extend it to also cover the header band by removing
   any padding-top reset and ensuring the gradient origin reaches the header */
#cart-view {
  background:
    radial-gradient(circle at top left,  rgba(124, 58, 237, 0.13) 0%, transparent 38%),
    radial-gradient(circle at top right, rgba(217, 70, 239, 0.09) 0%, transparent 32%),
    linear-gradient(180deg, #0C0916 0%, #0B0915 100%) !important;
}

/* For desktop, also override the .app-frame background to the same dark
   palette so the navbar-to-cart transition is seamless.
   We do this via the body.cart-active class added in the JS when cart opens,
   but as a pure-CSS fallback we override .site-shell on desktop too. */
@media (min-width: 760px) {
  /* On desktop the page background is on html — match it to cart dark */
  body.cart-page-active {
    background:
      radial-gradient(circle at top left,  rgba(124, 58, 237, 0.10) 0%, transparent 35%),
      radial-gradient(circle at top right, rgba(217, 70, 239, 0.08) 0%, transparent 30%),
      linear-gradient(180deg, #0C0916 0%, #0B0915 100%) !important;
  }
}

/* Mobile: override .app-frame gradient when cart is active */
body.cart-page-active .app-frame {
  background:
    radial-gradient(circle at top left,  rgba(124, 58, 237, 0.13) 0%, transparent 35%),
    radial-gradient(circle at top right, rgba(217, 70, 239, 0.08) 0%, transparent 30%),
    linear-gradient(180deg, #0C0916 0%, #0B0915 100%) !important;
}

/* ==========================================================================
   CART — REFERENCE MATCH OVERRIDES
   Single large card shell, breadcrumb, horizontal benefit cards
   ========================================================================== */

/* Outer view background — very dark, matches reference outer grey */
#cart-view {
  background: #111118 !important;
  padding: 24px 20px 40px !important;
  min-height: 100svh !important;
}

/* Outer glows stay subtle */
#cart-view .cart-bg-glows {
  z-index: 0 !important;
}

/* The single large premium card shell */
#cart-view .cart-premium-shell {
  position: relative;
  z-index: 1;
  background: #1a1628 !important;
  border-radius: 20px !important;
  padding: 32px 36px 36px !important;
  border: 1px solid rgba(124, 58, 237, 0.15) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 40px rgba(124,58,237,0.06) !important;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Breadcrumb */
#cart-view .cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #8b8a9b !important;
}

#cart-view .crumb-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none !important;
  border: none !important;
  color: #9b8ec4 !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

#cart-view .crumb-home:hover {
  color: #A855F7 !important;
}

#cart-view .crumb-home svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

#cart-view .cart-breadcrumb > svg {
  opacity: 0.45;
  flex-shrink: 0;
}

#cart-view .crumb-current {
  color: #A855F7 !important;
  font-weight: 600;
}

/* Page header — title left, badge right */
#cart-view .cart-page-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin-bottom: 32px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  gap: 16px;
}

#cart-view .cart-head-left h1 {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

#cart-view .cart-head-left p {
  font-size: 14px !important;
  color: #8b8a9b !important;
  margin: 0;
}

#cart-view .cart-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* Secure badge — exact reference style */
#cart-view .cart-secure-badge-top {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 38px !important;
  padding: 0 16px !important;
  background: rgba(124, 58, 237, 0.08) !important;
  border: 1px solid rgba(124, 58, 237, 0.30) !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: none !important;
}

#cart-view .cart-secure-badge-top svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #A855F7 !important;
  stroke-width: 2.2 !important;
  fill: none !important;
}

/* Remove all button */
#cart-view .cart-remove-all-btn {
  font-size: 12px !important;
  color: #8b8a9b !important;
}

#cart-view .cart-remove-all-btn:hover {
  color: #ff5b67 !important;
}

/* Empty cart card — no separate card, blends into shell */
#cart-view .cart-left {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

#cart-view .premium-empty-cart-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 48px 40px 40px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  max-width: 100% !important;
  margin: 0 !important;
  animation: cartFadeInUp 0.5s ease both !important;
}

/* Cart icon illustration */
#cart-view .illustration-container {
  width: 90px !important;
  height: 90px !important;
  position: relative !important;
  margin-bottom: 28px !important;
}

#cart-view .cart-icon-glow {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: rgba(124, 58, 237, 0.18) !important;
  border: 1px solid rgba(124, 58, 237, 0.38) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.32), inset 0 1px 8px rgba(124,58,237,0.2) !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

#cart-view .cart-icon-glow svg {
  width: 34px !important;
  height: 34px !important;
  stroke: #FFFFFF !important;
  stroke-width: 1.8 !important;
  fill: none !important;
  animation: floatCartIcon 3s ease-in-out infinite !important;
}

/* Sparkles around the icon — cross/plus style like reference */
#cart-view .sparkles {
  position: absolute !important;
  inset: -10px !important;
  pointer-events: none !important;
}

#cart-view .sparkle {
  position: absolute !important;
  color: #A855F7 !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  opacity: 0 !important;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.8) !important;
  animation: sparkleRotateAnim 2.4s ease-in-out infinite !important;
}

#cart-view .sparkle-1 { top: 0; left: 14px; animation-delay: 0s !important; }
#cart-view .sparkle-2 { top: 8px; right: 0; animation-delay: 0.6s !important; font-size: 10px !important; }
#cart-view .sparkle-3 { bottom: 4px; left: 0; animation-delay: 1.2s !important; font-size: 10px !important; }
#cart-view .sparkle-4 { bottom: 0; right: 14px; animation-delay: 1.8s !important; }

/* Empty cart text */
#cart-view .premium-empty-cart-card h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.3px;
}

#cart-view .premium-empty-cart-card > p {
  font-size: 14px !important;
  color: #8b8a9b !important;
  line-height: 1.6 !important;
  margin: 0 0 28px !important;
  max-width: 400px;
}

/* Shop Products button — pill gradient */
#cart-view .premium-gradient-btn {
  height: 46px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #7C3AED, #A855F7) !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124,58,237,0.38) !important;
  transition: all 0.25s ease !important;
}

#cart-view .premium-gradient-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 12px 30px rgba(168,85,247,0.45) !important;
}

#cart-view .premium-gradient-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #FFFFFF !important;
  stroke-width: 2 !important;
  fill: none !important;
}

/* Benefit cards — horizontal, icon left, text right, always in a 3-col row */
#cart-view .cart-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  background: rgba(15, 11, 24, 0.5) !important;
  border: 1px solid rgba(124, 58, 237, 0.12) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  margin-top: 28px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
}

#cart-view .cart-benefit {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 14px !important;
  padding: 20px 18px !important;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(124, 58, 237, 0.10) !important;
  border-radius: 0 !important;
  transition: background 0.22s ease !important;
}

#cart-view .cart-benefit:last-child {
  border-right: none !important;
}

#cart-view .cart-benefit:hover {
  background: rgba(124, 58, 237, 0.06) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Icon circle */
#cart-view .cart-benefit .round-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(124, 58, 237, 0.14) !important;
  border: 1px solid rgba(124, 58, 237, 0.28) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.18) !important;
  color: #A855F7 !important;
  transition: all 0.22s ease !important;
}

#cart-view .cart-benefit:hover .round-icon {
  background: rgba(124, 58, 237, 0.24) !important;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.30) !important;
}

#cart-view .cart-benefit .round-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #A855F7 !important;
  stroke-width: 2.2 !important;
  fill: none !important;
}

#cart-view .benefit-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#cart-view .cart-benefit strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  display: block !important;
  margin-bottom: 0 !important;
  white-space: nowrap;
}

#cart-view .cart-benefit small {
  font-size: 11.5px !important;
  color: #8b8a9b !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* Checkout summary card inside shell */
#cart-view .checkout-total {
  background: rgba(12, 9, 20, 0.55) !important;
  border: 1px solid rgba(124, 58, 237, 0.16) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.28) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Primary checkout button */
#cart-view .primary-btn.full {
  background: linear-gradient(90deg, #7C3AED, #A855F7) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
}

#cart-view .primary-btn.full:hover {
  filter: brightness(1.1) !important;
  box-shadow: 0 0 24px rgba(168,85,247,0.35) !important;
  transform: translateY(-1px) !important;
}

/* Cart items inside shell */
#cart-view .cart-item {
  background: rgba(12, 9, 20, 0.45) !important;
  border: 1px solid rgba(124, 58, 237, 0.10) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

#cart-view .cart-item:hover {
  background: rgba(30, 20, 50, 0.65) !important;
  border-color: rgba(124, 58, 237, 0.22) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(124,58,237,0.10) !important;
}

/* Responsive overrides */
@media (max-width: 1024px) {
  #cart-view .cart-premium-shell {
    padding: 24px 24px 28px !important;
  }
  #cart-view .cart-benefits {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  #cart-view .cart-benefit {
    border-right: 1px solid rgba(124, 58, 237, 0.10) !important;
    border-bottom: none !important;
  }
  #cart-view .cart-benefit:nth-child(3n) {
    border-right: none !important;
  }
}

@media (max-width: 768px) {
  #cart-view {
    padding: 12px 10px 32px !important;
  }
  #cart-view .cart-premium-shell {
    padding: 20px 18px 24px !important;
    border-radius: 16px !important;
  }
  #cart-view .cart-page-head {
    flex-direction: column !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }
  #cart-view .cart-head-left h1 {
    font-size: 26px !important;
  }
  #cart-view .cart-head-right {
    flex-direction: row !important;
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  #cart-view .cart-benefits {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  #cart-view .cart-benefit {
    border-right: 1px solid rgba(124, 58, 237, 0.10) !important;
    border-bottom: none !important;
  }
  #cart-view .cart-benefit:last-child {
    border-right: none !important;
  }
  #cart-view .premium-empty-cart-card {
    padding: 32px 20px 28px !important;
  }
  #cart-view .premium-empty-cart-card h2 {
    font-size: 22px !important;
  }
}

/* ==========================================================================
   CART GAP & LAYOUT FIXES
   ========================================================================== */

/* Fix 1 ── Strip app-frame padding when cart is open so no side gaps appear.
   Also allow the cart card to overflow the frame edges cleanly. */
body.cart-page-active .app-frame {
  padding: 0 !important;
  overflow: visible !important;
}

/* Fix 2 ── On mobile (#cart-view sits inside 460px app-frame):
   Remove our own padding, make shell fill full width, no rounded top corners. */
@media (max-width: 759px) {
  #cart-view {
    padding: 0 !important;
    background: #111118 !important;
  }

  #cart-view .cart-premium-shell {
    border-radius: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    padding: 20px 16px 28px !important;
    box-shadow: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    min-height: 100svh !important;
  }

  /* No separate card border on mobile — shell IS the page */
  #cart-view .cart-bg-glows {
    display: none !important;
  }
}

/* Fix 3 ── Vertically centre the empty-state content inside the shell.
   When there are no items, cart-list should stretch and centre its child. */
#cart-view .cart-list:only-child,
#cart-view .cart-list {
  display: flex;
  flex-direction: column;
}

#cart-view .premium-empty-cart-card {
  flex: 1 !important;
  min-height: 340px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

/* Fix 4 ── "Shop Products" button — always centred, pill shape, correct width */
#cart-view .premium-gradient-btn {
  align-self: center !important;
  margin: 0 auto !important;
}

/* Fix 5 ── When cart has items, Continue Shopping button is left-aligned
   (correct for the filled-cart desktop layout). */
#cart-view .cart-panel-actions {
  display: flex !important;
  align-items: center !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(124, 58, 237, 0.10) !important;
}

/* Fix 6 ── Cart layout on mobile: single column (no side-by-side order summary) */
@media (max-width: 759px) {
  #cart-view .cart-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  #cart-view .cart-right {
    width: 100% !important;
  }

  #cart-view .cart-head-left h1 {
    font-size: 24px !important;
  }

  #cart-view .cart-breadcrumb {
    margin-bottom: 14px !important;
  }

  #cart-view .cart-page-head {
    margin-bottom: 18px !important;
  }

  #cart-view .cart-benefits {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-top: 20px !important;
  }

  #cart-view .cart-benefit {
    flex-direction: column !important;
    text-align: center !important;
    padding: 12px 6px !important;
    border-right: 1px solid rgba(124, 58, 237, 0.10) !important;
    border-bottom: none !important;
    gap: 6px !important;
  }

  #cart-view .cart-benefit:last-child {
    border-right: none !important;
  }

  #cart-view .cart-benefit .round-icon {
    width: 32px !important;
    height: 32px !important;
  }

  #cart-view .cart-benefit .round-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  #cart-view .cart-benefit strong {
    font-size: 10px !important;
    white-space: normal !important;
  }

  #cart-view .cart-benefit small {
    display: none !important;
  }
}

/* Fix 7 ── Desktop: remove the outer #cart-view gap by matching
   its background to the page body exactly. On desktop the shell
   provides the card, the outer area is just the page background. */
@media (min-width: 760px) {
  #cart-view {
    padding: 28px 32px 48px !important;
    background: #0e0b18 !important;
  }

  #cart-view .cart-premium-shell {
    border-radius: 20px !important;
    overflow: hidden !important;
  }
}

/* ==========================================================================
   CART ITEM GRID ALIGNMENT & RESPONSIVE FIXES
   ========================================================================== */

/* Desktop & Tablet Layout (>= 760px) */
@media (min-width: 760px) {
  #cart-view .cart-table-head,
  #cart-view .cart-item {
    display: grid !important;
    grid-template-columns: minmax(200px, 1.5fr) 100px 140px 100px 50px !important;
    gap: 16px !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  #cart-view .cart-table-head {
    display: grid !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  #cart-view .cart-item {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  #cart-view .product-col {
    grid-column: auto !important;
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 16px !important;
    align-items: center !important;
  }

  #cart-view .cart-item img {
    width: 80px !important;
    height: 80px !important;
  }

  #cart-view .price-col,
  #cart-view .qty-col,
  #cart-view .total-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: auto !important;
  }

  #cart-view .price-col::before,
  #cart-view .qty-col::before,
  #cart-view .total-col::before {
    display: none !important;
  }

  #cart-view .remove-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    position: static !important;
    align-self: center !important;
    justify-self: center !important;
  }
}

/* Mobile Layout (< 760px) */
@media (max-width: 759px) {
  #cart-view .cart-table-head {
    display: none !important;
  }

  #cart-view .cart-left,
  #cart-view .cart-list {
    width: 100% !important;
  }

  #cart-view .cart-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  #cart-view .product-info {
    padding-right: 48px !important;
    box-sizing: border-box !important;
  }

  #cart-view .product-col {
    display: grid !important;
    grid-template-columns: 76px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
    width: 100% !important;
  }

  #cart-view .cart-item img {
    width: 76px !important;
    height: 76px !important;
  }

  #cart-view .price-col,
  #cart-view .qty-col,
  #cart-view .total-col {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-sizing: border-box !important;
  }

  #cart-view .total-col {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  #cart-view .price-col::before {
    content: "Price" !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  #cart-view .qty-col::before {
    content: "Quantity" !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  #cart-view .total-col::before {
    content: "Total" !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  #cart-view .price-col::after,
  #cart-view .qty-col::after,
  #cart-view .total-col::after {
    display: none !important;
  }

  #cart-view .remove-btn {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(124, 58, 237, 0.15) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  #cart-view .remove-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Centering empty state card & continue shopping actions */
#cart-view .cart-left:only-child {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

#cart-view .cart-left:only-child .cart-list {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

#cart-view .cart-panel-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important; /* Centered button */
  width: 100% !important;
  box-sizing: border-box !important;
}

#cart-view .premium-empty-cart-card {
  margin: 0 auto !important;
  text-align: center !important;
}

/* Fix bottom black gap on checkout and cart pages */
body.checkout-mode {
  padding-bottom: 0 !important;
}
