/*
Theme Name: VHB Beauty Editorial
Theme URI: https://viralhealthbeauty.com/
Author: VHB
Description: Responsive editorial affiliate theme for beauty, wellness, hair care, skincare and curated product recommendations.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: vhb-beauty
*/
:root{--green:#073f32;--green2:#0b5945;--gold:#b98443;--gold2:#d4ad72;--cream:#fbf8f1;--sand:#f0e8d9;--ink:#1d2b25;--muted:#66736c;--line:#e7dfd1;--white:#fff;--shadow:0 12px 34px rgba(28,48,38,.08);--radius:14px;--font:"Josefin Sans",sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:var(--gold)}
button,input,select,textarea{font:inherit}
.container{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.announcement{background:var(--green);color:#f8f4e9;font-size:12px;letter-spacing:.11em;text-transform:uppercase}
.announcement-inner{min-height:34px;display:flex;align-items:center;justify-content:center;gap:10px}
.announcement-dot{color:var(--gold2)}
.site-header{position:relative;z-index:30;background:rgba(251,248,241,.97);border-bottom:1px solid var(--line)}
.header-inner{min-height:104px;display:flex;align-items:center;gap:38px}
.brand{font-family:Georgia,"Times New Roman",serif;font-size:58px;line-height:.9;letter-spacing:-.09em;font-weight:500;color:var(--green);flex:0 0 auto}
.brand:hover{color:var(--green)}
.primary-nav{margin-left:auto}
.primary-nav .menu{display:flex;align-items:center;gap:clamp(17px,2.2vw,34px);list-style:none;margin:0;padding:0}
.primary-nav li{list-style:none;margin:0;padding:0}
.primary-nav a{font-size:15px;font-weight:700;white-space:nowrap;color:#26352e;transition:color .2s}
.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current-cat>a{color:var(--gold)}
.header-actions{display:flex;align-items:center;gap:20px}
.header-cta{display:inline-flex;align-items:center;gap:12px;background:var(--green);color:#fff!important;padding:13px 18px;border-radius:4px;font-weight:700;font-size:14px;white-space:nowrap;transition:background .2s}
.header-cta:hover,.button:hover{background:var(--gold);color:#fff!important}
.search-link{font-size:30px;line-height:1;color:var(--green)}
.menu-toggle{display:none}
main{min-height:55vh}
.hero{padding:44px 0 34px;background:linear-gradient(115deg,#fbf8f1 0%,#f5eee2 100%)}
.hero-grid{display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:58px}
.eyebrow{margin:0 0 14px;color:var(--gold);font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.22em;font-weight:700}
.eyebrow span{padding:0 4px}
.hero h1{max-width:610px;margin:0 0 18px;color:var(--green);font-size:clamp(48px,5.3vw,76px);line-height:.99;letter-spacing:-.055em;font-weight:700}
.hero-copy{max-width:530px;margin:0 0 25px;color:#5e6b63;font-size:19px;line-height:1.65}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap}
.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:48px;padding:12px 20px;border:1px solid var(--green);border-radius:5px;background:var(--green);color:#fff!important;font-size:14px;font-weight:700;transition:background .2s,border-color .2s}
.button-outline{background:transparent;color:var(--green)!important;border-color:#b9b09f}
.button-outline:hover{background:var(--green);border-color:var(--green);color:#fff!important}
.hero-media{height:390px;overflow:hidden;border-radius:110px 16px 16px 16px;background:#e9decb}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-trust{display:flex;gap:25px;margin-top:30px}
.hero-trust>div{display:flex;align-items:center;gap:10px;color:#45554c;font-size:13px;line-height:1.35;font-weight:600}
.trust-icon{color:var(--green);font-size:25px}
.section{padding:64px 0}
.section-heading{margin-bottom:26px}
.section-heading-split{display:flex;align-items:end;justify-content:space-between;gap:30px}
.section-heading h2,.page-heading h1{margin:0;color:var(--green);font-size:clamp(32px,3.5vw,47px);line-height:1.08;letter-spacing:-.045em}
.section-heading p:not(.eyebrow){margin:10px 0 0;color:var(--muted);font-size:16px;max-width:500px}
.section-heading-split>p{max-width:440px;margin:0 0 4px;color:var(--muted)}
.text-link{display:inline-flex;gap:10px;align-items:center;color:var(--green);font-weight:700;border-bottom:1px solid var(--gold);padding-bottom:4px;white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.category-card{height:190px;position:relative;overflow:hidden;border-radius:12px;background:#d7c8aa;color:#fff;isolation:isolate}
.category-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.category-card:hover>img{transform:scale(1.06)}
.category-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,35,27,.78),rgba(4,35,27,.02) 75%);z-index:1}
.category-card-copy{position:absolute;z-index:2;left:20px;right:54px;bottom:18px;display:flex;flex-direction:column;line-height:1.3}
.category-card-copy strong{font-size:23px;color:#fff}
.category-card-copy small{font-size:13px;color:#f5f1e8;margin-top:4px}
.category-arrow{position:absolute;z-index:2;right:16px;bottom:19px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--green);font-size:18px}
.picks-section{background:#f2ebde}
.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.product-card{min-width:0;background:#fff;border:1px solid #e8e0d4;border-radius:11px;overflow:hidden;box-shadow:0 5px 18px rgba(32,48,38,.045);display:flex;flex-direction:column}
.product-image{display:block;aspect-ratio:1.12/1;overflow:hidden;background:#f5f0e7}
.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.product-card:hover .product-image img{transform:scale(1.045)}
.product-content{padding:14px 15px 16px;display:flex;flex-direction:column;flex:1}
.product-category{color:var(--gold);font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-weight:700}
.product-content h3{margin:7px 0 9px;color:var(--green);font-size:17px;line-height:1.3}
.rating{color:#c18a3c;letter-spacing:1px;font-size:16px;line-height:1.3}
.rating-count{color:var(--muted);font-size:11px;letter-spacing:0}
.product-price{margin:8px 0 12px;color:var(--ink);font-weight:700}
.product-content .button{width:100%;margin-top:auto;padding:9px 10px;min-height:41px;font-size:13px}
.deal-tag{display:inline-block;margin-left:5px;padding:2px 7px;border-radius:3px;background:#f4ead8;color:#865a25;font-size:10px}
.empty-shelf{grid-column:1/-1;display:flex;align-items:center;gap:25px;padding:24px 28px;background:rgba(255,255,255,.78);border:1px solid #e4d9c7;border-radius:12px}
.empty-shelf-mark{font:42px Georgia,serif;letter-spacing:-.1em;color:var(--green);flex:0 0 auto}
.empty-shelf h3{margin:0 0 5px;color:var(--green);font-size:21px}
.empty-shelf p{margin:0;color:var(--muted);font-size:14px}
.empty-shelf>a{margin-left:auto;color:var(--green);font-weight:700;white-space:nowrap}
.editorial-band{padding:36px 0;background:#e9e1d1}
.editorial-band-inner{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:50px}
.editorial-band h2{max-width:500px;margin:0 0 12px;color:var(--green);font-size:clamp(35px,4vw,52px);line-height:1.04;letter-spacing:-.05em}
.editorial-band p:not(.eyebrow){max-width:470px;color:#58665e}
.editorial-band .button{margin-top:8px}
.editorial-band-image{height:250px;overflow:hidden;border-radius:12px}
.editorial-band-image img{width:100%;height:100%;object-fit:cover}
.article-grid,.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.article-card{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.article-image{display:block;aspect-ratio:16/10;background:#eee6d8;overflow:hidden}
.article-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.article-card:hover .article-image img{transform:scale(1.04)}
.article-body{padding:19px}
.article-body h3{margin:8px 0 9px;color:var(--green);font-size:21px;line-height:1.25}
.article-body p{margin:0 0 14px;color:var(--muted);font-size:15px}
.article-meta{color:var(--muted);font-size:12px}
.empty-articles{grid-column:1/-1;padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px}
.empty-articles h3{margin:0;color:var(--green)}
.empty-articles p{margin:5px 0 0;color:var(--muted)}
.trust-section{padding:55px 0;background:#f0eee4}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.trust-grid>div{padding:4px 18px;border-right:1px solid #d9d4c8}
.trust-grid>div:last-child{border:0}
.trust-grid>div>span{color:var(--green);font-size:28px}
.trust-grid h3{margin:7px 0 4px;color:var(--green);font-size:17px}
.trust-grid p{margin:0;color:var(--muted);font-size:14px}
.page-banner{padding:54px 0;background:var(--sand)}
.page-heading{max-width:850px;text-align:center;margin:auto}
.page-heading p{color:var(--muted);font-size:17px;margin:12px auto 0;max-width:680px}
.filter-pills{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px 0 34px}
.filter-pills a{padding:9px 17px;border:1px solid var(--line);border-radius:40px;background:#fff;font-size:14px;font-weight:700}
.filter-pills a.active,.filter-pills a:hover{background:var(--green);border-color:var(--green);color:#fff}
.listing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.content-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px}
.sidebar-box{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:18px}
.sidebar-box h3{margin:0 0 12px;color:var(--green);font-size:18px}
.sidebar-box ul{list-style:none;margin:0;padding:0}
.sidebar-box li{padding:8px 0;border-bottom:1px solid #f0ece5;font-size:14px}
.pagination{margin:38px 0;text-align:center}
.pagination .page-numbers{display:inline-block;padding:9px 14px;margin:3px;background:#fff;border:1px solid var(--line);border-radius:5px}
.pagination .current{background:var(--green);color:#fff;border-color:var(--green)}
.single-layout{max-width:880px;margin:58px auto}
.single-layout h1{font-size:clamp(36px,5vw,58px);line-height:1.08;color:var(--green)}
.single-featured{margin:26px 0;border-radius:12px;overflow:hidden}
.entry-content{font-size:18px;line-height:1.85}
.entry-content h2,.entry-content h3{color:var(--green);line-height:1.2}
.entry-content a{color:var(--green2);text-decoration:underline;text-underline-offset:3px}
.site-footer{margin-top:0;padding:55px 0 22px;background:#063b30;color:#fff}
.footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:40px}
.footer-brand{font:52px/1 Georgia,serif;letter-spacing:-.09em;color:#fff}
.site-footer h3{margin:0 0 15px;color:#f0d8b2;font-size:16px}
.site-footer p,.site-footer a{color:#e1e9e2;font-size:14px}
.site-footer p{max-width:300px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:9px 0}
.site-footer a:hover{color:var(--gold2)}
.footer-bottom{margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.2);color:#d0ddd4;font-size:12px}
.search-form{display:flex;gap:8px}
.search-form input{min-width:0;padding:12px;border:1px solid var(--line);border-radius:5px}
.search-form button{padding:0 16px;border:0;border-radius:5px;background:var(--green);color:#fff}
.empty-state{padding:30px;background:#fff;border:1px solid var(--line);border-radius:10px}
@media(max-width:1100px){
 .header-inner{gap:22px}.brand{font-size:52px}.primary-nav .menu{gap:16px}.primary-nav a{font-size:14px}
 .hero-grid{gap:34px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
 .container{width:min(100% - 36px,650px)}
 .header-inner{min-height:82px;gap:15px}.brand{font-size:48px}
 .menu-toggle{display:flex;width:42px;height:42px;margin-left:auto;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;background:#fff}
 .menu-toggle-lines,.menu-toggle-lines:before,.menu-toggle-lines:after{display:block;width:18px;height:2px;background:var(--green);position:relative}
 .menu-toggle-lines:before,.menu-toggle-lines:after{content:"";position:absolute;left:0}
 .menu-toggle-lines:before{top:-6px}.menu-toggle-lines:after{top:6px}
 .primary-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:18px 24px 24px;background:var(--cream);border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
 .primary-nav.is-open{display:block}.primary-nav .menu{display:flex;flex-direction:column;align-items:flex-start;gap:0}
 .primary-nav .menu li{width:100%;border-bottom:1px solid var(--line)}.primary-nav a{display:block;padding:12px 0;font-size:16px}
 .header-actions{gap:10px}.header-cta{padding:10px 12px;font-size:12px}.search-link{display:none}
 .hero{padding:34px 0}.hero-grid{grid-template-columns:1fr;gap:25px}.hero h1{font-size:clamp(43px,10vw,60px)}
 .hero-media{height:300px;border-radius:70px 12px 12px 12px}.hero-copy{font-size:17px}
 .section{padding:48px 0}.section-heading-split{align-items:flex-start;flex-direction:column;gap:12px}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{height:175px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .editorial-band-inner{grid-template-columns:1fr;gap:22px}.editorial-band-image{height:210px}
 .article-grid,.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .trust-grid{grid-template-columns:repeat(2,1fr);gap:18px}.trust-grid>div:nth-child(2){border:0}
 .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .content-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr);gap:25px}
 .hero-trust{gap:15px;flex-wrap:wrap}
}
@media(max-width:480px){
 .container{width:calc(100% - 30px)}.announcement-inner{font-size:10px;letter-spacing:.07em;gap:6px}
 .header-inner{min-height:72px}.brand{font-size:43px}.header-cta{font-size:11px;padding:9px 10px}
 .hero h1{font-size:42px}.hero-media{height:235px;border-radius:48px 10px 10px 10px}
 .hero-trust{gap:12px}.hero-trust>div{font-size:11px}
 .category-card{height:150px}.category-card-copy{left:12px;bottom:12px;right:42px}.category-card-copy strong{font-size:19px}.category-card-copy small{font-size:11px}
 .category-arrow{width:26px;height:26px;right:10px;bottom:12px}
 .product-content{padding:11px}.product-content h3{font-size:15px}
 .article-grid,.blog-grid{grid-template-columns:1fr}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .trust-grid{grid-template-columns:1fr}.trust-grid>div{border:0;border-bottom:1px solid #d9d4c8;padding:0 0 15px}
 .footer-grid{grid-template-columns:1fr}.footer-brand{font-size:46px}
 .empty-shelf{align-items:flex-start;flex-direction:column;gap:10px}.empty-shelf>a{margin-left:0}
 .page-banner{padding:38px 0}.page-heading h1{font-size:34px}
}
/* VHB LOGO SIZE FIX */
.site-header .brand img,
.site-header .custom-logo {
    width: auto !important;
    height: 85px !important;
    max-width: 220px !important;
    object-fit: contain;
    display: block;
}

.site-header .brand {
    display: flex;
    align-items: center;
    max-width: 240px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .site-header .brand img,
    .site-header .custom-logo {
        height: 60px !important;
        max-width: 160px !important;
    }
}
/* VHB TEXT LOGO SIZE */
/* VHB LOGO - FINAL SIZE */
.site-header .brand,
.site-header .brand .brand-name {
    font-size: 68px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -5px !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.site-header .brand {
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .site-header .brand,
    .site-header .brand .brand-name {
        font-size: 48px !important;
    }
}
/* VHB LOGO SIZE */
/* VHB LOGO SIZE - DESKTOP */
.site-header .brand img {
    width: 260px !important;
    height: auto !important;
    max-width: 260px !important;
    object-fit: contain !important;
    display: block !important;
}

/* VHB FULL-WIDTH BEAUTY HERO */

.hero {
    position: relative !important;
    min-height: 620px !important;
    padding: 75px 0 !important;
    overflow: hidden !important;
    background: #fbf8f1 !important;
}

.hero-grid {
    display: block !important;
    position: relative !important;
    min-height: 470px !important;
}

.hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

.hero-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(251,248,241,.97) 0%,
        rgba(251,248,241,.88) 35%,
        rgba(251,248,241,.30) 65%,
        rgba(251,248,241,.05) 100%
    );
}

.hero-copy {
    position: relative !important;
    z-index: 2 !important;
    max-width: 580px !important;
    padding: 65px 0 !important;
}

@media (max-width: 768px) {
    .hero {
        min-height: 560px !important;
        padding: 35px 0 !important;
    }

    .hero-grid {
        min-height: 490px !important;
    }

    .hero-media::after {
        background: linear-gradient(
            90deg,
            rgba(251,248,241,.94),
            rgba(251,248,241,.65)
        );
    }

    .hero-copy {
        padding: 45px 0 !important;
    }
}