/* FM Instant Search & Filters Styles */

.fm-search-filter-container {
    display: flex;
    gap: 30px;
    margin: 30px auto;
    width: 100%;
    max-width: 1400px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2D3748;
    box-sizing: border-box;
}

/* Sidebar Styling */
.fm-filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    height: fit-content;
    position: sticky !important;
    top: 100px !important; /* Sits below the sticky site header */
    max-height: calc(100vh - 140px) !important; /* Prevents overflow off-screen */
    overflow-y: auto !important; /* Allows scrolling inside sidebar if contents are tall */
}

.fm-filter-group {
    margin-bottom: 28px;
}

.fm-filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.fm-filter-group h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #1A202C;
    border-bottom: 1px solid #EDF2F7;
    padding-bottom: 8px;
}

/* Checkboxes style */
.fm-brand-checkboxes {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 5px;
}

.fm-brand-checkboxes::-webkit-scrollbar {
    width: 6px;
}

.fm-brand-checkboxes::-webkit-scrollbar-track {
    background: #F7FAFC;
}

.fm-brand-checkboxes::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: 3px;
}

.fm-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
}

.fm-checkbox-label:hover {
    color: #000000;
}

.fm-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #CBD5E0;
    cursor: pointer;
    accent-color: #1A202C;
}

/* Range Slider Styling */
.fm-price-slider-wrapper {
    padding: 5px 0;
}

.fm-price-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #E2E8F0;
    outline: none;
    accent-color: #1A202C;
    cursor: pointer;
}

.fm-price-labels {
    margin-top: 10px;
    font-size: 14px;
    color: #4A5568;
}

.fm-price-indicator {
    color: #1A202C;
    font-weight: 600;
}

/* Modern Toggle Switch */
.fm-switch-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.fm-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fm-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    background-color: #E2E8F0;
    border-radius: 34px;
    transition: background-color 0.3s ease;
}

.fm-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.fm-switch-label input:checked + .fm-slider {
    background-color: #1A202C;
}

.fm-switch-label input:checked + .fm-slider:before {
    transform: translateX(22px);
}

.fm-switch-text {
    font-weight: 500;
    color: #4A5568;
}

/* Main Area Layout */
.fm-search-main {
    flex-grow: 1;
}

/* Search Bar Styling */
.fm-search-bar-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.fm-search-input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    font-size: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.fm-search-input:focus {
    border-color: #1A202C;
    box-shadow: 0 0 0 3px rgba(26, 32, 44, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    outline: none;
}

.fm-search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #A0AEC0;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.fm-search-clear:hover {
    color: #1A202C;
}

/* Results Info Bar */
.fm-results-bar {
    margin-bottom: 20px;
    font-size: 14px;
    color: #718096;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.fm-sort-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    position: relative !important;
}

.fm-sort-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #718096 !important;
}

/* Custom Dropdown Container */
.fm-custom-select {
    position: relative !important;
    width: 170px !important;
    user-select: none !important;
}

/* Trigger Button */
.fm-select-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 8px 14px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.fm-select-trigger:hover {
    border-color: #C5A880 !important; /* Gold hover border */
    box-shadow: 0 2px 4px rgba(197, 168, 128, 0.05) !important;
}

.fm-custom-select.open .fm-select-trigger {
    border-color: #C5A880 !important;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.12) !important;
    background: #ffffff !important;
}

/* Custom Chevron Arrow */
.fm-select-chevron {
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid #9CA3AF !important;
    border-bottom: 2px solid #9CA3AF !important;
    transform: translateY(-2px) rotate(45deg) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
}

.fm-select-trigger:hover .fm-select-chevron,
.fm-custom-select.open .fm-select-chevron {
    border-color: #C5A880 !important;
}

.fm-custom-select.open .fm-select-chevron {
    transform: translateY(2px) rotate(-135deg) !important;
}

/* Options Dropdown Menu Card */
.fm-select-options {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 6px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
    padding: 6px !important;
    list-style: none !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    transform: translateY(8px) scale(0.97) !important;
    pointer-events: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    box-sizing: border-box !important;
}

