/* Product detail extension: preserve the approved storefront and gold controls. */
.product-modal .modal-copy { gap: 0; padding: 56px 28px 28px; }
.product-modal [hidden] { display: none !important; }
.product-modal .modal-copy h2 { line-height: 1.05; }
.product-modal .modal-profile { margin: 16px 0; font-size: 1rem; }
.product-category { color: #73500f; font-size: .875rem; font-weight: 600; margin: 12px 0 0; }
.product-modal .modal-inspiration { font-size: .875rem; margin: 12px 0; }
.product-modal .modal-badges span { font-size: .875rem; line-height: 1.5; }
.product-modal .performance-note { font-size: .875rem; }
.product-purchase { padding: 18px 0 22px; }
.product-purchase .modal-price { margin: 0; font-size: 1.9rem; }
#modalAvailability:empty { display: none; }
#modalAvailability { color: #405273; font-size: .875rem; line-height: 1.6; }
.product-purchase-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.product-purchase-actions .checkout { margin: 0; width: 100%; min-height: 48px; font-size: 1rem; white-space: normal; padding: 14px; }
.product-purchase-actions #modalAdd { color: #071b4a; border: 1px solid #ad8122; }
.product-modal button:disabled { cursor: not-allowed; opacity: .55; }
.product-secure { margin: 14px 0; color: #405273; font-size: .875rem; line-height: 1.6; }
.product-coupon { width: 100%; border: 1px solid #c99a2e; background: #fcf7e9; color: #071b4a; padding: 14px; min-height: 48px; font: inherit; font-size: .875rem; line-height: 1.6; cursor: pointer; }
.product-coupon-note { display: block; color: #53617b; font-size: .875rem; line-height: 1.6; margin-top: 8px; }
.product-shipping { border-top: 1px solid #dbe2ef; border-bottom: 1px solid #dbe2ef; padding: 20px 0; }
.product-modal .modal-copy h3 { font: 600 1.125rem/1.4 Montserrat,sans-serif; color: #071b4a; margin: 0 0 12px; }
.product-shipping label { display: block; font-size: .875rem; margin-bottom: 8px; }
.product-shipping-fields { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.product-shipping-fields input { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #aab6ca; border-radius: 0; color: #071b4a; background: #fff; padding: 12px; font: inherit; font-size: 1rem; }
.product-shipping-fields button, #productPyramid { min-height: 48px; padding: 12px; border: 1px solid #ad8122; background: #e8c471; color: #071b4a; font: 600 .875rem/1.5 Montserrat,sans-serif; cursor: pointer; }
#productShippingMessage { color: #53617b; font-size: .875rem; line-height: 1.6; margin: 12px 0 0; }
#productShippingOptions { list-style: none; padding: 0; margin: 0; }
#productShippingOptions li { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; font-size: .875rem; line-height: 1.6; border-bottom: 1px solid #e3e8f1; }
#productShippingOptions li:last-child { border-bottom: 0; }
.product-details { padding: 22px 0; }
.product-details>div { margin-bottom: 20px; }
.product-details p { line-height: 1.7; font-size: 1rem; color: #405273; margin: 0; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags span { padding: 8px 12px; border: 1px solid #d0dae9; color: #405273; font-size: .875rem; }
#productNotes { margin: 0; font-size: 1rem; line-height: 1.7; }
#productNotes dt { font-weight: 600; margin-top: 12px; }
#productNotes dd { margin: 4px 0 0; color: #405273; }
.product-scale { display: flex; flex-direction: column; gap: 8px; font-size: .875rem; margin-top: 12px; }
.product-scale meter { width: 100%; height: 20px; }
.product-modal .modal-actions button { font-size: .875rem; line-height: 1.6; min-height: 48px; }
.product-modal .modal-hint, .product-policy { font-size: .875rem; line-height: 1.7; }
.product-policy a { color: #73500f; }
.product-modal .modal-thumb { min-width: 96px; min-height: 116px; }
.product-modal .modal-thumb span { font-size: .75rem; line-height: 1.4; }
.product-modal .modal-close { min-width: 44px; min-height: 44px; }
.product-modal button:focus-visible, .product-modal a:focus-visible, .product-modal input:focus-visible { outline: 3px solid #496baa; outline-offset: 3px; }
@media (min-width: 1025px) { .product-modal .modal-gallery { position: sticky; top: 0; align-self: start; } }
@media (max-width: 1024px) {
  .product-modal { display: block; grid-template-columns: minmax(0,1fr); width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overscroll-behavior: contain; }
  .product-modal .modal-gallery { position: static; align-self: auto; width: 100%; padding: 12px; }
  .product-modal .modal-main { aspect-ratio: auto; height: min(42dvh,380px); }
  .product-modal .modal-main img { height: 100%; max-height: 100%; }
  .product-modal .modal-copy { width: 100%; padding: 22px 18px; }
  .product-modal .modal-copy h2 { font-size: clamp(2rem,9vw,3rem); }
  .product-modal .modal-close { position: sticky; display: block; top: 8px; margin: 8px 8px -52px auto; right: auto; }
}
@media (max-width: 380px) { .product-shipping-fields { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .product-modal { transition: none; } }

/* Secondary action remains quieter than the gold purchase button. */
.product .details, .curated .details { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 10px 12px; margin: 0 0 12px; border: 1px solid #ad8122; background: #fff; color: #73500f; font: 600 .875rem/1.5 Montserrat,sans-serif; cursor: pointer; }
.product .details:hover, .product .details:focus-visible { background: #fcf7e9; outline: 2px solid #ad8122; outline-offset: 2px; }

.product-volumes{border:0;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:10px}.product-volumes legend{font-size:1rem;margin-bottom:8px}.product-volumes label{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 14px;border:1px solid #b89954;border-radius:8px;cursor:pointer}.product-volumes label:has(input:checked){background:#f7f0df}.product-volumes input{accent-color:#a08037}.pocket-discovery{max-width:1120px;margin:48px auto;padding:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center}.pocket-discovery img{width:100%;max-height:380px;object-fit:contain}.pocket-discovery h2{font-size:2rem}.pocket-discovery p{line-height:1.7}.pocket-discovery .details{display:inline-flex;align-items:center;min-height:48px;padding:10px 16px;border:1px solid #b89954;border-radius:8px}@media(max-width:700px){.pocket-discovery{grid-template-columns:minmax(0,1fr);padding:20px;gap:16px}.product-volumes label{flex:1 1 130px}}

.pocket-video{margin-top:16px}.pocket-video summary{min-height:44px;cursor:pointer;color:#806428}.pocket-video video{display:block;max-width:100%;width:260px;max-height:400px;margin-top:12px}
.pocket-discovery .details{color:#0b1726;background:linear-gradient(110deg,#f3d77c,#bc8d21);font-weight:600;text-decoration:none}.pocket-video summary{color:#e9cf8b}

.pocket-carousel { min-width: 0; width: 100%; text-align: center; }
.pocket-carousel-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.pocket-carousel-track::-webkit-scrollbar { display: none; }
.pocket-carousel-track img { flex: 0 0 100%; min-width: 0; width: 100%; height: 380px; object-fit: contain; scroll-snap-align: start; scroll-snap-stop: always; }
.pocket-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.pocket-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b89954; background: transparent; color: #e9cf8b; font: 1.8rem/1 sans-serif; cursor: pointer; }
.pocket-carousel-dots { display: flex; gap: 0; }
.pocket-carousel-dots button { border: 0; }
.pocket-carousel-dots span { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #e9cf8b; }
.pocket-carousel-dots button[aria-pressed="true"] span { background: #e9cf8b; }
.pocket-carousel-counter { display: block; margin-top: 4px; color: #e9cf8b; font-size: .875rem; }
.pocket-carousel button:focus-visible, .pocket-carousel-track:focus-visible { outline: 2px solid #e9cf8b; outline-offset: 3px; }
@media (max-width: 700px) { .pocket-carousel-track img { height: min(110vw, 380px); } }

/* Keep complete descriptions while aligning each row's card actions. */
.product-grid > .product { display: flex; flex-direction: column; }
.product-grid .product-image { flex: 0 0 auto; width: 100%; }
.product-grid .product-info { display: flex; flex-direction: column; flex: 1; }
.product-grid .product-info > .details { margin-top: auto; }
