:root{
  --bg:#0a0a0c;
  --panel:#111114;
  --panel2:#16161c;
  --gold:#D4AF37;
  --gold2:#b08a1f;
  --text:#f5f5f8;
  --muted:#bfbfca;
  --line:rgba(212,175,55,.18);
  --shadow: 0 20px 45px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  padding-top:92px;
  margin:0;
  background: radial-gradient(900px 500px at 20% -10%, rgba(212,175,55,.16), transparent 60%),
              radial-gradient(800px 500px at 90% 10%, rgba(144,20,35,.10), transparent 55%),
              var(--bg);
  color:var(--text);
  font-family:Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing:.2px;
}
a{color:inherit; text-decoration:none}
.container{width:min(1200px, calc(100% - 40px)); margin:0 auto}
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:14px;
}
.brand img{
  height:59px;
  transform:scale(1.25);
  transform-origin:left center;
}
.menu a{
  padding:10px 12px;
  border-radius:14px;
  color:var(--muted);
  transition:.2s ease;
}
.menu a:hover{color:var(--text); background:rgba(212,175,55,.08)}
.pill{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(17,17,20,.55);
}

/* Checkout enhancements */
.pay-option{
  transition: border-color .15s ease, background .15s ease;
}
.pay-option.selected{
  border-color: rgba(212,175,55,.85);
  box-shadow: 0 0 0 2px rgba(212,175,55,.22) inset;
  background: rgba(212,175,55,.08);
}
.pay-option.disabled{
  opacity: .45;
  pointer-events: none;
}
.qty-inline{
  display:flex;
  align-items:center;
  gap:8px;
}
.qty-inline button{
  padding:8px 12px;
  border-radius:14px;
  font-weight:800;
}
.qty-inline button.secondary{
  background:transparent;
  border:1px solid rgba(212,175,55,.34);
  color:var(--text);
}
.qty-inline input{
  width:66px;
  text-align:center;
}
select, input, button, textarea{
  font:inherit;
  color:var(--text);
  background:rgba(17,17,20,.55);
  border:1px solid rgba(212,175,55,.22);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
select:focus, input:focus, textarea:focus{border-color:rgba(212,175,55,.55)}
button{
  cursor:pointer;
  background: linear-gradient(135deg, rgba(212,175,55,.9), rgba(176,138,31,.9));
  border:none;
  color:#101012;
  font-weight:700;
  padding:12px 16px;
  border-radius:16px;
  transition:transform .12s ease, filter .12s ease;
}
button:hover{transform:translateY(-1px); filter:brightness(1.02)}
button.secondary{
  background:transparent;
  border:1px solid rgba(212,175,55,.34);
  color:var(--text);
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(212,175,55,.25);
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
  background: rgba(17,17,20,.45);
}
.hero{
  padding:46px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
  grid-auto-rows:auto;
}
.card{
  background: linear-gradient(180deg, rgba(22,22,28,.82), rgba(14,14,18,.88));
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow: var(--shadow);
}
.hero-left{
  padding:14px 28px 18px;
  display:flex;
  flex-direction:column;
  min-height:0;
  max-height:none;
  height:auto;
  overflow:visible;
}
.hero-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:2px 0 10px;
}
.hero-logo-wrap img{
  height:78px;
  width:auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.55));
}
.h1{
  font-family:"Playfair Display", Georgia, serif;
  font-size: 52px;
  line-height:1.03;
  margin:14px 0 12px;
  letter-spacing:.4px;
}
.lead{color:var(--muted); font-size:18px; line-height:1.6; max-width:60ch}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
  padding-top:0;
  margin-bottom:0;
  flex:0 0 auto;
}
.hero-right{
  padding:14px;
  display:flex;
  align-items:stretch;
  justify-content:center;
  min-height:0;
  max-height:none;
  height:100%;
  overflow:hidden;
}
.hero-media{position:relative; width:100%; height:100%}
.hero-right img{width:100%; height:100%; border-radius:22px; border:1px solid var(--line); display:block; object-fit:cover}
.hero-overlay{
  position:absolute; inset:0;
  border-radius:22px;
  pointer-events:none;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:14px;
}
.hero-overlay:before{
  content:"";
  position:absolute; inset:0;
  border-radius:22px;
  background:
    radial-gradient(420px 260px at 20% 15%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(520px 320px at 80% 30%, rgba(0,0,0,.35), transparent 70%),
    repeating-linear-gradient(45deg, rgba(212,175,55,.045) 0 2px, transparent 2px 12px);
  mix-blend-mode:screen;
  opacity:.55;
}
.arabic-mark{
  position:relative;
  align-self:flex-start;
  font-size:26px;
  letter-spacing:.5px;
  color:rgba(212,175,55,.95);
  background:rgba(10,10,12,.55);
  border:1px solid rgba(212,175,55,.25);
  padding:6px 10px;
  border-radius:999px;
}
.hero-slogan{
  position:relative;
  align-self:flex-end;
  max-width:70%;
  text-align:right;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--text);
  background:rgba(10,10,12,.58);
  border:1px solid rgba(212,175,55,.22);
  padding:10px 12px;
  border-radius:18px;
}