.fm-custom-select.open .fm-select-options {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

/* Option Items */
.fm-select-option {
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4B5563 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.fm-select-option:hover {
    background-color: #F9FAFB !important;
    color: #111827 !important;
}

/* Active State */
.fm-select-option.active {
    background-color: #FBF8F3 !important; /* Subtle gold tint background */
    color: #C5A880 !important; /* Gold text */
    font-weight: 600 !important;
}

.fm-select-option.active:hover {
    background-color: #FBF8F3 !important;
    color: #C5A880 !important;
}

/* Hidden Fallback Select input class (keeps layout hidden but input alive for AJAX) */
input.fm-sort-select {
    display: none !important;
}

/* Product Card Grid */
.fm-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.fm-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    font-size: 16px;
    color: #718096;
    background: #F7FAFC;
    border: 1px dashed #E2E8F0;
    border-radius: 12px;
}

/* Product Card Styling */
.fm-product-card {
    background: #ffffff;
    border: 1px solid #EDF2F7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fm-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -5px rgba(0, 0, 0, 0.04);
}

.fm-product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fm-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #F7FAFC;
    overflow: hidden;
}

.fm-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fm-product-card:hover .fm-product-image img {
    transform: scale(1.06);
}

.fm-product-details {
    padding: 16px;
}

.fm-product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #A0AEC0;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.fm-product-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: #2D3748;
    line-height: 1.4;
    height: 40px; /* Force 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fm-product-price-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F7FAFC;
    padding-top: 12px;
}

.fm-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #1A202C;
}

.fm-product-status {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important; /* Premium block design */
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    z-index: 5 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.fm-product-status.instock {
    background: #DEF7EC !important;
    color: #03543F !important;
}

.fm-product-status.outofstock {
    background: #FDE8E8 !important;
    color: #9B1C1C !important;
}

/* B2B Action Row (Quantity Selector + Add Button) */
.fm-card-action-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    border-top: 1px solid #F3F4F6 !important;
    padding-top: 12px !important;
    box-sizing: border-box !important;
}

.fm-card-qty {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 32px !important;
    background: #ffffff !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.fm-card-qty-btn {
    width: 24px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #4B5563 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s !important;
    outline: none !important;
    padding: 0 !important;
}

.fm-card-qty-btn:hover {
    background-color: #F3F4F6 !important;
    color: #111827 !important;
}

.fm-card-qty-input {
    width: 32px !important;
    height: 100% !important;
    border: none !important;
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    background: transparent !important;
    outline: none !important;
    padding: 0 !important;
    -moz-appearance: textfield !important;
    box-sizing: border-box !important;
}

.fm-card-qty-input::-webkit-outer-spin-button,
.fm-card-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.fm-quick-add-btn {
    position: relative !important;
    flex-grow: 2 !important;
    height: 32px !important;
    border-radius: 6px !important;
    background-color: #C5A880 !important; /* Gold */
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(197, 168, 128, 0.2) !important;
    padding: 0 10px !important;
    z-index: 10 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.fm-quick-add-btn:hover {
    background-color: #111827 !important; /* Dark Charcoal */
    color: #ffffff !important;
    transform: none !important;
    box-shadow: 0 3px 6px rgba(17, 24, 39, 0.2) !important;
}

/* Hide WooCommerce default checkmark label link */
.fm-product-card a.added_to_cart {
    display: none !important;
}

/* AJAX state: Loading */
.fm-quick-add-btn.loading {
    opacity: 0.85 !important;
    background-color: #111827 !important;
    color: transparent !important; /* Hide text */
}

.fm-quick-add-btn.loading::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    margin-left: -6px !important;
    margin-top: -6px !important;
    width: 12px !important;
    height: 12px !important;
    border: 2px solid #ffffff !important;
    border-top-color: transparent !important;
    border-radius: 50% !important;
    animation: fm-btn-spin 0.6s linear infinite !important;
    display: block !important;
}

@keyframes fm-btn-spin {
    to { transform: rotate(360deg); }
}

/* AJAX state: Added success */
.fm-quick-add-btn.added {
    background-color: #16A34A !important; /* Success Green */
    color: transparent !important; /* Hide text */
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.2) !important;
}

