/*
 * Lunawat's Bullion burgundy-and-gold website theme.
 * Visual source: theme.jpeg and Liverates.html.
 * This is the final shared palette layer and intentionally loads after custom.css.
 */
:root {
    --lb-wine: #3b0000;
    --lb-wine-deep: #210000;
    --lb-wine-dark: #180000;
    --lb-wine-light: #5b0700;
    --lb-gold: #efb72f;
    --lb-gold-light: #ffe16a;
    --lb-gold-dark: #ad6500;
    --lb-ivory: #fff9ed;
    --lb-muted: #dbcda9;
    --lb-line: rgba(239, 183, 47, .72);
    --lb-line-soft: rgba(239, 183, 47, .34);
    --lb-danger: #b42336;
    --lb-success: #2f7d55;
    --lb-radius: 14px;
    --lb-shadow: 0 14px 32px rgba(0, 0, 0, .34);

    /* Compatibility aliases used by legacy page components. */
    --sw-ivory: var(--lb-wine-dark);
    --sw-surface: var(--lb-wine);
    --sw-white: var(--lb-ivory);
    --sw-rose-50: #4a0200;
    --sw-rose-100: #570500;
    --sw-rose-300: var(--lb-gold-dark);
    --sw-rose-500: var(--lb-gold);
    --sw-rose-700: var(--lb-wine);
    --sw-rose-900: var(--lb-wine-deep);
    --sw-ink: var(--lb-ivory);
    --sw-muted: var(--lb-muted);
    --sw-gold: var(--lb-gold);
    --sw-line: var(--lb-line-soft);
    --sw-shadow: var(--lb-shadow);
    --sw-radius: var(--lb-radius);
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--lb-wine-dark) !important;
}

body,
body.ui-mobile-viewport,
.ui-page,
.ui-page-theme-a,
.ui-overlay-a {
    min-width: 320px;
    background-color: var(--lb-wine-dark) !important;
    background-image:
        radial-gradient(circle at 50% 0, rgba(116, 12, 0, .42), transparent 38%),
        linear-gradient(180deg, #3f0000 0, var(--lb-wine-dark) 100%) !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 100% 100% !important;
    background-attachment: fixed !important;
    color: var(--lb-ivory) !important;
    font-family: "Segoe UI", Arial, sans-serif;
}

body > .body {
    min-width: 0;
    overflow-x: hidden;
    background: transparent !important;
    color: var(--lb-ivory) !important;
}

body > .body > .main,
body > .body > main,
body > .body > .page-shell,
body > .body > .ui-page,
.main,
main,
.page-shell,
.ui-content,
.ui-panel-wrapper {
    background-color: transparent !important;
    background-image: none !important;
    color: var(--lb-ivory) !important;
}

/* Header and single-logo lockup */
body > .body > #header,
body > .body > #header .header-body,
body > .body > #header .header-top,
body > .body > #header .header-top-container,
body > .body > #header .header-conta30\.iner,
body > .body > #header .header-container,
body > .body > #header .header-row,
body > .body > #header .header-column {
    background-color: #2f0000 !important;
    background-image: linear-gradient(180deg, #3e0000 0%, #210000 100%) !important;
    color: var(--lb-ivory) !important;
}

body > .body > #header {
    border: 0 !important;
    border-bottom: 1px solid var(--lb-gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .34) !important;
}

body > .body > #header .headImg,
body > .body > #header .header-row.headImg {
    min-height: 128px !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid var(--lb-line) !important;
}

body > .body > #header .headImg > .container,
body > .body > #header .headImg > .container > .row,
body > .body > #header .brand-lockup-row {
    min-height: 112px !important;
}

/* The new theme uses only the Lunawat's Bullion logo. */
body > .body > #header .parent-brand-column,
body > .body > #header .brand-lockup-spacer,
body > .body > #header .scroll-logo,
body > .body > #header .www-parent-brand-column {
    display: none !important;
}

