/*
Theme Name: AMS Life Institute Digital Store
Theme URI: https://amslifeinstitute.com
Author: AMS Life Institute
Version: 3.0.0
Description: Modern red, charcoal and warm-white digital products storefront theme.
*/
:root{--red:#f47b20;--dark:#16191f;--ink:#22252b;--cream:#fff8f1;--muted:#6b7280;--line:#e9e5df;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}
a{color:var(--red);text-decoration:none}a:hover{opacity:.85}img{max-width:100%;height:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:99}.header-inner{max-width:1200px;margin:auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:13px;color:var(--dark);font-weight:900}.brand img{width:90px;height:54px;object-fit:contain}.brand-title{font-size:20px;line-height:1.15;letter-spacing:.02em}.brand-tag{font-size:11px;color:var(--red);font-weight:800;letter-spacing:.18em}
.nav-menu{display:flex;gap:25px;align-items:center}.nav-menu a{color:#343840;font-weight:700;font-size:14px}.nav-menu a:hover{color:var(--red)}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:white!important;padding:13px 21px;border-radius:10px;font-weight:800;border:0;cursor:pointer}.btn.secondary{background:var(--dark)}.wrap{max-width:1200px;margin:auto;padding:0 24px}
.hero{padding:78px 0 65px;background:linear-gradient(135deg,#fff 0%,#fff4e8 65%,#ffead6 100%);position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.eyebrow{color:var(--red);font-size:12px;letter-spacing:.18em;font-weight:900;text-transform:uppercase}.hero h1{font-size:clamp(40px,5.5vw,68px);line-height:1.05;letter-spacing:-.045em;margin:18px 0;color:var(--dark)}.hero h1 span{color:var(--red)}.hero p{font-size:18px;color:#5b6068;max-width:650px}.hero-panel{background:#fff;border:1px solid #eee4df;border-radius:22px;padding:28px;box-shadow:0 20px 55px rgba(27,25,25,.07)}.hero-panel h3{margin:0 0 16px;color:var(--dark)}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.category{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.category b{display:block;color:var(--dark)}.category small{color:var(--muted)}
.section{padding:65px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section h2{font-size:clamp(28px,3vw,38px);line-height:1.15;margin:0 0 10px;color:var(--dark)}.section-intro{color:var(--muted);margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.product-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 8px 24px rgba(25,25,25,.035)}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1eee9}.product-card .product-content{padding:20px}.product-card h3{font-size:18px;line-height:1.4;margin:0 0 9px;color:var(--dark)}.price{font-weight:900;color:var(--red);margin:10px 0 15px}.product-card .button,.woocommerce a.button,.woocommerce button.button{background:var(--dark);color:white;border-radius:9px;padding:12px 17px;border:0;font-weight:800}.benefits{background:var(--dark);color:#fff}.benefits h2{color:white}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.benefit{background:#252932;border:1px solid #383d46;border-radius:14px;padding:22px}.benefit h3{margin:0 0 7px;color:white}.benefit p{margin:0;color:#c8cbd0}.founder{display:grid;grid-template-columns:280px 1fr;gap:32px;align-items:center;background:white;border:1px solid var(--line);border-radius:20px;padding:28px}.founder img{width:100%;max-height:360px;object-fit:cover;object-position:center;border-radius:14px}.founder h2{margin:0 0 8px}.founder .role{color:var(--red);font-weight:900}.contact-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.site-footer{background:#11151b;color:#d5d7db;padding:45px 0 25px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px}.site-footer h3{color:#fff}.site-footer a{color:#eee}.footer-bottom{border-top:1px solid #343942;margin-top:28px;padding-top:18px;color:#aaa;font-size:13px}.whatsapp-float{position:fixed;right:22px;bottom:22px;background:#25d366;color:#fff;border-radius:50%;width:58px;height:58px;display:flex;align-items:center;justify-content:center;font-size:25px;box-shadow:0 8px 22px #0002;z-index:999}
@media(max-width:850px){.hero-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.nav-menu{gap:12px}.header-cta{display:none}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.header-inner{padding:10px 15px;flex-wrap:wrap}.brand img{width:65px;height:43px}.brand-title{font-size:16px}.nav-menu{width:100%;justify-content:space-between;gap:5px}.nav-menu a{font-size:12px}.hero{padding:45px 0}.wrap{padding:0 16px}.product-grid,.benefit-grid,.category-grid{grid-template-columns:1fr}.section{padding:45px 0}.founder{grid-template-columns:1fr}.founder img{max-width:280px;margin:auto}.section-head{align-items:start;flex-direction:column}.footer-grid{grid-template-columns:1fr}}

/* Product cards without an uploaded product image display no placeholder. */
.product-card:not(:has(img)) .product-content{padding-top:24px}

/* v1.8 section spacing and reading order */
.hero{padding-top:62px;padding-bottom:62px}.section-intro{max-width:900px;font-size:18px;line-height:1.8}.founder{margin:8px 0}

.showcase-image{display:block;width:100%;margin-top:28px;border-radius:22px;border:1px solid var(--line);box-shadow:0 12px 32px rgba(20,20,20,.07)}.gallery-section{background:#fff}.policies-section{background:#f4f0eb}.policy-list{margin-top:28px}.policy-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin:0 0 22px;box-shadow:0 5px 18px rgba(20,20,20,.025)}.policy-item h3{font-size:23px;color:var(--dark);margin:0 0 14px;padding-bottom:12px;border-bottom:2px solid var(--red)}.policy-content{color:#4d535c;line-height:1.8}.policy-content h1{font-size:25px;color:var(--dark)}.policy-content h3{font-size:19px;color:var(--dark);border:0;padding:0;margin:20px 0 8px}.policy-content ul{padding-left:24px}.policy-content p{margin:10px 0}.policy-content li{margin:5px 0}

/* Version 2.2 layout and orange theme fixes */
.about-details{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}
.about-details>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}
.about-details h3{margin-top:0;color:#b85c12}
.resource-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}
.resource-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(60,35,10,.05)}
.resource-card img{width:100%;height:190px;object-fit:cover;object-position:center}
.resource-card:nth-child(2) img{object-position:left center}
.resource-card:nth-child(3) img{object-position:bottom left}
.resource-card:nth-child(4) img{object-position:right bottom}
.resource-card h3{margin:15px 18px 5px;color:#a94f0b}
.resource-card p{margin:0 18px 18px;color:#6b7280;font-size:14px}
.policies-section{overflow:hidden}
.policy-list{display:grid;gap:22px;margin-top:30px;width:100%;max-width:100%}
.policy-item{width:100%;max-width:100%;min-width:0;background:#fff;border:1px solid #eadfd2;border-radius:20px;padding:28px;overflow-wrap:anywhere;box-shadow:0 8px 24px rgba(60,35,10,.035)}
.policy-item h3{color:#1b2635;border-bottom:2px solid #f47b20;padding-bottom:14px;margin:0 0 20px;font-size:26px}
.policy-content{max-width:100%;overflow-wrap:anywhere;word-break:normal}
.policy-content h1{font-size:30px;margin:0 0 16px;color:#1b2635}
.policy-content h2,.policy-content h3{font-size:21px;color:#b85c12;border:0;margin:24px 0 8px;padding:0}
.policy-content p,.policy-content li{line-height:1.8;color:#454d59}
.policy-content ul{padding-left:24px}
.about-page{font-size:17px;line-height:1.8}
.about-page .about-lead{font-size:22px;color:#515b69}
.about-page-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}
.about-page-gallery img{width:100%;height:220px;object-fit:cover;border-radius:16px}
.about-founder{display:grid;grid-template-columns:220px 1fr;gap:25px;align-items:center;background:#fff;padding:24px;border-radius:18px;border:1px solid var(--line)}
.about-founder img{width:220px;height:260px;object-fit:cover;border-radius:14px}
@media(max-width:850px){.resource-gallery{grid-template-columns:repeat(2,1fr)}.about-details{grid-template-columns:1fr}.about-page-gallery{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.resource-gallery,.about-page-gallery{grid-template-columns:1fr}.resource-card img{height:220px}.policy-item{padding:18px}.policy-item h3{font-size:22px}.about-founder{grid-template-columns:1fr}.about-founder img{width:100%;max-height:320px}}

/* v2.3 About page policies and distinct category artwork */
.resource-card img{height:230px;object-fit:cover;object-position:center}
.about-page-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.about-page-gallery img{height:300px;object-fit:cover}
.about-page h2{margin-top:36px}
.about-page .policy-list{margin-top:26px}
.about-page .policy-item{margin-bottom:20px}
.policy-content{white-space:normal}
@media(max-width:700px){.about-page-gallery{grid-template-columns:1fr}.about-page-gallery img{height:230px}}

/* v3 professional refresh */
:root{--red:#d9651b;--dark:#17232f;--ink:#273545;--cream:#fbf8f4;--muted:#657486;--line:#e7e1d9}
body{background:#fbf8f4;color:#263747;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.site-header{box-shadow:0 3px 18px rgba(25,35,45,.04)}.header-inner{max-width:1280px;padding-top:17px;padding-bottom:17px}.brand img{width:98px;height:56px}.hero{background:linear-gradient(125deg,#fff 0%,#fbf2e8 55%,#f6e5d5 100%);padding:86px 0}.hero-grid{gap:56px}.hero h1{font-size:clamp(46px,6vw,76px);letter-spacing:-.05em}.hero-panel{border-radius:26px;box-shadow:0 22px 65px rgba(26,39,52,.08);padding:32px}.category{border-radius:14px;padding:17px;background:linear-gradient(180deg,#fff,#fdfaf7)}.section{padding:76px 0}.section h2{letter-spacing:-.025em}.product-card{border-radius:20px;box-shadow:0 8px 26px rgba(22,35,47,.04);transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(22,35,47,.08)}.resource-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.resource-card img{height:auto;aspect-ratio:1.65;object-fit:contain;background:#f7f5f1;padding:10px}.resource-card{border-radius:20px;overflow:hidden}.resource-card h3{color:#b95413}.about-page-gallery img{height:auto;aspect-ratio:1.65;object-fit:contain;background:#f7f5f1;padding:10px;border:1px solid #e8e1d9}.policies-section{background:#f3eee8}.policy-item{border-radius:18px;box-shadow:0 5px 20px rgba(30,40,50,.04)}.policy-item h3{border-color:#df792d}.about-page{max-width:1100px;margin:0 auto}.about-page .policy-item{margin-bottom:18px}.about-founder{border-radius:22px;background:#fffaf5}.btn,.header-cta{background:linear-gradient(135deg,#d9651b,#f08b3d);box-shadow:0 6px 16px rgba(217,101,27,.15)}.btn.secondary{background:#17232f}.site-footer{background:#17232f}.whatsapp-float{box-shadow:0 10px 25px #0002}
@media(max-width:850px){.resource-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.hero{padding:48px 0}.section{padding:52px 0}.resource-gallery{grid-template-columns:1fr}.resource-card img{aspect-ratio:1.6}}
