/* ==========================================================================
   headphones.ma Premium Boutique CSS Design System
   ========================================================================== */

/* Glassmorphism Panels */
.glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card {
    background: rgba(18, 19, 23, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: #adc7ff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.15);
}

/* Metallic and Glow Borders */
.metallic-border {
    position: relative;
    border: 1px solid;
    border-image-source: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-image-slice: 1;
}

.neon-glow:hover {
    box-shadow: 0 0 20px rgba(173, 199, 255, 0.15);
    border-color: #adc7ff;
}

.neon-glow-primary:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.15);
}

.glow-text {
    text-shadow: 0 0 12px rgba(173, 199, 255, 0.4);
}

/* Audio Wave Animations */
.audio-wave-bar {
    width: 3px;
    background: #adc7ff;
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite alternate;
}

@keyframes wave {
    0% { height: 4px; }
    100% { height: 24px; }
}

.audio-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}

.wave-bar {
    width: 2px;
    background: #adc7ff;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

.audio-wave-anim span {
    display: inline-block;
    width: 3px;
    height: 20px;
    background: #adc7ff;
    margin: 0 1px;
    animation: waveAnim 1.2s infinite ease-in-out;
}

@keyframes waveAnim {
    0%, 100% { height: 10px; opacity: 0.5; }
    50% { height: 25px; opacity: 1; }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(173, 199, 255, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(173, 199, 255, 0.4);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Navigation Drawer Transitions */
.mobile-nav-drawer {
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s;
}

.mobile-nav-drawer.open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
}

.search-overlay {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.5s ease;
}

.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Star Rating Colors */
.star-rating span {
    color: #ffb77d;
}

/* ==========================================================================
   WooCommerce Custom Dark Aesthetics
   ========================================================================== */

/* Primary Button Styling */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-form-login_submit,
.single_add_to_cart_button {
    background-color: #4a8eff !important;
    color: #001a41 !important;
    padding: 0.875rem 2.25rem !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 0 15px rgba(74, 142, 255, 0.25) !important;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.single_add_to_cart_button:hover {
    background-color: #adc7ff !important;
    color: #001a41 !important;
    box-shadow: 0 0 25px rgba(173, 199, 255, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Secondary / Bordered Buttons */
.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form .coupon button.button,
#mini-cart-drawer .buttons a.button:not(.checkout) {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e3e2e7 !important;
    border-radius: 9999px !important;
    padding: 0.75rem 1.75rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart-form button[name="update_cart"]:hover,
.woocommerce-cart-form .coupon button.button:hover,
#mini-cart-drawer .buttons a.button:not(.checkout):hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: #adc7ff !important;
    color: #adc7ff !important;
}

/* Quantity Selectors */
.woocommerce .quantity .qty {
    border: 1px solid #414754 !important;
    border-radius: 9999px !important;
    padding: 0.5rem 1rem !important;
    width: 68px !important;
    font-family: 'Inter', sans-serif !important;
    text-align: center !important;
    font-weight: 500 !important;
    color: #e3e2e7 !important;
    background-color: #0d0e12 !important;
    outline: none !important;
}

.woocommerce .quantity {
    display: inline-flex !important;
    margin-right: 1rem !important;
}

/* Cart & Checkout Panels */
.woocommerce-cart-form, 
form.woocommerce-checkout,
.woocommerce-account .woocommerce {
    background-color: rgba(30, 30, 30, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

.woocommerce-cart .woocommerce-cart-form {
    background-color: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Cart Table Layout */
.woocommerce table.shop_table {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: transparent !important;
    border-collapse: separate !important;
}

.woocommerce table.shop_table th {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 11px !important;
    color: #adc7ff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1rem !important;
    background-color: rgba(26, 27, 31, 0.6) !important;
}

.woocommerce table.shop_table td {
    padding: 1.25rem 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #c1c6d7 !important;
}

.woocommerce-cart table.cart img {
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 64px !important;
    height: auto !important;
}

/* Input Fields overrides */
.woocommerce-form-row input.input-text,
.woocommerce-Input,
.woocommerce-billing-fields input.input-text,
.woocommerce-shipping-fields input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #0d0e12 !important;
    border: 1px solid #414754 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-family: 'Inter', sans-serif !important;
    color: #e3e2e7 !important;
    width: 100% !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.woocommerce-form-row input.input-text:focus,
.woocommerce-Input:focus,
.woocommerce-billing-fields input.input-text:focus,
.woocommerce-checkout select:focus {
    border-color: #adc7ff !important;
    box-shadow: 0 0 10px rgba(173, 199, 255, 0.2) !important;
}

/* Cart Collaterals */
.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    background-color: rgba(30, 30, 30, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

.woocommerce-cart .cart_totals h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 14px;
    color: #adc7ff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-cart .cart_totals table tr td,
.woocommerce-cart .cart_totals table tr th {
    padding: 1rem 0 !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: transparent !important;
}

.woocommerce-cart .cart_totals table tr td {
    text-align: right !important;
    color: #e3e2e7 !important;
}

/* Notices & Alert Banners */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error,
.woocommerce-notice {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 12px !important;
    padding: 1rem 1.5rem 1rem 3.5rem !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    list-style: none !important;
}

.woocommerce-message::before, 
.woocommerce-info::before, 
.woocommerce-error::before {
    position: absolute !important;
    left: 1.25rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-family: "WooCommerce" !important;
}

.woocommerce-message {
    background-color: rgba(74, 142, 255, 0.1) !important;
    border: 1px solid rgba(74, 142, 255, 0.2) !important;
    color: #adc7ff !important;
}

.woocommerce-info {
    background-color: rgba(253, 139, 0, 0.1) !important;
    border: 1px solid rgba(253, 139, 0, 0.2) !important;
    color: #ffb77d !important;
}

.woocommerce-error {
    background-color: rgba(255, 180, 171, 0.08) !important;
    border: 1px solid rgba(255, 180, 171, 0.2) !important;
    color: #ffb4ab !important;
    display: block !important;
}

.woocommerce-message a.button.wc-forward {
    background-color: #4a8eff !important;
    color: #001a41 !important;
    font-size: 11px !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
}

/* Custom Mini Cart Drawer */
#mini-cart-drawer {
    font-family: 'Inter', sans-serif !important;
}

#mini-cart-drawer ul.cart_list li {
    padding: 1.25rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

#mini-cart-drawer ul.cart_list li img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#mini-cart-drawer ul.cart_list li a.remove {
    color: #ffb4ab !important;
    border: 1px solid rgba(255, 180, 171, 0.2) !important;
    border-radius: 9999px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#mini-cart-drawer .total {
    padding: 1.5rem 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    font-weight: 600 !important;
    color: #e3e2e7 !important;
}

/* Drag to scroll carousel grab styling */
#carousel, .drag-carousel {
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

#carousel.active-dragging, .drag-carousel.active-dragging {
    cursor: grabbing;
}

#carousel img, .drag-carousel img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ==========================================================================
   WooCommerce Grid & Float Layout Resets
   ========================================================================== */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
}

/* Prevent horizontal scrollbar and leak from off-screen translate elements */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    background-color: #121317 !important;
}

/* Fix mini-cart drawer off-screen scroll leak and rendering visibility fallback (essential when Tailwind CDN fails) */
#mini-cart-drawer-wrapper {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100000 !important;
    display: flex !important;
    justify-content: flex-end !important;
    transform: translateX(100%) !important;
    transition: transform 0.5s ease, visibility 0.5s ease !important;
    visibility: hidden !important;
}

#mini-cart-drawer-wrapper:not(.translate-x-full) {
    transform: translateX(0) !important;
    visibility: visible !important;
}

#mini-cart-drawer {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 448px !important;
    height: 100% !important;
    background-color: #121317 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Offset sticky header when admin bar is present to prevent overlapping */
.admin-bar header {
    top: 32px !important;
}
.admin-bar #mini-cart-drawer-wrapper {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px !important;
    }
    .admin-bar #mini-cart-drawer-wrapper {
        top: 46px !important;
    }
}

