/*
Theme Name: Blue House Iberico
Theme URI: https://example.com/
Author: Blue House Iberico
Description: Custom farm-to-table WooCommerce theme with an easy no-code Blue House content editor.
Version: 1.9.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: blue-house-iberico
*/

/* Blue House Iberico — premium farm-to-table visual system */
:root{
  --navy:#10384a;
  --navy-deep:#0a2937;
  --navy-soft:#315868;
  --cream:#f3eee2;
  --cream-warm:#ebe2d1;
  --paper:#fbf8f0;
  --sand:#d8cbb7;
  --sage:#8f9a87;
  --rust:#9a624c;
  --line:rgba(16,56,74,.18);
  --line-strong:rgba(16,56,74,.32);
  --shadow-sm:0 7px 24px rgba(10,41,55,.07);
  --shadow-lg:0 24px 65px rgba(10,41,55,.13);
  --serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Baskerville,Georgia,serif;
  --sans:Avenir,"Avenir Next",Montserrat,"Segoe UI",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--cream)}
body{
  margin:0;
  color:var(--navy);
  background:
    radial-gradient(circle at 18% 9%,rgba(255,255,255,.72),transparent 27rem),
    radial-gradient(circle at 86% 26%,rgba(255,255,255,.40),transparent 31rem),
    var(--cream);
  font-family:var(--sans);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:999;
  opacity:.18;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
::selection{background:var(--navy);color:var(--paper)}
a{color:inherit;text-decoration:none}
button,select,input{font:inherit}
button{color:inherit}
img{display:block;max-width:100%}
.container{width:min(1210px,calc(100% - 56px));margin:0 auto}

/* Announcement + navigation */
.top-note{
  background:var(--navy-deep);
  color:#f6f1e7;
  text-align:center;
  padding:10px 18px 9px;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(243,238,226,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px) saturate(120%);
}
.nav{
  min-height:102px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:28px;
  align-items:center;
}
.nav-left,.nav-right{
  display:flex;
  align-items:center;
  gap:27px;
  font-size:.70rem;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.nav-right{justify-content:flex-end}
.nav-logo{
  width:120px;
  height:84px;
  object-fit:contain;
  mix-blend-mode:multiply;
  transition:transform .25s ease;
}
a:hover .nav-logo{transform:translateY(-1px)}
.nav-link{position:relative;padding:9px 0}
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:4px;
  width:100%;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .25s ease;
}
.nav-link:hover::after{transform:scaleX(1);transform-origin:left}
.cart-button{
  border:1px solid var(--navy);
  background:transparent;
  padding:11px 15px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.68rem;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}
.cart-button:hover{background:var(--navy);color:var(--paper)}
.cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  margin-left:6px;
  padding:0 5px;
  border-radius:999px;
  background:var(--navy);
  color:var(--paper);
  font-size:.64rem;
}
.cart-button:hover .cart-count{background:var(--paper);color:var(--navy)}

/* Type */
h1,h2,h3{margin:0;font-family:var(--serif);font-weight:400;color:var(--navy-deep)}
.eyebrow{
  margin-bottom:18px;
  color:var(--navy-soft);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.25em;
  text-transform:uppercase;
}

/* Homepage hero */
.hero{
  display:grid;
  grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);
  min-height:700px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(90deg,rgba(251,248,240,.45),rgba(251,248,240,0));
}
.hero-copy{
  display:flex;
  align-items:center;
  padding:92px max(6.5vw,48px) 90px max(7vw,54px);
}
.hero-copy>div{max-width:610px}
.hero-copy h1{
  max-width:8.2ch;
  font-size:clamp(4.2rem,7.4vw,8.3rem);
  line-height:.83;
  letter-spacing:-.052em;
}
.hero-copy p{
  max-width:520px;
  margin:31px 0 36px;
  color:#405f6b;
  font-family:var(--serif);
  font-size:1.23rem;
  line-height:1.65;
}
.hero-media{min-height:640px;margin:26px 26px 26px 0}
.hero-media .placeholder{min-height:100%}

