/* Option 2: warm boutique cards. Scoped to the live product listing only. */
#products.products-section {max-width:none;width:100%;margin-inline:auto;padding:clamp(44px,5vw,76px) clamp(16px,2.6vw,50px) clamp(50px,6vw,90px);}
#products .catalog-heading {margin-bottom:30px;}
#products .catalog-heading h2 {font-family:'Playfair Display',Georgia,serif;font-size:clamp(30px,3.6vw,46px)!important;font-weight:500;line-height:1.3;color:#402a1e;}
html[lang=ar] #products .catalog-heading h2 {font-family:'Cairo',sans-serif;font-weight:700;}
#products .catalog-heading>p:not(.eyebrow) {font-size:16px;color:#866349;}
#products .product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.5vw,22px);align-items:stretch;}
#products .product-grid:has(> .product-card:only-child) {grid-template-columns:repeat(4,minmax(0,1fr));justify-content:start;}
#products .product-grid {direction:inherit;justify-content:start;width:100%;max-width:none;margin-inline:0;}
@media(min-width:1450px){#products .product-grid,#products .product-grid:has(> .product-card:only-child){grid-template-columns:repeat(5,minmax(0,1fr));}}
#products .product-grid > .product-card {display:flex;flex-direction:column;min-width:0;background:#f3eae0!important;border:1px solid #e0cdb8!important;border-radius:13px!important;overflow:hidden!important;padding:7px;box-shadow:none!important;transition:box-shadow .2s ease,border-color .2s ease;}
#products .product-grid > .product-card:hover {border-color:#bf9c7b!important;box-shadow:0 7px 24px #50321b13!important;}
#products .product-grid .product-card .product-art {display:block;aspect-ratio:1/1!important;height:auto!important;min-height:0!important;width:100%;padding:0!important;border:0!important;border-radius:8px!important;background:#eee4d9;overflow:hidden;}
#products .product-art .product-image-button,#products .product-art .product-image-button img {border-radius:8px!important;width:100%;height:100%;}
#products .product-art .product-image-button img {object-fit:contain!important;}
#products .product-grid .product-card .product-info {display:flex;flex-direction:column;align-items:center;flex:1;min-width:0;padding:15px 10px 4px!important;text-align:center;}
#products .product-grid .product-info h3 {font-family:'Playfair Display',Georgia,serif;font-size:clamp(19px,1.85vw,26px)!important;font-weight:500;line-height:1.4;color:#402a1e;margin:0 0 7px!important;overflow-wrap:anywhere;}
html[lang=ar] #products .product-grid .product-info h3 {font-family:'Cairo',sans-serif;font-weight:700;}
#products .product-info .sku {font:600 13px/1.6 'Cairo',sans-serif;letter-spacing:0;direction:inherit;color:#79583e;margin:0 0 5px;overflow-wrap:anywhere;}
#products .product-info .sku bdi {font-weight:700;font-variant-numeric:tabular-nums;}
#products .product-prices {margin:0 0 14px;min-height:28px;gap:8px;}
#products .product-prices .price {font:700 20px/1.5 'Cairo',sans-serif;color:#54341e;font-variant-numeric:tabular-nums;}
#products .product-prices del {font:500 13px/1.5 'Cairo',sans-serif;color:#806d5e;}
#products .product-actions {display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;max-width:none;margin:auto 0 0;}
#products .product-actions .add-btn,#products .product-actions .details-btn {flex:none;width:100%;min-height:44px;gap:8px;padding:9px 5px;font:700 14px/1.5 'Cairo',sans-serif;border-radius:5px;}
#products .product-actions .add-btn {background:#744522!important;border:1px solid #744522!important;color:white!important;}
#products .product-actions .add-btn:hover:not(:disabled) {background:#593319!important;border-color:#593319!important;}
#products .product-actions .add-btn:disabled {background:#e1d7cd!important;border-color:#d0c2b5!important;color:#63564b!important;}
#products .product-actions .details-btn {background:transparent!important;border:1px solid transparent!important;color:#402a1e!important;font-weight:600;min-height:38px;}
#products .product-actions .details-btn:hover {background:#e8d9ca!important;}
#products button:focus-visible {outline:2px solid #9c795d;outline-offset:2px;}
@media(max-width:1050px) {#products .product-grid,#products .product-grid:has(> .product-card:only-child) {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px) {#products .product-grid,#products .product-grid:has(> .product-card:only-child) {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}#products .product-grid > .product-card {padding:5px;border-radius:10px!important;}#products .product-grid .product-card .product-info {padding:10px 4px 2px!important;}#products .product-grid .product-info h3 {font-size:17px!important;}#products .product-info .sku {font-size:12px;}#products .product-prices .price {font-size:17px;}#products .product-actions .add-btn,#products .product-actions .details-btn {font-size:12px;min-height:42px;}#products .catalog-heading>p:not(.eyebrow) {font-size:14px;}}
@media(prefers-reduced-motion:reduce){#products .product-card,#products .product-image-button img {transition:none!important;transform:none!important;}}

/* Display the saved model identifier alone, directly beneath the price. */
#products .product-info .product-prices { margin-bottom:3px; }
#products .product-info .sku { color:#79583e; margin:0 0 12px; font-size:13px; line-height:1.5; letter-spacing:.4px; }
#products .product-info .sku bdi { font-weight:600; }
#products .product-info .product-prices:has(+ .product-actions) { margin-bottom:14px; }
@media(max-width:760px){#products .product-info .sku {font-size:12px;}}

/* Home catalog: each active category has its own full-width product grid. */
#products #product-grid.home-category-sections {display:block;width:100%;max-width:none;}
#products .home-category-section {margin-top:clamp(38px,5vw,76px);padding-top:clamp(22px,3vw,44px);border-top:1px solid #e5d8c8;}
#products .home-empty-message {grid-column:1/-1;display:block;min-height:0;margin:0;padding:25px 16px;border:1px dashed #dfcebb;border-radius:8px;background:#f7f1e9;color:#79583e;text-align:center;line-height:1.8;font-size:14px;}
@media(max-width:760px){#products .home-category-section {margin-top:34px;padding-top:26px;}#products .home-empty-message {padding:19px 10px;font-size:13px;}}