body > .body > #header .brand-lockup-row,
body > .body > #header .headImg .row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body > .body > #header #iconimage,
body > .body > #header .header-brand-column,
body > .body > #header .single-brand-column {
    width: 100% !important;
    max-width: 400px !important;
    flex: 0 1 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    text-align: center !important;
}

body > .body > #header .header-brand-link,
body > .body > #header .single-brand-link,
body > .body > #header #iconimage > a,
body > .body > #header #iconimage > span {
    width: 100% !important;
    height: 96px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

body > .body > #header .LogoImgWidth1,
body > .body > #header .single-brand-logo {
    content: url("../img/logo/LOGO.png");
    width: 100% !important;
    max-width: 400px !important;
    height: 96px !important;
    max-height: 96px !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .45)) !important;
}

/* Normalize the extra legacy wrappers used by pages inside /www. */
body > .body > #header .header-row.headImg #iconimage > span.row {
    width: 100% !important;
    height: 96px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}

body > .body > #header .header-row.headImg #iconimage .www-header-brand-link {
    width: 100% !important;
    height: 96px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}

body > .body > #header .header-row.headImg #iconimage .www-header-brand-link .LogoImgWidth1 {
    width: 100% !important;
    max-width: 400px !important;
    height: 96px !important;
    max-height: 96px !important;
    margin: 0 auto !important;
    transform: none !important;
    object-fit: contain !important;
}

/* Desktop navigation: gold band, compact typography from Contact_Details. */
body > .body > #header .naviRow {
    min-height: 52px !important;
    padding: 0 !important;
    background: linear-gradient(100deg, #dda019, var(--lb-gold-light) 48%, #d99a14) !important;
    border-top: 1px solid #ffea91 !important;
    border-bottom: 1px solid var(--lb-gold-dark) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .35) !important;
}

body > .body > #header .naviRow .header-column,
body > .body > #header .naviRow .header-nav,
body > .body > #header .naviRow .header-nav-main,
body > .body > #header .naviRow .header-nav-main nav,
body > .body > #header .naviRow #mainNav,
body > .body > #header .naviRow #navhead {
    background: transparent !important;
    background-image: none !important;
}

/* Remove KYC and Calculator from every root and /www header without deleting the pages. */
body > .body > #header #mainNav a[href$="KYC.html"],
body > .body > #header #mainNav a[href$="Calculator.html"] {
    display: none !important;
}

@supports selector(li:has(> a)) {
    body > .body > #header #mainNav > li:has(> a[href$="KYC.html"]),
    body > .body > #header #mainNav > li:has(> a[href$="Calculator.html"]) {
        display: none !important;
    }
}

body > .body > #header #mainNav {
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0;
}

body > .body > #header #mainNav > li > a,
body > .body > #header #mainNav > li > .dropdown-item,
body > .body > #header .header-nav-main nav > ul > li > a,
body > .body > #header #showlogin a {
    min-height: 52px !important;
    display: flex;
    align-items: center;
    padding: 0 10px !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    color: var(--lb-wine-deep) !important;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .025em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

body > .body > #header #mainNav > li > a:hover,
body > .body > #header #mainNav > li > a:focus-visible,
body > .body > #header #mainNav > li:hover > a,
body > .body > #header #mainNav > li.active > a,
body > .body > #header #mainNav > li > .dropdown-item:hover,
body > .body > #header #mainNav > li > .dropdown-item:focus-visible {
    background: var(--lb-wine) !important;
    border-bottom-color: var(--lb-gold-light) !important;
    color: var(--lb-gold-light) !important;
}

body > .body > #header .dropdown-menu {
    margin-top: 0 !important;
    padding: 5px 0 !important;
    background: var(--lb-wine-deep) !important;
    border: 1px solid var(--lb-line) !important;
    border-radius: 0 0 9px 9px !important;
    box-shadow: var(--lb-shadow) !important;
}

body > .body > #header .dropdown-menu .dropdown-item {
    min-height: 38px;
    padding: 9px 14px !important;
    background: transparent !important;
    color: var(--lb-ivory) !important;
}

