/* Category landing pages: scoped styles preserve the rest of the storefront. */
.collection-page{max-width:1240px;margin-inline:auto;padding:28px 32px 64px}
.collection-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;line-height:1.7;color:#76716a;margin-bottom:20px}
.collection-breadcrumbs a{text-decoration:underline;text-underline-offset:4px}
.collection-breadcrumbs [aria-current]{color:#33302b}
.collection-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;background:#f7f4ee;border:1px solid #eee7dc;border-radius:20px;margin-bottom:30px}
.collection-intro-copy{min-width:0}
.collection-eyebrow{font-size:12px;font-weight:700;color:#93641f}
.collection-intro h1{font-size:36px;line-height:1.35;margin:8px 0 10px;overflow-wrap:anywhere}
.collection-intro p{margin:0;max-width:560px;font-size:15px;line-height:1.8;color:#6c665d}
.collection-intro-image{width:132px;height:132px;flex:0 0 132px;object-fit:cover;border-radius:14px}
.collection-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.collection-section-heading h2{font-size:21px;line-height:1.5;margin:0}
.collection-section-heading>span{font-size:13px;color:#777067;white-space:nowrap}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.collection-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e7e1d8;border-radius:16px;transition:border-color .18s,box-shadow .18s;text-align:start}
.collection-card:hover{border-color:#bb924f;box-shadow:0 8px 24px #3b2c1310}
.collection-card:focus-visible,.collection-breadcrumbs a:focus-visible{outline:3px solid #a77327;outline-offset:4px}
.collection-card-media{aspect-ratio:4/3;overflow:hidden;background:#f4f1eb}
.collection-card-media img{width:100%;height:100%;object-fit:cover}
.collection-card-placeholder img{object-fit:contain;padding:24px}
.collection-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:20px;min-width:0}
.collection-card h3{font-size:18px;line-height:1.6;margin:0 0 8px;overflow-wrap:anywhere}
.collection-card-count{font-size:13px;color:#746e65}
.collection-card-action{display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:12px;margin-top:auto;padding-top:20px;font-size:13px;font-weight:700;color:#885a17}
.collection-card-action svg{flex:0 0 18px}
[dir=rtl] .collection-card-action svg{transform:rotate(180deg)}
@media(max-width:800px){.collection-page{padding:20px 20px 48px}.collection-grid{gap:16px}.collection-intro{padding:22px}.collection-intro h1{font-size:30px}.collection-card-copy{padding:16px}.collection-card h3{font-size:16px}}
@media(max-width:600px){
 .collection-page{padding:18px 16px 40px}
 .collection-breadcrumbs{font-size:12px;gap:8px;margin-bottom:14px}
 .collection-intro{gap:14px;padding:18px 16px;border-radius:16px;margin-bottom:24px}
 .collection-eyebrow{font-size:11px}
 .collection-intro h1{font-size:27px;margin:5px 0 6px;line-height:1.45}
 .collection-intro p{font-size:12px;line-height:1.8}
 .collection-intro-image{width:80px;height:96px;flex-basis:80px;border-radius:10px}
 .collection-section-heading{margin-bottom:12px}
 .collection-section-heading h2{font-size:18px}
 .collection-section-heading>span{font-size:12px}
 .collection-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .collection-card{flex-direction:row;align-items:stretch;border-radius:14px;min-height:128px}
 .collection-card-media{width:116px;flex:0 0 116px;aspect-ratio:auto;position:relative;min-height:128px}
 .collection-card-media img{position:absolute;inset:0;width:100%;height:100%}
 .collection-card-copy{padding:14px;gap:0}
 .collection-card h3{font-size:16px;line-height:1.6;margin-bottom:5px}
 .collection-card-count{font-size:12px}
 .collection-card-action{padding-top:12px;font-size:12px}
 .collection-page .product-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .collection-page .product-card{min-width:0}
 .collection-page .product-card h3{overflow-wrap:anywhere;line-height:1.6}
}
@media(max-width:360px){.collection-card-media{width:96px;flex-basis:96px}.collection-card-copy{padding:12px}.collection-card h3{font-size:15px}.collection-intro-image{width:64px;flex-basis:64px;height:88px}}
@media(prefers-reduced-motion:reduce){.collection-card{transition:none}}

/* The first grid column follows the document direction (English / Arabic). */
.collection-shop-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.collection-shop-empty{grid-template-columns:minmax(0,1fr)}
.collection-filter-sidebar{min-width:0;border-inline-end:1px solid #e7e1d8;padding-inline-end:22px}
.collection-filters summary{font-weight:700;font-size:18px;padding:0 0 20px;cursor:pointer;min-height:44px}
.collection-filters summary span{font-size:13px;color:#795018}
.collection-filter-group{border:0;border-bottom:1px solid #e7e1d8;margin:0 0 22px;padding:0 0 20px;min-width:0}
.collection-filter-group legend{font-size:15px;font-weight:700;padding:0;margin-bottom:14px}
.collection-price-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.collection-price-inputs label{display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}
.collection-price-inputs input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #bbb2a5;border-radius:8px;background:#fff;color:#302b25;padding:8px;font:inherit;font-size:16px}
.collection-height-options{display:flex;flex-direction:column;gap:8px}
.collection-height-option{display:flex;align-items:center;gap:9px;min-height:46px;padding:10px;border:1px solid #ded8ce;border-radius:8px;font-size:14px;cursor:pointer}
.collection-height-option:has(input:checked){border-color:#a77327;background:#faf3e6;color:#684719}
.collection-height-option input{width:17px;height:17px;margin:0;accent-color:#95651e;flex-shrink:0}
.collection-height-option small{margin-inline-start:auto;color:#6c665d}
.collection-filter-help{font-size:12px;line-height:1.8;color:#6c665d;margin:12px 0 0}
.collection-filter-actions{display:flex;flex-direction:column;gap:14px;text-align:center;font-size:13px}
.collection-filter-actions button{width:100%;min-height:46px}
.collection-filter-actions a,.collection-filter-status a{color:#795018;text-decoration:underline;text-underline-offset:3px}
.collection-filter-status{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px;margin:0 0 18px;min-height:30px}
.collection-filter-status p{margin:0}
.collection-filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.collection-filter-chips a{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border:1px solid #ded1bd;border-radius:24px;background:#f7f1e6;font-size:13px;color:#684719}
.collection-filters :focus-visible,.collection-filter-chips a:focus-visible{outline:3px solid #a77327;outline-offset:3px}
#product-results{min-width:0;scroll-margin-top:20px}
#product-results:focus-visible{outline:2px solid #a77327;outline-offset:6px;border-radius:8px}
.collection-shop-layout .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(min-width:801px){.collection-filters summary{list-style:none}.collection-filters summary::-webkit-details-marker{display:none}}
@media(max-width:1000px) and (min-width:801px){.collection-shop-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.collection-shop-layout .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 .collection-shop-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .collection-filter-sidebar{border:0;padding:0}
 .collection-filters{border:1px solid #e7e1d8;border-radius:12px;background:#faf8f4}
 .collection-filters summary{font-size:15px;padding:15px;min-height:50px}
 .collection-filters form{padding:4px 16px 16px}
 .collection-height-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .collection-filter-actions{flex-direction:row;align-items:center}
 .collection-filter-actions button{width:auto;flex:1}
 .collection-filter-status{font-size:13px}
 .collection-shop-layout .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
