.category-hero{position:relative;isolation:isolate;overflow:hidden;min-height:260px;padding:24px 30px 30px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(110deg,#11100b,#181611);margin-bottom:20px;}
.category-hero[hidden]{display:none;}
.category-hero img{position:absolute;right:0;top:0;width:58%;height:100%;object-fit:cover;z-index:-2;}
.category-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0c0c0c 5%,rgba(12,12,12,.95) 33%,rgba(12,12,12,.18) 78%);}
.category-breadcrumb{font-size:12px;color:#ccc;margin-bottom:32px;}
.category-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--accent);}
.category-hero h1{font-family:Georgia,serif;font-size:clamp(30px,5vw,62px);font-weight:500;line-height:1.1;margin:10px 0;max-width:75%;}
.category-hero p{color:#bbb;font-size:16px;margin:0 0 20px;max-width:52%;}
.category-hero button{border:0;background:none;color:var(--accent);padding:0;cursor:pointer;font:inherit;font-size:13px;}
.category-page #btnBackToCategories,.category-page #catalogueHeading{display:none;}
.catalog-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap; margin-bottom:16px;}
.catalog-toolbar .home-section-head{margin:0 0 0 auto;order:2;}
.catalog-toolbar .catalog-brand-filter{margin:0;max-width:none;display:flex;align-items:center;gap:12px;}
.catalog-toolbar .catalog-brand-filter label{margin:0;white-space:nowrap;}
.catalog-toolbar .catalog-brand-filter select{width:240px;}
.catalog-sort{display:flex;align-items:center;gap:8px;order:3;font-size:13px;}
.catalog-sort select{background:var(--surface);border:1px solid var(--border);color:var(--ink);border-radius:9px;padding:11px;color-scheme:dark;max-width:180px;}
.category-page .catalog-toolbar{padding-bottom:16px;border-bottom:1px solid var(--border);}
.category-page .product-card{border-radius:12px;box-shadow:none;}
.category-page .product-image-wrap{aspect-ratio:1/1;overflow:hidden;}
.category-page .product-image{width:100%;height:100%;object-fit:cover;}
.category-page .product-body{padding:16px;gap:8px;}
.category-page .product-price{font-size:20px;padding-top:4px;}
.category-page .stock-pill{background:none;padding:0;align-self:flex-start;}
.category-page .product-card .fav-btn{border:1px solid var(--accent);}
.category-sale-badge{display:none;position:absolute;z-index:2;top:12px;left:12px;padding:6px 9px;background:var(--accent);color:#111;font-size:12px;font-weight:700;border-radius:6px;}
.category-page .category-sale-badge{display:block;}
.category-card-footer{display:none;justify-content:flex-end;color:var(--accent);font-size:12px;margin-top:5px;}
.category-page .category-card-footer{display:flex;}
@media(max-width:650px){.category-hero{padding:20px;min-height:230px;}.category-hero img{width:75%;}.category-hero p{max-width:80%;font-size:14px;}.category-hero h1{max-width:100%;}.catalog-toolbar{gap:10px;}.catalog-toolbar .catalog-brand-filter{width:100%;}.catalog-toolbar .catalog-brand-filter select{flex:1;width:100%;}.catalog-toolbar .home-section-head{margin-left:0;}.catalog-sort{margin-left:auto;}.category-page .product-body{padding:11px;}.category-page .product-price{font-size:16px;}}

/* Mobile catalogue: complete cards and photos filling their frames. */
.quick-categories .cat-card,.products-grid .product-card{min-width:0;}
.cat-card-image img,.product-image,.category-page .product-image{object-fit:cover;object-position:center;}
.cat-card:hover .cat-card-image img,.product-card:hover .product-image{transform:none;}
@media(max-width:767px){
  .quick-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:12px;margin:0;padding:4px 0 8px;}
  .quick-categories .cat-card{width:100%;max-width:none;min-width:0;}
  .cat-card-info{padding:10px 8px;gap:5px;}
  .cat-card-arrow{flex-shrink:0;}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* Consistent product selections: square photos and compact, complete cards. */
.carousel-track{align-items:flex-start;}
.carousel-track .product-card{min-width:0;height:auto;}
.carousel-track .product-image-wrap,.products-grid .product-image-wrap{aspect-ratio:1/1;overflow:hidden;flex-shrink:0;}
.carousel-track .product-image,.products-grid .product-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.carousel-track .product-body{flex:0 0 auto;}
.carousel-track .product-price{margin-top:6px;}
@media(max-width:767px){
  .carousel-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible;align-items:start;}
  .carousel-track .product-card{width:100%;max-width:none;}
  .carousel-track .product-body{padding:10px;gap:5px;}
  .carousel-track .product-price,.products-grid .product-price{font-size:14px;letter-spacing:0;overflow-wrap:anywhere;}
  .carousel-track .qls-sale-price,.products-grid .qls-sale-price{gap:4px;max-width:100%;}
  .carousel-track .stock-pill,.products-grid .stock-pill{max-width:100%;white-space:normal;}
  .home-section-head{flex-wrap:wrap;gap:8px;}
}
/* Desktop and tablet selections wrap into complete, evenly sized cards. */
@media(min-width:768px){
  .carousel-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;overflow:visible;align-items:start;}
  .carousel-track .product-card{width:100%;max-width:none;min-width:0;}
}
/* Equal card heights, including products with two size groups. */
.carousel-track,.products-grid{align-items:stretch;grid-auto-rows:1fr;}
.carousel-track .product-card,.products-grid .product-card{height:100%;}
.carousel-track .product-body,.products-grid .product-body{flex:1 1 auto;}
.carousel-track .product-price,.products-grid .product-price{margin-top:auto;}

