/* A ready-made product's page (T-311 phase 1 step 8), and its card in the shop (step 7). */
.product-card.is-out .carousel, .product-card.is-out .gallery-placeholder { opacity: .55; }
.catalog-category-divider { border-top: 1px solid var(--bs-border-color) !important; margin-top: .35rem; padding-top: .5rem; }
/* The photo fills its half of the page, 4:3, but never taller than most of the screen (owner 2026-12-05).
   height: auto undoes the 15rem of the shared .card-img-top (styles.css), which cut it to a thin strip. */
.product-page-photos { max-width: min(100%, calc(75vh * 4 / 3)); }
.product-page-photos .carousel-item img { height: auto; aspect-ratio: 4 / 3; }
.product-page-name { font-size: 1.75rem; margin-bottom: .25rem; }
.product-page-price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.product-page-choice { margin-bottom: 1rem; }
.product-page-choice-label { font-size: .9rem; margin-bottom: .35rem; }
.product-page-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.product-page-swatch {
    display: inline-flex; flex-direction: column; align-items: center; gap: .2rem;
    width: 76px; padding: .25rem; border: 2px solid transparent; border-radius: .5rem;
    color: inherit; text-decoration: none; font-size: .8rem; text-align: center;
}
.product-page-swatch img, .product-page-swatch-blank { width: 64px; height: 48px; object-fit: cover; border-radius: .35rem; }
.product-page-swatch-blank { display: block; background: var(--bs-secondary-bg); }
.product-page-swatch .product-page-option-price { margin-left: 0; font-size: .75rem; }
.product-page-swatch:hover { border-color: var(--bs-border-color); }
.product-page-swatch.active { border-color: var(--bs-secondary); }
/* Out of stock: faded, but never the one picked -- that one says so below it. */
.product-page-options .is-out:not(.active):not([aria-current]) { opacity: .55; }
.product-page-option-price { font-weight: 400; opacity: .8; margin-left: .25rem; }
.product-page-stock { margin-bottom: 1rem; }
.product-page-colour-search { display: flex; gap: .5rem; max-width: 16rem; }
.product-page-colour-search .ts-wrapper { flex: 1; }
.colour-search-option { display: flex; align-items: center; gap: .5rem; }
.colour-search-option img, .colour-search-option .colour-search-blank { width: 1.75rem; height: 1.75rem; border-radius: .25rem; object-fit: cover; flex-shrink: 0; background: var(--bs-secondary-bg); }
.colour-search-option .colour-search-out { margin-left: auto; font-size: .8em; color: var(--bs-secondary-color); }
.product-page-buy { display: flex; gap: .5rem; align-items: stretch; margin-bottom: 1.25rem; }
.product-page-qty { width: 5.5rem; }
.product-page-facts { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; margin-bottom: 1rem; }
.product-page-facts dt { font-weight: 400; color: var(--bs-secondary-color); }
.product-page-facts dd { margin: 0; }
.product-page-heading { font-size: 1.1rem; margin-top: 1rem; }
.product-page-specs { padding-left: 1.2rem; }
