:root{--bg-accent:#c2410c;--bg-ink:#202124;--bg-muted:#6b7280;--bg-line:#e5e7eb}.bg-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin:24px 0}.bg-product-card{border:1px solid var(--bg-line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 3px 14px #0000000a;display:flex;flex-direction:column}.bg-product-card>img{width:100%;height:220px;object-fit:cover;background:#f5f5f5}.bg-product-info{padding:17px;display:flex;flex-direction:column;gap:10px;flex:1}.bg-product-info h3{font-size:1.12rem;margin:0;color:var(--bg-ink)}.bg-product-info p{color:var(--bg-muted);font-size:.93rem;margin:0;line-height:1.5}.bg-product-info strong{font-size:1.2rem}.bg-add,.bg-primary,.bg-checkout-link{display:inline-block;background:var(--bg-accent);color:#fff!important;border:0;border-radius:8px;padding:12px 18px;font-weight:700;text-decoration:none;text-align:center;cursor:pointer}.bg-add:hover,.bg-primary:hover,.bg-checkout-link:hover{filter:brightness(.92)}.bg-add:disabled{opacity:.6;cursor:wait}.bg-store-notice{margin:12px 0;font-weight:600}.bg-cart,.bg-checkout{max-width:780px;margin:24px auto;padding:24px;border:1px solid var(--bg-line);border-radius:14px;background:#fff;color:var(--bg-ink)}.bg-cart h2,.bg-checkout h2{margin-top:0}.bg-cart-line{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--bg-line)}.bg-total{font-size:1.2rem;font-weight:800;border-top:1px solid var(--bg-line);padding-top:12px}.bg-checkout-summary{background:#f8fafc;padding:12px 18px;border-radius:10px;margin-bottom:22px}.bg-checkout-summary p{display:flex;justify-content:space-between;margin:8px 0}.bg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bg-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:600}.bg-form-grid input,.bg-form-grid select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:7px;padding:11px;font:inherit;font-weight:400}.bg-form-grid label:nth-child(3),.bg-form-grid label:nth-child(4),.bg-form-grid label:nth-child(5){grid-column:1/-1}#bg-apply-coupon{margin:12px 0;padding:9px 14px;border:1px solid var(--bg-line);border-radius:7px;background:#f8fafc;cursor:pointer}#bg-payment{margin-top:24px;padding-top:20px;border-top:1px solid var(--bg-line)}#bg-card-fields{margin-top:24px}#bg-card-fields>div{min-height:42px;margin:9px 0;padding:10px;border:1px solid #cbd5e1;border-radius:7px}#bg-payment-message{font-weight:600;margin-top:14px}.bg-paid{border-color:#16a34a}.bg-paid:after{content:'✓';display:block;color:#15803d;font-weight:800}@media(max-width:600px){.bg-form-grid{grid-template-columns:1fr}.bg-form-grid label{grid-column:1/-1}.bg-cart,.bg-checkout{padding:16px;margin:12px 0}}
/* Product detail, gallery, category navigation and cart thumbnails */
.bg-category-nav{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.bg-category-nav a,.bg-view-product{display:inline-block;padding:8px 12px;border:1px solid var(--bg-line);border-radius:7px;text-decoration:none;color:var(--bg-ink);background:#fff;font-size:.9rem}.bg-product-info h3 a{color:inherit;text-decoration:none}.bg-product-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}.bg-product-card-actions .bg-add{flex:1 0 100%}.bg-product-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:32px;max-width:1100px;margin:24px auto;padding:20px;border:1px solid var(--bg-line);border-radius:14px;background:#fff;color:var(--bg-ink)}.bg-product-main-image{display:flex;align-items:center;justify-content:center;background:#f8f8f8;border-radius:10px;overflow:hidden;min-height:300px}.bg-product-main-image img{display:block;width:100%;max-height:620px;object-fit:contain}.bg-product-thumbs{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.bg-gallery-thumb{padding:3px;border:2px solid transparent;background:#fff;border-radius:7px;cursor:pointer}.bg-gallery-thumb.is-active{border-color:var(--bg-accent)}.bg-gallery-thumb img{display:block;width:66px;height:66px;object-fit:cover;border-radius:4px}.bg-product-detail-info h2{margin:0 0 8px;font-size:1.8rem}.bg-product-sku,.bg-stock-status{color:var(--bg-muted);font-size:.9rem}.bg-product-detail-price{font-size:1.55rem;font-weight:800;margin:12px 0}.bg-product-description{line-height:1.65}.bg-product-buy{display:flex;align-items:end;gap:12px;margin-top:18px}.bg-product-buy label{display:flex;flex-direction:column;gap:6px;font-weight:600}.bg-product-qty{width:82px;padding:10px;border:1px solid #cbd5e1;border-radius:7px}.bg-product-page{padding:16px}.bg-admin-gallery{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.bg-admin-gallery span{display:flex;flex-direction:column;gap:4px;align-items:center;border:1px solid #ddd;padding:6px;background:#fff}.bg-admin-gallery img{width:90px;height:90px;object-fit:cover}.bg-admin-gallery .button-link-delete{cursor:pointer}@media(max-width:720px){.bg-product-detail{grid-template-columns:1fr;padding:14px;gap:20px}.bg-product-main-image{min-height:220px}.bg-product-buy{flex-wrap:wrap}}

.bg-breadcrumbs{max-width:1100px;margin:10px auto 0;padding:8px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:var(--bg-muted);font-size:.9rem}.bg-breadcrumbs a{color:var(--bg-muted);text-decoration:none}.bg-breadcrumbs a:hover{color:var(--bg-accent);text-decoration:underline}.bg-breadcrumbs [aria-current=page]{color:var(--bg-ink);font-weight:600}.bg-cart-line{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;align-items:center;gap:14px}.bg-cart-product-link{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;min-width:0}.bg-cart-product-link:hover .bg-cart-product-name{color:var(--bg-accent);text-decoration:underline}.bg-cart-thumb{display:block;width:76px;height:76px;object-fit:cover;border-radius:8px;border:1px solid var(--bg-line);background:#f8fafc;flex:0 0 76px}.bg-cart-thumb-empty{display:flex;align-items:center;justify-content:center;text-align:center;padding:5px;font-size:.7rem;color:var(--bg-muted)}.bg-cart-product-name{font-weight:600}.bg-cart-qty{white-space:nowrap;color:var(--bg-muted);font-size:.9rem}.bg-cart-line-total{white-space:nowrap}.bg-checkout-items{display:flex;flex-direction:column;gap:10px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--bg-line)}.bg-checkout-item{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center}.bg-checkout-item .bg-cart-thumb{width:56px;height:56px;flex-basis:56px}.bg-admin-actions{white-space:nowrap}.bg-admin-actions .button{margin-right:4px}@media(max-width:600px){.bg-cart-line{grid-template-columns:1fr auto;gap:8px}.bg-cart-product-link{grid-column:1/-1}.bg-cart-qty{grid-column:1}.bg-cart-line-total{grid-column:2;grid-row:2}.bg-cart-line .bg-remove{grid-column:2;grid-row:3;justify-self:end}.bg-checkout-item{grid-template-columns:48px 1fr auto}.bg-checkout-item .bg-cart-thumb{width:48px;height:48px;flex-basis:48px}}

/* Category storefront cards, category landing banners and pagination */
.bg-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin:22px 0 30px}.bg-category-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--bg-line);border-radius:14px;background:#fff;color:var(--bg-ink);text-decoration:none;box-shadow:0 3px 14px #0000000a;transition:transform .18s ease,box-shadow .18s ease}.bg-category-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #00000014}.bg-category-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#f5f5f5;overflow:hidden}.bg-category-card-image img{display:block;width:100%;height:100%;object-fit:cover}.bg-category-card-placeholder{padding:18px;text-align:center;font-size:1.15rem;font-weight:700}.bg-category-card-info{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 17px}.bg-category-card-info strong{font-size:1.05rem}.bg-category-card-info small{color:var(--bg-muted);white-space:nowrap}.bg-category-heading{max-width:1100px;margin:18px auto 12px;padding:0 4px}.bg-category-heading h2{margin:0 0 6px;font-size:1.8rem}.bg-category-heading p{margin:0;color:var(--bg-muted);line-height:1.55}.bg-category-banner{max-width:1100px;margin:16px auto 0;max-height:340px;overflow:hidden;border-radius:14px;background:#f5f5f5}.bg-category-banner img{display:block;width:100%;max-height:340px;object-fit:cover}.bg-category-landing .bg-store-grid{margin-top:20px}.bg-store-pagination{margin:26px 0;text-align:center}.bg-store-pagination ul{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}.bg-store-pagination a,.bg-store-pagination span{display:inline-block;padding:8px 12px;border:1px solid var(--bg-line);border-radius:7px;text-decoration:none}.bg-store-pagination .current{background:var(--bg-accent);color:#fff;border-color:var(--bg-accent)}.bg-product-image-link{display:block;aspect-ratio:4/3;background:#f5f5f5;overflow:hidden}.bg-product-image-link img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.bg-category-card-info{align-items:flex-start;flex-direction:column;gap:4px}.bg-category-banner,.bg-category-banner img{max-height:220px}}