.fm-quick-add-btn.added::before {
    content: "✓" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: block !important;
}

/* ---------------------------------------------------- */
/* Autocomplete Dropdown Search Styles */
/* ---------------------------------------------------- */

.fm-autocomplete-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.fm-autocomplete-input-container {
    position: relative;
    width: 100%;
}

.fm-autocomplete-input {
    width: 100%;
    padding: 11px 40px 11px 16px;
    font-size: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.fm-autocomplete-input:focus {
    border-color: #1A202C;
    box-shadow: 0 0 0 3px rgba(26, 32, 44, 0.08);
    outline: none;
}

.fm-autocomplete-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #A0AEC0;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.fm-autocomplete-clear:hover {
    color: #1A202C;
}

/* Floating Dropdown */
.fm-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 99999;
    max-height: 380px;
    overflow-y: auto;
}

.fm-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #EDF2F7;
    transition: background-color 0.2s ease;
}

.fm-autocomplete-item:last-child {
    border-bottom: none;
}

.fm-autocomplete-item:hover {
    background-color: #F7FAFC;
}

.fm-autocomplete-item.no-match {
    padding: 16px;
    color: #718096;
    text-align: center;
    font-size: 14px;
}

.fm-autocomplete-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #F7FAFC;
    flex-shrink: 0;
}

.fm-autocomplete-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fm-autocomplete-title {
    font-size: 13px;
    font-weight: 500;
    color: #2D3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fm-autocomplete-brand {
    font-size: 10px;
    text-transform: uppercase;
    color: #A0AEC0;
    font-weight: 600;
    margin-top: 2px;
}

.fm-autocomplete-price {
    font-size: 13px;
    font-weight: 600;
    color: #1A202C;
    flex-shrink: 0;
}

.fm-autocomplete-view-all {
    justify-content: center;
    background-color: #F7FAFC;
    font-weight: 600;
    color: #4A5568 !important;
    font-size: 12px;
    border-top: 1px solid #EDF2F7;
    padding: 12px 16px;
    text-align: center;
}

.fm-autocomplete-view-all:hover {
    background-color: #EDF2F7;
    color: #000000 !important;
}

/* Responsive adjustments for main search catalog page */
@media (max-width: 768px) {
    .fm-search-filter-container {
        flex-direction: column;
    }
    
    .fm-filter-sidebar {
        width: 100% !important;
        box-sizing: border-box !important;
        position: static !important; /* Disable sticky position on mobile */
        max-height: none !important;
        overflow-y: visible !important;
    }
}

@media (max-width: 600px) {
    .fm-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .fm-product-details {
        padding: 10px !important;
    }
    .fm-product-price-stock {
        padding-top: 8px !important;
    }
    .fm-product-title {
        font-size: 13px !important;
        height: 36px !important;
        margin-bottom: 8px !important;
    }
    .fm-product-brand {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }
    .fm-card-action-row {
        gap: 6px !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
    .fm-card-qty {
        height: 28px !important;
        border-radius: 4px !important;
    }
    .fm-card-qty-btn {
        width: 20px !important;
    }
    .fm-card-qty-input {
        width: 24px !important;
        font-size: 12px !important;
    }
    .fm-quick-add-btn {
        height: 28px !important;
        border-radius: 4px !important;
        font-size: 11px !important;
        padding: 0 8px !important;
    }
    .fm-quick-add-btn.added::before {
        font-size: 13px !important;
    }
}

/* ---------------------------------------------------- */
/* Premium Custom Header & Footer Overrides */
/* ---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* Hide default theme/Elementor headers and footers to prevent duplicates */
header:not(.fm-site-header),
footer:not(.fm-site-footer),
.wp-block-template-part-header,
.wp-block-template-part-footer,
.site-header,
.site-footer,
.elementor-header,
.elementor-footer,
div[data-block-name="woocommerce/header"],
div[data-block-name="woocommerce/footer"] {
    display: none !important;
}

.fm-site-header,
.fm-site-footer {
    font-family: 'Outfit', sans-serif !important;
    box-sizing: border-box !important;
}

/* Announcement Bar */
.fm-top-bar {
    background-color: #111827 !important; /* Rich Charcoal */
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    padding: 8px 20px !important;
    text-align: center !important;
}

.fm-top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 600px) {
    .fm-top-bar-inner {
        justify-content: center;
        flex-direction: column;
    }
}

