:root {
  color-scheme: dark;
  --bg: #04080c;
  --panel: rgba(18, 25, 31, 0.82);
  --panel-strong: rgba(23, 32, 39, 0.96);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(34, 232, 236, 0.38);
  --text: #f7fbff;
  --muted: #aeb8c3;
  --soft: #71808d;
  --cyan: #23f4ef;
  --blue: #1d86ff;
  --green: #30df68;
  --orange: #ff8a17;
  --red: #ff5364;
  --violet: #7157ff;
  --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(35, 244, 239, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 12%, rgba(255, 138, 23, 0.09), transparent 22rem),
    linear-gradient(180deg, #090d11 0%, #020508 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(35, 244, 239, 0.16), transparent 12rem),
    radial-gradient(circle at 8% 60%, rgba(29, 134, 255, 0.1), transparent 14rem),
    linear-gradient(180deg, #13191f 0%, #090e12 48%, #06090d 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(35, 244, 239, 0.16), transparent 12rem),
    radial-gradient(circle at 8% 60%, rgba(29, 134, 255, 0.1), transparent 14rem),
    linear-gradient(180deg, #13191f 0%, #090e12 48%, #06090d 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(35, 244, 239, 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(35, 244, 239, 0.05), 0 0 22px rgba(35, 244, 239, 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(35, 244, 239, 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), #37c8ff);
  box-shadow: 0 0 24px rgba(35, 244, 239, 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(35, 244, 239, 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(35,244,239,.35);
  box-shadow: 0 12px 24px rgba(35,244,239,.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:#031316;
    background:linear-gradient(135deg,var(--cyan),#37c8ff);

    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: #021013;
  background: linear-gradient(135deg, var(--cyan), #1d86ff);
  box-shadow: 0 14px 34px rgba(29, 134, 255, 0.22);
}

.secondary-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.605);
  border: 1px solid rgba(35, 244, 239, 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(35, 244, 239, 0.35);
  transform: translateY(-2px);
}

.feature svg {
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(35, 244, 239, 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(35, 244, 239, 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: #1d86ff;
  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;
}

.round-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  color: var(--cyan);
  background: rgba(29, 134, 255, 0.12);
  border: 1px solid rgba(35, 244, 239, 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, #d8fbff, var(--cyan) 46%, #1d86ff);
  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(42, 61, 170, 0.78), rgba(18, 28, 42, 0.7)),
    radial-gradient(circle at 80% 30%, rgba(35, 244, 239, 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(43, 70, 176, 0.68), rgba(17, 24, 32, 0.78)),
    radial-gradient(circle at 82% 28%, rgba(29, 134, 255, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 0.8), transparent);
  box-shadow: 
    0 8px 20px rgba(99, 102, 241, 0.4),
    0 0 15px rgba(35, 244, 239, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.25);
  border: 2.5px solid #23f4ef;
  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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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 {
    display: grid;
    gap: 28px;
    width: 100%;
  }

  .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;
    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;
  }

  .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: 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: 0 auto;
    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) --- */
.auth-mode .desktop-header,
.auth-mode .desktop-footer,
.auth-mode .bottom-nav,
.auth-mode footer {
  display: none !important;
}

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

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.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, #20dfbd, #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: #334155;
  color: #64748b;
  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 {
  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(35, 244, 239, 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(35, 244, 239, 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: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.badge-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  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: 6px;
}
.badge-pill.premium {
  border-color: rgba(35, 244, 239, 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(35, 244, 239, 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: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.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 {
  outline: 2.5px solid #ffffff;
  outline-offset: 3px;
  transform: scale(1.1);
  box-shadow: none;
}

/* 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;
  }
  .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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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 */
.reviews-list-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.review-card-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.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-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--soft);
}

.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(35, 244, 239, 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, #20dfbd, #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;
    padding: 40px 0 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 0.05));
  border: 1px dashed rgba(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 0.1);
  border: 1px solid rgba(35, 244, 239, 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(35, 244, 239, 0.4) !important;
}

.neon-btn:hover {
  box-shadow: 0 0 28px rgba(35, 244, 239, 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;
  }
}

/* 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(35, 244, 239, 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);
}

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

@media (max-width: 768px) {
  .trust-indicators-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  .trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 4px;
    gap: 6px;
  }
  .trust-icon {
    width: 32px;
    height: 32px;
  }
  .trust-icon svg {
    width: 16px;
    height: 16px;
  }
  .trust-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .trust-text strong {
    font-size: 9px;
    line-height: 1.2;
    white-space: normal;
    display: block;
  }
  .trust-text span {
    font-size: 7.5px;
    line-height: 1.2;
    margin-top: 2px;
    white-space: normal;
    display: block;
    color: var(--muted);
  }

  /* 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(3, 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(35, 244, 239, 0.1) 0%, rgba(35, 244, 239, 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(35, 244, 239, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 4px 20px rgba(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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(35, 244, 239, 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 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

/* Desktop: two-column side by side */
@media (min-width: 769px) {
  .checkout-page-wrap {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    padding: 24px 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
  }

  .checkout-col-left {
    position: sticky;
    top: 80px; /* stick below the nav bar */
  }

  .checkout-col-right {
    display: flex;
    flex-direction: column;
    gap: 0; /* sections handle their own margin-top */
  }

  /* Remove the margin-bottom that the "Add New Address" button already applies
     so the COD button sits flush right below it */
  .checkout-col-right .address-grid-checkout + button.secondary-btn {
    margin-bottom: 14px;
  }
}

/* ==========================================================================
   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: 100%;
  max-width: 420px;
  height: 100vh;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: flex-end;
}

.options-drawer.is-active {
  opacity: 1;
  pointer-events: auto;
}

.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: wrap;
  gap: 10px;
}

.drawer-color-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  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);
}

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

.drawer-color-circle.is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(35, 244, 239, 0.6);
}

/* Custom Dropdown select for model selection */
.drawer-models-select {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.drawer-models-select:focus {
  border-color: var(--cyan);
}

.drawer-models-select option {
  background: #131a22;
  color: var(--text);
}

/* 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: #021013;
  background: linear-gradient(135deg, var(--cyan), #37c8ff);
  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: 0; /* Anchor to left edge so we can animate across full viewport */
  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 16px;
  width: 320px;
  max-width: calc(100vw - 40px);
  z-index: 10000;
  overflow: hidden;
  /* Hidden off-screen to the left by default */
  transform: translateX(-360px);
  opacity: 0;
}

.purchase-notification.is-active {
  opacity: 1;
  /* Animate from left off-screen all the way to right off-screen — no stopping */
  animation: slideAcrossScreen 20s linear forwards;
}

.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: 3px;
  font-family: inherit;
}

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

.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);
  margin: 0;
  line-height: 1.2;
}

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

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

.purchase-notification-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  transition: color 0.2s;
}

.purchase-notification-close:hover {
  color: #ffffff;
}

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

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

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

/* Travels from left off-screen all the way to right off-screen */
@keyframes slideAcrossScreen {
  0%   { transform: translateX(-360px); }
  100% { transform: translateX(calc(100vw + 20px)); }
}

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

/* Search Suggestions Dropdown */
.search-suggestions-dropdown {
  position: absolute;
  background: rgba(18, 22, 28, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 10000000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

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

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
  width: 100%;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.search-suggestion-item .suggestion-icon {
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.search-suggestion-item .suggestion-icon svg {
  width: 14px;
  height: 14px;
}

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

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

.search-suggestion-item:hover .suggestion-icon {
  color: var(--cyan);
}

/* Scrollbar custom styling */
.search-suggestions-dropdown::-webkit-scrollbar {
  width: 6px;
}
.search-suggestions-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.search-suggestions-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.search-suggestions-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 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;
  }
}