/* =========================
   BrimWorld Luxury Theme CSS
   (FULL FILE)
   ========================= */

:root{
  --bg:#07070a;
  --card: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.14);
  --text: rgba(255,255,255,0.92);
  --dim: rgba(255,255,255,0.68);
  --accent: #ff7a1a; /* orange glow accent */
  --blue: #2e6cff;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;

  /* YOUR background image */
  background-image: url("space.png");
  background-size: cover;
  background-position: center;
 background-attachment: scroll;
  background-repeat: no-repeat;
}

/* Darken edges + boost center readability + subtle color glow */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  background:
    radial-gradient(1200px 720px at 70% 30%, rgba(255,122,26,0.14), transparent 60%),
    radial-gradient(1100px 720px at 30% 75%, rgba(46,108,255,0.12), transparent 60%),
    radial-gradient(1400px 900px at 50% 50%, rgba(0,0,0,0.28), rgba(0,0,0,0.72) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

/* luxury grain overlay */
.grain{
  position:fixed;
  inset:-40%;
  pointer-events:none;
  opacity:0.09;
  z-index:1;
  mix-blend-mode: overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  transform: rotate(7deg);
}

/* Ensure content sits above overlays */
.header, .hero, .section, .footer, .cart, .backdrop{
  position: relative;
  z-index: 2;
}

/* =========================
   Header
   ========================= */
.header{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 22px;
  background: rgba(8,8,10,0.70);
  border-bottom:1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}

.header-left{ display:flex; align-items:center; gap:16px; }

.brandmark{
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius:14px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  overflow:hidden;
}
.brandmark img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:6px;
}

.nav{ display:flex; gap:18px; }
.nav a{
  color: var(--dim);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
}
.nav a{
  color: var(--dim);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  position: relative;
  transition: color .3s ease;
}

.nav a:hover{
  color: var(--accent);
}
.nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav a:hover::after{
  width: 100%;
}


.header-right{ display:flex; align-items:center; gap:12px; }

.icon-btn{
  background:transparent;
  border:none;
  color:#fff;
  font-size:18px;
  cursor:pointer;
  opacity:.92;
}
.icon-btn:hover{ opacity:1; }

.cart-btn{ position:relative; }
.cart-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  font-size:12px;
  margin-left:6px;
  background: rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.14);
}

/* =========================
   Hero
   ========================= */
.hero{ position:relative; z-index:1; }

.hero-inner{
  max-width:1200px;
  margin:0 auto;
  padding:76px 20px 46px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:center;
}

.chip{
  display:inline-block;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  color: rgba(255,255,255,0.86);
}

.title{
  font-family: Cinzel, serif;
  font-size: clamp(52px, 7vw, 92px);
  letter-spacing: .07em;
  font-weight: 500;
  margin-top:18px;
  color: rgba(255,255,255,0.96);
  text-shadow:
    0 28px 90px rgba(0,0,0,.70),
    0 2px 0 rgba(0,0,0,.35);
}

.subtitle{
  margin-top:10px;
  color: var(--dim);
  font-size:16px;
  line-height:1.6;
  max-width:420px;
}

.cta-row{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  border:1px solid transparent;
  cursor:pointer;
}

.btn.primary{
  color:#0a0a0a;
  background:#fff;
}
.btn.primary:hover{ opacity:.92; }

.btn.ghost{
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.btn.ghost:hover{
  border-color: rgba(255,255,255,0.32);
  color:#fff;
}

.btn.full{ width:100%; }

.hero-right{
  position:relative;
  perspective: 1200px;
}

/* Tuned glow */
.hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:28px;
  background: linear-gradient(135deg,
    rgba(255,122,26,0.55),
    rgba(46,108,255,0.40)
  );
  filter: blur(18px);
  opacity:.28;
  z-index:-1;
}

.hero-card img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.watermark{
  position:absolute;
  right:-120px;
  bottom:-120px;
  width:520px;
  opacity:.10;
  transform: rotate(-10deg);
  pointer-events:none;
}

/* =========================
   Sections / Shop
   ========================= */
.section{
  max-width:1200px;
  margin:0 auto;
  padding: 26px 20px 70px;
  z-index:1;
}

.section-soft{ padding-top:0; }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin: 24px 0 18px;
}

.section-title{
  font-family: Cinzel, serif;
  letter-spacing:.10em;
  font-size: 34px;
  font-weight:500;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}

