/*
Theme Name: Hilltop Pharmacy
Theme URI: https://besthilltoprx.com
Author: Hilltop Pharmacy Website Team
Description: Hilltop Pharmacy storefront with responsive mobile navigation, green brand identity and custom pharmacy shopping experience. Build 058-HF1.
Version: 2.3.14
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: hilltop-pharmacy
*/
:root{--navy:#123f35;--navy-dark:#092d26;--gold:#ffca08;--text:#223729;--muted:#6b8474;--border:#e4eee8;--pale:#f6fbf8;--radius:14px;--max:1220px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--text);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input{outline-offset:3px}.container{max-width:var(--max);width:calc(100% - 48px);margin:auto}.site-top{background:var(--navy-dark);color:#fff;font-size:12px}.site-top .container{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:12px}.site-top a{color:#fff}.site-header{position:relative;background:#fff;border-bottom:1px solid var(--border);z-index:30}.header-inner{min-height:92px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;flex:0 0 auto}.brand img{width:min(310px,38vw);height:auto;display:block}.header-search{flex:1;min-width:220px}.search-form{display:flex;align-items:center;background:#fff;border:1.5px solid #dce9e1;border-radius:10px;overflow:hidden;width:100%}.search-form input{height:48px;border:0;background:transparent;padding:0 18px;flex:1;min-width:0;color:var(--text);outline:0}.search-form button{height:48px;padding:0 22px;border:0;background:var(--gold);color:var(--navy-dark);font-weight:800;cursor:pointer}.header-actions{display:flex;align-items:center;gap:17px;white-space:nowrap}.header-actions a{font-size:13px;font-weight:700}.cart-count{display:inline-grid;place-items:center;background:var(--gold);color:var(--navy);border-radius:50%;min-width:22px;height:22px;font-size:11px;padding:2px;margin-left:4px}.site-nav{background:var(--navy);color:#fff}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:50px}.nav-menu{list-style:none;display:flex;gap:28px;margin:0;padding:0;align-items:center;flex-wrap:wrap}.nav-menu a{color:#fff;font-size:13px;font-weight:700;display:block;padding:15px 0}.nav-menu a:hover,.nav-menu a:focus{color:var(--gold)}.nav-cta{background:var(--gold);color:var(--navy-dark)!important;padding:10px 18px;font-size:12px;font-weight:800;border-radius:8px;white-space:nowrap}.mobile-menu-button{display:none;border:1px solid #d2e1d7;border-radius:8px;padding:9px 12px;background:white;color:var(--navy);font-weight:750}.hero{background:linear-gradient(120deg,#14351f 0%,#204d2f 58%,#285738 100%);overflow:hidden;position:relative;color:#fff}.hero:before{content:'';position:absolute;right:-120px;top:-220px;width:600px;height:600px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 80px #ffffff07,0 0 0 180px #ffffff06}.hero-content{display:grid;grid-template-columns:1.12fr .88fr;gap:48px;min-height:485px;align-items:center;padding:68px 0}.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--gold)}.hero h1{font-family:Georgia,serif;font-size:clamp(38px,4.6vw,62px);font-weight:600;line-height:1.11;letter-spacing:-.04em;margin:17px 0 17px;max-width:680px}.hero p{color:#dbeae0;font-size:16px;line-height:1.8;max-width:550px;margin:0 0 23px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--gold);color:var(--navy-dark);border:2px solid var(--gold);border-radius:8px;padding:12px 20px;font-size:13px;font-weight:850;min-height:46px}.btn-outline{background:transparent;color:#fff;border-color:#8bac96}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:340px}.hero-art:before{content:'';position:absolute;width:340px;height:340px;border-radius:50%;background:#ffffff10;box-shadow:0 0 0 34px #ffffff08,0 0 0 75px #ffffff04}.hero-art img{max-width:300px;width:70%;position:relative;object-fit:contain;filter:drop-shadow(0 15px 25px #0d251570)}.hero-search{margin-top:22px;max-width:560px}.hero-search .search-form{border:2px solid #fff}.trust-strip{background:var(--pale);border-bottom:1px solid var(--border)}.trust-items{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:21px 0}.trust-item{display:flex;align-items:center;gap:13px;font-weight:750;font-size:13px;color:var(--navy)}.trust-icon{font-size:22px;display:grid;place-items:center;width:44px;height:44px;background:#e8f6ed;border-radius:12px}.section{padding:66px 0}.section-pale{background:var(--pale)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.section-head h2{font-size:clamp(26px,3vw,36px);margin:5px 0 0;color:var(--navy);font-family:Georgia,serif;font-weight:650}.section-head p{margin:4px 0 0;color:var(--muted);font-size:14px}.section-link{font-weight:800;font-size:13px;color:var(--navy);white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category-card{border:1px solid var(--border);border-radius:12px;padding:23px 18px;background:#fff;display:flex;align-items:center;gap:12px;min-height:88px;transition:.15s}.category-card:hover{border-color:var(--gold);transform:translateY(-2px)}.category-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:#fef5cd;font-size:19px;flex-shrink:0}.category-name{font-size:14px;font-weight:800;color:var(--navy)}.category-count{color:var(--muted);font-size:11px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--border);background:#fff;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .15s}.product-card:hover{box-shadow:0 8px 30px #1a402712}.product-thumb{aspect-ratio:1.22;display:flex;justify-content:center;align-items:center;background:#fafbfa;padding:15px}.product-thumb img{max-width:100%;max-height:190px;object-fit:contain}.product-info{padding:17px;display:flex;flex-direction:column;flex:1}.product-info h3{font-size:15px;line-height:1.45;margin:4px 0 10px;color:var(--navy)}.product-price{font-weight:850;color:var(--navy);margin:auto 0 13px}.product-label{font-size:10px;color:#6c8474;letter-spacing:.05em;text-transform:uppercase}.product-link{background:var(--navy);text-align:center;color:#fff;padding:10px;border-radius:7px;font-size:12px;font-weight:800}.empty-notice{border:1px dashed #ceded3;border-radius:12px;background:white;padding:26px;color:#6f8576}.family-banner{background:var(--navy);border-radius:18px;padding:40px;color:#fff;display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px}.family-banner h2{font-family:Georgia,serif;font-size:clamp(26px,3vw,39px);font-weight:600;margin:8px 0}.family-banner p{max-width:670px;color:#d7e8dd;margin:0}.page-wrap{padding:55px 0 80px;min-height:400px}.page-wrap h1,.woocommerce-products-header__title{font-family:Georgia,serif;color:var(--navy);font-size:40px}.entry-content{max-width:950px}.entry-content p{line-height:1.8}.site-footer{background:var(--navy-dark);color:#e9f3ec;padding:52px 0 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:50px}.footer-grid h3{color:#fff;font-size:15px}.footer-grid p{color:#c2d6c9;font-size:13px;line-height:1.8}.footer-links{list-style:none;padding:0;display:grid;gap:11px;font-size:13px}.footer-links a:hover{color:var(--gold)}.footer-brand{max-width:280px;filter:brightness(0) invert(1)}.copyright{border-top:1px solid #ffffff26;margin-top:45px;padding:18px 0;color:#bbd2c3;font-size:12px}.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:var(--gold)!important;color:var(--navy)!important;border-radius:7px!important}.woocommerce ul.products li.product{border:1px solid var(--border);padding:15px;border-radius:10px}.woocommerce div.product .product_title{color:var(--navy)}.woocommerce span.onsale{background:var(--navy)}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed!important;top:6px;left:6px;clip:auto;width:auto;height:auto;z-index:999;background:#fff;padding:12px;color:#000}@media(max-width:1000px){.header-inner{gap:18px}.brand img{width:240px}.header-actions{gap:10px}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.container{width:calc(100% - 32px)}.site-top .container{justify-content:center;text-align:center}.site-top .secondary-top{display:none}.header-inner{min-height:77px;flex-wrap:wrap;gap:12px;padding:13px 0}.brand img{width:220px;max-width:68vw}.header-actions{margin-left:auto}.header-actions .label{display:none}.header-search{order:3;width:100%;flex-basis:100%}.mobile-menu-button{display:block}.nav-inner{display:block;padding:9px 0}.nav-menu{display:none;flex-direction:column;align-items:stretch;gap:0;padding-top:10px}.nav-menu.is-open{display:flex}.nav-menu a{padding:10px 0}.nav-cta{display:none}.hero-content{grid-template-columns:1fr;padding:52px 0 40px;gap:10px}.hero-art{min-height:140px}.hero-art:before{width:150px;height:150px}.hero-art img{max-width:150px}.hero h1{font-size:40px}.trust-items{grid-template-columns:1fr;gap:10px}.section{padding:44px 0}.category-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-info{padding:12px}.product-info h3{font-size:13px}.family-banner{grid-template-columns:1fr;padding:30px 22px}.footer-grid{grid-template-columns:1fr;gap:18px}.section-head{align-items:start}.section-link{font-size:12px}}@media(max-width:390px){.category-grid{grid-template-columns:1fr}.hero h1{font-size:34px}.site-top{font-size:10px}.header-actions a{font-size:11px}}

/* Build 003 checkout guidance */
.hilltop-checkout-info,.hilltop-review-notice{padding:16px 20px;border:1px solid #dce8df;background:#f5faf6;margin:16px 0;border-radius:6px}.hilltop-checkout-info h3{margin:0 0 8px}.hilltop-checkout-info p{margin:0}

/* Build 011 — iconography and visual refinement */
.hilltop-icon{display:inline-block;width:21px;height:21px;flex:none;vertical-align:middle;stroke:currentColor;overflow:visible}
.header-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;transition:color .15s ease}
.header-actions a:hover,.header-actions a:focus-visible{color:#a87900}
.header-actions .hilltop-icon{width:21px;height:21px;stroke-width:2}
.trust-icon{flex:none;width:48px;height:48px;border:1px solid #dbf0e2;background:#e9f7ee;color:#123f35;border-radius:12px}
.trust-icon .hilltop-icon{width:25px;height:25px;stroke-width:2}
.category-icon .hilltop-icon{width:22px;height:22px;stroke-width:2.3}
.mobile-menu-button{align-items:center;gap:7px;min-height:44px}
.mobile-menu-button .hilltop-icon{width:19px;height:19px}
@media(max-width:760px){.mobile-menu-button{display:inline-flex}.header-actions{gap:5px}.header-actions a{min-width:44px;min-height:44px;gap:3px}.header-actions .hilltop-icon{width:23px;height:23px}.trust-item{gap:14px}.trust-icon{width:46px;height:46px}}

/* Build 012 — discovery and shopping refinements */
.hilltop-discovery{padding:30px 0 24px;background:#f6fbf8;border-bottom:1px solid var(--border)}
.hilltop-discovery h2{font:600 clamp(23px,3vw,30px)/1.25 Georgia,serif;color:var(--navy);margin:0 0 6px}.hilltop-discovery p{color:var(--muted);margin:0 0 17px;font-size:14px}
.hilltop-category-chips{display:flex;flex-wrap:wrap;gap:9px}.hilltop-category-chips a{display:inline-flex;align-items:center;min-height:40px;border:1px solid #daeae0;background:white;border-radius:8px;padding:8px 14px;color:var(--navy);font-weight:750;font-size:13px}.hilltop-category-chips a:hover,.hilltop-category-chips a:focus-visible,.hilltop-category-chips a[aria-current=page]{background:var(--navy);color:white;border-color:var(--navy)}
.hilltop-shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:15px 0;border-block:1px solid var(--border);margin:14px 0 22px}.hilltop-shop-toolbar .woocommerce-result-count,.hilltop-shop-toolbar .woocommerce-ordering{margin:0!important}.hilltop-shop-toolbar select{min-height:43px;max-width:100%;border:1px solid #d1e3d7;border-radius:8px;padding:8px 12px;background:#fff;color:var(--navy)}
.product-card{transition:box-shadow .2s,transform .2s}.product-card:hover{transform:translateY(-3px)}.product-thumb img{width:auto;height:auto}.product-meta{color:#678371;font-size:12px;margin:3px 0 8px}.product-link{display:flex;justify-content:center;align-items:center;min-height:43px}.product-link:focus-visible,.category-card:focus-visible{outline:3px solid #bf8b00;outline-offset:3px}.product-card .product-price{font-size:16px}.product-card .product-price del{font-size:12px;color:#6f8576}.product-card .product-price ins{text-decoration:none}.hilltop-stock-unavailable{color:#9b3c3c}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0;display:flex;flex-direction:column}.woocommerce ul.products li.product img{object-fit:contain;aspect-ratio:1.15;background:#fafbfa}.woocommerce ul.products li.product .button{margin-top:auto;min-height:42px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1000px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hilltop-discovery{padding:22px 0}.hilltop-category-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:9px;scroll-snap-type:x proximity}.hilltop-category-chips a{white-space:nowrap;scroll-snap-align:start}.hilltop-shop-toolbar{align-items:flex-start}.woocommerce ul.products li.product{padding:10px}.product-thumb{padding:9px}.product-card .product-price{font-size:14px}}@media(max-width:390px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Build 013 — classic checkout family recipient experience */
.hilltop-family-checkout-heading{margin:26px 0 12px;padding:15px 18px;border-left:4px solid #e7b93f;background:#f5fbf7;color:#1e462c;border-radius:6px}
.hilltop-family-checkout-heading h3{margin:0 0 5px;font-size:19px}.hilltop-family-checkout-heading p{margin:0;font-size:13px;line-height:1.6}
.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row select{min-height:44px;border-radius:6px}
.hilltop-delivery-note{background:#f5fbf7;border:1px solid #dce9e1;padding:12px 16px;margin:14px 0;border-radius:7px;font-size:13px}
@media(max-width:760px){.woocommerce-checkout .form-row-first,.woocommerce-checkout .form-row-last{float:none!important;width:100%!important}.hilltop-family-checkout-heading{margin-top:20px}}

/* Build 014 — customer experience (classic WooCommerce checkout) */
.hilltop-014-section{margin:20px 0 22px;padding:18px 20px;background:#f5fbf7;border:1px solid #dfefe5;border-left:4px solid #ffca08;border-radius:9px}
.hilltop-014-section h3{font-family:Georgia,serif;color:#123f35;font-size:21px;margin:0 0 6px}.hilltop-014-section p{margin:0;font-size:13px;color:#526e5c;line-height:1.65}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:flex;flex-wrap:wrap;gap:0 3%}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row{float:none!important;flex:0 0 100%;margin:0 0 15px!important;width:100%!important}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-first,.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-last{flex:0 0 48.5%;width:48.5%!important}
.woocommerce-checkout .form-row label{font-weight:650;color:#21452d;display:block;margin-bottom:5px}
.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row select,.woocommerce-checkout .form-row textarea{width:100%;max-width:100%;border:1px solid #cfdfd5;border-radius:7px;padding:10px 12px;background:#fff;min-height:44px}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #hilltop_recipient_name_field{margin-top:14px!important}
.woocommerce-checkout .woocommerce-checkout-review-order-table{border-radius:9px;overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid #e3ede6;border-radius:12px;overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid #e3ede6}.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:13px 17px;color:#123f35;font-weight:700;background:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#123f35;color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{padding:22px;border:1px solid #e3ede6;border-radius:12px;min-height:180px}
.hilltop-family-landing{max-width:1050px}.hilltop-family-landing .intro{font-size:17px;max-width:800px;color:#4a6854}.hilltop-family-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}.hilltop-family-step{padding:23px;background:#f6fbf8;border:1px solid #e2eee6;border-radius:12px}.hilltop-family-step h2{font-family:Georgia,serif;color:#123f35;font-size:22px;margin:0 0 9px}.hilltop-family-step p{margin:0;font-size:14px}.hilltop-family-cta{display:inline-block;background:#ffca08;color:#123f35;font-weight:800;padding:13px 23px;border-radius:8px}
.site-footer .hilltop-footer-lockup{display:flex;align-items:center;gap:12px;font-family:Georgia,serif;font-size:24px;color:#fff}.site-footer .hilltop-footer-lockup img{width:49px;height:49px;object-fit:contain;flex:none}.site-footer .hilltop-footer-lockup span{line-height:1.15}
@media(max-width:760px){.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-first,.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-last{flex-basis:100%;width:100%!important}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;margin-bottom:20px}.hilltop-family-steps{grid-template-columns:1fr}.site-footer .hilltop-footer-lockup{font-size:21px}}

.hero{background:linear-gradient(90deg,rgba(9,45,38,.96),rgba(9,45,38,.72) 48%,rgba(9,45,38,.15)),url(assets/images/pharmacy-exterior.webp) center 48%/cover no-repeat!important}.hero .hero-content{display:block!important;padding-top:65px;padding-bottom:65px}.hero-content>div{max-width:570px}.ht20-split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.ht20-split img{width:100%;height:auto;border-radius:8px}.ht20-services,.ht20-steps{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.ht20-services>div,.ht20-steps>div{padding:18px;border:1px solid var(--border);background:white}.ht20-steps{grid-template-columns:repeat(3,1fr);margin-bottom:32px}@media(max-width:768px){.ht20-split,.ht20-steps{grid-template-columns:1fr}.hero .hero-content{padding-top:40px;padding-bottom:40px}.hero{background-position:center!important}}

/* Build 020-HF1: homepage only */
body.home .hero{background-position:center 42%!important}body.home .hero .hero-content{min-height:560px;display:flex!important;align-items:center;padding:80px 0}body.home .hero h1{font-size:58px}body.home .section h2{font-family:Georgia,serif;font-size:32px;line-height:1.2;color:var(--navy);margin:8px 0 14px}body.home .family-banner h2{color:white}body.home .section p{font-size:16px;line-height:1.65}body.home .product-card h3{font-size:15px;text-transform:none}body.home .ht20-services>div,body.home .ht20-steps>div{border:1px solid var(--border);border-radius:8px;padding:20px;min-width:0}body.home .ht20-services h3,body.home .ht20-steps h3{font-size:18px;line-height:1.35;margin:10px 0 6px}body.home .ht20-services p,body.home .ht20-steps p{font-size:14px;margin:0;color:var(--muted)}.ht21-icon{display:inline-flex;color:#8a6800;background:#fff5cf;padding:9px;border-radius:6px}.ht21-step-number{display:block;font-weight:700;color:var(--navy);margin-bottom:12px}.ht21-how .ht20-steps{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.ht21-contact-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;background:white;border:1px solid var(--border);padding:32px;border-radius:8px}.ht21-contact-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start}.ht21-contact-panel p{margin:5px 0}.ht21-service-layout{grid-template-columns:1.2fr .8fr}.ht21-service-layout img{align-self:center}
@media(max-width:1000px){.ht21-service-layout{grid-template-columns:1fr}.ht21-service-layout img{max-width:720px}.ht21-how .ht20-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){body.home .hero .hero-content{min-height:440px;padding:48px 0}body.home .hero h1{font-size:34px}body.home .section h2{font-size:26px}body.home .section p{font-size:14px}body.home .product-card h3{font-size:14px}body.home .ht20-services h3,body.home .ht20-steps h3{font-size:16px}.ht21-contact-panel{flex-direction:column;align-items:flex-start;padding:20px}.ht20-services{gap:10px}body.home .ht20-services>div,body.home .ht20-steps>div{padding:14px}}
@media(max-width:380px){.ht20-services,.ht21-how .ht20-steps{grid-template-columns:1fr}}

.site-footer .hilltop-footer-lockup img{width:100%;max-width:300px;height:auto;object-fit:contain}.site-footer .hilltop-footer-lockup{display:block}
