/* ==========================================================================
   AURORA PUBG STORE — STYLESHEET
   Palette: black / red / white only. Rajdhani for display type (tactical,
   condensed), Inter for body and UI text.
   ========================================================================== */

:root{
  --black:        #0a0a0a;
  --black-2:      #131313;
  --black-3:      #1b1b1b;
  --line:         rgba(255,255,255,0.08);
  --line-strong:  rgba(255,255,255,0.16);
  --white:        #f3f1ec;
  --white-dim:    #a9a7a1;
  --gray:         #7d7b76;
  --red:          #d81e2c;
  --red-bright:   #ef2b3a;
  --red-dim:      #7a1017;

  --font-display: "Rajdhani", "Segoe UI", sans-serif;
  --font-body:    "Inter", "Segoe UI", sans-serif;

  --radius-s: 3px;
  --radius-m: 6px;
  --ease: cubic-bezier(.22,.68,0,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  margin:0;
  color:var(--white);
  letter-spacing:0.01em;
}

p{ margin:0; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

:focus-visible{
  outline:2px solid var(--red-bright);
  outline-offset:3px;
}

.container{
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}

.eyebrow{
  font-family:var(--font-display);
  font-size:13px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--red-bright);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--red-bright);
  display:inline-block;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:40px;
  flex-wrap:wrap;
}
.section-head h2{ font-size:clamp(28px,3.4vw,42px); margin-top:10px; }
.section-head p{ color:var(--white-dim); max-width:46ch; }

/* Tactical background texture, used sparingly on dark sections */
.tac-bg{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  background-position:-1px -1px;
}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(10,10,10,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:22px;
  letter-spacing:0.03em;
}
.brand .mark{
  width:12px; height:12px;
  background:var(--red);
  transform:rotate(45deg);
  flex-shrink:0;
}
.brand .sub{
  display:block;
  font-family:var(--font-body);
  font-weight:500;
  font-size:10px;
  letter-spacing:0.2em;
  color:var(--white-dim);
  text-transform:uppercase;
}

.nav-links{
  display:flex;
  gap:36px;
  font-size:14.5px;
  font-weight:500;
}
.nav-links a{
  position:relative;
  color:var(--white-dim);
  padding:6px 0;
  transition:color .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color:var(--white); }
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--red);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:16px; }
.icon-btn{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  background:transparent;
  border:1px solid var(--line);
  border-radius:var(--radius-s);
  color:var(--white);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.icon-btn:hover{ border-color:var(--red); background:var(--black-3); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  letter-spacing:0.02em;
  padding:12px 24px;
  border-radius:var(--radius-s);
  border:1px solid transparent;
  transition:transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--red); color:var(--white); }
.btn-primary:hover{ background:var(--red-bright); }
.btn-outline{ background:transparent; color:var(--white); border-color:var(--line-strong); }
.btn-outline:hover{ border-color:var(--red); color:var(--red-bright); }
.btn-ghost{ background:transparent; color:var(--white-dim); }
.btn-ghost:hover{ color:var(--white); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:0.45; cursor:not-allowed; }