/* Product cards */
.card{
  border-radius:22px;
  padding:16px;
  background: rgba(8,8,12,0.45);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 70px rgba(0,0,0,0.60);
  overflow:hidden;
  position:relative;
  backdrop-filter: blur(10px);
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 380px at 50% -10%,
      rgba(255,122,26,0.18),
      transparent 60%
    ),
    radial-gradient(900px 380px at 10% 110%,
      rgba(46,108,255,0.14),
      transparent 55%
    );
  opacity:.55;
  pointer-events:none;
}

.card:hover{
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 28px 90px rgba(0,0,0,0.70),
    0 0 0 3px rgba(255,122,26,0.08);
}

.card-img{
  width:100%;
  height:220px;
  border-radius:16px;
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.card-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  transform:scale(1);
  transition:.35s ease;
}

.card:hover .card-img img{ transform: scale(1.05); }

.card-body{ padding: 12px 4px 0; }

.card-title{
  font-size:14px;
  color: rgba(255,255,255,0.90);
  line-height:1.35;
  min-height: 38px;
}

.card-price{
  margin-top:10px;
  color: rgba(255,255,255,0.70);
}

.card-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
}

.quick{
  width:100%;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.90);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
}

.quick:hover{
  border-color: rgba(255,122,26,0.55);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.12);
}

/* =========================
   About
   ========================= */
.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:stretch;
}

.mini-title{
  font-family: Cinzel, serif;
  letter-spacing:.06em;
  font-weight:500;
  font-size: 22px;
  margin-bottom:10px;
}

.p{ color: var(--dim); line-height:1.7; }
.p.dim{ color: rgba(255,255,255,0.62); }

.about-card{
  border-radius:20px;
  padding:16px;
  background: rgba(0,0,0,0.28);
  border:1px solid rgba(255,255,255,0.10);
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:center;
}

.about-card img{ width:90px; opacity:.9; }

/* =========================
   Footer
   ========================= */
.footer{
  border-top:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  padding: 40px 20px;
  z-index:1;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap:18px;
}

.footer-brand img{ width:64px; }

.footer-col h4{
  font-family: Cinzel, serif;
  font-weight:500;
  letter-spacing:.06em;
  margin-bottom:12px;
}

.footer-col a{
  display: inline-block;     /* makes underline match text width */
  width: fit-content;        /* prevents full column width */
  margin: 8px 0;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  position: relative;
  transition: color .3s ease;
}

/* Force vertical stacking */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* Hover color */
.footer-col a:hover{
  color:#ff6a00;
  text-shadow: 0 0 8px rgba(255,106,0,.4);
}

/* Underline animation */
.footer-col a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:2px;
  background:#ff6a00;
  transition: width .3s ease;
}

.footer-col a:hover::after{
  width:100%;
}


/* =========================
   Cart Drawer
   ========================= */
.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 40;          /* must be LOWER than cart */
  display: none;        /* use display instead of hidden */
}

.cart{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  background: rgba(10,10,12,0.95);
  border-left: 1px solid rgba(255,255,255,0.12);
  z-index: 50;          /* must be ABOVE backdrop */
  transform: translateX(110%);
  transition: transform .25s ease;
  display:flex;
  flex-direction:column;
}

.cart.open{ transform: translateX(0); }

.cart-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.cart-items{
  padding:16px;
  overflow:auto;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cart-item{
  display:grid;
  grid-template-columns: 64px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
}

.cart-item img{
  width:64px;
  height:64px;
  object-fit:contain;
}

.cart-item h5{ font-size:13px; font-weight:500; }

.cart-item .dim{
  font-size:12px;
  color: rgba(255,255,255,0.65);
}

.qty{
  display:flex;
  align-items:center;
  gap:8px;
}

.qty button{
  width:28px;
  height:28px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color:#fff;
  cursor:pointer;
}

.qty span{
  min-width:18px;
  text-align:center;
}

.cart-bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cart-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-card{ margin-left:0; max-width: 520px; }
  .watermark{ display:none; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .nav{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .title{ letter-spacing:.04em; }
}
/* ===== Contact Page ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

.panel{
  border-radius:22px;
  padding:16px;
  background: rgba(8,8,12,0.45);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 70px rgba(0,0,0,0.60);
  backdrop-filter: blur(10px);
}

.form{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.label{
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: rgba(255,255,255,0.70);
}

.input{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  padding:12px 12px;
  outline:none;
}

.input:focus{
  border-color: rgba(255,122,26,0.55);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.12);
}

.textarea{
  min-height:120px;
  resize:vertical;
}

.small{ font-size:12px; }

.link{
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.link:hover{
  color:#fff;
  border-bottom-color: rgba(255,122,26,0.60);
}

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}
/* ===== Luxury Product Card ===== */
.card {
  position: relative;
  background: rgba(15, 15, 20, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: 
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
  will-change: transform;
}
/* Ultra Luxury Shine */
.card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.15), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255,122,26,0.35);
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.65),
    0 0 40px rgba(255,122,26,0.15);
}
.card-img {
  overflow: hidden;
}

