/* ==========================================================================
   ROOH Collections — Bespoke Responsive Luxury Footer
   Palette: Deep Navy (#051944 / #071830), Gold (#C5A059), Warm White (#FBF8F3)
   ========================================================================== */

/* 1. Base Footer Container */
footer.rooh-footer {
    color: #FBF8F3 !important;
    position: relative;
    overflow-x: hidden;
    margin-top: 0;
    font-family: 'Montserrat', Inter, -apple-system, sans-serif;
}

.rooh-footer__container {
    width: min(calc(100% - clamp(28px, 5.5vw, 64px)), 1240px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fluid Layout: Footer matches Header 100% width and padding */
body.rooh-layout-fluid .rooh-footer__container {
    width: min(calc(100% - clamp(32px, 5vw, 96px)), 1820px) !important;
    max-width: 1820px !important;
    padding: 0 clamp(16px, 2vw, 36px) !important;
    margin: 0 auto !important;
}

/* Current / Custom Layout: Footer matches Header min / standard container (~1240px) */
body.rooh-layout-current .rooh-footer__container {
    width: min(calc(100% - clamp(28px, 5.5vw, 64px)), 1240px) !important;
    max-width: 1240px !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
}

/* 2. Top Header Row: Brand Logo, Tagline & "Join Our Club" Newsletter */
.rooh-footer__header-row {
    position: relative;
}

.rooh-footer__brand-block {
    display: flex;
    align-items: center;
}

.rooh-footer__logo-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    outline: none;
    flex-shrink: 0;
}

.rooh-footer__logo-main {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 3px;
    transition: color 0.25s ease;
}

.rooh-footer__logo-sub {
    font-family: 'Montserrat', Inter, sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.42em;
    color: #C5A059;
    text-transform: uppercase;
    line-height: 1.2;
}

.rooh-footer__logo-link:hover .rooh-footer__logo-main {
    color: #C5A059;
}

.rooh-footer__brand-block img,
.rooh-footer__logo-link img {
    max-height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    display: inline-block;
}

/* Vertical Gold Dividers */
.rooh-footer__v-divider {
    display: block;
    width: 1px;
    background-color: rgba(197, 160, 89, 0.45);
    flex-shrink: 0;
}

.rooh-footer__v-divider--brand {
    height: 44px;
    margin: 0 26px;
}

.rooh-footer__v-divider--newsletter {
    height: 60px;
    margin-right: 32px;
}

/* Brand Tagline */
.rooh-footer__tagline {
    margin: 0;
    color: #E2DCCF;
    font-family: 'Montserrat', Inter, sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    max-width: 330px;
    letter-spacing: 0.01em;
}

/* Newsletter Block ("Join Our Club") */
.rooh-footer__newsletter-block {
    position: relative;
}

.rooh-footer__newsletter-inner {
    text-align: left;
}

.rooh-footer__newsletter-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    letter-spacing: 0.02em !important;
    margin: 0 0 4px !important;
    line-height: 1.2 !important;
}

.rooh-footer__newsletter-desc {
    font-family: 'Montserrat', Inter, sans-serif !important;
    font-style: normal !important;
    font-size: 12.5px !important;
    color: #D8D3C8 !important;
    margin: 0 0 12px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.01em !important;
}

/* Input Row: Rounded input and rounded gold SUBSCRIBE button with gap */
footer.rooh-footer .rooh-input-row,
.rooh-footer .rooh-input-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    grid-template-columns: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