.shoe-box-options{border:0;padding:0;margin:0 0 20px;min-width:0}.shoe-box-options legend{font-size:12px;text-transform:uppercase;color:var(--ink-soft);margin-bottom:8px}.shoe-box-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shoe-box-grid button{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;padding:12px 8px;min-height:70px;background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;color:var(--ink);font:inherit;cursor:pointer}.shoe-box-grid button[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:rgba(201,162,39,.1)}.shoe-box-grid strong{color:var(--accent)}.shoe-box-grid button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.home-express-card{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:clamp(10px,2vw,20px);padding:clamp(12px,2vw,20px);margin:0 0 clamp(18px,3vw,30px);background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:var(--radius-md,14px);font:inherit;text-align:left;cursor:pointer}.home-express-card:hover,.home-express-card:focus-visible{border-color:var(--accent)}.home-express-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.home-express-icon{display:grid;place-items:center;flex:0 0 auto;width:clamp(38px,5vw,52px);aspect-ratio:1;border-radius:50%;background:var(--surface-soft);color:var(--accent)}.home-express-icon svg{width:62%}.home-express-text{display:grid;gap:3px;min-width:0;flex:1}.home-express-text strong{font-size:clamp(15px,2vw,20px);line-height:1.25}.home-express-text small{color:var(--ink-soft);font-size:clamp(12px,1.4vw,14px)}

/* Pickup and delivery share the same compact checkout panel. */
.fulfillment-choices { display:grid; gap:10px; margin-top:20px; }
#deliveryInfoOverlay [hidden] { display:none; }
.fulfillment-choices button {
  display:grid; gap:5px; width:100%; padding:14px 16px; text-align:left;
  color:var(--ink); background:var(--surface-soft); border:1px solid var(--border);
  border-radius:12px; font:inherit; cursor:pointer;
}
.fulfillment-choices button:hover, .fulfillment-choices button:focus-visible { border-color:var(--accent); }
.fulfillment-choices small { color:var(--ink-soft); line-height:1.45; }
#pickupSummary p { line-height:1.55; color:var(--ink-soft); }
.pickup-amount { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding:14px 0; }
#confirmPickup { width:100%; margin-top:8px; }
#changeFulfillment { margin:12px auto; }

.checkout-mode-title {font-size:15px; margin:0 0 10px;}
.checkout-local-option,.checkout-shipping-option {
  width:100%; box-sizing:border-box; padding:13px 14px; border-radius:12px;
  background:var(--surface-soft); color:var(--ink); text-align:left;
}
.checkout-local-option {
  display:flex; align-items:center; gap:12px; font:inherit; cursor:pointer;
  border:1px solid var(--accent); margin-bottom:10px;
}
.checkout-local-option small,.checkout-shipping-option p {
  display:block; color:var(--ink-soft); font-size:12px; line-height:1.45; margin:3px 0 0;
}
.checkout-local-option strong,.checkout-shipping-option strong {font-size:14px;}
.checkout-local-icon,.checkout-chevron {color:var(--accent);}
.checkout-local-icon svg {width:23px; height:23px; display:block;}
.checkout-chevron {margin-left:auto; font-size:23px;}
.checkout-local-option:focus-visible {outline:2px solid var(--accent); outline-offset:2px;}
.checkout-local-option:disabled {opacity:.6; cursor:wait;}
.checkout-shipping-option {border:1px solid var(--border);}
.checkout-shipping-option #paypalButtonContainer {margin-top:10px;}

/* Keep catalogue photos in the normal paint flow: no scaled/3D texture layers. */
.product-card,.cat-card,
.product-card:hover,.cat-card:hover,.cat-card:active{
  transform:none;transform-style:flat;will-change:auto;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.product-card .product-image,.cat-card-image img,
.product-card:hover .product-image,.cat-card:hover .cat-card-image img{
  transform:none;will-change:auto;transition:none;image-rendering:auto;
}

@keyframes qlsCatalogueFade{from{opacity:0}to{opacity:1}}
.product-card{animation:qlsCatalogueFade .25s ease both;}
@media(prefers-reduced-motion:reduce){.product-card{animation:none;}}
