@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600&display=swap');
/* ==========================================================
   ROSAVALLE GLOBAL CSS
   ========================================================== */

/* ==========================================================
   FEATURE CARDS
   ========================================================== */

.rosavalle-feature-card {
    text-align: center;
}

.rosavalle-feature-card .uagb-ifb-content {
    width: 100%;
    text-align: center;
}

.rosavalle-feature-card .uagb-ifb-title {
    width: 100%;
    text-align: center;
    margin: 18px auto 0 !important;
}

.rosavalle-feature-card .uagb-ifb-desc {
    width: 100%;
    max-width: 320px;
    margin: 16px auto 0 !important;
    text-align: center;
}


/* ==========================================================
   ROSAVALLE TEA COLLECTION TITLES
   ========================================================== */

.rosavalle-collection-title {
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.4px;
    text-align: center;
    color: #063B24;
    margin: 18px auto 0;
    max-width: 320px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* Premium hover */

.rosavalle-collection-title:hover {
    color: #C9A227;
    transform: translateY(-2px);
}


/* Tablet */

@media (max-width: 1024px) {

    .rosavalle-collection-title {
        font-size: 20px;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .rosavalle-collection-title {
        font-size: 19px;
        line-height: 1.3;
        margin-top: 14px;
    }
}


/* ==========================================================
   ROSAVALLE - HEADER MENU VISIBILITY
   ========================================================== */


/* Main menu text */

.elementor-nav-menu--main .elementor-item {
    color: #FFFFFF !important;
    opacity: 1 !important;
    font-weight: 500;
}


/* Menu hover */

.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item:focus {
    color: #D4AF37 !important;
}


/* Active menu */

.elementor-nav-menu--main .elementor-item.elementor-item-active {
    color: #D4AF37 !important;
}


/* Header icons */

.elementor-widget-icon,
.elementor-widget-icon i,
.elementor-widget-icon svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}


/* Cart icon */

.elementor-menu-cart__toggle .elementor-button,
.elementor-menu-cart__toggle i,
.elementor-menu-cart__toggle svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}


/* Search icon */

.elementor-search-form__toggle,
.elementor-search-form__toggle i,
.elementor-search-form__toggle svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}


/* Header links */

header a {
    color: #FFFFFF !important;
}


/* Additional header icon protection */

header .eicon-search,
header .elementor-icon,
header .elementor-icon svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

header .elementor-icon i,
header .elementor-icon svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    stroke: #FFFFFF !important;
}


/* ==========================================================
   ROSAVALLE STORY LINK
   ========================================================== */

.rosavalle-story-link a {
    color: #173B32 !important;
    text-decoration: none;

    transition: color 0.3s ease;
}

.rosavalle-story-link a:hover {
    color: #C49A2E !important;
}


/* ==========================================================
   STORE NOTICE CENTER ALIGNMENT
   ========================================================== */

.demo_store[data-position="top"] {
    position: relative;
    text-align: center;
}


/* ==========================================================
   ROSAVALLE PREMIUM FOOTER
   ========================================================== */

.ct-footer {
    background: #062A20 !important;
}

.ct-footer > *,
.ct-footer .ct-container,
.ct-footer .ct-footer-middle,
.ct-footer .ct-footer-bottom,
.ct-footer [data-row] {
    background-color: #062A20 !important;
}


/* Newsletter button */

.ct-footer button,
.ct-footer input[type="submit"],
.ct-footer .wp-block-button__link {
    white-space: nowrap !important;
}


/* Newsletter input */

.ct-footer input[type="email"] {
    width: 100% !important;
    max-width: 260px !important;
    box-sizing: border-box !important;
}


/* ==========================================================
   ROSAVALLE FOOTER SOCIAL / INSTAGRAM ICON
   ========================================================== */

.ct-footer-socials,
.ct-social-box,
.wp-block-social-links {
    display: flex !important;
    align-items: center !important;

    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;
    z-index: 20 !important;

    gap: 12px !important;

    margin-top: 12px !important;
    margin-bottom: 20px !important;
}


.ct-footer-socials a,
.ct-social-box a,
.wp-block-social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    visibility: visible !important;
    opacity: 1 !important;

    width: 38px !important;
    height: 38px !important;

    color: #C9A23A !important;
    background: transparent !important;

    border: 1px solid #C9A23A !important;
    border-radius: 50% !important;

    margin-top: 15px !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease !important;
}


/* Social SVG */

