/**
 * MD Truck Parts Theme â€” Front-end Styles
 * All section styles, scoped under mdtp- prefix.
 *
 * @package Md_Truck_Parts_Theme
 */

/* ------ CUSTOM PROPERTIES (non-theme.json values) ------------------------------------ */
:root {
    --navy: #1A2744;
    --navy-mid: #2B3F6B;
    --navy-dark: #1E2E4A;
    --gold: #F0B429;
    --gold-light: #FDF3D6;
    --gold-mid: #FAE09A;
    --gold-dark: #C8920A;
    --gold-darker: #8F6706;
    --white: #FFFFFF;
    --off-white: #F4F6FA;
    --gray-cool: #8B9BB4;
    --gray-border: #D6DBE8;
    --gray-light: #EEF1F7;
    --body-text: #1A2744;
    --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.08), 0 1px 2px rgba(26, 39, 68, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.10), 0 2px 4px rgba(26, 39, 68, 0.06);
    --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.13), 0 2px 8px rgba(26, 39, 68, 0.06);
    --shadow-xl: 0 16px 48px rgba(26, 39, 68, 0.16), 0 4px 12px rgba(26, 39, 68, 0.08);
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;
    --r-2xl: 20px;
    --r-pill: 999px;
    --t-fast: 150ms ease;
    --t-base: 220ms ease;
    --t-slow: 350ms ease;
    --mdtp-shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.08), 0 1px 2px rgba(26, 39, 68, 0.04);
    --mdtp-shadow-md: 0 4px 16px rgba(26, 39, 68, 0.10), 0 2px 4px rgba(26, 39, 68, 0.06);
    --mdtp-shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.13), 0 2px 8px rgba(26, 39, 68, 0.06);
    --mdtp-shadow-xl: 0 16px 48px rgba(26, 39, 68, 0.16), 0 4px 12px rgba(26, 39, 68, 0.08);
    --mdtp-r-xs: 4px;
    --mdtp-r-sm: 6px;
    --mdtp-r-md: 8px;
    --mdtp-r-lg: 12px;
    --mdtp-r-xl: 16px;
    --mdtp-r-2xl: 20px;
    --mdtp-r-pill: 999px;
    --mdtp-t-fast: 150ms ease;
    --mdtp-t-base: 220ms ease;
    --mdtp-t-slow: 350ms ease;
}

/* ------ GLOBAL RESETS (scoped) ------------------------------------------------------------------------------------------------ */
.mdtp-topbar *,
.mdtp-navbar *,
.mdtp-footer *,
.mdtp-hero *,
.mdtp-topbar *::before,
.mdtp-navbar *::before,
.mdtp-footer *::before,
.mdtp-hero *::before,
.mdtp-topbar *::after,
.mdtp-navbar *::after,
.mdtp-footer *::after,
.mdtp-hero *::after {
    box-sizing: border-box;
}

/* Fix for position: sticky in FSE (Gutenberg adds overflow-x: hidden to .wp-site-blocks which breaks sticky) */
/* Scoped to pages containing our specific header navbar */
.wp-site-blocks:has(.mdtp-navbar) {
    overflow-x: clip !important;
}

/* Allow children of the header template part (like .mdtp-navbar) to be sticky relative to the page */
header.wp-block-template-part:has(.mdtp-navbar) {
    display: contents;
}

li::marker {
    background: var(--gold) !important;
}

/* TOPBAR */
.mdtp-topbar {
    background: var(--wp--preset--color--navy-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mdtp-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.mdtp-topbar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mdtp-topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mdtp-topbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mdtp-topbar-right a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--mdtp-t-fast);
}

.mdtp-topbar-right a:hover {
    color: var(--wp--preset--color--gold);
}

.mdtp-topbar-div {
    color: rgba(255, 255, 255, 0.2);
}

/* NAVBAR */
.mdtp-navbar {
    background: var(--wp--preset--color--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(26, 39, 68, 0.28);
}

/* WP admin bar offset */
.admin-bar .mdtp-navbar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .mdtp-navbar {
        top: 46px;
    }
}

.mdtp-navbar-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
}

.mdtp-nav-logo {
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mdtp-nav-logo img {
    height: 55px;
    width: auto;
}

.mdtp-nav-search {
    flex: 1;
    max-width: 540px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--mdtp-r-md);
    overflow: hidden;
    transition: border-color var(--mdtp-t-base), background var(--mdtp-t-base);
}

.mdtp-nav-search:focus-within {
    border-color: rgba(240, 180, 41, 0.6);
    background: rgba(255, 255, 255, 0.11);
}

.mdtp-nav-search-input {
    flex: 1;
    background-color: transparent !important;
    border: none !important;
    outline: none;
    color: #fff !important;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    padding: 10px 16px;
}

.mdtp-nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.mdtp-nav-search-btn {
    background: var(--wp--preset--color--gold) !important;
    color: var(--wp--preset--color--navy) !important;
    border: none !important;
    padding: 10px 18px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background var(--mdtp-t-fast) !important;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mdtp-nav-search-btn:hover {
    background: #f5bc35;
}

.mdtp-nav-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.mdtp-nav-action {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--mdtp-r-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--mdtp-t-fast), color var(--mdtp-t-fast);
}

.mdtp-nav-action:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
}

.mdtp-nav-action.mdtp-cart {
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    border-color: var(--wp--preset--color--gold);
}

.mdtp-nav-action.mdtp-cart:hover {
    background: #f5bc35;
}

.mdtp-navbar-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mdtp-navbar-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.mdtp-nav-link {
    font-size: 13px;
    font-weight: 600;
    color: rgb(255 255 255 / 90%);
    padding: 10px 14px;
    position: relative;
    transition: color var(--mdtp-t-fast);
    white-space: nowrap;
    text-decoration: none;
}

.mdtp-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--wp--preset--color--gold);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--mdtp-t-base);
}

.mdtp-nav-link:hover {
    color: #fff;
}

.mdtp-nav-link:hover::after {
    transform: scaleX(1);
}

.mdtp-nav-link.active {
    color: var(--wp--preset--color--gold);
}

.mdtp-nav-link.active::after {
    transform: scaleX(1);
}

/* MOBILE HEADER ELEMENTS (hidden on desktop) */
.mdtp-mobile-actions {
    display: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.mdtp-mobile-search-btn,
.mdtp-mobile-menu-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mdtp-r-sm);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--mdtp-t-fast), color var(--mdtp-t-fast);
}

.mdtp-mobile-search-btn:hover,
.mdtp-mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.mdtp-mobile-cart-btn {
    position: relative;
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    border: none;
    border-radius: var(--mdtp-r-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background var(--mdtp-t-fast);
}

.mdtp-mobile-cart-btn:hover {
    background: #f5bc35;
}

.mdtp-mobile-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #E74C3C;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* MOBILE MENU OVERLAY */
.mdtp-mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 39, 68, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mdtp-mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* MOBILE SLIDE-OUT MENU */
.mdtp-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--wp--preset--color--navy, #1A2744);
    z-index: 999;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mdtp-mobile-menu.active {
    right: 0;
}

.mdtp-mobile-menu-header {
    padding: 28px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mdtp-mobile-logo {
    display: block;
    text-decoration: none;
}

.mdtp-mobile-logo img {
    height: 48px;
    width: auto;
}

.mdtp-mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 10px 0 20px;
}

.mdtp-mobile-menu-link {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 28px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--mdtp-t-fast), color var(--mdtp-t-fast);
}

.mdtp-mobile-menu-link:hover,
.mdtp-mobile-menu-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--wp--preset--color--gold, #F0B429);
}

.mdtp-mobile-menu-link-gold {
    color: var(--wp--preset--color--gold, #F0B429);
    font-weight: 700;
}

.mdtp-mobile-menu-footer {
    padding: 24px 28px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mdtp-mobile-menu-contact {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}

.mdtp-mobile-menu-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mdtp-mobile-menu-footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
}

.mdtp-mobile-menu-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--mdtp-t-fast);
}