.mobile-nav-toggle{ display:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero .container{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  align-items:center;
  gap:48px;
  padding-top:88px;
  padding-bottom:88px;
  min-height:640px;
}
.hero-copy h1{
  font-size:clamp(44px,6vw,72px);
  line-height:1.03;
  margin-top:18px;
}
.hero-copy h1 .accent{ color:var(--red); }
.hero-copy .lede{
  margin-top:22px;
  max-width:44ch;
  font-size:17px;
  color:var(--white-dim);
}
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-stats{
  display:flex;
  gap:36px;
  margin-top:56px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.hero-stats .stat b{
  display:block;
  font-family:var(--font-display);
  font-size:28px;
  color:var(--white);
}
.hero-stats .stat span{ font-size:13px; color:var(--white-dim); }

.hero-visual{
  position:relative;
  aspect-ratio:4/5;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-m);
  background:
    radial-gradient(circle at 70% 20%, rgba(216,30,44,0.22), transparent 55%),
    linear-gradient(180deg, var(--black-3), var(--black-2));
  overflow:hidden;
}
.hero-visual svg{ position:absolute; inset:0; width:100%; height:100%; }
.hero-visual .corner{
  position:absolute; width:26px; height:26px;
  border-color:var(--red); border-style:solid; border-width:0;
}
.hero-visual .corner.tl{ top:16px; left:16px; border-top-width:2px; border-left-width:2px; }
.hero-visual .corner.br{ bottom:16px; right:16px; border-bottom-width:2px; border-right-width:2px; }
.hero-visual .tag{
  position:absolute; bottom:24px; left:24px; right:24px;
  display:flex; justify-content:space-between; align-items:flex-end;
}
.hero-visual .tag .rank{ font-family:var(--font-display); font-size:26px; letter-spacing:0.04em; }
.hero-visual .tag .id{ font-size:12px; color:var(--white-dim); letter-spacing:0.08em; }

/* ---------- Marquee strip ---------- */
.marquee-strip{
  border-bottom:1px solid var(--line);
  background:var(--black-2);
  overflow:hidden;
}
.marquee-track{
  display:flex;
  gap:64px;
  white-space:nowrap;
  padding:16px 0;
  animation:scrollX 28s linear infinite;
  width:max-content;
}
.marquee-track span{
  font-family:var(--font-display);
  font-size:14px;
  letter-spacing:0.1em;
  color:var(--white-dim);
  text-transform:uppercase;
}
.marquee-track span b{ color:var(--red-bright); }
@keyframes scrollX{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Section spacing ---------- */
section{ padding:96px 0; }
.section-tight{ padding:64px 0; }

/* ---------- Store layout ---------- */
.store-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:40px;
  align-items:start;
}
.filters{
  position:sticky;
  top:96px;
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  background:var(--black-2);
  padding:24px;
}
.filters h3{
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--white-dim);
  margin-bottom:18px;
}
.filter-group{ margin-bottom:26px; }
.filter-group:last-child{ margin-bottom:0; }
.filter-group h4{
  font-family:var(--font-body);
  font-weight:600;
  font-size:14px;
  color:var(--white);
  margin-bottom:12px;
}
.filter-group .range-row{
  display:flex; justify-content:space-between;
  font-size:13px; color:var(--white-dim); margin-bottom:8px;
}
input[type="range"]{
  width:100%;
  accent-color:var(--red);
}
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  padding:6px 12px;
  border:1px solid var(--line-strong);
  border-radius:20px;
  font-size:12.5px;
  color:var(--white-dim);
  background:transparent;
  transition:all .2s var(--ease);
}
.chip:hover{ border-color:var(--red); color:var(--white); }
.chip.active{ background:var(--red); border-color:var(--red); color:var(--white); }

.store-toolbar{
  display:flex;
  align-items:center;
  gap:16px;
  justify-content:space-between;
  margin-bottom:28px;
  flex-wrap:wrap;
}
.search-box{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  padding:10px 14px;
  flex:1;
  min-width:220px;
  background:var(--black-2);
}
.search-box input{
  border:none; background:transparent; color:var(--white);
  font-family:var(--font-body); font-size:14.5px; width:100%; outline:none;
}
.search-box input::placeholder{ color:var(--gray); }
.result-count{ font-size:13.5px; color:var(--white-dim); white-space:nowrap; }

.sort-select{
  border:1px solid var(--line-strong);
  background:var(--black-2);
  color:var(--white);
  font-family:var(--font-body);
  font-size:14px;
  padding:10px 14px;
  border-radius:var(--radius-s);
}

/* ---------- Product grid & cards ---------- */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.product-card{
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  background:var(--black-2);
  overflow:hidden;
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  display:flex;
  flex-direction:column;
}
.product-card:hover{
  border-color:var(--red-dim);
  transform:translateY(-4px);
  box-shadow:0 20px 40px -20px rgba(0,0,0,0.6);
}
.card-media{
  position:relative;
  aspect-ratio:16/11;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.card-media .art{ position:absolute; inset:0; width:100%; height:100%; }
.media-stack{ position:relative; width:100%; height:100%; }
.media-stack img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; }
.media-stack .media-fallback{ position:absolute; inset:0; z-index:1; }
.card-media::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.85) 100%);
}
.card-badges{
  position:absolute; top:14px; left:14px; z-index:2;
  display:flex; flex-direction:column; gap:6px; align-items:flex-start;
}
.badge{
  font-family:var(--font-display);
  font-size:11.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:5px 10px;
  border-radius:2px;
  backdrop-filter:blur(4px);
}
.badge-featured{ background:rgba(216,30,44,0.9); color:var(--white); }
.badge-hot{ background:rgba(10,10,10,0.75); color:var(--red-bright); border:1px solid var(--red-dim); }
.badge-rare{ background:rgba(10,10,10,0.75); color:var(--white); border:1px solid var(--line-strong); }