body > .body > #header .dropdown-menu .dropdown-item:hover,
body > .body > #header .dropdown-menu .dropdown-item:focus {
    background: var(--lb-wine-light) !important;
    color: var(--lb-gold-light) !important;
}

/* Keep submenu labels readable across both legacy and current header markup. */
#header #mainNav .dropdown-menu a.dropdown-item,
#header #mainNav .dropdown-menu a.dropdown-item:visited,
#header .header-nav-main .dropdown-menu a.dropdown-item {
    color: #ffffff !important;
    text-shadow: none !important;
}

#header #mainNav .dropdown-menu a.dropdown-item:hover,
#header #mainNav .dropdown-menu a.dropdown-item:focus,
#header #mainNav .dropdown-menu a.dropdown-item:focus-visible {
    color: #ffffff !important;
}

body > .body > #header #openaccountbtn a,
body > .body > #header #Lb4 a,
body > .body > #header a#Lb3,
body > .body > #header #openaccountbtn a:visited,
body > .body > #header #Lb4 a:visited,
body > .body > #header a#Lb3:visited {
    min-height: 38px;
    padding: 9px 15px !important;
    background: var(--lb-wine) !important;
    background-image: none !important;
    border: 1px solid var(--lb-gold-light) !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body > .body > #header #openaccountbtn a:hover,
body > .body > #header #openaccountbtn a:focus,
body > .body > #header #Lb4 a:hover,
body > .body > #header #Lb4 a:focus,
body > .body > #header a#Lb3:hover,
body > .body > #header a#Lb3:focus {
    background: var(--lb-wine-light) !important;
    color: #ffffff !important;
}

body > .body > #header .header-btn-collapse-nav {
    margin: 7px 10px 7px auto !important;
    padding: 7px 9px !important;
    background: var(--lb-wine) !important;
    border: 1px solid var(--lb-gold-light) !important;
    border-radius: 7px !important;
}

body > .body > #header .header-btn-collapse-nav .hamburguer span,
body > .body > #header .header-btn-collapse-nav .close span {
    background: var(--lb-gold-light) !important;
}

/* Main content and typography */
body > .body > .main,
body > .body > main {
    min-height: 420px;
}

.main section.section,
main section.section,
.main > section,
main > section,
.bg-light-5 {
    background-color: transparent !important;
    background-image: none !important;
    color: var(--lb-ivory) !important;
}

.main h1,
.main h2,
.main h3,
.main h4,
.main h5,
.main h6,
.main .headingTop,
.main .login-title,
.ui-content h1,
.ui-content h2,
.ui-content h3 {
    color: var(--lb-gold-light) !important;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .42);
}

/* Shared application page headings use black text on the gold title bar. */
.main .headingTop {
    color: #000000 !important;
    text-shadow: none !important;
}

.main p,
.main li,
.main label,
.main address,
.main .container,
.main .container p,
.main .container li,
.ui-content,
.ui-page-theme-a {
    color: var(--lb-ivory) !important;
}

.main small,
.main .text-muted,
.main .form-text,
.ui-content small {
    color: var(--lb-muted) !important;
}

.main a:not(.btn):not(.nav-link),
.ui-content a,
#footer a:not(.btn) {
    color: var(--lb-gold-light) !important;
}

.main a:not(.btn):not(.nav-link):hover,
.main a:not(.btn):not(.nav-link):focus,
.ui-content a:hover {
    color: #fff3b7 !important;
}

.main :focus-visible,
#header :focus-visible,
#footer :focus-visible {
    outline: 2px solid var(--lb-gold-light) !important;
    outline-offset: 2px;
}

