/* Accessibility + Lighthouse helpers (site-wide) */

/* Touch targets for owl carousel controls (mobile-first, desktop-safe) */
.owl-theme .owl-nav [class*='owl-'] {
    min-width: 44px;
    min-height: 44px;
    margin: 0 4px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.owl-theme .owl-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.owl-theme .owl-dots .owl-dot {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 !important;
}

.owl-theme .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
}

@media (min-width: 992px) {
    .owl-theme .owl-nav [class*='owl-'] {
        min-width: 36px;
        min-height: 36px;
    }
}

/* Preserve image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

.card-pro .bxs figure .figure-inn img,
.img-user,
.comment-images img {
    object-fit: cover;
}

.comment-images img {
    object-fit: contain;
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Contrast fixes — keep brand palette, darken muted text/links */
.text-secondary,
.text-muted,
.small.text-secondary,
.caption.text-secondary,
.caption.text-secondary p,
.suggest-link,
.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active,
p.text-secondary,
span.text-secondary,
.rate-comm,
.rate-comm a,
.text-en {
    color: #5c5c5c !important;
}

/* In-content article/product description links */
.seo-box a,
.product-desc a,
.description .content a,
.description .content.product-desc a,
.blog-detail a,
.caption a,
.article-content a,
.ck-content a,
#collapse6 a,
.tab-pane a:not(.btn):not(.nav-link):not(.see-all) {
    color: #9a4f38 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.seo-box a:hover,
.product-desc a:hover,
.description .content a:hover,
.description .content.product-desc a:hover,
.blog-detail a:hover,
.caption a:hover,
.article-content a:hover,
.ck-content a:hover,
#collapse6 a:hover,
.tab-pane a:not(.btn):not(.nav-link):not(.see-all):hover {
    color: #7a3c2a !important;
}

.seo-box a:focus-visible,
.product-desc a:focus-visible,
.description .content a:focus-visible,
.blog-detail a:focus-visible,
.caption a:focus-visible,
.article-content a:focus-visible,
.ck-content a:focus-visible,
#collapse6 a:focus-visible,
.tab-pane a:not(.btn):not(.nav-link):not(.see-all):focus-visible {
    color: #7a3c2a !important;
    outline: 2px solid #9a4f38;
    outline-offset: 2px;
}

#scroll {
    border: none;
    padding: 0;
}

.footer-enamad-img {
    display: block;
    max-width: 74px;
    height: auto;
}

/* Badge / price contrast */
.card-pro .badge,
.badge.bg-light,
.label-pro .badge {
    color: #333 !important;
}

.card-pro .old,
.card-pro .old del,
.price .old,
.price .old del {
    color: #666 !important;
}

.footer .text-white,
.footer a.text-white {
    color: #f5f5f5 !important;
}

.footer .small,
.footer .text-one {
    color: #f0c4b5 !important;
}

/* Bottom nav buttons without href should look like links */
.psd > button.btn {
    color: inherit;
    line-height: inherit;
}
.psd > button.btn p {
    margin: 0;
}
