/* Product detail pages (SleepPod, WetPod). Scoped to .rtp so Avada styles stay untouched. */
.rtp{--rtp-blue:#198fd9;--rtp-blue-dk:#1478b8;--rtp-line:rgba(242,243,245,.12);--rtp-mute:rgba(242,243,245,.74);--rtp-card:rgba(255,255,255,.03);color:var(--awb-color2,#f9f9fb)}
/* #main has 30px side padding on this template; let section backgrounds run edge to edge */
#main .rtp{margin-left:-30px;margin-right:-30px}
.rtp *,.rtp *:before,.rtp *:after{box-sizing:border-box}
.rtp-wrap{max-width:1248px;margin:0 auto;padding:0 24px}
.rtp-sec{padding:72px 0;border-top:1px solid var(--rtp-line)}
.rtp-sec--tint{background:rgba(255,255,255,.02)}
.rtp h1,.rtp h2,.rtp h3{color:#fff;text-transform:none;letter-spacing:0}
.rtp h1{font-size:clamp(32px,4.2vw,52px);line-height:1.08;margin:0 0 18px}
.rtp h2{font-size:clamp(26px,2.6vw,34px);line-height:1.2;margin:0 0 18px}
.rtp h3{font-size:19px;line-height:1.3;margin:0 0 8px}
.rtp p{color:var(--rtp-mute);line-height:1.7;margin:0 0 14px;font-size:16px}
.rtp a{color:var(--rtp-blue)}
.rtp a:hover{color:#fff}
.rtp-intro{max-width:760px}
.rtp-intro--center{margin:0 auto 40px;text-align:center}

/* hero */
.rtp-hero{padding:40px 0 72px;background:linear-gradient(160deg,#1d1f23 0%,#141617 72%)}
.rtp-crumb{font-size:13px;color:var(--rtp-mute);margin:0 0 32px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.rtp-crumb li:not(:last-child):after{content:"/";margin-left:6px;opacity:.5}
.rtp-crumb a{color:var(--rtp-mute);text-decoration:none}
.rtp-crumb a:hover{color:#fff}
.rtp-hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.rtp-eyebrow{font-size:13px!important;letter-spacing:.18em;text-transform:uppercase;color:var(--rtp-blue)!important;font-weight:600;margin:0 0 14px!important}
.rtp-lead{font-size:clamp(20px,2vw,25px)!important;line-height:1.35!important;color:#fff!important;font-weight:600}
.rtp-media img{width:100%;height:auto;display:block;border-radius:14px}
.rtp-media figcaption{font-size:13px;color:var(--rtp-mute);margin-top:10px}

/* buttons */
.rtp-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.rtp .rtp-btn{display:inline-flex;align-items:center;gap:10px;padding:13px 26px;border-radius:25px;font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;border:1px solid rgba(242,243,245,.28);color:#fff;background:rgba(0,0,0,.2);transition:background .2s,border-color .2s}
.rtp .rtp-btn:hover{border-color:var(--rtp-blue);background:rgba(25,143,217,.12);color:#fff}
.rtp .rtp-btn--pri{background:var(--rtp-blue);border-color:var(--rtp-blue)}
.rtp .rtp-btn--pri:hover{background:var(--rtp-blue-dk);border-color:var(--rtp-blue-dk)}

/* chips */
.rtp-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:40px}
.rtp-chip{border:1px solid var(--rtp-line);border-radius:12px;padding:18px 20px;background:var(--rtp-card);display:flex;align-items:center;gap:14px;color:#fff;font-weight:600;font-size:15px;line-height:1.35}
.rtp-chip i{color:var(--rtp-blue);font-size:20px;width:24px;text-align:center;flex:none}

/* layouts */
.rtp-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.rtp-split--top{align-items:start}
.rtp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rtp-cards--4{grid-template-columns:repeat(4,1fr)}
.rtp-card{border:1px solid var(--rtp-line);border-radius:12px;padding:26px 24px;background:var(--rtp-card)}
.rtp-card p{margin:0;font-size:15px}
.rtp-num{display:block;color:var(--rtp-blue);font-weight:700;font-size:14px;letter-spacing:.08em;margin-bottom:10px}

/* numbered layers */
.rtp-steps{list-style:none;margin:0;padding:0;counter-reset:rtp}
.rtp-steps li{counter-increment:rtp;position:relative;padding:0 0 18px 52px;margin:0}
.rtp-steps li:before{content:counter(rtp);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;background:var(--rtp-blue);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.rtp-steps h3{font-size:17px;margin:4px 0 4px}
.rtp-steps p{margin:0;font-size:15px}

/* plain lists with square markers */
.rtp-list{list-style:none;margin:0 0 14px;padding:0}
.rtp-list li{position:relative;padding:10px 0 10px 24px;border-bottom:1px solid var(--rtp-line);color:var(--awb-color2,#f9f9fb);line-height:1.5;margin:0}
.rtp-list li:before{content:"";position:absolute;left:0;top:18px;width:8px;height:8px;background:var(--rtp-blue);border-radius:2px}

/* galleries: natural aspect ratio, no cropping */
.rtp-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:start}
.rtp-gallery--3{grid-template-columns:repeat(3,1fr)}
.rtp-gallery a,.rtp-gallery figure{display:block;margin:0}
.rtp-gallery img{width:100%;height:auto;display:block;border-radius:10px;transition:opacity .2s}
.rtp-gallery a:hover img{opacity:.85}
.rtp-note{font-size:13px!important;color:rgba(242,243,245,.55)!important;margin-top:14px!important}

/* spec table */
.rtp-spec{width:100%;border-collapse:collapse;margin:0}
.rtp-spec th,.rtp-spec td{padding:13px 0;border:0;border-bottom:1px solid var(--rtp-line);text-align:left;vertical-align:top;font-size:15px;line-height:1.5;background:none}
.rtp-spec th{width:36%;color:#fff;font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;padding-right:16px}
.rtp-spec td{color:var(--rtp-mute)}

/* off-grid */
.rtp-ideal{margin-top:28px;border-left:3px solid var(--rtp-blue);padding:14px 20px;background:var(--rtp-card);border-radius:0 10px 10px 0}
.rtp-ideal p{margin:0;color:#fff}

/* faq */
.rtp-faq{max-width:860px}
.rtp-faq-item{border-bottom:1px solid var(--rtp-line);padding:22px 0}
.rtp-faq-item h3{font-size:18px}
.rtp-faq-item p{margin:0}

/* related + cta */
.rtp-related{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rtp-related a{display:block;border:1px solid var(--rtp-line);border-radius:12px;padding:22px 24px;background:var(--rtp-card);text-decoration:none;color:#fff;font-weight:600;transition:border-color .2s}
.rtp-related a:hover{border-color:var(--rtp-blue);color:#fff}
.rtp-related a span{display:block;font-weight:400;font-size:14px;color:var(--rtp-mute);margin-top:6px;line-height:1.5}
.rtp-cta{border:1px solid rgba(25,143,217,.35);border-radius:16px;padding:44px 48px;background:linear-gradient(135deg,rgba(25,143,217,.14),rgba(25,143,217,.02));display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.rtp-cta h2{margin:0 0 8px}
.rtp-cta p{margin:0}
.rtp-cta .rtp-btns{margin-top:0}

@media (max-width:1024px){
  .rtp-cards--4,.rtp-chips{grid-template-columns:repeat(2,1fr)}
  .rtp-gallery{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .rtp-sec{padding:56px 0}
  .rtp-hero-grid,.rtp-split{grid-template-columns:1fr;gap:32px}
  .rtp-cards,.rtp-related{grid-template-columns:repeat(2,1fr)}
  .rtp-cta{padding:32px 26px}
}
@media (max-width:600px){
  .rtp-wrap{padding:0 16px}
  .rtp-cards,.rtp-cards--4,.rtp-related,.rtp-chips{grid-template-columns:1fr}
  .rtp-gallery,.rtp-gallery--3{grid-template-columns:repeat(2,1fr);gap:10px}
  .rtp-spec th{width:42%}
}

/* off-grid: full-width intro, then image and system cards at equal height */
.rtp-offgrid-head{margin-bottom:36px}
.rtp-offgrid-head p{max-width:none}
.rtp-offgrid{display:grid;grid-template-columns:1fr 1.15fr;gap:28px;align-items:stretch}
.rtp-offgrid .rtp-media{margin:0}
.rtp-offgrid .rtp-media img{width:100%;height:auto}
.rtp-offgrid-sys{display:flex;flex-direction:column}
.rtp-offgrid-sys>h3{font-size:22px;margin:0 0 16px}
.rtp-sys-grid{flex:1;display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;gap:11px}
.rtp-sys-grid .rtp-card{padding:14px 18px;display:flex;flex-direction:column;justify-content:center}
.rtp-sys-grid .rtp-card p{font-size:14px;line-height:1.55}
.rtp-sys-grid .rtp-num{margin-bottom:6px}
.rtp-sys-grid .rtp-card h3{margin-bottom:4px}
@media (max-width:900px){
  .rtp-offgrid{grid-template-columns:1fr}
  .rtp-offgrid .rtp-media{max-width:460px}
}
@media (max-width:600px){.rtp-sys-grid{grid-template-columns:1fr}}
