
:root{
  --shop-page:var(--v7-page);
  --shop-card:var(--v7-card);
  --shop-card-soft:var(--v7-card-soft);
  --shop-text:var(--v7-text);
  --shop-muted:var(--v7-muted);
  --shop-brown:var(--v7-brown);
  --shop-brown-dark:var(--v7-brown-dark);
  --shop-leather:var(--v7-leather);
  --shop-gold:var(--v7-gold);
  --shop-green:var(--v7-green);
  --shop-green-dark:var(--v7-green-dark);
  --shop-red:var(--v7-red);
  --shop-border:var(--v7-border);
  --shop-shadow:var(--v7-shadow);
}
.store-main{max-width:1180px;margin:0 auto;padding:32px 22px 58px}
.store-hero{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  padding:32px 34px;
  margin-bottom:22px;
  background:
    linear-gradient(120deg,rgba(255,253,248,.98),rgba(248,241,229,.95)),
    repeating-linear-gradient(45deg,rgba(85,53,31,.025) 0 2px,transparent 2px 9px)!important;
}
.store-eyebrow{
  margin:0 0 8px;
  color:var(--shop-leather)!important;
  font-size:12px;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:.17em;
}
.store-hero h1{font-size:38px;margin:0 0 10px;letter-spacing:.06em;text-transform:uppercase}
.store-hero p{font-size:17px;line-height:1.7;margin:0;max-width:760px}
.store-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.store-toolbar{
  display:grid;
  grid-template-columns:minmax(250px,1.5fr) minmax(170px,.7fr) minmax(180px,.8fr);
  gap:16px;
  align-items:end;
  padding:20px;
  margin-bottom:24px;
}
.store-toolbar label,.checkout-field{display:grid;gap:7px;color:var(--shop-brown-dark);font-weight:bold}
.store-toolbar input,.store-toolbar select,
.checkout-field input,.checkout-field select{
  min-height:46px;padding:11px 13px;border:1px solid rgba(85,53,31,.35);
  border-radius:7px;background:#fffefb;color:var(--shop-text);font:inherit
}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.shop-product-card{padding:0!important;overflow:hidden;border-radius:12px!important}
.product-image-wrap{position:relative;background:#fff}
.shop-product-image{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;padding:18px;border-bottom:1px solid var(--shop-border)}
.product-badge{
  position:absolute;top:14px;left:14px;z-index:2;padding:6px 10px;border-radius:999px;
  color:#fff8eb;background:linear-gradient(180deg,var(--shop-brown),var(--shop-brown-dark));
  text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:bold
}
.shop-product-body{padding:22px}
.product-category{margin:0 0 7px!important;color:var(--shop-leather)!important;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:bold}
.shop-product-body h2{font-size:21px;line-height:1.3;margin:0 0 10px}
.shop-price{font-size:20px;font-weight:bold;color:var(--shop-brown-dark);margin-bottom:12px}
.shop-product-body p{margin:0 0 18px;line-height:1.6}
.product-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr);gap:28px;align-items:start}
.gallery-card,.details-card{padding:24px!important;border-radius:12px!important}
.main-image-wrap{display:flex;justify-content:center;align-items:center;min-height:510px;background:#fff;border:1px solid var(--shop-border);border-radius:10px;overflow:hidden}
.main-image{width:100%;height:510px;object-fit:contain;padding:14px}
.thumbnail-strip{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:10px;margin-top:14px}
.thumbnail{display:grid;gap:6px;justify-items:center;padding:7px;border:2px solid transparent;border-radius:8px;background:#fff;cursor:pointer}
.thumbnail:hover,.thumbnail.active{border-color:var(--shop-gold);background:var(--shop-card-soft)}
.thumbnail img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain}
.thumbnail-caption{font-size:12px;font-weight:bold;color:var(--shop-brown-dark)}
.details-card h1{font-size:34px;line-height:1.18;margin:0 0 12px}
.product-description{font-size:16px;line-height:1.75;margin:0 0 22px}
.product-price{font-size:29px;font-weight:bold;color:var(--shop-brown-dark);margin-bottom:25px}
.option-group{margin-bottom:24px}
.option-label{display:flex;justify-content:space-between;margin-bottom:10px;font-weight:bold;color:var(--shop-brown-dark)}
.option-help{font-size:13px;color:var(--shop-muted);font-weight:normal}
.swatch-list,.size-list{display:flex;flex-wrap:wrap;gap:9px}
.swatch-button,.size-button{
  display:flex;align-items:center;gap:8px;min-height:43px;padding:9px 12px;
  border:1px solid rgba(85,53,31,.35);border-radius:7px;background:#fffefb;color:var(--shop-text);
  font:inherit;cursor:pointer
}
.swatch-button.active,.size-button.active{border:2px solid var(--shop-brown);background:var(--shop-card-soft);font-weight:bold}
.swatch-dot{width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.25);box-shadow:inset 0 0 0 2px rgba(255,255,255,.3)}
.quantity-row{display:grid;grid-template-columns:120px 1fr;gap:13px;align-items:end}
.quantity-row label{display:grid;gap:7px;font-weight:bold}
.quantity-row input{min-height:46px;padding:10px;border:1px solid rgba(85,53,31,.35);border-radius:7px}
.add-button{min-height:48px;font-size:15px}
.product-notes{display:grid;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--shop-border)}
.product-note{display:flex;gap:8px;line-height:1.55}
.cart-header,.checkout-header{margin-bottom:22px}
.cart-card{padding:26px!important}
.cart-product{display:flex;align-items:center;gap:15px}
.cart-product img{width:82px;height:82px;object-fit:contain;background:#fff;border:1px solid var(--shop-border);border-radius:8px}
.cart-product-copy strong{display:block;margin-bottom:4px}
.cart-product-copy span{color:var(--shop-muted);font-size:13px}
.cart-table td,.cart-table th{padding:14px 12px!important;vertical-align:middle}
.cart-summary-wrap{display:flex;justify-content:flex-end;margin-top:24px}
.cart-summary{width:min(100%,390px);padding:22px;background:var(--shop-card-soft);border:1px solid var(--shop-border);border-radius:10px}
.summary-row{display:flex;justify-content:space-between;gap:15px;padding:8px 0}
.summary-row.total{margin-top:10px;padding-top:16px;border-top:2px solid var(--shop-border);font-size:21px;font-weight:bold}
.checkout-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 22px}
.checkout-step{padding:12px 14px;border:1px solid var(--shop-border);border-radius:8px;background:var(--shop-card-soft);text-align:center;color:var(--shop-muted);font-size:13px}
.checkout-step strong{display:block;margin-bottom:3px}
.checkout-step.active{background:rgba(65,100,59,.12);border-color:rgba(65,100,59,.45);color:var(--shop-green-dark)}
.checkout-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:22px;align-items:start}
.checkout-panel,.order-panel{padding:28px!important;border-radius:12px!important}
.checkout-section{padding-bottom:25px;margin-bottom:25px;border-bottom:1px solid var(--shop-border)}
.checkout-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.checkout-section-title{display:flex;align-items:center;gap:11px;margin-bottom:18px}
.checkout-number{width:31px;height:31px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--shop-brown);color:#fff8eb;font-weight:bold}
.checkout-section-title h2{margin:0;font-size:21px}
.checkout-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.checkout-field.full{grid-column:1/-1}
.shipping-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.shipping-help{font-size:13px;color:var(--shop-muted)}
#card-container{min-height:95px;background:#fff;border:1px solid rgba(85,53,31,.35);border-radius:8px;padding:13px}
.checkout-error,.checkout-status{display:none;padding:13px 15px;border-radius:8px;margin:14px 0;line-height:1.5}
.checkout-error{background:rgba(139,61,53,.12);border:1px solid rgba(139,61,53,.38);color:#6f2d27}
.checkout-status{background:rgba(65,100,59,.12);border:1px solid rgba(65,100,59,.38);color:var(--shop-green-dark)}
.pay-button{width:100%;min-height:51px;font-size:15px;margin-top:12px}
.security-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}
.security-item{padding:10px;border:1px solid var(--shop-border);border-radius:7px;background:var(--shop-card-soft);text-align:center;font-size:12px;color:var(--shop-muted)}
.order-panel{position:sticky;top:145px}
.order-item{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--shop-border);line-height:1.45}
.order-item-name{font-weight:bold;color:var(--shop-brown-dark)}
.order-item-variant{font-size:13px;color:var(--shop-muted);margin-top:3px}
.order-summary-lines{margin-top:14px}
.confirm-shell{max-width:940px;margin:0 auto;padding:34px 22px 58px}
.confirm-hero{padding:34px!important;text-align:center}
.confirm-check{width:72px;height:72px;border-radius:50%;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;background:rgba(65,100,59,.14);border:1px solid rgba(65,100,59,.35);font-size:37px;color:var(--shop-green-dark)}
.confirm-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:20px;margin-top:20px}
.confirm-card{padding:26px!important}
.confirm-item{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--shop-border);line-height:1.55}
.confirm-total{display:flex;justify-content:space-between;font-size:21px;font-weight:bold;margin-top:16px;padding-top:16px;border-top:2px solid var(--shop-border)}
.confirm-status{display:grid;gap:11px}
.confirm-status div{padding:12px;border-radius:8px;background:var(--shop-card-soft);line-height:1.5}
.store-footer{border-top:1px solid var(--shop-border);padding:28px 20px;background:rgba(255,253,248,.6)}
.store-footer-inner{max-width:1180px;margin:auto;display:flex;justify-content:center;gap:12px 25px;flex-wrap:wrap;text-align:center;color:var(--shop-muted);font-size:13px}
.store-footer strong{color:var(--shop-brown-dark)!important}
@media(max-width:950px){
  .shop-grid{grid-template-columns:repeat(2,1fr)}
  .product-layout,.checkout-grid{grid-template-columns:1fr}
  .order-panel{position:static}
  .main-image-wrap,.main-image{height:450px;min-height:450px}
}
@media(max-width:720px){
  .store-hero{grid-template-columns:1fr;padding:25px}
  .store-actions{justify-content:flex-start}
  .store-toolbar,.checkout-form-grid,.confirm-grid{grid-template-columns:1fr}
  .checkout-field.full{grid-column:auto}
  .shop-grid{grid-template-columns:1fr}
  .checkout-progress{grid-template-columns:1fr}
  .security-row{grid-template-columns:1fr}
}
@media(max-width:560px){
  .store-main,.confirm-shell{padding-left:14px;padding-right:14px}
  .store-hero h1{font-size:30px}
  .details-card h1{font-size:28px}
  .main-image-wrap,.main-image{height:350px;min-height:350px}
  .thumbnail-strip{grid-template-columns:repeat(2,minmax(100px,1fr))}
  .quantity-row{grid-template-columns:1fr}
  .cart-table{min-width:790px}
}


