/* ==========================================================================
   My Spectacles – Deals page template (page-templates/template-deals.php)
   Loaded only on that template by inc/templates.php.
   ========================================================================== */
.msd{--navy:#333974;--indigo:#575d9b;--navy-d:#262b5c;--text:#3a3a3a;--muted:#5f6375;--yellow:#ffd400;--red:#d81f26;--soft:#f4f5fa;--line:#e6e7ef;--shadow:0 4px 18px rgba(30,35,80,.08);
  font-family:Montserrat,sans-serif;color:var(--text);font-size:16px;line-height:1.65;overflow-x:hidden;width:100%;max-width:100%;min-width:0;flex:1 1 100%;margin:0 auto}
.msd *,.msd *::before,.msd *::after{box-sizing:border-box}
.msd h1,.msd h2,.msd h3,.msd p,.msd ul,.msd ol,.msd figure{margin:0;padding:0}
.msd img{max-width:100%;height:auto;display:block}
.msd a{color:inherit}
.msd a:focus-visible,.msd summary:focus-visible,.msd button:focus-visible,.msd input:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.msd .msd-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
.msd .msd-hero>*,.msd .msd-card,.msd .msd-event,.msd .msd-steps li,.msd .msd-steps li>div{min-width:0}
.msd h1,.msd h2,.msd h3{font-family:Poppins,sans-serif;color:var(--navy);line-height:1.2}
.msd .msd-h2{font-size:clamp(24px,3vw,34px);font-weight:700;text-transform:uppercase;text-align:center}
.msd .msd-lead{text-align:center;color:var(--muted);max-width:720px;margin:10px auto 36px;font-size:15.5px}
.msd .msd-sec{padding:60px 0}
.msd .msd-soft{background:var(--soft)}
.msd .msd-btn{display:inline-block;font-family:Poppins,sans-serif;font-size:15px;font-weight:500;padding:13px 28px;text-decoration:none;border:2px solid var(--navy);line-height:1.2;text-align:center;transition:background .2s,color .2s}
.msd .msd-btn--fill{background:var(--navy);color:#fff}
.msd .msd-btn--fill:hover{background:var(--navy-d);border-color:var(--navy-d)}
.msd .msd-btn--line{background:transparent;color:var(--navy)}
.msd .msd-btn--line:hover{background:var(--navy);color:#fff}
.msd .msd-pill{display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;border-radius:99px;background:var(--soft);color:var(--navy);white-space:nowrap}
.msd .msd-pill--live{background:#e3f5e8;color:#17692f}
.msd .msd-pill--soon{background:#fff3c2;color:#6b5600}
.msd .msd-pill--ended{background:#eee;color:#666}

/* Breadcrumb + Hero */
.msd .msd-crumb{font-size:13px;color:var(--muted);padding-top:20px;padding-bottom:14px}
.msd .msd-crumb ol{list-style:none;display:flex;gap:6px;flex-wrap:wrap}
.msd .msd-crumb li+li::before{content:"/";margin-right:6px}
.msd .msd-crumb a{text-decoration:none}
.msd .msd-hero{background:linear-gradient(100deg,#f1efe2 0%,#eef0f6 60%,#e7e9f4 100%);display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:32px;padding:48px}
.msd .msd-hero--solo{grid-template-columns:1fr}
.msd .msd-eyebrow{font-family:Poppins,sans-serif;font-weight:700;color:var(--indigo);text-transform:uppercase;font-size:clamp(14px,1.6vw,18px);letter-spacing:.4px}
.msd .msd-hero h1{font-size:clamp(28px,4.2vw,48px);font-weight:700;color:#111;text-transform:uppercase;margin:6px 0 14px}
.msd .msd-hero h1 span{color:var(--red)}
.msd .msd-hero p{max-width:560px;margin-bottom:24px}
.msd .msd-btns{display:flex;gap:12px;flex-wrap:wrap}
.msd .msd-count{background:#fff;box-shadow:var(--shadow);border-radius:12px;padding:26px;text-align:center}
.msd .msd-count h2{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:1px}
.msd .msd-cd{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 14px}
.msd .msd-cd div{background:var(--navy);color:#fff;border-radius:8px;padding:12px 2px}
.msd .msd-cd strong{display:block;font-family:Poppins,sans-serif;font-size:clamp(22px,3vw,28px);line-height:1.1}
.msd .msd-cd span{font-size:11px;text-transform:uppercase;letter-spacing:1px;opacity:.85}
.msd .msd-count p{font-size:13px;color:var(--muted)}

/* Intro text */
.msd .msd-intro{max-width:900px;margin:0 auto;text-align:center}
.msd .msd-intro p{margin-top:12px}
.msd .msd-intro a{color:var(--navy);font-weight:600}

/* Deal cards */
.msd .msd-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.msd .msd-card{background:#fff;border-radius:12px;box-shadow:var(--shadow);border:1px solid var(--line);padding:26px;display:flex;flex-direction:column}
.msd .msd-card h3{font-size:21px;font-weight:600}
.msd .msd-big{font-family:Poppins,sans-serif;font-weight:800;font-size:clamp(36px,4vw,44px);line-height:1;color:var(--red);margin:8px 0 12px}
.msd .msd-big small{font-size:15px;font-weight:600;color:var(--navy)}
.msd .msd-card p{font-size:14.5px;margin-bottom:12px}
.msd .msd-ticks{list-style:none;margin:2px 0 18px;font-size:14px}
.msd .msd-ticks li{padding:5px 0 5px 26px;position:relative}
.msd .msd-ticks li::before{content:"";position:absolute;left:2px;top:10px;width:13px;height:7px;border-left:2.5px solid var(--navy);border-bottom:2.5px solid var(--navy);transform:rotate(-45deg)}
.msd .msd-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;border-top:1px solid var(--line)}
.msd .msd-foot a{font-family:Poppins,sans-serif;font-weight:600;font-size:14px;color:var(--navy);text-transform:uppercase;text-underline-offset:4px}

/* Events */
.msd .msd-events{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.msd .msd-event{flex:1 1 210px;max-width:268px;background:#fff;border-radius:12px;border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.msd .msd-band{padding:18px 18px 16px;color:#fff;display:flex;flex-direction:column;min-height:158px}
.msd .msd-band time{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:1px}
.msd .msd-band h3{color:#fff;font-size:18px;margin:4px 0 10px}
.msd .msd-off{margin-top:auto;font-family:Poppins,sans-serif;font-size:28px;font-weight:800;line-height:1}
.msd .msd-ebody{padding:16px 18px 18px;font-size:14px;display:flex;flex-direction:column;flex:1}
.msd .msd-ebody p{margin-bottom:12px}
.msd .msd-ebody .msd-pill{align-self:flex-start;margin-top:auto}
.msd .acc-indigo .msd-band{background:var(--indigo)}
.msd .acc-black .msd-band{background:#000}.msd .acc-black .msd-off,.msd .acc-dark .msd-off{color:var(--yellow)}
.msd .acc-navy .msd-band{background:var(--navy)}
.msd .acc-red .msd-band{background:var(--red)}
.msd .acc-dark .msd-band{background:#1e1f2b}
.msd .acc-green .msd-band{background:#1f6b4f}
.msd .msd-event.is-featured{box-shadow:0 0 0 3px var(--yellow),var(--shadow)}

/* Products */
/* Product cards: shared card, see cards.css */

/* Steps */
.msd .msd-steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;counter-reset:n}
.msd .msd-steps li{display:flex;gap:16px;align-items:flex-start;background:#fff;border-radius:12px;border:1px solid var(--line);padding:22px}
.msd .msd-steps li::before{counter-increment:n;content:counter(n);flex:none;width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;font-family:Poppins,sans-serif;font-weight:600;display:grid;place-items:center}
.msd .msd-steps h3{font-size:16px;margin-bottom:2px}
.msd .msd-steps p{font-size:14px}
.msd .msd-steps a{color:var(--navy);font-weight:600}

/* FAQ */
.msd .msd-faq{max-width:880px;margin:0 auto}
.msd details{border-bottom:1px solid var(--line);padding:16px 4px}
.msd summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.msd summary::-webkit-details-marker{display:none}
.msd summary h3{font-size:16px;font-weight:600}
.msd summary::after{content:"+";font-size:24px;line-height:1;color:var(--navy);flex:none}
.msd details[open] summary::after{content:"\2013"}
.msd details p{margin-top:8px;font-size:14.5px}
.msd details a{color:var(--navy);font-weight:600}

/* Responsive */
@media (max-width:860px){
  .msd .msd-hero{grid-template-columns:1fr;padding:28px 20px}
  .msd .msd-sec{padding:44px 0}
}
@media (max-width:560px){
  .msd .msd-event{flex-basis:100%;max-width:none}
  .msd .msd-btns .msd-btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.msd *{transition:none!important}}

/* Shown outside <main> when ACF is missing */
.msd-notice{background:#fff3c2;border:1px solid #e0c200;padding:14px 18px;margin:16px;font-size:14px}