.ct-footer-socials svg,
.ct-social-box svg,
.wp-block-social-links svg {
    width: 20px !important;
    height: 20px !important;

    fill: none !important;
    stroke: #C9A23A !important;

    color: #C9A23A !important;
}


.ct-footer-socials svg *,
.ct-social-box svg *,
.wp-block-social-links svg * {
    fill: none !important;
    stroke: #C9A23A !important;
}


/* Social hover */

.ct-footer-socials a:hover,
.ct-social-box a:hover,
.wp-block-social-links a:hover {
    background: #C9A23A !important;
    color: #062F26 !important;
    border-color: #C9A23A !important;
}

.ct-footer-socials a:hover svg,
.ct-social-box a:hover svg,
.wp-block-social-links a:hover svg {
    stroke: #062F26 !important;
}


/* ==========================================================
   ROSAVALLE MAXIMUM QUANTITY MESSAGE
   ========================================================== */

.rosavalle-max-qty-message {
    margin-top: 10px;
    padding: 9px 13px;

    background: #FFF7E5;
    border: 1px solid #D6AD3B;
    border-radius: 7px;

    color: #073B2E;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;

    width: fit-content;
    max-width: 260px;
}


/* ==========================================================
   ACCESSIBILITY - STORE NOTICE
   ========================================================== */

.woocommerce-store-notice,
.woocommerce-store-notice a,
.woocommerce-store-notice__dismiss-link {
    color: #3A2A18 !important;
}


/* ==========================================================
   ACCESSIBILITY - WHY CHOOSE US
   ========================================================== */

.wp-block-heading.has-text-color[style*="201, 162, 39"] {
    color: #6B4F00 !important;
}


/* ==========================================================
   ROSAVALLE LUXURY GOLD ADD TO CART
   HOMEPAGE ONLY
   ========================================================== */


/*
 * Keep the product button wrapper clean.
 * Prevents the large green strip/background.
 */

body.home .wp-block-woocommerce-product-button,
body.home .wc-block-product-template .wp-block-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    background: transparent !important;
    background-color: transparent !important;

    border: none !important;
    box-shadow: none !important;
}


/*
 * Actual Add to Cart button
 */