.mdtp-mobile-menu-footer-links a:hover {
    color: var(--wp--preset--color--gold, #F0B429);
}

/* SEARCH MODAL */
.mdtp-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(26, 39, 68, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mdtp-search-modal.active {
    display: flex;
    opacity: 1;
}

.mdtp-search-modal-inner {
    background: var(--wp--preset--color--base, #fff);
    border-radius: var(--mdtp-r-xl);
    width: 100%;
    max-width: 560px;
    box-shadow: var(--mdtp-shadow-xl);
    overflow: hidden;
    animation: mdtp-modalSlideDown 0.3s ease;
}

@keyframes mdtp-modalSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mdtp-search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wp--preset--color--gray-border, #D6DBE8);
}

.mdtp-search-modal-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--wp--preset--color--navy, #1A2744);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mdtp-search-modal-close {
    background: none;
    border: none;
    color: var(--wp--preset--color--gray-cool, #8B9BB4);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mdtp-r-sm);
    transition: background var(--mdtp-t-fast), color var(--mdtp-t-fast);
}

.mdtp-search-modal-close:hover {
    background: var(--wp--preset--color--off-white, #F4F6FA);
    color: var(--wp--preset--color--navy, #1A2744);
}

.mdtp-search-modal-body {
    padding: 20px;
}

.mdtp-search-modal-field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wp--preset--color--off-white, #F4F6FA);
    border: 1.5px solid var(--wp--preset--color--gray-border, #D6DBE8);
    border-radius: var(--mdtp-r-md);
    padding: 12px 16px;
    transition: border-color var(--mdtp-t-base);
}

.mdtp-search-modal-field:focus-within {
    border-color: var(--wp--preset--color--gold, #F0B429);
}

.mdtp-search-modal-field svg {
    flex-shrink: 0;
}

.mdtp-search-modal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--wp--preset--color--navy, #1A2744);
}

.mdtp-search-modal-input::placeholder {
    color: var(--wp--preset--color--gray-cool, #8B9BB4);
}

/* MOBILE BREAKPOINT (â‰¤990px) */
@media (max-width: 990px) {

    /* Hide desktop elements */
    .mdtp-nav-search,
    .mdtp-nav-actions {
        display: none !important;
    }

    /* Show mobile elements */
    .mdtp-mobile-actions {
        display: flex;
    }

    /* Show mobile menu container (it starts off-screen) */
    .mdtp-mobile-menu {
        display: flex;
    }

    /* Hide topbar on mobile */
    .mdtp-topbar {
        /* display: none; */
        padding: 4px 0;
    }

    .mdtp-topbar-right {
        display: none;
    }


    /* Adjust navbar top */
    .mdtp-navbar-top {
        padding: 0 16px;
        height: 60px;
    }

    .mdtp-nav-logo img {
        height: 42px;
    }

    /* Hide the desktop nav bar completely */
    .mdtp-navbar-nav {
        display: none;
    }

    /* Prevent body scroll when menu is open */
    body.mdtp-menu-open {
        overflow: hidden;
    }
}


.mdtp-hero-cover {
    position: relative;
}

/* Custom gradient overlay on the cover image */
.mdtp-hero-cover .wp-block-cover__background {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.50) 42%, rgba(0, 0, 0, 0.15) 100%) !important;
    opacity: 1 !important;
}



.mdtp-hero-sub {
    max-width: 460px;
    opacity: 0.95;
}


/* YMM Card */
.mdtp-ymm-card {
    background: #fff;
    border-radius: var(--mdtp-r-xl);
    padding: 24px;
    box-shadow: var(--mdtp-shadow-xl);
}

.mdtp-ymm-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    margin-bottom: 3px;
}

.mdtp-ymm-card-sub {
    font-size: 12px;
    color: var(--wp--preset--color--navy);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--wp--preset--color--gray-border);
}

.mdtp-ymm-fields {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 14px;
}

.mdtp-ymm-field {
    flex: 1;
}

.mdtp-ymm-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--wp--preset--color--navy);
}

.mdtp-ymm-select {
    width: 100%;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 14px;
    border-radius: var(--mdtp-r-md);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    background: var(--wp--preset--color--off-white);
    color: var(--wp--preset--color--navy);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B9BB4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    transition: border-color var(--mdtp-t-base), box-shadow var(--mdtp-t-base), background var(--mdtp-t-base);
}

.mdtp-ymm-select:focus {
    border-color: var(--wp--preset--color--gold);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18);
}

.mdtp-ymm-select:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mdtp-ymm-btn {
    width: 100%;
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    border: none;
    padding: 13px 24px;
    border-radius: var(--mdtp-r-md);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background var(--mdtp-t-fast), transform var(--mdtp-t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mdtp-ymm-btn:hover {
    background: #f5bc35;
    transform: translateY(-1px);
}

/* FOOTER */
.mdtp-footer {
    background: var(--wp--preset--color--navy-dark);
}

.mdtp-footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 32px 44px;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.mdtp-footer-logo img {
    height: 36px;
    width: auto;
    opacity: 1;
}

.mdtp-footer-brand-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wp--preset--color--gold);
    margin-top: 6px;
    margin-bottom: 12px;
    display: block;
}

.mdtp-footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.7;
    max-width: 260px;
}

.mdtp-footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.mdtp-social-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--mdtp-r-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--mdtp-t-fast);
}

.mdtp-social-btn:hover {
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    border-color: var(--wp--preset--color--gold);
}

.mdtp-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--wp--preset--color--gold);
    margin-bottom: 14px;
}

.mdtp-footer-link {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 10px;
    text-decoration: none;
    transition: color var(--mdtp-t-fast), padding-left var(--mdtp-t-fast);
}

.mdtp-footer-link:hover {
    color: #fff;
    padding-left: 4px;
}

.mdtp-footer-payments {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.mdtp-payment-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mdtp-r-xs);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}

.mdtp-footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mdtp-footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.mdtp-footer-legal {
    display: flex;
    gap: 20px;
}

.mdtp-footer-legal a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--mdtp-t-fast);
}

.mdtp-footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* STATS STRIP */
.mdtp-stats-heading {
    opacity: 1;
}

.mdtp-stats-items {
    gap: 0 !important;
}

.mdtp-stats-item {
    flex: 1;
    gap: 16px !important;
    position: relative;
}

/* Pseudo-element divider to replace raw HTML block */
.mdtp-stats-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: var(--wp--preset--color--gray-border);
}

.mdtp-stats-icon {
    flex-shrink: 0;
    opacity: 1;
}

.mdtp-stats-icon svg path,
.mdtp-stats-icon svg circle {
    stroke: var(--wp--preset--color--gold-dark);
}

@media (max-width: 768px) {
    .mdtp-stats-items {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 32px !important;
    }

    /* Hide dividers on mobile entirely */
    .mdtp-stats-item:not(:last-child)::after {
        display: none;
    }

    .mdtp-stats-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        max-width: none;
        justify-content: center !important;
    }

    /* Categories Mobile */
    .mdtp-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .mdtp-cat-group-title {
        margin-bottom: 16px !important;
    }

    .mdtp-cat-card {
        padding: 16px !important;
    }
}




/* CATEGORIES */
.mdtp-cat-group:last-child {
    margin-bottom: 0 !important;
}

.mdtp-cat-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    clear: both;
}

.mdtp-cat-group-title::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: var(--wp--preset--color--gray-border);
    opacity: 0.6;
}

.mdtp-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px !important;
    align-items: stretch;
}

.mdtp-cat-card {
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border) !important;
    border-radius: 14px;
    text-align: center;
    transition: all var(--mdtp-t-fast);
    position: relative;
    gap: 0 !important;
    text-decoration: none !important;
    display: flex;
    /* For inner wrapping from block editor */
    cursor: pointer;
}

.mdtp-cat-card:hover {
    border-color: var(--wp--preset--color--gold) !important;
    box-shadow: var(--mdtp-shadow-lg);
    transform: translateY(-3px);
}

.mdtp-cat-img-wrap {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    border-radius: var(--mdtp-r-sm);
    overflow: hidden;
    background: var(--wp--preset--color--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--mdtp-t-fast);
}

.mdtp-cat-card:hover .mdtp-cat-img-wrap {
    background: var(--wp--preset--color--gold-light);
}

.mdtp-cat-img-wrap figure {
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

.mdtp-cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mdtp-cat-name {
    z-index: 10;
    font-size: 14px !important;
}

.mdtp-cat-name a {
    text-decoration: none !important;
    color: inherit;
}

.mdtp-cat-name a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
}

.mdtp-cat-arrow {
    z-index: 10;
}

/* BRANDS */
.mdtp-brands-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px !important;
}

.mdtp-brand-logo-wrap {
    height: 84px;
    border: 1.5px solid var(--wp--preset--color--gray-border) !important;
    cursor: pointer;
    transition: border-color var(--mdtp-t-base), box-shadow var(--mdtp-t-base), transform var(--mdtp-t-base);
    overflow: hidden;
}

.mdtp-brand-logo-wrap:hover {
    border-color: var(--wp--preset--color--gold-mid) !important;
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.15);
}

