/* Manmohan Jewellers — design polish layer.
   Loaded after every page's own CSS (see includes/header.php).
   Delete this file and its <link> to revert to the previous look. */

:root{
  --sec-pad:clamp(60px,8vw,116px);
  --radius:14px;
  --shadow-soft:0 1px 2px rgba(58,11,28,.05),0 10px 30px rgba(58,11,28,.07);
  --shadow-lift:0 2px 4px rgba(58,11,28,.06),0 24px 50px rgba(58,11,28,.15);
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ── Base ── */
::selection{background:var(--gold);color:var(--maroon-deep)}
:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px;border-radius:4px}
body{text-rendering:optimizeLegibility}
section[id]{scroll-margin-top:92px}

/* ── Header ── */
.nav{height:76px}
.nav-cta{flex-shrink:0}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text .name{font-size:20px;letter-spacing:3.5px}
.brand-text .sub{margin-top:7px;font-size:9px;letter-spacing:3.6px}
.main-nav{gap:0}
.nav-item>a{padding:28px 10px;font-size:11.5px;letter-spacing:1.4px}
.nav-item>a::after{left:10px;right:10px;bottom:22px}
header{box-shadow:0 1px 0 var(--line)}
.mega{border-radius:0 0 var(--radius) var(--radius)}
.icon-btn{width:42px;height:42px}
/* the desktop menu needs ~1280px; below that use the drawer (also fixes tablets having no menu) */
@media(max-width:1279px){
  .main-nav{display:none}
  .menu-toggle{display:flex}
}

/* ── Buttons ── */
.btn{border-radius:999px;padding:15px 32px;font-size:12px;letter-spacing:2.2px}
.btn-gold{box-shadow:0 6px 20px rgba(201,162,75,.28)}
.btn-gold:hover{box-shadow:0 14px 34px rgba(201,162,75,.42)}

/* ── Hero ── */
.hero{min-height:min(92vh,900px)}
.hero-img{left:0;right:auto;width:100%;background-position:72% center;-webkit-mask-image:none;mask-image:none;opacity:1;z-index:0}
.hero::before{z-index:1;background:
  linear-gradient(90deg,rgba(30,4,14,.97) 0%,rgba(42,7,19,.92) 32%,rgba(42,7,19,.64) 58%,rgba(42,7,19,.4) 100%),
  radial-gradient(ellipse 55% 70% at 82% 40%,rgba(201,162,75,.24),transparent 62%),radial-gradient(ellipse 40% 50% at 95% 95%,rgba(163,30,80,.28),transparent 60%)}
.hero-deco{z-index:1;opacity:.35}
.hero-content{max-width:660px}
.eyebrow{font-size:11.5px;letter-spacing:3.2px;line-height:1.7;margin-bottom:28px}
.eyebrow::before{flex-shrink:0}
.hero h1{font-size:clamp(42px,5.6vw,80px);line-height:1.04;letter-spacing:-.5px}
.hero p{font-size:clamp(15px,1.25vw,17.5px);color:rgba(247,241,231,.84)}
.hero .btn-ghost{color:var(--cream);border-color:rgba(247,241,231,.45);background:rgba(247,241,231,.06);backdrop-filter:blur(6px)}
.hero .btn-ghost:hover{background:var(--cream);color:var(--maroon);border-color:var(--cream)}
.hero-stats{gap:clamp(24px,4.5vw,56px);margin-top:clamp(40px,5vw,60px);padding-top:28px;border-top:1px solid rgba(201,162,75,.28);max-width:520px}
@media(max-width:1024px){
  .hero-img{opacity:1}
  .hero::before{background:
    linear-gradient(180deg,rgba(30,4,14,.9) 0%,rgba(42,7,19,.82) 55%,rgba(42,7,19,.7) 100%),
    radial-gradient(ellipse 80% 50% at 50% 100%,rgba(201,162,75,.14),transparent 60%)}
}