footer.rooh-footer .rooh-input-row input[type="email"],
.rooh-footer .rooh-input-row input[type="email"],
.rooh-footer .rooh-input-row input {
    background-color: #FAF7F2 !important;
    color: #1A1A1A !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-family: 'Montserrat', Inter, sans-serif !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

footer.rooh-footer .rooh-input-row input[type="email"]::placeholder,
.rooh-footer .rooh-input-row input[type="email"]::placeholder {
    color: #767676 !important;
    opacity: 1 !important;
    font-family: 'Montserrat', Inter, sans-serif !important;
}

footer.rooh-footer .rooh-input-row button,
footer.rooh-footer .rooh-newsletter__submit-btn,
.rooh-footer .rooh-input-row button,
.rooh-footer .rooh-newsletter__submit-btn,
.rooh-footer .rooh-btn--gold {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    background-color: #C5A059 !important;
    background: #C5A059 !important;
    color: #071830 !important;
    font-family: 'Montserrat', Inter, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 11px 24px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

footer.rooh-footer .rooh-newsletter__submit-btn:hover,
footer.rooh-footer .rooh-btn--gold:hover,
.rooh-footer .rooh-newsletter__submit-btn:hover,
.rooh-footer .rooh-btn--gold:hover {
    background-color: #D4AF37 !important;
    background: #D4AF37 !important;
    color: #071830 !important;
}

/* 3. Middle Section: 4-Column Links Grid */
.rooh-footer__links-section {
    border-top: 1px solid rgba(197, 160, 89, 0.4);
    position: relative;
}

/* Headings */
.rooh-footer__heading-btn {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.rooh-footer__heading-text {
    font-family: 'Montserrat', Inter, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #C5A059;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    pointer-events: none;
}

/* Links */
.rooh-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rooh-footer-links li {
    margin: 10px 0 !important;
}

.rooh-footer-links a {
    font-family: 'Montserrat', Inter, sans-serif !important;
    font-size: 13.5px !important;
    color: #E2DCCF !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

.rooh-footer-links a:hover,
.rooh-footer-links a:focus-visible {
    color: #C5A059 !important;
}

/* Social Media Icons */
.rooh-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    width: 22px;
    height: 22px;
}

.rooh-footer__social-link svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

/* Instagram outline camera */
.rooh-footer__social-link[aria-label*="Instagram"] svg,
.rooh-footer__social-link[aria-label*="instagram"] svg {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8px !important;
}

.rooh-footer__social-link[aria-label*="Instagram"] svg rect,
.rooh-footer__social-link[aria-label*="Instagram"] svg circle,
.rooh-footer__social-link[aria-label*="Instagram"] svg path,
.rooh-footer__social-link[aria-label*="Instagram"] svg line {
    fill: none !important;
    stroke: currentColor !important;
}

/* Filled glyphs: Facebook, TikTok, WhatsApp, Pinterest, YouTube */
.rooh-footer__social-link[aria-label*="Facebook"] svg,
.rooh-footer__social-link[aria-label*="TikTok"] svg,
.rooh-footer__social-link[aria-label*="WhatsApp"] svg,
.rooh-footer__social-link[aria-label*="Pinterest"] svg,
.rooh-footer__social-link[aria-label*="YouTube"] svg {
    fill: currentColor !important;
    stroke: none !important;
}

.rooh-footer__social-link:hover {
    color: #C5A059 !important;
    transform: translateY(-2px);
}

/* 4. Bottom Section: Copyright & Security */
.rooh-footer__bottom-section {
    border-top: 1px solid rgba(197, 160, 89, 0.4);
    position: relative;
}

.rooh-footer__copyright {
    font-family: 'Montserrat', Inter, sans-serif;
    font-size: 12.5px;
    color: #D5DEF2;
    letter-spacing: 0.02em;
    margin: 0;
}

.rooh-footer__payments-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', Inter, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #D5DEF2;
}

.rooh-footer__payment-sep {
    color: rgba(197, 160, 89, 0.6);
}

.rooh-footer__ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    color: #C5A059;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.rooh-footer__ssl-lock {
    font-size: 13px;
    line-height: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* --------------------------------------------------------------------------
   Desktop (>= 992px): Exact Pixel-Perfect Match to media_1795030383739_3fa3fd12.jpg
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .rooh-footer__text-desktop {
        display: inline !important;
    }
    .rooh-footer__text-mobile {
        display: none !important;
    }
    .rooh-footer__mobile-top-divider {
        display: none !important;
    }

    /* Top Header Row: Split Left (Brand+Tagline) & Right (Join Our Club) */
    .rooh-footer__header-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 40px 0 34px !important;
        gap: 36px !important;
    }

    .rooh-footer__brand-block {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
    }

    .rooh-footer__v-divider {
        display: block !important;
    }

    .rooh-footer__tagline {
        display: block !important;
    }

    .rooh-footer__newsletter-block {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
    }

    .rooh-footer .rooh-input-row input[type="email"] {
        width: 300px !important;
        flex: none !important;
    }

    /* Links Section: 4-Column Expanded Grid */
    .rooh-footer__links-section {
        padding: 40px 0 36px !important;
    }

    .rooh-footer__accordion-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        column-gap: 52px !important;
        row-gap: 0 !important;
        padding: 0 !important;
    }

    .rooh-footer__group {
        border-bottom: none !important;
    }

    .rooh-footer__heading-btn {
        pointer-events: none !important;
        cursor: default !important;
        padding: 0 0 18px 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .rooh-footer__panel {
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Social icons inside Column 3 ("About Us") */
    .rooh-footer__socials--inline {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin-top: 20px !important;
        justify-content: flex-start !important;
    }

    /* Hide standalone mobile socials */
    .rooh-footer__socials-mobile-only {
        display: none !important;
    }

    /* Bottom Row: Split Left & Right */
    .rooh-footer__bottom-section {
        padding: 24px 0 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

/* --------------------------------------------------------------------------
   Tablet (768px - 991px): Balanced 2-Column Collapsible Grid with Gold Dividers
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .rooh-footer__text-desktop {
        display: none !important;
    }
    .rooh-footer__text-mobile {
        display: inline !important;
    }
    .rooh-footer__mobile-top-divider {
        display: none !important;
    }

    .rooh-footer__header-row {
        display: flex;
        flex-direction: column;
        padding: 36px 0 28px;
        text-align: center;
        gap: 28px;
    }

    .rooh-footer__brand-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .rooh-footer__v-divider {
        display: none !important;
    }

    .rooh-footer__tagline {
        display: block;
        max-width: 440px;
        margin: 0 auto;
        text-align: center;
    }

    .rooh-footer__newsletter-block {
        display: block;
    }

    .rooh-footer__newsletter-inner {
        text-align: center;
        max-width: 480px;
        margin: 0 auto;
    }

    .rooh-footer__newsletter-title,
    .rooh-footer__newsletter-desc {
        text-align: center !important;
    }

    footer.rooh-footer .rooh-input-row,
    .rooh-footer .rooh-input-row {
        justify-content: center !important;
        max-width: 440px !important;
        margin: 0 auto !important;
    }

    .rooh-footer .rooh-input-row input[type="email"] {
        flex: 1 1 0% !important;
        width: auto !important;
    }

    /* 2-Column Grid */
    .rooh-footer__links-section {
        padding: 0 10px;
    }

    .rooh-footer__accordion-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 36px;
    }

    .rooh-footer__group {
        border-bottom: 1px solid rgba(197, 160, 89, 0.35);
    }

    .rooh-footer__heading-btn {
        padding: 18px 8px;
        justify-content: center;
        text-align: center;
    }

    .rooh-footer__panel {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease;
        text-align: center;
    }

    .rooh-footer__group.is-open .rooh-footer__panel {
        max-height: 400px;
        opacity: 1;
        padding-bottom: 18px;
    }

    .rooh-footer__socials--inline {
        display: none !important;
    }

    .rooh-footer__socials-mobile-only {
        display: block !important;
        padding: 24px 0;
        border-bottom: 1px solid rgba(197, 160, 89, 0.35);
        text-align: center;
    }

    .rooh-footer__socials-mobile-only .rooh-footer__socials {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    .rooh-footer__bottom-section {
        padding: 22px 0 26px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Mobile Stack (< 768px): Centered Wordmark, Side-by-Side Newsletter,
   Single-Column Accordion with 1px Gold Dividers
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .rooh-footer__text-desktop {
        display: none !important;
    }
    .rooh-footer__text-mobile {
        display: inline !important;
    }
    .rooh-footer__mobile-top-divider {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background-color: rgba(197, 160, 89, 0.45) !important;
        margin: 0 0 24px 0 !important;
    }

    .rooh-footer__header-row {
        display: flex;
        flex-direction: column;
        padding: 30px 0 0;
    }

    .rooh-footer__brand-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.45);
    }

    .rooh-footer__logo-link {
        align-items: center;
    }

    .rooh-footer__v-divider {
        display: none !important;
    }

    .rooh-footer__tagline {
        display: none !important;
    }

    .rooh-footer__newsletter-block {
        padding: 26px 0 26px;
        border-bottom: 1px solid rgba(197, 160, 89, 0.45);
    }

    .rooh-footer__newsletter-inner {
        text-align: center;
        max-width: 440px;
        margin: 0 auto;
    }

    .rooh-footer__newsletter-title {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        color: #FFFFFF !important;
        font-style: italic !important;
        margin-bottom: 6px !important;
        text-align: center !important;
    }

    .rooh-footer__newsletter-desc {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 14px !important;
        font-style: italic !important;
        color: #E2DCCF !important;
        margin-bottom: 16px !important;
        text-align: center !important;
    }

    /* Side-by-Side balanced input + button on mobile */
    footer.rooh-footer .rooh-input-row,
    .rooh-footer .rooh-input-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
    }

    footer.rooh-footer .rooh-input-row input[type="email"],
    .rooh-footer .rooh-input-row input[type="email"] {
        flex: 1 1 0% !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 12px 14px !important;
        font-size: 13.5px !important;
        border-radius: 4px !important;
    }

    footer.rooh-footer .rooh-input-row button,
    .rooh-footer .rooh-input-row button {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 12px 22px !important;
        text-transform: none !important;
        font-size: 13px !important;
        border-radius: 4px !important;
    }

    /* Single Column Accordion */
    .rooh-footer__links-section {
        border-top: none !important;
    }

    .rooh-footer__accordion-container {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .rooh-footer__group {
        width: 100%;
        border-bottom: 1px solid rgba(197, 160, 89, 0.45);
    }

    .rooh-footer__heading-btn {
        width: 100%;
        padding: 16px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .rooh-footer__heading-text {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 20px !important;
        font-weight: 500 !important;
        color: #FFFFFF !important;
        letter-spacing: 0.04em !important;
        text-transform: none !important;
    }

    .rooh-footer__panel {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease;
        text-align: center;
    }

    .rooh-footer__group.is-open .rooh-footer__panel {
        max-height: 400px;
        opacity: 1;
        padding-bottom: 18px;
    }

    /* Hide inline desktop socials */
    .rooh-footer__socials--inline {
        display: none !important;
    }

    /* Show centered mobile socials */
    .rooh-footer__socials-mobile-only {
        display: block !important;
        padding: 22px 0;
        border-bottom: 1px solid rgba(197, 160, 89, 0.45);
        text-align: center;
    }

    .rooh-footer__socials-mobile-only .rooh-footer__socials {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 28px;
    }

    /* Centered Bottom Section */
    .rooh-footer__bottom-section {
        border-top: none !important;
        padding: 22px 0 28px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .rooh-footer__payments-wrap {
        display: none !important;
    }

    .rooh-footer__copyright {
        font-family: 'Montserrat', Inter, sans-serif !important;
        font-size: 13px !important;
        color: #D5DEF2 !important;
    }
}