.mdtp-brand-logo-wrap figure {
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mdtp-brand-logo-wrap img {
    max-height: 50px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: filter var(--mdtp-t-base);
}

.mdtp-brand-logo-wrap:hover img {
    filter: grayscale(0%) opacity(1) brightness(1);
}

@media (max-width: 1024px) {
    .mdtp-cat-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .mdtp-brands-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* .mdtp-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    } */

    .mdtp-brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 370px;
    }
}

@media (max-width: 500px) {
    .mdtp-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* max-width:90%;
        margin: 0 auto; */
    }
}

/* BRANDS PAGE */
.mdtp-brands-page .brands-page-hero {
    background: var(--wp--preset--color--off-white);
    border-bottom: 1px solid var(--wp--preset--color--gray-border);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.mdtp-brands-page .brands-page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.05);
    pointer-events: none;
}

.mdtp-brands-page .brands-page-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.03);
    pointer-events: none;
}

.mdtp-brands-page .brands-page-hero-inner,
.mdtp-brands-page .brand-alpha-nav-inner,
.mdtp-brands-page .brands-directory-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.mdtp-brands-page .brands-page-hero .section-eyebrow {
    color: var(--wp--preset--color--gold-dark);
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mdtp-brands-page .brands-page-title {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
}

.mdtp-brands-page .brands-page-sub {
    font-size: 16px;
    max-width: 520px;
    line-height: 1.7;
    margin: 0;
}

.mdtp-brands-page .brand-alpha-nav {
    top: 68px;
    z-index: 90;
    background: var(--wp--preset--color--base);
    border-bottom: 1px solid var(--wp--preset--color--gray-border);
    box-shadow: var(--mdtp-shadow-sm);
    scroll-margin-top: 110px;
}

.mdtp-brands-page .brand-alpha-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
}

.mdtp-brands-page .brand-alpha-nav-inner::-webkit-scrollbar {
    display: none;
}

.mdtp-brands-page .brand-alpha-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--wp--preset--color--gray-cool);
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 4px;
    border-right: 1px solid var(--wp--preset--color--gray-border);
    margin-right: 4px;
}

.mdtp-brands-page .brand-alpha-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mdtp-brands-page .brand-alpha-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--mdtp-r-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    text-decoration: none;
    transition: background var(--mdtp-t-fast), color var(--mdtp-t-fast);
    flex-shrink: 0;
}

.mdtp-brands-page .brand-alpha-btn:hover,
.mdtp-brands-page .brand-alpha-btn:focus-visible {
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
}

.mdtp-brands-page .brands-directory-section {
    background: var(--wp--preset--color--base);
    padding: 60px 0 80px;
}

.mdtp-brands-page .brand-letter-block {
    margin-bottom: 56px;
    scroll-margin-top: 130px;
}

.mdtp-brands-page .brand-letter-block:last-child {
    margin-bottom: 0;
}

.mdtp-brands-page .brand-letter-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.mdtp-brands-page .brand-letter-badge {
    width: 44px;
    height: 44px;
    background: var(--wp--preset--color--navy);
    border-radius: var(--mdtp-r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--wp--preset--color--gold);
    flex-shrink: 0;
    line-height: 1;
}

.mdtp-brands-page .brand-letter-line {
    flex: 1;
    height: 1.5px;
    background: var(--wp--preset--color--gray-border);
}

.mdtp-brands-page .brand-back-top {
    font-size: 12px;
    font-weight: 600;
    color: var(--wp--preset--color--gray-cool);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--mdtp-t-fast);
}

.mdtp-brands-page .brand-back-top:hover,
.mdtp-brands-page .brand-back-top:focus-visible {
    color: var(--wp--preset--color--gold-dark);
}

.mdtp-brands-page .brand-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    text-align: center;
}

.mdtp-brands-page .brand-card {
    display: block;
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-xl);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--mdtp-t-base), box-shadow var(--mdtp-t-base), transform var(--mdtp-t-base);
    padding: 0 0 14px;
}

.mdtp-brands-page .brand-card:hover,
.mdtp-brands-page .brand-card:focus-visible {
    border-color: var(--wp--preset--color--gold);
    box-shadow: 0 6px 24px rgba(26, 39, 68, 0.10);
    transform: translateY(-3px);
}

.mdtp-brands-page .brand-card-inner {
    height: 88px;
    background: var(--wp--preset--color--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 12px;
    transition: background var(--mdtp-t-base);
    padding: 0 12px;
}

.mdtp-brands-page .brand-card:hover .brand-card-inner,
.mdtp-brands-page .brand-card:focus-visible .brand-card-inner {
    background: var(--wp--preset--color--gold-light);
}

.mdtp-brands-page .brand-card-logo {
    font-size: 13px;
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    text-align: center;
    line-height: 1.3;
}

.mdtp-brands-page .brand-card-arrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--wp--preset--color--gold-dark);
    padding: 0 12px;
    transition: padding-left var(--mdtp-t-fast);
}

.mdtp-brands-page .brand-card:hover .brand-card-arrow,
.mdtp-brands-page .brand-card:focus-visible .brand-card-arrow {
    padding-left: 16px;
}

.mdtp-brands-empty {
    background: var(--wp--preset--color--off-white);
    border: 1px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-xl);
    padding: 32px;
    text-align: center;
}

.mdtp-brands-empty h2 {
    margin: 0 0 8px;
}

.mdtp-brands-empty p {
    margin: 0;
}

@media (max-width: 1200px) {
    .mdtp-brands-page .brand-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {
    .mdtp-brands-page .brand-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mdtp-brands-page .brand-alpha-nav {
        top: 60px;
    }
}

@media (max-width: 768px) {

    .mdtp-brands-page .brands-page-hero-inner,
    .mdtp-brands-page .brand-alpha-nav-inner,
    .mdtp-brands-page .brands-directory-inner {
        padding: 0 20px;
    }

    .mdtp-brands-page .brand-alpha-nav {
        top: 60px;
    }

    .mdtp-brands-page .brands-page-hero {
        padding: 48px 0 40px;
    }

    .mdtp-brands-page .brands-directory-section {
        padding: 40px 0 60px;
    }

    .mdtp-brands-page .brand-letter-block {
        margin-bottom: 44px;
        scroll-margin-top: 120px;
    }

    .mdtp-brands-page .brand-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .mdtp-brands-page .brand-card-inner {
        height: 72px;
    }

    .mdtp-brands-page .brand-letter-badge {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .mdtp-brands-page .brand-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CONTACT CTA */
.mdtp-cta-card {
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--mdtp-shadow-xl);
}

.mdtp-cta-columns {
    gap: 0 !important;
}

.mdtp-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 100%;
    overflow: hidden;
}

.mdtp-cta-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.05);
    pointer-events: none;
    z-index: -1;
}

.mdtp-cta-cover {
    min-height: 380px;
    position: relative;
}

/* Override native cover background with custom gradient */
.mdtp-cta-cover .wp-block-cover__background {
    background: linear-gradient(90deg, rgba(26, 39, 68, 0.55) 0%, transparent 60%) !important;
    opacity: 1 !important;
    z-index: 1;
}

.mdtp-cta-buttons {
    gap: 12px;
    flex-wrap: wrap;
}

.wp-block-button.mdtp-btn-ghost-white .wp-block-button__link {
    transition: all var(--mdtp-t-fast);
}

.wp-block-button.mdtp-btn-ghost-white .wp-block-button__link:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: var(--wp--preset--color--base) !important;
}

/* news */


/* TRUST STRIP */
.mdtp-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1280px;
    margin: 0 auto;
}

.mdtp-trust-item {
    position: relative;
    max-width: 100%;
}

.mdtp-trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--wp--preset--color--gray-border);
}

.wp-block-image.mdtp-trust-icon-box {
    flex-shrink: 0;
    margin: 0 !important;
    background: rgba(240, 180, 41, 0.1);
    border: 1.5px solid rgba(240, 180, 41, 0.2);
    border-radius: var(--mdtp-r-lg);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

.wp-block-image.mdtp-trust-icon-box img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain;
}

/* ANIMATIONS */
@keyframes mdtp-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .mdtp-hero-cover .wp-block-columns {
        flex-direction: column;
    }

    .mdtp-hero-cover .wp-block-column:last-child {
        display: none;
    }

    .mdtp-hero-cover .wp-block-column:first-child {
        flex-basis: 100% !important;
    }

    .mdtp-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .mdtp-cta-card {
        min-height: auto;
    }

    .mdtp-cta-cover {
        min-height: 100%;
    }

    .mdtp-trust-grid {
        grid-template-columns: 1fr;
    }

    .mdtp-trust-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 782px) {
    .mdtp-cta-cover {
        display: none;
    }
}