/* ── Category circles ── */
.cat-circles-scroll{gap:clamp(22px,3.2vw,44px)}
.cat-circle-item{width:116px}
.cat-circle-ring{width:92px;height:92px}
.cat-circle-title{font-size:13.5px;margin-top:12px}
@media(max-width:768px){
  .cat-circle-item{width:84px}
  .cat-circle-ring{width:70px;height:70px}
  .cat-circle-title{font-size:11.5px}
}

/* ── Section rhythm ── */
.sec-pad,.astro-showcase{padding-top:var(--sec-pad);padding-bottom:var(--sec-pad)}
.sec-head{margin-bottom:clamp(40px,5vw,72px)}
.kicker,.sec-head .kicker{font-size:11.5px;letter-spacing:.34em;font-weight:500}
.sec-head h2{line-height:1.1;letter-spacing:-.01em}
.sec-head p{max-width:560px;margin-left:auto;margin-right:auto}

/* ── Collections: balanced bento for 5, tidy fallback otherwise ── */
.cat-grid{gap:clamp(14px,1.6vw,24px)}
.cat-card{border-radius:var(--radius);box-shadow:var(--shadow-soft);transition:box-shadow .5s var(--ease),transform .5s var(--ease)}
.cat-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-4px)}
.cat-card img{opacity:1}
.cat-info h3{font-size:clamp(22px,2vw,27px)}
@media(min-width:1025px){
  .cat-grid:has(>:nth-child(5):last-child){grid-template-columns:repeat(6,1fr)}
  .cat-grid:has(>:nth-child(5):last-child)>*{grid-column:span 2}
  .cat-grid:has(>:nth-child(5):last-child)>:nth-child(-n+2){grid-column:span 3;height:440px}
}
@media(min-width:641px) and (max-width:1024px){
  .cat-grid>:last-child:nth-child(odd){grid-column:1/-1}
}

/* ── Text-only sections (photos removed) ── */
.bridal-solo,.story-solo{grid-template-columns:1fr;max-width:780px;margin:0 auto;text-align:center}
.bridal-solo .bfeat{max-width:430px;margin-left:auto;margin-right:auto;text-align:left}
.bridal-solo .btn-row,.story-solo .btn-row{justify-content:center}
.story-solo .sign{margin-top:14px}
.cat-grid:has(>:only-child){grid-template-columns:1fr}
.cat-grid:has(>:only-child)>.cat-card{height:clamp(300px,36vw,460px)}

/* ── Materials ── */
.mat-card{border-radius:var(--radius);min-height:clamp(340px,34vw,460px);padding:clamp(28px,4vw,48px)}

/* ── Gemstones ── */
.gem{display:block}
.gem-card{border-radius:var(--radius);padding:32px 12px 28px}
.gem-card:hover{box-shadow:0 18px 40px rgba(0,0,0,.35)}
.navratna{border-radius:var(--radius)}

/* ── Product cards (home, shop, search, wishlist) ── */
.prod-card{border-radius:var(--radius);border:1px solid rgba(201,162,75,.2);box-shadow:var(--shadow-soft);background:#fff;
  transition:opacity .9s var(--ease),transform .55s var(--ease),box-shadow .55s var(--ease),border-color .4s}
.prod-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lift);border-color:rgba(201,162,75,.55)}
.prod-card .prod-img{display:block}
.prod-card .prod-img img,.prod-card .prod-img .placeholder{aspect-ratio:4/5}
.prod-card .tag-badge{border-radius:999px;padding:4px 10px;letter-spacing:1.2px}
.prod-card .prod-body{padding:18px 18px 16px}
.prod-card .prod-body h4{font-size:21px;line-height:1.22;margin:6px 0 4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.44em}
.prod-card .prod-body .price-row{margin-top:12px;padding-top:12px;border-top:1px solid rgba(201,162,75,.2)}
.prod-card .enquire-btn{border-radius:999px;padding:7px 16px}
.prod-card .quick-btn{box-shadow:0 4px 14px rgba(58,11,28,.18)}
@media(max-width:640px){
  .prod-card{border-radius:12px}
  .prod-card .prod-body{padding:12px 10px 12px}
  .prod-card .prod-body h4{font-size:15.5px;min-height:2.44em}
  .prod-card .prod-body .price-row{margin-top:8px;padding-top:8px}
}

