/* Shared product card for featured, catalog, recommendations and saved products. */
#productsSection .section-heading{align-items:center;gap:22px;margin-bottom:30px}
#productsSection .section-kicker{display:flex;align-items:center;gap:12px;color:#2e3a8c;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
#productsSection .section-kicker:after{content:"";width:30px;height:2px;background:#2e3a8c}
#productsSection .section-heading h2{margin:8px 0 4px;color:#1d1d1f;font-size:clamp(29px,3vw,44px);line-height:1.1;letter-spacing:-.035em}
#productsSection .featured-subtitle{margin:0;color:#65708a;font-size:16px;line-height:1.5}
#productsSection .section-link{flex:none;padding:11px 19px;border:1px solid #cbd2e5;border-radius:18px;color:#2e3a8c;font-size:13px;font-weight:700;text-decoration:none;transition:border-color .2s ease,background .2s ease}
#productsSection .section-link:hover{background:#fff;border-color:#2e3a8c}
#productsSection.featured-view .category-pills,#productsSection.featured-view .product-toolbar{display:none!important}
#productsSection .product-grid{gap:18px;align-items:stretch}
#productsSection.featured-view .product-grid{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:2px;scrollbar-width:none;overscroll-behavior-inline:contain;padding:3px 2px 18px;margin-inline:-2px}
#productsSection.featured-view .product-grid::-webkit-scrollbar{display:none}
#productsSection .product-card,.pd-rec-grid .product-card,.saved-products-list .product-card{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;background:#fff;border:1px solid #e3e7f0;border-radius:24px;box-shadow:0 10px 27px #1d1d1f0a;scroll-snap-align:start;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
#productsSection .product-card:hover,.pd-rec-grid .product-card:hover,.saved-products-list .product-card:hover{transform:translateY(-3px);border-color:#cbd2e5;box-shadow:0 15px 34px #1d1d1f14}
#productsSection .product-media,.pd-rec-grid .product-media,.saved-products-list .product-media{position:relative;flex:none;height:225px;min-height:0;background:#f5f5f7!important;margin:8px 8px 0;border-radius:18px;overflow:hidden;padding:0}
.product-card-badges{position:absolute;z-index:2;inset:12px 14px auto;display:flex;align-items:flex-start;justify-content:space-between;gap:6px;pointer-events:none}
.product-card .discount-badge,.product-card .stock-badge,.product-card .type-badge{position:static;display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border:0;border-radius:999px;font-size:11px;font-weight:750;line-height:1.15;white-space:nowrap;box-shadow:none}
.product-card .discount-badge{color:#2e3a8c;background:#e5e8f8}.product-card .stock-badge{color:#6b2732;background:#fff}.product-card .type-badge{color:#2e3a8c;background:#fff}
.product-card .product-image-link{display:grid;place-items:center;width:100%;height:100%;padding:38px 18px 18px;text-decoration:none}
.product-card .product-card-image{display:block;width:100%;height:100%;max-height:185px;object-fit:contain;object-position:center;filter:none;transform:scale(1);transition:transform .2s ease}
.product-card:hover .product-card-image{transform:scale(1.02)}
.product-card .product-card-fallback{display:grid;place-items:center;width:100%;height:100%;color:#2e3a8c;font-size:44px}
.product-card .wish-button{position:absolute;z-index:3;inset:auto 12px 12px auto;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#62708f;font-size:25px;line-height:1;box-shadow:0 4px 15px #1d1d1f12;cursor:pointer;transition:transform .2s ease,color .2s ease}
.product-card .wish-button svg{display:block;width:20px;height:20px;stroke-width:2.3;transform:none}
.product-card .wish-button.wished svg{fill:currentColor}
[dir=rtl] .product-card .wish-button{inset:auto auto 12px 12px}.product-card .wish-button:hover{transform:scale(1.05);color:#2e3a8c}.product-card .wish-button.wished{color:#2e3a8c}
#productsSection .product-info,.pd-rec-grid .product-info,.saved-products-list .product-info{display:flex;flex:1;flex-direction:column;min-height:0;padding:17px 21px 20px;color:#1d1d1f}
.product-card-brand{display:flex;align-items:center;gap:7px;min-height:20px;color:#59647d}.product-card-brand>span{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;overflow:hidden}.product-card-brand>span>*{transform:scale(.5);transform-origin:center}.product-card-brand small{font-size:12px;font-weight:650;letter-spacing:.01em}
#productsSection .product-info h3,.pd-rec-grid .product-info h3,.saved-products-list .product-info h3{min-height:42px;margin:8px 0 4px;font-size:17px;line-height:1.25;font-weight:750;letter-spacing:-.025em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card h3 a{color:#1d1d1f;text-decoration:none}.product-card h3 a:hover{color:#2e3a8c}
#productsSection .variant-label,.pd-rec-grid .variant-label,.saved-products-list .variant-label{min-height:18px;margin:0 0 13px;color:#65708a;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#productsSection .price-row,.pd-rec-grid .price-row,.saved-products-list .price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:13px;border-top:1px solid #e3e7f0}
.product-card .price-row>div{display:grid;gap:2px;min-width:0}.product-card .price-row del{color:#8b95aa;font-size:12px;white-space:nowrap}.product-card .price-row strong{color:#111a30!important;font-size:20px;line-height:1.1;font-weight:800;white-space:nowrap}
.product-card .add-button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:#2e3a8c!important;color:#fff!important;cursor:pointer;transition:background .2s ease,transform .2s ease}.product-card .add-button svg{width:21px;height:21px}.product-card .add-button:hover:not(:disabled){background:#1d2a76!important;transform:translateY(-1px)}.product-card .add-button:disabled{background:#c9ccda!important;cursor:not-allowed}
.product-card .add-button svg{display:block;width:19px;height:19px;stroke-width:2.7}
#productsSection .quick-view,.pd-rec-grid .quick-view,.saved-products-list .quick-view{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;margin-top:13px;padding:0;border:0;background:none;color:#2e3a8c;font-size:12px;font-weight:750;text-decoration:none}.product-card .quick-view span{transition:transform .2s ease}.product-card .quick-view:hover span{transform:translateX(3px)}[dir=rtl] .product-card .quick-view:hover span{transform:translateX(-3px)}
.product-card a:focus-visible,.product-card button:focus-visible,.product-carousel-controls button:focus-visible{outline:2px solid #2e3a8c;outline-offset:3px}
.product-carousel-controls{display:flex;align-items:center;justify-content:space-between;margin-top:0;padding:0 2px}.product-carousel-controls[hidden]{display:none}.product-carousel-controls>button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e3e7f0;border-radius:50%;background:#fff;color:#2e3a8c;font-size:20px;cursor:pointer;box-shadow:0 4px 12px #1d1d1f0a}.product-carousel-controls>button:disabled{opacity:.35;cursor:default}.product-carousel-controls>div{display:flex;align-items:center;gap:8px}.product-carousel-controls>div button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#d4d9e6;cursor:pointer}.product-carousel-controls>div button[aria-current=true]{background:#2e3a8c}
.pd-rec-grid .product-media{height:150px}.pd-rec-grid .product-card-image{max-height:115px}.pd-rec-grid .product-info{padding:12px 14px 15px}.pd-rec-grid .product-info h3{font-size:14px;min-height:36px}.pd-rec-grid .variant-label{font-size:11px}.pd-rec-grid .price-row strong{font-size:16px}.pd-rec-grid .add-button{width:34px;height:34px}.pd-rec-grid .add-button svg{width:18px;height:18px}.pd-rec-grid .product-card .wish-button{width:30px;height:30px;font-size:20px}.pd-rec-grid .type-badge{display:none}.pd-rec-grid .quick-view{font-size:11px}
.pd-rec-grid .product-card .wish-button svg{width:16px;height:16px}
.saved-products-list .product-card{min-height:0}.saved-products-list .product-media{height:140px}.saved-products-list .product-card-image{max-height:110px}.saved-products-list .product-info{padding:12px 15px 15px}.saved-products-list .product-info h3{min-height:0}.saved-products-list .price-row strong{font-size:17px}
@media(max-width:1100px){#productsSection.featured-view .product-grid{grid-auto-columns:calc((100% - 18px)/2)}#productsSection .product-media{height:215px}}
@media(max-width:600px){#productsSection .section-heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:20px}#productsSection .section-heading h2{font-size:31px}#productsSection .featured-subtitle{font-size:13px}#productsSection .section-link{padding:9px 14px;font-size:12px}#productsSection.featured-view .product-grid{grid-auto-columns:min(84vw,330px)}#productsSection .product-media{height:210px}#productsSection .product-info{padding:15px 17px 17px}#productsSection .product-info h3{font-size:16px}.product-carousel-controls>button{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.product-card,.product-card .product-card-image,.product-card .wish-button,.product-card .add-button,.product-card .quick-view span{transition:none!important}#productsSection.featured-view .product-grid{scroll-behavior:auto}}
/* Keep the shared card geometry authoritative over older homepage-only rules. */
body:not(.admin-view):not(.catalog-view) #storePage #productsSection .section-kicker{display:flex!important}
body:not(.admin-view):not(.catalog-view) #storePage #productsSection.featured-view .product-grid{display:grid!important;grid-template-columns:none!important}
body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-card{border-radius:24px;box-shadow:0 10px 27px #1d1d1f0a}
body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-media{height:225px;background:#f5f5f7!important}
body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-info{padding:17px 21px 20px}
body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-info h3{font-size:17px;line-height:1.25;min-height:42px}
@media(max-width:1100px){body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-media{height:215px}}
@media(max-width:600px){body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-media{height:210px}body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-info{padding:15px 17px 17px}body:not(.admin-view):not(.catalog-view) #storePage #productsSection .product-info h3{font-size:16px}}

#productsSection .quick-view,.pd-rec-grid .quick-view,.saved-products-list .quick-view{justify-content:flex-start}
.product-carousel-controls>div button[hidden]{display:none}
@media(max-width:600px){#productsSection:not(.featured-view) .product-grid{grid-template-columns:1fr!important}#productDetailPage .pd-rec-grid .product-card{flex:0 0:min(76vw,255px)}}

#showAllButton[hidden]{display:none!important}
@media(max-width:1100px){#productsSection:not(.featured-view) .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#productsSection:not(.featured-view) .product-grid{grid-template-columns:1fr!important}}
