
/* LOWIZ premium storefront pass — restrained polish, responsive safety */
:root {
  --lowiz-ink: #f6f4fb;
  --lowiz-muted: #9b9aaa;
  --lowiz-line: rgba(255,255,255,.095);
  --lowiz-panel: rgba(18,19,29,.82);
  --lowiz-accent: #9a88ff;
  --lowiz-accent-2: #5f7cff;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.no-scroll { overflow: hidden; }

.site-header {
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(7,8,15,.84);
  backdrop-filter: blur(22px) saturate(135%);
}
.nav-shell { min-height: 74px; gap: 18px; }
.brand { letter-spacing: -.055em; }
.desktop-nav { gap: 6px; }
.desktop-nav a, .nav-cta, .login-trigger, .balance-topup, .wallet-badge {
  white-space: nowrap;
}
.desktop-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: #a8a5b4;
  transition: background .2s ease, color .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: #fff;
  background: rgba(143,125,255,.12);
}
.nav-actions { gap: 8px; min-width: 0; }
.nav-actions > * { flex: 0 0 auto; }
.wallet-badge, .balance-topup {
  min-height: 42px;
  border: 1px solid var(--lowiz-line);
  border-radius: 12px;
}
.wallet-badge { background: rgba(255,255,255,.035); }
.balance-topup {
  background: linear-gradient(135deg, rgba(127,109,255,.9), rgba(80,110,255,.85));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(77,82,215,.2);
}

.hero { padding-top: clamp(36px, 6vw, 78px); }
.hero-layout {
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.hero-copy { min-width: 0; }
.hero-copy h1 {
  max-width: 11ch;
  text-wrap: balance;
  letter-spacing: -.065em;
}
.hero-description {
  max-width: 54ch;
  color: #b6b3c1;
  line-height: 1.7;
}
.hero-actions { flex-wrap: wrap; }
.luxury-hero-stage, .apple-hero-showcase { min-width: 0; }
.hero-feature-product {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 16%, rgba(129,108,255,.22), transparent 31%),
    linear-gradient(135deg, rgba(25,25,38,.98), rgba(10,11,18,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}
.hero-feature-product img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
}
.hero-feature-copy {
  padding: 26px;
  background: linear-gradient(180deg, transparent, rgba(7,8,14,.92) 34%);
}
.hero-feature-copy strong { font-size: clamp(25px, 3vw, 42px); line-height: 1.04; }
.hero-feature-copy em { color: #b6b0c9; font-style: normal; }
.hero-quick-links { gap: 10px; }
.hero-quick-links a {
  min-width: 0;
  border: 1px solid var(--lowiz-line);
  background: rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.hero-quick-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(154,136,255,.42);
  background: rgba(154,136,255,.08);
}

.campaign-card {
  border: 1px solid rgba(154,136,255,.22);
  box-shadow: 0 20px 55px rgba(40,35,100,.16);
}
.campaign-card, .trust-card, .product-card {
  backdrop-filter: blur(12px);
}
.products-section { scroll-margin-top: 92px; }
.products-section .section-heading { align-items: end; }
.filters {
  position: sticky;
  top: 84px;
  z-index: 15;
  padding: 8px;
  border: 1px solid var(--lowiz-line);
  border-radius: 14px;
  background: rgba(9,10,17,.78);
  backdrop-filter: blur(18px);
}
.filter-button { min-height: 40px; }

.product-grid {
  align-items: stretch;
  contain: layout paint;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  border-color: rgba(255,255,255,.105);
  background: linear-gradient(160deg, rgba(23,24,36,.92), rgba(12,13,21,.96));
  box-shadow: 0 13px 35px rgba(0,0,0,.16);
}
.product-card:hover {
  border-color: rgba(154,136,255,.36);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
}
.product-cover { isolation: isolate; }
.product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-content { min-width: 0; }
.product-content h3, .product-description {
  overflow-wrap: anywhere;
}
.product-stock {
  color: #9ee8c1;
  font-size: 12px;
  min-height: 18px;
}
.product-stock.is-empty { color: #e89aa8; }
.product-actions button, .detail-actions button {
  min-height: 44px;
}
.detail-link { min-height: 36px; }

.product-overlay { z-index: 120; }
.product-modal {
  width: min(980px, calc(100vw - 32px));
  max-height: min(88dvh, 780px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: linear-gradient(145deg, #171925, #0b0c13);
  box-shadow: 0 35px 110px rgba(0,0,0,.55);
}
.product-modal .detail-cover {
  min-height: 360px;
  background: radial-gradient(circle at 50% 28%, rgba(129,108,255,.18), transparent 58%), #12131d;
}
.product-modal .detail-cover img {
  loading: eager;
  object-fit: cover;
}
.detail-copy { min-width: 0; }
.detail-copy h2 {
  max-width: 16ch;
  text-wrap: balance;
  letter-spacing: -.055em;
}
.detail-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 4px;
}
.detail-trust-strip span, .premium-availability {
  border: 1px solid rgba(154,136,255,.2);
  border-radius: 999px;
  color: #c7c0ff;
  background: rgba(154,136,255,.07);
  padding: 7px 10px;
  font-size: 12px;
}
.premium-availability {
  display: block;
  width: fit-content;
  margin: 12px 0;
}
.premium-availability.is-empty {
  color: #ffadb9;
  border-color: rgba(255,106,132,.25);
  background: rgba(255,106,132,.08);
}

#recentSaleTicker,
.recent-sale-ticker,
[data-recent-sale-ticker] {
  display: none !important;
}
#smartStoreBar, #personalizedShelf, #lowizSupportSection,
.smart-store-bar, .personalized-shelf, .lowiz-support-section {
  display: none !important;
}
#reviews:has(.review-empty),
#reviews:has(.testimonial-card.review-empty) {
  display: none !important;
}

#cookieBanner {
  z-index: 150 !important;
  width: min(430px, calc(100vw - 32px));
  right: 16px !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 16px !important;
  background: rgba(18,19,29,.94) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.42) !important;
  backdrop-filter: blur(20px);
}
#cookieBanner[hidden] { display: none !important; }
#cookieBanner p, #cookieBanner small, #cookieBanner span { line-height: 1.45; }
#cookieBanner button { min-height: 38px; }

#floatingWhatsapp, #supportFloatingButton, #pdfLibraryLauncher {
  z-index: 110 !important;
}
#floatingWhatsapp { bottom: 92px !important; right: 18px !important; }
#supportFloatingButton { bottom: 22px !important; right: 18px !important; }
#pdfLibraryLauncher { left: 16px !important; bottom: 18px !important; }

