/*
Theme Name: Bitterroot Heritage
Theme URI: https://bitterrootgunleather.com
Author: Precision Technology Innovations
Description: Bespoke heritage luxury WooCommerce storefront for Bitterroot Gunleather. Staging preview theme.
Version: 3.4.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bitterroot-heritage
*/
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
:root{--ink:#231912;--espresso:#211711;--walnut:#38261b;--brass:#bb9567;--sand:#e8d5bc;--paper:#f8f4eb;--muted:#6e6054;--border:#dfd5c7;--green:#48513c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.6}h1,h2,h3,h4,.brand-name,.nav-links{font-family:'Libre Baskerville',Georgia,serif;line-height:1.22}a{color:inherit;text-decoration:none}a:hover{color:#9f7347}img{max-width:100%;height:auto}button,input,select{font:inherit}button{cursor:pointer}.container{max-width:1320px;margin:auto;padding:0 30px}.announcement{background:#392317;color:#e8d3b6;padding:9px 0;font-size:11px;letter-spacing:.13em;text-transform:uppercase}.announce-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.header{background:#17120f;color:#f7ede0;position:relative;z-index:50;border-bottom:1px solid #6e5137}.header-inner{min-height:98px;display:flex;align-items:center;justify-content:space-between;gap:35px}.branding{display:flex;flex-direction:column;align-items:center;min-width:227px}.mountain-mark{font-size:30px;color:var(--brass);line-height:1}.brand-name{letter-spacing:.05em;font-size:24px}.brand-small{font-size:11px;letter-spacing:.33em}.nav-links{display:flex;gap:29px;align-items:center;font-family:'DM Sans',Arial,sans-serif;font-size:13px;font-weight:600}.nav-links a{white-space:nowrap}.nav-actions{display:flex;gap:20px;align-items:center}.nav-actions a{font-size:18px}.mobile-menu-btn{display:none;background:none;border:0;color:white;font-size:24px}.hero{min-height:560px;position:relative;color:#f8ead9;background:#23180f;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background-image:linear-gradient(90deg,#15100bf7 0%,#17100bd9 37%,#21140a55 63%,#21140a10 78%),var(--hero-image,linear-gradient(120deg,#332014,#80532f));background-repeat:no-repeat,no-repeat;background-size:auto,contain;background-position:0 0,right center;filter:saturate(.9)}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1a120aaa,transparent 28%)}.hero-inner{position:relative;z-index:2;display:flex;min-height:560px;align-items:center}.hero-copy{max-width:655px;padding:64px 0}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--brass)}.hero h1{font-size:clamp(40px,5.3vw,79px);margin:18px 0;letter-spacing:-.04em;font-weight:400}.hero p{font-family:'Libre Baskerville',Georgia,serif;font-style:italic;color:#e3d3bf;max-width:520px;font-size:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 26px;min-height:48px;border-radius:2px;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;border:1px solid transparent;transition:.2s}.btn-primary{background:var(--sand);color:var(--espresso)}.btn-primary:hover{background:#fff4e4;color:var(--espresso)}.btn-outline{border-color:#c8aa81;color:#f7e9d4;background:#19120b33}.btn-outline:hover{color:white;background:#5a4230}.hero-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.benefits{background:#211913;color:#f3e7d4;border-top:1px solid #6a5038}.benefits-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.benefit{display:flex;gap:13px;align-items:center;justify-content:center;padding:23px 16px;border-right:1px solid #634a32}.benefit:last-child{border:0}.benefit-symbol{font-size:27px;color:var(--brass)}.benefit strong{display:block;font-family:Georgia,serif;font-size:14px}.benefit span{display:block;color:#bfb2a1;font-size:11px}.finder{background:#e8e0d3;padding:49px 0 52px;border-bottom:1px solid #d2bfa7}.section-heading{text-align:center;margin:0 auto 25px}.section-heading h2{font-size:clamp(26px,3vw,40px);font-weight:400;letter-spacing:.11em;text-transform:uppercase;margin:0 0 8px}.section-heading p{margin:0;color:var(--muted);font-family:Georgia,serif;font-style:italic}.finder-form{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;max-width:1110px;margin:auto}.finder-form select,.finder-form input,.shop-search{height:48px;background:#fffaf3;border:1px solid #cfbdab;padding:0 15px;width:100%;color:var(--ink);border-radius:2px}.finder-form button{background:#372417;color:#fff3e3;border:0;padding:0 30px;font-size:12px;font-weight:700;letter-spacing:.09em}.collections{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:35px 0 15px}.collection{height:190px;position:relative;display:flex;align-items:end;background:#382719;overflow:hidden;border-radius:3px}.collection img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.64;transition:transform .3s}.collection:hover img{transform:scale(1.07)}.collection:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#16100beb,transparent 78%)}.collection-content{position:relative;z-index:2;padding:22px;color:white}.collection h3{margin:0 0 6px;font-size:19px}.collection small{display:block;color:#e5c8a6}.section{padding:61px 0}.section .section-heading{margin-bottom:35px}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.product-card{background:#fffbf4;border:1px solid #ebdfd0;overflow:hidden;position:relative}.product-card-img{height:265px;background:#ebe2d8;display:block;overflow:hidden}.product-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.product-card:hover img{transform:scale(1.04)}.product-card-info{padding:16px 17px}.product-card h3{font-family:'DM Sans',Arial,sans-serif;font-size:14px;line-height:1.5;margin:0 0 6px}.price{font-size:15px;color:#634327;font-weight:700}.product-tag{position:absolute;top:12px;left:12px;background:#45513c;color:white;font-size:10px;padding:5px 10px;z-index:2;text-transform:uppercase;letter-spacing:.08em}.product-card .quick-link{display:inline-block;margin-top:10px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;border-bottom:1px solid #95734e;padding-bottom:2px}.more-products{text-align:center;margin-top:32px}.heritage-story{background:#2a2119;color:#f4e6ce;padding:75px 0}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.story-image{min-height:380px;background:#4c3424;overflow:hidden}.story-image img{width:100%;height:380px;object-fit:cover}.story-content h2{font-size:clamp(33px,4vw,53px);font-weight:400;margin:10px 0 21px}.story-content p{color:#cbbb9e}.story-content .btn{margin-top:16px}.footer{background:#17110d;color:#c5b49d;padding:54px 0 22px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer h3{color:#f2e3ce;font-size:18px}.footer a{display:block;margin:10px 0;font-size:13px}.footer-bottom{margin-top:42px;padding-top:20px;border-top:1px solid #4c3627;font-size:11px;display:flex;justify-content:space-between}.page-header{background:#2a1c14;color:#f4e4cd;padding:55px 0}.page-header h1{font-weight:400;font-size:43px;margin:0 0 8px}.page-header p{color:#c7af91;margin:0}.content-layout{padding-top:44px;padding-bottom:78px;min-height:400px}.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:10px 0 25px;flex-wrap:wrap}.filter-form{background:#eee4d6;border:1px solid #d8c9b7;padding:20px;margin-bottom:24px;display:grid;grid-template-columns:repeat(4,1fr) auto;gap:12px;align-items:end}.filter-form label{display:block;font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:700;margin-bottom:4px}.filter-form input,.filter-form select{width:100%;height:41px;background:#fffaf4;border:1px solid #cfbdac;padding:0 10px;min-width:0}.filter-form button{height:41px;background:#312116;color:#fff;border:0;padding:0 16px;white-space:nowrap}.pagination{padding:25px}.pagination a,.pagination span{display:inline-block;padding:7px 13px;margin-right:6px;background:#efe6d7}.site-content .woocommerce{max-width:100%}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:#fff9f0;padding:12px;box-shadow:none}.woocommerce div.product .product_title{font-size:36px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#705034}.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:#392719!important;color:#fff7ea!important;border-radius:2px!important;padding:13px 20px!important}.woocommerce button.button:hover,.woocommerce a.button:hover{background:#68503a!important}.woocommerce .woocommerce-breadcrumb{padding:22px 0;color:#796351}.woocommerce div.product div.images img{border:1px solid #eaded0}.woocommerce .quantity .qty{height:43px}.woocommerce table.shop_table{background:#fffaf3}.woocommerce form.checkout .form-row input.input-text{padding:12px;background:#fff;border:1px solid #d9c5ac}.notice-bar{background:#f1e6d5;color:#5b3c26;text-align:center;font-size:12px;padding:9px}.sr-only{position:absolute;left:-9999px}.menu-overlay{display:none}.page-article{max-width:950px;margin:auto}.page-article h2{font-size:28px}.wp-block-group{max-width:100%}.current-page-title{font-size:38px}.bgl-warning{background:#fff2de;padding:11px 18px;font-size:12px;color:#6c4b30}.woocommerce-info{border-top-color:#ae8759!important}.woocommerce-info::before{color:#a78156!important}
@media(max-width:1050px){.nav-links{gap:12px;font-size:12px}.branding{min-width:190px}.brand-name{font-size:20px}.benefits-inner{grid-template-columns:repeat(2,1fr)}.benefit:nth-child(2){border-right:0}.products-grid{grid-template-columns:repeat(3,1fr)}.filter-form{grid-template-columns:repeat(2,1fr)}.finder-form{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.container{padding:0 18px}.header-inner{min-height:76px}.branding{min-width:0;align-items:flex-start}.mountain-mark{font-size:21px}.brand-name{font-size:19px}.brand-small{font-size:9px}.mobile-menu-btn{display:block}.nav-links{display:none;position:absolute;left:0;right:0;top:100%;background:#211711;padding:25px;flex-direction:column;align-items:flex-start;gap:18px;border-top:1px solid #61462e}.nav-links.is-open{display:flex}.nav-actions{gap:15px}.announcement{font-size:9px}.announcement .ann-right{display:none}.hero,.hero-inner{min-height:440px}.hero-copy{padding:46px 0}.hero h1{font-size:46px}.hero p{font-size:15px}.benefits-inner{grid-template-columns:repeat(2,1fr)}.benefit{padding:16px 7px}.benefit-symbol{font-size:18px}.benefit strong{font-size:12px}.benefit span{font-size:10px}.finder-form{grid-template-columns:1fr}.collections{grid-template-columns:repeat(2,1fr);gap:10px}.collection{height:165px}.collection-content{padding:12px}.collection h3{font-size:15px}.products-grid{grid-template-columns:repeat(2,1fr);gap:11px}.product-card-img{height:180px}.product-card-info{padding:10px}.product-card h3{font-size:12px}.section{padding:45px 0}.story-grid{grid-template-columns:1fr;gap:30px}.heritage-story{padding:46px 0}.story-image,.story-image img{min-height:245px;height:245px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid>div:first-child{grid-column:span 2}.filter-form{grid-template-columns:1fr 1fr}.page-header h1{font-size:32px}}
@media(max-width:430px){.collections{grid-template-columns:1fr 1fr}.collection{height:140px}.product-card-img{height:148px}.filter-form{grid-template-columns:1fr}.hero h1{font-size:39px}.hero-buttons .btn{width:100%}.section-heading h2{font-size:24px}}

/* Heritage v1.1 catalog refinements */
.filter-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.filter-form button{align-self:end}.finder-form{grid-template-columns:1fr 1fr 1fr auto}.product-card-info .price{min-height:24px}@media(max-width:900px){.filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.finder-form{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.filter-form,.finder-form{grid-template-columns:1fr}}

/* v1.2 — model-based shop discovery */
.filter-summary{font-weight:400;color:#705b46;display:block;font-size:12px;margin-top:5px}.filter-form select option[hidden],.finder-form select option[hidden]{display:none}.filter-form{grid-template-columns:repeat(4,minmax(0,1fr))}.finder-form select{min-width:0}.filter-form input:focus,.filter-form select:focus,.finder-form select:focus{outline:2px solid #a57f53;outline-offset:2px}.filter-form button:focus-visible,.finder-form button:focus-visible{outline:3px solid #d8ad75;outline-offset:2px}@media(max-width:1000px){.filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.filter-form{grid-template-columns:1fr}}

/* v1.3: product fit information */
.bgl-fit-panel{padding:18px 20px;margin:20px 0 25px;background:#f4eade;border:1px solid #dfc8aa;border-left:4px solid #9f7548;clear:both}.bgl-fit-panel h3{font-size:18px;margin:0 0 12px;color:#3a291c}.bgl-fit-panel p{margin:5px 0;font-size:13px;line-height:1.55}.bgl-fit-panel .bgl-fit-caution{font-size:12px;color:#725d4b;padding-top:10px;border-top:1px solid #e2d1ba;margin-top:12px}.woocommerce div.product form.cart{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.woocommerce div.product form.cart .variations{width:100%}.woocommerce div.product form.cart .variations select{min-height:44px;border:1px solid #cfbdac;background:#fff9f1;padding:8px;max-width:100%}@media(max-width:700px){.bgl-fit-panel{padding:14px}.woocommerce div.product .product_title{font-size:28px}}

/* v1.4: WordPress-assigned primary menu and desktop/mobile dropdowns */
.nav-links .heritage-menu{display:flex;align-items:center;gap:25px;list-style:none;padding:0;margin:0}
.nav-links .heritage-menu>li{position:relative;margin:0;padding:0}
.nav-links .heritage-menu>li>a{display:block;padding:35px 0;color:#f5e9d9;text-transform:uppercase;font-family:'DM Sans',Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.085em;white-space:nowrap}
.nav-links .heritage-menu a:hover,.nav-links .heritage-menu a:focus-visible{color:#d6aa73}
.nav-links .heritage-menu .menu-item-has-children>a::after{content:'⌄';margin-left:8px;color:#c9a57c;font-size:15px}
.nav-links .heritage-menu .sub-menu{position:absolute;z-index:100;left:-16px;top:100%;min-width:280px;margin:0;padding:12px 0;background:#261b15;border:1px solid #6c4b31;box-shadow:0 16px 25px #0007;list-style:none;opacity:0;visibility:hidden;transform:translateY(7px);transition:opacity .16s,transform .16s,visibility .16s}
.nav-links .heritage-menu li:hover>.sub-menu,.nav-links .heritage-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-links .heritage-menu .sub-menu a{font-family:'DM Sans',Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.025em;color:#f5e5cf;line-height:1.5;white-space:normal;display:block;padding:11px 19px}
.nav-links .heritage-menu .sub-menu a:hover,.nav-links .heritage-menu .sub-menu a:focus-visible{color:#ffd6a0;background:#473121}
.footer .heritage-footer-grid{grid-template-columns:2fr 1.4fr 1fr 1fr;gap:37px}
.footer-wordmark{display:inline-block;font-family:Georgia,serif;color:#fff1dc!important;font-size:25px!important;letter-spacing:.12em;margin:0 0 14px!important;line-height:1.2}
.footer-wordmark span{display:block;font-family:'DM Sans',Arial,sans-serif;font-size:10px;letter-spacing:.3em;color:#c9aa81;padding-top:7px}
.footer-strapline{color:#c69d6b;font-size:10px;letter-spacing:.16em;font-weight:700}
.footer .footer-column h3{margin:0 0 20px;font-family:Georgia,serif;color:#f7e6cd;font-size:17px}
.footer .footer-column a{line-height:1.65;font-size:12px;color:#cfbca2;margin:0 0 12px;display:block}
.footer .footer-column a:hover{color:#f3c286}
@media(max-width:1100px){.nav-links .heritage-menu{gap:14px}.nav-links .heritage-menu>li>a{font-size:11px}.footer .heritage-footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:28px}.footer .footer-column:last-child{grid-column:2 / 4}}
@media(max-width:780px){.nav-links{max-height:calc(100vh - 90px);overflow-y:auto}.nav-links .heritage-menu{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:0}.nav-links .heritage-menu>li{width:100%;border-bottom:1px solid #59432f}.nav-links .heritage-menu>li>a{padding:14px 0;font-size:13px}.nav-links .heritage-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:transparent;border:0;margin:0 0 10px 12px;padding:0;min-width:0}.nav-links .heritage-menu .sub-menu a{padding:8px 12px;white-space:normal}.footer .heritage-footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer .footer-column:last-child{grid-column:auto}}
@media(max-width:480px){.footer .heritage-footer-grid{grid-template-columns:1fr}.footer .heritage-footer-grid>div:first-child{grid-column:auto}.footer .footer-column:last-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:8px}}

/* v1.5: original brand asset, clean collection archives, and responsive expanded menu */
.branding .bgl-original-logo{display:block;max-width:205px;max-height:78px;width:auto;height:auto;object-fit:contain;filter:brightness(1.06)}
.branding{min-width:205px}.header-inner{gap:18px}
.nav-links .heritage-menu{gap:17px}.nav-links .heritage-menu>li>a{font-size:11px;letter-spacing:.065em}
.bgl-collection-intro{max-width:700px}.bgl-collection-message{padding:25px;border:1px solid #d9c8af;background:#fff8ed;color:#55402d;margin:20px 0 34px}
.bgl-collection-message h2{font-size:22px;margin:0 0 8px}.bgl-collection-message p{margin:0}
.bgl-collection-tag{font-size:12px;color:#a07a4a;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.bgl-hero-variant{font-size:11px;margin-top:10px;color:#d8c3a7}.bgl-hero-variant a{text-decoration:underline;color:#f5d0a1}
@media(max-width:1100px){.branding{min-width:164px}.branding .bgl-original-logo{max-width:164px}.nav-links .heritage-menu{gap:10px}.nav-links .heritage-menu>li>a{font-size:10px}}
@media(max-width:780px){.branding .bgl-original-logo{max-height:58px;max-width:170px}.nav-links .heritage-menu>li>a{font-size:13px}.header-inner{gap:10px}}

/* Gallery: Instagram feed embedded in-site through Smash Balloon */
.page-article .sbi, .page-article #sb_instagram {max-width:100%;margin:22px auto 38px;}
.page-article .sbi_photo_wrap img {border-radius:3px;}
.page-article .wp-block-shortcode {margin:28px 0 38px;}

/* v1.7: original scripted wordmark restored; Josefin Sans for all interface text */
body,button,input,select,textarea,option,.woocommerce, .woocommerce-page,
h1,h2,h3,h4,h5,h6,p,li,a,label,.nav-links,.nav-links .heritage-menu>li>a,
.nav-links .heritage-menu .sub-menu a,.btn,.brand-name,.brand-small,
.section-heading p,.hero p,.benefit strong,.footer .footer-column h3,
.woocommerce div.product .product_title,.woocommerce .button,
.woocommerce button,.woocommerce input,.woocommerce select {
  font-family:'Josefin Sans',Arial,sans-serif;
}
.bgl-script-wordmark,
.branding .bgl-script-wordmark,
.footer-wordmark .bgl-script-wordmark {
  display:block;
  font-family:'Great Vibes',cursive !important;
  font-style:normal;
  font-weight:400;
  letter-spacing:0 !important;
  text-transform:none !important;
  line-height:1.28;
  white-space:nowrap;
  color:#f6e7d0;
}
.branding{min-width:285px;align-items:flex-start;justify-content:center}
.branding .bgl-script-wordmark{font-size:clamp(28px,2.7vw,43px)}
.footer-wordmark{letter-spacing:0 !important;margin-bottom:14px !important}
.footer-wordmark .bgl-script-wordmark{font-size:clamp(35px,3.4vw,54px)}
@media(max-width:1240px){.branding{min-width:240px}.branding .bgl-script-wordmark{font-size:34px}.nav-links .heritage-menu{gap:12px}}
@media(max-width:920px){.branding{min-width:205px}.branding .bgl-script-wordmark{font-size:30px}}
@media(max-width:780px){.branding{min-width:0}.branding .bgl-script-wordmark{font-size:33px}}
@media(max-width:430px){.branding .bgl-script-wordmark{font-size:27px}}
@media (max-width: 900px){.hero{min-height:520px}.hero:before{background-size:auto,cover;background-position:0 0,62% center}.hero-inner{min-height:520px}}
/* v2.0: Preserve the ENTIRE original photograph on desktop; no image cropping. */
@media (min-width: 901px) {
  .hero { min-height: 620px; background-color: #211711; }
  .hero:before {
    background-image: linear-gradient(90deg, rgba(18,12,8,.95) 0%, rgba(18,12,8,.84) 27%, rgba(18,12,8,.42) 57%, rgba(18,12,8,.03) 87%), var(--hero-image,linear-gradient(120deg,#332014,#80532f));
    background-size: 100% 100%, contain;
    background-position: center, right center;
    background-repeat: no-repeat, no-repeat;
    filter: saturate(.92);
  }
  .hero-inner { min-height: 620px; }
  .hero-copy { max-width: min(590px, 50vw); }
}
@media (min-width: 1600px) {
  .hero { min-height: 680px; }
  .hero-inner { min-height: 680px; }
}
/* On tablets/phones prioritize legible text; preserve less of the image only where needed. */
@media (max-width: 900px) {
  .hero:before { background-size: 100% 100%, contain; background-position: center, right center; }
}

/* v2.1: single uninterrupted original photograph, with overlay independent of photo.
   Match the source image's 1845:945 ratio on desktop instead of contain/cover letterboxing. */
@media (min-width: 901px) {
  .hero {
    height: max(540px, 51.22vw);
    min-height: 0;
    background-color: #211711;
    background-image: var(--hero-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .hero::before {
    background: linear-gradient(90deg, rgba(19,12,8,.96) 0%, rgba(19,12,8,.90) 21%, rgba(19,12,8,.66) 38%, rgba(19,12,8,.27) 58%, rgba(19,12,8,.03) 80%);
    background-image: linear-gradient(90deg, rgba(19,12,8,.96) 0%, rgba(19,12,8,.90) 21%, rgba(19,12,8,.66) 38%, rgba(19,12,8,.27) 58%, rgba(19,12,8,.03) 80%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
  }
  .hero-inner { min-height: 100%; height: 100%; }
  .hero-copy { max-width: min(570px, 48vw); }
  .hero h1 { font-size: clamp(44px, 4.5vw, 76px); }
}
/* On narrow layouts, a darker full-width gradient keeps text legible without a hard dividing edge. */
@media (max-width: 900px) {
  .hero { background-image: var(--hero-image); background-position: 60% center; background-size: cover; }
  .hero::before { background: linear-gradient(90deg, rgba(19,12,8,.93), rgba(19,12,8,.43)); filter:none; }
}

/* v2.2 — original bespoke leatherwork hero, no hard seams, no unnecessary crop. */
@media (min-width: 901px) {
  .hero {
    height: clamp(540px, 43.48vw, 860px);
    min-height: 0;
    background-image: var(--hero-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero:before {
    background-image: linear-gradient(90deg, rgba(18,11,7,.94) 0%, rgba(18,11,7,.82) 22%, rgba(18,11,7,.52) 41%, rgba(18,11,7,.10) 67%, rgba(18,11,7,0) 82%);
    background-size: 100% 100%;
    background-position: center;
    filter: none;
  }
  .hero-inner { min-height: 100%; }
}
@media (max-width: 900px) {
 .hero { background-image: var(--hero-image); background-size: cover; background-position: 58% center; }
 .hero:before { background-image: linear-gradient(90deg, rgba(18,11,7,.94), rgba(18,11,7,.56)); filter: none; }
}

/* v2.3 accessibility foundations and discreet footer administrator link */
.bgl-skip-link {position:fixed;left:16px;top:-90px;z-index:999999;background:#fff7e7;color:#211711!important;padding:12px 18px;border:3px solid #211711;border-radius:4px;text-decoration:underline;font:700 16px/1.4 'Josefin Sans',Arial,sans-serif;}
.bgl-skip-link:focus {top:14px;}
#main-content:focus {outline:0;}
:where(a,button,input,select,textarea,[tabindex]):focus-visible {outline:3px solid #e6a853!important;outline-offset:3px!important;box-shadow:0 0 0 2px #211711;}
.footer-bottom {align-items:center;gap:15px;}
.footer-bottom-actions {display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-wrap:wrap;}
.footer-bottom .footer-accessibility {margin:0;text-decoration:underline;text-underline-offset:3px;color:#f5ddba;}
.footer-bottom .footer-admin-lock {width:44px;height:44px;border:1px solid #8f7359;border-radius:50%;margin:0;display:inline-flex;align-items:center;justify-content:center;color:#f5ddba;flex:0 0 auto;transition:background .18s,color .18s;}
.footer-admin-lock:hover,.footer-admin-lock:focus-visible {background:#5b3f2b;color:#fff;}
.footer-bottom-actions a:hover {text-decoration:underline;}
.heritage-menu .sub-menu a {min-height:44px;}
@media (prefers-reduced-motion: reduce) {html{scroll-behavior:auto!important} *,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
@media (max-width:760px){.footer-bottom{align-items:flex-start}.footer-bottom-actions{justify-content:flex-start;gap:15px}.footer-bottom .footer-admin-lock{width:44px;height:44px}}

/* v2.4 header utilities: account and expandable product search */
.nav-actions{display:flex;align-items:center;gap:16px}
.nav-actions .bgl-search-toggle,.nav-actions .bgl-account-link{
  width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;
  background:transparent;border:0;color:#f7e7cf;cursor:pointer;border-radius:3px;
  text-decoration:none;flex:0 0 auto;padding:0;
}
.nav-actions .bgl-search-toggle:hover,.nav-actions .bgl-account-link:hover{
  color:#e1bb82;background:rgba(255,255,255,.08);
}
.header{position:relative;z-index:50}
.bgl-header-search{background:#2a1c14;border-top:1px solid #6b4b30;border-bottom:1px solid #81603a;box-shadow:0 12px 25px #120b0755}
.bgl-header-search[hidden]{display:none!important}
.bgl-header-search-form{display:flex;align-items:center;gap:12px;padding:18px 0;flex-wrap:wrap}
.bgl-header-search-form label{color:#f2dfc7;white-space:nowrap;font-weight:700}
.bgl-header-search-form input[type=search]{flex:1 1 240px;min-width:160px;min-height:46px;padding:10px 15px;border:1px solid #b69972;background:#fffaf0;color:#231711;font-size:16px;border-radius:3px}
.bgl-header-search-form button{min-height:44px;border:1px solid #bd9870;background:#c4a176;color:#21160e;padding:8px 19px;font-weight:700;cursor:pointer;border-radius:3px}
.bgl-header-search-form .bgl-search-close{background:transparent;color:#fff2dd;font-size:25px;padding:5px 14px}
@media(max-width:760px){.nav-actions{gap:2px}.bgl-header-search-form label{width:100%}.bgl-header-search-form input[type=search]{flex-basis:100%}}

/* v2.5 Mobile-first premium storefront navigation */
.bgl-cart-link{display:inline-flex;align-items:center;justify-content:center;position:relative;gap:3px;min-width:44px;min-height:44px;color:#f7e7cf}
.bgl-cart-count{font-size:11px;line-height:1;position:absolute;right:0;top:4px;background:#bd9969;color:#1e140d;padding:3px 5px;border-radius:12px;min-width:18px;text-align:center;font-weight:700}
.bgl-mobile-account{display:none}
@media (max-width:780px){
 .announcement{padding:8px 0;line-height:1.6;font-size:9px;letter-spacing:.09em}
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'brand brand' 'spacer utilities';gap:0;padding-top:12px;padding-bottom:6px;min-height:0}
 .branding{grid-area:brand;justify-self:center;min-width:0!important;max-width:100%;padding:0 6px 2px;overflow:visible}
 .branding .bgl-script-wordmark{font-size:clamp(33px,8.2vw,47px);line-height:1.4;white-space:nowrap;text-align:center}
 .nav-actions{grid-area:utilities;display:flex;align-items:center;justify-self:end;gap:7px;min-height:49px}
 .nav-actions .bgl-search-toggle,.nav-actions .bgl-account-link,.nav-actions .bgl-cart-link,.mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;background:transparent;border:0;color:#f7e7cf;border-radius:3px}
 .mobile-menu-btn{font-size:25px}
 .nav-links{top:100%;left:0;right:0;box-sizing:border-box;max-height:calc(100dvh - 160px);overflow-y:auto;padding:14px 22px 24px;gap:0;box-shadow:0 14px 22px rgba(0,0,0,.35)}
 .nav-links .heritage-menu>li{position:relative;border-color:#604a36;display:block;padding-right:50px}
 .nav-links .heritage-menu>li>a{display:block;min-height:56px;box-sizing:border-box;padding:18px 0 14px;font-size:15px;line-height:1.4}
 .nav-links .heritage-menu .sub-menu{display:none!important;visibility:hidden!important;opacity:0!important;transform:none!important;position:static!important;box-shadow:none!important;min-width:0!important;margin:0 0 12px 7px!important;background:transparent!important}
 .nav-links .heritage-menu>li.bgl-submenu-open>.sub-menu{display:block!important;visibility:visible!important;opacity:1!important}
 .nav-links .heritage-menu .sub-menu a{display:block;font-size:14px;line-height:1.5;min-height:46px;padding:12px 8px}
 .bgl-submenu-toggle{position:absolute;right:0;top:5px;width:46px;height:48px;background:transparent;border:0;color:#dfbd8f;display:flex;align-items:center;justify-content:center}
 .bgl-submenu-toggle svg{transition:transform .2s ease}
 .bgl-submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
 .bgl-mobile-account{display:block;width:100%;border-top:1px solid #86613e;margin-top:20px;padding-top:10px}
 .bgl-mobile-account a{display:flex;gap:12px;align-items:center;min-height:56px;padding:10px 0;font-size:15px;font-weight:700;color:#f2dfc7}
 .hero,.hero-inner{min-height:560px}
 .hero-copy{padding:52px 0 60px;max-width:92%}
 .hero h1{font-size:clamp(38px,9vw,56px);line-height:1.13;letter-spacing:-.02em;margin:17px 0 26px}
 .hero .eyebrow{font-size:10px;line-height:1.65;letter-spacing:.16em}
 .hero p{font-size:16px;line-height:1.7;max-width:380px}
 .hero-buttons{margin-top:28px;gap:12px}
 .hero-buttons .btn{min-height:50px;padding:13px 18px;font-size:11px;line-height:1.4;text-align:center}
 .hero:before{background:linear-gradient(90deg,rgba(17,10,6,.87) 0%,rgba(17,10,6,.64) 63%,rgba(17,10,6,.25) 100%)}
}
@media (max-width:420px){
 .branding .bgl-script-wordmark{font-size:clamp(28px,8vw,35px)}
 .hero h1{font-size:clamp(35px,9vw,43px)}
 .hero-buttons{flex-direction:column;align-items:flex-start}
 .hero-buttons .btn{min-width:230px}
}
@media (min-width:781px){.bgl-submenu-toggle{display:none}}

/* v2.6 – clutter-free header, no zero cart counts, small overlay badge */
.bgl-cart-link{position:relative;gap:0!important;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px}
.bgl-cart-count{position:absolute;right:0;top:0;transform:translate(25%,-5%);display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:2px 4px;box-sizing:border-box;border-radius:999px;background:#d4a66e;color:#21150e;font:700 11px/1 Arial,sans-serif;border:1px solid #21150e;pointer-events:none}
.nav-actions{gap:9px}
@media(max-width:780px){.nav-actions{gap:7px}.nav-actions .bgl-cart-link{width:44px;height:44px;flex:0 0 44px}}

/* v2.7: Floating return-to-top control with iPhone safe area */
.bgl-back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right,0px) + 14px);bottom:max(20px,env(safe-area-inset-bottom,0px) + 18px);z-index:70;width:50px;height:50px;border-radius:9px;border:1px solid #d6b386;background:#291b12;color:#f5e5cf;box-shadow:0 5px 20px rgba(15,9,5,.35);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.bgl-back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.bgl-back-to-top:hover{background:#563721;color:#fff7e8}
.bgl-back-to-top:focus-visible{outline:3px solid #e9ba77;outline-offset:4px}
@media(max-width:780px){.bgl-back-to-top{width:48px;height:48px;right:max(14px,env(safe-area-inset-right,0px) + 12px);bottom:max(17px,env(safe-area-inset-bottom,0px) + 14px)}}
@media(prefers-reduced-motion:reduce){.bgl-back-to-top{transition:none!important}}
.bgl-empty-collection-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 34px}
.bgl-empty-collection-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #8a694a;background:#352316;color:#fff6e9;border-radius:2px;text-decoration:none}
.bgl-empty-collection-actions a:last-child{background:transparent;color:#352316}
.bgl-empty-collection-actions a:focus-visible{outline:3px solid #8a694a;outline-offset:3px}

/* v2.8: iOS reliable floating return-to-top, mobile accordions. */
@media(max-width:780px){
 .nav-links .heritage-menu>li.menu-item-has-children>.sub-menu{display:none!important;visibility:hidden!important;opacity:0!important;max-height:0!important;overflow:hidden!important}
 .nav-links .heritage-menu>li.menu-item-has-children.bgl-submenu-open>.sub-menu{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important}
 .nav-links .heritage-menu>li.menu-item-has-children:not(.bgl-submenu-open)>.sub-menu{display:none!important}
 .nav-links .heritage-menu>li.menu-item-has-children>a:after{display:none!important}
 .bgl-submenu-toggle{touch-action:manipulation}
}
.bgl-back-to-top{position:fixed!important;z-index:99999!important;bottom:calc(22px + env(safe-area-inset-bottom,0px));right:calc(18px + env(safe-area-inset-right,0px));-webkit-transform:translateY(12px);transform:translateY(12px)}
.bgl-back-to-top.is-visible{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;-webkit-transform:translateY(0);transform:translateY(0)}
@media(max-width:780px){.bgl-back-to-top{bottom:calc(72px + env(safe-area-inset-bottom,0px));right:calc(16px + env(safe-area-inset-right,0px));width:48px;height:48px}}

.bgl-footer-owner-menu{list-style:none;margin:0;padding:0}.bgl-footer-owner-menu li{margin:0 0 10px}.bgl-footer-owner-menu a{color:inherit;text-decoration:none}

/* v3.4 — quiet owner-editable collaboration credit */
.bgl-design-credit{margin:17px auto 0;padding:13px 10px 0;border-top:1px solid rgba(204,172,132,.16);font-size:11.5px;line-height:1.7;text-align:center;color:#998b7b;letter-spacing:.005em}
.bgl-design-credit a{display:inline!important;margin:0!important;font-size:inherit!important;font-weight:500;color:#bda07d;text-decoration:none;text-underline-offset:3px;transition:color .2s ease}
.bgl-design-credit a:hover,.bgl-design-credit a:focus-visible{color:#ead2af;text-decoration:underline}
.bgl-design-credit span{margin:0 3px}
@media(max-width:600px){.bgl-design-credit{font-size:11px;line-height:1.9;padding-left:4px;padding-right:4px}}

/* Signed-in account disclosure; signed-out icon remains a direct login link. */
.bgl-account-dropdown{position:relative}
.bgl-account-dropdown>summary{list-style:none;cursor:pointer}
.bgl-account-dropdown>summary::-webkit-details-marker{display:none}
.bgl-account-dropdown>summary:focus-visible{outline:2px solid #e8d0aa;outline-offset:3px}
.bgl-account-dropdown-panel{position:absolute;right:0;top:calc(100% + 8px);min-width:160px;background:#1b1612;border:1px solid #8b704e;padding:6px 0;box-shadow:0 8px 24px #0005;z-index:1001}
.nav-actions .bgl-account-dropdown-panel a{display:block;padding:12px 18px;color:#f7e7cf;font-size:14px;line-height:1.4;text-decoration:none;white-space:nowrap}
.nav-actions .bgl-account-dropdown-panel a:hover,.nav-actions .bgl-account-dropdown-panel a:focus-visible{background:#3b2b1e;color:#fff}
