/* Big Horse Safety — online store */
.bh-shop-preview{background:#FFF7E0;border-bottom:1px solid #F0D58A;color:#5B4300;font-size:15px}
.bh-shop-preview .bh-wrap{padding-top:10px;padding-bottom:10px}
.bh-shop-preview a{color:#5B4300;font-weight:700}
.bh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.bh-shop-headrow,.bh-shop-toprow{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.bh-shop-toprow{align-items:center;margin-bottom:28px}
.bh-shop-toprow .bh-crumbs{margin:0}
.bh-shop-cartlink{min-height:44px;padding:9px 18px;font-size:16px;flex-shrink:0}
.bh-shop-cartlink b{background:var(--bh-accent);color:var(--bh-ink);border-radius:99px;font-size:13px;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
.bh-shop-cartlink:hover b{background:var(--bh-white)}

/* catalogue */
.bh-shop-kit{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);background:var(--bh-white);border:1px solid var(--bh-line);border-radius:var(--bh-radius);overflow:hidden;text-decoration:none;color:inherit;margin-bottom:36px;transition:border-color .15s,box-shadow .15s}
.bh-shop-kit:hover{border-color:var(--bh-accent);box-shadow:0 8px 24px rgba(0,0,0,.08);color:inherit}
.bh-shop-kit-img{background:var(--bh-band);display:flex;align-items:center;justify-content:center;min-height:300px}
.bh-shop-kit-img picture{display:block;width:100%;height:100%}
.bh-shop-kit-img img{display:block;width:100%;height:100%;object-fit:contain;padding:12px;box-sizing:border-box}
.bh-shop-kit-body{padding:32px;display:flex;flex-direction:column;gap:12px}
.bh-shop-kit-body h3{font-size:34px;margin:0}
.bh-shop-kit-body p{margin:0;color:var(--bh-muted)}
.bh-shop-badge{align-self:flex-start;background:var(--bh-ink);color:var(--bh-white);font-family:var(--bh-display);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:14px;padding:3px 10px;border-radius:3px}
.bh-shop-inc{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.bh-shop-inc li{padding-left:2px}
.bh-shop-inc b{color:var(--bh-accent-text);margin-right:4px}
.bh-shop-kit-foot{margin-top:auto;padding-top:14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--bh-line)}
.bh-shop-kit-foot .bh-btn{margin-left:auto}
.bh-shop-price{font-family:var(--bh-display);font-weight:700;font-size:28px;color:var(--bh-ink);line-height:1}
.bh-shop-price small{font-family:var(--bh-body);font-size:14px;font-weight:600;color:var(--bh-muted-2)}
.bh-shop-dots{display:inline-flex;gap:6px}
.bh-shop-dots i{width:18px;height:18px;border-radius:50%;border:2px solid var(--bh-white);box-shadow:0 0 0 1px var(--bh-line-2)}
.bh-shop-subhead{font-size:24px;margin:8px 0 18px}
.bh-shop-card .bh-card-body p{font-size:15px}
.bh-shop-cardfoot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--bh-line)}
.bh-shop-card .bh-shop-price{font-size:24px}
.bh-shop-noimg{width:100%;height:100%;background:var(--bh-band)}
.bh-shop-info3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:36px}
.bh-shop-info3 h3{font-size:24px}
.bh-shop-info3 p{color:#CFCFCF}

/* product */
.bh-shop-pgrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:start}
.bh-shop-gallery{position:sticky;top:96px;background:var(--bh-band);border:1px solid var(--bh-line);border-radius:var(--bh-radius);display:flex;align-items:center;justify-content:center;min-height:360px;padding:24px}
.bh-shop-gallery picture{display:block;width:100%}
.bh-shop-gallery img{display:block;width:100%;max-height:560px;object-fit:contain}
.bh-shop-pinfo h1{font-size:48px}
.bh-shop-pinfo .bh-lead{font-size:18px;margin-top:0}
.bh-shop-bigprice{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:6px 0 22px;padding-bottom:20px;border-bottom:1px solid var(--bh-line)}
.bh-shop-bigprice span{font-family:var(--bh-display);font-weight:700;font-size:44px;color:var(--bh-ink);line-height:1}
.bh-shop-bigprice small{color:var(--bh-muted-2);font-size:15px;font-weight:600}
.bh-shop-buy{display:flex;flex-direction:column;gap:18px}
.bh-shop-colors{border:0;margin:0;padding:0}
.bh-shop-colors legend{font-weight:700;color:var(--bh-ink);margin-bottom:10px}
.bh-shop-swatches{display:flex;flex-wrap:wrap;gap:10px}
.bh-shop-swatches label{display:flex;align-items:center;gap:10px;border:2px solid var(--bh-line-2);border-radius:6px;padding:9px 14px 9px 10px;cursor:pointer;min-height:48px;font-weight:600;background:var(--bh-white)}
.bh-shop-swatches label:has(input:checked){border-color:var(--bh-ink);box-shadow:inset 0 0 0 1px var(--bh-ink)}
.bh-shop-swatches label:has(input:focus-visible){outline:3px solid var(--bh-accent);outline-offset:2px}
.bh-shop-swatches input{position:absolute;opacity:0;pointer-events:none}
.bh-shop-swatches i,.bh-shop-onecolor i{width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25);flex-shrink:0}
.bh-shop-swatches small{color:var(--bh-accent-text);font-weight:700}
.bh-shop-onecolor{display:flex;align-items:center;gap:10px;font-weight:600;margin:0}
.bh-shop-qtyrow{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.bh-shop-qtyrow label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:var(--bh-ink);font-size:15px}
.bh-shop-qtyrow input,.bh-shop-table input[type=number]{font:inherit;width:96px;padding:11px 12px;border:1px solid #9E9E9E;border-radius:4px;min-height:48px}
.bh-shop-qtyrow .bh-btn{flex:1 1 200px}
.bh-shop-linetotal{margin:0;color:var(--bh-muted)}
.bh-shop-linetotal strong{color:var(--bh-ink)}
.bh-shop-includes{margin-top:30px;background:var(--bh-band);border-radius:var(--bh-radius);padding:22px 24px}
.bh-shop-includes h2{font-size:24px;margin-bottom:12px}
.bh-shop-includes ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.bh-shop-includes li{display:flex;gap:12px;align-items:baseline}
.bh-shop-includes b{font-family:var(--bh-display);font-size:22px;color:var(--bh-accent-text);min-width:46px}
.bh-shop-includes small{color:var(--bh-muted-2)}
.bh-shop-desc{margin-top:26px}
.bh-shop-note{font-size:15px;color:var(--bh-muted);border-left:3px solid var(--bh-accent);padding-left:14px}

/* cart + tables */
.bh-shop-ok{padding:14px 16px;border-radius:4px;background:#ECFDF3;border:1px solid #A7E3BF;color:#065F2C;margin-bottom:20px;font-weight:600}
.bh-shop-empty{text-align:center;padding:40px 0}
.bh-shop-tablewrap{overflow-x:auto}
.bh-shop-table{width:100%;border-collapse:collapse}
.bh-shop-table th{text-align:left;font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--bh-muted-2);padding:10px 12px;border-bottom:2px solid var(--bh-ink)}
.bh-shop-table td{padding:16px 12px;border-bottom:1px solid var(--bh-line);vertical-align:middle}
.bh-shop-table .r{text-align:right;white-space:nowrap}
.bh-shop-table td small{display:block;color:var(--bh-muted-2);font-size:14px}
.bh-shop-table td a{color:var(--bh-ink);text-decoration:none}
.bh-shop-table .th{width:92px}
.bh-shop-table .th picture{display:block}
.bh-shop-table .th img{width:80px;height:64px;object-fit:contain;background:var(--bh-band);border-radius:4px;display:block}
.bh-shop-x{border:0;background:none;font-size:26px;line-height:1;color:var(--bh-muted-2);cursor:pointer;width:44px;height:44px;border-radius:50%}
.bh-shop-x:hover{background:var(--bh-band);color:#B91C1C}
.bh-shop-cartfoot{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;margin-top:24px}
.bh-shop-subtotal{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right}
.bh-shop-subtotal span{font-size:20px}
.bh-shop-subtotal small{color:var(--bh-muted-2)}
.bh-shop-subtotal .bh-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}

/* checkout */
.bh-shop-checkout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;align-items:start}
.bh-shop-coform{position:relative}
.bh-shop-legend{font-family:var(--bh-display);font-weight:700;font-size:24px!important;text-transform:uppercase;color:var(--bh-ink)}
.bh-shop-choices{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.bh-shop-choice{display:flex;gap:14px;align-items:flex-start;border:2px solid var(--bh-line-2);border-radius:6px;padding:14px 16px;cursor:pointer}
.bh-shop-choice:has(input:checked){border-color:var(--bh-ink)}
.bh-shop-choice input{width:20px;height:20px;margin-top:3px;accent-color:var(--bh-accent);flex-shrink:0}
.bh-shop-choice span{display:flex;flex-direction:column;gap:2px}
.bh-shop-choice small{color:var(--bh-muted);font-size:15px}
.bh-shop-ship[hidden]{display:none}
.bh-shop-wide{grid-column:1/-1}
.bh-shop-fine{font-size:14px;color:var(--bh-muted-2);margin:0}
.bh-alert ul{margin:6px 0 0;padding-left:20px}
.bh-shop-summary{position:sticky;top:96px;background:var(--bh-band);border-radius:var(--bh-radius);padding:26px}
.bh-shop-summary h2{font-size:26px}
.bh-shop-sumlist{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:12px}
.bh-shop-sumlist li{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.bh-shop-sumlist small{display:block;color:var(--bh-muted-2)}
.bh-shop-summary dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0;padding:12px 0;border-top:1px solid var(--bh-line-2)}
.bh-shop-summary dl:empty{display:none}
.bh-shop-summary dd{margin:0;text-align:right;font-weight:600}
.bh-shop-total dt,.bh-shop-total dd{font-family:var(--bh-display);font-weight:700;font-size:26px;color:var(--bh-ink)}

/* order */
.bh-shop-order{display:flex;flex-direction:column;gap:28px}
.bh-shop-paybox{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:var(--bh-ink);color:var(--bh-white);border-radius:var(--bh-radius);padding:22px 26px}
.bh-shop-paybox strong{font-family:var(--bh-display);font-size:36px;display:block;line-height:1}
.bh-shop-paybox small{color:#CFCFCF}
.bh-shop-paybox p{margin:0}
.bh-shop-incsmall{margin:6px 0 0;padding-left:18px;font-size:14px;color:var(--bh-muted)}
.bh-shop-otable tfoot td{border-bottom:0;padding-top:8px;padding-bottom:8px}
.bh-shop-grand td{font-family:var(--bh-display);font-weight:700;font-size:24px;color:var(--bh-ink);border-top:2px solid var(--bh-ink)!important;padding-top:14px!important}
.bh-shop-odetails{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:24px;background:var(--bh-band);border-radius:var(--bh-radius);padding:22px 26px}
.bh-shop-odetails h3{font-size:20px;margin-bottom:6px}
.bh-shop-odetails p{margin:0}

@media (max-width:900px){
  .bh-shop-kit,.bh-shop-pgrid,.bh-shop-checkout{grid-template-columns:1fr}
  .bh-shop-kit-img{min-height:220px}
  .bh-shop-gallery,.bh-shop-summary{position:static}
  .bh-shop-gallery{min-height:240px}
}
@media (max-width:640px){
  .bh-shop-kit-body{padding:22px}
  .bh-shop-kit-body h3{font-size:28px}
  .bh-shop-kit-foot .bh-btn{margin-left:0;width:100%}
  .bh-shop-pinfo h1{font-size:36px}
  .bh-shop-bigprice span{font-size:38px}
  .bh-shop-cartform .bh-shop-table thead{display:none}
  .bh-shop-cartform .bh-shop-table tr{display:grid;grid-template-columns:80px 1fr auto;gap:4px 12px;padding:14px 0;border-bottom:1px solid var(--bh-line)}
  .bh-shop-cartform .bh-shop-table td{border:0;padding:0}
  .bh-shop-cartform .bh-shop-table td.th{grid-row:span 3;width:auto}
  .bh-shop-cartform .bh-shop-table td:nth-child(2){grid-column:2/4}
  .bh-shop-cartform .bh-shop-table td[data-label]{display:flex;align-items:center;gap:8px;text-align:left;grid-column:2}
  .bh-shop-cartform .bh-shop-table td[data-label]::before{content:attr(data-label);font-size:13px;color:var(--bh-muted-2);min-width:44px}
  .bh-shop-cartform .bh-shop-table td:last-child{grid-column:3;grid-row:3/5;align-self:center}
  .bh-shop-subtotal,.bh-shop-cartfoot{align-items:stretch;text-align:left;width:100%}
  .bh-shop-subtotal .bh-btns .bh-btn{flex:1 1 auto}
  .bh-shop-otable td,.bh-shop-otable th{padding-left:6px;padding-right:6px}
}