/* Placeholder images */
.placeholder{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:270px;
  height:100%;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    linear-gradient(145deg,rgba(16,56,74,.055),rgba(255,255,255,.28)),
    repeating-linear-gradient(45deg,transparent 0 24px,rgba(16,56,74,.026) 24px 25px),
    #e7dfd0;
  color:#5c7480;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.22em;
  text-align:center;
  text-transform:uppercase;
}
.placeholder::before,.placeholder::after{
  content:"";
  position:absolute;
  width:160%;
  height:1px;
  background:rgba(16,56,74,.11);
  transform:rotate(34deg);
}
.placeholder::after{transform:rotate(-34deg)}
.placeholder span{
  z-index:2;
  padding:9px 12px;
  border:1px solid rgba(16,56,74,.12);
  background:rgba(231,223,208,.92);
}
.placeholder.has-photo::before,.placeholder.has-photo::after{display:none}

/* Buttons */
.btn{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  gap:11px;
  border:1px solid var(--navy);
  background:var(--navy);
  color:#f9f4ea;
  padding:14px 21px;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.btn-outline{background:transparent;color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:var(--paper)}

/* Homepage sections */
.section{padding:104px 0}
.section-tight{padding:76px 0}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:56px;
  margin-bottom:44px;
}
.section-head h2{
  font-size:clamp(3rem,5.2vw,5.5rem);
  line-height:.91;
  letter-spacing:-.042em;
}
.section-head p{
  max-width:450px;
  margin:0 0 4px;
  color:#526d77;
  font-family:var(--serif);
  font-size:1.08rem;
  line-height:1.65;
}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.category-card{
  position:relative;
  display:block;
  min-height:450px;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--paper);
  box-shadow:0 1px 0 rgba(16,56,74,.03);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.category-card:hover{transform:translateY(-6px);border-color:var(--line-strong);box-shadow:var(--shadow-lg)}