.card-img img {
  width: 100%;
  display: block;
  transition: transform .5s ease, filter .5s ease;
}

.card:hover .card-img img {
  transform: scale(1.07);
  filter: contrast(1.05) saturate(1.1);
}
.card-title {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}

.card-price {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,0.75);
}
.quick {
  background: linear-gradient(135deg, #ff7a1a, #ffb347);
  border: none;
  color: black;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.quick:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,122,26,0.4);
}
/* ===== PDP Layout ===== */
.pdp{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items:start;
}
@media (max-width: 900px){
  .pdp{ grid-template-columns: 1fr; }
}

.pdp-mainimg{
position: relative;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,14,.55);
  .pdp-mainimg img
  width: 100%;
  height: auto;
  display: block;

}
.pdp-mainimg img{
  width:100%;
  height:auto;
  display:block;
}

.pdp-thumbs{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}
.thumb{
  width:74px;
  height:74px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,14,.45);
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.thumb:hover{ transform: translateY(-2px); }
.thumb.active{ border-color: rgba(255,122,26,.45); }

.pdp-title{
  font-family: "Cinzel", serif;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin:0;
}
.pdp-price{
  margin-top:10px;
  font-family: "Inter", sans-serif;
  letter-spacing:.04em;
  opacity:.85;
}
.pdp-desc{
  margin-top:14px;
  opacity:.82;
  line-height:1.6;
}

.pdp-meta{ margin-top:14px; }
.pdp-label{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.7;
}
.pdp-text{ margin-top:6px; opacity:.88; }

.pdp-list{ margin:8px 0 0; padding-left: 18px; opacity:.88; }
.pdp-sizes{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.size-pill{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,10,14,.45);
  color: rgba(255,255,255,.9);
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.size-pill:hover{ transform: translateY(-2px); }
.size-pill.active{ border-color: rgba(255,122,26,.55); }
.pdp-small{ margin-top:8px; font-size:12px; }
.card-link{
  color: inherit;
  text-decoration: none;
  display: block;
}
.remove-btn{
  background:none;
  border:none;
  color:#ff4d4d;
  font-size:12px;
  margin-top:6px;
  cursor:pointer;
  padding:0;
  transition:opacity .2s ease;
}

.remove-btn:hover{
  opacity:.6;
}
  .hero-logo{
  width: min(520px, 80vw);
  height: auto;
  display: block;
  margin: 0 auto;
  transform-origin: 50% 60%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, filter;
  animation: heroMotion 14s ease-in-out infinite;
}

@keyframes heroMotion{
  0%{
    transform: rotateY(-12deg) translateY(0px) scale(1);
    filter:
      drop-shadow(0 25px 60px rgba(0,0,0,.65))
      drop-shadow(0 0 0 rgba(255,255,255,0));
  }

  50%{
    transform: rotateY(12deg) translateY(-10px) scale(1.02);
    filter:
      drop-shadow(0 25px 60px rgba(0,0,0,.65))
      drop-shadow(0 0 35px rgba(255,255,255,.18));
  }

  100%{
    transform: rotateY(-12deg) translateY(0px) scale(1);
    filter:
      drop-shadow(0 25px 60px rgba(0,0,0,.65))
      drop-shadow(0 0 0 rgba(255,255,255,0));
  }
}

a{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: .2s ease;
}

a:hover{
  color: #ff7a1a;
}
.size-pill{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  padding:10px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: .25s ease;
}
.size-pill:hover{ border-color: rgba(255,106,0,.6); }
.size-pill.active{
  border-color:#ff6a00;
  box-shadow: 0 0 12px rgba(255,106,0,.25);
}

.thumb{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  border-radius: 12px;
  padding: 6px;
  cursor:pointer;
}
.thumb.active{
  border-color:#ff6a00;
  box-shadow: 0 0 12px rgba(255,106,0,.18);
}
.thumb img{ display:block; width:68px; height:68px; object-fit:cover; border-radius: 10px; }

.img-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,106,0,.4);
  color: #ff6a00;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  backdrop-filter: blur(6px);
}

.img-arrow:hover{
  background: #ff6a00;
  color: #000;
  box-shadow: 0 0 14px rgba(255,106,0,.6);
}

.img-arrow.left{
  left: 12px;
}

