/**
* Theme Name: Hara Child
* Description: This is a child theme for Hara
* Author: Thembay
* Author URI: https://thembay.com/
* Version: 1.2.17
* Template: hara
*/


/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

/* Back to Top - Display Only Logo (Remove/Hide 'Top' text) */
.tbay-to-top a.enable-bg-img {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-indent: -9999px;
    background: transparent !important;
    box-shadow: none !important;
}

.tbay-to-top a.enable-bg-img img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    width: 46px !important;
    height: 46px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    text-indent: 0 !important;
    display: block !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tbay-to-top a.enable-bg-img:hover img {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.tbay-to-top a.enable-bg-img:focus {
    outline: none !important;
}

/* =========================================================
   Aroma Purely Newsletter Subscription Box Styling
========================================================= */
.aroma-newsletter-wrapper {
    margin-top: 15px;
    margin-bottom: 8px;
    width: 100%;
    max-width: 360px;
}

.aroma-newsletter-input-group {
    display: flex !important;
    align-items: stretch !important;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.aroma-newsletter-input {
    flex: 1 1 auto !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: #333333 !important;
    background-color: #ffffff !important;
    border: 1px solid #d5d5d5 !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    outline: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.aroma-newsletter-input:focus {
    border-color: var(--tb-theme-color, #c4743f) !important;
    box-shadow: 0 0 0 2px rgba(196, 116, 63, 0.15) !important;
}

.aroma-newsletter-input::placeholder {
    color: #8c8c8c !important;
    font-size: 13px !important;
}

.aroma-newsletter-btn {
    flex: 0 0 auto !important;
    height: 48px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    background-color: #874017 !important;
    color: #ffffff !important;
    border: 1px solid #874017 !important;
    border-radius: 0 4px 4px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.aroma-newsletter-btn .aroma-newsletter-btn-text {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.aroma-newsletter-btn:hover {
    background-color: #703310 !important;
    border-color: #703310 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(135, 64, 23, 0.3);
}

.aroma-newsletter-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.aroma-newsletter-btn .aroma-newsletter-arrow {
    transition: transform 0.2s ease;
}

.aroma-newsletter-btn:hover .aroma-newsletter-arrow {
    transform: translateX(3px);
}

.aroma-newsletter-message {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    padding: 9px 12px;
    border-radius: 4px;
}

.aroma-newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.aroma-newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.aroma-newsletter-privacy {
    margin-top: 10px;
    font-size: 11px;
    color: #777777;
    display: flex;
    align-items: center;
}

/* Hide credit card payment logos if any remain */
.elementor-widget-c8d8ba2,
.footer-payment-icons {
    display: none !important;
}

/* ==========================================================================
   Accessibility & WCAG AA Contrast Compliance
   ========================================================================== */
.footer-device-mobile span {
    color: #111111 !important;
    font-weight: 600 !important;
}
.footer-device-mobile i,
.footer-device-mobile svg {
    color: #111111 !important;
}
.product-block .price,
.product-block .price bdi,
.product-block .price .woocommerce-Price-amount,
.product-block .price .woocommerce-Price-currencySymbol {
    color: #111111 !important;
    font-weight: 700 !important;
}
.product-block .price del,
.product-block .price del bdi,
.product-block .price del .woocommerce-Price-amount {
    color: #444444 !important;
    opacity: 1 !important;
}
.product-block .rating .count,
.product-block .rating .count span {
    color: #333333 !important;
    font-weight: 600 !important;
}
.product-block .saled,
.badge.saled,
span.saled {
    background-color: #a81c1c !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
.product-block .title-cart,
.product-block .button.product_type_variable,
.product-block .add_to_cart_button {
    color: #111111 !important;
    font-weight: 600 !important;
}
.aroma-newsletter-privacy {
    color: #444444 !important;
}

/* Screen reader accessible hiding */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Swiper Pagination Bullets accessible touch targets (24x24px hit area with 8x8px visual dot) */
.swiper-pagination-bullet {
    width: 24px !important;
    height: 24px !important;
    margin: 0 4px !important;
    background: transparent !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}
.swiper-pagination-bullet::after {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #000 !important;
    opacity: 0.2 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.swiper-pagination-bullet-active::after {
    background-color: var(--tb-theme-color, #c8815f) !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
}

