:root{--ink:#141414} .admin-link{font-size:12px;font-weight:700;border-bottom:1px solid #222;white-space:nowrap}.headin{gap:18px}.actions{gap:13px}.catalog-content{min-width:0}.photo .prod-image{object-fit:cover;width:100%;height:100%;display:block}.photo img.prod-image{transition:transform .25s}.photo:hover img.prod-image{transform:scale(1.03)}.photo svg{width:88%;height:88%}.photo .mode-pill{z-index:2}.demo-stamp{position:absolute;right:10px;bottom:10px;background:#fffdf3cc;border-radius:2px;font-size:10px;padding:4px 6px;color:#76674a}.drawerbody{overflow-y:auto;flex:1}.drawerfoot{padding:17px 22px;border-top:1px solid #eee}.drawerfoot form,.quote-form{display:grid;gap:10px}.drawerfoot input,.quote-form input,.quote-form textarea,.drawerfoot textarea,.modalcopy select{border:1px solid #dadada;border-radius:5px;padding:11px;width:100%;background:white}.drawerfoot label,.quote-form label{font-weight:700;font-size:12px}.drawerfoot .rowtwo{display:grid;grid-template-columns:1fr 1fr;gap:10px}.muted{font-size:12px;color:#777;line-height:1.65}.form-message{font-weight:bold;font-size:13px;color:#315d49}.modalcopy .product-desc{white-space:pre-wrap}.cart-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eee;padding:13px 0}.cart-item .cart-art{width:70px;height:70px;flex-shrink:0;background:#f3f0ea;display:grid;place-items:center;overflow:hidden}.cart-item .cart-art svg{width:70px;height:70px}.cart-item .cart-art img{width:100%;height:100%;object-fit:cover}.cart-item strong{font-size:13px}.cart-item small{font-size:11px;display:block;color:#777}.cart-item button{margin-left:auto;align-self:start;border:0;background:transparent;font-size:12px;text-decoration:underline}.modalcopy .primary{margin-top:10px}.modalcopy .price-detail{font-size:20px;font-weight:bold;margin:15px 0 10px}.modalcopy .quantity-input{width:100px;border:1px solid #ddd;padding:9px;border-radius:4px}.consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#555;line-height:1.5}.consent input{width:auto;min-width:14px;margin-top:2px}.required-note{background:#fff8ea;padding:12px;font-size:12px;margin:13px 0;border-left:3px solid #c99842}.cart-total{font-size:16px;font-weight:700;text-align:right}.product-list-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.photo{border-radius:2px}.modalphoto .prod-image{width:100%;height:100%;object-fit:contain;max-height:430px}.modalphoto{background:#f5f4f1;display:grid;place-items:center}.hero-obj{width:210px;height:210px}.modalcopy{overflow:visible}.quote-form textarea{min-height:100px;resize:vertical}.photo .prod-image{filter:none}.mode-pill.buy{background:#fff}.footer .footin div{min-width:160px}
@media(max-width:790px){.admin-link{display:none}.shop:not(.filter-open) .side{display:none}.shop.filter-open .side{display:block}.shop{grid-template-columns:1fr}.shop.filter-open{grid-template-columns:1fr}.shop.filter-open .side{position:static;max-height:none}.shop .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.head .actions{margin-left:auto}}
@media(max-width:480px){.drawerfoot .rowtwo{grid-template-columns:1fr}.admin-link{display:none}.shop .grid{gap:24px 9px}.photo .mode-pill{left:7px;top:7px;font-size:10px;padding:5px}.modalcopy{padding:22px}.hero-obj{width:140px;height:140px}}

/* V4.1: multi-photo gallery inside product details; uploaded photo order is preserved. */
.photo-count{position:absolute;bottom:12px;left:12px;z-index:2;background:#fffffff0;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700;box-shadow:0 1px 6px #0001}
.modalphoto.product-gallery{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:12px;padding:22px;min-width:0;background:#f5f4f1}
.product-gallery .gallery-stage{width:100%;min-height:330px;position:relative;display:grid;place-items:center;overflow:hidden;background:white;border-radius:8px}
.product-gallery .gallery-primary{display:block;width:100%;height:min(52vh,490px);min-height:290px;max-height:none;object-fit:contain}
.product-gallery .gallery-empty{background:#f5f4f1}
.product-gallery .gallery-empty svg{width:min(450px,85%);max-height:440px;height:auto}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #e2e2e2;background:#fffffff2;border-radius:50%;font-size:30px;line-height:1;display:grid;place-items:center;z-index:1}
.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-arrow:hover{background:#171717;color:white}
.gallery-count{position:absolute;bottom:13px;right:14px;background:#111c;color:white;padding:5px 10px;border-radius:99px;font-size:12px;letter-spacing:.07em}
.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:4px 2px 9px;scrollbar-width:thin}
.gallery-thumb{flex:0 0 76px;width:76px;height:76px;padding:3px;background:white;border:2px solid transparent;border-radius:7px;overflow:hidden;transition:border-color .15s}
.gallery-thumb[aria-pressed="true"]{border-color:#111}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:3px;display:block}
@media(max-width:790px){.modalphoto.product-gallery{min-height:0;padding:14px;gap:9px}.product-gallery .gallery-stage{min-height:220px}.product-gallery .gallery-primary{height:min(60vw,390px);min-height:200px}.gallery-thumb{flex-basis:66px;width:66px;height:66px}}
@media(max-width:480px){.modalphoto.product-gallery{padding:10px}.product-gallery .gallery-stage{min-height:230px}.product-gallery .gallery-primary{height:280px;min-height:0}.gallery-arrow{width:36px;height:36px;font-size:25px}.gallery-prev{left:7px}.gallery-next{right:7px}.gallery-thumb{flex-basis:62px;width:62px;height:62px}}

/* V4.2 / configurable shipping, favorite list, independent variant galleries */
.favorite-header{font-family:Arial,sans-serif;font-size:27px;line-height:1}
.card-favorite{position:absolute;right:12px;top:11px;z-index:3;width:36px;height:36px;border:1px solid #eee;background:#fffffff2;border-radius:50%;font-size:24px;line-height:1;display:grid;place-items:center;color:#222;box-shadow:0 1px 9px #0001}
.card-favorite[aria-pressed=true]{color:#af2839;background:#fff6f6}
.favorite-button{background:white;border:1px solid #d7d7d7;border-radius:99px;padding:11px 20px;font-size:13px;font-weight:700;min-height:42px}
.favorite-button[aria-pressed=true]{color:#b22f46;background:#fff7f8;border-color:#e6aab5}
.favorite-item{display:grid;grid-template-columns:86px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid #ededed;align-items:center}
.favorite-item .favorite-photo{width:86px;height:86px;background:#f6f5f2;display:grid;place-items:center;overflow:hidden}
.favorite-item .favorite-photo img{height:100%;width:100%;object-fit:cover}.favorite-item .favorite-photo svg{max-width:100%;max-height:100%}
.favorite-item strong{display:block;font-size:14px;line-height:1.5}.favorite-item small{display:block;color:#777;margin-top:6px;font-size:12px}
.favorite-actions{display:flex;gap:15px;margin-top:10px}.favorite-actions button{padding:0;border:0;background:transparent;color:#263d35;text-decoration:underline;font-size:12px}
.drawerhint{font-size:12px;padding:0 24px;color:#737373;line-height:1.7}
.modalcopy .product-attributes{display:grid;gap:11px;padding:20px 0;margin:20px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-size:13px}
.product-attributes>div{display:grid;grid-template-columns:115px 1fr;gap:12px;align-items:start}.product-attributes dt{color:#757575}.product-attributes dd{margin:0;font-weight:700;line-height:1.7}
.variant-picker{margin-top:28px}.variant-picker h3,.shipping-info h3,.description-section h3{font-size:18px;margin:0 0 15px;color:#181818}
.variant-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.variant-choice{display:flex;min-height:79px;align-items:center;gap:12px;background:white;border:1.4px solid #ddd;border-radius:7px;text-align:left;padding:8px;color:#222;min-width:0}
.variant-choice[aria-pressed=true]{border:2px solid #161616;background:#fafafa}.variant-choice:disabled{color:#aaa;background:#f6f6f6;opacity:.53;cursor:not-allowed}
.variant-choice>img,.variant-choice>.variant-dot{width:62px;height:62px;object-fit:cover;flex:0 0 62px;border-radius:4px;background:#f5f5f5}.variant-choice>.variant-dot{display:grid;place-items:center}
.variant-choice span:not(.variant-dot){min-width:0}.variant-choice b{display:block;white-space:normal;font-size:13px;overflow-wrap:anywhere}.variant-choice small{display:block;font-size:11px;margin-top:5px;color:#858585;line-height:1.3}
.modalcopy .description-section{padding:23px 0;min-height:180px;border-top:1px solid #e9e9e9;margin-top:25px}.modalcopy .product-desc{color:#4d4d4d;font-size:14px;line-height:2;white-space:pre-wrap}
.shipping-info{margin-top:25px;padding:22px 0;border-top:1px solid #e9e9e9}.shipping-info>div{padding:8px 0}.shipping-info b{display:block;font-size:13px}.modalcopy .shipping-info p{margin:6px 0 0;color:#555;white-space:pre-wrap;font-size:13px;line-height:1.8}
.modalcopy .detail-buy{margin:14px 0 0;min-width:205px}.modalcopy .detail-buy:disabled{background:#bbb;border-color:#bbb;cursor:not-allowed}
/* Sticky gallery: modal itself scrolls; the gallery remains in view while description scrolls. */
@media(min-width:791px){
  .modalbody{grid-template-columns:minmax(0,1.07fr) minmax(340px,.93fr);align-items:start}
  #detail-gallery-container{position:sticky;top:0;align-self:start;height:90vh;min-width:0}
  .modalphoto.product-gallery{height:100%;padding:18px;display:grid;grid-template-columns:73px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:13px;align-items:stretch;justify-content:stretch}
  .product-gallery .gallery-stage{grid-column:2;grid-row:1;height:100%;min-height:0}
  .product-gallery .gallery-primary{height:100%;min-height:0;max-height:100%;object-fit:contain}
  .product-gallery .gallery-thumbs{grid-column:1;grid-row:1;flex-direction:column;max-height:100%;height:100%;overflow-y:auto;overflow-x:hidden;padding:0 3px 0 0;gap:8px;min-width:0;align-self:start}
  .product-gallery .gallery-thumb{flex:0 0 67px;width:67px;height:67px;min-height:67px}
  .product-gallery:has(.gallery-empty){grid-template-columns:1fr}.product-gallery:has(.gallery-empty) .gallery-stage{grid-column:1}
  .modalcopy{padding:3vw 3.4vw 60px}
}
@media(max-width:790px){
  #detail-gallery-container{position:static;height:auto}
  .modalbody{align-items:stretch}
  .modalphoto.product-gallery{display:flex;flex-direction:column;height:auto;gap:10px}
  .product-gallery .gallery-thumbs{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;max-height:none}
  .variant-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .modalcopy{padding:22px 25px}.shipping-info{margin-top:19px}
}
@media(max-width:480px){.variant-options{grid-template-columns:1fr 1fr}.variant-choice{min-height:68px;gap:6px}.variant-choice>img,.variant-choice>.variant-dot{width:48px;height:48px;flex-basis:48px}.variant-choice b{font-size:12px}.product-attributes>div{grid-template-columns:100px 1fr}}

/* V4.3 appearance controls: safe, database-controlled theme variables. */
:root{--site-accent:#285643;--site-background:#ffffff;--site-promo:#111111;--site-font-body:14px;--site-font-nav:14px;--site-font-logo:19px}
body{background:var(--site-background);font-size:var(--site-font-body)}
.promo{background:var(--site-promo)}
.head,.footer{background:var(--site-background)}
.logo b{font-size:var(--site-font-logo)}
.logo .site-logo-image{height:55px;width:auto;max-width:min(240px,35vw);object-fit:contain;display:block}
.topnav a{font-size:var(--site-font-nav)}
.admin-link,.header-search input,.brandline,.crumb,.short,.f-option,.f-pill,.toolrow button,.toolrow select,.details p,.product-attributes,.shipping-info b,.modalcopy .shipping-info p{font-size:var(--site-font-body)}
.head .actions,.modalcopy,.details{color:var(--ink)}
.primary,.short:hover,.short.active,.counter,.seal{background:var(--ink);border-color:var(--ink)}
.hero .eyebrow,.brandline,.favorite-actions button{color:var(--site-accent)}
.hero .primary,.modalcopy .primary{background:var(--ink)}
.modalcopy .shipping-info h3,.variant-picker h3,.description-section h3{color:var(--ink)}
.details h3,.feature h2,.description-section .product-desc{font-size:calc(var(--site-font-body) + 2px)}
.hero p,.feature p,.modalcopy .product-desc{font-size:var(--site-font-body)}
@media(max-width:790px){.logo .site-logo-image{height:45px;max-width:180px}.topnav a{font-size:var(--site-font-nav)}}

/* Keep the accent color visible throughout the site, without replacing product photos. */
.hero{background:color-mix(in srgb,var(--site-background) 89%,var(--site-accent) 11%)}
.hero-image{background:radial-gradient(circle at 54% 47%,color-mix(in srgb,var(--site-background) 68%,var(--site-accent) 32%),color-mix(in srgb,var(--site-background) 48%,var(--site-accent) 52%))}
.hero .eyebrow,.feature-band h2{color:var(--site-accent)}
.modalcopy .favorite-button[aria-pressed=true],.card-favorite[aria-pressed=true]{color:var(--site-accent);border-color:var(--site-accent)}