/* =========================================================
   V12.5 OUTFITTERS & CHECKOUT READABILITY
   ========================================================= */

.store-main,
.store-main p,
.store-main li,
.store-main td,
.store-main label,
.store-main small,
.store-main span:not(.product-badge):not(.swatch-dot):not(.checkout-number){
  color:#33271f!important;
}

.store-hero p,
.shop-product-body p,
.product-description,
.product-note span,
.cart-product-copy span,
.shipping-help,
.checkout-step,
.checkout-field span,
.security-item,
.order-item-variant,
.store-footer-inner,
.confirm-card p,
.confirm-status div,
.muted{
  color:#4b3b30!important;
  opacity:1!important;
}

.store-eyebrow,
.product-category{
  color:#663d22!important;
  font-weight:850!important;
}

.store-main h1,
.store-main h2,
.store-main h3,
.store-main strong,
.shop-price,
.product-price,
.option-label,
.order-item-name,
.summary-row.total{
  color:#21150e!important;
}

.store-toolbar label,
.checkout-field,
.quantity-row label{
  color:#2c211a!important;
}

.store-toolbar input,
.store-toolbar select,
.checkout-field input,
.checkout-field select,
.quantity-row input{
  color:#241b15!important;
}

.store-toolbar input::placeholder,
.checkout-field input::placeholder{
  color:#725f50!important;
  opacity:1!important;
}

.thumbnail-caption,
.option-help{
  color:#49372b!important;
}

.checkout-step.active,
.checkout-status{
  color:#284625!important;
}

.checkout-error{
  color:#672620!important;
}

.store-main table td{
  color:#2e221a!important;
}

.store-main table th{
  color:#fffaf0!important;
}

/* Preserve dark-background button and badge text */
.product-badge,
.checkout-number,
.btn.primary,
.btn.primary *{
  color:#fff8eb!important;
}