@media (max-width: 768px) {
    .mdtp-topbar-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .mdtp-navbar-top {
        padding: 0 16px;
        height: 60px;
    }

    .mdtp-navbar-nav-inner {
        padding: 0 16px;
        overflow-x: auto;
    }

    .mdtp-hero-cover {
        min-height: auto !important;
    }

    .mdtp-hero-cover .wp-block-cover__inner-container {
        padding: 0;
    }



    .mdtp-ymm-fields {
        flex-direction: column;
    }

    .mdtp-footer-main {
        grid-template-columns: 1fr;
        padding: 36px 20px;
    }

    .mdtp-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ------ FAQ SECTION ------------------------------------------------------------------------------------------------------------------------------â”€ */
.mdtp-faq-section {
    background: var(--wp--preset--color--base, #fff);
}

.mdtp-faq-container {
    display: grid !important;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: flex-start;
}

.mdtp-faq-intro .section-eyebrow,
.mdtp-faq-intro .mdtp-faq-eyebrow {
    display: block;
    text-align: left;
}

.mdtp-faq-intro .section-title,
.mdtp-faq-intro .mdtp-faq-title {
    text-align: left;
    line-height: 1.1;
}

.mdtp-faq-intro .section-sub,
.mdtp-faq-intro .mdtp-faq-sub {
    text-align: left;
    margin: 0;
    max-width: 360px;
}

.mdtp-faq-cta {
    margin-top: 32px;
}

/* Navy button (used in FAQ intro) */
.mdtp-faq-section .wp-block-button .wp-block-button__link.mdtp-btn-navy,
.mdtp-btn-navy {
    background: var(--wp--preset--color--navy, #1A2744);
    color: var(--wp--preset--color--base, #fff);
    padding: 14px 28px;
    border-radius: var(--mdtp-r-md, 8px);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--mdtp-t-fast, 150ms ease);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.mdtp-faq-section .wp-block-button .wp-block-button__link.mdtp-btn-navy:hover,
.mdtp-btn-navy:hover {
    background: var(--wp--preset--color--navy-mid, #2B3F6B);
    transform: translateY(-2px);
    box-shadow: var(--mdtp-shadow-md);
}

@media (max-width: 1024px) {
    .mdtp-faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }


}

@media (max-width: 768px) {
    .mdtp-faq-container {
        gap: 32px;
    }

    .wp-grid-custom-responsive {
        grid-template-columns: 1fr;
    }
}

/* page hero/subheader */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.05);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.03);
    pointer-events: none;
}

.page-hero .page-hero__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* wpforms integration */

/* Remove WPForms default padding/margin issues */
.wpforms-container {
    margin: 0 !important;
}

/* FORM LAYOUT  */
/* div.wpforms-container-full .wpforms-form {
    background: var(--wp--preset--color--base, #ffffff);
    border: 1.5px solid var(--wp--preset--color--gray-border, #E5E7EB);
    border-radius: var(--mdtp-r-xl, 16px);
    padding: 40px;
    box-sizing: border-box;
} */

/* FORM ROWS & GROUPS  */
/* div.wpforms-container-full .wpforms-form .wpforms-field {
    margin-bottom: 22px;
} */

div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--wp--preset--color--navy, #1A2744);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

div.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 0 !important;
    margin-bottom: 15px !important;
}

/* INPUTS */
div.wpforms-container-full .wpforms-form input[type=date],
div.wpforms-container-full .wpforms-form input[type=datetime],
div.wpforms-container-full .wpforms-form input[type=datetime-local],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=month],
div.wpforms-container-full .wpforms-form input[type=number],
div.wpforms-container-full .wpforms-form input[type=password],
div.wpforms-container-full .wpforms-form input[type=range],
div.wpforms-container-full .wpforms-form input[type=search],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=time],
div.wpforms-container-full .wpforms-form input[type=url],
div.wpforms-container-full .wpforms-form input[type=week],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--navy, #1A2744);
    background: var(--wp--preset--color--off-white, #f4f6fa);
    border: 1.5px solid var(--wp--preset--color--gray-border, #E5E7EB);
    border-radius: var(--mdtp-r-md, 8px);
    padding: 13px 18px;
    outline: none;
    transition: border-color var(--mdtp-t-base) ease, box-shadow var(--mdtp-t-base) ease, background var(--mdtp-t-base) ease;
    resize: none;
    box-sizing: border-box;
    max-width: 100%;
}

div.wpforms-container-full .wpforms-form input::placeholder,
div.wpforms-container-full .wpforms-form textarea::placeholder {
    color: var(--wp--preset--color--gray-cool, #9CA3AF);
    font-weight: 500;
}

div.wpforms-container-full .wpforms-form input[type=date]:focus,
div.wpforms-container-full .wpforms-form input[type=datetime]:focus,
div.wpforms-container-full .wpforms-form input[type=datetime-local]:focus,
div.wpforms-container-full .wpforms-form input[type=email]:focus,
div.wpforms-container-full .wpforms-form input[type=month]:focus,
div.wpforms-container-full .wpforms-form input[type=number]:focus,
div.wpforms-container-full .wpforms-form input[type=password]:focus,
div.wpforms-container-full .wpforms-form input[type=range]:focus,
div.wpforms-container-full .wpforms-form input[type=search]:focus,
div.wpforms-container-full .wpforms-form input[type=tel]:focus,
div.wpforms-container-full .wpforms-form input[type=text]:focus,
div.wpforms-container-full .wpforms-form input[type=time]:focus,
div.wpforms-container-full .wpforms-form input[type=url]:focus,
div.wpforms-container-full .wpforms-form input[type=week]:focus,
div.wpforms-container-full .wpforms-form select:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    border-color: var(--wp--preset--color--gold, #F0B429) !important;
    background: var(--wp--preset--color--base, #ffffff) !important;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18) !important;
}

/* ------ TEXTAREA  */
div.wpforms-container-full .wpforms-form textarea {
    max-height: 160px;
    line-height: 1.6;
}

/* ------ SUBMIT BUTTON */
div.wpforms-container-full .wpforms-form button[type=submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--wp--preset--color--gold, #F0B429) !important;
    color: var(--wp--preset--color--navy, #1A2744) !important;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: var(--mdtp-r-md, 8px);
    padding: 16px 28px;
    cursor: pointer;
    width: 100%;
    transition: background var(--mdtp-t-fast) ease, transform var(--mdtp-t-fast) ease, box-shadow var(--mdtp-t-fast) ease;
    margin-top: 12px;
    box-shadow: none;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background: #f5bc35;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.35);
}

div.wpforms-container-full .wpforms-form button[type=submit]:active {
    transform: translateY(0);
}

/* ------ WPFORMS VALIDATION ERRORS  */

div.wpforms-container-full .wpforms-form input.wpforms-error,
div.wpforms-container-full .wpforms-form textarea.wpforms-error {
    border-color: #C0392B;
}

div.wpforms-container-full .wpforms-form input.wpforms-error:focus,
div.wpforms-container-full .wpforms-form textarea.wpforms-error:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14);
}

div.wpforms-container-full .wpforms-form label.wpforms-error,
div.wpforms-container-full .wpforms-form em.wpforms-error {
    font-size: 11px;
    font-weight: 600;
    color: #C0392B;
    display: block;
    margin-top: 6px;
}

/* ------ WPFORMS CONFIRMATION NOTICES â”€ */
div.wpforms-confirmation-container-full {
    background: #E8F5EE;
    border: 1.5px solid #27AE60;
    border-radius: var(--mdtp-r-md, 8px);
    padding: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1E7A44;
}

/* ------ RESPONSIVE ------------------*/
@media (max-width: 768px) {
    /* div.wpforms-container-full .wpforms-form {
        padding: 28px 20px;
    } */

    div.wpforms-container-full .wpforms-form .wpforms-one-half,
    div.wpforms-container-full .wpforms-form .wpforms-one-third {
        width: 100%;
        margin-left: 0;
    }
}

/* contact block card css */

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1.5px solid var(--gray-border);
    border-radius: var(--r-xl);
    padding: 22px 24px;
    margin-bottom: 12px;
    transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.contact-card:hover {
    border-color: var(--gold-mid);
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.12);
    transform: translateY(-2px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--r-lg);
    background: rgba(240, 180, 41, 0.08);
    border: 1.5px solid rgba(240, 180, 41, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--navy)
}

.contact-card-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

.contact-card-value a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--t-fast);
}