/* Force sticky wpadminbar and fix layout scrolls */
#wpadminbar {
    position: fixed !important;
}

/* Ensure the mini-cart drawer fits the screen and scrolls internally on checkout page */
#mini-cart-drawer-wrapper {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}
#mini-cart-drawer {
    height: 100% !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}
#mini-cart-drawer .widget_shopping_cart_content {
    max-height: calc(100vh - 320px) !important;
    overflow-y: auto !important;
}

/* Reset default WooCommerce styles in mini-cart drawer to match modern flex box */
#mini-cart-drawer ul.cart_list li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1rem 0 !important;
}
#mini-cart-drawer ul.cart_list li img {
    float: none !important;
    margin: 0 !important;
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
}
#mini-cart-drawer ul.cart_list li a {
    float: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}
#mini-cart-drawer ul.cart_list li a.remove {
    float: none !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

/* Style checkout review order list items, thumbnails and legacy tables */
.woocommerce-checkout-review-order img,
.woocommerce-checkout-review-order .w-20 img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
}
.woocommerce-checkout table.shop_table {
    width: 100% !important;
    background-color: transparent !important;
}
.woocommerce-checkout table.shop_table td,
.woocommerce-checkout table.shop_table th {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e3e2e7 !important;
    padding: 1.25rem 1rem !important;
}
.woocommerce-checkout table.shop_table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.woocommerce-checkout-review-order .product-name,
.woocommerce-checkout-review-order .product-total {
    color: #ffffff !important;
}

