.products-hero{margin:18px auto 14px;max-width:1240px;border-radius:22px;padding:34px;background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff}.products-hero span{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;opacity:.8}.products-hero h1{margin:5px 0;font-size:38px}.products-hero p{margin:0;opacity:.85}.products-filter{max-width:1240px;margin:0 auto 14px;display:grid;grid-template-columns:1fr 260px auto auto;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:11px}.products-filter input,.products-filter select{border:1px solid #cbd5e1;border-radius:10px;padding:11px;color:#0f172a}.products-filter button,.products-filter a{border:0;border-radius:10px;padding:11px 18px;background:#1d4ed8;color:#fff;font-weight:800;text-decoration:none;text-align:center}.products-filter a{background:#e2e8f0;color:#0f172a}.products-section{max-width:1240px;margin:10px auto 36px}.products-heading{display:flex;align-items:center;gap:10px;margin-bottom:9px}.products-heading h1,.products-heading h2{margin:0;color:#0f172a;line-height:1.2}.products-heading span{background:#facc15;color:#713f12;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;overflow:hidden;box-shadow:0 8px 26px rgba(15,23,42,.05);transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(15,23,42,.1)}.product-card-image{display:block;position:relative;background:#f8fafc}.product-card-image img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.product-badge{position:absolute;top:10px;left:10px;background:#1d4ed8;color:#fff;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.product-card-body{padding:13px}.product-category{display:block;color:#2563eb;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.product-card h3{font-size:16px;margin:5px 0 7px;line-height:1.3}.product-card h3 a{color:#0f172a;text-decoration:none}.product-card p{font-size:13px;color:#64748b;line-height:1.45;margin:0 0 12px}.product-card-bottom{display:grid;gap:5px}.product-card-price-action{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.product-card-bottom strong{color:#b91c1c;min-width:0}.product-card-bottom span{font-size:11px;color:#64748b}.product-card-cart-form{margin:0;flex:0 0 auto}.product-card-cart-btn{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:34px;padding:0 9px;border:0;border-radius:9px;background:#111827;color:#fff;text-decoration:none;font:inherit;font-size:14px;font-weight:900;line-height:1;cursor:pointer;white-space:nowrap;transition:background .2s,transform .2s}.product-card-cart-btn:hover{background:#000;transform:translateY(-1px)}.product-card-cart-btn:focus-visible{outline:3px solid rgba(17,24,39,.22);outline-offset:2px}.products-empty{grid-column:1/-1;padding:50px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:16px}.product-detail{max-width:1180px;margin:24px auto 38px;display:grid;grid-template-columns:1fr 1fr;gap:36px}.product-main-image{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;overflow:hidden}.product-main-image img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.product-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px;width:100%;overflow:visible}.product-thumbs button{display:block;width:100%;min-width:0;aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:10px;background:#f8fafc;overflow:hidden;cursor:pointer}.product-thumbs button:hover,.product-thumbs button:focus-visible{border-color:#2563eb;outline:none}.product-thumbs img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}.product-info{padding:10px 0}.product-back{display:inline-block;margin-bottom:24px;color:#475569;text-decoration:none;font-weight:700}.product-info h1{font-size:38px;line-height:1.12;margin:7px 0;color:#0f172a}.product-brand{color:#64748b}.product-price{font-size:28px;font-weight:900;color:#b91c1c}.product-price del{font-size:16px;color:#94a3b8;margin-left:8px}.product-stock{display:inline-block;padding:7px 11px;background:#dcfce7;color:#166534;border-radius:999px;font-size:12px;font-weight:800}.product-lead{font-size:16px;line-height:1.65;color:#475569}.product-meta{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;min-width:0}.product-meta-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:140px;max-width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;padding:10px 13px;color:#334155;box-sizing:border-box;overflow:hidden}.product-meta strong{display:block;margin:0 0 3px;font-size:10px;line-height:1.2;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.product-meta-value{display:block;max-width:100%;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;font-size:14px;line-height:1.35;color:#334155;overflow-wrap:anywhere}.product-phase-note{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:12px;padding:12px;font-size:13px}.product-description{border-top:1px solid #e2e8f0;margin-top:24px;padding-top:16px}.product-description p{line-height:1.7;color:#475569}@media(max-width:900px){.products-grid{grid-template-columns:repeat(2,1fr)}.product-detail{grid-template-columns:1fr;gap:20px}.products-filter{grid-template-columns:1fr 1fr}.product-info h1{font-size:30px}}@media(max-width:560px){.products-hero{margin:10px 8px;padding:24px 18px;border-radius:17px}.products-hero h1{font-size:29px}.products-filter{margin:0 8px 12px;grid-template-columns:1fr}.products-section{margin-top:6px;padding:0 8px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card-body{padding:10px}.product-card h3{font-size:14px}.product-card p{display:none}.product-card-bottom{display:grid}.product-card-bottom span{display:block;margin-top:0}.product-card-cart-btn{min-width:40px;height:32px;padding:0 8px;font-size:13px}.product-detail{padding:0 10px;margin-top:12px}.product-info h1{font-size:27px}.product-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.product-meta-item{min-width:0;width:100%}}

/* Phase 4 variants */
.product-variants{margin:16px 0}.product-variants label{display:block;margin-bottom:7px}.product-variants select{width:100%;min-height:46px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff;color:#0f172a;font:inherit}.product-card-bottom small{font-size:11px;font-weight:700;color:#64748b;margin-right:3px}
.product-buy-box{margin-top:18px;padding:16px;border:1px solid #dbe3ef;border-radius:14px;background:#fff;display:grid;gap:12px}.product-buy-box label{display:flex;align-items:center;gap:10px;font-weight:700}.product-buy-box input[type=number]{width:84px;padding:10px;border:1px solid #cbd5e1;border-radius:10px}.product-buy-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-add-cart,.product-buy-now{border:0;border-radius:11px;padding:12px 14px;font-weight:800;cursor:pointer}.product-add-cart{background:#e2e8f0;color:#0f172a}.product-buy-now{background:#2563eb;color:#fff}@media(max-width:560px){.product-buy-actions{grid-template-columns:1fr}}

/* Phase 8 promotions */
.product-promo-badges{position:absolute;top:9px;left:9px;right:44px;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;gap:5px;z-index:2;white-space:nowrap}.product-promo-badges .product-badge{position:static}.product-badge.is-featured{background:#1d4ed8}.product-badge.is-sale{background:#dc2626}.product-badge.is-new{background:#059669}.product-badge.is-best{background:#ea580c}.product-card-bottom strong del{display:block;font-size:11px;color:#94a3b8;font-weight:700}.pc-promotion-card{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid #dbe3ef;border-radius:12px;background:#f8fafc}.pc-promotion-card>div{display:grid;margin-right:auto}.pc-promotion-card small{color:#64748b}.pc-promotion-card .pc-check{width:auto!important}@media(max-width:560px){.product-promo-badges{top:6px;left:6px;gap:3px}.product-promo-badges .product-badge{font-size:9px;padding:4px 6px}}

/* Product detail compact quantity stepper */
.product-purchase-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:10px}
.product-quantity-label{flex:0 0 auto;font-weight:800;color:#0f172a;white-space:nowrap}
.product-quantity-stepper{display:grid;grid-template-columns:38px 50px 38px;flex:0 0 126px;width:126px;height:46px;border:1px solid #cbd5e1;border-radius:11px;overflow:hidden;background:#fff}
.product-quantity-button{width:38px;min-width:38px;padding:0;border:0;background:#f8fafc;color:#0f172a;font-size:21px;font-weight:800;line-height:1;cursor:pointer}
.product-quantity-button:hover{background:#e2e8f0}
.product-quantity-stepper input[type=number]{display:block;width:50px!important;min-width:50px!important;max-width:50px!important;height:44px;padding:0!important;border:0!important;border-left:1px solid #e2e8f0!important;border-right:1px solid #e2e8f0!important;border-radius:0!important;background:#fff;text-align:center;font:inherit;font-weight:800;color:#0f172a;appearance:textfield;-moz-appearance:textfield}
.product-quantity-stepper input[type=number]::-webkit-inner-spin-button,.product-quantity-stepper input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.product-compact-add{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:46px;min-width:104px;padding:0 16px;border:0;border-radius:11px;background:#111827;color:#fff;font:inherit;font-weight:900;white-space:nowrap;cursor:pointer}
.product-compact-add:hover{background:#000}
@media(max-width:560px){.product-buy-box{padding:12px}.product-purchase-row{gap:8px}.product-quantity-stepper{grid-template-columns:34px 44px 34px;flex-basis:112px;width:112px;height:44px}.product-quantity-button{width:34px;min-width:34px;font-size:20px}.product-quantity-stepper input[type=number]{width:44px!important;min-width:44px!important;max-width:44px!important;height:42px}.product-compact-add{height:44px;min-width:92px;padding:0 12px}}

/* Phase 1: listing sort control */
.products-filter{grid-template-columns:minmax(0,1fr) 220px 210px auto auto}
@media(max-width:1000px){.products-filter{grid-template-columns:minmax(0,1fr) 1fr 1fr auto}.products-filter a{grid-column:auto}}
@media(max-width:700px){.products-filter{grid-template-columns:1fr 1fr}.products-filter input{grid-column:1/-1}}
@media(max-width:560px){.products-filter{grid-template-columns:1fr}.products-filter input{grid-column:auto}}

/* Compact marketplace-style listing filters */
.products-compact-sort{max-width:1240px;margin:0 auto 14px;display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.products-compact-sort::-webkit-scrollbar{display:none}.products-compact-sort a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:12px;font-weight:800;line-height:1;text-decoration:none;white-space:nowrap}.products-compact-sort a:hover{border-color:#cbd5e1;color:#0f172a}.products-compact-sort a.is-active{border-color:#111827;background:#111827;color:#fff}@media(max-width:560px){.products-compact-sort{margin:0 8px 12px;gap:5px}.products-compact-sort a{min-height:30px;padding:6px 9px;font-size:11px;border-radius:7px}}

/* Phase 2: Product Quick View */
.product-card-media{position:relative}.product-quick-view-trigger{position:absolute;left:10px;bottom:10px;z-index:4;border:1px solid rgba(15,23,42,.12);border-radius:999px;padding:7px 11px;background:rgba(255,255,255,.96);color:#0f172a;font:inherit;font-size:11px;font-weight:900;box-shadow:0 6px 18px rgba(15,23,42,.14);cursor:pointer;transition:transform .18s ease,background .18s ease}.product-quick-view-trigger:hover{transform:translateY(-1px);background:#fff}.product-quick-view[hidden]{display:none}.product-quick-view{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px}.product-quick-view-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}.product-quick-view-dialog{position:relative;z-index:1;width:min(860px,100%);max-height:min(720px,calc(100vh - 36px));overflow:auto;border:1px solid rgba(255,255,255,.35);border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.34)}.product-quick-view-close{position:absolute;top:12px;right:12px;z-index:3;width:38px;height:38px;border:0;border-radius:999px;background:#fff;color:#0f172a;box-shadow:0 5px 18px rgba(15,23,42,.16);font-size:27px;line-height:1;cursor:pointer}.product-quick-view-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr)}.product-quick-view-image-wrap{min-height:430px;background:#f8fafc}.product-quick-view-image-wrap img{display:block;width:100%;height:100%;max-height:620px;object-fit:contain}.product-quick-view-content{padding:38px 34px 30px}.product-quick-view-content h2{margin:7px 44px 5px 0;font-size:30px;line-height:1.14;color:#0f172a}.product-quick-view-brand{margin:0;color:#64748b}.product-quick-view-description{color:#475569;line-height:1.6}.product-quick-view-meta{display:inline-flex;margin-top:4px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#334155;font-size:12px;font-weight:700}.product-quick-view-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}.product-quick-view-actions form{margin:0}@media(max-width:680px){.product-quick-view{padding:10px}.product-quick-view-dialog{max-height:calc(100vh - 20px);border-radius:19px}.product-quick-view-grid{grid-template-columns:1fr}.product-quick-view-image-wrap{min-height:0;height:245px}.product-quick-view-content{padding:22px 18px 20px}.product-quick-view-content h2{font-size:23px;margin-right:38px}.product-quick-view-trigger{left:7px;bottom:7px;padding:6px 9px;font-size:10px}}


/* Refined one-line listing controls: fixed reset/view, scrollable filters */
.products-listing-controls{max-width:1240px;margin:0 auto 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px}.products-listing-controls .products-compact-sort{min-width:0;margin:0}.products-control-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:32px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:18px;font-weight:900;line-height:1;text-decoration:none}.products-control-icon:hover{border-color:#cbd5e1;color:#0f172a}.products-view-toggle{display:flex;flex:0 0 auto;padding:3px;border-radius:999px;background:#f1f5f9}.products-view-toggle button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:27px;padding:0;border:0;border-radius:999px;background:transparent;color:#0f172a;font-size:18px;font-weight:900;line-height:1;cursor:pointer}.products-view-toggle button.is-active{background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.08)}.products-grid.is-list{grid-template-columns:1fr}.products-grid.is-list .product-card{display:grid;grid-template-columns:150px minmax(0,1fr)}.products-grid.is-list .product-card-media,.products-grid.is-list .product-card-image,.products-grid.is-list .product-card-image img{height:100%}.products-grid.is-list .product-card-image img{aspect-ratio:auto;min-height:190px;object-fit:cover}@media(max-width:560px){.products-listing-controls{margin:0 8px 12px;gap:5px}.products-control-icon{width:31px;height:30px;border-radius:7px;font-size:17px}.products-view-toggle{padding:2px}.products-view-toggle button{width:29px;height:26px;font-size:17px}.products-grid.is-list .product-card{grid-template-columns:110px minmax(0,1fr)}.products-grid.is-list .product-card-image img{min-height:160px}.products-grid.is-list .product-card p{display:block}}

/* Products search container aligned with the Books listing design */
.products-filter{
  display:block;
  max-width:1240px;
  margin:0 auto 14px;
  padding:12px 14px;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:#fff;
}
.products-filter-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.products-filter-main input[type="search"]{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:12px 13px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  font:inherit;
}
.products-filter-main .bbk-btn{
  white-space:nowrap;
}
.products-filter-secondary{
  display:grid;
  grid-template-columns:minmax(160px,220px);
  gap:10px;
  margin-top:10px;
}
.products-filter-secondary select{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:11px 13px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  font:inherit;
}
@media(max-width:850px){
  .products-filter{
    margin:0 8px 12px;
    padding:12px;
  }
  .products-filter-main{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .products-filter-main input[type="search"]{
    min-height:42px;
    padding:10px 12px;
    font-size:13px;
  }
  .products-filter-main button{
    min-height:42px;
    padding:10px 14px;
    font-size:13px;
  }
  .products-filter-secondary{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:8px;
  }
  .products-filter-secondary select{
    min-height:42px;
    padding:10px 11px;
    font-size:13px;
  }
}
@media(max-width:430px){
  .products-filter{
    padding:10px;
  }
  .products-filter-main{
    grid-template-columns:minmax(0,1fr) 82px;
    gap:7px;
  }
  .products-filter-main input[type="search"]{
    min-height:40px;
    padding:9px 11px;
    font-size:12.5px;
  }
  .products-filter-main button{
    min-height:40px;
    padding:9px 10px;
    font-size:13px;
  }
  .products-filter-secondary{
    margin-top:7px;
  }
  .products-filter-secondary select{
    min-height:39px;
    padding:8px 9px;
    border-radius:13px;
    font-size:12px;
  }
}

/* EasyShop v1.0.25: Products catalogue aligned with the Books storefront */
.products-catalogue{
  max-width:none;
  margin:0 0 36px;
}
.products-listing-head{
  margin-bottom:6px;
}
.products-filter-unified{
  max-width:none;
  margin:6px 0 12px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
}
.products-filter-unified .products-filter-main input[type="search"],
.products-filter-unified .products-filter-secondary select{
  border-color:#dbe3ef;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.products-filter-unified .products-filter-main input[type="search"]:focus,
.products-filter-unified .products-filter-secondary select:focus{
  outline:none;
  border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}
.products-listing-controls-unified{
  max-width:none;
  margin:0 0 14px;
}
.products-grid-unified{
  gap:14px;
}
.products-grid-unified .product-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  border-radius:20px;
  border-color:#e5e7eb;
  box-shadow:0 10px 28px rgba(15,23,42,.055);
}
.products-grid-unified .product-card-media{
  overflow:hidden;
  background:#f8fafc;
}
.products-grid-unified .product-card-image img{
  aspect-ratio:1 / 1;
  object-fit:contain;
  padding:10px;
  box-sizing:border-box;
  transition:transform .22s ease;
}
.products-grid-unified .product-card:hover .product-card-image img{
  transform:scale(1.025);
}
.products-grid-unified .product-card-body{
  display:flex;
  flex:1;
  min-width:0;
  flex-direction:column;
  padding:13px 14px 14px;
}
.products-grid-unified .product-card h3{
  min-height:42px;
  margin:5px 0 7px;
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.products-grid-unified .product-card p{
  min-height:38px;
  margin-bottom:10px;
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.products-grid-unified .product-card-bottom{
  margin-top:auto;
}
.products-grid-unified .product-card-price-action{
  min-height:38px;
}
.product-card-cart-btn.is-disabled{
  background:#e2e8f0;
  color:#64748b;
  cursor:not-allowed;
  transform:none;
}
.product-availability{
  min-height:16px;
  color:#64748b;
  font-size:11px;
  font-weight:700;
}
.product-availability.is-low{color:#b45309}
.product-availability.is-out{color:#64748b}
.products-grid-unified.is-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.products-grid-unified.is-list .product-card{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  min-height:190px;
}
.products-grid-unified.is-list .product-card-image img{
  min-height:190px;
  padding:8px;
  object-fit:contain;
}
.products-grid-unified.is-list .product-card h3,
.products-grid-unified.is-list .product-card p{
  min-height:0;
}
@media(max-width:850px){
  .products-filter-unified,
  .products-listing-controls-unified{
    margin-left:0;
    margin-right:0;
  }
  .products-grid-unified.is-list{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .products-catalogue{
    padding:0;
  }
  .products-filter-unified{
    margin:5px 0 10px;
    border-radius:18px;
  }
  .products-listing-controls-unified{
    margin:0 0 11px;
  }
  .products-grid-unified{
    gap:9px;
  }
  .products-grid-unified .product-card{
    border-radius:16px;
  }
  .products-grid-unified .product-card-image img{
    padding:6px;
  }
  .products-grid-unified .product-card-body{
    padding:9px 9px 10px;
  }
  .products-grid-unified .product-category{
    font-size:9px;
    letter-spacing:.06em;
  }
  .products-grid-unified .product-card h3{
    min-height:35px;
    margin:4px 0 6px;
    font-size:13px;
    line-height:1.32;
  }
  .products-grid-unified .product-card p{
    display:none;
    min-height:0;
  }
  .products-grid-unified .product-card-bottom strong{
    font-size:13px;
  }
  .product-availability{
    font-size:9.5px;
    line-height:1.3;
  }
  .products-grid-unified.is-list .product-card{
    grid-template-columns:104px minmax(0,1fr);
    min-height:150px;
  }
  .products-grid-unified.is-list .product-card-image img{
    min-height:150px;
    padding:5px;
  }
  .products-grid-unified.is-list .product-card-body{
    padding:10px;
  }
  .products-grid-unified.is-list .product-card h3{
    min-height:0;
    font-size:14px;
  }
  .products-grid-unified.is-list .product-card p{
    display:-webkit-box;
    font-size:12px;
  }
}

/* EasyShop v1.0.25 product category carousel */
.product-category-carousel{
  margin:16px 0 14px;
  padding:14px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.045);
}
.product-category-carousel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.product-category-carousel__head h2{
  margin:0;
  color:#0f172a;
  font-size:15px;
  font-weight:800;
  letter-spacing:-.01em;
}
.product-category-carousel__arrows{
  display:flex;
  align-items:center;
  gap:6px;
}
.product-category-carousel__arrows button{
  display:inline-flex;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  border:1px solid #dbe3ee;
  border-radius:9px;
  background:#fff;
  color:#334155;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease;
}
.product-category-carousel__arrows button:hover,
.product-category-carousel__arrows button:focus-visible{
  border-color:#2563eb;
  background:#eff6ff;
  color:#1d4ed8;
  outline:none;
}
.product-category-carousel__track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:118px;
  gap:10px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-behavior:smooth;
  scroll-snap-type:inline mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.product-category-carousel__track::-webkit-scrollbar{display:none}
.product-category-chip{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:8px;
  padding:7px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
  color:#334155;
  text-align:center;
  text-decoration:none;
  scroll-snap-align:start;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.product-category-chip:hover,
.product-category-chip:focus-visible{
  transform:translateY(-2px);
  border-color:#93c5fd;
  box-shadow:0 9px 20px rgba(15,23,42,.08);
  outline:none;
}
.product-category-chip.is-active{
  border-color:#2563eb;
  background:#eff6ff;
  box-shadow:0 0 0 2px rgba(37,99,235,.10);
  color:#1d4ed8;
}
.product-category-chip__image{
  display:flex;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#f8fafc;
}
.product-category-chip__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-category-chip__all{
  color:#2563eb;
  font-size:34px;
  font-weight:700;
  background:linear-gradient(145deg,#eff6ff,#dbeafe);
}
.product-category-chip__name{
  display:-webkit-box;
  min-height:32px;
  overflow:hidden;
  color:inherit;
  font-size:12px;
  font-weight:800;
  line-height:1.3;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
@media(min-width:1200px){
  .product-category-carousel__track{grid-auto-columns:128px}
}
@media(max-width:700px){
  .product-category-carousel{
    margin:12px 0;
    padding:12px 10px;
    border-radius:16px;
  }
  .product-category-carousel__head{margin-bottom:10px}
  .product-category-carousel__head h2{font-size:14px}
  .product-category-carousel__arrows{display:none}
  .product-category-carousel__track{
    grid-auto-columns:calc((100vw - 64px) / 3);
    gap:8px;
    padding-right:18px;
  }
  .product-category-chip{padding:6px;border-radius:12px}
  .product-category-chip__name{min-height:30px;font-size:11px}
}
@media(max-width:390px){
  .product-category-carousel__track{grid-auto-columns:calc((100vw - 54px) / 2.65)}
}


/* EasyShop v1.0.26: Products card actions unified with the Books storefront */
.product-category-chip-label{
  display:inline-flex;
  align-self:flex-start;
  max-width:100%;
  min-height:22px;
  align-items:center;
  padding:4px 8px;
  overflow:hidden;
  border:1px solid #dbeafe;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:10.5px;
  font-weight:800;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-price-row{
  display:flex;
  min-height:28px;
  align-items:baseline;
  gap:7px;
  flex-wrap:nowrap;
}
.product-price-row del{
  color:#ea580c;
  font-size:12.5px;
  font-weight:700;
  white-space:nowrap;
}
.product-price-row strong{
  color:#111827;
  font-size:18px;
  font-weight:950;
  white-space:nowrap;
}
.product-price-row strong small{
  margin-right:3px;
  color:#64748b;
  font-size:11px;
  font-weight:700;
}
.product-card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:7px;
}
.product-card-actions .product-card-cart-form{
  display:block;
  margin:0;
}
.product-action-btn{
  display:inline-flex;
  width:100%;
  min-height:40px;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  border:0;
  border-radius:999px;
  font:inherit;
  font-size:14px;
  font-weight:800;
  line-height:1;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
}
.product-action-btn-primary{background:#111827;color:#fff}
.product-action-btn-primary:hover{background:#000;color:#fff}
.product-action-btn-muted{background:#f3f4f6;color:#111827}
.product-action-btn-muted:hover{background:#e5e7eb;color:#111827}
.product-action-btn.is-disabled{cursor:not-allowed;color:#64748b}
.products-grid-unified.is-list .product-card-actions{max-width:320px}
@media(max-width:850px){
  .product-price-row{min-height:25px}
  .product-price-row strong{font-size:17px}
  .product-card-actions{gap:7px;margin-top:6px}
  .product-action-btn{min-height:38px;padding:8px 9px;font-size:13px}
}
@media(max-width:430px){
  .product-category-chip-label{min-height:20px;padding:3px 6px;font-size:9.5px}
  .product-price-row{gap:5px}
  .product-price-row del{font-size:11px}
  .product-price-row strong{font-size:15.5px}
  .product-card-actions{gap:6px}
  .product-action-btn{min-height:36px;padding:8px 7px;font-size:12px}
}

/* EasyShop v1.0.26: align Products catalogue structure and sort placement with Books */
.products-listing-head,
.products-filter-unified,
.product-category-carousel,
.products-results-section{
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
.products-filter-unified{
  display:block;
}
.products-filter-unified .products-filter-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.products-filter-unified .products-filter-secondary{
  display:grid;
  grid-template-columns:minmax(160px,220px);
  gap:10px;
  align-items:center;
  margin-top:10px;
}
.products-filter-unified .products-listing-controls-unified{
  margin:10px 0 0;
}
.products-filter-unified .products-compact-sort{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.products-results-section{
  margin-top:0;
}
@media(max-width:850px){
  .products-filter-unified .products-filter-main{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .products-filter-unified .products-filter-secondary{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:8px;
  }
}
@media(max-width:430px){
  .products-filter-unified .products-filter-main{
    grid-template-columns:minmax(0,1fr) 82px;
    gap:7px;
  }
  .products-filter-unified .products-filter-secondary{
    margin-top:7px;
  }
}

/* EasyShop v1.0.26: compact product cards and switchable category carousel */
.products-grid-unified .product-card-body{
  padding:10px 12px 12px;
}
.products-grid-unified .product-card h3{
  min-height:0;
  margin:3px 0 4px;
  line-height:1.25;
}
.products-grid-unified .product-card p{
  min-height:0;
  margin:0 0 6px;
  line-height:1.35;
}
.products-grid-unified .product-card-bottom{
  gap:2px;
}
.products-grid-unified .product-card-price-action,
.product-price-row{
  min-height:0;
}
.product-availability{
  min-height:0;
  margin-top:1px;
  line-height:1.2;
}
.product-card-actions{
  margin-top:4px;
}
.product-category-carousel{
  margin:10px 0;
  padding:9px 10px;
  border-radius:15px;
}
.product-category-carousel__head{
  margin-bottom:7px;
}
.product-category-carousel__tools,
.product-category-carousel__mode{
  display:flex;
  align-items:center;
  gap:6px;
}
.product-category-carousel__mode{
  padding:2px;
  border-radius:999px;
  background:#f1f5f9;
}
.product-category-carousel__mode button{
  min-height:27px;
  padding:4px 9px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#64748b;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.product-category-carousel__mode button.is-active{
  background:#fff;
  color:#1d4ed8;
  box-shadow:0 2px 8px rgba(15,23,42,.09);
}
.product-category-carousel__track{
  grid-auto-columns:150px;
  gap:8px;
}
.product-category-chip{
  min-height:58px;
  flex-direction:row;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  text-align:left;
}
.product-category-chip__image{
  width:44px;
  min-width:44px;
  height:44px;
  aspect-ratio:auto;
  border-radius:9px;
}
.product-category-chip__all{
  font-size:22px;
}
.product-category-chip__name{
  min-height:0;
  font-size:11.5px;
  line-height:1.2;
  -webkit-line-clamp:2;
}
.product-category-carousel[data-category-display="text"] .product-category-carousel__track{
  grid-auto-columns:max-content;
}
.product-category-carousel[data-category-display="text"] .product-category-chip{
  min-height:38px;
  padding:7px 12px;
}
.product-category-carousel[data-category-display="text"] .product-category-chip__image{
  display:none;
}
.product-category-carousel[data-category-display="text"] .product-category-chip__name{
  white-space:nowrap;
  -webkit-line-clamp:1;
}
@media(max-width:700px){
  .product-category-carousel{
    margin:8px 0;
    padding:8px;
  }
  .product-category-carousel__head{
    gap:8px;
    margin-bottom:6px;
  }
  .product-category-carousel__tools{
    margin-left:auto;
  }
  .product-category-carousel__mode button{
    min-height:25px;
    padding:3px 7px;
    font-size:10px;
  }
  .product-category-carousel__track{
    grid-auto-columns:138px;
    gap:7px;
    padding-right:12px;
  }
  .product-category-chip{
    min-height:52px;
    padding:5px 7px;
  }
  .product-category-chip__image{
    width:38px;
    min-width:38px;
    height:38px;
  }
  .product-category-chip__name{
    font-size:10.5px;
  }
  .products-grid-unified .product-card-body{
    padding:7px 8px 8px;
  }
  .products-grid-unified .product-card h3{
    min-height:0;
    margin:2px 0 3px;
    line-height:1.2;
  }
  .products-grid-unified .product-card-bottom{
    gap:1px;
  }
  .product-price-row{
    min-height:0;
    line-height:1.15;
  }
  .product-availability{
    margin-top:0;
    line-height:1.15;
  }
  .product-card-actions{
    margin-top:3px;
  }
}
@media(max-width:430px){
  .product-category-carousel__head h2{
    font-size:13px;
  }
  .product-category-carousel__mode button{
    padding:3px 6px;
  }
  .product-category-carousel__track{
    grid-auto-columns:128px;
  }
}


/* EasyShop v1.0.26: inline category carousel below search */
.product-category-inline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-width:0;
  margin-top:9px;
}
.product-category-inline .product-category-carousel__track{
  display:flex;
  gap:7px;
  min-width:0;
  padding:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
.product-category-inline .product-category-carousel__track::-webkit-scrollbar{display:none}
.product-category-inline .product-category-chip{
  flex:0 0 auto;
  min-height:42px;
  max-width:170px;
  padding:4px 9px 4px 5px;
  border-radius:12px;
  scroll-snap-align:start;
}
.product-category-inline .product-category-chip__image{
  width:32px;
  min-width:32px;
  height:32px;
  border-radius:8px;
}
.product-category-inline .product-category-chip__all{font-size:17px}
.product-category-inline .product-category-chip__name{
  min-height:0;
  font-size:11px;
  line-height:1.15;
}
.product-category-inline__controls{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.product-category-display-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  padding:4px 8px;
  border:1px solid #dbe3ef;
  border-radius:999px;
  background:#fff;
  color:#475569;
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.product-category-display-toggle__track{
  position:relative;
  display:block;
  width:29px;
  height:17px;
  border-radius:999px;
  background:#cbd5e1;
  transition:background .2s ease;
}
.product-category-display-toggle__track span{
  position:absolute;
  top:2px;
  left:2px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(15,23,42,.24);
  transition:transform .2s ease;
}
.product-category-display-toggle[aria-pressed="true"] .product-category-display-toggle__track{background:#2563eb}
.product-category-display-toggle[aria-pressed="true"] .product-category-display-toggle__track span{transform:translateX(12px)}
.product-category-inline[data-category-display="text"] .product-category-chip{
  min-height:34px;
  padding:6px 10px;
}
.product-category-inline[data-category-display="text"] .product-category-chip__image{display:none}
.product-category-inline[data-category-display="text"] .product-category-chip__name{
  white-space:nowrap;
  -webkit-line-clamp:1;
}
.product-category-inline .product-category-carousel__arrows{display:flex;gap:4px}
.product-category-inline .product-category-carousel__arrows button{
  width:31px;
  height:31px;
  border-radius:9px;
}
@media(max-width:700px){
  .product-category-inline{gap:5px;margin-top:7px}
  .product-category-inline .product-category-chip{min-height:38px;max-width:145px;padding:3px 7px 3px 4px}
  .product-category-inline .product-category-chip__image{width:29px;min-width:29px;height:29px}
  .product-category-inline .product-category-chip__name{font-size:10px}
  .product-category-display-toggle{min-height:29px;padding:3px 6px}
  .product-category-display-toggle__label{display:none}
  .product-category-inline .product-category-carousel__arrows{display:none}
}


/* EasyShop v1.0.26: Books-matched search and compact category mode switch */
.products-filter-unified .products-filter-main .bbk-btn-primary{
  min-height:44px;
  padding:11px 18px;
  border:0;
  border-radius:999px;
  background:var(--bbk-primary,#111827);
  color:#fff;
  font-weight:800;
  box-shadow:none;
}
.products-filter-unified .products-filter-main .bbk-btn-primary:hover,
.products-filter-unified .products-filter-main .bbk-btn-primary:focus-visible{
  background:#000;
  color:#fff;
}
.product-category-inline .product-category-chip{
  min-height:54px;
}
.product-category-inline .product-category-chip__image{
  width:42px;
  min-width:42px;
  height:42px;
}
.product-category-inline[data-category-display="text"] .product-category-chip{
  min-height:34px;
  padding:4px 10px;
}
.product-category-display-toggle{
  width:38px;
  min-width:38px;
  height:24px;
  min-height:24px;
  padding:2px;
  gap:0;
  border:2px solid #111;
  border-radius:999px;
  background:#fff;
  color:#111;
}
.product-category-display-toggle__track{
  width:100%;
  height:100%;
  border-radius:999px;
  background:#fff;
}
.product-category-display-toggle__track span{
  top:2px;
  left:2px;
  width:16px;
  height:16px;
  background:#111;
  box-shadow:none;
}
.product-category-display-toggle[aria-pressed="true"]{
  background:#111;
}
.product-category-display-toggle[aria-pressed="true"] .product-category-display-toggle__track{
  background:#111;
}
.product-category-display-toggle[aria-pressed="true"] .product-category-display-toggle__track span{
  transform:translateX(14px);
  background:#fff;
}
@media(max-width:700px){
  .products-filter-unified .products-filter-main .bbk-btn-primary{
    min-height:42px;
    padding:10px 16px;
  }
  .product-category-inline .product-category-chip{
    min-height:50px;
  }
  .product-category-inline .product-category-chip__image{
    width:38px;
    min-width:38px;
    height:38px;
  }
  .product-category-inline[data-category-display="text"] .product-category-chip{
    min-height:32px;
    padding:3px 9px;
  }
  .product-category-display-toggle{
    width:36px;
    min-width:36px;
    height:22px;
    min-height:22px;
    padding:2px;
  }
  .product-category-display-toggle__track span{
    width:14px;
    height:14px;
  }
  .product-category-display-toggle[aria-pressed="true"] .product-category-display-toggle__track span{
    transform:translateX(14px);
  }
}


/* EasyShop v1.0.26: category presentation follows Product Grid/List mode */
.product-category-inline__controls{
  min-height:31px;
}
.product-category-inline[data-category-display="image"] .product-category-chip{
  min-height:54px;
}
.product-category-inline[data-category-display="text"] .product-category-chip{
  min-height:34px;
  padding:4px 10px;
}
.product-category-inline[data-category-display="text"] .product-category-chip__image{
  display:none;
}
.product-category-inline[data-category-display="text"] .product-category-chip__name{
  white-space:nowrap;
  -webkit-line-clamp:1;
}
@media(max-width:700px){
  .product-category-inline[data-category-display="image"] .product-category-chip{
    min-height:50px;
  }
  .product-category-inline[data-category-display="text"] .product-category-chip{
    min-height:30px;
    padding:3px 9px;
  }
}

/* EasyShop v1.0.26: consistent product and category image framing */
.products-grid-unified .product-card-media,
.products-grid-unified .product-card-image{
  width:100%;
  min-width:0;
  background:#f8fafc;
}
.products-grid-unified:not(.is-list) .product-card-media,
.products-grid-unified:not(.is-list) .product-card-image{
  aspect-ratio:1 / 1;
}
.products-grid-unified .product-card-image{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.products-grid-unified .product-card-image img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  padding:10px;
  object-fit:contain;
  object-position:center;
  box-sizing:border-box;
}
.products-grid-unified.is-list .product-card-media,
.products-grid-unified.is-list .product-card-image{
  height:100%;
  min-height:190px;
}
.products-grid-unified.is-list .product-card-image img{
  min-height:0;
  padding:8px;
}
.product-category-inline .product-category-chip__image{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#f8fafc;
}
.product-category-inline .product-category-chip__image img{
  display:block;
  width:100%;
  height:100%;
  padding:3px;
  object-fit:contain;
  object-position:center;
  box-sizing:border-box;
}
@media(max-width:560px){
  .products-grid-unified .product-card-image img{
    padding:6px;
  }
  .products-grid-unified.is-list .product-card-media,
  .products-grid-unified.is-list .product-card-image{
    min-height:150px;
  }
  .products-grid-unified.is-list .product-card-image img{
    padding:5px;
  }
  .product-category-inline .product-category-chip__image img{
    padding:2px;
  }
}

/* EasyShop v1.0.26: Books-style edge-to-edge Product imagery */
.products-grid-unified .product-card-media,
.products-grid-unified .product-card-image,
.product-main-image,
.product-thumbs button,
.product-quick-view-image-wrap,
.product-category-inline .product-category-chip__image{
  overflow:hidden;
}

.products-grid-unified .product-card-image img,
.products-grid-unified.is-list .product-card-image img,
.product-main-image img,
.product-thumbs img,
.product-quick-view-image-wrap img,
.product-category-inline .product-category-chip__image img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  padding:0;
  object-fit:cover;
  object-position:center;
  box-sizing:border-box;
}

.products-grid-unified:not(.is-list) .product-card-image img{
  aspect-ratio:auto;
}

.product-main-image img{
  aspect-ratio:1 / 1;
}

.product-thumbs img{
  border-radius:0;
}

.product-quick-view-image-wrap img{
  max-height:none;
}

@media(max-width:560px){
  .products-grid-unified .product-card-image img,
  .products-grid-unified.is-list .product-card-image img,
  .product-category-inline .product-category-chip__image img{
    padding:0;
  }
}


/* EasyShop v1.0.26: edge-to-edge Product Category carousel imagery */
.product-category-inline[data-category-display="image"] .product-category-chip{
  min-height:54px;
  padding:0 10px 0 0;
  gap:9px;
  overflow:hidden;
}
.product-category-inline[data-category-display="image"] .product-category-chip__image{
  align-self:stretch;
  width:54px;
  min-width:54px;
  height:auto;
  margin:0;
  border-radius:0;
  background:transparent;
}
.product-category-inline[data-category-display="image"] .product-category-chip__image img{
  width:100%;
  height:100%;
  padding:0;
  object-fit:cover;
  object-position:center;
}
.product-category-inline[data-category-display="image"] .product-category-chip__name{
  padding-right:2px;
}
@media(max-width:700px){
  .product-category-inline[data-category-display="image"] .product-category-chip{
    min-height:50px;
    padding-right:8px;
    gap:7px;
  }
  .product-category-inline[data-category-display="image"] .product-category-chip__image{
    width:50px;
    min-width:50px;
  }
}