.contact-card-value a:hover {
    color: var(--gold-dark);
}

.contact-card-note {
    font-size: 12px;
    color: var(--body-text);
    margin-top: 2px;
}

/* Support hours card */
.contact-support-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(240, 180, 41, 0.06);
    border: 1.5px solid rgba(240, 180, 41, 0.2);
    border-radius: var(--r-xl);
    padding: 20px 22px;
    margin-top: 4px;
}

.contact-support-note-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    background: rgba(240, 180, 41, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-support-note-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-support-note-text {
    font-size: 12px;
    color: var(--body-text);
    line-height: 1.6;
}

/* FAQ page  ------------------------------------------------------------------------------------------------------------------------------â”€  */
/* FAQ page custom grid */
/* Tablet & Desktop - Two column layout */
@media (min-width: 768px) {
    .faq-page-grid {
        grid-template-columns: 280px 1fr;
        /* Sidebar 280px + main content */
        gap: 64px;
    }
}

/* FAQ icon */
.faq-icon-left {
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    background: rgba(240, 180, 41, 0.08);
    border: 1.5px solid rgba(240, 180, 41, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.faq-icon-left img {
    width: 22px;
    height: 22px;
}

/* ------ 404 PAGE ------------------------------------------------------------------------------------------------------------------------------------â”€ */
.notfound-section {
    background: var(--wp--preset--color--off-white);
    /* min-height: calc(100vh - 120px); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    position: relative;
    overflow: hidden;
}

/* Giant background "404" watermark */
.notfound-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(180px, 28vw, 320px);
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    opacity: 0.04;
    letter-spacing: -8px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

/* Decorative orbs */
.notfound-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.05);
    pointer-events: none;
}

.notfound-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 5%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.03);
    pointer-events: none;
}

/* ------ CARD - */
.notfound-inner {
    max-width: 560px;
    width: 100%;
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-2xl);
    padding: 56px 48px;
    padding-top: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: mdtp-fadeInUp 0.5s ease both;
}

/* ------ ICON  */
.notfound-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--wp--preset--color--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.35);
}

/* ------ COPY  */
.notfound-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wp--preset--color--gold-dark);
    margin-bottom: 10px;
}

.notfound-title {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    line-height: 1.15;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.notfound-sub {
    font-size: 15px;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* ------ ACTIONS  */
.notfound-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.notfound-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: var(--mdtp-r-md);
    text-decoration: none;
    transition: background var(--mdtp-t-fast), transform var(--mdtp-t-fast), box-shadow var(--mdtp-t-fast);
}

.notfound-btn-primary:hover {
    background: #f5bc35;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.35);
}

.notfound-btn-secondary {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    text-decoration: none;
    border: 1.5px solid var(--wp--preset--color--navy);
    padding: 12px 22px;
    border-radius: var(--mdtp-r-md);
    transition: background var(--mdtp-t-base), color var(--mdtp-t-base);
}

.notfound-btn-secondary:hover {
    background: var(--wp--preset--color--navy);
    color: var(--wp--preset--color--base);
}

/* ------ RESPONSIVE  */
@media (max-width: 600px) {
    .notfound-section {
        padding: 48px 20px;
        align-items: flex-start;
    }

    .notfound-inner {
        padding: 40px 24px;
        max-width: 80%;
    }

    .notfound-inner img {
        max-width: 90% !important;
    }

    .notfound-actions {
        flex-direction: column;
    }

    .notfound-btn-primary,
    .notfound-btn-secondary {
        /* width: 100%; */
        justify-content: center;
    }
}

.notfound-inner img {
    max-width: 340px;
    margin: 0 auto;
    display: block;
}

/* ------ THANK YOU PAGE ------------------------------------------------------------------------------------------------------------------â”€ */
.thankyou-section {
    background: var(--wp--preset--color--off-white);
    /* min-height: calc(100vh - 120px); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    position: relative;
    overflow: hidden;
}

.thankyou-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.05);
    pointer-events: none;
}

.thankyou-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 5%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.03);
    pointer-events: none;
}

.thankyou-inner {
    max-width: 560px;
    width: 100%;
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-2xl);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: mdtp-fadeInUp 0.5s ease both;
}

/* ------ ICON  */
.thankyou-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--wp--preset--color--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.35);
}

/* ------ COPY  */
.thankyou-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wp--preset--color--gold-dark);
    margin-bottom: 10px;
}

.thankyou-title {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.thankyou-sub {
    font-size: 15px;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto;
}

/* ------ PHONE NUDGE  */
.thankyou-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    background: rgba(240, 180, 41, 0.08);
    border: 1.5px solid rgba(240, 180, 41, 0.22);
    border-radius: var(--mdtp-r-pill);
    padding: 8px 18px;
    text-decoration: none;
    transition: background var(--mdtp-t-fast), border-color var(--mdtp-t-fast);
}

.thankyou-phone:hover {
    background: rgba(240, 180, 41, 0.16);
    border-color: rgba(240, 180, 41, 0.4);
}

/* ------ DIVIDER  */
.thankyou-divider {
    width: 48px;
    height: 2px;
    background: var(--wp--preset--color--gray-border);
    border-radius: 2px;
    margin: 32px auto;
}

/* ------ ACTIONS  */
.thankyou-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.thankyou-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: var(--mdtp-r-md);
    text-decoration: none;
    transition: background var(--mdtp-t-fast), transform var(--mdtp-t-fast), box-shadow var(--mdtp-t-fast);
}

.thankyou-btn-primary:hover {
    background: #f5bc35;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.35);
}

.thankyou-btn-secondary {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    text-decoration: none;
    border: 1.5px solid var(--wp--preset--color--navy);
    padding: 12px 22px;
    border-radius: var(--mdtp-r-md);
    transition: background var(--mdtp-t-base), color var(--mdtp-t-base);
}

.thankyou-btn-secondary:hover {
    background: var(--wp--preset--color--navy);
    color: var(--wp--preset--color--base);
}

/* ------ RESPONSIVE  */
@media (max-width: 600px) {
    .thankyou-section {
        padding: 48px 20px;
        align-items: flex-start;
    }

    .thankyou-inner {
        padding: 40px 28px;
    }

    .thankyou-actions {
        flex-direction: column;
    }

    .thankyou-btn-primary,
    .thankyou-btn-secondary {
        /* width: 100%; */
        justify-content: center;
    }
}

/* news page ----------------------------*/
/* ------ BREADCRUMB ------------------------------------------------------------------------------------------------------------------------------ */
.nd-breadcrumb-bar {
    background: var(--wp--preset--color--off-white);
    border-bottom: 1px solid var(--wp--preset--color--gray-border);
    padding: 12px 0;
}

.nd-breadcrumb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nd-bc-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--wp--preset--color--gray-cool);
    text-decoration: none;
    transition: color var(--mdtp-t-fast);
}

.nd-bc-link:hover {
    color: var(--wp--preset--color--gold-dark);
}

.nd-bc-sep {
    font-size: 12px;
    color: var(--wp--preset--color--gray-border);
}

.nd-bc-current {
    font-size: 12px;
    font-weight: 600;
    color: var(--wp--preset--color--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

/* ------ ARTICLE HERO ------------------------------------------------------------------------------------------------------------------------ */
.nd-hero {
    background: var(--wp--preset--color--off-white);
    border-bottom: 1px solid var(--wp--preset--color--gray-border);
    padding: 52px 0 0;
}

.nd-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.nd-hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.nd-tag {
    display: inline-flex;
    align-items: center;
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--mdtp-r-xs);
}

.nd-hero-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    margin-top: 0;
}

.nd-hero-title a {
    text-decoration: none;
    color: inherit;
}

.nd-hero-excerpt {
    font-size: 16px;
    color: var(--wp--preset--color--body-text);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 24px;
}

.nd-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    /* padding-bottom: 36px; */
    flex-wrap: wrap;
}

.nd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--wp--preset--color--gray-cool);
}

.nd-meta-dot {
    color: var(--wp--preset--color--gray-border);
    font-size: 14px;
}

.nd-hero-img-wrap {
    border-radius: var(--mdtp-r-xl) var(--mdtp-r-xl) 0 0;
    overflow: hidden;
    align-self: flex-end;
}

.nd-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.nd-hero-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* ------ PAGE LAYOUT ------------------------------------------------------------------------------------------------------------------------â”€ */
.nd-layout {
    background: var(--wp--preset--color--base);
    padding: 52px 0 64px;
}

.nd-layout-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    align-items: flex-start;
}