body.home .wp-block-button__link.wc-block-components-product-button,
body.home button.wc-block-components-product-button,
body.home a.wc-block-components-product-button {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 170px !important;
    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 12px 27px !important;

    /* Premium Rosavalle gold */
    background: linear-gradient(
        135deg,
        #DDBB55 0%,
        #C9A227 48%,
        #B88B18 100%
    ) !important;

    background-color: #C9A227 !important;

    color: #062A20 !important;

    border: 1px solid #A97E13 !important;
    border-radius: 7px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    letter-spacing: 1.15px !important;
    text-transform: uppercase !important;

    text-align: center !important;
    text-decoration: none !important;

    text-shadow: none !important;

    box-shadow:
        0 4px 10px rgba(94, 68, 5, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;

    cursor: pointer !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease !important;
}


/*
 * IMPORTANT:
 * Keep the inner button text transparent.
 * Prevents another green/gold rectangle appearing
 * inside the actual button.
 */

body.home .wc-block-components-product-button span,
body.home .wp-block-button__link.wc-block-components-product-button span {

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    color: #062A20 !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;
}


/*
 * Luxury hover
 */

body.home .wp-block-button__link.wc-block-components-product-button:hover,
body.home button.wc-block-components-product-button:hover,
body.home a.wc-block-components-product-button:hover {

    background: #062A20 !important;
    background-image: none !important;

    color: #F3D46D !important;

    border-color: #C9A227 !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 8px 18px rgba(6, 42, 32, 0.20) !important;
}


/*
 * Hover text
 */

body.home .wc-block-components-product-button:hover span,
body.home .wp-block-button__link.wc-block-components-product-button:hover span {

    background: transparent !important;
    background-color: transparent !important;

    color: #F3D46D !important;
}


/*
 * Keyboard accessibility
 */

body.home .wp-block-button__link.wc-block-components-product-button:focus-visible,
body.home button.wc-block-components-product-button:focus-visible,
body.home a.wc-block-components-product-button:focus-visible {

    outline: 3px solid #062A20 !important;
    outline-offset: 3px !important;
}


/*
 * Disabled / loading state
 */

body.home .wc-block-components-product-button:disabled,
body.home .wc-block-components-product-button[aria-disabled="true"] {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
}


/* ==========================================================
   MOBILE LUXURY GOLD ADD TO CART
   ========================================================== */

@media (max-width: 767px) {

    body.home .wp-block-button__link.wc-block-components-product-button,
    body.home button.wc-block-components-product-button,
    body.home a.wc-block-components-product-button {

        min-width: 150px !important;

        padding: 11px 21px !important;

        font-size: 13px !important;
        letter-spacing: 0.95px !important;

        border-radius: 6px !important;
    }
}


/* ==========================================================
   ACCESSIBILITY - SPECTRA FORM SUBMIT BUTTON
   ========================================================== */

.uagb-forms-main-submit-button {
    background-color: #35523C !important;
    color: #FFFFFF !important;
}

.uagb-forms-main-submit-button-text {
    color: #FFFFFF !important;
}

.uagb-forms-main-submit-button:hover {
    background-color: #2C4533 !important;
    color: #FFFFFF !important;
}
/* ==========================================================
   ROSAVALLE - HIDE DEFAULT WOOCOMMERCE VIEW CART
   Homepage only - custom quantity controller is used instead
   ========================================================== */

body.home a.added_to_cart.wc-forward {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* ==========================================================
   ROSAVALLE - HIDE NATIVE VIEW CART WHEN CUSTOM STEPPER EXISTS
   ========================================================== */

/* Best-selling / normal WooCommerce product cards */
body.home li.product:has(.rosavalle-home-cart-controls)
a[href*="/cart/"]:not(.rosavalle-home-view-cart),

/* WooCommerce block products */
body.home .wc-block-product:has(.rosavalle-home-cart-controls)
a[href*="/cart/"]:not(.rosavalle-home-view-cart),

/* WooCommerce grid products */
body.home .wc-block-grid__product:has(.rosavalle-home-cart-controls)
a[href*="/cart/"]:not(.rosavalle-home-view-cart),

/* Gutenberg product cards */
body.home .wp-block-post:has(.rosavalle-home-cart-controls)
a[href*="/cart/"]:not(.rosavalle-home-view-cart),

/* Favourites carousel */
body.home .swiper-slide:has(.rosavalle-home-cart-controls)
a[href*="/cart/"]:not(.rosavalle-home-view-cart) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* ==========================================================
   ROSAVALLE QUANTITY BUTTON - GOLD HOVER
   ========================================================== */

body.home .rv-qty-control {
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}

body.home .rv-qty-control:hover {
    background: #F3CF1B !important;
    border-color: #C9A227 !important;

    box-shadow:
        0 5px 14px rgba(201, 162, 39, 0.25) !important;

    transform: translateY(-1px);
}

/* Keep icons and quantity clearly visible */
body.home .rv-qty-control:hover .rv-qty-btn,
body.home .rv-qty-control:hover .rv-qty-number {
    color: #062A20 !important;
}

body.home .rv-qty-control:hover .rv-qty-btn svg {
    fill: #062A20 !important;
}
/* ==========================================================
   ROSAVALLE VIEW CART - GOLD HOVER
   ========================================================== */

body.home a.rv-view-cart-btn:hover,
body.home a.rv-view-cart-btn:focus {
    background: #F3CF1B !important;
    background-color: #F3CF1B !important;

    color: #062A20 !important;

    border-color: #C9A227 !important;

    box-shadow:
        0 6px 16px rgba(201, 162, 39, 0.28) !important;

    transform: translateY(-2px) !important;
}

/* 1. Local Afacad Definition */
@font-face {
    font-family: 'Afacad';
    font-style: normal;
    font-weight: 400 500 600 700;
    font-display: swap;
    src: url('../fonts/afacad-regular.woff2') format('woff2');
}

/* 2. Local Afacad Flux Definition */
@font-face {
    font-family: 'Afacad Flux';
    font-style: normal;
    font-weight: 400 500 600 700;
    font-display: swap;
    src: url('../fonts/afacad-flux-regular.woff2') format('woff2');
}
/* =========================================
   ROSAVALLE - FORCE BODONI MODA BUTTON FONT
   ========================================= */

.rosavalle-story-link a,
.rosavalle-story-link a.wp-block-button__link,
.rosavalle-story-link .wp-block-button__link,
.rosavalle-story-link .wp-block-button__link span,
.rosavalle-story-link a span {
    font-family: "Bodoni Moda" !important;
    font-weight: 500 !important;
    font-style: normal !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}
/* ROSAVALLE STORY BUTTON FONT */
.rosavalle-story-link a {
    font-family: "Bodoni Moda" !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}