.category-card .placeholder{height:344px;border:0;border-bottom:1px solid var(--line);transition:transform .45s ease}
.category-card:hover .placeholder{transform:scale(1.015)}
.card-copy{padding:21px 21px 24px}
.card-kicker{color:#718087;font-size:.61rem;font-weight:800;letter-spacing:.20em;text-transform:uppercase}
.card-title{margin-top:5px;font-family:var(--serif);font-size:2rem;line-height:1;color:var(--navy-deep)}
.arrow{position:absolute;right:20px;bottom:21px;font-family:var(--serif);font-size:1.35rem;transition:transform .2s ease}
.category-card:hover .arrow{transform:translate(3px,-3px)}

.split-story{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--paper);
  box-shadow:var(--shadow-sm);
}
.split-story .placeholder{min-height:565px;border:0;border-right:1px solid var(--line)}
.story-copy{display:flex;flex-direction:column;justify-content:center;padding:72px 65px}
.story-copy h2{font-size:clamp(3.1rem,5vw,5.4rem);line-height:.9;letter-spacing:-.045em;margin-bottom:27px}
.story-copy p{margin:0 0 18px;color:#4f6872;font-family:var(--serif);font-size:1.09rem;line-height:1.7}

.values{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.value{padding:48px clamp(30px,5vw,78px);border-right:1px solid var(--line)}
.value:last-child{border-right:0}
.value h3{margin-bottom:11px;font-size:1.8rem}
.value p{max-width:310px;margin:0;color:#61757c;font-size:.86rem;line-height:1.7}

.newsletter{padding:85px 0;background:var(--navy-deep);color:#f4efe5}
.newsletter-inner{display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:end}
.newsletter h2{color:#f5f0e6;font-size:clamp(3.2rem,5.3vw,5.8rem);line-height:.89;letter-spacing:-.042em}
.newsletter p{max-width:550px;color:#cdd7d5;font-family:var(--serif);font-size:1.05rem}
.newsletter-form{display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:7px}
.newsletter-form input{flex:1;border:0;outline:0;background:transparent;color:white;padding:13px 3px;font-family:var(--serif);font-size:1rem}
.newsletter-form input::placeholder{color:#b9c5c3}
.newsletter-form button{border:0;background:transparent;color:white;padding:12px 0 12px 16px;font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}

/* Interior page headers */
.page-hero{
  padding:88px 0 66px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,rgba(251,248,240,.55),rgba(251,248,240,0));
}
.page-hero h1{max-width:12ch;font-size:clamp(4.2rem,7vw,7.4rem);line-height:.85;letter-spacing:-.05em}
.page-hero p{max-width:650px;margin:27px 0 0;color:#4a6570;font-family:var(--serif);font-size:1.16rem;line-height:1.7}
.breadcrumbs{margin-bottom:33px;color:#6c7f87;font-size:.63rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:4px}

/* Shop category / products */
.category-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.subcat{
  display:flex;
  min-height:440px;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--paper);
  transition:transform .25s ease,box-shadow .25s ease;
}
.subcat:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.subcat .placeholder{min-height:315px;flex:1;border:0;border-bottom:1px solid var(--line)}
.subcat-copy{padding:24px 24px 27px}
.subcat h3{margin:5px 0 9px;font-size:2.2rem;line-height:1}
.subcat p{margin:0;color:#60747b;font-family:var(--serif);font-size:.98rem}

.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}
.product-card{
  position:relative;
  display:block;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--paper);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.product-card:hover{transform:translateY(-4px);border-color:var(--line-strong);box-shadow:var(--shadow-lg)}
.product-card .placeholder{height:355px;border:0;border-bottom:1px solid var(--line)}
.product-card-body{padding:21px 21px 23px}
.product-card h3{margin:6px 0 13px;font-size:1.8rem;line-height:1.05}
.product-meta{display:flex;justify-content:space-between;gap:15px;color:#6d7e84;font-size:.69rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* Product detail */
.product-detail{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:64px;align-items:start}
.product-gallery .placeholder{min-height:665px}
.product-info{position:sticky;top:132px;padding:18px 0 20px}
.product-info h1{max-width:12ch;font-size:clamp(3.2rem,5vw,5.5rem);line-height:.89;letter-spacing:-.04em}
.price{margin:20px 0 25px;font-family:var(--serif);font-size:1.5rem}
.bhi-price-unit{font-size:.72em;color:#61757c;white-space:nowrap}
.product-description{color:#526b75;font-family:var(--serif);font-size:1.08rem;line-height:1.72}
.field{margin:25px 0}
.field label{display:block;margin-bottom:8px;color:#5f7279;font-size:.62rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.field select,.field input{
  width:100%;
  min-height:48px;
  border:1px solid var(--line-strong);
  border-radius:0;
  outline:0;
  background:#fffdf8;
  color:var(--navy);
  padding:12px 13px;
}
.field select:focus,.field input:focus{border-color:var(--navy);box-shadow:0 0 0 2px rgba(16,56,74,.08)}
.qty-row{display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:end}
.qty-row .btn{height:48px}
.accordion{margin-top:31px;border-top:1px solid var(--line)}
.accordion details{padding:17px 0;border-bottom:1px solid var(--line)}
.accordion summary{cursor:pointer;font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.accordion p{color:#586f78;font-family:var(--serif);line-height:1.7}

/* Eggs */
.egg-card{display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm)}
.egg-card .placeholder{min-height:565px;border:0;border-right:1px solid var(--line)}
.egg-content{display:flex;flex-direction:column;justify-content:center;padding:62px 64px}
.egg-content h2{font-size:clamp(3.5rem,5vw,4.8rem);line-height:.92;letter-spacing:-.035em}

/* Photo manager */
.admin-wrap{display:grid;grid-template-columns:330px 1fr;gap:24px;min-height:650px}
.admin-panel,.admin-preview{border:1px solid var(--line);background:var(--paper);padding:25px;box-shadow:var(--shadow-sm)}
.admin-panel h2,.admin-preview h2{margin-bottom:17px;font-size:2rem}
.admin-list{display:grid;gap:7px;max-height:485px;overflow:auto;padding-right:3px}
.admin-slot{border:1px solid var(--line);background:transparent;padding:12px 13px;text-align:left;font-size:.79rem;cursor:pointer;transition:.18s ease}
.admin-slot:hover{border-color:var(--navy)}
.admin-slot.active{background:var(--navy);color:var(--cream)}
.admin-preview .placeholder{min-height:440px;margin-bottom:18px}
.help-box{margin:27px 0;padding:19px 21px;border-left:3px solid var(--navy);background:#e7dfcf;color:#50646c;font-size:.86rem;line-height:1.65}

/* Footer */
footer{padding:61px 0 34px;background:var(--navy-deep);color:#dce4e1}
.footer-grid{display:grid;grid-template-columns:1.35fr repeat(3,.65fr);gap:48px}
.footer-logo{width:158px;margin-bottom:17px;filter:grayscale(1) brightness(3.6);mix-blend-mode:screen;opacity:.94}
.footer-title{margin-bottom:14px;color:#f4efe6;font-family:var(--serif);font-size:1.55rem}
.footer-links{display:grid;gap:10px;color:#becbc8;font-size:.76rem}
.footer-links a{width:max-content;max-width:100%}
.footer-links a:hover{color:white;text-decoration:underline;text-underline-offset:4px}
.copyright{display:flex;justify-content:space-between;gap:22px;margin-top:48px;padding-top:19px;border-top:1px solid rgba(255,255,255,.14);color:#98aaa6;font-size:.66rem;letter-spacing:.02em}

/* Cart */
.cart-drawer{position:fixed;inset:0;z-index:150;pointer-events:none}
.cart-drawer.open{pointer-events:auto}
.cart-backdrop{position:absolute;inset:0;background:rgba(5,23,31,.52);opacity:0;transition:opacity .25s ease}
.cart-drawer.open .cart-backdrop{opacity:1}
.cart-panel{position:absolute;top:0;right:0;display:flex;width:min(470px,100%);height:100%;flex-direction:column;background:var(--paper);box-shadow:-20px 0 65px rgba(0,0,0,.18);transform:translateX(100%);transition:transform .3s ease}
.cart-drawer.open .cart-panel{transform:translateX(0)}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:25px;border-bottom:1px solid var(--line)}
.cart-head h2{font-size:2.1rem}
.icon-btn{border:0;background:transparent;font-size:1.45rem;cursor:pointer}
.cart-items{flex:1;overflow:auto;padding:18px 25px}
.cart-item{display:grid;grid-template-columns:1fr auto;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-item-title{font-family:var(--serif);font-size:1.18rem}
.cart-foot{padding:23px 25px;border-top:1px solid var(--line)}
.cart-total{display:flex;justify-content:space-between;margin-bottom:17px;font-family:var(--serif);font-size:1.2rem}
.empty{padding:34px 0;color:#75858b;font-family:var(--serif)}
.toast{position:fixed;left:50%;bottom:28px;z-index:180;padding:12px 18px;background:var(--navy);color:var(--cream);font-size:.72rem;letter-spacing:.06em;opacity:0;pointer-events:none;transform:translate(-50%,18px);transition:.2s ease}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Accessibility */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--rust);outline-offset:3px}

@media (max-width:1020px){
  .nav-left,.nav-right{gap:18px;font-size:.65rem}
  .hero{grid-template-columns:1fr 1fr}
  .hero-copy{padding-left:42px;padding-right:42px}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .product-detail{gap:38px}
}

@media (max-width:820px){
  .container{width:min(100% - 38px,1210px)}
  .nav{grid-template-columns:1fr auto 1fr;min-height:82px}
  .nav-left{display:none}
  .nav-right .nav-link{display:none}
  .nav-logo{width:96px;height:68px}
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-copy{padding:70px 28px 60px}
  .hero-media{min-height:470px;margin:0 19px 22px}
  .section-head{display:block}
  .section-head p{margin-top:20px}
  .split-story{grid-template-columns:1fr}
  .split-story .placeholder{min-height:430px;border-right:0;border-bottom:1px solid var(--line)}
  .story-copy{padding:50px 36px}
  .values{grid-template-columns:1fr}
  .value{border-right:0;border-bottom:1px solid var(--line)}
  .value:last-child{border-bottom:0}
  .newsletter-inner{grid-template-columns:1fr;gap:35px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .category-strip{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .product-detail{grid-template-columns:1fr}
  .product-info{position:static}
  .product-gallery .placeholder{min-height:520px}
  .egg-card{grid-template-columns:1fr}
  .egg-card .placeholder{border-right:0;border-bottom:1px solid var(--line)}
  .admin-wrap{grid-template-columns:1fr}
}

@media (max-width:560px){
  .top-note{font-size:.57rem;letter-spacing:.16em}
  .container{width:min(100% - 28px,1210px)}
  .nav{min-height:74px}
  .nav-logo{width:84px;height:60px}
  .nav-right{gap:9px}
  .cart-button{padding:10px 11px;font-size:.61rem}
  .hero-copy{padding:58px 20px 52px}
  .hero-copy h1{font-size:clamp(3.6rem,18vw,5.2rem)}
  .hero-copy p{font-size:1.08rem}
  .hero-media{min-height:385px;margin:0 14px 14px}
  .section{padding:74px 0}
  .section-tight{padding:58px 0}
  .category-grid,.product-grid{grid-template-columns:1fr}
  .category-card{min-height:auto}
  .category-card .placeholder,.product-card .placeholder{height:305px}
  .story-copy{padding:42px 27px}
  .newsletter{padding:63px 0}
  .newsletter-form{display:block;border-bottom:0}
  .newsletter-form input{width:100%;border-bottom:1px solid rgba(255,255,255,.45)}
  .newsletter-form button{padding-left:0;margin-top:10px}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .copyright{display:block}
  .copyright span{display:block;margin-top:6px}
  .page-hero{padding:66px 0 52px}
  .page-hero h1{font-size:clamp(3.6rem,17vw,5.2rem)}
  .product-gallery .placeholder{min-height:410px}
  .egg-content{padding:40px 27px}
  .qty-row{grid-template-columns:80px 1fr}
}


/* WordPress + WooCommerce integration */
body.admin-bar .site-header{top:32px}
.bhi-logo-link{display:block}
.bhi-logo-link .custom-logo{width:120px;height:84px;object-fit:contain;mix-blend-mode:multiply}
.media-frame-box{position:relative;min-height:100%;overflow:hidden;background:#e7dfd0}
.media-frame-box img{width:100%;height:100%;object-fit:cover}
.placeholder.has-photo{background:none}
.placeholder.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.placeholder.has-photo span{display:none}
.woocommerce-notices-wrapper{width:min(1210px,calc(100% - 56px));margin:24px auto 0}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid var(--line-strong)!important;background:var(--paper)!important;color:var(--navy)!important;padding:16px 18px!important;box-shadow:none!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--navy)!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.product-card-actions .button,.single_add_to_cart_button{
  border:1px solid var(--navy)!important;border-radius:0!important;background:var(--navy)!important;color:var(--paper)!important;
  padding:14px 18px!important;font-size:.67rem!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.single_add_to_cart_button:hover{background:var(--navy-deep)!important;color:var(--paper)!important}
ul.products.product-grid{list-style:none;margin:0;padding:0}
ul.products.product-grid::before,ul.products.product-grid::after{display:none!important}
ul.products.product-grid li.product{width:auto!important;margin:0!important;float:none!important}
.product-card-main{display:block}
.product-card-media{height:355px;overflow:hidden;border-bottom:1px solid var(--line);background:#e7dfd0}
.product-card-media img{width:100%!important;height:100%!important;margin:0!important;object-fit:cover}
.product-card .onsale{top:14px!important;right:14px!important;left:auto!important;min-width:auto!important;min-height:auto!important;border-radius:0!important;background:var(--navy)!important;padding:7px 9px!important;line-height:1!important;font-size:.6rem!important;letter-spacing:.1em;text-transform:uppercase}
.product-card-actions{padding:0 21px 22px}
.product-card-actions .button{display:block!important;width:100%;text-align:center;margin:0!important}
.bhi-wc-archive .woocommerce-result-count,.bhi-wc-archive .woocommerce-ordering{margin:0 0 30px;color:#61757c;font-size:.76rem}
.bhi-wc-tools{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}
.bhi-wc-tools select{border:1px solid var(--line-strong);background:var(--paper);padding:10px 12px;color:var(--navy)}
.woocommerce-pagination{margin-top:42px}
.woocommerce-pagination ul.page-numbers{border:0!important}
.woocommerce-pagination ul.page-numbers li{border:0!important;margin:0 4px!important}
.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;height:40px;border:1px solid var(--line)!important;background:var(--paper)!important;color:var(--navy)!important}
.woocommerce-pagination span.current{background:var(--navy)!important;color:var(--paper)!important}
.bhi-single-product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.bhi-single-product .woocommerce-product-gallery__wrapper{margin:0}
.bhi-single-product .woocommerce-product-gallery__image{background:var(--paper);border:1px solid var(--line)}
.bhi-single-product .woocommerce-product-gallery img{width:100%;height:auto;max-height:760px;object-fit:cover}
.bhi-single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px!important}
.bhi-single-product .flex-control-thumbs li{width:auto!important;float:none!important}
.bhi-single-product .product-info form.cart{margin:28px 0!important}
.bhi-single-product .product-info form.cart::after{content:"";display:block;clear:both}
.bhi-single-product .quantity{float:left;margin-right:10px!important}
.bhi-single-product .quantity .qty{min-height:48px;width:78px;border:1px solid var(--line-strong);background:#fffdf8}
.bhi-single-product table.variations{margin:24px 0!important;border:0!important}
.bhi-single-product table.variations td,.bhi-single-product table.variations th{display:block;padding:0 0 8px!important;background:transparent!important;border:0!important;text-align:left}
.bhi-single-product table.variations label{font-size:.62rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.bhi-single-product table.variations select{width:100%;min-height:48px;border:1px solid var(--line-strong);background:#fffdf8;padding:10px 12px}
.bhi-single-product .reset_variations{display:inline-block;margin-top:8px;font-size:.7rem}
.bhi-single-product .product_meta{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);color:#6d7e84;font-size:.7rem;line-height:1.8;text-transform:uppercase;letter-spacing:.05em}
.bhi-single-product .stock{font-weight:700;color:var(--navy)}
.related.products,.upsells.products{width:min(1210px,calc(100% - 56px));margin:70px auto}
.related.products>h2,.upsells.products>h2{margin-bottom:30px;font-size:3rem}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{width:min(1210px,calc(100% - 56px));margin:70px auto}
.woocommerce table.shop_table{border:1px solid var(--line)!important;border-radius:0!important;background:var(--paper)}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--line)!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--line-strong);border-radius:0;background:#fffdf8;padding:12px}
.woocommerce-checkout #payment{border-radius:0!important;background:var(--paper)!important;border:1px solid var(--line)}
.woocommerce-breadcrumb{display:none}
.bhi-editor-link{opacity:.75}
.bhi-editor-link:hover{opacity:1}

@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:820px){.bhi-logo-link .custom-logo{width:96px;height:68px}.bhi-wc-tools{display:block}.bhi-wc-tools .woocommerce-ordering{margin-top:12px}.woocommerce-notices-wrapper,.related.products,.upsells.products,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{width:min(100% - 38px,1210px)}}
@media(max-width:560px){.bhi-logo-link .custom-logo{width:84px;height:60px}.woocommerce-notices-wrapper,.related.products,.upsells.products,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{width:min(100% - 28px,1210px)}}


/* Customer account + payment additions */
.bhi-account-info{
  margin:0 0 24px;
  border-left:4px solid var(--navy);
  background:#f7f2e8;
  color:var(--ink);
}
.woocommerce-account .woocommerce{
  width:min(1050px,calc(100% - 56px));
  margin:72px auto 110px;
}
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3{
  margin-bottom:18px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0 0 28px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;
  border:1px solid var(--line);
  padding:10px 13px;
  background:rgba(255,255,255,.35);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bhi-payment-box{
  margin:30px 0;
  padding:30px;
  border:1px solid var(--line);
  background:#f8f4ea;
}
.bhi-payment-box h2{
  margin-bottom:18px;
  font-size:clamp(2rem,3vw,3rem);
}
.bhi-payment-label{
  display:block;
  margin:20px 0 7px;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.bhi-payment-note{
  width:100%;
  min-height:120px;
  resize:vertical;
  border:1px solid var(--line);
  background:#fffdf7;
  padding:14px;
  color:var(--navy-deep);
  line-height:1.5;
}
.bhi-payment-actions{margin:12px 0 16px}
.bhi-pay-small{
  color:#5a6c73;
  font-size:.88rem;
}
.bhi-zelle-qr{
  width:min(240px,100%);
  margin:18px 0;
  border:1px solid var(--line);
  background:white;
  padding:10px;
}
.payment_method_bhi_zelle .bhi-pay-recipient{
  margin:10px 0 4px;
  font-weight:600;
}

/* v1.3 catalog/category fixes */
.bhi-catalog-section{border-top:1px solid var(--line)}
.bhi-catalog-section:nth-of-type(even){background:rgba(251,248,240,.34)}
.bhi-empty-category{margin:0!important}
.bhi-staff-only{margin:18px 0 0}
.bhi-category-featured-product{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:52px;
  align-items:center;
  border:1px solid var(--line);
  background:rgba(251,248,240,.66);
  padding:28px;
}
.bhi-category-featured-media{min-height:520px;background:#e7dfd0;overflow:hidden}
.bhi-category-featured-media img{width:100%;height:100%;min-height:520px;object-fit:cover}
.bhi-category-featured-copy{padding:22px 28px 22px 8px}
.bhi-category-featured-copy h2{font-size:clamp(2.8rem,5vw,4.8rem);line-height:.94;margin-bottom:8px}
.bhi-category-featured-copy p{font-family:var(--serif);font-size:1.08rem;line-height:1.65;color:#405f6b}
.bhi-category-featured-copy form.cart{margin-top:28px}
.bhi-category-featured-copy table.variations{width:100%;margin:0 0 18px;border-collapse:collapse}
.bhi-category-featured-copy table.variations th,
.bhi-category-featured-copy table.variations td{padding:8px 0;text-align:left;vertical-align:middle}
.bhi-category-featured-copy table.variations select{width:100%;min-height:48px;border:1px solid var(--line-strong);background:var(--paper);padding:9px 12px;color:var(--navy)}
.bhi-category-featured-copy .single_variation_wrap{margin-top:12px}
.bhi-category-featured-copy .woocommerce-variation-price{margin-bottom:15px}
.bhi-category-featured-copy .quantity{display:inline-block;margin-right:8px}
.bhi-category-featured-copy .quantity input{min-height:48px;border:1px solid var(--line-strong);background:var(--paper);padding:8px;width:72px}
@media(max-width:900px){
  .bhi-category-featured-product{grid-template-columns:1fr;gap:20px;padding:18px}
  .bhi-category-featured-media,.bhi-category-featured-media img{min-height:360px}
  .bhi-category-featured-copy{padding:18px 4px 8px}
}


/* v1.7 classic checkout compatibility */
.woocommerce-checkout form.checkout.woocommerce-checkout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:42px;
  align-items:start;
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review{float:none!important;width:auto!important}
.woocommerce-checkout #order_review_heading{grid-column:2;margin:0 0 -22px;font-size:2rem}
.woocommerce-checkout #order_review{grid-column:2}
.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 2}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;margin:0;padding:0}
.woocommerce-checkout #payment ul.payment_methods>li{padding:18px 20px;border-bottom:1px solid var(--line)}
.woocommerce-checkout #payment ul.payment_methods>li:last-child{border-bottom:0}
.woocommerce-checkout #payment label{font-weight:800;letter-spacing:.04em}
.woocommerce-checkout #payment .payment_box{margin:14px 0 0!important;background:#f8f4ea!important;color:var(--ink)!important}
.woocommerce-checkout #payment .payment_box:before{border-bottom-color:#f8f4ea!important}
.woocommerce-checkout #payment .place-order{padding:22px!important}
.woocommerce-checkout #payment #place_order{width:100%;min-height:52px}
@media(max-width:900px){
  .woocommerce-checkout form.checkout.woocommerce-checkout{grid-template-columns:1fr;gap:24px}
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review{grid-column:1;grid-row:auto}
  .woocommerce-checkout #order_review_heading{margin:16px 0 -8px}
}

/* About page: intentionally blank until edited in WordPress. */
.about-page .section{min-height:58vh;padding-top:72px;padding-bottom:84px}
.about-page .entry-content:empty{min-height:38vh}
