.product-details-page { padding-block:24px 40px; }
.product-breadcrumb { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:24px; font-size:12px; color:var(--muted-color); }
.product-breadcrumb a { color:var(--customer-link-color); text-decoration:none; }
.product-details-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:24px; align-items:start; }
.product-details-primary { min-width:0; }
.product-detail-card { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:24px; padding:22px; border:1px solid var(--border-color); border-radius:14px; background:var(--customer-bg-color); }
.product-detail-gallery, .product-detail-summary { min-width:0; }
.product-detail-main-image { position:relative; display:block; width:100%; max-width:280px; margin-inline:auto; aspect-ratio:1; max-height:280px; border:0; border-radius:9px; overflow:hidden; background:var(--customer-surface-color); }
.product-detail-main-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.product-detail-main-image>span { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); white-space:nowrap; padding:7px 10px; border-radius:5px; font-size:10px; color:var(--muted-color); background:var(--customer-bg-color); }
.product-category-tags { display:flex; flex-wrap:wrap; gap:6px; }
.product-category-tags a { font-size:10px; text-decoration:none; color:var(--customer-link-color); padding:5px 8px; border-radius:5px; background:var(--customer-surface-color); }
.product-detail-summary h1 { font-size:22px; font-weight:600; margin:14px 0; overflow-wrap:anywhere; }
.product-detail-price { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:18px; color:var(--primary-color); }
.product-detail-price strong { font-size:26px; }
.product-detail-price del { font-size:13px; color:var(--muted-color); }
.product-short-description { font-size:12px; line-height:1.7; color:var(--muted-color); }
.product-variation-panel { padding:16px; border-radius:9px; background:var(--customer-surface-color); margin:18px 0 12px; }
.product-variation-panel h2 { font-size:15px; margin-bottom:16px; }
.product-variation-panel fieldset { border:0; margin:0 0 14px; padding:0 0 14px; border-bottom:1px solid var(--border-color); }
.product-variation-panel fieldset:last-child { margin:0; padding:0; border:0; }
.product-variation-panel legend { font-size:11px; margin-bottom:10px; }
.product-option-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.product-option-buttons button { display:inline-flex; align-items:center; gap:6px; padding:9px 10px; border:1px solid var(--border-color); border-radius:5px; background:var(--customer-bg-color); color:var(--text-color); font-size:11px; }
.product-option-buttons button[aria-pressed=true] { border-color:var(--primary-color); color:var(--primary-color); outline:1px solid var(--primary-color); }
.product-option-buttons button:disabled { opacity:.45; text-decoration:line-through; cursor:not-allowed; }
.product-option-color { display:inline-block; width:12px; height:12px; border-radius:50%; background:var(--option-color); border:1px solid var(--border-color); }
.product-selection-status { font-size:11px; color:var(--muted-color); min-height:16px; }
.product-total-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:14px 12px; background:var(--customer-surface-color); border-radius:9px; font-size:12px; }
.product-quantity { display:flex; align-items:center; border:1px solid var(--border-color); border-radius:5px; background:var(--customer-bg-color); }
.product-quantity button { width:28px; height:32px; border:0; background:transparent; color:var(--primary-color); }
.product-quantity input { width:42px; border:0; padding:5px 0; text-align:center; color:var(--text-color); background:transparent; appearance:textfield; }
.product-quantity input::-webkit-inner-spin-button { appearance:none; }
.product-detail-actions { display:flex; gap:10px; margin:14px 0 20px; }
.product-detail-actions button { flex:1; padding:12px 8px; font-size:12px; }
.product-detail-actions button:disabled { cursor:not-allowed; }
.product-buy-now { background:var(--secondary-color); color:var(--on-secondary-color); }
.product-facts { border-top:1px solid var(--border-color); padding-top:14px; margin:0; font-size:11px; }
.product-facts>div { display:grid; grid-template-columns:90px minmax(0,1fr); gap:10px; margin:8px 0; }
.product-facts dd { margin:0; overflow-wrap:anywhere; }
.product-info-panel { padding:20px; border:1px solid var(--border-color); border-radius:12px; margin-top:20px; font-size:12px; line-height:1.8; background:var(--customer-bg-color); }
.product-info-panel h2, .product-recent-panel h2 { font-size:16px; font-weight:600; margin:0 0 14px; }
.product-full-description { white-space:pre-wrap; overflow-wrap:anywhere; }
.product-recent-grid { display:grid; grid-template-columns:1fr; gap:14px; }
.product-recent-grid .catalog-card { display:grid; grid-template-columns:80px minmax(0,1fr); gap:12px; border:1px solid var(--border-color); border-radius:10px; padding:10px; }
.product-recent-grid .catalog-card-image { aspect-ratio:4 / 5; }
.product-recent-grid .catalog-card-body { padding:0; gap:6px; }
.product-recent-grid .catalog-card h3 { font-size:11px; min-height:0; }
.product-recent-grid .catalog-price { font-size:11px; }
.product-recent-grid .catalog-badge { display:none; }
.product-recent-grid .catalog-quick-view { width:28px; height:28px; border-radius:50%; }
.product-option-buttons button:focus-visible,.product-detail-main-image:focus-visible { outline:2px solid var(--primary-color); outline-offset:3px; }
@media(max-width:1199.98px) { .product-details-layout { grid-template-columns:minmax(0,1fr) 240px; gap:18px; } .product-detail-card { padding:16px; gap:16px; } }
@media(max-width:991.98px) { .product-details-layout { grid-template-columns:1fr; } .product-recent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:575.98px) { .product-detail-card { grid-template-columns:1fr; padding:14px; } .product-detail-main-image { max-width:240px; max-height:240px; aspect-ratio:1; } .product-detail-summary h1 { font-size:20px; } .product-detail-price strong { font-size:24px; } .product-recent-grid { grid-template-columns:1fr; } .product-breadcrumb { gap:8px; } }