/* Shared panels and legacy content cards */
.main .card,
.main .insight-panel,
.main .roundCorner,
.main .rg-bank-details-panel,
.main .css_bkdesk,
.main .sw-contact-card,
.main .contact-card,
.main .content-card,
.main .market-card,
.main .product-tile,
.main .ui-body-a {
    background: linear-gradient(135deg, #480200 0%, #270000 100%) !important;
    border: 1px solid var(--lb-line) !important;
    border-radius: var(--lb-radius) !important;
    box-shadow: var(--lb-shadow) !important;
    color: var(--lb-ivory) !important;
}

.main .css_bkdesk {
    border-width: 2px !important;
    padding: 14px !important;
}

.main .css_bkdesk p,
.main .css_bkdesk span,
.main .css_bkdesk strong,
.main .css_bkdesk td,
.main .sw-contact-card p,
.main .sw-contact-card span {
    color: var(--lb-ivory) !important;
}

.page-header,
.page-header-index {
    background: var(--lb-wine-deep) !important;
    border-color: var(--lb-line) !important;
}

/* Forms */
.main label,
.main legend,
.form-group label,
.ui-mobile label {
    color: var(--lb-gold-light) !important;
    font-weight: 700;
}

.form-control,
.main input[type="text"],
.main input[type="tel"],
.main input[type="number"],
.main input[type="password"],
.main input[type="email"],
.main input[type="file"],
.main textarea,
.main select,
.login-control,
.ui-input-text input,
.ui-input-search input {
    background: var(--lb-ivory) !important;
    border: 1px solid var(--lb-gold-dark) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #321000 !important;
}

.form-control::placeholder,
.main input::placeholder,
.main textarea::placeholder {
    color: #806f58 !important;
    opacity: 1;
}

.form-control:focus,
.main input:focus,
.main textarea:focus,
.main select:focus {
    border-color: var(--lb-gold-light) !important;
    box-shadow: 0 0 0 .2rem rgba(239, 183, 47, .23) !important;
    outline: 0;
}

/* Buttons */
.btn,
button:not(.header-btn-collapse-nav),
input[type="button"],
input[type="submit"],
.ui-btn,
.rg-tab-btn,
.round-action {
    background: linear-gradient(100deg, #d99b19, var(--lb-gold-light), #d99b19) !important;
    border: 1px solid var(--lb-gold-dark) !important;
    color: #321000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    font-weight: 800;
}

.btn:hover,
.btn:focus,
button:not(.header-btn-collapse-nav):hover,
button:not(.header-btn-collapse-nav):focus,
input[type="button"]:hover,
input[type="submit"]:hover,
.ui-btn:hover,
.ui-btn:focus {
    background: var(--lb-gold-light) !important;
    border-color: var(--lb-gold-light) !important;
    color: var(--lb-wine-deep) !important;
}

/* Tables: exclude the purpose-built Liverates component. */
.main table:not(.rates-table),
.ui-content table:not(.rates-table) {
    background: var(--lb-wine-deep) !important;
    border-color: var(--lb-line) !important;
    color: var(--lb-ivory) !important;
}

.main table:not(.rates-table) th,
.ui-content table:not(.rates-table) th,
table.heading,
.rg-commodity-heading,
.headertable3,
.tds_title {
    background: linear-gradient(90deg, #dda019, var(--lb-gold-light), #dda019) !important;
    border-color: var(--lb-gold-dark) !important;
    color: #321000 !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.main table:not(.rates-table) td,
.ui-content table:not(.rates-table) td {
    background-color: rgba(61, 0, 0, .62) !important;
    border-color: var(--lb-line-soft) !important;
    color: var(--lb-ivory) !important;
}

.main table:not(.rates-table) tr:nth-child(even) td,
.ui-content table:not(.rates-table) tr:nth-child(even) td {
    background-color: rgba(86, 5, 0, .58) !important;
}

.main table:not(.rates-table) td a,
.ui-content table:not(.rates-table) td a {
    color: var(--lb-gold-light) !important;
}

.main table img {
    max-width: 100%;
    height: auto;
}

/* Functional ticker and rate widgets */
.ticker,
.marquee,
.rg-commodity-heading,
.trend-signal {
    background: var(--lb-wine-light) !important;
    border-color: var(--lb-gold) !important;
    color: var(--lb-ivory) !important;
}

.marquee p,
.marquee a,
.marquee span,
.marquee div,
.ticker span {
    color: var(--lb-ivory) !important;
}

.products,
.market-table,
#gvData,
#gvData_silver,
#gvData_Unfix,
#gvData_Newss {
    background: var(--lb-wine-deep) !important;
    border-color: var(--lb-line) !important;
    color: var(--lb-ivory) !important;
    box-shadow: var(--lb-shadow) !important;
}

.rate-up { background: var(--lb-success) !important; color: #fff !important; }
.rate-down { background: var(--lb-danger) !important; color: #fff !important; }

#marketSellButton,
#pendingSellButton,
#marketSellButton.ui-btn,
#pendingSellButton.ui-btn {
    background: var(--lb-danger) !important;
    border-color: #861b2a !important;
    color: #fff !important;
}

#marketBuyButton,
#pendingBuyButton,
#marketBuyButton.ui-btn,
#pendingBuyButton.ui-btn {
    background: #165f9e !important;
    border-color: #104875 !important;
    color: #fff !important;
}

/* Footer */
body > .body > #footer,
body > .body > #footer > section.section,
body > .body > #footer .footer-address-section,
body > .body > #footer .footer-copyright {
    background: linear-gradient(180deg, #3e0000 0%, #210000 100%) !important;
    color: var(--lb-ivory) !important;
}

body > .body > #footer {
    margin-top: 0 !important;
    border-top: 4px solid var(--lb-gold) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
}

#footer .footer-address-section {
    margin: 0;
    padding: 32px 20px 36px;
    text-align: center;
}

#footer .footer-address-section > .container {
    width: min(1140px, calc(100% - 32px));
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

#footer .footer-address-section h2 {
    margin: 0 0 18px;
    color: var(--lb-gold-light) !important;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    text-align: center;
}