.fm-header-main {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid #F3F4F6 !important;
    padding: 16px 20px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01) !important;
}

.fm-header-main-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo */
.fm-header-logo a {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    letter-spacing: -0.015em !important;
    transition: opacity 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.fm-header-logo a:hover {
    opacity: 0.8 !important;
}

/* Circular S branding badge */
.fm-logo-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #0f172a !important;
    color: #ffffff !important;
    width: 1.25em !important;
    height: 1.25em !important;
    border-radius: 50% !important;
    margin-right: 0.18em !important;
    font-size: 0.8em !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    vertical-align: middle !important;
}

/* Inverted badge in the dark footer */
.fm-site-footer .fm-logo-icon {
    background-color: #ffffff !important;
    color: #111827 !important;
}

/* Footer brand logo typography alignment */
.fm-footer-col.col-about h3 {
    font-size: 20px !important;
    font-weight: 500 !important;
    letter-spacing: -0.015em !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    border-left: none !important;
    padding-left: 0 !important;
}

/* Autocomplete Search input inside Header */
.fm-header-search {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 !important;
}

.fm-header-search .fm-autocomplete-wrapper {
    margin: 0 !important;
}

.fm-header-search .fm-autocomplete-input {
    padding: 12px 45px 12px 18px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 30px !important; /* Pill shaped for search */
    background: #F9FAFB !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
}

.fm-header-search .fm-autocomplete-input:focus {
    background: #ffffff !important;
    border-color: #C5A880 !important;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15) !important;
}

/* Action icons on right */
.fm-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fm-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: #4B5563 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 0.25s ease !important;
}

.fm-action-link:hover {
    color: #C5A880 !important;
}

.fm-action-icon {
    font-size: 18px !important;
    display: inline-block;
    transition: transform 0.2s ease !important;
}

.fm-action-link:hover .fm-action-icon {
    transform: translateY(-2px);
}

.fm-cart-link {
    position: relative;
    padding-right: 8px;
}

/* Redesigned Shopping Cart badge count */
.fm-header-cart-count {
    background-color: #C5A880 !important; /* Gold badge */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -8px !important;
    right: -12px !important;
    box-shadow: 0 2px 5px rgba(197, 168, 128, 0.3) !important;
    border: 1px solid #ffffff !important;
}

/* Navigation Category Bar */
.fm-header-nav {
    background: #ffffff !important;
    border-bottom: 1px solid #EDF2F7 !important;
    padding: 12px 20px !important;
}

.fm-header-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.fm-nav-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 35px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.fm-nav-menu li a {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #374151 !important;
    text-decoration: none !important;
    letter-spacing: 0.08em !important;
    padding: 6px 0 !important;
    position: relative !important;
    display: block !important;
    transition: color 0.25s ease !important;
}

.fm-nav-menu li a:hover {
    color: #C5A880 !important;
}

/* Beautiful dynamic gold underline transition */
.fm-nav-menu li a::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: #C5A880 !important;
    transform: scaleX(0) !important;
    transform-origin: right !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fm-nav-menu li a:hover::after {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}

/* Premium Footer */
.fm-site-footer {
    background-color: #111827 !important; /* Rich Dark Charcoal */
    color: #E5E7EB !important;
    padding: 60px 20px 30px 20px !important;
    margin-top: 80px !important;
}

.fm-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.fm-footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important; /* Spacious layout */
    gap: 60px !important;
    margin-bottom: 50px !important;
}

@media (max-width: 991px) {
    .fm-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

.fm-footer-col h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin: 0 0 24px 0 !important;
    border-left: 3px solid #C5A880 !important; /* Gold accent bar */
    padding-left: 10px !important;
}

.fm-footer-col p {
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #9CA3AF !important;
    margin-bottom: 20px !important;
}

