/* ==========================================================================
   Syncfitt Site-Wide Design System (Loaded AFTER dynamic.css)
   Fixes white-text contrast issues, yellow button overrides, header/footer & mobile icon sizing.
   ========================================================================== */

/* Preserve position:sticky on #header-content by keeping ancestors overflow:visible,
   and clip horizontal overflow only on sibling sections (#main-content, #nasa-footer) */
html,
body.sf-site-modern,
body.sf-site-modern #wrapper {
    max-width: 100% !important;
    overflow-x: visible !important;
}

body.sf-site-modern #main-content,
body.sf-site-modern #nasa-footer {
    max-width: 100% !important;
    overflow-x: clip !important;
}

body.sf-site-modern {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #334155;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

body.sf-site-modern #main-content {
    background-color: #ffffff;
    color: #334155;
}

/* Force Header & Navigation to Full 100% Width Across Desktop, Tablet & Mobile */
html body.sf-site-modern #header-content,
html body.sf-site-modern #header-content .header-wrapper,
html body.sf-site-modern #header-content .nasa-header-mobile-layout,
html body.sf-site-modern #header-content .sticky-wrapper,
html body.sf-site-modern #header-content #masthead,
html body.sf-site-modern #header-content .nasa-elements-wrap-bg {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html body.sf-site-modern #header-content .row {
    width: 100% !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1199px) {
    html body.sf-site-modern #header-content .row {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    html body.sf-site-modern #header-content .nasa-header-search-wrap {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    html body.sf-site-modern #header-content .logo-wrapper,
    html body.sf-site-modern #header-content .icons-wrapper {
        flex-shrink: 0 !important;
    }
}

body.sf-site-modern h1,
body.sf-site-modern h2,
body.sf-site-modern h3,
body.sf-site-modern h4 {
    font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}

/* --- 1. Header & Contrast Fixes (Preserve transparent product-header before scroll!) --- */
body.sf-site-modern #header-content .header-wrapper.header-type-8,
body.sf-site-modern #header-content .header-type-8 #masthead,
body.sf-site-modern #header-content .nasa-header-mobile-layout .sticky-wrapper:not(.product-header) #masthead,
body.sf-site-modern #header-content .nasa-header-mobile-layout .product-header.fixed-already #masthead {
    background-color: #06346f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobile Product Page: Header starts hidden/transparent and appears on scroll (.fixed-already) */
body.sf-site-modern.nasa-in-mobile #header-content .product-header:not(.fixed-already) #masthead {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.sf-site-modern #header-content .nasa-header-flex.nasa-elements-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Search Bar — Match Outer Wrapper to Pill Input & Crisp Berry Icon Contrast */
body.sf-site-modern #header-content .nasa-header-search-wrap {
    margin-left: 24px !important;
    margin-right: 24px !important;
    max-width: 520px;
}

html body.sf-site-modern #header-content .nasa-search-space,
html body.sf-site-modern #header-content .nasa-show-search-form.nasa-search-relative,
html body.sf-site-modern #header-content .search-wrapper.nasa-ajax-search-form-container,
html body.sf-site-modern #header-content .nasa-ajax-search-form-container.modern .nasa-search {
    border-radius: 999px !important;
    overflow: hidden !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.sf-site-modern #header-content .nasa-ajax-search-form-container.modern .nasa-search {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

body.sf-site-modern #header-content .nasa-ajax-search-form-container.modern .search-input {
    background-color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 999px !important;
    padding: 0 52px 0 20px !important;
    height: 44px !important;
    width: 100% !important;
    font-size: 14px !important;
    color: #0f172a !important;
    margin: 0 !important;
}

body.sf-site-modern #header-content .nasa-ajax-search-form-container.modern .search-input:focus {
    border-color: #d03569 !important;
    box-shadow: 0 0 0 3px rgba(208, 53, 105, 0.25) !important;
    outline: none !important;
}

html body.sf-site-modern #header-content .nasa-icon-submit-page {
    position: absolute !important;
    left: auto !important;
    right: 5px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background-color: #d03569 !important;
    color: #ffffff !important;
    padding: 0 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.2s ease;
}

html body.sf-site-modern #header-content .nasa-icon-submit-page::before {
    display: none !important;
    content: none !important;
}

html body.sf-site-modern #header-content .nasa-icon-submit-page:hover {
    background-color: #031b3a !important;
}