#footer .footer-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

#footer .footer-address-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 22px 20px;
    background: linear-gradient(135deg, #500300, #290000) !important;
    border: 1px solid var(--lb-line) !important;
    border-radius: 12px;
    box-shadow: var(--lb-shadow);
    color: var(--lb-ivory) !important;
    font-style: normal;
    line-height: 1.45;
}

#footer .footer-address-card strong {
    margin-bottom: 4px;
    color: var(--lb-gold-light) !important;
    font-size: 16px;
    font-weight: 800;
}

#footer .footer-address-card span,
#footer .footer-address-card p,
#footer .footer-address-card a,
#footer .icon-box-info p,
#footer .icon-box-info a,
#footer .icon-box-info-title h3 {
    color: var(--lb-ivory) !important;
}

#footer .footer-copyright {
    border-top: 1px solid var(--lb-line-soft) !important;
}

#footer .footer-copyright p,
#footer .footer-copyright span,
#footer .footer-copyright a {
    color: var(--lb-muted) !important;
}

/* jQuery Mobile compatibility */
.ui-page-theme-a .ui-bar-inherit,
.ui-bar-a,
.ui-header,
.ui-footer {
    background: var(--lb-wine) !important;
    border-color: var(--lb-line) !important;
    color: var(--lb-ivory) !important;
    text-shadow: none !important;
}

.ui-shadow-inset,
.ui-shadow { box-shadow: none !important; }