.fm-contact-info {
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* Quick links list */
.fm-footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.fm-footer-col ul li a {
    color: #9CA3AF !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.25s ease !important;
    display: inline-block !important;
}

.fm-footer-col ul li a:hover {
    color: #C5A880 !important;
    transform: translateX(4px);
    transition: all 0.25s ease !important;
}

/* Trust Badges in Footer */
.fm-footer-badge {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #E5E7EB !important;
}

/* Social icons footer */
.fm-footer-social {
    display: flex !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.fm-footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.fm-footer-social a:hover {
    background: #C5A880 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 10px rgba(197, 168, 128, 0.3) !important;
}

/* Copyright Strip */
.fm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.fm-footer-bottom p {
    font-size: 13px !important;
    color: #6B7280 !important;
    margin: 0 !important;
}

/* Responsive mobile scaling for Header */
@media (max-width: 991px) {
    .fm-header-main-inner {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    .fm-header-logo {
        text-align: center !important;
    }
    
    .fm-header-search {
        width: 100% !important;
    }
    
    .fm-header-actions {
        width: 100% !important;
        justify-content: space-around !important;
    }
    
    .fm-nav-menu {
        gap: 20px !important;
    }
}


/* ==================================================== */
/* WooCommerce My Account Page Redesign */
/* ==================================================== */
.woocommerce-account .woocommerce {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    font-family: 'Outfit', sans-serif !important;
}

/* 1. Login / Register Form Layout */
.woocommerce-account .u-columns.col2-set {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    justify-content: center !important;
    width: 100% !important;
}

.woocommerce-account .u-columns.col2-set .u-column1,
.woocommerce-account .u-columns.col2-set .u-column2,
.woocommerce-account .u-columns.col2-set .col-1,
.woocommerce-account .u-columns.col2-set .col-2 {
    flex: 1 1 420px !important;
    max-width: 500px !important;
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .woocommerce-account .u-columns.col2-set {
        gap: 30px !important;
    }
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    background: #ffffff !important;
    border: 1px solid #F3F4F6 !important;
    border-radius: 12px !important;
    padding: 35px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.woocommerce-account h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    color: #111827 !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 2px solid #C5A880 !important; /* Gold line */
    padding-bottom: 8px !important;
    display: inline-block !important;
}

/* 2. Inputs & Form Fields */
.woocommerce-account label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4B5563 !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.woocommerce-account input.input-text {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    background: #F9FAFB !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    color: #111827 !important;
}

.woocommerce-account input.input-text:focus {
    background: #ffffff !important;
    border-color: #C5A880 !important;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15) !important;
    outline: none !important;
}

.woocommerce-account .form-row {
    margin-bottom: 20px !important;
}

/* 3. Buttons & Links */
.woocommerce-account .button,
.woocommerce-account .wp-element-button {
    background-color: #111827 !important; /* Charcoal */
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 4px rgba(17, 24, 39, 0.1) !important;
}

.woocommerce-account .button:hover,
.woocommerce-account .wp-element-button:hover {
    background-color: #C5A880 !important; /* Gold */
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(197, 168, 128, 0.25) !important;
}

.woocommerce-account .woocommerce-LostPassword a {
    color: #4B5563 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-account .woocommerce-LostPassword a:hover {
    color: #C5A880 !important;
}

/* Remember me alignment */
.woocommerce-account .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #4B5563 !important;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    margin: 0 !important;
}

/* 4. Logged In Dashboard Layout */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left !important;
    width: 25% !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: right !important;
    width: 70% !important;
    background: #ffffff !important;
    border: 1px solid #F3F4F6 !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }
}

/* Sidebar List styling */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block !important;
    padding: 14px 18px !important;
    color: #4B5563 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    transition: all 0.25s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #ffffff !important;
    border-color: #C5A880 !important;
    color: #C5A880 !important;
    padding-left: 22px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #C5A880 !important; /* Gold active */
    border-color: #C5A880 !important;
    color: #ffffff !important;
}

/* Clearfix for float layout */
.woocommerce-account .woocommerce::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* 5. Address Cards & Order Tables */
.woocommerce-account table.shop_table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.woocommerce-account table.shop_table th {
    background-color: #111827 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
    padding: 12px 16px !important;
    text-align: left !important;
    border: none !important;
}

