/* P5-C5 — Mattresses in Nanded. Loads after approved R4 style.css */

.breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:24px;color:#858077;font-size:11px;font-weight:750;letter-spacing:.55px;text-transform:uppercase}
.breadcrumb a{color:var(--gold-deep)}

.mattress-hero{padding:30px 0 50px;background:radial-gradient(circle at 88% 15%,rgba(198,154,53,.11),transparent 30%),linear-gradient(180deg,#fff 0%,#faf9f6 100%)}
.mattress-hero-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:62px;align-items:center}
.mattress-hero-copy h1{max-width:690px;margin:0;color:var(--ink);font-family:var(--serif);font-size:clamp(50px,5.2vw,76px);font-weight:500;letter-spacing:-1.9px;line-height:1.01}
.mattress-hero-copy h1 em{color:var(--gold-deep);font-style:normal}
.mattress-lead{max-width:625px;margin:26px 0 0;color:#5f6268;font-size:17px;line-height:1.85}
.mattress-notes{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.mattress-notes span{padding:7px 13px;border:1px solid #e1dacb;border-radius:999px;background:#fff;color:#625e56;font-size:10px;font-weight:800;letter-spacing:.55px;text-transform:uppercase}
.mattress-hero-media{position:relative;margin:0;overflow:hidden;height:520px;border-radius:26px;background:#ddd;box-shadow:var(--shadow)}
.mattress-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.75))}
.mattress-hero-media img{width:100%;height:100%;object-fit:cover}
.mattress-hero-media figcaption{position:absolute;z-index:2;left:30px;right:30px;bottom:27px;color:#fff}
.mattress-hero-media figcaption span{display:block;color:#ead28b;font-size:9px;font-weight:850;letter-spacing:1.4px;text-transform:uppercase}
.mattress-hero-media figcaption strong{display:block;max-width:420px;margin-top:5px;font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.2}

.mattress-proof{border-block:1px solid var(--line);background:#fff}
.mattress-proof-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.mattress-proof-grid>div{padding:23px 30px}
.mattress-proof-grid>div+div{border-left:1px solid var(--line)}
.mattress-proof-grid strong,.mattress-proof-grid span{display:block}
.mattress-proof-grid strong{font-family:var(--serif);font-size:18px;font-weight:600}
.mattress-proof-grid span{margin-top:3px;color:var(--muted);font-size:11px}

.mattress-selector{background:#f7f5f0}
.mattress-selector-head{max-width:790px;margin-bottom:42px}
.mattress-selector-head h2{margin:0;color:var(--ink);font-family:var(--serif);font-size:clamp(42px,4.5vw,62px);font-weight:500;letter-spacing:-1.7px;line-height:1.06}
.mattress-selector-head>p:not(.eyebrow){max-width:690px;margin:20px 0 0;color:var(--muted);line-height:1.8}
.feel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch}
.feel-card{min-height:365px;padding:29px;border:1px solid #e0dbd0;border-radius:21px;background:#fff}
.feel-card--featured{transform:translateY(-10px);box-shadow:0 20px 50px rgba(45,39,28,.08)}
.feel-number{color:var(--gold-deep);font-size:9px;font-weight:850;letter-spacing:1.2px}
.feel-line{position:relative;height:42px;margin:30px 0 24px}
.feel-line:before,.feel-line:after{content:"";position:absolute;left:0;right:0;border-radius:999px}
.feel-line:before{top:18px;height:1px;background:#d9d2c4}
.feel-line:after{top:14px;height:9px;background:linear-gradient(90deg,#d2c49e,#c39a3d)}
.feel-line--firm:after{right:58%}
.feel-line--balanced:after{right:28%}
.feel-line--soft:after{right:0}
.feel-label{margin:0!important;color:var(--gold-deep)!important;font-size:9px!important;font-weight:850;letter-spacing:1.15px;text-transform:uppercase}
.feel-card h3{margin:11px 0 12px;font-family:var(--serif);font-size:28px;font-weight:600;line-height:1.14}
.feel-card>p:last-child{margin:0;color:var(--muted);font-size:13px;line-height:1.72}
.mattress-disclaimer{max-width:850px;margin:28px auto 0;padding-top:20px;border-top:1px solid #ded8cc;color:#77736c;font-size:11px;line-height:1.7;text-align:center}

.mattress-consider{background:#fff}
.mattress-consider-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:72px;align-items:start}
.mattress-consider-copy h2{margin:0;color:var(--ink);font-family:var(--serif);font-size:clamp(40px,4vw,57px);font-weight:500;letter-spacing:-1.6px;line-height:1.08}
.mattress-consider-copy>p:not(.eyebrow){margin:20px 0 0;color:var(--muted);line-height:1.85}
.mattress-consider-list{border-top:1px solid var(--line)}
.mattress-consider-list>div{display:grid;grid-template-columns:50px 1fr;gap:15px;padding:21px 0;border-bottom:1px solid var(--line)}
.mattress-consider-list>div>span{padding-top:4px;color:var(--gold-deep);font-size:9px;font-weight:850}
.mattress-consider-list strong{font-family:var(--serif);font-size:20px}
.mattress-consider-list p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.65}

.mattress-accent{padding:74px 0;background:#222321;color:#fff}
.mattress-accent-inner{text-align:center}
.mattress-accent .eyebrow{color:#d9b65f}
.mattress-accent blockquote{max-width:900px;margin:0 auto;color:#fff;font-family:var(--serif);font-size:clamp(35px,4vw,56px);font-weight:500;letter-spacing:-1.25px;line-height:1.12}
.mattress-accent a{display:inline-flex;gap:8px;margin-top:27px;padding-bottom:4px;border-bottom:1px solid #d9b65f;color:#ddd;font-size:12px;font-weight:750}

.mattress-size{background:#f7f5f0}
.mattress-size-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:18px}
.bed-diagram{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:470px;padding:60px 75px;border:1px solid #e0dbd0;border-radius:22px;background:#fff}
.bed-head{height:34px;border:2px solid #c5bca9;border-bottom:0;border-radius:16px 16px 0 0;background:#eee9df}
.bed-surface{position:relative;height:270px;border:2px solid #c5bca9;border-radius:5px 5px 18px 18px;background:linear-gradient(135deg,#faf8f3 0 25%,#f0ece3 25% 50%,#faf8f3 50% 75%,#f0ece3 75%)}
.bed-surface:before{content:"";position:absolute;left:12%;right:12%;top:22px;height:52px;border:1px solid #d5cdbc;border-radius:18px;background:#fff}
.bed-foot{width:72%;height:8px;margin:0 auto;border-radius:0 0 12px 12px;background:#b6aa92}
.measure-width,.measure-length{position:absolute;color:var(--gold-deep);font-size:10px;font-weight:850;letter-spacing:.6px;text-transform:uppercase}
.measure-width{left:50%;bottom:24px;transform:translateX(-50%)}
.measure-length{right:-43px;top:50%;transform:translateY(-50%) rotate(90deg)}
.mattress-size-note{display:flex;flex-direction:column;justify-content:center;padding:36px;border:1px solid #e0dbd0;border-radius:22px;background:#fff}
.mattress-size-note>span{color:var(--gold-deep);font-size:9px;font-weight:850;letter-spacing:1.25px;text-transform:uppercase}
.mattress-size-note h3{margin:13px 0;font-family:var(--serif);font-size:32px;line-height:1.15}
.mattress-size-note p{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.75}
.mattress-size-note a{width:max-content;max-width:100%;padding-bottom:3px;border-bottom:1px solid var(--gold);font-size:11px;font-weight:750}

.mattress-process{background:#fbfaf7}
.mattress-process-head{display:block;margin-bottom:26px}
.mattress-process-head>div{max-width:760px}
.mattress-process .process-premium-grid{background:#fff}

.mattress-visit{background:#fff}
.mattress-visit-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px}
.mattress-visit-image{position:relative;min-height:470px;margin:0;overflow:hidden;border-radius:20px}
.mattress-visit-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.74))}
.mattress-visit-image img{width:100%;height:100%;object-fit:cover}
.mattress-visit-image figcaption{position:absolute;z-index:2;left:25px;right:25px;bottom:23px;color:#fff}
.mattress-visit-image figcaption span{display:block;color:#ead28b;font-size:9px;font-weight:850;letter-spacing:1.2px;text-transform:uppercase}
.mattress-visit-image figcaption strong{display:block;max-width:440px;margin-top:5px;font-family:var(--serif);font-size:25px;font-weight:500}
.mattress-visit-card{display:flex;flex-direction:column;justify-content:center;padding:32px;border:1px solid #e3ddd1;border-radius:20px;background:#f7f5f0}
.mattress-visit-card>span{color:var(--gold-deep);font-size:9px;font-weight:850;letter-spacing:1.3px;text-transform:uppercase}
.mattress-visit-card p{margin:13px 0 20px;font-family:var(--serif);font-size:25px;line-height:1.35}
.mattress-visit-card a{width:max-content;max-width:100%;padding-bottom:3px;border-bottom:1px solid var(--gold);font-size:11px;font-weight:750}

.mattress-faq{background:#f7f5f0}
.mattress-faq-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:72px;align-items:start}
.mattress-faq-intro{position:sticky;top:120px}
.mattress-faq-intro h2{margin:0;color:var(--ink);font-family:var(--serif);font-size:clamp(40px,4vw,56px);font-weight:500;letter-spacing:-1.6px;line-height:1.08}
.mattress-faq-intro>p:not(.eyebrow){margin:18px 0 0;color:var(--muted)}
.mattress-faq-list{border-top:1px solid #ded8cb}
.mattress-faq-list details{border-bottom:1px solid #ded8cb}
.mattress-faq-list summary{position:relative;padding:22px 42px 22px 0;cursor:pointer;list-style:none;color:var(--ink);font-family:var(--serif);font-size:21px;font-weight:600}
.mattress-faq-list summary::-webkit-details-marker{display:none}
.mattress-faq-list summary:after{content:"+";position:absolute;right:5px;top:18px;color:var(--gold-deep);font-family:var(--sans);font-size:24px}
.mattress-faq-list details[open] summary:after{content:"−"}
.mattress-faq-list details p{margin:-5px 0 22px;padding-right:45px;color:var(--muted);font-size:14px;line-height:1.75}

@media(max-width:900px){
  .mattress-hero-grid,.mattress-consider-grid,.mattress-faq-grid{grid-template-columns:1fr}
  .mattress-hero-copy{text-align:center}
  .mattress-hero-copy h1,.mattress-lead{margin-inline:auto}
  .mattress-hero-copy .hero-actions,.mattress-notes{justify-content:center}
  .feel-grid{grid-template-columns:1fr}
  .feel-card--featured{transform:none}
  .mattress-size-layout,.mattress-visit-grid{grid-template-columns:1fr}
  .mattress-faq-intro{position:static}
}
@media(max-width:640px){
  .mattress-hero{padding:18px 0 30px}
  .mattress-hero-grid{gap:26px}
  .mattress-hero-copy h1{font-size:clamp(38px,11vw,50px);letter-spacing:-1.2px}
  .mattress-lead{font-size:15px;line-height:1.72}
  .mattress-hero-media{height:375px;border-radius:18px}
  .mattress-proof-grid{grid-template-columns:1fr}
  .mattress-proof-grid>div{padding:15px 0}
  .mattress-proof-grid>div+div{border-left:0;border-top:1px solid var(--line)}
  .mattress-selector-head h2,.mattress-consider-copy h2,.mattress-faq-intro h2{font-size:clamp(34px,10vw,44px);letter-spacing:-1px}
  .feel-card{min-height:300px;padding:24px 22px}
  .mattress-accent{padding:58px 0}
  .bed-diagram{min-height:370px;padding:42px 42px}
  .bed-surface{height:220px}
  .measure-length{right:-48px}
  .mattress-size-note{min-height:260px;padding:28px;border-radius:17px}
  .mattress-visit-image{min-height:330px;border-radius:17px}
  .mattress-visit-card{min-height:250px;border-radius:17px}
  .mattress-faq-grid{gap:28px}
  .mattress-faq-list summary{font-size:19px}
}