/*
Theme Name: Naked Science CBD
Theme URI: https://nakedsciencecbd.com
Author: Naked Science CBD
Description: Custom WooCommerce-ready theme based on the partner-approved Naked Science CBD design.
Version: 1.0.0
Text Domain: naked-science-cbd
*/

:root{--p:#403a6d;--g:#78a942;--blue:#4c96ad;--ink:#29292e;--soft:#f7f8f4;--line:#e7e8e3}
*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}button{font:inherit}
.age{position:fixed;inset:0;z-index:999;background:#262536ee;display:grid;place-items:center;padding:20px}.age.hide{display:none}.ageCard{max-width:520px;background:white;border-radius:24px;padding:34px;text-align:center;box-shadow:0 25px 80px #0005}.ageCard img{width:390px;max-width:94%;height:auto;object-fit:contain}.ageCard h2{margin-top:14px}.ageActions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.ageActions button{padding:12px 18px;border-radius:99px;border:1px solid var(--p);font-weight:800;cursor:pointer}.yes{background:var(--p);color:white}.no{background:white;color:var(--p)}
.top{text-align:center;font-size:12px;padding:8px;background:#f2f5ee}header{position:sticky;top:0;z-index:40;background:#fffffff2;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.head{max-width:1200px;margin:auto;padding:8px 18px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:15px}.menu{width:43px;height:43px;border:0;border-radius:50%;background:#f2f3ef;font-size:20px;cursor:pointer}.logo{height:86px;max-width:500px;width:auto;object-fit:contain;justify-self:center}.shopBtn{padding:10px 15px;border:1px solid var(--p);border-radius:99px;font-weight:800;font-size:12px}
.drawer{position:fixed;z-index:100;left:-350px;top:0;width:min(350px,90vw);height:100vh;background:#fff;padding:22px;transition:.25s;box-shadow:15px 0 50px #0002;overflow:auto}.drawer.open{left:0}.shade{display:none;position:fixed;inset:0;background:#0006;z-index:90}.shade.open{display:block}.close{float:right;border:0;background:none;font-size:28px}.drawer img{width:290px;max-width:92%;height:auto;object-fit:contain;margin-bottom:18px}.group{border-bottom:1px solid var(--line)}.group button,.group>a{width:100%;display:flex;justify-content:space-between;padding:15px 2px;border:0;background:none;font-weight:800;text-align:left}.sub{display:none;padding:0 0 12px 12px}.sub.open{display:block}.sub a{display:block;padding:8px 0;color:#5d5e64}
.hero{min-height:650px;background:#f7f8f4}.heroGrid{max-width:1200px;min-height:650px;margin:auto;display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center;padding:55px 20px}.kicker{font-size:12px;letter-spacing:.2em;color:var(--g);font-weight:900}h1{font:500 clamp(48px,6vw,78px)/1.02 Georgia,serif;color:#34315a;margin:12px 0 18px}.lead{font-size:19px;line-height:1.65;color:#606066}.btn{display:inline-block;margin-top:20px;padding:13px 20px;border-radius:99px;background:var(--p);color:#fff;font-weight:900}.heroPhoto{height:500px;border-radius:28px;overflow:hidden;box-shadow:0 24px 65px #403a6d18}.heroPhoto img{width:100%;height:100%;object-fit:cover;object-position:center center}
.section{padding:76px 20px}.soft{background:var(--soft)}.inner{max-width:1160px;margin:auto}h2{font:500 42px Georgia,serif;color:#34315a;margin:0 0 12px}.intro{max-width:700px;color:#666;line-height:1.7}
.shopFeature{margin:28px 0 8px;height:300px;border-radius:24px;overflow:hidden}.shopFeature img{width:100%;height:100%;object-fit:cover}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:30px}.cat{height:240px;border-radius:20px;overflow:hidden;position:relative;background:#eee}.cat img{width:100%;height:100%;object-fit:cover;transition:.25s}.cat:hover img{transform:scale(1.025)}.cat:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0009)}.cat span{position:absolute;z-index:2;left:20px;bottom:18px;color:#fff;font-size:20px;font-weight:900}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:28px}.trust div{border-top:2px solid var(--g);padding:18px 4px;font-weight:900}
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}.photo{height:390px;border-radius:25px;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:28px}.card{border-radius:20px;overflow:hidden;border:1px solid var(--line);background:white}.card img{width:100%;height:260px;object-fit:cover}.card div{padding:18px}.card h3{color:#34315a;margin:0 0 7px}.card p{color:#666;line-height:1.55;font-size:14px}
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:25px}.review{padding:22px;border:1px solid var(--line);border-radius:18px;background:white}.stars{color:var(--g)}
footer{background:#29283a;color:#fff;padding:55px 20px}.foot{max-width:1160px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footLogo{width:360px;max-width:100%;height:auto;object-fit:contain;mix-blend-mode:screen}footer a{display:block;color:#ddd;margin:8px 0;font-size:14px}
@media(max-width:850px){.heroGrid,.split{grid-template-columns:1fr}.heroPhoto{height:390px}.categories,.cards{grid-template-columns:1fr 1fr}.trust{grid-template-columns:1fr 1fr}.reviews{grid-template-columns:1fr}}
@media(max-width:560px){.head{padding:7px 10px}.logo{height:55px;max-width:260px}.heroGrid{padding:45px 18px}.heroPhoto{height:310px}.section{padding:58px 18px}.categories,.cards,.trust{grid-template-columns:1fr}.foot{grid-template-columns:1fr}}

.contactFloat{position:fixed;right:22px;bottom:22px;z-index:90;border:0;border-radius:999px;background:#29234e;color:#fff;padding:15px 20px;font-weight:800;box-shadow:0 10px 30px #0003;cursor:pointer}
.contactFloat span{margin-right:8px}.contactPanel{position:fixed;right:22px;bottom:84px;z-index:91;width:min(360px,calc(100vw - 32px));background:#fff;border:1px solid #ddd;border-radius:20px;box-shadow:0 18px 55px #0003;padding:22px;display:none}
.contactPanel.open{display:block}.contactPanel h3{margin:0 0 7px;color:#29234e}.contactPanel p{margin:0 0 14px;color:#555}.contactPanel input,.contactPanel textarea{width:100%;box-sizing:border-box;margin:6px 0;padding:11px;border:1px solid #ccc;border-radius:10px;font:inherit}.contactPanel textarea{min-height:90px;resize:vertical}.contactPanel .send{width:100%;border:0;border-radius:10px;padding:12px;background:#29234e;color:#fff;font-weight:800;cursor:pointer}.contactPanel .closeChat{position:absolute;right:14px;top:10px;border:0;background:none;font-size:24px;cursor:pointer;color:#555}.contactLinks{display:flex;gap:8px;margin-top:10px}.contactLinks a{flex:1;text-align:center;text-decoration:none;border:1px solid #29234e;color:#29234e;padding:9px;border-radius:9px;font-weight:700}

.cat img,.heroPhoto img,.photo img,.shopFeature img{filter:none!important;image-rendering:auto}
.cat img{object-fit:cover;object-position:center}

.cat img{width:100%!important;height:220px!important;object-fit:contain!important;object-position:center!important;background:#fff!important;filter:none!important}
@media(max-width:700px){.cat img{height:180px!important}}

.cat img{image-rendering:auto!important;filter:none!important}

.cat img,.photo img,.heroPhoto img{filter:none!important;image-rendering:auto}
.cat img{object-fit:cover!important;object-position:center!important}

header .logo, .header .logo, .topbar .logo, nav .logo{
max-width:360px!important;max-height:92px!important;width:auto!important;height:auto!important;
object-fit:contain!important;filter:none!important;image-rendering:auto!important}
@media(max-width:700px){header .logo,.header .logo,.topbar .logo,nav .logo{max-width:270px!important;max-height:76px!important}}

/* Final branding polish only */
header .logo,.header .logo,.topbar .logo,nav .logo{
  max-width:440px!important;max-height:118px!important;width:auto!important;height:auto!important;
  object-fit:contain!important;filter:none!important;image-rendering:auto!important
}
.hero img[alt*="Take A Peek"], .heroPhoto img[alt*="Take A Peek"]{
  width:100%!important;max-width:620px!important;height:auto!important;object-fit:contain!important;
  filter:none!important;image-rendering:auto!important
}
img[alt*="Naked Science CBD product"]{
  image-rendering:auto!important;filter:none!important
}
@media(max-width:700px){
 header .logo,.header .logo,.topbar .logo,nav .logo{max-width:330px!important;max-height:96px!important}
}

/* Requested final top-logo enlargement only */
header .logo,.header .logo,.topbar .logo,nav .logo{
  width:min(700px,58vw)!important;
  max-width:700px!important;
  max-height:190px!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:700px){
  header .logo,.header .logo,.topbar .logo,nav .logo{
    width:min(430px,82vw)!important;
    max-width:430px!important;
    max-height:130px!important;
  }
}

/* Final requested logo/product polish only */
header .logo,.header .logo,.topbar .logo,nav .logo{
  width:min(820px,68vw)!important;
  max-width:820px!important;
  max-height:225px!important;
  height:auto!important;
  object-fit:contain!important;
}
header,.header,.topbar,nav{
  border-bottom:none!important;
  box-shadow:none!important;
}
img[alt*="Naked Science CBD product"]{
  image-rendering:auto!important;
  filter:none!important;
}
@media(max-width:700px){
  header .logo,.header .logo,.topbar .logo,nav .logo{
    width:min(500px,90vw)!important;
    max-width:500px!important;
    max-height:150px!important;
  }
}

/* Remove line beneath top Naked Science logo */
header, .header, .topbar, nav,
header::before, header::after,
.header::before, .header::after,
.topbar::before, .topbar::after,
nav::before, nav::after {
  border-bottom: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
header hr, .header hr, .topbar hr, nav hr {
  display:none !important;
  border:0 !important;
  height:0 !important;
  margin:0 !important;
}

img[alt*="Naked Science CBD product"]{
  filter:none!important;
  image-rendering:auto!important;
  object-fit:cover!important;
}