.woocommerce-account table.shop_table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #E5E7EB !important;
    font-size: 14px !important;
    color: #374151 !important;
}

.woocommerce-account table.shop_table tr:hover td {
    background-color: #F9FAFB !important;
}

/* Address Card structures */
.woocommerce-account .addresses .col-1,
.woocommerce-account .addresses .col-2 {
    width: 48% !important;
    float: left !important;
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.woocommerce-account .addresses .col-2 {
    float: right !important;
}

@media (max-width: 600px) {
    .woocommerce-account .addresses .col-1,
    .woocommerce-account .addresses .col-2 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px !important;
    }
}

.woocommerce-account .addresses header h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.woocommerce-account .addresses address {
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4B5563 !important;
}

.woocommerce-account .edit {
    font-size: 13px !important;
    color: #C5A880 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-account .edit:hover {
    color: #111827 !important;
}

/* GDPR Consent Checkbox Styles */
.fm-gdpr-consent-wrapper {
    margin: 20px 0 !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
}

.fm-gdpr-consent-wrapper label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 13.5px !important;
    color: #4B5563 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.fm-gdpr-consent-wrapper input[type="checkbox"].fm-gdpr-consent-checkbox {
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px !important;
    border: 1px solid #D1D5DB !important;
    accent-color: #C5A880 !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.fm-gdpr-consent-wrapper a.woocommerce-privacy-policy-link {
    color: #C5A880 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.fm-gdpr-consent-wrapper a.woocommerce-privacy-policy-link:hover {
    color: #111827 !important;
}

/* Ensure spacing on Checkout Page terms area */
.woocommerce-checkout p.fm-gdpr-consent-wrapper {
    padding: 10px 0 !important;
    border-top: 1px solid #F3F4F6 !important;
    margin-top: 15px !important;
}

/* Page Layout Width Overrides (Full Width alignment with Header/Footer) */
:root {
    --wp--style--global--content-size: 1400px !important;
    --wp--style--global--wide-size: 100% !important;
}


/* WooCommerce and CheckoutWC Icon Font Display Overrides */
@font-face {
    font-family: 'star';
    src: url('https://scentfind.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff2') format('woff2'),
         url('https://scentfind.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff') format('woff'),
         url('https://scentfind.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'WooCommerce';
    src: url('https://scentfind.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff2') format('woff2'),
         url('https://scentfind.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff') format('woff'),
         url('https://scentfind.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'cfw-slick';
    font-style: normal;
    font-weight: 400;
    src: url('https://scentfind.co.uk/wp-content/plugins/checkout-for-woocommerce/build/fonts/slick.eot');
    src: url('https://scentfind.co.uk/wp-content/plugins/checkout-for-woocommerce/build/fonts/slick.eot?#iefix') format('embedded-opentype'),
         url('https://scentfind.co.uk/wp-content/plugins/checkout-for-woocommerce/build/fonts/slick.woff') format('woff'),
         url('https://scentfind.co.uk/wp-content/plugins/checkout-for-woocommerce/build/fonts/slick.ttf') format('truetype'),
         url('https://scentfind.co.uk/wp-content/plugins/checkout-for-woocommerce/build/fonts/slick.svg#slick') format('svg');
    font-display: block;
}

/* Premium Hero Slider Mobile Performance fixes */
.luxe-slide img {
    will-change: transform, opacity;
}
@media (max-width: 768px) {
    .luxe-slider-container {
        height: 250px !important;
        min-height: 250px !important;
    }
    .luxe-slide img {
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* ---------------------------------------------------- */
/* Storefront Floating Promo Widget Styles (Option 2) */
/* ---------------------------------------------------- */
#fm-promo-widget-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999999;
    font-family: 'Outfit', sans-serif !important;
}

#fm-promo-gift-btn {
    background-color: #111827 !important; /* Dark charcoal */
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

#fm-promo-gift-btn:hover {
    background-color: #C5A880 !important; /* Gold */
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(197, 168, 128, 0.4) !important;
}

#fm-promo-slideout-card {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 330px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    box-sizing: border-box !important;
    transform: translateY(15px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none;
}

#fm-promo-slideout-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#fm-promo-close-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: transparent !important;
    border: none !important;
    font-size: 24px !important;
    color: #9CA3AF !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: color 0.2s !important;
}

#fm-promo-close-btn:hover {
    color: #111827 !important;
}

