/* ============================================================
   JOYD — FOOTER STYLESHEET
   File: salient-child/css/joyd-footer.css
   Sections:
     01 — Showroom introduction
     02 — Brand and navigation
     03 — Payment logos (retained for upcoming footer row)
   ============================================================ */

/* 01 — SHOWROOM INTRODUCTION */
.joyd-footer-intro {
    width: 100%;
    box-sizing: border-box;
    padding: 65px 20px 60px;
    background: #F7F5F2;
    text-align: center;
    font-family: Gotham, Arial, sans-serif;
}

.joyd-footer-intro h2 {
    margin: 0 0 12px;
    color: #302820;
    font-family: inherit;
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.joyd-footer-intro p {
    margin: 0 0 5px !important;
    color: #81756D;
    font-size: 15px;
    line-height: 1.7;
}

.joyd-footer-intro .joyd-footer-intro-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 12px 24px !important;
    margin: 0 !important;
    background: #795640 !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    font-family: Gotham, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .2s ease, transform .2s ease !important;
}

.joyd-footer-intro .joyd-footer-intro-btn:hover,
.joyd-footer-intro .joyd-footer-intro-btn:focus-visible {
    background: #62432F !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.joyd-footer-intro .joyd-footer-intro-btn span {
    font-size: 15px !important;
    line-height: 1 !important;
}

/* 02 — BRAND AND NAVIGATION */
.joyd-footer-main-row {
    background: #F7F5F2;
    padding: 30px 0 20px !important;
    font-family: Gotham, Arial, sans-serif;
}

