        body {
            background-color: #F8FAFC;
        }

        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

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

        /*
 * Catalog Icon for Menu Item 1591
 */
        .menu-item-1591>a::before {
            content: "\f0e7";
            /* Font Awesome 'bolt' (lightning) icon */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 1.1em;
            color: currentColor;
            /* Inherit text color */
        }

        .toast-enter {
            animation: slideIn 0.3s ease-out forwards;
        }

        /* Shipping Radio Buttons */
        .shipping-method:checked+label {
            border-color: #0ea5e9;
            background-color: #f0f9ff;
        }

        .shipping-method:checked+label .dot {
            background-color: #0ea5e9;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
        }

        /* Стилізація радіо-кнопок вибору (глобально) */
        .option-input:checked+label {
            border-color: #0ea5e9;
            background-color: #f0f9ff;
            box-shadow: 0 4px 15px -5px rgba(14, 165, 233, 0.2);
        }

        .option-input:checked+label .dot {
            background-color: #0ea5e9;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
        }

        .form-input,
        .input-text,
        select,
        textarea {
            transition: all 0.3s ease;
        }

        /* Global Button Cursor Style */
        button,
        .button,
        .btn,
        input[type="button"],
        input[type="submit"],
        input[type="reset"],
        input[type="radio"],
        input[type="checkbox"],
        .shipping-method+label,
        .option-input+label {
            cursor: pointer;
        }

        .ram-search-input {
            padding: 15px 15px 15px 45px !important;
        }

        .form-input:focus,
        .input-text:focus,
        select:focus,
        textarea:focus {
            background: white;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
            border-color: #0ea5e9;
            outline: none;
        }

        /* Force input styling on all text inputs */
        .woocommerce input[type="text"],
        .woocommerce input[type="password"],
        .woocommerce input[type="email"],
        .woocommerce input[type="tel"],
        .woocommerce input[type="number"],
        .woocommerce textarea,
        .woocommerce select {
            width: 100%;
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 1rem;
            padding: 1rem 1.25rem;
            font-size: 0.875rem;
            font-weight: 700;
            color: #0f172a;
            outline: none;
            transition: all 0.3s ease;
        }

        .woocommerce input[type="text"]:focus,
        .woocommerce input[type="password"]:focus,
        .woocommerce input[type="email"]:focus,
        .woocommerce input[type="tel"]:focus,
        .woocommerce input[type="number"]:focus,
        .woocommerce textarea:focus,
        .woocommerce select:focus {
            background-color: white;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
            border-color: #0ea5e9;
        }

        /* Custom Checkbox Styling */
        .woocommerce input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            background-color: #fff;
            margin: 0;
            margin-right: 0.5rem;
            font: inherit;
            color: currentColor;
            width: 1.25em;
            height: 1.25em;
            border: 2px solid #cbd5e1;
            border-radius: 0.35rem;
            display: inline-grid;
            place-content: center;
            transition: all 0.2s ease-in-out;
            cursor: pointer;
            vertical-align: middle;
        }

        .woocommerce input[type="checkbox"]::before {
            content: "";
            width: 0.75em;
            height: 0.75em;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em white;
            transform-origin: center;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
            background-color: white;
        }

        .woocommerce input[type="checkbox"]:checked {
            background-color: #0ea5e9;
            border-color: #0ea5e9;
        }

        .woocommerce input[type="checkbox"]:checked::before {
            transform: scale(1);
        }

        .create-account label.checkbox {
            display: inline-flex;
            align-items: center;
            font-weight: 700;
            color: #0f172a;
            cursor: pointer;
            font-size: 0.875rem;
        }

        /* Hide default Headers */
        .woocommerce-billing-fields>h3,
        .woocommerce-shipping-fields>h3,
        .woocommerce-additional-fields>h3 {
            display: none !important;
        }

        /* Hide 'Ship to different address' toggle and Attribution Inputs */
        #ship-to-different-address,
        .wc-order-attribution-inputs,
        wc-order-attribution-inputs,
        .woocommerce-billing-fields__field-wrapper>input[type='hidden'],
        .wooccm-type-hidden {
            display: none !important;
        }

        /* Ensure Create Account is full width */
        .woocommerce-account-fields,
        .woocommerce-account-fields .form-row,
        .create-account {
            width: 100% !important;
            clear: both;
        }

        /* WooCommerce Overrides */
        .woocommerce-input-wrapper {
            width: 100%;
        }

        /* Select Appearance */
        select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 0.5rem center;
            background-repeat: no-repeat;
            background-size: 1.5em 1.5em;
            padding-right: 2.5rem;
        }

        /* Select2 Styling (Nova Poshta) */
        #mrkv_ua_shipping_nova-poshta_fields .select2-container .select2-selection--single,
        .select2-container .select2-selection--single {
            background-color: #f8fafc !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 1rem !important;
            height: auto !important;
            padding: 0.9rem 1.25rem !important;
            outline: none !important;
            display: flex !important;
            align-items: center !important;
            transition: all 0.3s ease;
        }

        #mrkv_ua_shipping_nova-poshta_fields .select2-container--default .select2-selection--single .select2-selection__rendered,
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #0f172a !important;
            font-weight: 700 !important;
            font-size: 0.875rem !important;
            line-height: 1.5 !important;
            padding-left: 0 !important;
        }

        #mrkv_ua_shipping_nova-poshta_fields .select2-container--default .select2-selection--single .select2-selection__arrow,
        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 100% !important;
            right: 1rem !important;
            top: 0 !important;
            bottom: 0 !important;
            margin: auto !important;
        }

        .select2-dropdown {
            border: 1px solid #e2e8f0 !important;
            border-radius: 1rem !important;
            background-color: white !important;
            box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1) !important;
            overflow: hidden !important;
            margin-top: 8px !important;
            z-index: 99999 !important;
        }

        .select2-search--dropdown {
            padding: 10px !important;
        }

        .select2-search__field {
            border: 1px solid #e2e8f0 !important;
            border-radius: 0.5rem !important;
            padding: 0.5rem !important;
            outline: none !important;
        }

        .select2-results__option {
            padding: 0.75rem 1rem !important;
            font-size: 0.875rem !important;
            font-weight: 500 !important;
            color: #1e293b !important;
        }

        .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background-color: #f0f9ff !important;
            color: #0ea5e9 !important;
        }

        .select2-container--default .select2-results__option--selected {
            background-color: #e0f2fe !important;
        }

        /* Hide Redundant Fields explicitly */
        #billing_city_field,
        #billing_postcode_field,
        #billing_state_field,
        #billing_address_2_field,
        #billing_address_1_field {
            display: none !important;
        }

        /* Nova Poshta Label Styling */
        #mrkv_ua_shipping_nova-poshta_fields label {
            font-size: 10px !important;
            font-weight: 900 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.05em !important;
            color: #94a3b8 !important;
            /* slate-400 */
            margin-left: 0.25rem !important;
            margin-bottom: 0.5rem !important;
            display: block !important;
        }

        /* Increase Spacing Between Nova Poshta Fields */
        #mrkv_ua_shipping_nova-poshta_fields .form-row,
        #mrkv_ua_shipping_nova-poshta_fields>div {
            margin-bottom: 1.5rem !important;
        }

        /* 2-Column Layout for Billing Fields (matches checkout.html) */
        @media (min-width: 640px) {
            .woocommerce-billing-fields__field-wrapper {
                display: flex;
                flex-wrap: wrap;
                gap: 1.5rem;
            }

            .woocommerce-billing-fields__field-wrapper .form-row {
                width: 100% !important;
                float: none !important;
                margin: 0 !important;
            }

            .woocommerce-billing-fields__field-wrapper .form-row-first,
            .woocommerce-billing-fields__field-wrapper .form-row-last,
            .woocommerce-billing-fields__field-wrapper #billing_phone_field,
            .woocommerce-billing-fields__field-wrapper #billing_email_field {
                width: calc(50% - 0.75rem) !important;
            }

            .woocommerce-billing-fields__field-wrapper .form-row-wide {
                width: 100% !important;
            }
        }

        /* Validation Styles */
        .woocommerce-invalid input,
        .woocommerce-invalid select,
        .woocommerce-invalid textarea {
            border-color: #ef4444 !important;
            /* red-500 */
            background-color: #fef2f2 !important;
            /* red-50 */
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
        }

        .woocommerce-error {
            background-color: #fef2f2;
            border-left: 4px solid #ef4444;
            color: #b91c1c;
            padding: 1rem;
            margin-bottom: 1.5rem;
            border-radius: 0.5rem;
            list-style: none;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .woocommerce-error li {
            margin-bottom: 0.5rem;
        }

        .woocommerce-error li:last-child {
            margin-bottom: 0;
        }

        /* Disabled Button Style */
        #place_order:disabled,
        #place_order[disabled] {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
            background-color: #94a3b8 !important;
            /* slate-400 */
            box-shadow: none !important;
        }

        /* Custom Checkout Spinner */
        .woocommerce-checkout-review-order {
            position: relative;
        }

        .blockUI.blockOverlay {
            background: rgba(255, 255, 255, 0.8) !important;
            opacity: 1 !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            z-index: 50 !important;
        }

        .blockUI.blockOverlay::before {
            content: "";
            width: 2.5rem;
            height: 2.5rem;
            border: 3px solid #e2e8f0;
            border-top-color: #0ea5e9;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        /* Cart Loading Overlay (Matches Checkout) */
        .woocommerce-cart-form {
            position: relative;
            transition: filter 0.3s ease;
        }

        .ram-cart-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.5);
            z-index: 50;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
            border-radius: 1rem;
        }

        .ram-cart-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .ram-cart-spinner {
            width: 3rem;
            height: 3rem;
            border: 4px solid #e2e8f0;
            border-top-color: #0ea5e9;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* Contact Form 7 Customizations */
        .wpcf7-form-control-wrap {
            display: block !important;
        }

        .wpcf7-acceptance .wpcf7-list-item {
            margin: 0;
            display: flex;
            align-items: center;
        }

        .wpcf7-acceptance label {
            display: flex !important;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .wpcf7-acceptance input[type='checkbox'] {
            appearance: none !important;
            -webkit-appearance: none !important;
            width: 1.25rem !important;
            height: 1.25rem !important;
            border: 2px solid #cbd5e1 !important;
            border-radius: 0.25rem !important;
            background-color: white !important;
            display: grid !important;
            place-content: center !important;
            margin: 0 !important;
            cursor: pointer !important;
            flex-shrink: 0 !important;
            position: relative !important;
        }

        .wpcf7-acceptance input[type='checkbox']::before {
            content: '';
            width: 0.65em;
            height: 0.65em;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em white;
            transform-origin: center;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
            background-color: white;
        }

        .wpcf7-acceptance input[type='checkbox']:checked {
            background-color: #0ea5e9 !important;
            border-color: #0ea5e9 !important;
        }

        .wpcf7-acceptance input[type='checkbox']:checked::before {
            transform: scale(1);
        }

        .wpcf7-acceptance .wpcf7-list-item-label {
            color: white !important;
            font-size: 0.75rem !important;
            /* text-xs */
            line-height: 1.5 !important;
            opacity: 0.9;
        }

        .wpcf7-acceptance:hover .wpcf7-list-item-label {
            opacity: 1;
        }

        /* Dark Text for Consultation Form Checkbox */
        .cf7-consultation-form .wpcf7-acceptance .wpcf7-list-item-label {
            color: #94a3b8 !important;
            /* slate-400 */
        }

        .cf7-consultation-form .wpcf7-acceptance:hover .wpcf7-list-item-label {
            color: #0f172a !important;
            /* dark-900 */
            opacity: 1;
        }

        /* Disabled Submit Button Style */
        .wpcf7-form button[type='submit'][disabled],
        .wpcf7-form input[type='submit'][disabled],
        .wpcf7-submit[disabled],
        .wpcf7-submit.disabled {
            background-color: #94a3b8 !important;
            /* slate-400 */
            cursor: not-allowed !important;
            pointer-events: none !important;
            opacity: 0.7 !important;
            box-shadow: none !important;
            transform: none !important;
        }

        /* Pagination Active State */
        .page-numbers.current {
            background-color: #ffffff !important;
            color: #1a1a1a !important;
        }