/* Styling overrides for select2 dropdowns and standard select inputs in checkout */
.woocommerce-checkout select {
    background-color: #0d0e12 !important;
    border: 0 !important;
    border-bottom: 2px solid #414754 !important;
    height: 52px !important;
    color: #e3e2e7 !important;
    padding: 0 1rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    outline: none !important;
}

.woocommerce-checkout .form-row label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    position: relative !important;
}

.select2-container {
    margin-top: 0.25rem !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    background-color: #0d0e12 !important;
    border: 0 !important;
    border-bottom: 2px solid #414754 !important;
    height: 52px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 1.25rem !important;
    position: relative !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e3e2e7 !important;
    padding-left: 0 !important;
    padding-right: 24px !important;
    line-height: normal !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #e3e2e7 transparent transparent transparent !important;
    border-width: 6px 4px 0 4px !important;
}

.select2-container--default.select2-container--open .select2-selection__arrow b {
    border-color: transparent transparent #e3e2e7 transparent !important;
    border-width: 0 4px 6px 4px !important;
}

.select2-dropdown {
    background-color: #0d0e12 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 100001 !important;
    overflow: hidden !important;
}

.select2-search--dropdown {
    padding: 8px !important;
    background-color: #0d0e12 !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: #121317 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e3e2e7 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.select2-results__options {
    background-color: #0d0e12 !important;
    max-height: 200px !important;
}

.select2-results__option {
    padding: 10px 16px !important;
    color: #c1c6d7 !important;
    background-color: transparent !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #adc7ff !important;
    color: #001a41 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(173, 199, 255, 0.15) !important;
    color: #adc7ff !important;
}

/* ==========================================================================
   WooCommerce Blocks Checkout & Cart Styling Overrides
   ========================================================================== */

/* 1. Container & Form Resets */
body .wc-block-checkout, 
body .wc-block-cart,
body .wc-block-checkout__form,
body .wc-block-checkout-form,
body .wc-block-components-address-form,
body .wc-block-checkout__payment-method {
    color: #e3e2e7 !important;
}