html body.sf-site-modern #header-content .nasa-icon-submit-page > svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 17px !important;
    height: 17px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

html body.sf-site-modern #header-content .nasa-icon-submit-page > svg *,
html body.sf-site-modern #header-content .nasa-icon-submit-page > svg path,
html body.sf-site-modern #header-content .nasa-icon-submit-page > svg circle {
    stroke: #ffffff !important;
    fill: none !important;
}

html body.sf-site-modern .nasa-submit-search,
html body.sf-site-modern .nasa-submit-search.hidden-tag,
html body.sf-site-modern .nasa-search-space button.nasa-submit-search,
html body.sf-site-modern .nasa-search-all {
    display: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

html body.sf-site-modern .nasa-search-space button:not(.nasa-close-search),
html body.sf-site-modern .search-dropdown button:not(.nasa-close-search) {
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Refined Header Action Icons */
body.sf-site-modern #header-content .header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.sf-site-modern #header-content .header-icons > li > a,
body.sf-site-modern #header-content .mobile_toggle,
body.sf-site-modern #header-content .mobile-search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.sf-site-modern #header-content .header-icons > li > a:hover,
body.sf-site-modern #header-content .mobile_toggle:hover,
body.sf-site-modern #header-content .mobile-search:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: #fda4af !important;
}

body.sf-site-modern #header-content .header-icons svg,
body.sf-site-modern #header-content .nasa-icon svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
}

body.sf-site-modern #header-content .nasa-icon-filter-cat,
body.sf-site-modern #header-content .nasa-icon-compare {
    display: none;
}

/* Sticky Header */
body.sf-site-modern .nasa-header-sticky.fixed-already,
body.sf-site-modern .nasa-header-sticky.fixed-already #masthead {
    background: rgba(3, 27, 58, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(2, 12, 27, 0.22);
}

/* Main Navigation Bar (Crisp Light Bar with Dark Navy Links) */
body.sf-site-modern .header-type-8 .nasa-elements-wrap-bg {
    display: block !important;
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Remove Desktop Categories Section Completely & Center Main Nav */
html body.sf-site-modern #nasa-menu-vertical-header,
html body.sf-site-modern .nasa-menu-vertical-header,
html body.sf-site-modern .header-type-8 #nasa-menu-vertical-header,
html body.sf-site-modern #header-content .nasa-icon-filter-cat {
    display: none !important;
}

html body.sf-site-modern .wide-nav .nasa-menus-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

html body.sf-site-modern .wide-nav .nav-wrapper.main-menu-warpper {
    margin: 0 auto !important;
}

