/*
Theme Name: BirdieHit Golf Store
Theme URI: https://birdiehit.com
Author: BirdieHit
Description: Mobile-first WooCommerce theme for BirdieHit golf accessories.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: birdiehit
*/

:root{
  --bh-green:#0b5d3b;
  --bh-green-dark:#063c28;
  --bh-lime:#a8d943;
  --bh-gold:#d5a63c;
  --bh-cream:#f6f4ec;
  --bh-white:#ffffff;
  --bh-ink:#132019;
  --bh-muted:#66736c;
  --bh-border:#dfe6e1;
  --bh-radius:18px;
  --bh-shadow:0 14px 40px rgba(12,54,37,.10);
  --bh-wrap:min(1180px, calc(100% - 32px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--bh-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.bh-wrap{width:var(--bh-wrap);margin-inline:auto}
.bh-topbar{background:var(--bh-green-dark);color:#fff;font-size:.9rem}
.bh-topbar .bh-wrap{display:flex;justify-content:center;gap:26px;padding:8px 0;flex-wrap:wrap}
.bh-topbar span{display:inline-flex;align-items:center;gap:7px}
.bh-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid rgba(11,93,59,.08)}
.bh-header-row{min-height:78px;display:flex;align-items:center;gap:24px}
.bh-brand{display:flex;align-items:center;flex:0 0 auto}
.bh-brand img{width:190px;max-height:58px;object-fit:contain;object-position:left center}
.bh-nav{margin-left:auto}
.bh-nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.bh-nav a{font-weight:700;font-size:.95rem}
.bh-nav a:hover{color:var(--bh-green)}
.bh-header-actions{display:flex;align-items:center;gap:10px}
.bh-icon-link{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--bh-border);background:#fff}
.bh-cart-count{position:absolute;right:-3px;top:-5px;min-width:19px;height:19px;border-radius:999px;background:var(--bh-lime);color:var(--bh-green-dark);display:grid;place-items:center;font-size:.7rem;font-weight:900;padding:0 4px}
.bh-mobile-toggle{display:none;background:var(--bh-green);color:#fff;border:0;border-radius:12px;width:44px;height:44px;font-size:1.25rem}
.bh-search{display:flex;align-items:center;border:1px solid var(--bh-border);border-radius:999px;background:#fff;overflow:hidden;min-width:220px}
.bh-search input{width:100%;border:0;outline:0;padding:10px 14px;background:transparent}
.bh-search button{border:0;background:transparent;padding:8px 12px;cursor:pointer}

.bh-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--bh-green-dark) 0%,var(--bh-green) 64%,#147b4e 100%);color:#fff}
.bh-hero:after{content:"";position:absolute;right:-6%;bottom:-46%;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle at 42% 35%,#fff 0 5%,rgba(255,255,255,.15) 5.5% 7%,transparent 7.5%),linear-gradient(180deg,rgba(168,217,67,.35),rgba(168,217,67,.06));box-shadow:0 0 0 80px rgba(255,255,255,.025)}
.bh-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;min-height:560px;padding:72px 0}
.bh-eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);font-weight:800;font-size:.83rem;letter-spacing:.02em}
.bh-hero h1{font-size:clamp(2.65rem,6vw,5.6rem);line-height:.96;letter-spacing:-.05em;margin:18px 0 18px;max-width:780px}
.bh-hero h1 em{font-style:normal;color:var(--bh-lime)}
.bh-hero p{font-size:1.12rem;max-width:650px;color:rgba(255,255,255,.86);margin:0 0 28px}
.bh-btns{display:flex;gap:12px;flex-wrap:wrap}
.bh-btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;border-radius:999px!important;padding:13px 20px!important;font-weight:800!important;border:0!important;cursor:pointer!important;background:var(--bh-green)!important;color:#fff!important;line-height:1.2!important}
.bh-btn-primary{background:var(--bh-lime)!important;color:var(--bh-green-dark)!important}
.bh-btn-light{background:#fff!important;color:var(--bh-green-dark)!important}
.bh-btn-outline{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important}
.bh-hero-card{justify-self:end;width:min(100%,430px);padding:26px;border-radius:30px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.17);backdrop-filter:blur(10px);box-shadow:0 24px 70px rgba(0,0,0,.18)}
.bh-hero-card .ball{width:160px;height:160px;margin:4px auto 20px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff 0 18%,#f1f3ef 58%,#d8ddd8 100%);box-shadow:inset -18px -20px 28px rgba(0,0,0,.12),0 18px 30px rgba(0,0,0,.16);position:relative}
.bh-hero-card .ball:before{content:"";position:absolute;inset:13px;border-radius:50%;background-image:radial-gradient(circle,rgba(12,54,37,.12) 0 2px,transparent 2.5px);background-size:16px 16px}
.bh-hero-card h3{margin:0 0 7px;font-size:1.3rem;text-align:center}
.bh-hero-card p{margin:0;text-align:center;font-size:.96rem}

.bh-section{padding:72px 0}
.bh-section-soft{background:var(--bh-cream)}
.bh-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.bh-section-head h2{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.04em;line-height:1;margin:0}
.bh-section-head p{max-width:580px;margin:0;color:var(--bh-muted)}
.bh-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.bh-category-card{min-height:210px;padding:24px;border-radius:var(--bh-radius);background:linear-gradient(155deg,#fff,#edf6ef);border:1px solid var(--bh-border);position:relative;overflow:hidden;box-shadow:0 7px 22px rgba(12,54,37,.05);transition:.25s transform,.25s box-shadow}
.bh-category-card:hover{transform:translateY(-4px);box-shadow:var(--bh-shadow)}
.bh-category-icon{width:58px;height:58px;border-radius:18px;background:var(--bh-green);color:#fff;display:grid;place-items:center;font-size:1.7rem;margin-bottom:26px}
.bh-category-card h3{font-size:1.25rem;margin:0 0 6px}
.bh-category-card p{color:var(--bh-muted);margin:0;font-size:.92rem}
.bh-category-card .arrow{position:absolute;right:18px;bottom:18px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--bh-lime);color:var(--bh-green-dark);font-weight:900}

.bh-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bh-benefit{padding:20px;border:1px solid var(--bh-border);border-radius:16px;background:#fff}
.bh-benefit strong{display:block;margin-bottom:4px}
.bh-benefit span{color:var(--bh-muted);font-size:.9rem}

.bh-promo{background:linear-gradient(115deg,var(--bh-green-dark),var(--bh-green));border-radius:28px;padding:40px;color:#fff;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;overflow:hidden;position:relative}
.bh-promo:after{content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:50%;border:60px solid rgba(168,217,67,.14)}
.bh-promo h2{margin:0 0 8px;font-size:clamp(2rem,4vw,3rem);line-height:1}
.bh-promo p{margin:0;color:rgba(255,255,255,.82)}
.bh-promo .bh-btn{position:relative;z-index:1}

.bh-main{min-height:50vh;padding:44px 0 72px}
.bh-page-hero{background:var(--bh-cream);padding:54px 0;border-bottom:1px solid var(--bh-border)}
.bh-page-hero h1{margin:0 0 8px;font-size:clamp(2.4rem,5vw,4rem);letter-spacing:-.045em;line-height:1}
.bh-page-hero p{margin:0;color:var(--bh-muted);max-width:700px}
.bh-content{max-width:850px}
.bh-content h2,.bh-content h3{line-height:1.15}
.bh-card{background:#fff;border:1px solid var(--bh-border);border-radius:var(--bh-radius);padding:26px;box-shadow:0 8px 26px rgba(12,54,37,.06)}
.bh-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bh-form-grid .full{grid-column:1/-1}
.bh-field label{display:block;font-weight:800;margin-bottom:6px}
.bh-field input,.bh-field textarea,.bh-field select{width:100%;border:1px solid var(--bh-border);border-radius:12px;padding:12px 13px;background:#fff}
.bh-field textarea{min-height:130px;resize:vertical}
.bh-notice{padding:13px 15px;border-radius:12px;background:#edf8ef;color:var(--bh-green-dark);margin-bottom:18px}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{color:var(--bh-muted);font-size:.88rem;margin-bottom:22px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important}
.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;border:1px solid var(--bh-border);border-radius:20px;background:#fff;padding:0 0 18px;overflow:hidden;box-shadow:0 8px 28px rgba(12,54,37,.06);transition:.25s transform,.25s box-shadow}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--bh-shadow)}
.woocommerce ul.products li.product a img{margin:0 0 16px!important;aspect-ratio:1/1;object-fit:cover;background:#f2f5f2}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.02rem!important;padding:0 16px!important;min-height:2.8em}
.woocommerce ul.products li.product .price{padding:0 16px;color:var(--bh-green)!important;font-size:1.03rem!important;font-weight:900!important}
.woocommerce ul.products li.product .button{margin:8px 16px 0!important;font-size:.88rem!important;padding:10px 14px!important}
.woocommerce span.onsale{background:var(--bh-lime)!important;color:var(--bh-green-dark)!important;min-width:auto!important;min-height:auto!important;line-height:1!important;padding:8px 10px!important;border-radius:999px!important;left:12px!important;top:12px!important;margin:0!important;font-size:.75rem!important;font-weight:900!important}
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:46px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product .product_title{font-size:clamp(2rem,4vw,3.4rem);line-height:1.03;letter-spacing:-.04em}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--bh-green)!important;font-size:1.5rem!important;font-weight:900}
.woocommerce div.product form.cart .button{background:var(--bh-green)!important}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.woocommerce div.product .related{grid-column:1/-1;margin-top:24px}
.woocommerce table.shop_table{border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--bh-border)!important;border-radius:16px!important;overflow:hidden}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px!important}
.woocommerce-checkout #payment{background:#f4f7f4!important;border-radius:16px!important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--bh-green)!important;background:#f5faf6!important;border-radius:12px!important}
.woocommerce-message:before,.woocommerce-info:before{color:var(--bh-green)!important}
.bh-tier-table{width:100%;border-collapse:collapse;margin:18px 0 22px;font-size:.92rem}
.bh-tier-table th,.bh-tier-table td{border:1px solid var(--bh-border);padding:9px 11px;text-align:left}
.bh-tier-table th{background:var(--bh-cream)}
.bh-whatsapp-product{margin-top:10px!important;background:#1f9d58!important}
.bh-product-meta{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0;color:var(--bh-muted);font-size:.9rem}
.bh-product-meta span{padding:7px 10px;border-radius:999px;background:var(--bh-cream)}

.bh-footer{background:#092c20;color:#fff;padding:54px 0 24px}
.bh-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px}
.bh-footer-logo{width:180px;filter:brightness(0) invert(1);margin-bottom:14px}
.bh-footer p,.bh-footer a{color:rgba(255,255,255,.72);font-size:.93rem}
.bh-footer a:hover{color:#fff}
.bh-footer h4{margin:0 0 12px;font-size:1rem}
.bh-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.bh-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;color:rgba(255,255,255,.55);font-size:.85rem}
.bh-float-wa{position:fixed;right:18px;bottom:18px;z-index:80;background:#1fa855;color:#fff;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:1.45rem;box-shadow:0 12px 30px rgba(0,0,0,.22)}

@media(max-width:980px){
  .bh-search{display:none}
  .bh-nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;border-bottom:1px solid var(--bh-border);padding:12px 20px 20px}
  .bh-nav.is-open{display:block}
  .bh-nav ul{display:grid;gap:0}
  .bh-nav a{display:block;padding:12px 0;border-bottom:1px solid #eef1ef}
  .bh-mobile-toggle{display:block;margin-left:auto}
  .bh-header-actions{margin-left:0}
  .bh-hero-grid{grid-template-columns:1fr;min-height:auto;padding:56px 0}
  .bh-hero-card{justify-self:start}
  .bh-category-grid,.bh-benefits{grid-template-columns:repeat(2,1fr)}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce div.product{grid-template-columns:1fr}
  .bh-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  :root{--bh-wrap:min(100% - 24px,1180px)}
  .bh-topbar .bh-wrap{gap:12px;font-size:.78rem;justify-content:space-between}
  .bh-topbar span:nth-child(3){display:none}
  .bh-header-row{min-height:68px;gap:10px}
  .bh-brand img{width:145px;max-height:50px}
  .bh-nav{top:68px}
  .bh-icon-link{width:40px;height:40px}
  .bh-hero-grid{padding:42px 0;gap:30px}
  .bh-hero h1{font-size:3.15rem}
  .bh-hero p{font-size:1rem}
  .bh-hero-card{width:100%;padding:22px}
  .bh-hero-card .ball{width:120px;height:120px}
  .bh-section{padding:48px 0}
  .bh-section-head{display:block}
  .bh-section-head p{margin-top:10px}
  .bh-category-grid,.bh-benefits{grid-template-columns:1fr 1fr;gap:12px}
  .bh-category-card{min-height:175px;padding:18px}
  .bh-category-icon{margin-bottom:18px}
  .bh-promo{grid-template-columns:1fr;padding:28px 22px}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.9rem!important;padding:0 12px!important}
  .woocommerce ul.products li.product .price{padding:0 12px;font-size:.92rem!important}
  .woocommerce ul.products li.product .button{margin:7px 12px 0!important;font-size:.77rem!important;padding:9px 10px!important}
  .bh-form-grid{grid-template-columns:1fr}
  .bh-form-grid .full{grid-column:auto}
  .bh-footer-grid{grid-template-columns:1fr}
  .bh-footer-bottom{display:block}
}