.hero-story{
  margin-top:12px;
  flex:0 0 auto;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  max-width:none;
  display:block;
  overflow:visible;
  -webkit-line-clamp:unset;
  -webkit-box-orient:unset;
}
.section{padding:26px 0}
.section h1,
.section h2{
  font-family:"Playfair Display", Georgia, serif;
  font-size:32px;
  margin:0 0 14px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
  justify-content:center;
  gap:18px;
}

/* Home: center the product cards */
.home #productsGrid .grid{
  grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
  justify-content:center;
}
.home #productsGrid .product{max-width:320px}
.home #productsGrid .product{width:320px}
.product{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:10px;
  border-radius:22px;
}
.product img{
  width:100%;
  height:380px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  background:#0b0b0e;
}
.pname{
  font-weight:800;
  font-size:16px;
  line-height:1.25;
}
.pmeta{color:var(--muted); font-size:13px; line-height:1.5}
.row{display:flex; align-items:center; justify-content:space-between; gap:10px}
.price{
  font-weight:800;
  color:var(--gold);
  letter-spacing:.3px;
}
.qty{
  display:flex; align-items:center; gap:8px;
}
.qty input{width:78px; text-align:center}
.footer{
  margin-top:30px;
  border-top:1px solid var(--line);
  padding:20px 0 28px;
  color:var(--muted);
}
.footer-grid{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.smalllinks{display:flex; gap:14px; flex-wrap:wrap}
.note{font-size:12.5px; color:var(--muted); line-height:1.6}
.kv{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:14px;
}
.kv .card{padding:18px}
.kv h3{margin:0 0 8px; font-size:16px}
.kv p{margin:0; color:var(--muted); font-size:13.5px; line-height:1.6}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.table th{color:var(--muted); font-size:12px; text-align:left; font-weight:700; padding:0 10px}
.table td{
  background: rgba(17,17,20,.55);
  border:1px solid rgba(212,175,55,.18);
  padding:12px 10px;
}
.table tr td:first-child{border-radius:16px 0 0 16px}
.table tr td:last-child{border-radius:0 16px 16px 0}
.hr{height:1px; background:var(--line); margin:16px 0}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-left,.hero-right{min-height:auto; max-height:none}
  .hero-right img{height:auto}
  .grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 560px){
  .grid{grid-template-columns:1fr}
  .h1{font-size:40px}
  .menu{gap:8px}
  .menu a{padding:10px 10px}
}
/* Promo pricing */
.badge.promo{
  color:#101012;
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(176,138,31,.95));
  border: none;
  font-weight:800;
  padding:6px 10px;
}
.price{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.price-now{color:var(--gold); font-weight:800}
.price-old{color:var(--muted); text-decoration:line-through; font-weight:600; font-size:13px}


/* Checkout: dark dropdown options (best-effort across browsers) */
select, option, optgroup {
  background-color: #000;
  color: #fff;
}

.inv-option.selected{
  border-color: rgba(212,175,55,.85);
  box-shadow: 0 0 0 2px rgba(212,175,55,.22) inset;
  background: rgba(212,175,55,.08);
}


/* Safe header/footer/story fixes */
.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.menu a{
  flex:0 0 auto;
}
.menu .pill{
  flex:0 0 auto;
}
@media (max-width: 1180px){
  .menu{gap:12px}
  .menu a{padding:10px 8px}
  .brand img{height:105px}
}
@media (max-width: 980px){
  .menu{
    overflow-x:auto;
    max-width:calc(100vw - 24px);
    padding-left:120px;
  }
}

/* Keep hero behavior from the approved version */
.hero-story{
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:unset !important;
}
.arabic-mark{
  display:none !important;
}
.hero-overlay{
  position:static !important;
  border-radius:0 !important;
  pointer-events:none;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  padding:0 6px 0 !important;
  margin-top:0 !important;
  flex:0 0 auto !important;
}
.hero-overlay:before{
  display:none !important;
}
.hero-media{
  position:relative;
  width:100%;
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}
.hero-right img{
  width:100%;
  height:0;
  flex:1 1 0;
  min-height:0;
  border-radius:22px;
  border:1px solid var(--line);
  display:block;
  object-fit:cover;
}
.hero-slogan{
  position:relative;
  align-self:center;
  width:100%;
  max-width:100%;
  text-align:center;
  white-space:nowrap;
  font-weight:800;
  font-size:clamp(14px, 1.25vw, 19px);
  letter-spacing:.2px;
  color:var(--text);
  background:rgba(10,10,12,.58);
  border:1px solid rgba(212,175,55,.22);
  padding:8px 12px;
  border-radius:18px;
}

/* Info modal */
.info-modal{
  position:fixed;
  inset:0;
  z-index:9998;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.info-modal.open{display:flex}
.info-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(6px);
}
.info-modal-box{
  position:relative;
  width:min(640px, 92vw);
  background:linear-gradient(180deg, rgba(22,22,28,.96), rgba(10,10,12,.98));
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:28px;
}
.info-modal-box h2{
  font-family:"Playfair Display", Georgia, serif;
  color:var(--gold);
  margin:0 0 12px;
  font-size:32px;
}
.info-modal-box p{
  color:var(--text);
  line-height:1.7;
  margin:0;
}
.info-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border-radius:50%;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
}