@media (max-width: 991px) {
    body > .body > #header .headImg,
    body > .body > #header .header-row.headImg {
        min-height: 88px !important;
        padding: 4px 0 !important;
    }

    body > .body > #header .headImg > .container,
    body > .body > #header .headImg > .container > .row,
    body > .body > #header .brand-lockup-row {
        min-height: 76px !important;
    }

    body > .body > #header #iconimage,
    body > .body > #header .header-brand-column,
    body > .body > #header .single-brand-column {
        max-width: 210px !important;
        flex-basis: 210px !important;
        padding: 0 !important;
    }

    body > .body > #header .header-brand-link,
    body > .body > #header .single-brand-link,
    body > .body > #header #iconimage > a,
    body > .body > #header #iconimage > span,
    body > .body > #header .LogoImgWidth1,
    body > .body > #header .single-brand-logo {
        width: 210px !important;
        max-width: 100% !important;
        height: 64px !important;
        max-height: 64px !important;
    }

    body > .body > #header .header-row.headImg #iconimage > span.row,
    body > .body > #header .header-row.headImg #iconimage .www-header-brand-link {
        width: 210px !important;
        max-width: 100% !important;
        height: 64px !important;
    }

    body > .body > #header .header-row.headImg #iconimage .www-header-brand-link .LogoImgWidth1 {
        width: 210px !important;
        max-width: 100% !important;
        height: 64px !important;
        max-height: 64px !important;
        margin: 0 auto !important;
    }

    body > .body > #header .naviRow {
        min-height: 52px !important;
    }

    body > .body > #header .header-nav-main nav {
        max-height: 60vh;
        overflow-y: auto;
        background: var(--lb-wine-deep) !important;
        border: 1px solid var(--lb-gold) !important;
        box-shadow: var(--lb-shadow) !important;
    }

    body > .body > #header #mainNav {
        gap: 0;
        padding: 6px 12px 10px;
    }

    body > .body > #header #mainNav > li > a,
    body > .body > #header #mainNav > li > .dropdown-item,
    body > .body > #header .header-nav-main nav > ul > li > a,
    body > .body > #header #showlogin a {
        min-height: 40px !important;
        padding: 0 8px !important;
        background: var(--lb-wine-deep) !important;
        border-bottom: 1px solid var(--lb-line-soft) !important;
        color: var(--lb-ivory) !important;
        text-align: left;
    }

    body > .body > #header #mainNav > li > a:hover,
    body > .body > #header #mainNav > li > a:focus,
    body > .body > #header #mainNav > li:hover > a,
    body > .body > #header #mainNav > li.active > a {
        background: var(--lb-wine-light) !important;
        color: var(--lb-gold-light) !important;
    }

    body > .body > #header .dropdown-menu {
        background: #310000 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body > .body > #header .dropdown-menu .dropdown-item {
        min-height: 44px;
        color: var(--lb-ivory) !important;
    }
}

@media (max-width: 640px) {
    #footer .footer-address-section { padding: 24px 14px 28px; }
    #footer .footer-address-grid { grid-template-columns: 1fr; gap: 12px; }
    #footer .footer-address-card { min-height: 112px; padding: 17px 14px; }
}

@media (max-width: 575px) {
    .main section.section { padding-right: 10px !important; padding-left: 10px !important; }
    #footer > section.section { padding-right: 8px !important; padding-left: 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Contact details and secure bank-guidance pages */
.contact-details-page .business-data-container {
    width: calc(100% - 32px);
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 0 0;
}

.contact-details-page .business-data-row {
    row-gap: 24px;
    margin-right: 0;
    margin-bottom: 48px;
    margin-left: 0;
}

.contact-details-page .business-data-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 12px;
    padding-left: 12px;
}

.contact-details-page .business-card-reveal {
    width: 100%;
}

.contact-details-page .business-data-card {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 24px !important;
}

.sw-contact-details-panel .sw-contact-grid--two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.sw-contact-details-panel .sw-contact-grid--two > .sw-contact-card {
    margin: 0;
}

.bank-details-section {
    min-height: 630px;
    padding: 48px 0 64px !important;
}

.bank-privacy-container {
    width: calc(100% - 32px);
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
}

.bank-details-page-title {
    margin: 0 0 24px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-align: center;
}

.bank-privacy-panel {
    padding: clamp(28px, 5vw, 48px);
    background: linear-gradient(135deg, #480200 0%, #270000 100%);
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-radius);
    box-shadow: var(--lb-shadow);
    color: var(--lb-ivory);
    text-align: center;
}

.bank-privacy-panel h2 {
    margin: 0 0 20px;
    color: var(--lb-gold-light) !important;
    font-size: clamp(22px, 3vw, 30px);
}

.bank-privacy-panel p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--lb-muted) !important;
    font-size: 16px;
    line-height: 1.75;
}