/* ------ SHARE BAR ------------------------------------------------------------------------------------------------------------------------------â”€ */
.nd-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--wp--preset--color--gray-border);
    margin-bottom: 36px;
}

.nd-share-bar-bottom {
    border-bottom: none;
    border-top: 1px solid var(--wp--preset--color--gray-border);
    margin-top: 36px;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 0;
}

.nd-share-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--wp--preset--color--gray-cool);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nd-share-btns {
    display: flex;
    gap: 6px;
}

.nd-share-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--mdtp-r-md);
    background: var(--wp--preset--color--off-white);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--gray-cool);
    text-decoration: none;
    transition: background var(--mdtp-t-fast), border-color var(--mdtp-t-fast), color var(--mdtp-t-fast);
}

.nd-share-btn:hover {
    background: var(--wp--preset--color--navy);
    border-color: var(--wp--preset--color--navy);
    color: var(--wp--preset--color--base);
}

/* ------ ARTICLE PROSE ------------------------------------------------------------------------------------------------------------------â”€ */
.nd-article {
    font-size: 16px;
    color: var(--wp--preset--color--body-text);
    line-height: 1.75;
}

.nd-lead {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--wp--preset--color--navy);
    border-left: 3px solid var(--wp--preset--color--gold);
    padding-left: 20px;
    margin-bottom: 28px;
}

.nd-article p {
    margin-bottom: 20px;
}

.nd-article h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    line-height: 1.25;
    letter-spacing: -0.2px;
    margin-top: 44px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--wp--preset--color--gray-border);
}

.nd-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    margin-top: 32px;
    margin-bottom: 12px;
}

.nd-article strong {
    font-weight: 700;
    color: var(--wp--preset--color--navy);
}

/* ------ LISTS ------------------------------------------------------------------------------------------------------------------------------------------â”€ */
.nd-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nd-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--wp--preset--color--body-text);
    border-radius: var(--mdtp-r-md);
}

.nd-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wp--preset--color--gold-dark);
    flex-shrink: 0;
    margin-top: 8px;
}

/* ------ CALLOUTS ------------------------------------------------------------------------------------------------------------------------------------ */
.nd-callout {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--mdtp-r-lg);
    border-left: 3px solid transparent;
    margin: 28px 0;
}

.nd-callout-warning {
    background: #FDF0E4;
    border-left-color: #E67E22;
}

.nd-callout-info {
    background: #FDF3D6;
    border-left-color: #F0B429;
}

.nd-callout-success {
    background: #E8F5EE;
    border-left-color: #27AE60;
}

.nd-callout-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.nd-callout-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    margin-bottom: 4px;
}

.nd-callout-text {
    font-size: 13px;
    line-height: 1.65;
    color: var(--wp--preset--color--body-text);
}

/* ------ INLINE IMAGE ------------------------------------------------------------------------------------------------------------------------ */
.nd-img-block {
    margin: 32px 0;
    border-radius: var(--mdtp-r-xl);
    overflow: hidden;
    border: 1.5px solid var(--wp--preset--color--gray-border);
}

.nd-img-block img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.nd-img-caption {
    padding: 12px 16px;
    font-size: 12px;
    color: var(--wp--preset--color--gray-cool);
    font-weight: 500;
    background: var(--wp--preset--color--off-white);
    border-top: 1px solid var(--wp--preset--color--gray-border);
    line-height: 1.5;
}

/* ------ CHECKLIST BLOCK ------------------------------------------------------------------------------------------------------------â”€ */
.nd-checklist-block {
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-xl);
    padding: 24px 28px;
    margin: 32px 0;
    box-shadow: var(--mdtp-shadow-sm);
}

.nd-checklist-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid var(--wp--preset--color--gray-border);
}

.nd-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.nd-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--body-text);
    padding: 11px 0;
    border-bottom: 1px solid var(--wp--preset--color--gray-light);
}

.nd-checklist li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nd-check-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--wp--preset--color--gray-border);
    background: var(--wp--preset--color--base);
    display: inline-block;
}

/* ------ ARTICLE TAGS ------------------------------------------------------------------------------------------------------------------------ */
.nd-article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1.5px solid var(--wp--preset--color--gray-border);
}

.nd-article-tags-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--wp--preset--color--gray-cool);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 4px;
}

.nd-article-tag {
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    color: var(--wp--preset--color--navy-mid);
    background: var(--wp--preset--color--off-white);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    padding: 4px 12px;
    border-radius: var(--mdtp-r-pill);
    text-decoration: none;
    transition: background var(--mdtp-t-fast), border-color var(--mdtp-t-fast), color var(--mdtp-t-fast);
}

.nd-article-tag:hover {
    background: var(--wp--preset--color--gold-light);
    border-color: var(--wp--preset--color--gold-mid);
    color: var(--wp--preset--color--gold-darker);
}

/* ------ ARTICLE PREV / NEXT NAV ------------------------------------------------------------------------------------â”€ */
.nd-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
}

.nd-article-nav-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-xl);
    text-decoration: none;
    transition: border-color var(--mdtp-t-base), box-shadow var(--mdtp-t-base), transform var(--mdtp-t-base);
}

.nd-article-nav-btn:hover {
    border-color: var(--wp--preset--color--gold-mid);
    box-shadow: var(--mdtp-shadow-md);
    transform: translateY(-2px);
}

.nd-nav-next {
    justify-content: flex-end;
}

.nd-nav-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--mdtp-r-md);
    background: var(--wp--preset--color--off-white);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--navy);
    transition: background var(--mdtp-t-fast), border-color var(--mdtp-t-fast);
}

.nd-article-nav-btn:hover .nd-nav-arrow {
    background: var(--wp--preset--color--gold);
    border-color: var(--wp--preset--color--gold);
}

.nd-nav-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.nd-nav-text-right {
    text-align: right;
}

.nd-nav-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--wp--preset--color--gray-cool);
}

.nd-nav-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

/* ------ SIDEBAR ------------------------------------------------------------------------------------------------------------------------------------â”€ */
.nd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(110px + 20px);
}

.nd-sidebar-widget {
    background: var(--wp--preset--color--off-white);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-xl);
    padding: 22px;
}

.nd-sidebar-widget-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--wp--preset--color--gray-border);
}

/* Related articles */
.nd-related-list {
    display: flex;
    flex-direction: column;
}

.nd-related-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--wp--preset--color--gray-light);
    text-decoration: none;
}

.nd-related-item:last-child {
    border-bottom: none;
}

.nd-related-item:hover .nd-related-title {
    color: var(--wp--preset--color--gold-dark);
}

.nd-related-img-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--mdtp-r-md);
    overflow: hidden;
    background: var(--wp--preset--color--off-white);
}

.nd-related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--mdtp-t-slow);
}

.nd-related-item:hover .nd-related-img-wrap img {
    transform: scale(1.06);
}

.nd-related-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nd-related-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--wp--preset--color--gold-darker);
}

.nd-related-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    line-height: 1.35;
    transition: color var(--mdtp-t-fast);
}

.nd-related-meta {
    font-size: 11px;
    color: var(--wp--preset--color--gray-cool);
    font-weight: 500;
}

.nd-related-all {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--wp--preset--color--base);
    text-decoration: none;
    padding: 10px;
    border-radius: var(--mdtp-r-md);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    transition: background var(--mdtp-t-fast), border-color var(--mdtp-t-fast);
    background: var(--wp--preset--color--navy-dark);
}

.nd-related-all:hover {
    background: var(--wp--preset--color--navy-mid);
    border-color: var(--wp--preset--color--navy-mid);
}

/* Contact widget */
.nd-widget-contact {
    background: var(--wp--preset--color--navy);
    border-color: var(--wp--preset--color--gray-border);
}

.nd-widget-contact-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--wp--preset--color--base);
    margin-bottom: 8px;
    line-height: 1.3;
    margin-top: 0;
}

.nd-widget-contact-text {
    font-size: 13px;
    color: var(--wp--preset--color--base);
    line-height: 1.6;
    margin-bottom: 16px;
}

.nd-widget-contact-btn {
    display: block;
    text-align: center;
    background: var(--wp--preset--color--gold);
    color: var(--wp--preset--color--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: var(--mdtp-r-md);
    text-decoration: none;
    transition: background var(--mdtp-t-fast), transform var(--mdtp-t-fast);
}

.nd-widget-contact-btn:hover {
    background: var(--wp--preset--color--gold-dark);
    transform: translateY(-1px);
}

/* ------ MORE ARTICLES ------------------------------------------------------------------------------------------------------------------â”€ */
.nd-more-section {
    background: var(--wp--preset--color--off-white);
    padding: 64px 0;
    border-top: 1px solid var(--wp--preset--color--gray-border);
}

.nd-more-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.nd-more-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.nd-more-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    letter-spacing: -0.3px;
}