/* Stories page */
.stories-hero{
  padding:36px 0 28px;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(144,20,35,.10), transparent 55%),
    var(--bg);
}
.stories-card-main{
  padding:28px;
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:26px;
  align-items:center;
}
.stories-card-main img{
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:22px;
  border:1px solid var(--line);
}
.stories-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.story-card{
  padding:24px;
}
.story-card h2{
  color:var(--gold);
}
.story-card p{
  color:var(--muted);
  line-height:1.7;
}
@media (max-width: 980px){
  .stories-card-main{grid-template-columns:1fr}
  .stories-grid{grid-template-columns:1fr}
  .stories-card-main img{height:auto}
  .hero-right img{height:auto; flex:0 0 auto}
  .hero-media{overflow:visible}
  .hero-slogan{white-space:normal}
}


/* Hero equal-height fix after Stories patch */
.hero-grid{
  align-items:stretch !important;
  grid-auto-rows:auto !important;
}
.hero-grid > .card{
  height:100% !important;
  align-self:stretch !important;
}
.hero-left{
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}
.hero-story{
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:unset !important;
}
.hero-actions{
  flex:0 0 auto !important;
  margin-top:12px !important;
  margin-bottom:0 !important;
}
.hero-right{
  height:100% !important;
  max-height:none !important;
}


/* Stories episodes */
.story-episode-card{
  overflow:hidden;
  padding:0;
}
.story-episode-image{
  display:block;
}
.story-episode-image img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  border-bottom:1px solid var(--line);
}
.story-episode-content{
  padding:22px;
}
.story-episode-content h2{
  font-size:24px;
}
.story-article{
  padding:30px;
  width:100%;
  margin:0;
}
.story-article .badge{
  margin-bottom:14px;
}
.story-article p{
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
  margin:0 0 16px;
}
.story-article strong{
  color:var(--text);
}
@media (max-width:560px){
  .story-article{padding:22px}
  .story-article p{font-size:16px}
}