@media (max-width: 900px) {
  .nav-shell { min-height: 66px; gap: 8px; }
  .desktop-nav, .theme-toggle, .nav-cta, .library-trigger { display: none !important; }
  .brand { font-size: 17px; }
  .nav-actions { margin-left: auto; gap: 5px; }
  .wallet-badge { max-width: 106px; padding-inline: 8px; }
  .wallet-summary small { display: none; }
  .balance-topup { width: 42px; padding: 0; }
  .balance-topup > span:not(.balance-topup-mark) { display: none; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 14ch; font-size: clamp(34px, 9vw, 54px); }
  .hero-feature-product, .hero-feature-product img { min-height: 310px; }
  .filters { top: 70px; overflow-x: auto; display: flex; flex-wrap: nowrap; }
  .filter-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-shell { padding-inline: 12px; }
  .wallet-badge { max-width: 92px; }
  .wallet-summary b { font-size: 11px; }
  .icon-button, .login-trigger, .balance-topup { min-width: 38px; min-height: 38px; }
  .login-label { display: none; }
  .hero { padding-top: 28px; }
  .hero-feature-product, .hero-feature-product img { min-height: 270px; }
  .hero-feature-copy { padding: 18px; }
  .hero-feature-copy strong { font-size: 26px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card { border-radius: 14px; }
  .product-content { padding: 12px !important; }
  .product-content h3 { font-size: 14px; line-height: 1.25; }
  .product-description { font-size: 12px; }
  .product-modal {
    width: 100%;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
  }
  .product-modal .detail-cover { min-height: 230px; }
  .detail-copy h2 { max-width: 100%; font-size: 28px; }
  .detail-actions { grid-template-columns: 1fr; }
  #cookieBanner {
    right: 10px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 20px);
  }
  #floatingWhatsapp { bottom: 104px !important; right: 14px !important; }
  #supportFloatingButton { bottom: 54px !important; right: 14px !important; }
  #pdfLibraryLauncher { bottom: 14px !important; left: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Final hero composition: the live storefront uses market-* cards. */