.card-price-tag{
  position:absolute; bottom:14px; right:14px; z-index:2;
  font-family:var(--font-display);
  font-size:22px;
  color:var(--white);
}
.card-price-tag span{ font-size:12px; color:var(--white-dim); margin-right:4px; font-family:var(--font-body); }

.card-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
}
.card-title-row{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.card-title-row h3{ font-size:21px; }
.card-title-row .rank-pill{
  font-size:11.5px; color:var(--white-dim);
  border:1px solid var(--line-strong);
  padding:3px 9px; border-radius:2px;
  white-space:nowrap;
  font-family:var(--font-display);
  letter-spacing:0.04em;
}
.card-desc{
  font-size:14px;
  color:var(--white-dim);
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.card-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.card-meta .m-item{ text-align:left; }
.card-meta .m-item .m-label{
  font-size:10.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--gray);
  display:block; margin-bottom:4px;
}
.card-meta .m-item .m-value{ font-family:var(--font-display); font-size:15px; color:var(--white); }
.card-meta .m-item.demand-high .m-value,
.card-meta .m-item.demand-veryhigh .m-value{ color:var(--red-bright); }

.card-footer{ margin-top:4px; }

/* ---------- Empty state ---------- */
.empty-state{
  grid-column:1/-1;
  text-align:center;
  padding:80px 20px;
  border:1px dashed var(--line-strong);
  border-radius:var(--radius-m);
  color:var(--white-dim);
}
.empty-state h3{ color:var(--white); margin-bottom:10px; }

/* ---------- How it works ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  overflow:hidden;
}
.step{
  background:var(--black-2);
  padding:36px 30px;
  position:relative;
}
.step .num{
  font-family:var(--font-display);
  font-size:44px;
  color:var(--red-dim);
  line-height:1;
}
.step h3{ font-size:20px; margin-top:16px; }
.step p{ margin-top:10px; color:var(--white-dim); font-size:14.5px; }

/* ---------- FAQ ---------- */
.faq-list{ border-top:1px solid var(--line); max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:transparent;
  border:none;
  color:var(--white);
  padding:22px 4px;
  font-family:var(--font-display);
  font-size:17px;
  text-align:left;
}
.faq-q .plus{
  font-size:22px; color:var(--red);
  transition:transform .25s var(--ease);
  flex-shrink:0;
}
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s var(--ease);
}
.faq-a p{ padding:0 4px 22px; color:var(--white-dim); max-width:70ch; font-size:14.5px; }

/* ---------- WhatsApp community ---------- */
.community{
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  padding:56px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  background:
    radial-gradient(circle at 85% 30%, rgba(216,30,44,0.16), transparent 60%),
    var(--black-2);
  flex-wrap:wrap;
}
.community h2{ font-size:clamp(24px,3vw,34px); max-width:14ch; }
.community p{ color:var(--white-dim); margin-top:12px; max-width:42ch; }
.community-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer{ border-top:1px solid var(--line); padding:64px 0 32px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
}
.footer-grid h4{
  font-size:13px; text-transform:uppercase; letter-spacing:0.1em;
  color:var(--white-dim); margin-bottom:16px;
}
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul a{ color:var(--white-dim); font-size:14px; transition:color .2s var(--ease); }
.footer-grid ul a:hover{ color:var(--red-bright); }
.footer-brand p{ color:var(--white-dim); font-size:14px; margin-top:14px; max-width:32ch; }
.footer-bottom{
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:13px; color:var(--gray); flex-wrap:wrap; gap:10px;
}