/* Mobile optimization - safe overrides only */
@media (max-width: 820px){
  body{
    padding-top:132px;
    overflow-x:hidden;
  }

  .container{
    width:min(100% - 24px, 1200px);
  }

  .topbar{
    background:rgba(10,10,12,.88);
  }

  .nav{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:8px 0 10px;
  }

  .brand{
    justify-content:center;
    width:100%;
  }

  .brand img{
    height:64px;
    transform:none;
    max-width:210px;
  }

  .menu{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    justify-content:flex-start;
    gap:8px;
    padding:0 2px 2px;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .menu::-webkit-scrollbar{
    display:none;
  }

  .menu a{
    padding:8px 9px;
    font-size:13px;
    border-radius:12px;
  }

  .menu .pill{
    padding:6px 8px;
    gap:6px;
    flex:0 0 auto;
  }

  .menu .pill span{
    font-size:12px !important;
  }

  .menu select{
    padding:7px 8px;
    font-size:13px;
    border-radius:12px;
  }

  .section{
    padding:20px 0;
  }

  .section h1,
  .section h2{
    font-size:28px;
    text-align:center;
  }

  .card{
    border-radius:22px;
  }

  .footer{
    margin-top:18px;
    padding:18px 0 24px;
  }

  .footer-grid{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .smalllinks{
    justify-content:center;
    gap:12px;
  }

  .info-modal{
    align-items:flex-end;
    padding:12px;
  }

  .info-modal-box{
    width:100%;
    max-height:82vh;
    overflow:auto;
    padding:24px 20px;
    border-radius:24px 24px 18px 18px;
  }

  .info-modal-box h2{
    font-size:28px;
    padding-right:34px;
  }
}

@media (max-width: 760px){
  .hero{
    padding:18px 0 18px;
  }

  .hero-grid{
    grid-template-columns:1fr !important;
    gap:16px;
    align-items:stretch !important;
  }

  .hero-grid > .card{
    height:auto !important;
  }

  .hero-left{
    padding:16px 18px 18px;
    height:auto !important;
    overflow:visible !important;
  }

  .hero-logo-wrap{
    margin:0 0 6px;
  }

  .hero-logo-wrap img{
    height:108px;
    max-width:100%;
  }

  .h1{
    font-size:36px;
    line-height:1.08;
    text-align:center;
    margin:10px 0 10px;
  }

  .lead{
    font-size:15.5px;
    line-height:1.55;
    max-width:none;
    text-align:center;
  }

  .hero-story{
    font-size:15px;
    line-height:1.58;
    margin-top:12px;
  }

  .hero-story p{
    margin:0 0 12px;
  }

  .hero-actions{
    justify-content:center;
    margin-top:12px !important;
  }

  .hero-actions a,
  .hero-actions button{
    width:100%;
  }

  .hero-actions button{
    display:block;
  }

  .hero-right{
    height:auto !important;
    min-height:0;
    padding:12px;
  }

  .hero-media{
    height:auto;
    min-height:0;
    overflow:visible;
  }

  .hero-right img{
    height:clamp(280px, 78vw, 430px) !important;
    flex:0 0 auto !important;
    object-fit:cover;
  }

  .hero-slogan{
    white-space:normal;
    text-align:center;
    font-size:14px;
    line-height:1.35;
  }

  .kv{
    grid-template-columns:1fr;
  }

  .grid,
  .home #productsGrid .grid{
    grid-template-columns:minmax(0, 360px);
    justify-content:center;
  }

  .product,
  .home #productsGrid .product{
    width:100%;
    max-width:360px;
    padding:18px;
  }

  .product img{
    height:310px;
  }

  .product .row{
    flex-direction:column;
    align-items:stretch;
  }

  .product .price{
    justify-content:center;
  }

  .product .qty{
    width:100%;
    justify-content:center;
  }

  .product .qty input{
    width:82px;
  }

  .product .qty button{
    flex:1;
    min-width:150px;
  }

  .table{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .table th,
  .table td{
    white-space:nowrap;
  }

  form div[style*="grid-template-columns:1fr 1fr"],
  form div[style*="grid-template-columns:1fr 1fr 1fr"],
  #payOptions,
  #invoiceFields div[style*="grid-template-columns"]{
    grid-template-columns:1fr !important;
  }

  input,
  select,
  textarea{
    width:100%;
  }

  .pay-option,
  .inv-option{
    width:100%;
    justify-content:flex-start;
  }

  .stories-hero{
    padding:18px 0 18px;
  }

  .stories-card-main{
    grid-template-columns:1fr;
    padding:18px;
    gap:16px;
  }

  .stories-card-main img{
    height:clamp(240px, 70vw, 390px);
  }

  .stories-grid{
    grid-template-columns:1fr;
  }

  .story-card{
    padding:20px;
  }

  .story-card h2,
  .story-episode-content h2{
    font-size:22px;
    line-height:1.2;
  }

  .story-episode-image img{
    height:230px;
  }

  .story-episode-content{
    padding:18px;
  }

  .story-article{
    padding:20px;
  }

  .story-article p{
    font-size:15.5px;
    line-height:1.72;
  }
}