/* Shared storefront actions follow the same layout on cards, details and quick view. */
.order-action { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:38px; padding:9px 12px; border:1px solid transparent; border-radius:4px; font-size:12px; font-weight:600; line-height:1.3; text-decoration:none; cursor:pointer; }
.order-action .material-symbols-outlined { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; font-size:18px; line-height:1; flex-shrink:0; }
.order-action-label { display:inline-block; line-height:1.3; }
.order-icon { display:block; width:18px; height:18px; flex-shrink:0; }
.order-buy { background:var(--secondary-color); border-color:var(--secondary-color); color:var(--on-secondary-color); }
.order-buy:hover { background:var(--secondary-color); color:var(--on-secondary-color); filter:brightness(.95); }
.order-cart { background:var(--customer-bg-color); border-color:var(--customer-btn-color); color:var(--customer-btn-color); }
.order-cart:hover { background:var(--customer-surface-color); border-color:var(--customer-btn-hover-color); color:var(--customer-btn-hover-color); }
.order-whatsapp, .order-preview { background:var(--customer-btn-color); border-color:var(--customer-btn-color); color:var(--on-button-color); }
.order-whatsapp:hover, .order-preview:hover { background:var(--customer-btn-hover-color); color:var(--on-button-hover-color); }
.order-action:disabled { opacity:.5; cursor:not-allowed; }
.order-action:focus-visible { outline:2px solid var(--primary-color); outline-offset:3px; }
.product-detail-actions, .custom-order-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.product-detail-actions .order-action, .custom-order-actions .order-action { padding:10px 8px; font-size:11px; }
.catalog-card-actions { display:flex; justify-content:flex-end; }
.catalog-card-actions .order-action { width:32px; min-height:32px; padding:6px; }


.quick-view-product { display:block; }
.quick-view-product .product-detail-card { border:0; padding:0; }
.quick-view-product .product-detail-main-image { aspect-ratio:1; max-height:280px; cursor:default; }
.quick-view-product .custom-spotlight { margin:0; }
.product-details-page .custom-gallery-main, .quick-view-product .custom-gallery-main { max-width:280px; max-height:280px; margin-inline:auto; }
.product-details-page .custom-gallery-thumbnails button, .quick-view-product .custom-gallery-thumbnails button { flex-basis:56px; height:56px; }
.quick-view-details-link { display:inline-flex; width:fit-content; margin:0; font-size:12px; gap:8px; flex-shrink:0; }
#productQuickView .modal-content { background:var(--customer-bg-color); color:var(--text-color); }
#productQuickView .modal-body { padding:38px 20px 20px; }
.quick-view-close { position:absolute; top:12px; right:14px; z-index:2; }
.quick-view-product .product-facts-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--border-color); padding-top:14px; }
.quick-view-product .product-facts { display:flex; flex:1; gap:18px; border:0; padding:0; min-width:0; }
.quick-view-product .product-facts>div { display:flex; flex-direction:column; gap:4px; margin:0; min-width:0; flex:1; }
.quick-view-product .product-facts dt { font-size:10px; color:var(--muted-color); }
.quick-view-product .product-facts dd { font-size:11px; }
@media(max-width:1199.98px) { .product-detail-actions, .custom-order-actions { grid-template-columns:repeat(2,minmax(0,1fr)); } .product-detail-actions .order-whatsapp, .custom-order-actions .order-whatsapp { grid-column:1 / -1; } }
@media(max-width:575.98px) { .quick-view-product .product-detail-main-image, .product-details-page .custom-gallery-main, .quick-view-product .custom-gallery-main { max-width:240px; max-height:240px; } }

.product-detail-gallery .custom-gallery-thumbnails button { flex-basis:56px; height:56px; }
@media(min-width:992px) { .product-details-page .custom-spotlight, .quick-view-product .custom-spotlight { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); } }