.img-arrow.right{
  right: 12px;
}

.pdp-thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
  overflow-x:auto;
  padding-bottom:6px;
}

.pdp-thumbs::-webkit-scrollbar{ height:6px; }
.pdp-thumbs::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.12);
  border-radius: 999px;
}

.thumb{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  border-radius: 12px;
  padding: 6px;
  cursor:pointer;
  flex: 0 0 auto;
}

.thumb.active{
  border-color:#ff6a00;
  box-shadow: 0 0 12px rgba(255,106,0,.18);
}

.thumb img{
  display:block;
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius: 10px;
}

/* =========================
   PERFORMANCE PATCH (drop-in)
   Paste at the VERY BOTTOM of styles.css
   This overrides the expensive stuff and smooths scrolling.
   ========================= */

/* 1) Kill the #1 scroll jank source */
body{
  background-attachment: scroll !important; /* was fixed */
}

/* 2) Reduce heavy overlay work (keep the luxury vibe but cheaper) */
body::before{
  /* replace the multiple huge radial gradients with a lighter stack */
  background:
    radial-gradient(900px 520px at 70% 30%, rgba(255,122,26,0.10), transparent 60%),
    radial-gradient(900px 520px at 30% 75%, rgba(46,108,255,0.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.70)) !important;
}

/* 3) Backdrop blur is expensive during scroll — replace with solid glass */
.header{
  backdrop-filter: none !important;
  background: rgba(8,8,10,0.92) !important;
}
.card{
  backdrop-filter: none !important;
  background: rgba(8,8,12,0.58) !important;
}
.cart{
  backdrop-filter: none !important;
  background: rgba(10,10,12,0.92) !important;
}

/* 4) Grain turbulence can be heavy — tone it down */
.grain{
  opacity: 0.04 !important;
  transform: none !important; /* remove rotate work */
  inset: 0 !important;        /* remove giant overscan */
}

/* 5) Hero logo animation: remove 3D + animated filter (very expensive) */
.hero-logo{
  transform-style: flat !important;
  backface-visibility: visible !important;
  will-change: transform !important;
  animation: heroFloat 8s ease-in-out infinite !important;
  filter: none !important;
}

@keyframes heroFloat{
  0%{ transform: translateY(0px); }
  50%{ transform: translateY(-8px); }
  100%{ transform: translateY(0px); }
}

/* 6) Shadows: reduce huge blur radii */
.card{
  box-shadow: 0 12px 30px rgba(0,0,0,0.45) !important;
}
.card:hover{
  box-shadow:
    0 16px 44px rgba(0,0,0,0.55),
    0 0 0 2px rgba(255,122,26,0.08) !important;
}

/* 7) Remove smooth scroll (can feel “laggy”) */
html{
  scroll-behavior: auto !important;
}

/* 8) Hint GPU compositing on key components */
.card, .hero-logo, .cart{
  transform: translateZ(0);
}
/* Cart Drawer */
.cart{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  transform: translateX(110%);
  transition: transform .25s ease;
  z-index: 60;
}

/* Remove glare/glow behind hero logo */
.hero-logo{
  filter: none !important;
  box-shadow: none !important;
}

.hero-card{
  box-shadow: none !important;
  background: transparent !important;
}

.hero-card::before{
  display: none !important;
  content: none !important;
}
/* ===== PDP (product page) Add to Cart layout fix ===== */

/* Make the right panel flow normally */
.pdp-info{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Ensure the size hint is not overlaying anything */
#sizeHint{
  position: static !important;
  display: block !important;
  margin-top: 10px !important;
  margin-bottom: 12px !important;
  line-height: 1.35 !important;
}

/* Fix the Add to Cart button sizing on product pages only */
.pdp-info #addBtn.btn,
.pdp-info #addBtn{
  width: 100% !important;
  height: auto !important;
  min-height: unset !important;

  padding: 14px 18px !important;     /* <-- controls the thickness */
  border-radius: 16px !important;

  line-height: 1 !important;
  font-size: 14px !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
}

/* If your global .full class is forcing weird height/padding */
.pdp-info .full{
  height: auto !important;
  min-height: unset !important;
}
.pdp-desc{
  margin-top: 4px;
  opacity: .92;
  line-height: 1.5;
}
/* ========================= */
/* PREORDER BLOCK STYLING   */
/* ========================= */

.preorder-block {
  margin-top: 40px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preorder-title {
  font-family: "Cinzel", serif;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: #ffffff;
}

.preorder-block p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.preorder-closing {
  margin-top: 16px;
  font-weight: 500;
  color: #ffffff;
}