/* ---------- Modal shell ---------- */
.modal-overlay{
  position:fixed; inset:0; z-index:200;
  background:rgba(6,6,6,0.82);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s var(--ease);
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal{
  background:var(--black-2);
  border:1px solid var(--line-strong);
  border-radius:var(--radius-m);
  width:100%;
  max-height:88vh;
  overflow-y:auto;
  transform:translateY(16px) scale(0.98);
  transition:transform .25s var(--ease);
}
.modal-overlay.is-open .modal{ transform:translateY(0) scale(1); }
.modal-close{
  position:absolute; top:18px; right:18px; z-index:5;
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(10,10,10,0.6);
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  color:var(--white);
  font-size:18px;
}
.modal-close:hover{ border-color:var(--red); color:var(--red-bright); }

/* Product detail modal */
.modal-product{ max-width:960px; position:relative; }
.pd-layout{ display:grid; grid-template-columns:1fr 1fr; }
.pd-gallery{ padding:28px; border-right:1px solid var(--line); }
.pd-main-img{
  aspect-ratio:4/3;
  border:1px solid var(--line);
  border-radius:var(--radius-s);
  overflow:hidden;
  margin-bottom:14px;
}
.pd-thumbs{ display:flex; gap:10px; }
.pd-thumbs button{
  width:64px; height:48px;
  border:1px solid var(--line);
  border-radius:var(--radius-s);
  overflow:hidden; padding:0; background:var(--black-3);
  opacity:0.6; transition:opacity .2s var(--ease), border-color .2s var(--ease);
}
.pd-thumbs button.active, .pd-thumbs button:hover{ opacity:1; border-color:var(--red); }
.pd-info{ padding:32px; display:flex; flex-direction:column; gap:18px; }
.pd-info .rank-pill{
  align-self:flex-start;
  font-family:var(--font-display);
  font-size:12px; letter-spacing:0.06em;
  border:1px solid var(--line-strong);
  padding:5px 12px; border-radius:2px; color:var(--white-dim);
}
.pd-info h2{ font-size:30px; }
.pd-price{ font-family:var(--font-display); font-size:32px; color:var(--red-bright); }
.pd-desc{ color:var(--white-dim); font-size:14.5px; line-height:1.6; }
.pd-stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
  padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.pd-stats .m-label{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--gray); display:block; margin-bottom:4px; }
.pd-stats .m-value{ font-family:var(--font-display); font-size:16px; }
.pd-skins h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:var(--white-dim); margin-bottom:10px; }
.pd-skins .chip-row .chip{ pointer-events:none; }

/* Buy modal */
.modal-buy{ max-width:420px; padding:32px; position:relative; }
.modal-buy h3{ font-size:22px; margin-bottom:6px; }
.modal-buy .buy-item{ color:var(--white-dim); font-size:14px; margin-bottom:26px; }
.buy-options{ display:flex; flex-direction:column; gap:12px; }
.buy-option{
  display:flex; align-items:center; gap:14px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  padding:16px;
  background:transparent;
  color:var(--white);
  text-align:left;
  transition:border-color .2s var(--ease), background .2s var(--ease);
  width:100%;
}
.buy-option:hover{ border-color:var(--red); background:var(--black-3); }
.buy-option .icon{
  width:38px; height:38px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); border-radius:var(--radius-s);
  color:var(--red-bright);
}
.buy-option .txt b{ display:block; font-family:var(--font-display); font-size:15.5px; }
.buy-option .txt span{ font-size:12.5px; color:var(--white-dim); }

/* Bank transfer / payment details modal */
.modal-payment{ max-width:440px; padding:32px; position:relative; }
.modal-payment h3{ font-size:22px; margin-bottom:6px; }
.bank-card{
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  background:var(--black-3);
  padding:18px 20px;
  margin:20px 0 16px;
}
.bank-card .shop-name{
  font-family:var(--font-display);
  font-size:15px;
  letter-spacing:0.08em;
  color:var(--red-bright);
  text-transform:uppercase;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}
.bank-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.bank-row:last-child{ border-bottom:none; padding-bottom:0; }
.bank-row .bank-text .bank-label{
  font-size:10.5px; text-transform:uppercase; letter-spacing:0.08em;
  color:var(--gray); display:block; margin-bottom:3px;
}
.bank-row .bank-text .bank-value{
  font-family:var(--font-display); font-size:15.5px; letter-spacing:0.02em;
  word-break:break-all;
}
.copy-btn{
  flex-shrink:0;
  width:32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); border-radius:var(--radius-s);
  background:transparent; color:var(--white-dim);
  transition:border-color .2s var(--ease), color .2s var(--ease);
}
.copy-btn:hover{ border-color:var(--red); color:var(--red-bright); }
.copy-btn.copied{ border-color:var(--red); color:var(--red-bright); }
.payment-note{ font-size:13px; color:var(--white-dim); line-height:1.55; margin-bottom:20px; }
.buy-option-primary{ border-color:var(--red-dim); }
.buy-option-primary .icon{ color:var(--white); background:var(--red); border-color:var(--red); }
.buy-option-primary:hover{ border-color:var(--red); }