.joyd-footer-main-row h3,
.joyd-footer-main-row h4 {
    margin-bottom: 16px !important;
    color: #302820;
    font-family: Gotham, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.joyd-footer-main-row p {
    color: #756A61;
    font-size: 12px;
    line-height: 1.8;
}

.joyd-footer-main-row .wpb_text_column {
    margin-bottom: 0 !important;
}

.joyd-footer-main-row a,
.joyd-footer-main-row a:link,
.joyd-footer-main-row a:visited {
    color: #756A61 !important;
    font-size: 12px;
    line-height: 2;
    text-decoration: none !important;
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    transition: color .2s ease;
}

.joyd-footer-main-row a:hover,
.joyd-footer-main-row a:focus-visible {
    color: #795640 !important;
    text-decoration: none !important;
}

.joyd-footer-main-row .wpb_text_column a::before,
.joyd-footer-main-row .wpb_text_column a::after {
    background-image: none !important;
    box-shadow: none !important;
}

/* Brand column */
.joyd-footer-main-row .joyd-footer-brand {
    max-width: 310px;
    font-family: Gotham, Arial, sans-serif;
    text-align: left;
}

.joyd-footer-main-row .joyd-footer-brand-logo {
    display: block;
    width: 75px !important;
    height: auto !important;
    margin: 0 0 18px;
    object-fit: contain;
}

.joyd-footer-main-row .joyd-footer-brand h3 {
    margin: 0 0 8px !important;
    color: #302820;
    font-size: 17px !important;
    font-weight: 600;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

.joyd-footer-main-row .joyd-footer-brand-tagline {
    margin: 0 0 8px !important;
    color: #302820;
    font-size: 12px;
    line-height: 1.7;
}

.joyd-footer-main-row .joyd-footer-brand-description {
    margin: 0 !important;
    color: #756A61;
    font-size: 12px;
    line-height: 1.8;
}

/* 03 — PAYMENT LOGOS (retained for footer payment row) */
.joyd-footer-payments-new {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.joyd-footer-payment-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 15px !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.joyd-payment-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.joyd-payment-logo img {
    display: block !important;
    width: auto !important;
    height: 25px !important;
    max-width: 90px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

.joyd-payment-logo img[alt="Visa"] { height: 20px !important; }
.joyd-payment-logo img[alt="Mastercard"] { height: 28px !important; }
.joyd-payment-logo img[alt="FPX"] { height: 24px !important; }
.joyd-payment-logo img[alt="DuitNow QR"] { height: 34px !important; }
.joyd-payment-logo img[alt="Touch 'n Go eWallet"] { height: 28px !important; }
.joyd-payment-logo img[alt="GrabPay"] { height: 24px !important; }
.joyd-payment-logo img[alt="Boost"] { height: 27px !important; }
.joyd-payment-logo img[alt="Apple Pay"] { height: 25px !important; }
.joyd-payment-logo img[alt="Google Pay"] { height: 24px !important; }
.joyd-payment-logo img[alt="Atome"] { height: 34px !important; }

.joyd-payment-logo img[alt="Touch 'n Go eWallet"],
.joyd-payment-logo img[alt="Google Pay"],
.joyd-payment-logo img[alt="Apple Pay"],
.joyd-payment-logo img[alt="DuitNow QR"] {
    max-width: 85px !important;
}

/* 04 — RESPONSIVE */
@media (max-width: 999px) {
    .joyd-footer-main-row { padding: 30px 0 20px !important; }
}

@media (max-width: 690px) {
    .joyd-footer-intro { padding: 48px 18px; }
    .joyd-footer-intro h2 { font-size: 30px; }
    .joyd-footer-intro p { font-size: 13px; }
    .joyd-footer-intro .joyd-footer-intro-btn {
        padding: 11px 20px !important;
        font-size: 11px !important;
    }
    .joyd-footer-main-row h3,
    .joyd-footer-main-row h4 { margin-bottom: 12px !important; }
    .joyd-footer-main-row .joyd-footer-brand {
        max-width: 100%;
        margin-bottom: 25px;
    }
    .joyd-footer-main-row .joyd-footer-brand-logo {
        width: 60px !important;
        margin-bottom: 14px;
    }
    .joyd-footer-payment-logos {
        gap: 12px 15px !important;
        max-width: 100% !important;
    }
    .joyd-payment-logo { height: 25px !important; }
    .joyd-payment-logo img {
        max-width: 68px !important;
        max-height: 23px !important;
    }
}


/* JOYD FOOTER — REMOVE NAVIGATION UNDERLINES */

.joyd-footer-main-row .wpb_wrapper a,
.joyd-footer-main-row .wpb_wrapper a:hover {
    text-decoration: none !important;
    background-image: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* JOYD FOOTER — SOCIAL MEDIA ROW */

.joyd-footer-social-row {
    padding: 28px 0 !important;
}

.joyd-footer-social-row .wpb_text_column {
    margin-bottom: 0 !important;
}


/* JOYD FOOTER — CLEAN NAVIGATION LINKS */

.joyd-footer-links a,
.joyd-footer-links a:link,
.joyd-footer-links a:visited,
.joyd-footer-links a:hover {
    color: #756A61 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Disable Salient's animated underline */
.joyd-footer-links a::before,
.joyd-footer-links a::after {
    content: none !important;
    display: none !important;
}

.joyd-footer-links a:hover {
    color: #795640 !important;
}



/* ==================================================
   JOYD FOOTER — 04. PAYMENT METHODS
   ================================================== */

.joyd-footer-payments {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: Gotham, Arial, sans-serif;
}

.joyd-footer-payments-label {
    display: block;
    margin: 0;
    color: #756A61;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 0.5 !important;
}

.joyd-footer-payment-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
	margin-top: -10px !important;
}

.joyd-footer-payment-logos img {
    display: block !important;
    width: auto !important;
    height: 20px !important;
    max-width: 60px !important;
    margin: 0 !important;
    object-fit: contain !important;
    filter: grayscale(100%) !important;
    opacity: 0.65 !important;
    transition: opacity .2s ease;
}

.joyd-footer-payment-logos img:hover {
    opacity: 0.9 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .joyd-footer-payments {
        align-items: center;
        gap: 10px;
    }

    .joyd-footer-payment-logos {
        justify-content: center;
        gap: 12px;
    }

    .joyd-footer-payment-logos img {
        height: 19px !important;
        max-width: 58px !important;
    }
}



/* JOYD FOOTER — LEGAL LINKS */

.joyd-footer-legal-links a,
.joyd-footer-legal-links a:hover {
    text-decoration: none !important;
    text-decoration-line: none !important;
    background-image: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    color: #756A61 !important;
}

.joyd-footer-legal-links a::before,
.joyd-footer-legal-links a::after {
    content: none !important;
    display: none !important;
}

.joyd-footer-legal-links a:hover {
    color: #795640 !important;
}
