/*
Theme Name: Basnira - Healing Light
Theme URI: https://healinglight.com
Author: Basnira
Author URI: https://healinglight.com
Description: Celestial Wellness Sanctuary - A premium dark wellness theme with glassmorphism design, celestial aesthetics, and dynamic WordPress features.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: basnira
Tags: dark, wellness, one-column, custom-menu, featured-images, theme-options
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ===== Base Reset & Typography ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

/* ===== Utilities ===== */
.py-20 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

/* ===== Custom Component Styles ===== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.inner-glow {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Interactive Hero Dots ===== */
.hero-dots-bg {
    position: absolute;
    inset: -50px;
    background-image: radial-gradient(circle, rgba(111, 238, 225, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.aura-halo {
    filter: blur(80px);
    opacity: 0.6;
    z-index: 2;
}

/* ===== WordPress Core Styles ===== */
.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 20px;
}

.sticky,
.gallery-caption,
.bypostauthor {}

/* ===== Navigation Menu Overrides ===== */
.basnira-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.basnira-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.basnira-nav ul li a:hover,
.basnira-nav ul li.current-menu-item a,
.basnira-nav ul li.current_page_item a {
    color: #5eead4;
    border-bottom: 2px solid #2dd4bf;
    padding-bottom: 4px;
}

/* Sub-menu Styles */
.basnira-nav ul li {
    position: relative;
}

.basnira-nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(14, 21, 20, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.basnira-nav ul li:hover > ul.sub-menu {
    display: flex;
}

.basnira-nav ul li ul.sub-menu li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    border-bottom: none;
}

.basnira-nav ul li ul.sub-menu li a:hover {
    border-bottom: none;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer Menu */
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: #ffffff;
}

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .basnira-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(14, 21, 20, 0.98);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
    }

    .basnira-nav.active {
        display: block;
    }

    .basnira-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .basnira-nav ul li a {
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .basnira-nav ul li ul.sub-menu {
        position: static;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding-left: 20px;
    }
}

/* ===== Blog Post Styles ===== */
.basnira-post-card {
    transition: transform 0.3s ease;
}

.basnira-post-card:hover {
    transform: translateY(-4px);
}

.basnira-post-card .post-thumbnail img {
    transition: transform 0.7s ease;
}

.basnira-post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

/* ===== Page Content ===== */
.page-content,
.entry-content {
    color: rgba(222, 228, 226, 0.8);
    line-height: 1.8;
}

.page-content h1, .entry-content h1,
.page-content h2, .entry-content h2,
.page-content h3, .entry-content h3,
.page-content h4, .entry-content h4 {
    color: #ffffff;
    margin-bottom: 16px;
}

.page-content p, .entry-content p {
    margin-bottom: 16px;
}

.page-content a, .entry-content a {
    color: #6feee1;
    text-decoration: underline;
}

.page-content a:hover, .entry-content a:hover {
    color: #79f7ea;
}

/* ===== Screen Reader Text (Accessibility) ===== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #0e1514;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #6feee1;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===== WooCommerce Overrides for Basnira Theme ===== */
/* ===== WooCommerce Overrides for Basnira Theme ===== */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(111, 238, 225, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(111, 238, 225, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.woocommerce ul.products li.product img {
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .price {
    color: #6feee1;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    background-color: #6feee1;
    color: #003733;
    border-radius: 9999px;
    padding: 14px 32px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    margin-top: auto;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    background-color: #4fd1c5;
    color: #003733;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(111, 238, 225, 0.3);
}

.woocommerce-message, .woocommerce-error, .woocommerce-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-width: 4px;
    border-top-color: #6feee1;
    color: #fff;
    padding: 20px 30px;
    margin-bottom: 40px;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
    border-color: #6feee1;
    box-shadow: 0 0 0 1px #6feee1;
    outline: none;
}

.woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.woocommerce table.shop_table th {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.woocommerce table.shop_table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 20px;
}

/* ===== WooCommerce Mini Cart (Slide-out) ===== */
.woocommerce ul.cart_list li, 
.woocommerce ul.product_list_widget li {
    padding: 20px 0;
}

.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-mini-cart-item.custom-mini-cart-item {
    display: flex !important;
    gap: 20px;
    padding: 32px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: stretch;
}

.cart-item-image {
    flex: 0 0 100px;
}

.cart-item-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0 !important;
    float: none !important;
}

.cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cart-item-header .product-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    text-decoration: none;
    display: block;
    margin: 0;
}

.cart-item-header a.remove {
    position: static;
    transform: none;
    color: rgba(255, 255, 255, 0.5) !important;
    background: transparent;
    width: auto;
    height: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.cart-item-header a.remove .material-symbols-outlined {
    font-size: 1.25rem;
}

.cart-item-header a.remove:hover {
    color: #ffb4ab !important;
    transform: scale(1.1);
}

.cart-item-meta {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.cart-item-price {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 4px 12px;
}

.cart-item-qty .qty-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.cart-item-qty .qty-btn:hover {
    color: #fff;
}

.cart-item-qty .qty-val {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 16px;
    text-align: center;
}

.woocommerce-mini-cart__total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.woocommerce-mini-cart__total .amount {
    color: #6feee1;
}

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.woocommerce-mini-cart__buttons a.button {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout) {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.woocommerce-mini-cart__buttons a.button.checkout {
    background-color: #6feee1;
    color: #003733;
    box-shadow: 0 10px 20px rgba(111, 238, 225, 0.2);
}

.woocommerce-mini-cart__buttons a.button.checkout:hover {
    background-color: #4fd1c5;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(111, 238, 225, 0.3);
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.woocommerce-mini-cart__empty-message::before {
    content: "shopping_cart";
    font-family: "Material Symbols Outlined";
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
}

/* ===== Google Translate Overrides ===== */
body {
    top: 0 !important;
}
.skiptranslate iframe,
.skiptranslate {
    display: none !important;
}
#goog-gt-tt {
    display: none !important;
}

/* Prevent Google Translate <font> tags from breaking flex/grid layouts */
font {
    display: contents !important;
    color: inherit !important;
    font-family: inherit !important;
}

/* ===== Premium Form Styling ===== */
form {
    width: 100%;
}

form p {
    margin-bottom: 20px;
}

label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
}

input:focus,
textarea:focus {
    background: rgba(111, 238, 225, 0.05) !important;
    border-color: rgba(111, 238, 225, 0.5) !important;
    box-shadow: 0 0 20px rgba(111, 238, 225, 0.15) !important;
    transform: translateY(-1px);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Fix Dropdowns (Select Options) */
select option {
    background-color: #0e1514 !important; /* Solid dark background for the menu */
    color: #ffffff !important;
    padding: 10px;
}

/* Fix for WooCommerce Select2 (if active) and standard selects */
.select2-container--default .select2-selection--single,
.select2-dropdown {
    background-color: #171d1c !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #6feee1 !important;
    color: #003733 !important;
}

/* Specific overrides for wp_login_form() */
#basnira-login-form .login-username label,
#basnira-login-form .login-password label {
    font-family: var(--font-label);
}

#basnira-login-form input[type="submit"] {
    width: 100%;
    background: #6feee1;
    color: #003733;
    border: none;
    padding: 16px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(111, 238, 225, 0.2);
}

#basnira-login-form input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(111, 238, 225, 0.3);
}

#basnira-login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#basnira-login-form .login-remember label {
    margin-bottom: 0;
    text-transform: none;
    font-weight: 400;
    font-size: 0.85rem;
}