/* Search overlay */
.search-overlay{
  position:fixed; inset:0; z-index:200;
  background:rgba(6,6,6,0.92);
  display:flex; align-items:flex-start; justify-content:center;
  padding-top:14vh;
  opacity:0; pointer-events:none;
  transition:opacity .2s var(--ease);
}
.search-overlay.is-open{ opacity:1; pointer-events:auto; }
.search-overlay .container{ max-width:680px; }
.search-overlay input{
  width:100%;
  background:transparent;
  border:none;
  border-bottom:2px solid var(--red);
  color:var(--white);
  font-family:var(--font-display);
  font-size:32px;
  padding:12px 4px;
  outline:none;
}
.search-overlay input::placeholder{ color:var(--gray); }
.search-hint{ color:var(--white-dim); font-size:13px; margin-top:14px; }

/* ---------- Toast ---------- */
.toast{
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--black-3); border:1px solid var(--line-strong);
  padding:14px 22px; border-radius:var(--radius-s);
  font-size:14px; z-index:300;
  opacity:0; pointer-events:none;
  transition:all .25s var(--ease);
}
.toast.is-visible{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .store-layout{ grid-template-columns:220px 1fr; }
  .footer-grid{ grid-template-columns:1.2fr 1fr 1fr; }
}

@media (max-width:860px){
  .nav-links{ display:none; }
  .mobile-nav-toggle{
    display:flex; width:40px; height:40px;
    align-items:center; justify-content:center;
    border:1px solid var(--line); border-radius:var(--radius-s);
    background:transparent; color:var(--white);
  }
  .hero .container{ grid-template-columns:1fr; padding-top:56px; padding-bottom:56px; min-height:auto; }
  .hero-visual{ aspect-ratio:16/10; order:-1; }
  .hero-stats{ gap:24px; flex-wrap:wrap; }
  .store-layout{ grid-template-columns:1fr; }
  .filters{ position:static; }
  .product-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .community{ flex-direction:column; text-align:center; padding:40px 28px; }
  .community-actions{ justify-content:center; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .pd-layout{ grid-template-columns:1fr; }
  .pd-gallery{ border-right:none; border-bottom:1px solid var(--line); }
  section{ padding:64px 0; }
  .container{ padding:0 20px; }
}

@media (max-width:480px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}



/* ---------- Payment Method Selection ---------- */

.payment-methods{
  display:flex;
  gap:10px;
  margin:18px 0 16px;
}

.payment-method-btn{
  flex:1;
  min-width:0;
  height:58px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 11px;
  background:var(--black-3);
  color:var(--white);
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  text-align:left;
  transition:
    border-color .2s var(--ease),
    background .2s var(--ease);
}

.payment-method-btn:hover{
  border-color:var(--red-dim);
  background:var(--black);
}

.payment-method-btn.active{
  border-color:var(--red);
  background:rgba(216,30,44,0.08);
}

.payment-method-btn .payment-method-icon{
  width:30px;
  height:30px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  color:var(--red-bright);
  background:var(--black-2);
}

.payment-method-btn.active .payment-method-icon{
  color:var(--white);
  background:var(--red);
  border-color:var(--red);
}

.payment-method-btn .payment-method-icon svg{
  width:15px;
  height:15px;
}

.payment-method-btn strong{
  display:block;
  font-family:var(--font-display);
  font-size:13.5px;
  font-weight:600;
  line-height:1.15;
}

.payment-method-btn small{
  display:block;
  margin-top:2px;
  color:var(--white-dim);
  font-size:10px;
  line-height:1.2;
}

/* ---------- Payment Details ---------- */

.payment-details-card{
  border:1px solid var(--line-strong);
  border-radius:var(--radius-s);
  background:var(--black-3);
  padding:16px 18px;
  margin:0 0 16px;
}

.payment-details-card .shop-name{
  font-family:var(--font-display);
  font-size:14px;
  letter-spacing:0.08em;
  color:var(--red-bright);
  text-transform:uppercase;
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
}

.payment-card{
  margin-top:0;
}

.payment-confirm{
  width:100%;
  margin-top:2px;
}

#payment-back-btn{
  width:100%;
  margin-top:2px;
}

/* ---------- Mobile ---------- */