@media (max-width: 430px){
  body{
    padding-top:128px;
  }

  .container{
    width:calc(100% - 18px);
  }

  .brand img{
    height:58px;
    max-width:190px;
  }

  .menu{
    gap:6px;
  }

  .menu a{
    padding:7px 8px;
    font-size:12.5px;
  }

  .pill{
    border-radius:13px;
  }

  button{
    padding:11px 14px;
    border-radius:14px;
  }

  .h1{
    font-size:32px;
  }

  .hero-logo-wrap img{
    height:96px;
  }

  .product img{
    height:285px;
  }

  .story-episode-image img{
    height:205px;
  }

  .stories-card-main img{
    height:250px;
  }

  .footer-grid{
    gap:12px;
  }

  .smalllinks{
    gap:10px;
  }
}


/* Clean section backgrounds and mobile navigation */

/* General section separation */
.hero{
  padding:46px 0 38px;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(144,20,35,.10), transparent 55%),
    var(--bg);
  position:relative;
  z-index:1;
  overflow:visible;
}

/* Brand block - second background */
.home .hero + .section{
  padding-top:38px;
  padding-bottom:38px;
  background:
    radial-gradient(850px 480px at 8% 0%, rgba(212,175,55,.11), transparent 58%),
    radial-gradient(900px 520px at 95% 20%, rgba(144,20,35,.13), transparent 60%),
    var(--bg);
}

/* Products block - third background */
.home .hero + .section + .section{
  padding-top:46px;
  padding-bottom:42px;
  background:
    radial-gradient(850px 480px at 12% 0%, rgba(212,175,55,.08), transparent 60%),
    radial-gradient(900px 520px at 90% 20%, rgba(144,20,35,.10), transparent 62%),
    var(--bg);
}

/* Accessories block - fourth background, already separated in index.html */
.home .section.home-accessories-section{
  padding-top:38px;
  padding-bottom:46px;
  background:
    radial-gradient(850px 480px at 15% 0%, rgba(212,175,55,.12), transparent 60%),
    radial-gradient(900px 520px at 95% 35%, rgba(144,20,35,.13), transparent 62%),
    var(--bg);
}

.home-accessories-cta{
  display:flex;
  justify-content:center;
  margin:18px 0 6px;
}

/* Non-home pages: each major content block gets its own background */
body:not(.home) > .section:nth-of-type(1){
  padding-top:38px;
  padding-bottom:38px;
  background:
    radial-gradient(850px 480px at 12% 0%, rgba(212,175,55,.11), transparent 60%),
    radial-gradient(900px 520px at 92% 20%, rgba(144,20,35,.12), transparent 62%),
    var(--bg);
}

body:not(.home) > .section:nth-of-type(2){
  padding-top:38px;
  padding-bottom:42px;
  background:
    radial-gradient(850px 480px at 88% 0%, rgba(212,175,55,.09), transparent 60%),
    radial-gradient(900px 520px at 10% 28%, rgba(144,20,35,.11), transparent 62%),
    var(--bg);
}

body:not(.home) > .section:nth-of-type(3){
  padding-top:38px;
  padding-bottom:42px;
  background:
    radial-gradient(850px 480px at 15% 0%, rgba(212,175,55,.12), transparent 60%),
    radial-gradient(900px 520px at 95% 35%, rgba(144,20,35,.13), transparent 62%),
    var(--bg);
}

/* Stories top block */
.stories-hero{
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(144,20,35,.10), transparent 55%),
    var(--bg);
}

/* Products page: accessories section gets its own stronger block when rendered by JS */
.products-accessories-section{
  margin:44px calc(50% - 50vw) 0;
  padding:38px max(20px, calc((100vw - 1200px) / 2 + 20px)) 46px;
  background:
    radial-gradient(850px 480px at 15% 0%, rgba(212,175,55,.12), transparent 60%),
    radial-gradient(900px 520px at 95% 35%, rgba(144,20,35,.13), transparent 62%),
    var(--bg);
}