/* Checkbox Styling - Aggressively override global input !important rules */
input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    padding: 0 !important;
    transform: none !important;
    backdrop-filter: none !important;
}

input[type="checkbox"]:hover {
    border-color: rgba(111, 238, 225, 0.5) !important;
    background: rgba(111, 238, 225, 0.05) !important;
}

input[type="checkbox"]:checked {
    background: #6feee1 !important;
    border-color: #6feee1 !important;
}

input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #003733 !important;
    border-width: 0 2.5px 2.5px 0 !important;
    transform: rotate(45deg) !important;
    box-sizing: content-box !important;
}

input[type="checkbox"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(111, 238, 225, 0.3) !important;
    transform: none !important;
}

/* Dedicated booking checkbox */
.basnira-checkbox {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
}

/* WooCommerce remember me checkbox */
#basnira-login-form .login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
}

/* Authentication Modal Extras */
.modal-content h3 {
    font-family: var(--font-display);
    font-style: italic;
    background: linear-gradient(135deg, #ffffff 0%, #6feee1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Custom Cursor ===== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: #6feee1;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, opacity 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(111, 238, 225, 0.5);
    border-radius: 50%;
    position: fixed;
    top: -11px;
    left: -11px;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease-out, opacity 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.active {
    transform: scale(3);
    opacity: 0.5;
}

.custom-cursor-follower.active {
    transform: scale(2);
    border-color: #6feee1;
    background: rgba(111, 238, 225, 0.1);
}

/* Global Hover Effects */
a, button {
    cursor: none !important;
}

.glass-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(111, 238, 225, 0.2);
    border-color: rgba(111, 238, 225, 0.4);
}

.bg-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bg-primary:hover {
    box-shadow: 0 0 30px rgba(111, 238, 225, 0.6);
    transform: translateY(-2px);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-follower {
        display: none;
    }
    a, button {
        cursor: pointer !important;
    }
}

/* Language Dropdown Fix */
.goog-te-menu-value span {
    color: #ffffff !important;
}

/* ===== THE SANCTUARY: ELITE CHECKOUT (MAX SPECIFICITY REDESIGN) ===== */

/* 1. Force Absolute Full Width */
body .wc-blocks-checkout, 
body .woocommerce-checkout,
body .wc-blocks-checkout__form {
    width: 100% !important;
    max-width: 100% !important; 
    margin: 40px 0 !important; 
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* 2. Expanded 2-Column Grid */
@media (min-width: 1024px) {
    body .wc-blocks-checkout__form {
        display: flex !important;
        flex-direction: row !important;
        gap: 40px !important;
        justify-content: space-between !important;
    }
    
    body .wc-blocks-components-main {
        flex: 1.2 !important;
        width: auto !important;
    }
    
    body .wc-blocks-components-sidebar {
        flex: 0.8 !important;
        width: auto !important;
        position: sticky !important;
        top: 100px !important;
    }
}

/* 3. Dropdown & Select Redesign (Billing Address) */
body .wc-block-components-select__select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(111, 238, 225, 0.3) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236feee1' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 24px !important;
}

body .wc-block-components-select {
    margin-bottom: 25px !important;
}

/* 4. Order Summary Box (Luxury Redesign) */
body .wc-blocks-components-sidebar {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(111, 238, 225, 0.02) 100%) !important;
    border: 1px solid rgba(111, 238, 225, 0.2) !important;
    border-radius: 40px !important;
    padding: 40px !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5) !important;
}

