/* TKA-PDP-FINAL-360-01 (P18): collapsed review section on the product page.
   Plain CSS on purpose: the served styles.min.css is a tracked build, new Tailwind classes do not reach it. */
.tka-rv {
    margin: 2rem auto;
    padding-top: 1.25rem;
    border-top: 1px solid #d8d8d8;
    text-align: center;
}
.tka-rv__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.25rem;
    border: 1px solid #1c1c1c;
    border-radius: 0.5rem;
    background: transparent;
    color: #1c1c1c;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    cursor: pointer;
}
.tka-rv__toggle:hover {
    background: #1c1c1c;
    color: #fff;
}
.tka-rv__toggle:focus-visible {
    outline: 2px solid #1c1c1c;
    outline-offset: 2px;
}
.tka-rv__panel {
    margin-top: 1.25rem;
    text-align: left;
}
.tka-rv__panel[hidden] {
    display: none;
}
.tka-rv__notice {
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}
@media (min-width: 1024px) {
    .tka-rv {
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

/* PDP accessibility: contrast (WCAG 2.2 AA, 4.5:1 for normal text), scoped to the product page.
   Measured with axe on live pages: lime-green stock text 3.77, white on terracotta 4.17,
   black 50% text 4.0, white on the gold primary button 2.12. Same hues, darker values. */
.catalog-product-view .text-teakea-lime-green:not(:hover) {
    color: #007a37;
}
.catalog-product-view .text-teakea-terracotta:not(:hover) {
    color: #bf4b00;
}
.catalog-product-view .bg-teakea-terracotta:not(:disabled) {
    background-color: #bf4b00;
}
.catalog-product-view a.bg-teakea-terracotta:hover,
.catalog-product-view button.bg-teakea-terracotta:not(:disabled):hover {
    background-color: #a64200;
}
.catalog-product-view .text-\[\#00000080\] {
    color: #666;
}
.catalog-product-view .btn.btn-primary {
    color: #1c1c1c;
}
/* Visible focus for the (opacity 0) star radios of the review form and for the card image sliders. */
.tka-rv label:has(input:focus-visible),
.catalog-product-view [x-ref="slider"]:focus-visible {
    outline: 2px solid #1c1c1c;
    outline-offset: 2px;
}

/* No sideways page scroll on phones: the family selector rows (.tka-fam3-scroll) bleed 1 rem to each side with a
   negative margin and ran 6 px past the screen on pages where the container has less padding (measured on
   windsor-120, linda-nelson, plakhout, decoratieladder at 390 px). `clip` cuts it without becoming a scroll
   container, so sticky elements keep working. */
.catalog-product-view #maincontent {
    overflow-x: clip;
}

/* Remaining axe contrast findings after !560 (measured live on tree, slate-klaptafel, clou-waskom, plakhout):
   - "Slechts nog 1 beschikbaar" text and the sale badge: #ff0000 on white 3.99 / on #fceaee 3.45 -> #c00000 (6.48 / 5.60)
   - "+ Nog een wand": fixed in the calculator template itself (white on gold 2.12 -> dark text 8.01)
   - Amasty label 'Favoriet van klanten': white on #1E88E5 3.67. The colours are inline styles from the Amasty label
     settings, so beating them needs one narrow !important on that exact value (white on #1565C0 = 5.75). */
.catalog-product-view .text-teakea-highlight-red {
    color: #c00000;
}
.catalog-product-view .amasty-label-container [style*="#1e88e5" i] {
    background-color: #1565c0 !important;
}