.products-accessories-section .grid{
  grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
  justify-content:center;
}

/* Mobile header: two rows, Lang spans both rows */
@media (max-width: 820px){
  .menu{
    display:grid !important;
    grid-template-columns: repeat(3, auto) minmax(74px, auto);
    grid-template-rows:auto auto;
    align-items:stretch;
    justify-content:center;
    column-gap:8px;
    row-gap:6px;
    overflow:visible;
    max-width:100%;
    padding:0;
    white-space:nowrap;
  }

  .menu > a:nth-of-type(1){grid-column:1; grid-row:1;}
  .menu > a:nth-of-type(2){grid-column:2; grid-row:1;}
  .menu > a:nth-of-type(3){grid-column:3; grid-row:1;}
  .menu > a:nth-of-type(4){grid-column:1 / span 2; grid-row:2; justify-self:center;}
  .menu > a:nth-of-type(5){grid-column:3; grid-row:2;}

  .menu > .pill{
    grid-column:4;
    grid-row:1 / span 2;
    align-self:stretch;
    justify-self:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-width:74px;
    height:100%;
    padding:6px 8px;
  }

  .hero{
    padding-bottom:30px;
  }

  .home .hero + .section,
  .home .hero + .section + .section,
  .home .section.home-accessories-section,
  body:not(.home) > .section:nth-of-type(1),
  body:not(.home) > .section:nth-of-type(2),
  body:not(.home) > .section:nth-of-type(3){
    padding-top:30px;
    padding-bottom:32px;
  }

  .products-accessories-section{
    margin:32px calc(50% - 50vw) 0;
    padding:30px 12px 34px;
  }
}

@media (max-width: 430px){
  .menu{
    grid-template-columns: repeat(3, auto) minmax(66px, auto);
    column-gap:5px;
    row-gap:5px;
  }

  .menu > .pill{
    min-width:66px;
    padding:5px 6px;
  }
}


/* Stories page background correction */
body:has(.stories-hero) > .section:nth-of-type(1){
  padding-top:24px;
  padding-bottom:24px;
  background:
    radial-gradient(760px 400px at 8% 0%, rgba(212,175,55,.09), transparent 58%),
    radial-gradient(820px 420px at 95% 18%, rgba(144,20,35,.10), transparent 60%),
    var(--bg);
}

body:has(.stories-hero) > .section:nth-of-type(2){
  padding-top:38px;
  padding-bottom:44px;
  background:
    radial-gradient(850px 480px at 15% 0%, rgba(212,175,55,.12), transparent 60%),
    radial-gradient(900px 520px at 95% 35%, rgba(144,20,35,.13), transparent 62%),
    var(--bg);
}

@media (max-width:760px){
  body:has(.stories-hero) > .section:nth-of-type(1){
    padding-top:20px;
    padding-bottom:20px;
  }

  body:has(.stories-hero) > .section:nth-of-type(2){
    padding-top:30px;
    padding-bottom:34px;
  }
}


/* Stories explicit section backgrounds */
.stories-intro-section{
  padding-top:22px !important;
  padding-bottom:26px !important;
  background:
    radial-gradient(760px 400px at 8% 0%, rgba(212,175,55,.09), transparent 58%),
    radial-gradient(820px 420px at 95% 18%, rgba(144,20,35,.10), transparent 60%),
    var(--bg) !important;
}

.stories-episodes-section{
  margin-top:0 !important;
  padding-top:42px !important;
  padding-bottom:48px !important;
  background:
    radial-gradient(850px 480px at 15% 0%, rgba(212,175,55,.12), transparent 60%),
    radial-gradient(900px 520px at 95% 35%, rgba(144,20,35,.13), transparent 62%),
    var(--bg) !important;
}

.stories-episodes-section > .container{
  position:relative;
  z-index:1;
}

@media (max-width:760px){
  .stories-intro-section{
    padding-top:18px !important;
    padding-bottom:22px !important;
  }

  .stories-episodes-section{
    padding-top:32px !important;
    padding-bottom:36px !important;
  }
}