body .wc-block-components-order-summary {
    border: none !important;
}

body .wc-block-components-order-summary__totals {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 30px !important;
    padding-top: 30px !important;
}

/* 5. Fixing Label Overlap/Stickiness (Labels OUTSIDE) */
body .wc-block-components-text-input,
body .wc-blocks-components-select,
body .wc-block-components-combobox-control {
    display: flex !important;
    flex-direction: column-reverse !important; /* Forces label above input */
    margin-bottom: 25px !important;
    position: relative !important;
}

body .wc-block-components-text-input label,
body .wc-blocks-components-select__label,
body .wc-block-components-combobox-control__label {
    position: static !important; /* Remove from floating */
    transform: none !important; /* Reset animation */
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #6feee1 !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Ensure inputs don't have large top padding meant for floating labels */
body .wc-block-components-text-input input,
body .wc-block-components-combobox-control input,
body .wc-block-components-select__select {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 5px !important;
}

/* 7. Glow Button */
body .wc-block-components-checkout-place-order-button {
    background: linear-gradient(90deg, #6feee1, #48b8ac) !important;
    box-shadow: 0 0 30px rgba(111, 238, 225, 0.4) !important;
    border: none !important;
    color: #003733 !important;
    letter-spacing: 2px !important;
}

/* Custom Utility Overrides */
.max-w-3xl {
    max-width: 80% !important;
}

/* 4. Elegant Headings */
.wc-blocks-checkout h2,
.wc-blocks-components-title,
.woocommerce-checkout h3 {
    font-family: var(--font-display) !important;
    font-size: 2rem !important;
    font-style: italic !important;
    background: linear-gradient(135deg, #ffffff 0%, #6feee1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px !important;
    letter-spacing: -0.02em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

/* 5. Precise Label & Input Management */
.wc-blocks-components-text-input,
.wc-blocks-components-select,
.wc-blocks-components-combobox-control {
    display: flex !important;
    flex-direction: column-reverse !important;
    margin-bottom: 30px !important;
}

.wc-blocks-components-text-input label,
.wc-blocks-components-select label {
    position: static !important;
    transform: none !important;
    margin-bottom: 10px !important;
    display: block !important;
    color: #6feee1 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* SOLID DARK High-End Inputs */
.wc-blocks-components-text-input input,
.wc-blocks-components-select__select,
.wc-blocks-components-combobox__input {
    background: #0e1514 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 16px 22px !important;
    height: auto !important;
    font-size: 1rem !important;
}

/* 6. Order Summary Polish */
.wc-block-components-order-summary-item__name {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.wc-block-components-totals-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
}

.wc-blocks-components-totals-footer-item {
    background: rgba(111, 238, 225, 0.1) !important;
    padding: 30px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(111, 238, 225, 0.2) !important;
    margin-top: 30px !important;
}

.wc-blocks-components-totals-footer-item .wc-blocks-components-totals-item__value {
    color: #6feee1 !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
}

/* 7. CTA Button (Large & Vibrant) */
.wc-blocks-checkout__actions button {
    background: linear-gradient(135deg, #6feee1 0%, #4ecdc4 100%) !important;
    color: #003733 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 100px !important;
    padding: 24px !important;
    font-size: 1.2rem !important;
    box-shadow: 0 15px 35px rgba(111, 238, 225, 0.3) !important;
    border: none !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.wc-blocks-checkout__actions button:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(111, 238, 225, 0.5) !important;
}

/* 8. Trust Badges Mockup (via CSS) */
.wc-blocks-components-sidebar::after {
    content: "🔒 SSL Secured | 🛡️ Safe Payment";
    display: block;
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* User Requested: Product Name Design */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
    display: block !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    margin: 0px !important;
    max-width: max-content !important;
    color: #ffffff !important;
}

/* User Requested: Remove Dropdown Background */
.wc-blocks-components-select .wc-blocks-components-select__container {
    background: transparent !important;
}

/* ===== PREMIUM WooCommerce Single Product Design ===== */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Product Image Gallery */
.woocommerce div.product div.images {
    width: 48%;
    float: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.woocommerce div.product div.images::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(111,238,225,0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.woocommerce div.product div.images img {
    border-radius: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce div.product div.images img:hover {
    transform: scale(1.02);
}

/* Product Summary / Details */
.woocommerce div.product div.summary {
    width: 48%;
    float: right;
    color: #dee4e2;
    padding: 20px 0;
}

.woocommerce div.product .product_title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #6feee1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Price Tag */
.woocommerce div.product p.price {
    color: #000 !important;
    font-size: 2rem !important;
    font-weight: 900;
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6feee1, #4fd1c5);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(111, 238, 225, 0.2);
    margin-bottom: 30px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: rgba(222, 228, 226, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add to Cart Area */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    align-items: center;
}

.woocommerce div.product form.cart .quantity input.qty {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 10px 16px;
    width: 60px;
    text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 9999px !important;
    padding: 16px 48px !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: 2px solid transparent !important;
    flex-grow: 1;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #6feee1 !important;
    box-shadow: 0 0 40px rgba(111, 238, 225, 0.2) inset, 0 10px 25px rgba(111, 238, 225, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Tabs Section */
.woocommerce div.product .woocommerce-tabs {
    width: 100%;
    margin-top: 64px;
    clear: both;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    gap: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: rgba(255, 255, 255, 0.4);
    padding: 16px 24px;
    display: block;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6feee1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px #6feee1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #ffffff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.woocommerce div.product .woocommerce-tabs .panel {
    color: rgba(222, 228, 226, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Related Products */
.woocommerce .related.products,
.woocommerce .upsells.products {
    width: 100%;
    margin-top: 80px;
    clear: both;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 100%;
        float: none;
    }
    
    .woocommerce div.product form.cart {
        flex-direction: column;
        border-radius: 24px;
    }
    
    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
    }
    
    .woocommerce div.product .woocommerce-tabs {
        padding: 24px;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
        display: none;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
}

/* Session info badge on product page */
.basnira-session-info {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Booking Page Slot Styles ===== */
.basnira-slot-placeholder {
    pointer-events: none;
}

/* Animate spin for loading */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

/* Date input styling for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8);
    cursor: pointer;
}