.nd-more-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--wp--preset--color--gold-dark);
    text-decoration: none;
    transition: opacity var(--mdtp-t-fast);
}

.nd-more-view-all:hover {
    opacity: 0.75;
}

.nd-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nd-more-card {
    background: var(--wp--preset--color--base);
    border: 1.5px solid var(--wp--preset--color--gray-border);
    border-radius: var(--mdtp-r-xl);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform var(--mdtp-t-base), box-shadow var(--mdtp-t-base);
}

.nd-more-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mdtp-shadow-lg);
}

.nd-more-img-wrap {
    position: relative;
    overflow: hidden;
}

.nd-more-img-wrap img {
    width: 100%;
    height: 186px;
    object-fit: cover;
    display: block;
    transition: transform var(--mdtp-t-slow);
}

.nd-more-card:hover .nd-more-img-wrap img {
    transform: scale(1.04);
}

.nd-more-img-wrap .nd-tag {
    position: absolute;
    top: 12px;
    left: 12px;
}

.nd-more-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.nd-more-meta {
    font-size: 11px;
    color: var(--wp--preset--color--gray-cool);
    font-weight: 600;
}

.nd-more-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    line-height: 1.35;
    margin: 0;
    transition: color var(--mdtp-t-fast);
}

.nd-more-card:hover .nd-more-card-title {
    color: var(--wp--preset--color--gold-dark);
}

.nd-more-excerpt {
    font-size: 13px;
    color: var(--wp--preset--color--body-text);
    line-height: 1.65;
    flex: 1;
}

.nd-more-read {
    font-size: 12px;
    font-weight: 700;
    color: var(--wp--preset--color--gold-dark);
    margin-top: 4px;
}

/* ------ RESPONSIVE ------------------------------------------------------------------------------------------------------------------------------â”€ */
@media (max-width: 1024px) {
    .nd-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nd-hero-img-wrap {
        border-radius: var(--mdtp-r-xl);
        max-height: 280px;
    }

    .nd-hero-img {
        height: 280px;
    }

    .nd-layout-inner {
        grid-template-columns: 1fr;
    }

    .nd-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .nd-more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nd-breadcrumb-inner,
    .nd-hero-inner,
    .nd-layout-inner,
    .nd-more-inner {
        padding: 0 20px;
    }

    .nd-bc-current {
        max-width: 220px;
    }

    .nd-hero {
        padding: 36px 0 0;
    }

    .nd-layout {
        padding: 36px 0 48px;
    }

    .nd-article-nav {
        grid-template-columns: 1fr;
    }

    .nd-sidebar {
        grid-template-columns: 1fr;
    }

    .nd-more-grid {
        grid-template-columns: 1fr;
    }

    .nd-more-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nd-nav-title {
        max-width: 180px;
    }

    .nd-share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* product detail cusom css _________________________ */

.woocommerce.wp-block-breadcrumbs {
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-border);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    max-width: 100% !important;
    margin-bottom: var(--wp--preset--spacing--50);
}

nav.woocommerce-breadcrumb {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto !important;
    display: flex;
    font-weight: 600 !important;
    /* margin: 0 32px !important; */

}

nav.woocommerce-breadcrumb a {
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 0 2px;
}

/*  PRIVACY POLICY  */
.mdtp-policy-hero {
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-border);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.mdtp-policy-hero::before {
    content: " ";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.05);
    pointer-events: none;
}

.mdtp-policy-hero::after {
    content: " ";
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.03);
    pointer-events: none;
}

.mdtp-policy-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.mdtp-policy-hero .mdtp-section-eyebrow {
    color: var(--gold-dark);
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mdtp-policy-hero-title {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

.mdtp-policy-hero-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-cool);
}

.mdtp-policy-body {
    padding: 64px 0 96px;
    background: var(--white);
}

.mdtp-policy-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.mdtp-policy-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: flex-start;
}

.mdtp-policy-toc {
    position: sticky;
    top: 96px;
}

.mdtp-policy-toc-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-cool);
    margin-bottom: 14px;
}

.mdtp-policy-toc-link {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-cool);
    padding: 7px 0 7px 12px;
    border-left: 2px solid var(--gray-border);
    text-decoration: none;
    transition: color var(--mdtp-t-fast), border-color var(--mdtp-t-fast);
    line-height: 1.4;
}

.mdtp-policy-toc-link:hover,
.mdtp-policy-toc-link.active {
    color: var(--navy);
    border-left-color: var(--gold);
}

.mdtp-policy-content {
    min-width: 0;
}

.mdtp-policy-section {
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-border);
    margin-bottom: 48px;
}

.mdtp-policy-section--last {
    border-bottom: none;
    margin-bottom: 0;
}

.mdtp-policy-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.2px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.mdtp-policy-text {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.75;
    margin-bottom: 14px;
    max-width: 720px;
}

@media (max-width: 900px) {
    .mdtp-policy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mdtp-policy-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        background: var(--off-white);
        border: 1px solid var(--gray-border);
        border-radius: var(--mdtp-r-lg);
        padding: 16px 20px;
    }

    .mdtp-policy-toc-label {
        width: 100%;
        margin-bottom: 10px;
    }

    .mdtp-policy-toc-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 4px 12px 4px 0;
        margin-right: 12px;
    }

    .mdtp-policy-toc-link:hover {
        border-left-color: transparent;
        border-bottom-color: var(--gold);
    }
}

@media (max-width: 600px) {
    .mdtp-policy-body {
        padding: 48px 0 72px;
    }

    .mdtp-policy-inner {
        padding: 0 20px;
    }

    .mdtp-policy-hero-inner {
        padding: 0 20px;
    }

    .mdtp-policy-section {
        padding-bottom: 36px;
        margin-bottom: 36px;
    }
}

/* ----------------------------------- */
/* wocommerce customization */
/* -------------------------------------- */

/* product detail page */
.wc-block-components-notice-banner:focus-visible {
    outline: none;
}

.woocommerce-notices-wrapper {
    padding: 0 32px;
}

.wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content {
    font-weight: 600;
    color: var(--navy);
}

/* product seciton */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-template,
.wp-block-woocommerce-product-collection .wp-block-heading {
    padding: 0 32px !important;
}

.product-detail-price {
    border-top: 1.5px solid var(--gray-border);
    border-bottom: 1.5px solid var(--gray-border);
}

.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px !important;
}

/* quanitty selector */
button.wc-block-components-quantity-selector__button {
    width: 38px;
    height: 46px;
    background: var(--off-white) !important;
    color: var(--navy) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), color var(--t-fast);
    flex-shrink: 0;
    font-weight: 800 !important;
}

.wc-block-components-quantity-selector__button--minus {
    border-right: 1px solid var(--gray-border) !important;
}

.wc-block-components-quantity-selector__button--plus {
    border-left: 1px solid var(--gray-border) !important;
}

.wc-block-components-quantity-selector {
    border: 1.5px solid var(--gray-border) !important;
}

.single_add_to_cart_button {
    width: 100%;
}

/* tabs */
.wp-block-woocommerce-product-details .woocommerce-tabs {
    padding: 0 32px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.25);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: var(--r-lg);
    border: 1.5px solid var(--gray-border);
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.woocommerce-tabs ul.tabs li {
    border-color: var(--gray-border) !important;
}

.woocommerce-tabs ul.tabs li.active {
    border-color: var(--gold) !important;
}

.woocommerce-tabs h2 {
    font-size: 20px;
}

.woocommerce-tabs p,
.woocommerce-tabs li {
    font-size: 14px;
}

.product-detail-related-loop {
    margin-bottom: 42px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
}