body .wc-block-checkout h1, body .wc-block-checkout h2, body .wc-block-checkout h3,
body .wc-block-cart h1, body .wc-block-cart h2, body .wc-block-cart h3,
body .wc-block-components-title,
body .wc-block-checkout__title,
body .wc-block-checkout__form h2,
body .wc-block-checkout__form h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* 2. Text Input & Textarea Elements (Force Dark Theme) */
body .wc-block-checkout .wc-block-components-text-input,
body .wc-block-checkout .wc-block-components-textarea,
body .wc-block-cart .wc-block-components-text-input,
body .wc-block-cart .wc-block-components-textarea,
body .wc-block-components-text-input,
body .wc-block-components-textarea {
    position: relative !important;
    background-color: #0d0e12 !important;
    background: #0d0e12 !important;
    border: 1px solid #414754 !important;
    border-radius: 8px !important;
    height: 56px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

body .wc-block-checkout .wc-block-components-textarea,
body .wc-block-components-textarea {
    height: auto !important;
    min-height: 100px !important;
}

body .wc-block-checkout .wc-block-components-text-input:focus-within,
body .wc-block-checkout .wc-block-components-textarea:focus-within,
body .wc-block-components-text-input:focus-within,
body .wc-block-components-textarea:focus-within {
    border-color: #adc7ff !important;
    box-shadow: 0 0 10px rgba(173, 199, 255, 0.2) !important;
}

/* Force Input Tag background and text styling */
body .wc-block-checkout .wc-block-components-text-input input,
body .wc-block-checkout .wc-block-components-text-input input[type="text"],
body .wc-block-checkout .wc-block-components-text-input input[type="email"],
body .wc-block-checkout .wc-block-components-text-input input[type="tel"],
body .wc-block-checkout .wc-block-components-text-input input[type="number"],
body .wc-block-checkout .wc-block-components-text-input input[type="password"],
body .wc-block-checkout .wc-block-components-text-input__input,
body .wc-block-checkout .wc-block-components-textarea textarea,
body .wc-block-checkout .wc-block-components-textarea__textarea,
body .wc-block-cart .wc-block-components-text-input input,
body .wc-block-cart .wc-block-components-text-input input[type="text"],
body .wc-block-cart .wc-block-components-text-input input[type="email"],
body .wc-block-cart .wc-block-components-text-input__input,
body .wc-block-components-text-input input,
body .wc-block-components-text-input__input,
body .wc-block-components-textarea textarea,
body .wc-block-components-textarea__textarea {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    color: #e3e2e7 !important;
    height: 100% !important;
    width: 100% !important;
    padding: 22px 16px 4px 16px !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    position: relative !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

body .wc-block-checkout .wc-block-components-textarea textarea,
body .wc-block-components-textarea textarea {
    height: auto !important;
    padding: 24px 16px 8px 16px !important;
    resize: vertical !important;
}

/* 3. Text Input & Textarea Labels Positioning */
body .wc-block-checkout .wc-block-components-text-input label,
body .wc-block-checkout .wc-block-components-text-input__label,
body .wc-block-checkout .wc-block-components-textarea label,
body .wc-block-checkout .wc-block-components-textarea__label,
body .wc-block-cart .wc-block-components-text-input label,
body .wc-block-cart .wc-block-components-text-input__label,
body .wc-block-components-text-input label,
body .wc-block-components-text-input__label,
body .wc-block-components-textarea label,
body .wc-block-components-textarea__label {
    position: absolute !important;
    left: 16px !important;
    top: 6px !important;
    font-size: 11px !important;
    color: #adc7ff !important;
    font-weight: 600 !important;
    pointer-events: none !important;
    z-index: 6 !important;
    margin: 0 !important;
    transform: none !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
}

/* Ensure dynamic focused label colors stay blue and highlighted */
body .wc-block-checkout .wc-block-components-text-input.is-active label,
body .wc-block-checkout .wc-block-components-text-input:focus-within label,
body .wc-block-checkout .wc-block-components-textarea.is-active label,
body .wc-block-checkout .wc-block-components-textarea:focus-within label,
body .wc-block-components-text-input.is-active label,
body .wc-block-components-text-input:focus-within label {
    color: #adc7ff !important;
}

/* 4. Select & Dropdown Components (Country / Region & State / County overrides) */
body .wc-blocks-components-select,
body .wc-block-components-select {
    margin-bottom: 1.25rem !important;
}

body .wc-blocks-components-select__container,
body .wc-block-components-select__container {
    position: relative !important;
    background-color: #0d0e12 !important;
    background: #0d0e12 !important;
    border: 1px solid #414754 !important;
    border-radius: 8px !important;
    height: 56px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

body .wc-blocks-components-select__container:focus-within,
body .wc-block-components-select__container:focus-within {
    border-color: #adc7ff !important;
    box-shadow: 0 0 10px rgba(173, 199, 255, 0.2) !important;
}

body .wc-blocks-components-select__select,
body .wc-block-components-select__select {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    color: #e3e2e7 !important;
    height: 100% !important;
    width: 100% !important;
    padding: 22px 36px 4px 16px !important; /* Keep value shifted down */
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    z-index: 5 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

body .wc-blocks-components-select__select:focus,
body .wc-block-components-select__select:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

body .wc-blocks-components-select__label,
body .wc-block-components-select__label {
    position: absolute !important;
    left: 16px !important;
    top: 6px !important;
    font-size: 11px !important;
    color: #adc7ff !important;
    font-weight: 600 !important;
    pointer-events: none !important;
    z-index: 6 !important;
    margin: 0 !important;
    transform: none !important;
    line-height: 1.2 !important;
}

body .wc-blocks-components-select__expand,
body .wc-block-components-select__expand {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    fill: #adc7ff !important;
    pointer-events: none !important;
    width: 20px !important;
    height: 20px !important;
    z-index: 6 !important;
}

/* Dropdown native list options styling */
body .wc-blocks-components-select__select option,
body .wc-block-components-select__select option {
    background-color: #121317 !important;
    color: #e3e2e7 !important;
}

/* 5. Checkboxes & Radio Controls */
body .wc-block-components-checkbox,
body .wc-block-components-radio,
body .wc-block-components-radio-control {
    margin-bottom: 0.75rem !important;
}

body .wc-block-components-checkbox .wc-block-components-checkbox__input,
body .wc-block-components-radio .wc-block-components-radio__input,
body .wc-block-components-radio-control-input {
    border: 1px solid #414754 !important;
    background-color: #0d0e12 !important;
    border-radius: 4px !important;
}

body .wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
body .wc-block-components-radio .wc-block-components-radio__input:checked,
body .wc-block-components-radio-control-input:checked {
    background-color: #4a8eff !important;
    border-color: #4a8eff !important;
}

body .wc-block-components-checkbox__label,
body .wc-block-components-radio__label-text,
body .wc-block-components-radio-control__label {
    color: #e3e2e7 !important;
    font-family: 'Inter', sans-serif !important;
}

/* 6. Order Summary Sidebar and Totals Card (Right Column) */
body .wc-block-checkout__sidebar,
body .wc-block-components-totals-card,
body .wc-block-checkout__totals {
    background-color: rgba(18, 19, 23, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
}

body .wc-block-components-totals-card h2,
body .wc-block-components-totals-card h3,
body .wc-block-components-totals-card__title,
body .wc-block-checkout__sidebar h2,
 {
    color: #adc7ff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 0.75rem !important;
}

body .wc-block-components-totals-item,
body .wc-block-components-sidebar-layout .wc-block-components-totals-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0.75rem 0 !important;
}

body .wc-block-components-totals-item__label,
body .wc-block-components-totals-item__value,
body .wc-block-components-totals-footer-item__label,
body .wc-block-components-totals-footer-item__value {
    color: #e3e2e7 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Image container and placeholder in Order Summary */
body .wc-block-checkout .wc-block-components-product-image,
body .wc-block-checkout .wc-block-components-product-image img,
body .wc-block-cart .wc-block-components-product-image,
body .wc-block-cart .wc-block-components-product-image img {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
}

/* Add Coupons / Collapsible items styling */
body .wc-block-checkout .wc-block-components-totals-coupon,
body .wc-block-cart .wc-block-components-totals-coupon {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background-color: transparent !important;
}

body .wc-block-checkout .wc-block-components-totals-coupon input,
body .wc-block-cart .wc-block-components-totals-coupon input {
    background-color: #0d0e12 !important;
    border: 1px solid #414754 !important;
    color: #e3e2e7 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
}

/* 7. Buttons (Submit, Coupon Apply, etc.) */
body .wc-block-checkout__submit-button,
body .wc-block-cart__submit-button,
body .wc-block-components-button,
body .wc-block-components-totals-coupon__button {
    background-color: #4a8eff !important;
    color: #001a41 !important;
    padding: 0.875rem 2.25rem !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 0 15px rgba(74, 142, 255, 0.25) !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

body .wc-block-checkout__submit-button:hover,
body .wc-block-cart__submit-button:hover,
body .wc-block-components-button:hover,
body .wc-block-components-totals-coupon__button:hover {
    background-color: #adc7ff !important;
    color: #001a41 !important;
    box-shadow: 0 0 25px rgba(173, 199, 255, 0.4) !important;
    transform: translateY(-1px) !important;
}

body .wc-block-components-checkout-step__title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}

body .wc-block-components-checkout-step__badge {
    background-color: #4a8eff !important;
    color: #001a41 !important;
    font-weight: bold !important;
}

.wp-block-woocommerce-checkout-order-summary-block {
	border: none !important;
}

body .wc-block-checkout h3 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}