.market-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, .85fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}
.market-feature {
  position: relative !important;
  min-height: 384px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 22px !important;
  background: #10111a !important;
}
.market-hero-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: .72 !important;
}
.market-feature::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(90deg, rgba(7,8,14,.97) 0%, rgba(7,8,14,.82) 42%, rgba(7,8,14,.16) 100%) !important;
  pointer-events: none !important;
}
.market-feature-copy {
  position: relative !important;
  z-index: 2 !important;
  inset: auto !important;
  width: min(58%, 540px) !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 0 !important;
  padding: clamp(24px, 4vw, 46px) !important;
}
.market-feature-copy small {
  margin-bottom: 14px !important;
  color: #aaa0ff !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  font-weight: 850 !important;
}
.market-feature-copy h1 {
  max-width: 15ch !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(28px, 3.4vw, 48px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance !important;
}
.market-feature-copy p {
  max-width: 38ch !important;
  margin: 16px 0 0 !important;
  color: #c2bfca !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}
.market-feature-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px 14px !important;
  margin-top: 18px !important;
}
.market-feature-meta strong {
  color: #fff !important;
  font-size: 22px !important;
}
.market-feature-meta span {
  color: #a7e7c4 !important;
  font-size: 12px !important;
}
.market-feature-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin-top: 20px !important;
}
.market-feature-actions button {
  min-height: 42px !important;
  padding: 0 15px !important;
  border-radius: 11px !important;
  white-space: nowrap !important;
}
.market-side-stack {
  display: grid !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.market-side-feature {
  position: relative !important;
  min-height: 184px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 18px !important;
  background: #11131c !important;
}
.market-product-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: .56 !important;
}
.market-side-feature::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(90deg, rgba(8,9,15,.95), rgba(8,9,15,.34)) !important;
  pointer-events: none !important;
}
.market-side-copy {
  position: relative !important;
  z-index: 2 !important;
  width: 76% !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 22px !important;
}
.market-side-copy small {
  color: #b4aaff !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
}
.market-side-copy h2 {
  max-width: 22ch !important;
  margin: 11px 0 8px !important;
  color: #fff !important;
  font-size: clamp(16px, 1.5vw, 22px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
}
.market-side-copy strong { color: #fff !important; font-size: 17px !important; }
#cookieBanner {
  right: 16px !important;
  bottom: 84px !important;
  max-width: 370px !important;
}
@media (max-width: 900px) {
  .market-hero-grid { grid-template-columns: 1fr !important; }
  .market-side-stack { grid-template-columns: repeat(2, minmax(0,1fr)) !important; grid-template-rows: 1fr !important; }
  .market-side-feature { min-height: 180px !important; }
  .market-feature-copy { width: min(66%, 520px) !important; }
}
@media (max-width: 560px) {
  .market-feature { min-height: 330px !important; border-radius: 18px !important; }
  .market-feature-copy { width: 82% !important; padding: 22px !important; }
  .market-feature-copy h1 { max-width: 11ch !important; font-size: 31px !important; }
  .market-feature-copy p { max-width: 30ch !important; font-size: 12px !important; }
  .market-side-stack { grid-template-columns: 1fr !important; }
  .market-side-feature { min-height: 148px !important; }
  #cookieBanner { right: 10px !important; bottom: 90px !important; max-width: none !important; }
}


/* Cookie consent stays useful without covering the product grid. */
#cookieBanner {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 10px 18px !important;
  border-width: 1px 0 0 !important;
  border-radius: 0 !important;
}
#cookieBanner .cookie-copy { min-width: 0 !important; }
#cookieBanner .cookie-copy .eyebrow { display: none !important; }
#cookieBanner .cookie-copy p { margin: 0 !important; font-size: 12px !important; }
#cookieBanner .cookie-actions {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  gap: 7px !important;
}
#cookieBanner .cookie-actions button { min-height: 36px !important; }
@media (max-width: 560px) {
  #cookieBanner {
    left: 8px !important;
    right: 8px !important;
    bottom: 70px !important;
    width: auto !important;
    min-height: 0 !important;
    display: block !important;
    padding: 10px 12px !important;
    border-width: 1px !important;
    border-radius: 14px !important;
  }
  #cookieBanner .cookie-copy p { font-size: 11px !important; }
  #cookieBanner .cookie-actions { margin-top: 8px !important; }
  #cookieBanner .cookie-actions button { flex: 1 1 auto !important; }
}