.product-detail-related-loop li {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-detail-related-loop .product {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1.5px solid var(--gray-border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.product-detail-related-loop .product:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-mid);
}

@media (max-width: 1024px) {
    .product-detail-related-loop {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-related-loop {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {
    .product-detail-related-loop {
        grid-template-columns: repeat(1, 1fr);
    }
}

a.added_to_cart.wc_forward {
    font-weight: 600;
    text-decoration: underline;
    margin-top: 0;
    padding-top: 0;
}

/* cart page */
.wc-block-components-quantity-selector {
    width: auto;
}


/* my account page styling ------------------------------ */
/* ── MY ACCOUNT SIDEBAR NAV ──────────────────────────── */
.woocommerce-MyAccount-navigation {
    background: var(--navy);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    /* background: rgba(255, 255, 255, 0.07); */
    color: var(--white);
    text-decoration: none !important;
    color: #f0b429 !important;
}

.woocommerce-MyAccount-navigation ul li.is-active>a {
    /* background: rgba(240, 180, 41, 0.1); */
    color: var(--gold);
    border-left-color: var(--gold);
    font-weight: 700;
    text-decoration: none !important;
    padding-left: 10px;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: rgba(192, 57, 43, 0.7) !important;
}

/* .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #e74c3c !important;
    background: rgba(192, 57, 43, 0.08) !important;
} */

/* ── CONTENT AREA ────────────────────────────────────── */
.woocommerce-MyAccount-content {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    width: 62% !important;
}

.woocommerce-MyAccount-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--body-text);
    line-height: 1.7;
}

.woocommerce-MyAccount-content p strong {
    color: var(--navy);
    font-weight: 700;
}

.woocommerce-MyAccount-content p a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--t-fast);
}

.woocommerce-MyAccount-content p a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* ── NOTICES ─────────────────────────────────────────── */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--r-md);
    list-style: none;
    border-left: 3px solid;
}

.woocommerce-notices-wrapper .woocommerce-message {
    background: #E8F5EE;
    color: #1E7A44;
    border-left-color: #27AE60;
}

.woocommerce-notices-wrapper .woocommerce-error {
    background: #FAECEB;
    color: #8C2318;
    border-left-color: #C0392B;
}

.woocommerce-notices-wrapper .woocommerce-info {
    background: var(--gold-light);
    color: #8F6706;
    border-left-color: var(--gold);
}

/* ── ORDERS TABLE ────────────────────────────────────── */
.woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.woocommerce-MyAccount-content table thead th {
    background: var(--off-white);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid var(--gray-border);
}

.woocommerce-MyAccount-content table tbody td {
    border-bottom: 1px solid var(--gray-border);
    color: var(--body-text);
    vertical-align: middle;
}

.woocommerce-MyAccount-content table tbody tr:hover td {
    background: var(--off-white);
}

.woocommerce-MyAccount-content table tbody tr:last-child td {
    border-bottom: none;
}

/* ── ORDER STATUS BADGES ─────────────────────────────── */
.woocommerce-order-status {
    display: inline-block;
    border-radius: var(--r-xs);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.woocommerce-order-status.status-completed {
    background: #E8F5EE;
    color: #1E7A44;
}

.woocommerce-order-status.status-processing {
    background: var(--gold-light);
    color: #8F6706;
}

.woocommerce-order-status.status-on-hold {
    background: #FDF0E4;
    color: #A0540E;
}

.woocommerce-order-status.status-cancelled {
    background: #FAECEB;
    color: #8C2318;
}

.woocommerce-order-status.status-pending {
    background: var(--gray-light);
    color: var(--gray-cool);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--r-sm);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: var(--shadow-sm);
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover {
    background: #f5bc35;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.35);
}

.woocommerce-MyAccount-content .button.view {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    box-shadow: none;
}

.woocommerce-MyAccount-content .button.view:hover {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* ── FORM FIELDS ─────────────────────────────────────── */
.woocommerce-MyAccount-content .form-row label,
.woocommerce-MyAccount-content .woocommerce-form-row label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.woocommerce-MyAccount-content .form-row input.input-text,
.woocommerce-MyAccount-content .form-row input[type="text"],
.woocommerce-MyAccount-content .form-row input[type="email"],
.woocommerce-MyAccount-content .form-row input[type="password"],
.woocommerce-MyAccount-content .form-row select {
    width: 100%;
    font-size: 14px;
    border-radius: var(--r-md);
    border: 1.5px solid var(--gray-border);
    background: var(--white);
    color: var(--navy);
    outline: none;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.woocommerce-MyAccount-content .form-row input:focus,
.woocommerce-MyAccount-content .form-row select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18);
}

/* ── ADDRESSES ───────────────────────────────────────── */
.woocommerce-MyAccount-content .woocommerce-Address {
    background: var(--off-white);
    border: 1px solid var(--gray-border);
    border-radius: var(--r-lg);
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.woocommerce-MyAccount-content address {
    font-size: 14px;
    color: var(--body-text);
    line-height: 1.7;
    font-style: normal;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
    padding-top: 15px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    background: #441a1a;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #fff !important;
}

.woocommerce-account main .woocommerce {
    padding: 0 32px !important;
}

.woocommerce-account main .woocommerce-orders-table__cell-order-actions a {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content {
        margin-top: 32px;
    }

    .woocommerce-MyAccount-content {
        width: calc(100vw - 64px) !important;
        max-width: 100% !important;
        /* Prevents overflow on smaller screens */
        box-sizing: border-box;
        /* Better width calculation */
    }

    .woocommerce-MyAccount-content .u-column1.col-1.woocommerce-Address {
        margin-bottom: 16px !important;
    }

}

.woocommerce-MyAccount-content h2 {
    font-size: 24px;
}

.woocommerce-MyAccount-content .woocommerce-Address header,
.woocommerce-MyAccount-content .woocommerce-Address address {
    padding: 0px 20px 10px 20px;
}

.woocommerce-MyAccount-content .woocommerce-Addresses a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--t-fast);
    float: left !important;
}

/* cart page */
.woocommerce-cart main {
    margin: 32px 0;
    /* padding: 0 32px !important; */
}

.woocommerce-cart h1 {
    padding: 0px 32px;
    margin-bottom: 24px;
}

.woocommerce-cart .wc-block-cart.wp-block-woocommerce-filled-cart-block {
    padding: 0 32px;
}

/* checkout */
/* .wp-block-woocommerce-checkout {
    margin-top: 32px !important;
} */

.wc-block-components-sidebar-layout.wc-block-checkout {
    padding: 0 32px;
}

/* thank you */
.wc-block-order-confirmation-status h1,
.wc-block-order-confirmation-status p {
    padding: 0 32px;
}

.wp-block-woocommerce-order-confirmation-summary ul {
    padding: 0 32px;
}

.wp-block-woocommerce-order-confirmation-totals-wrapper h2,
.wp-block-woocommerce-order-confirmation-totals-wrapper .wp-block-woocommerce-order-confirmation-totals {
    padding: 0 32px;
}


.wp-block-woocommerce-order-confirmation-billing-wrapper {
    padding: 0 32px;
}

.wp-block-woocommerce-order-confirmation-additional-information p {
    padding: 0 32px;
}

.woocommerce-orders-table__cell-order-actions a {
    margin-bottom: 0 !important;
    padding: 5px 15px;
}

/* ── SIDEBAR SEARCH ───────────────────────────────────────── */
.sidebar-search-wrap {
    position: relative;
    margin-bottom: 0px;
}

.sidebar-search-input {
    width: 100%;
    padding: 12px 35px 12px 16px;
    border: none;
    border-radius: var(--mdtp-r-default);
    font-size: 15px;
    font-family: inherit;
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--navy);
    transition: border-color var(--mdtp-t-fast);
}

.sidebar-search-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--gold-mid);
}

.sidebar-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8B9BB4;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--mdtp-t-fast);
}

.sidebar-search-btn:hover {
    color: var(--wp--preset--color--navy);
}

/* woocommerce single product extra */
.single-product .woocommerce-product-gallery__image img {
    border-radius: 10px !important;
}

/* order summary page / order thank you page */
.wp-block-woocommerce-order-confirmation-billing-wrapper.wc-block-order-confirmation-billing-wrapper.alignwide {
    margin-top: 15px;
}

.wp-block-woocommerce-order-confirmation-additional-fields-wrapper h2,
.wp-block-woocommerce-order-confirmation-additional-fields-wrapper .wp-block-woocommerce-order-confirmation-additional-fields {
    padding: 0 32px !important;
}

/* my acccount same height */
@media (min-width: 1024px) {
    .woocommerce-account form.woocommerce-form.woocommerce-form-login.login {
        min-height: 358px;
    }
}

/* cart page responsive issue fixed */
@media (max-width: 364px) {
    .woocommerce-cart .is-mobile table.wc-block-cart-items .wc-block-cart-items__row {
        display: flex !important;
        flex-direction: column;
    }

    .woocommerce-cart td.wc-block-cart-item__image {
        max-width: 120px;
    }
}

/* form loader issue fixing bro */
img.wpforms-submit-spinner {
    margin: 0 auto !important;
    /* display: flex !important; */
    padding-top: 20px !important;
}

.wpforms-submit-container {
    display: flex;
    flex-direction: column;
}


/* single view fixing shop page */
.products-grid.list-view {
    min-height: auto !important;
}