/*
Theme Name: Celadrin Pain Relief
Theme URI: https://example.com/celadrin
Author: Canadian Health Empir
Description: A responsive WordPress theme for the Celadrin Pain Relief Cream brand, with product-focused sections, science/benefits storytelling, retailer CTAs and WooCommerce-ready styling.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: celadrin
License: GPL-2.0-or-later
*/

:root{--cel-blue:#063d8f;--cel-deep:#022b67;--cel-sky:#1689cf;--cel-yellow:#ffd51f;--cel-gold:#f2b812;--cel-red:#e32223;--cel-ink:#11233d;--cel-muted:#5f6f86;--cel-bg:#f5f9ff;--cel-white:#fff;--cel-radius:24px;--cel-shadow:0 18px 60px rgba(2,43,103,.15)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--cel-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;background:#fff}a{color:var(--cel-blue);text-decoration:none}a:hover{color:var(--cel-red)}img{max-width:100%;height:auto;display:block}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-main{overflow:hidden}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(6,61,143,.08)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:30px;letter-spacing:-1px;color:var(--cel-red)}.brand-mark{width:44px;height:34px;position:relative}.brand-mark:before{content:"";position:absolute;left:5px;top:11px;width:34px;height:12px;border-radius:50% 50% 20% 20%;background:var(--cel-sky);transform:rotate(-8deg)}.brand-mark:after{content:"";position:absolute;left:17px;top:0;width:12px;height:12px;border-radius:50%;background:var(--cel-sky)}.main-nav ul{display:flex;gap:28px;align-items:center;list-style:none;margin:0;padding:0}.main-nav a{font-weight:750;color:var(--cel-ink);font-size:15px}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:14px 22px;font-weight:850;border:0;cursor:pointer;transition:.2s ease}.header-cta,.btn-primary{background:var(--cel-red);color:#fff;box-shadow:0 10px 26px rgba(227,34,35,.23)}.header-cta:hover,.btn-primary:hover{transform:translateY(-1px);color:#fff;background:#c81819}.btn-secondary{background:var(--cel-yellow);color:var(--cel-deep)}.btn-secondary:hover{color:var(--cel-deep);background:#ffe65a}.menu-toggle{display:none;border:0;background:transparent;font-size:26px}
.hero{position:relative;background:radial-gradient(circle at 16% 30%,rgba(255,213,31,.20),transparent 24%),linear-gradient(135deg,#022b67 0%,#07479e 55%,#0671bd 100%);color:#fff;padding:80px 0 72px}.hero:after{content:"";position:absolute;inset:auto -8% -90px 32%;height:220px;background:linear-gradient(8deg,transparent 15%,rgba(255,213,31,.95) 16% 26%,rgba(255,255,255,.8) 27% 30%,transparent 31%);transform:rotate(-4deg);opacity:.9}.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.08fr .92fr;gap:60px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:var(--cel-yellow);margin-bottom:18px}.hero h1{font-size:clamp(46px,6vw,78px);line-height:.98;margin:0 0 22px;letter-spacing:-3px}.hero h1 span{color:var(--cel-yellow)}.hero .lead{font-size:21px;max-width:660px;color:#e5efff;margin:0 0 28px}.hero-actions{display:flex;flex-wrap:wrap;gap:14px}.hero-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.hero-badge{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18);padding:10px 14px;border-radius:999px;font-weight:700;font-size:14px}.product-visual{position:relative;display:flex;justify-content:center}.product-visual img{width:min(100%,470px);border-radius:30px;box-shadow:0 30px 80px rgba(0,0,0,.32);transform:rotate(1.5deg)}.ingredient-medallion{position:absolute;right:-12px;bottom:26px;width:165px;height:165px;border-radius:50%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle,#fff36b 0%,#ffd51f 62%,#d79600 100%);border:9px solid #fff;box-shadow:0 16px 45px rgba(0,0,0,.25);color:var(--cel-deep);font-weight:900;line-height:1.05}.ingredient-medallion strong{display:block;font-size:45px}
.section{padding:86px 0}.section-soft{background:var(--cel-bg)}.section-dark{background:var(--cel-deep);color:#fff}.section-heading{max-width:780px;margin:0 auto 46px;text-align:center}.section-heading.left{text-align:left;margin-left:0}.kicker{font-weight:900;color:var(--cel-red);text-transform:uppercase;letter-spacing:.11em;font-size:13px}.section h2{font-size:clamp(34px,4vw,52px);line-height:1.08;margin:8px 0 14px;letter-spacing:-1.6px}.section-heading p{font-size:19px;color:var(--cel-muted);margin:0}.section-dark .section-heading p{color:#cbdaf2}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.benefit-card{background:#fff;border:1px solid #e6eef9;border-radius:var(--cel-radius);padding:30px;box-shadow:0 12px 35px rgba(2,43,103,.07)}.benefit-icon{width:56px;height:56px;border-radius:17px;background:linear-gradient(135deg,var(--cel-yellow),#fff278);display:grid;place-items:center;font-size:27px;margin-bottom:18px}.benefit-card h3{font-size:22px;margin:0 0 8px;color:var(--cel-deep)}.benefit-card p{margin:0;color:var(--cel-muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:center}.media-card{border-radius:30px;overflow:hidden;box-shadow:var(--cel-shadow);background:#fff}.media-card img{width:100%;aspect-ratio:4/4.4;object-fit:cover}.check-list{list-style:none;padding:0;margin:26px 0}.check-list li{position:relative;padding:11px 0 11px 36px;font-weight:650}.check-list li:before{content:"✓";position:absolute;left:0;top:10px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--cel-yellow);color:var(--cel-deep);font-size:13px;font-weight:950}.notice{border-left:4px solid var(--cel-yellow);padding:14px 16px;background:#fff9d8;border-radius:0 12px 12px 0;color:#38445a;font-size:14px}
.ingredient-band{padding:58px 0;background:linear-gradient(100deg,#ffd51f,#fff081);color:var(--cel-deep)}.ingredient-grid{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}.big-percent{font-size:72px;font-weight:950;letter-spacing:-4px;line-height:.8}.ingredient-grid h3{font-size:30px;margin:0 0 5px}.ingredient-grid p{margin:0;max-width:720px}.ingredient-pill{background:var(--cel-deep);color:#fff;border-radius:999px;padding:12px 18px;font-weight:850}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:steps}.step{position:relative;padding:34px;border-radius:24px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.step:before{counter-increment:steps;content:counter(steps);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--cel-yellow);color:var(--cel-deep);font-weight:950;margin-bottom:20px}.step h3{margin:0 0 8px;font-size:22px}.step p{color:#d7e4f7;margin:0}
.video-wrap{background:#061f48;border-radius:30px;overflow:hidden;box-shadow:var(--cel-shadow)}.video-wrap video{width:100%;display:block;max-height:620px;background:#000}.video-caption{padding:18px 22px;color:#dfeaff;font-size:14px}
.faq{max-width:900px;margin:auto}.faq details{border-bottom:1px solid #dce6f4;padding:18px 0}.faq summary{cursor:pointer;font-weight:850;font-size:18px;color:var(--cel-deep);list-style:none}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";float:right;font-size:25px;color:var(--cel-red)}.faq details[open] summary:after{content:"−"}.faq p{color:var(--cel-muted)}
.cta-panel{background:linear-gradient(135deg,var(--cel-deep),#0757ad);border-radius:34px;padding:54px;color:#fff;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;box-shadow:var(--cel-shadow)}.cta-panel h2{margin:0 0 8px}.cta-panel p{margin:0;color:#d7e4f7}.site-footer{background:#011d45;color:#c9d8ed;padding:58px 0 26px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px}.footer-title{color:#fff;font-weight:900;margin-bottom:12px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:8px 0}.footer-links a{color:#c9d8ed}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:22px;font-size:13px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.legal-copy{font-size:12px;color:#91a5c0;max-width:900px}
.che-logo-card{background:#fff;border-radius:14px;padding:10px 12px;margin:0 0 18px;max-width:230px;box-shadow:0 8px 20px rgba(0,0,0,.12)}.che-logo-card img{display:block;width:100%;height:auto}.site-footer a{color:#fff}.site-footer .btn-secondary{color:var(--cel-deep)}

.content-area{padding:70px 0}.entry-card{max-width:900px;margin:auto}.entry-card h1{font-size:48px;color:var(--cel-deep)}.entry-content>*:first-child{margin-top:0}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{background:#fff;border:1px solid #e2eaf5;border-radius:20px;overflow:hidden}.post-card .pad{padding:22px}.post-card h2{font-size:22px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:#fff;border:1px solid #e2eaf5;border-radius:20px;padding:16px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--cel-red)!important;color:#fff!important;border-radius:999px!important;padding:13px 20px!important}
@media(max-width:900px){.main-nav{position:absolute;top:78px;left:0;right:0;background:#fff;border-bottom:1px solid #e7edf6;display:none}.main-nav.open{display:block}.main-nav ul{flex-direction:column;align-items:flex-start;padding:22px 30px;gap:18px}.menu-toggle{display:block}.header-cta{display:none}.hero-grid,.split,.ingredient-grid,.cta-panel,.footer-grid{grid-template-columns:1fr}.hero{padding-top:52px}.product-visual{margin-top:10px}.ingredient-medallion{right:4px;width:130px;height:130px}.ingredient-medallion strong{font-size:36px}.benefit-grid,.steps,.post-grid{grid-template-columns:1fr 1fr}.ingredient-grid{text-align:center}.ingredient-pill{justify-self:center}.cta-panel{text-align:center}.cta-panel .btn{justify-self:center}}
@media(max-width:620px){.container{width:min(100% - 28px,1180px)}.brand{font-size:25px}.hero h1{letter-spacing:-2px}.section{padding:64px 0}.benefit-grid,.steps,.post-grid{grid-template-columns:1fr}.ingredient-medallion{width:112px;height:112px;border-width:6px;font-size:13px}.ingredient-medallion strong{font-size:30px}.cta-panel{padding:34px 24px}.big-percent{font-size:60px}.entry-card h1{font-size:38px}}

/* Celadrin lifestyle hero + retail price */
.product-visual-lifestyle{position:relative;overflow:hidden;border-radius:28px;box-shadow:0 24px 60px rgba(3,36,94,.18);background:#fff}
.product-visual-lifestyle img{display:block;width:100%;height:auto;object-fit:cover}
.hero-price{position:absolute;right:18px;bottom:18px;min-width:190px;padding:14px 18px;border:2px solid #f1c51b;border-radius:18px;background:rgba(255,255,255,.96);color:#082a69;text-align:center;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.hero-price .price-label{display:block;font-size:.78rem;font-weight:700;margin-bottom:2px}
.hero-price strong{display:inline-block;font-size:2.25rem;line-height:1;color:#082a69}
.hero-price>span:last-child{margin-left:5px;font-size:.75rem;font-weight:800}
@media(max-width:700px){.hero-price{right:10px;bottom:10px;min-width:150px;padding:10px 12px}.hero-price strong{font-size:1.8rem}}


/* Full-width homepage header slider */
.home-slider{position:relative;width:100%;overflow:hidden;background:#fff;box-shadow:0 8px 30px rgba(0,35,85,.10)}
.slides{position:relative;width:100%;aspect-ratio:1536/1024;max-height:78vh;min-height:320px}
.home-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease;background:#fff}
.home-slide.active{opacity:1;visibility:visible;z-index:1}
.home-slide img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}
.slide-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:48px;height:48px;border:0;border-radius:50%;background:rgba(4,40,96,.72);color:#fff;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.18)}
.slide-prev{left:20px}.slide-next{right:20px}.slide-arrow:hover{background:#062f72}
.slide-dots{position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:9px;padding:8px 11px;border-radius:20px;background:rgba(255,255,255,.72)}
.slide-dots button{width:11px;height:11px;border:0;border-radius:50%;padding:0;background:#a8b4c6;cursor:pointer}.slide-dots button.active{background:#e31b23}
@media(max-width:700px){.slides{min-height:210px;aspect-ratio:1/1}.home-slide img{object-fit:contain}.slide-arrow{width:38px;height:38px;font-size:21px}.slide-prev{left:8px}.slide-next{right:8px}.slide-dots{bottom:8px}}


/* Smart Slider 3 hero integration */
.smart-slider-hero{width:100%;overflow:hidden;background:#f7fbff;line-height:0}
.smart-slider-hero .n2-section-smartslider{line-height:normal}
.smart-slider-fallback{display:block;width:100%;height:auto;margin:0}
@media (max-width:782px){.smart-slider-hero{min-height:0}}


/* Retailer cards */
.retail-section{background:linear-gradient(180deg,#fff 0%,#f5f9ff 100%)}
.retailer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1040px;margin:0 auto}
.retailer-card{min-height:155px;border-radius:24px;background:#fff;border:1px solid #e3ebf6;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 20px;box-shadow:0 14px 38px rgba(2,43,103,.09);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
a.retailer-card:hover{transform:translateY(-4px);box-shadow:0 20px 46px rgba(2,43,103,.15);border-color:#c7d8ef}
.retailer-name{display:block;font-size:clamp(24px,2.4vw,34px);font-weight:950;line-height:1.05;letter-spacing:-1px}
.retailer-shop{display:block;margin-top:12px;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.13em;color:#7a899c}
.retailer-walmart .retailer-name{color:#0071ce}
.retailer-shoppers .retailer-name{color:#d71920}
.retailer-nutrition .retailer-name{color:#2c7a3f}
.retailer-note{text-align:center;margin:20px 0 0;color:#6c7b90;font-size:13px}
.retail-cta-section{padding-top:24px}
@media(max-width:760px){.retailer-grid{grid-template-columns:1fr}.retailer-card{min-height:125px}}

/* Retailer logo-only section */
.retailer-logo-card{min-height:190px;padding:24px;gap:14px;text-decoration:none}
.retailer-logo{display:block;width:100%;max-width:300px;height:105px;object-fit:contain}
.retailer-label{font-size:16px;font-weight:800;color:#102b57}
@media(max-width:760px){.retailer-logo-card{min-height:160px}.retailer-logo{height:90px}}

/* Compact retailer logos */
.retailer-logo-grid{max-width:680px;gap:18px;align-items:center}
.retailer-logo-card{min-height:0;padding:10px 12px;gap:5px;border-radius:10px;box-shadow:none;background:#fff}
.retailer-logo{width:auto;max-width:150px;height:48px;object-fit:contain}
.retailer-label{font-size:12px;font-weight:700;line-height:1.2}
@media(max-width:760px){.retailer-logo-grid{grid-template-columns:repeat(3,1fr);gap:8px}.retailer-logo-card{min-height:0;padding:8px 4px}.retailer-logo{max-width:95px;height:36px}.retailer-label{font-size:10px}}

/* Celadrin 7.5% ingredient and product gallery */
.celadrin-ingredient-row{margin-top:22px;padding-top:22px;border-top:1px solid rgba(255,255,255,.25)}
.celadrin-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.celadrin-gallery-grid img{width:100%;height:420px;object-fit:contain;background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(0,31,84,.12)}
@media(max-width:800px){.celadrin-gallery-grid{grid-template-columns:1fr}.celadrin-gallery-grid img{height:auto;max-height:620px}}