.bank-privacy-panel .bank-privacy-lead {
    margin-bottom: 12px;
    color: var(--lb-ivory) !important;
    font-size: 18px;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    body > .body > #header .LogoImgWidth1,
    body > .body > #header .single-brand-logo,
    body > .body > #header #mainNav > li > a,
    body > .body > #header #mainNav > li > .dropdown-item,
    body > .body > #header #openaccountbtn a,
    body > .body > #header #Lb4 a,
    body > .body > #header a#Lb3,
    .contact-details-page .business-data-card,
    .contact-details-page .btn,
    .bank-details-page .btn,
    .bank-privacy-panel,
    #footer .footer-address-card {
        transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease,
            box-shadow 200ms ease, transform 200ms ease;
    }

    body > .body > #header .header-brand-link:hover .LogoImgWidth1,
    body > .body > #header .header-brand-link:focus-visible .LogoImgWidth1,
    body > .body > #header .single-brand-link:hover .single-brand-logo,
    body > .body > #header .single-brand-link:focus-visible .single-brand-logo {
        transform: scale(1.01);
    }

    body > .body > #header #mainNav > li > a:hover,
    body > .body > #header #mainNav > li > a:focus-visible,
    body > .body > #header #mainNav > li > .dropdown-item:hover,
    body > .body > #header #mainNav > li > .dropdown-item:focus-visible,
    body > .body > #header #openaccountbtn a:hover,
    body > .body > #header #openaccountbtn a:focus-visible,
    body > .body > #header #Lb4 a:hover,
    body > .body > #header #Lb4 a:focus-visible,
    body > .body > #header a#Lb3:hover,
    body > .body > #header a#Lb3:focus-visible,
    .contact-details-page .btn:hover,
    .contact-details-page .btn:focus-visible,
    .bank-details-page .btn:hover,
    .bank-details-page .btn:focus-visible {
        transform: translateY(-1px);
    }

    .business-card-reveal:hover .business-data-card,
    .business-card-reveal:focus-within .business-data-card,
    .bank-privacy-reveal:hover .bank-privacy-panel,
    .bank-privacy-reveal:focus-within .bank-privacy-panel,
    #footer .footer-address-card:hover,
    #footer .footer-address-card:focus-within {
        transform: translateY(-2px);
        box-shadow: 0 17px 36px rgba(0, 0, 0, .4) !important;
    }
}

@media (max-width: 767.98px) {
    .contact-details-page .business-data-container,
    .bank-privacy-container {
        width: calc(100% - 32px);
    }

    .contact-details-page .business-data-container {
        padding-top: 20px;
    }

    .contact-details-page .business-data-row {
        row-gap: 20px;
        margin-bottom: 32px;
    }

    .contact-details-page .business-data-column {
        gap: 20px;
        padding-right: 0;
        padding-left: 0;
    }

    .sw-contact-details-panel .sw-contact-grid--two {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bank-details-section {
        min-height: 520px;
        padding: 32px 0 48px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-appear-animation],
    .appear-animation,
    .appear-animation.animated,
    .appear-animation-visible {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Shared contact-card spacing and inline icon alignment */
.sw-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(16px, 2.2vw, 24px);
    width: 100%;
    padding: clamp(12px, 2vw, 24px);
}

.sw-contact-grid.sw-contact-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sw-contact-grid > .sw-contact-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas:
        "icon heading"
        "body body";
    align-items: center;
    column-gap: 14px;
    row-gap: 12px;
    width: 100%;
    margin: 0;
    padding: clamp(18px, 2.5vw, 24px);
}

.sw-contact-card > .sw-contact-card__icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    background: var(--lb-wine-light);
    border: 1px solid var(--lb-line);
    border-radius: 50%;
    color: var(--lb-gold-light);
    font-size: 22px;
    line-height: 1;
}

.sw-contact-card > .sw-contact-card__icon > i {
    display: block;
    margin: 0;
    line-height: 1;
}

.sw-contact-card > h3 {
    grid-area: heading;
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    text-align: left;
}

.sw-contact-card > p {
    grid-area: body;
    margin: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .sw-contact-grid,
    .sw-contact-grid.sw-contact-grid--two {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }

    .sw-contact-grid > .sw-contact-card {
        padding: 18px;
    }
}
