/* Only the empty-photo state changes the normal product composition. */
body.hfa-photo-pending .hfa-product-r3 .hfa-product-photo-column {
    display: none !important;
}
body.hfa-photo-pending .hfa-product-r3 .hfa-product-summary {
    width: 100% !important;
    flex-basis: auto !important;
    max-width: 48rem !important;
}
.hfa-selection-yith-slot .hfa-empty-collection {
    display: inline-block;
    margin-block: 0.75rem 0.25rem;
    color: #292923;
    text-decoration: underline;
    text-underline-offset: .22em;
}

/* Shared native post navigation of catalogue and brand loops. */
#et-main-area #main-content .et_pb_posts_nav.nav-single :is(.nav-next, .nav-previous) a,
#et-main-area #main-content .et_pb_posts_nav.nav-single :is(.nav-next, .nav-previous) a span {
    color: #58462f !important;
}
#et-main-area #main-content .et_pb_posts_nav.nav-single :is(.nav-next, .nav-previous) a {
    text-decoration: underline;
    text-underline-offset: .2em;
}
#et-main-area #main-content .et_pb_posts_nav.nav-single :is(.nav-next, .nav-previous) a:focus-visible {
    outline: 2px solid #58462f;
    outline-offset: 4px;
}
footer.et-l--footer .et_pb_text .et_pb_text_inner p > a[href="https://hifiaudio.ro/"] {
    text-decoration: underline !important;
    text-underline-offset: .18em;
}
.hfa-catalogue-heading {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* YITH also assigns important hover colours. Keep the product CTA readable
   independently of when Divi's saved layout CSS is loaded. */
body.single-product #et-main-area #main-content .hfa-product-r3 .hfa-product-yith-slot a.add-request-quote-button.button:is(:hover, :focus-visible) {
    color: #171812 !important;
    background: #bb985d !important;
    border-color: #a9844b !important;
    text-shadow: none !important;
}
body.single-product #et-main-area #main-content .hfa-product-r3 .hfa-product-yith-slot a.add-request-quote-button.button:focus-visible {
    outline: 3px solid #171812 !important;
    outline-offset: -5px;
}
@media (forced-colors: active) {
    body.single-product #et-main-area #main-content .hfa-product-r3 .hfa-product-yith-slot a.add-request-quote-button.button:focus-visible {
        outline-color: CanvasText !important;
    }
}