.fm-promo-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.fm-promo-desc {
    font-size: 13.5px !important;
    color: #4B5563 !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.5 !important;
}

#fm-promo-email-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#fm-promo-email-input {
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 8px !important;
    outline: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #111827 !important;
    transition: border-color 0.2s !important;
}

#fm-promo-email-input:focus {
    border-color: #C5A880 !important;
}

#fm-promo-submit-btn {
    width: 100% !important;
    background: #C5A880 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

#fm-promo-submit-btn:hover {
    background: #111827 !important;
}

#fm-promo-error-msg {
    color: #EF4444 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
    font-weight: 500 !important;
}

.fm-promo-code-box {
    display: flex !important;
    border: 1px dashed #C5A880 !important;
    background: #FFFBEB !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

#fm-promo-code-val {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: 0.05em !important;
}

#fm-promo-copy-btn {
    background: #111827 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

#fm-promo-copy-btn:hover {
    background: #C5A880 !important;
}

#fm-promo-copy-success {
    font-size: 12px !important;
    color: #10B981 !important;
    font-weight: 600 !important;
    display: block !important;
}

@media (max-width: 480px) {
    #fm-promo-widget-container {
        bottom: 20px;
        left: 20px;
        right: 20px;
        display: flex;
        justify-content: center;
    }
    
    #fm-promo-gift-btn {
        width: 100%;
        justify-content: center;
    }
    
    #fm-promo-slideout-card {
        bottom: 60px;
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* ==========================================================================
   28. Cookie Consent Banner (GDPR compliant, premium glassmorphism)
   ========================================================================== */
#fm-cookie-banner {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 40px) !important;
    max-width: 700px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(229, 231, 235, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    z-index: 99999999 !important;
    padding: 16px 24px !important;
    animation: fmCookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.fm-cookie-banner-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.fm-cookie-text {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #4B5563 !important;
    font-family: 'Outfit', sans-serif !important;
    flex: 1 !important;
}

.fm-cookie-buttons {
    display: flex !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.fm-cookie-btn {
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-family: 'Outfit', sans-serif !important;
}

.fm-cookie-btn.accept {
    background: #111827 !important;
    color: #ffffff !important;
}

.fm-cookie-btn.accept:hover {
    background: #1f2937 !important;
    transform: translateY(-1px) !important;
}

.fm-cookie-btn.decline {
    background: #F3F4F6 !important;
    color: #4B5563 !important;
}

.fm-cookie-btn.decline:hover {
    background: #E5E7EB !important;
    color: #1F2937 !important;
}

@keyframes fmCookieSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 640px) {
    .fm-cookie-banner-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .fm-cookie-buttons {
        justify-content: center !important;
    }
    .fm-cookie-btn {
        flex: 1 !important;
    }
}

/* WooCommerce Order List Print Invoice row action button icon */
.woocommerce table.wp-list-table tr td.column-wc_actions a.print-invoice::after,
.woocommerce table.wp-list-table tr td.column-actions a.print-invoice::after,
.woocommerce table.wp-list-table tr td.column-wc_actions a.print-invoice::before,
.woocommerce table.wp-list-table tr td.column-actions a.print-invoice::before,
a.print-invoice::after,
.wc-action-button-print-invoice::after {
    content: "\f193" !important; /* Dashicons printer icon */
    font-family: Dashicons !important;
}

/* Custom Header Hero Banner */
.fm-header-banner-wrapper {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0 auto;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.fm-header-banner-link {
    display: block;
    width: 100%;
    transition: opacity 0.2s ease-in-out;
}

.fm-header-banner-link:hover {
    opacity: 0.95;
}

.fm-header-banner-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .fm-header-banner-img {
        max-height: 200px;
    }
}