@media (max-width:480px){

  .payment-methods{
    gap:8px;
    margin:16px 0 14px;
  }

  .payment-method-btn{
    height:54px;
    padding:8px 9px;
    gap:7px;
  }

  .payment-method-btn .payment-method-icon{
    width:27px;
    height:27px;
  }

  .payment-method-btn .payment-method-icon svg{
    width:14px;
    height:14px;
  }

  .payment-method-btn strong{
    font-size:12.5px;
  }

  .payment-method-btn small{
    font-size:9px;
  }

  .modal-payment{
    max-width:calc(100vw - 32px);
    padding:24px 18px;
  }

  .payment-details-card{
    padding:14px 15px;
  }
}


/* ---------- Payment Modal Size Fix ---------- */

.modal-payment{
  width:100%;
  max-width:440px;
  max-height:88vh;
  margin:0 auto;
  padding:32px;
  position:relative;
}

/* Mobile */
@media (max-width:480px){
  .modal-overlay{
    padding:16px;
  }

  .modal-payment{
    width:100%;
    max-width:360px;
    max-height:85vh;
    padding:24px 18px;
    margin:0 auto;
  }
}


@media (min-width: 861px){
  .modal{
    max-height:none;
    overflow-y:visible;
  }
}


.media-stack img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  z-index:2;
}



/* Mobile view fix (< 768px screens) */
@media (max-width: 767px) {
  .hero-visual {
    overflow: hidden;
    position: relative;
    max-height: 280px; /* Mobile par visual card ki height limit karne ke liye */
  }

  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
  }

  .hero-image img {
    max-width: 120px; /* Mobile par logo ka size Control karne ke liye */
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-visual .tag {
    z-index: 2; /* Text overlay ko logo ke oopar rakhne ke liye */
  }
}




/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */

.announcement-bar {
  width: 100%;
  min-height: 46px;
  padding: 8px 32px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  background: var(--red);
  color: var(--white);

  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;

  box-sizing: border-box;
}

.announcement-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 78px;
  height: 30px;
  padding: 0 15px;

  background: var(--white);
  color: var(--red);

  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-s);

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background .2s var(--ease),
    color .2s var(--ease),
    transform .2s var(--ease);
}

.announcement-btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}


/* ---------- Announcement Mobile ---------- */

@media (max-width: 600px) {

  .announcement-bar {
    min-height: 0;
    padding: 9px 12px;
    gap: 10px;

    font-size: 10.5px;
    line-height: 1.35;
  }

  .announcement-btn {
    min-width: 64px;
    height: 28px;
    padding: 0 11px;

    font-size: 10.5px;
  }
}


@media (max-width: 600px) {
  .announcement-bar {
    font-size: 12px;
  }

  .announcement-btn {
    font-size: 11px;
  }
}



/* ==================== REVIEWS ==================== */

.reviews-section {
  padding: 90px 0;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.review-card,
.review-form-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.review-stars {
  color: #ff1e1e;
  font-size: 17px;
  letter-spacing: 2px;
}

.review-text {
  margin: 18px 0 0;
  color: #b8b8bd;
  line-height: 1.7;
  word-break: break-word;
}

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 35px;
  color: #999;
}

/* Review Form */

.review-form-card {
  max-width: 700px;
  margin: 50px auto 0;
}

.review-form-heading {
  margin-bottom: 25px;
}

.review-form-heading h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.review-form-heading p {
  margin: 0;
  color: #999;
}

.review-form-card .form-group {
  margin-bottom: 20px;
}

.review-form-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.review-form-card input,
.review-form-card textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0a0a0c;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.review-form-card input:focus,
.review-form-card textarea:focus {
  border-color: #e0212b;
}

.review-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

.rating-input {
  display: flex;
  gap: 5px;
}

.rating-input button {
  border: 0;
  background: transparent;
  color: #555;
  font-size: 30px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.rating-input button.active,
.rating-input button:hover {
  color: #e0212b;
}

.review-message {
  margin: 15px 0 0;
  font-size: 14px;
}

.review-message.success {
  color: #42d392;
}

.review-message.error {
  color: #ff5252;
}

/* Mobile */

@media (max-width: 900px) {
  .reviews-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-list {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .review-card,
  .review-form-card {
    padding: 20px;
  }

  .review-form-card {
    margin-top: 35px;
  }

  .review-form-heading h3 {
    font-size: 21px;
  }
}