/* ── Cards, media and panels ── */
.trust-card{border-radius:var(--radius);transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .4s,background .4s}
.trust-card:hover{box-shadow:var(--shadow-lift)}
.testi-card{border-radius:var(--radius);transition:transform .5s var(--ease),border-color .4s,background .4s}
.testi-card:hover{transform:translateY(-4px);border-color:rgba(201,162,75,.5);background:rgba(247,241,231,.07)}
.bridal-imgs .bi,.story-img img,.story-img .frame,.ig-post,.visit-grid,.astro-video-frame{border-radius:var(--radius)}
.ig-profile{border-radius:var(--radius)}
.svc-modal{border-radius:var(--radius)}
.svc-modal-hd{border-radius:var(--radius) var(--radius) 0 0}
.visit-grid{box-shadow:var(--shadow-soft)}

/* ── Stagger reveal (animation, so hover transforms stay untouched) ── */
.reveal.in{animation:mmRise .9s var(--ease) backwards}
@keyframes mmRise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
:is(.cat-grid,.home-prod-grid,.shop-grid,.gem-grid,.trust-grid,.testi-grid,.ig-grid,.timeline)>.reveal.in:nth-child(4n+2){animation-delay:.08s}
:is(.cat-grid,.home-prod-grid,.shop-grid,.gem-grid,.trust-grid,.testi-grid,.ig-grid,.timeline)>.reveal.in:nth-child(4n+3){animation-delay:.16s}
:is(.cat-grid,.home-prod-grid,.shop-grid,.gem-grid,.trust-grid,.testi-grid,.ig-grid,.timeline)>.reveal.in:nth-child(4n+4){animation-delay:.24s}

/* ── Footer ── */
.site-footer{position:relative;padding-top:clamp(48px,6vw,80px)}
.site-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.footer-brand img{border-radius:10px}
.footer-col h4{font-size:.8rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold-bright);margin-bottom:20px}
.footer-col ul li a{display:inline-block;transition:color .2s,transform .2s}
.footer-col ul li a:hover{transform:translateX(4px)}
.footer-social a:hover{color:var(--maroon-deep)}

/* ── Tablet & below: keep the Story badge inside the viewport ── */
@media(max-width:1024px){
  .story-img .badge-circle{right:12px}
  .story-img .frame{inset:-8px}
}

/* ── Mobile ── */
@media(max-width:640px){
  .topbar{font-size:10.5px}
  .rate-band{flex-wrap:nowrap}
  .rate-item,.rate-calc-btn{flex-shrink:0}
  .nav{height:62px}
  .brand-text .name{font-size:15px;letter-spacing:1.8px}
  .icon-btn{width:36px;height:36px}
  .hero{min-height:auto;padding:28px 0 8px}
  .hero-content{padding:36px 0 40px}
  .eyebrow{font-size:10.5px;letter-spacing:2.4px;margin-bottom:20px}
  .eyebrow::before{width:28px}
  .hero p{margin:20px 0 28px}
  .hero .btn-row{gap:12px}
  .hero .btn{padding:14px 24px;flex:1 1 auto;justify-content:center}
  .hero-stats{margin-top:32px;padding-top:22px}
  .hero-stats .st .n{font-size:32px}
  .sec-head{padding:0 6px}
  .story-img img{height:380px}
  .story-img .frame{inset:-8px}
  .story-img .badge-circle{right:10px;bottom:-26px;width:118px;height:118px}
  .badge-circle .yr{font-size:28px}
}

/* ── Respect reduced-motion preferences ── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
