/*
Theme Name: Herbal Haven Redesign
Description: Herbal Haven homepage design for preview and checkout integration.
Version: 0.6.0
Text Domain: herbal-haven
*/
:root{--line:#d8dece;--ink:#222;--paper:#fff;--muted:#555}.preview-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.logo img,.nav-logo img{max-width:155px;max-height:62px;object-fit:contain}.banner-bg{background-image:linear-gradient(105deg,#a0c43be8,#6aa51ce8),url('assets/1.png')}.tg-video-bg{background-image:linear-gradient(105deg,#a0c43be8,#6aa51ce8),url('assets/3.png')}.tg-testimonial-bg{background-image:linear-gradient(105deg,#a0c43be8,#6aa51ce8),url('assets/2.png')}.tg-banner-img img{width:min(100%,510px);border-radius:6px}.price{display:flex;gap:12px;align-items:center}.detail-layout img{width:100%}.button{border:0;background:#568223;color:white;border-radius:24px;padding:10px 18px}.dialog-top button{margin-left:auto}a:focus-visible,button:focus-visible{outline:3px solid #2f5922;outline-offset:3px}dialog{border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:22px;width:min(760px,calc(100% - 24px));max-height:calc(100% - 30px)}
dialog::backdrop{background:#0e211bb0}
.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}
.dialog-top button{margin-left:auto;border:1px solid var(--line);background:transparent;border-radius:5px;padding:8px 12px}
.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.detail-layout img{width:100%;height:auto;border-radius:4px}.detail-layout p{margin-top:12px}
#cart{width:min(510px,calc(100% - 24px))}.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.cart-item img{width:64px;height:64px}.cart-item button{min-width:36px;min-height:36px;border:1px solid var(--line);background:white;border-radius:4px}.quantity{display:flex;gap:7px;align-items:center}.subtotal{display:flex;justify-content:space-between;margin:15px 0}.cart-note{color:var(--muted)}
@media(max-width:600px){.detail-layout{grid-template-columns:1fr}.detail-layout img{max-width:240px}}@media(prefers-reduced-motion:reduce){.wow{animation:none!important}}
.pricing-img img{width:175px;max-width:100%;border-radius:6px}.inner-shop-details-img img{max-height:430px;object-fit:contain}.tg-testimonial-thumb img{width:88px;height:88px;object-fit:cover;border-radius:50%}.tg-testimonial-active .slick-slide{padding-inline:12px}.tg-testimonial-active .slick-dots{position:static;display:flex!important;justify-content:center;gap:9px;padding:20px 0 0;list-style:none}.tg-testimonial-active .slick-dots button{font-size:0;border:0;border-radius:50%;width:10px;height:10px;background:#fff}.tg-testimonial-active .slick-active button{background:#94bf31}

.hero-packshots{position:relative;height:clamp(330px,35vw,480px);isolation:isolate}.hero-packshots img.packshot{position:absolute;top:50%;left:50%;width:100%;max-width:none;height:auto;border-radius:0;clip-path:polygon(31% 25%,34% 23%,65% 23%,68% 25%,69% 32%,68% 36%,71% 41%,72% 79%,70% 84%,64% 87%,35% 87%,30% 85%,28% 80%,28% 43%,31% 37%,31% 33%);filter:drop-shadow(0 12px 12px #20330c70)}.hero-packshots .front{transform:translate(-50%,-50%) scale(1.18);z-index:2}.hero-packshots .back-left{transform:translate(-72%,-46%) scale(.94)}.hero-packshots .back-right{transform:translate(-28%,-46%) scale(.94)}.herbal-supplement-img img{max-width:min(100%,430px);border-radius:6px}@media(max-width:575px){.hero-packshots{height:250px}.hero-packshots img.packshot{max-width:360px}}

.hero-packshots img.packshot{clip-path:polygon(33% 24%,36% 23%,63% 23%,66% 24%,67% 31%,66% 35%,68% 38%,69% 42%,69% 77%,68% 80%,64% 82%,37% 82%,33% 81%,31% 78%,31% 43%,32% 38%,34% 35%,33% 32%)}
.tg-features-area [class^="flaticon-"]::before,.tg-service-area [class^="flaticon-"]::before{content:"✦";font:normal 1em Georgia,serif}
.tg-shop-action .flaticon-shopping-cart-1::before{content:"+";font:700 22px Roboto,sans-serif}.tg-shop-action .flaticon-search::before{content:"⌕";font:700 22px Roboto,sans-serif}

.hero-packshots img.back-left{clip-path:polygon(34% 17%,62% 17%,66% 19%,66% 29%,64% 32%,69% 37%,70% 43%,70% 86%,67% 91%,32% 91%,29% 87%,29% 44%,31% 37%,35% 31%,34% 28%)}.hero-packshots img.back-right{clip-path:polygon(35% 16%,63% 16%,66% 19%,66% 28%,64% 30%,68% 34%,70% 39%,70% 83%,67% 87%,32% 87%,29% 83%,29% 40%,31% 35%,35% 30%,34% 28%)}
.tg-banner-area.banner-bg,.tg-banner-area.banner-bg [id^="jarallax-container"]>div{background-image:linear-gradient(105deg,#a0c43beb,#6aa51ceb),url("assets/1.png")!important}
.tg-banner-img .hero-packshots{height:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:12px}
.tg-banner-img .hero-packshots img.packshot{position:static;width:100%;height:auto;aspect-ratio:1;object-fit:contain;transform:none;clip-path:none;filter:none;border-radius:8px;box-shadow:0 12px 24px #28400940}
.tg-banner-img .hero-packshots img.front{grid-column:2;grid-row:1;transform:scale(1.09)}
.tg-banner-img .hero-packshots img.back-right{grid-column:3;grid-row:1}
@media(max-width:480px){.tg-banner-img .hero-packshots{gap:6px;padding:7px}}
#feature .tg-service-item{height:calc(100% - 30px)}
#feature .tg-service-content a{display:inline-block}
#vitamen-feature.tg-video-bg{background-image:linear-gradient(105deg,#a0c43be8,#6aa51ce8),url("assets/2.png")}
.footer-style-two .footer-social a{display:inline-flex;align-items:center;justify-content:center}
.footer-style-two .footer-social svg{display:block;flex:none}
.journal-article{display:none}
.journal-article:target{display:block;scroll-margin-top:105px;max-width:760px;margin:0 auto 75px;padding:clamp(22px,5vw,52px);border:1px solid #dfe6d9;border-radius:10px;background:#fafbf6;color:#253b2d}
.journal-article h2{font-size:clamp(2rem,5vw,3.1rem);margin:0 0 24px}
.journal-article h3{font-size:1.45rem;margin:30px 0 10px}
.journal-article p{color:#465a4c;line-height:1.7}
.journal-article img{display:block;width:min(100%,460px);height:auto;border-radius:8px;margin:0 auto}
.journal-article .journal-back{display:inline-block;margin-bottom:24px;text-decoration:underline}
.journal-article .journal-category{color:#526a3e;font-weight:700}
.journal-article .tg-btn{margin-top:12px}
.tg-banner-img .hero-lifestyle{position:relative;margin:0 auto;width:min(100%,420px);text-align:left}
.tg-banner-img .hero-lifestyle-photo{width:100%;height:auto;display:block;aspect-ratio:3/2;object-fit:contain;border-radius:12px;box-shadow:0 12px 28px #36501d50}
.hero-lifestyle figcaption{width:max-content;max-width:100%;background:#223a25d9;color:#fffdf1;border-radius:3px;position:absolute;top:12px;left:12px;padding:4px 8px;font-size:.76rem;line-height:1.4}
.hero-product-lineup{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:88%;margin:-26px auto 0}
.hero-product-lineup a{display:block;overflow:hidden;background:#fffdf4;border:1px solid #fffefa;border-radius:9px;color:#263e2c;text-align:center;box-shadow:0 8px 20px #31451f33}
.tg-banner-img .hero-product-lineup img{display:block;width:100%;height:auto;aspect-ratio:1.36;object-fit:cover;object-position:center 48%;border-radius:0}
.hero-product-lineup span{display:block;padding:6px 2px;font-size:clamp(.78rem,2vw,.96rem);font-weight:700}
.hero-product-lineup a:hover span{background:#e9f0da}
@media(max-width:575px){.hero-product-lineup{width:94%;gap:5px;margin-top:-12px}}
.hero-bottles{position:relative;isolation:isolate;width:min(100%,460px);aspect-ratio:1.36;margin:auto;filter:drop-shadow(0 12px 14px #344d2570)}
.hero-bottle-masks{position:absolute}
.tg-banner-img .hero-bottles .hero-bottle{display:block;position:absolute;width:100%;max-width:none;height:auto;border-radius:0;top:50%;left:50%;transform-origin:center}
.hero-bottle-left{clip-path:url(#jointflex-bottle);transform:translate(-73%,-49%) scale(.79)}
.hero-bottle-right{clip-path:url(#vitamen-bottle);transform:translate(-27%,-49%) scale(.79)}
.hero-bottle-front{clip-path:url(#digestora-bottle);transform:translate(-50%,-49%) scale(1.05);z-index:1}



.hh-inner-page{margin:0;background:#f7f8f3;color:#20241c;font:16px/1.6 Roboto,Arial,sans-serif}
.hh-inner-page h1,.hh-inner-page h2,.hh-inner-page h3,.hh-inner-page .hh-site-footer strong{font-family:Oswald,Arial,sans-serif;font-weight:600;line-height:1.15}
.hh-shell{width:min(1130px,calc(100% - 40px));margin-inline:auto}
.hh-site-header{background:#fff;border-bottom:1px solid #e8ecd9}
.hh-header-row,.hh-footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:18px}
.hh-logo img{display:block;width:136px;height:auto}
.hh-header-row nav,.hh-footer-row nav{display:flex;flex-wrap:wrap;gap:clamp(12px,3vw,32px)}
.hh-header-row nav a{text-transform:uppercase;color:#252a21;font-size:.88rem;font-weight:700;text-decoration:none}
.hh-header-row nav a:hover,.hh-page-content a:not(.hh-button):hover{color:#456313}
.hh-page-hero{padding:clamp(34px,6.5vw,80px) 0;background:linear-gradient(105deg,#91b936,#6ba51d);color:#fff}
.hh-page-hero h1{font-size:clamp(2.35rem,6vw,4.3rem);text-transform:uppercase;margin:0}
.hh-page-content{padding-block:clamp(32px,6vw,68px);min-height:46vh}
.hh-page-content a:not(.hh-button){color:#46651b}
.hh-button,.hh-inner-page .wc-block-components-button.contained,.hh-inner-page .woocommerce button.button.alt,.hh-inner-page .woocommerce a.button.alt{display:inline-flex;align-items:center;justify-content:center;background:#4e7219;color:#fff;border:0;border-radius:999px;padding:12px 23px;min-height:44px;font:700 .9rem/1.25 Roboto,Arial,sans-serif;text-decoration:none;cursor:pointer}
.hh-button:hover,.hh-inner-page .wc-block-components-button.contained:hover{background:#395412;color:#fff}
.hh-inner-page :focus-visible{outline:2px solid #527b1c;outline-offset:3px}
.hh-page-content .wc-block-cart__sidebar,.hh-page-content .wc-block-checkout__sidebar{padding:24px;background:#fff;border:1px solid #e0e7d5;border-radius:12px}
.hh-page-content .wc-block-components-form input:not([type=radio]):not([type=checkbox]),.hh-page-content .wc-block-components-form select{border-color:#a8b696}
.hh-site-footer{background:#20231d;color:#fff}
.hh-footer-row p{margin:5px 0 0;color:#d5dac9}
.hh-footer-row a{color:#fff;text-decoration:none}
.hh-contact{display:grid;grid-template-columns:1fr 1.3fr;align-items:start;gap:clamp(24px,7vw,90px)}
.hh-contact h2{margin-top:0}
.hh-contact-form{display:grid;gap:16px;padding:clamp(20px,4vw,34px);background:#fff;border:1px solid #e0e7d5;border-radius:12px}
.hh-contact-form label{display:grid;gap:6px;font-weight:600}
.hh-contact-form input:not([type=hidden]),.hh-contact-form textarea{box-sizing:border-box;width:100%;padding:11px;border:1px solid #a8b696;border-radius:6px;font:inherit}
.hh-contact-form button{justify-self:start}
@media(max-width:660px){.hh-contact{grid-template-columns:1fr}.hh-header-row{flex-wrap:wrap}.hh-header-row nav{order:3;width:100%}.hh-footer-row{align-items:start;flex-direction:column}}


.hh-home-actions{display:flex;align-items:center;gap:10px;margin-left:16px}
.hh-home-cart{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d5dfc6;border-radius:999px;color:#345314;background:#fff;min-height:44px;padding:7px 12px;white-space:nowrap;font:700 .9rem/1 Roboto,Arial,sans-serif}
.hh-home-cart:hover{background:#eff5e5;color:#243b0f}
.hh-home-actions svg,.mobile-menu .close-btn svg{display:block;flex:none}
.hh-home-actions button.mobile-nav-toggler{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #d5dfc6;border-radius:8px;background:#fff;color:#345314;padding:0;margin:0}
.mobile-menu .close-btn{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:inherit;padding:0}
.hh-clock{display:inline-block;position:relative;width:.88em;height:.88em;border:1px solid currentColor;border-radius:50%;margin-right:.4em;vertical-align:-.04em}
.hh-clock::before{content:"";position:absolute;left:46%;top:20%;height:34%;width:29%;border-left:1px solid;border-bottom:1px solid}
@media(max-width:1199px){.hh-home-actions button.mobile-nav-toggler{display:inline-flex}.tg-menu-area .menu-nav{justify-content:space-between}.tg-menu-area .header-btn{display:none!important}}
@media(max-width:767px){
  .tg-banner-area .tg-banner-content .title{font-size:clamp(34px,8vw,52px);line-height:1.08}
  .tg-banner-img .hero-bottles{width:min(100%,345px)}
  .tg-video-area .tg-video-img img,.inner-shop-details-img img,.tg-blog-post-thumb img{width:100%;height:auto;max-width:100%}
  .hh-page-content .wc-block-cart__sidebar,.hh-page-content .wc-block-checkout__sidebar{padding:16px}
  .hh-page-content .wc-block-components-main,.hh-page-content .wc-block-components-sidebar{min-width:0}
  .hh-page-content .wc-block-cart-items__row{overflow-wrap:anywhere}
}
@media(max-width:480px){.hh-shell{width:calc(100% - 28px)}.hh-header-row{padding-block:12px}.hh-header-row nav{justify-content:space-between;gap:8px}.hh-logo img{width:116px}.hh-home-actions{margin-left:6px;gap:6px}}



.hh-header-row .hh-header-cart{gap:6px;box-sizing:border-box;min-height:40px;padding:8px 15px;white-space:nowrap}
.hh-header-cart svg{flex:none}
.hh-product-main .hh-page-hero{padding-block:20px}
.hh-product-main .hh-page-hero a{color:#15230d;font-weight:700}
.hh-product-content div.product .product_title{font-size:clamp(2rem,5vw,3.6rem);margin-bottom:16px}
.hh-product-content div.product p.price,.hh-product-content div.product span.price{color:#486c1c;font-weight:700}
.hh-product-content .woocommerce-product-gallery img{border-radius:10px}
.hh-product-content .quantity input{min-height:44px;border:1px solid #a8b696;border-radius:7px}
.hh-product-content .woocommerce-breadcrumb{margin:0 0 20px}
@media(max-width:660px){
  .hh-header-row{column-gap:14px;row-gap:0;padding-block:8px 0}
  .hh-logo img{width:102px}
  .hh-header-row nav{justify-content:space-between;gap:8px;border-top:1px solid #edf0e5}
  .hh-header-row nav a{padding-block:9px;font-size:.8rem}
  .hh-page-hero{padding-block:20px}
  .hh-page-hero h1{font-size:clamp(1.9rem,8vw,2.35rem)}
  .hh-page-content{padding-block:20px 40px}
  .hh-page-content .wc-block-cart__sidebar,.hh-page-content .wc-block-checkout__sidebar{box-sizing:border-box;padding:12px}
  .hh-page-content .wc-block-components-sidebar-layout{margin:0}
  .hh-page-content .wc-block-components-form .wc-block-components-text-input input{font-size:16px}
  .hh-product-content div.product div.images,.hh-product-content div.product div.summary{float:none;width:100%;margin-bottom:22px}
  .hh-product-content div.product .product_title{font-size:clamp(1.85rem,8vw,2.6rem)}
}