body.sf-site-modern #site-navigation .nasa-nav-sc-menu,
body.sf-site-modern .wide-nav .header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body.sf-site-modern .wide-nav .menu-item > a.nasa-title-menu {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    color: #031b3a !important;
    padding: 12px 18px !important;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

body.sf-site-modern .wide-nav .menu-item > a.nasa-title-menu:hover,
body.sf-site-modern .wide-nav .menu-item.current-menu-item > a.nasa-title-menu {
    color: #d03569 !important;
    background-color: rgba(208, 53, 105, 0.08);
}

body.sf-site-modern .wide-nav .menu-item:not(.menu-item-has-children) > a.nasa-title-menu .nasa-open-child {
    display: none !important;
}

/* Remove Active/Selected Underline Bar in Desktop Menu */
html body.sf-site-modern .nav-wrapper .root-item > a::before,
html body.sf-site-modern .nav-wrapper .root-item > a::after,
html body.sf-site-modern .nav-wrapper .root-item:hover > a::after,
html body.sf-site-modern .nav-wrapper .root-item.current-menu-item > a::after,
html body.sf-site-modern .nav-wrapper .root-item.current-menu-ancestor > a::after,
html body.sf-site-modern .wide-nav .menu-item > a.nasa-title-menu::before,
html body.sf-site-modern .wide-nav .menu-item > a.nasa-title-menu::after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* --- 2. Mobile Header & Sticky Footer Icons (Adjusted Sizes & High Contrast) --- */
@media (max-width: 767px) {
    body.sf-site-modern .nasa-header-mobile-layout .elements-wrapper.right-icons {
        justify-content: flex-end !important;
    }

    body.sf-site-modern #header-content .nasa-header-mobile-layout .header-icons > li > a,
    body.sf-site-modern #header-content .nasa-header-mobile-layout .mobile_toggle,
    body.sf-site-modern #header-content .nasa-header-mobile-layout .mobile-search {
        min-width: 42px;
        height: 42px;
        padding: 0 8px;
    }

    body.sf-site-modern #header-content .nasa-header-mobile-layout .sticky-wrapper:not(.product-header) svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Mobile Product Page: All 4 Header Icons (Back, Home, Cart, Search) Uniform & Pure White */
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .ns-back-history,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .ns-back-shop,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .mini-cart,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .mobile-search {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background-color: rgba(3, 27, 58, 0.45) !important;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .ns-back-history,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .ns-back-shop,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .mini-cart,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .mobile-search {
        background-color: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        color: #ffffff !important;
    }

    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .ns-back-history svg,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .ns-back-shop svg,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .mini-cart svg,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .mobile-search svg {
        width: 20px !important;
        height: 20px !important;
        color: #ffffff !important;
        stroke: #ffffff !important;
        fill: none !important;
    }

    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .ns-back-history svg,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .ns-back-shop svg,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .mini-cart svg,
    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header.fixed-already .mobile-search svg {
        width: 22px !important;
        height: 22px !important;
        color: #ffffff !important;
        stroke: #ffffff !important;
        fill: none !important;
    }

    html body.sf-site-modern.nasa-in-mobile #wrapper .product-header .mini-cart .icon-wrap {
        height: auto !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

body.sf-site-modern .nasa-bottom-bar {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -8px 28px rgba(3, 27, 58, 0.1);
    padding: 6px 0 !important;
}

body.sf-site-modern .nasa-bottom-bar .nasa-bottom-bar-icons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

body.sf-site-modern .nasa-bottom-bar .nasa-bot-icons {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #1e293b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 8px;
}

body.sf-site-modern .nasa-bottom-bar .nasa-bot-icons.active,
body.sf-site-modern .nasa-bottom-bar .nasa-bot-icons:hover {
    color: #d03569 !important;
}

body.sf-site-modern .nasa-bottom-bar .nasa-bot-icons svg {
    width: 24px !important;
    height: 24px !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block;
    margin: 0 auto;
}

/* --- 3. Elementor Content Contrast & Button Overrides (Defeats dynamic.css yellow) --- */
body.sf-site-modern .elementor-widget-heading .elementor-heading-title {
    line-height: 1.15;
}

body.sf-site-modern .elementor-widget-button .elementor-button {
    font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    border-style: solid;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body.sf-site-modern .elementor-widget-button .elementor-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* Accordion & Icon-Box Contrast Guard */
body.sf-site-modern .elementor-accordion .elementor-accordion-item {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

body.sf-site-modern .elementor-accordion .elementor-tab-title {
    padding: 18px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #031b3a !important;
    background-color: #f8fafc !important;
}

body.sf-site-modern .elementor-accordion .elementor-tab-title.elementor-active {
    color: #d03569 !important;
    background-color: #ffffff !important;
}

body.sf-site-modern .elementor-accordion .elementor-tab-content {
    color: #475569 !important;
    background-color: #ffffff !important;
    padding: 4px 20px 18px;
}

/* Override dynamic.css global yellow buttons on WooCommerce Shop/Product/Cart/Checkout */
html body.sf-site-modern .product-item,
html body.sf-site-modern .ns-items-gap .product-item,
html body.sf-site-modern .related-product .product-item {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(3, 27, 58, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Flush Product Card Images (Zero Left/Right/Top Gap — Matches Shop Page) */
html body.sf-site-modern .product-item .product-img-wrap,
html body.sf-site-modern .product-item .product-img-wrap .product-img,
html body.sf-site-modern .product-item .product-img-wrap .main-img,
html body.sf-site-modern .product-item .product-img-wrap .back-img,
html body.sf-site-modern .related-product .product-item .product-img-wrap,
html body.sf-site-modern .related-product .product-item .product-img-wrap > a.product-img,
html body.sf-site-modern .related-product .product-item .product-img-wrap .product-img > a {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

html body.sf-site-modern .product-item .product-img-wrap img,
html body.sf-site-modern .related-product .product-item .product-img-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
}

/* Related Products Horizontal Slick Slider: Keep Native Carousel, Put Gap Outside & Card Border Inside */
html body.sf-site-modern .related-product .ns-items-gap > .slick-list,
html body.sf-site-modern .related-product .nasa-slick-slider:not(.slick-initialized) {
    margin-left: -6px !important;
    margin-right: -6px !important;
}

html body.sf-site-modern .related-product .product-item,
html body.sf-site-modern .related-product .ns-items-gap .product-item,
html body.sf-site-modern .related-product .ns-items-gap > .slick-list .slick-slide,
html body.sf-site-modern .related-product .nasa-slick-slider > .slick-list .slick-slide {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 6px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

@media (min-width: 768px) {
    html body.sf-site-modern .related-product .ns-items-gap > .slick-list,
    html body.sf-site-modern .related-product .nasa-slick-slider:not(.slick-initialized) {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    html body.sf-site-modern .related-product .product-item,
    html body.sf-site-modern .related-product .ns-items-gap .product-item,
    html body.sf-site-modern .related-product .ns-items-gap > .slick-list .slick-slide {
        padding: 4px 10px !important;
    }
}

html body.sf-site-modern .related-product .product-item > .product-img-wrap {
    border: 1px solid #e2e8f0 !important;
    border-bottom: none !important;
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

html body.sf-site-modern .related-product .product-item > .product-info-wrap.info {
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 18px 18px !important;
    background: #ffffff !important;
    padding: 12px 14px 16px !important;
    margin: 0 !important;
}

/* Mobile & Desktop Wishlist Heart: No Square Box, Turns Red When Selected */
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist:hover,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist:focus,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist:active,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.nasa-added,
html body.sf-site-modern.nasa-in-mobile .product-item .nasa-product-grid .btn-wishlist {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist svg {
    width: 22px !important;
    height: 22px !important;
    color: #475569 !important;
    fill: currentColor !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist:not(.nasa-added):not(.added) .ns-filled {
    display: none !important;
}

html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist:not(.nasa-added):not(.added) .ns-stroke {
    display: inline-block !important;
}

html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.nasa-added .ns-stroke,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.added .ns-stroke {
    display: none !important;
}

html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.nasa-added .ns-filled,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.added .ns-filled {
    display: inline-block !important;
}

html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.nasa-added,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.added,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.nasa-added .nasa-icon,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.added .nasa-icon,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.nasa-added svg,
html body.sf-site-modern .product-item .nasa-product-grid .btn-wishlist.added svg {
    color: #e11d48 !important;
    fill: #e11d48 !important;
}

body.sf-site-modern .product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(3, 27, 58, 0.1);
}

body.sf-site-modern .product-item .info {
    padding: 14px 16px 18px !important;
}

body.sf-site-modern .product-item .name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #031b3a !important;
}

body.sf-site-modern .product-item .price,
body.sf-site-modern .product-item .price ins .amount,
body.sf-site-modern .product-item .price > .amount {
    color: #031b3a !important;
    font-weight: 800;
}

body.sf-site-modern .product-item .badge.sale-label {
    background: #d03569 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-weight: 800;
    padding: 4px 10px;
}

html body.sf-site-modern .product-item .add-to-cart-grid,
html body.sf-site-modern .nasa-modern-6 .product-item .add-to-cart-grid,
html body.sf-site-modern .nasa-modern-2 .product-item .add-to-cart-grid,
html body.sf-site-modern .nasa-modern-10 .product-item .add-to-cart-grid,
html body.sf-site-modern .product-item .add-to-cart-grid:not(.loading),
html body.sf-site-modern .nasa-modern-6 .product-item .add-to-cart-grid:not(.loading),
html body.sf-site-modern .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
html body.sf-site-modern #place_order,
html body.sf-site-modern .woocommerce a.button:not(.elementor-button),
html body.sf-site-modern .woocommerce button.button:not(.reset_variations):not(.single_add_to_cart_button),
html body.sf-site-modern .wpcf7 input[type="submit"] {
    background-color: #031b3a !important;
    border-color: #031b3a !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Single Product Add-to-Cart & Sticky Footer Add-to-Cart / Buy Now (Keep Non-Rounded Shape) */
html body.sf-site-modern.single-product form.cart .single_add_to_cart_button,
html body.sf-site-modern.single-product form.cart .nasa-buy-now {
    background-color: #031b3a !important;
    border-color: #031b3a !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
}

html body.sf-site-modern .ns_btn-fixed .button,
html body.sf-site-modern .ns_btn-fixed .single_add_to_cart_button,
html body.sf-site-modern .ns_btn-fixed .nasa-buy-now,
html body.sf-site-modern .nasa-add-to-cart-fixed .button,
html body.sf-site-modern .nasa-add-to-cart-fixed .nasa-buy-now {
    border-radius: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

html body.sf-site-modern .ns_btn-fixed .single_add_to_cart_button {
    background-color: #031b3a !important;
    border-color: #031b3a !important;
}

html body.sf-site-modern .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
html body.sf-site-modern .nasa-modern-6 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
html body.sf-site-modern .nasa-modern-2 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
html body.sf-site-modern .nasa-modern-10 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
html body.sf-site-modern .product-item .add-to-cart-grid:not(.loading) .nasa-icon,
html body.sf-site-modern .product-item .add-to-cart-grid:not(.loading) svg {
    color: #ffffff !important;
    fill: currentColor !important;
    background: transparent !important;
}

html body.sf-site-modern .product-item .add-to-cart-grid:hover,
html body.sf-site-modern .nasa-modern-6 .product-item .add-to-cart-grid:hover,
html body.sf-site-modern .single_add_to_cart_button:hover,
html body.sf-site-modern .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
html body.sf-site-modern #place_order:hover,
html body.sf-site-modern .woocommerce a.button:not(.elementor-button):hover,
html body.sf-site-modern .woocommerce button.button:not(.reset_variations):hover,
html body.sf-site-modern .wpcf7 input[type="submit"]:hover {
    background-color: #d03569 !important;
    border-color: #d03569 !important;
    color: #ffffff !important;
}

html body.sf-site-modern .product-item .add-to-cart-grid:hover .add_to_cart_text,
html body.sf-site-modern .nasa-modern-6 .product-item .add-to-cart-grid:hover .add_to_cart_text,
html body.sf-site-modern .product-item .add-to-cart-grid:hover .nasa-icon,
html body.sf-site-modern .product-item .add-to-cart-grid:hover svg {
    color: #ffffff !important;
    fill: currentColor !important;
}

/* Readable WooCommerce Notices (Raised Cleanly Above Mobile Footer) */
body.sf-site-modern .woocommerce-notices-wrapper {
    font-size: 13.5px !important;
    max-width: min(520px, calc(100vw - 32px));
    border-radius: 14px;
}

@media (max-width: 767px) {
    html body.sf-site-modern .woocommerce-notices-wrapper {
        bottom: 86px !important;
        width: calc(100vw - 24px) !important;
        max-width: 420px !important;
        padding-right: 40px !important;
        z-index: 9999 !important;
    }
}

body.sf-site-modern .woocommerce-message {
    background: #ecfdf5 !important;
    border: 1px solid rgba(5, 150, 105, 0.25) !important;
    color: #065f46 !important;
    border-radius: 14px;
}

body.sf-site-modern .woocommerce-error {
    background: #fef2f2 !important;
    border: 1px solid rgba(220, 38, 38, 0.25) !important;
    color: #991b1b !important;
    border-radius: 14px;
}

/* Contact Form 7 Clean Styling */
body.sf-site-modern .wpcf7-form label {
    display: block;
    font-weight: 700;
    color: #031b3a;
    margin-bottom: 6px;
}

body.sf-site-modern .wpcf7-form input[type="text"],
body.sf-site-modern .wpcf7-form input[type="email"],
body.sf-site-modern .wpcf7-form input[type="tel"],
body.sf-site-modern .wpcf7-form textarea {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    color: #0f172a;
    margin-top: 6px;
    margin-bottom: 14px;
}

/* --- 4. Footer Polish & Clean Payment Pills --- */
body.sf-site-modern #nasa-footer .elementor-element-2718dda {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

body.sf-site-modern #nasa-footer .elementor-element-24a86f7 {
    display: none !important;
}

body.sf-site-modern #nasa-footer .sf-footer {
    padding: 60px 0 28px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #334155 !important;
}

body.sf-site-modern #nasa-footer .sf-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start !important;
    margin-top: 8px;
}

body.sf-site-modern #nasa-footer .sf-pay-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(3, 27, 58, 0.04);
}

body.sf-site-modern #nasa-footer .sf-pay-pill svg {
    width: 15px;
    height: 15px;
    color: #06346f;
}

@media (max-width: 768px) {
    body.sf-site-modern #nasa-footer .sf-payment-icons {
        justify-content: center !important;
    }
}
