/* ==========================================================================
   GLOBAL OVERRIDES - FORCE WHITE TITLES & NO BLUE/PURPLE LINKS
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
.product-title,
.product_title,
.entry-title,
.product-title-loop,
.product-title-loop a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.accent-text,
.price,
.price .amount,
.price ins .amount,
.price-loop,
.product-price,
.product-info .price,
.search-btn,
.nav-link:hover,
.cat-menu-btn i,
.top-categories li a:hover,
.niche-list li:hover a {
    color: var(--accent-color) !important;
}

.cart-count-badge {
    color: #000000 !important;
    background-color: var(--accent-color) !important;
}

.product-category-loop,
.product-header .tag,
.posted_in a,
.tagged_as a,
.product_meta a {
    color: #888888 !important;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.product-category-loop:hover,
.product_meta a:hover {
    color: var(--accent-color) !important;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE - DARK PREMIUM THEME
   ========================================================================== */

.single-product {
    background-color: #000000 !important;
}

.single-product .main-content {
    background-color: #000000 !important;
}

.product-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.product-badges .badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    text-transform: uppercase;
}

.product-badges .badge.premium-badge {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.single-product .product_title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.single-product .woocommerce-product-details__short-description {
    color: #bbbbbb !important;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Luxury Quantity Selector */
.luxuryod-quantity {
    display: flex;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 48px !important;
    width: fit-content;
    border-radius: 6px;
}

.luxuryod-quantity .qty-selector {
    display: flex;
    height: 100%;
}

.luxuryod-quantity .qty-btn {
    width: 45px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff !important;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.luxuryod-quantity .qty-btn:hover {
    background: #111;
    color: var(--accent-color) !important;
}

.luxuryod-quantity .qty-input {
    width: 55px;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent !important;
    color: #fff !important;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Add to Cart Button Premium Fix */
.single-product .single_add_to_cart_button {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    height: 48px !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 800 !important;
    font-size: 1rem !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    padding: 0 40px !important;
    margin: 0 !important;
}

.single-product .single_add_to_cart_button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 102, 0.3) !important;
}

/* --- THE TRANSACTIONAL ROW FIX --- */

/* 1. Simple Products: Force row layout */
.single-product form.cart:not(.variations_form) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 20px 0 !important;
}

/* 2. Variable Products: Keep table vertical, only make the bottom part a row */
.single-product form.variations_form {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
}

.single-product .variations {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.single-product .variations td.label {
    padding-bottom: 10px !important;
    display: block !important;
}

.single-product .variations td.value {
    padding-bottom: 20px !important;
    display: block !important;
}

/* The actual "Add to Cart" row inside variable products */
.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

/* --- SWATCHES FIX --- */
.luxuryod-swatches-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    clear: both !important;
}

.swatch-circle {
    display: inline-flex !important;
    margin: 0 !important;
}

/* ----------------------------------------- */

.single-product .product_meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.single-product .product_meta>span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-product-gallery .flex-control-thumbs {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    gap: 15px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 80px;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    transition: all 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--accent-color);
    opacity: 1;
}

.product-info {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.single-product .price,
.single-product .price .amount {
    color: var(--accent-color) !important;
    font-size: 1.5rem !important;
    display: block !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   CHECKOUT PAGE - LUXURY DARK THEME
   ========================================================================== */

body.woocommerce-checkout {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.woocommerce-checkout .woocommerce {
    background-color: #000000 !important;
}

/* ==========================================================================
   CHECKOUT PAGE SPLIT LAYOUT (MODERN PREMIUM)
   ========================================================================== */

/* Fix Page Container Width specifically for Checkout and create a floating card effect */
body.woocommerce-checkout .site-main {
    max-width: 1200px !important;
    /* Increased horizontal width by 20% from 1000px */
    background-color: #000000 !important;
    border-radius: 0 !important;
    padding: 5px 45px 10px 45px !important;
    /* Reduced padding vertically by 50% from 10px/20px */
    margin-top: 0 !important;
    /* Removed margin */
    margin-bottom: 0 !important;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 176, 102, 0.15) !important;
    /* INTENSIFIED SHADOW */
    border: 1px solid #1a1a1a !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Hide the "CHECKOUT" title */
body.woocommerce-checkout .entry-header {
    display: none !important;
}

/* Make footer stick completely and remove space above/below it on Checkout */
body.woocommerce-checkout .layout-wrapper {
    padding-bottom: 50px !important;
    /* Provide exact space for the fixed main-header (50px) */
}

body.woocommerce-checkout .main-footer {
    margin-bottom: 0 !important;
    /* Remove the 90px margin that floats it above */
    margin-top: 0 !important;
    padding: 5px 0 !important;
    /* Minimal padding */
    border-top: 1px solid rgba(255, 176, 102, 0.2) !important;
    /* Subtle separator */
}

/* Add the premium gradient separator to the main header on the checkout page, since the nav bar that usually holds it is removed */
body.woocommerce-checkout .main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 15px var(--accent-color);
    z-index: 1001;
}

/* Main wrapper Grid */
.woocommerce form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: max-content 1fr;
    /* This prevents the heading row from stretching! */
    grid-column-gap: 40px;
    /* Reduced gap */
    grid-row-gap: 0px;
    align-items: start;
    margin-top: 15px;
    /* Reduced margin */
    margin-bottom: 15px;
}

/* Left Column: Customer Details Form */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding-right: 0px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-bottom: 30px !important;
    flex: none !important;
}

/* Form Row Alignment (First & Last name side by side) */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48% !important;
    float: left !important;
    clear: none !important;
}

.woocommerce form .form-row-last {
    float: right !important;
}

.woocommerce form .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

.woocommerce form .form-row {
    margin-bottom: 8px !important;
    /* Reduced spacing by 20% to shrink vertical height */
}

/* Right Column: Order Review Header */
.woocommerce-checkout #order_review_heading {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 0 !important;
    background-color: transparent !important;
    border: 1px solid #333 !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0 !important;
    padding: 15px 30px 5px 30px !important;
    /* Reduced top & bottom padding */
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    margin-bottom: 0 !important;
}

/* Right Column: Order Review Section (Sticky) */
.woocommerce-checkout #order_review {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    position: sticky;
    top: 15px;

    /* Box connecting with the heading */
    background-color: transparent !important;
    border: 1px solid #333 !important;
    border-top: none !important;
    border-radius: 0 0 4px 4px !important;
    padding: 0 30px 15px 30px !important;
    /* Reduced bottom padding */
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .woocommerce form.checkout {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .woocommerce-checkout #order_review {
        position: relative;
        top: 0;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}

/* Headings (Billing, Shipping) */
.woocommerce-checkout .col2-set h3,
.woocommerce-checkout .col2-set h2 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
    /* Reduced from 15px */
    border-bottom: 1px solid #333 !important;
    padding-bottom: 5px !important;
    /* Reduced from 10px */
    font-size: 1.25rem !important;
    /* Reduced font size to scale */
}

/* Forms Labels */
.woocommerce form .form-row label {
    color: #cccccc !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-size: 0.85rem !important;
    letter-spacing: 0 !important;
    margin-bottom: 5px !important;
    /* Reduced from 10px */
    display: block;
}

/* Checkbox Labels inline fix */
.woocommerce form .form-row label.checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce form .form-row .required {
    color: #ff3333 !important;
    text-decoration: none !important;
    font-weight: 800;
}

/* Input Fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single {
    background-color: transparent !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
    padding: 8px 10px !important;
    /* Reduced padding for shorter height */
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    font-size: 0.9rem !important;
}

.woocommerce form .form-row input::placeholder {
    color: #555555 !important;
}

/* Select2 Dropdown Styling for Countries/States */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #aaaaaa !important;
    line-height: normal !important;
    padding: 0 !important;
}

.select2-dropdown {
    background-color: #0a0a0a !important;
    border: 1px solid #333 !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: transparent !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #222 !important;
    color: var(--accent-color) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.select2-results__option {
    color: #bbbbbb !important;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    background-color: #0a0a0a !important;
}

/* Focus states for inputs */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row .select2-container--open .select2-selection--single {
    border-color: #666 !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table.shop_table {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 25px !important;
    width: 100% !important;
}

/* Show Table Header (Matches Image) */
.woocommerce-checkout-review-order-table.shop_table thead {
    display: table-header-group !important;
}

.woocommerce-checkout-review-order-table.shop_table thead th {
    font-weight: 600 !important;
    color: #ffffff !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #333 !important;
    padding: 10px 0 5px 0 !important;
    /* Reduced padding */
    text-transform: none !important;
    font-size: 0.9rem !important;
}

.woocommerce-checkout-review-order-table.shop_table thead th.product-total {
    text-align: right !important;
}

.woocommerce-checkout-review-order-table.shop_table th,
.woocommerce-checkout-review-order-table.shop_table td {
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #333 !important;
    padding: 6px 0 !important;
    /* Reduced padding */
    font-size: 0.85rem !important;
}

.woocommerce-checkout-review-order-table.shop_table .cart_item td {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.woocommerce-checkout-review-order-table.shop_table .product-name {
    color: #cccccc !important;
    font-weight: 400 !important;
}

.woocommerce-checkout-review-order-table.shop_table .product-quantity {
    color: #888888 !important;
    font-weight: 500;
    margin-left: 5px;
}

.woocommerce-checkout-review-order-table.shop_table .amount {
    color: #dddddd !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.woocommerce-checkout-review-order-table.shop_table td.product-total {
    text-align: right !important;
}

/* Subtotals & Totals area */
.woocommerce-checkout-review-order-table.shop_table tfoot th {
    font-weight: 400 !important;
    color: #cccccc !important;
}

.woocommerce-checkout-review-order-table.shop_table tfoot td {
    text-align: right !important;
}

/* Hide Shipping and Subtotal rows completely */
.woocommerce-checkout-review-order-table.shop_table tr.woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table.shop_table tr.shipping,
.woocommerce-checkout-review-order-table.shop_table tr.cart-subtotal {
    display: none !important;
}

.woocommerce-checkout-review-order-table.shop_table .order-total th {
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    border-top: none !important;
}

.woocommerce-checkout-review-order-table.shop_table .order-total .amount {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    border-top: none !important;
}

/* Payment Box */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    margin-top: 10px !important;
}

/* Create "Payment Methods" hidden as it's not in the image */
.woocommerce-checkout #payment ul.payment_methods::before {
    display: none !important;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none !important;
    padding: 0 0 20px 0 !important;
}

#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
    color: #cccccc !important;
    font-weight: 400 !important;
    margin-bottom: 12px !important;
    display: flex;
    flex-direction: column;
}

#add_payment_method #payment ul.payment_methods li input,
.woocommerce-cart #payment ul.payment_methods li input,
.woocommerce-checkout #payment ul.payment_methods li input {
    margin-right: 12px !important;
    accent-color: var(--accent-color) !important;
    transform: scale(1.1);
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    background-color: #0d0d0d !important;
    color: #888888 !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 4px !important;
    padding: 15px !important;
    margin-top: 10px !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Terms and Conditions / Privacy Policy */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    color: #888888 !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a:hover,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a:hover {
    color: #ffffff !important;
}

.woocommerce form .form-row.woocommerce-validated input.input-text {
    box-shadow: none !important;
}

/* Place Order Button */
#place_order {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    height: 50px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    border: none !important;
    padding: 0 40px !important;
    cursor: pointer !important;
    margin-top: 15px !important;
}

#place_order:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 176, 102, 0.2) !important;
}

/* Notices / Error / Info Messages during checkout */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background-color: #111111 !important;
    color: #ffffff !important;
    border-top: 3px solid var(--accent-color) !important;
    border-radius: 4px !important;
    padding: 20px !important;
    box-shadow: none !important;
    margin-bottom: 30px !important;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    color: var(--accent-color) !important;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
    border-color: #bb3333 !important;
    background-color: rgba(187, 51, 51, 0.05) !important;
}

/* ==========================================================================
   LUXURY AUTH CUSTOM TEMPLATE (LOGIN/REGISTER)
   ========================================================================== */

/* Overall Page Layout constraints */
body.woocommerce-account .site-main {
    max-width: 950px !important;
    margin: 60px auto 100px auto !important;
    padding: 0 30px !important;
}

/* Hide or restyle the main "My Account" header */
body.woocommerce-account .entry-header {
    display: none !important;
}

/* The Grid Layout */
.luxury-auth-wrapper {
    width: 100%;
}

.luxury-auth-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    align-items: stretch;
}

.luxury-auth-single {
    max-width: 850px;
    margin: 0 auto;
}

/* Fix woo floats */
.luxury-auth-wrapper .col2-set {
    width: 100% !important;
}

.luxury-auth-wrapper .col-1,
.luxury-auth-wrapper .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* Box Styling (The Floating Luxury Card) */
.luxury-auth-box {
    background-color: #000000 !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 4px !important;
    padding: 20px 45px !important;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.03), 0 0 15px rgba(255, 176, 102, 0.06) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Title */
.luxury-auth-title {
    color: #ffffff !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #333 !important;
    text-transform: none !important;
}

/* Input Wrappers */
.luxury-input-group {
    margin-bottom: 12px !important;
    /* Reduced bottom margin */
    width: 100% !important;
    position: relative !important;
}

.luxury-input-group label {
    color: #cccccc !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    display: block;
}

/* Base Inputs */
.luxury-input {
    background-color: transparent !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    /* Reduced vertical padding */
    border-radius: 4px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
}

.luxury-input:focus {
    border-color: #666 !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Password Visibility Toggle (Eye Icon) */
.woocommerce form .password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.woocommerce form .show-password-input {
    position: absolute !important;
    top: 50% !important;
    right: 5px !important;
    /* Pushed to the right */
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0 !important;
    color: #888888 !important;
    width: 25px !important;
    height: 25px !important;
    overflow: visible !important;
    z-index: 10 !important;
    background: transparent !important;
    /* Remove background */
    border: none !important;
    /* Remove border */
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce form .show-password-input::before {
    display: none !important;
    /* Hide defaults if any */
}

.woocommerce form .show-password-input:hover {
    color: var(--accent-color) !important;
}

.woocommerce form .show-password-input::after {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    content: "\f06e" !important;
    /* Eye open icon */
    display: block !important;
}

.woocommerce form .show-password-input.display-password::after {
    content: "\f070" !important;
    /* Eye slash icon */
}

/* Login Actions (Checkbox & Lost Pass) */
.luxury-login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.luxury-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #aaaaaa !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

.luxury-checkbox {
    margin: 0 !important;
}

.luxury-lost-password {
    margin: 0 !important;
}

.luxury-lost-password a {
    color: #888888 !important;
    font-size: 0.85rem !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.luxury-lost-password a:hover {
    color: var(--accent-color) !important;
}

/* Submit Button */
.luxury-submit-row {
    margin-top: auto;
    /* Pushes button to bottom if height varies */
    padding-top: 20px;
}

.luxury-auth-form .luxury-btn {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 0 !important;
}

.luxury-auth-form .luxury-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 102, 0.2) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .luxury-auth-grid {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

    .luxury-auth-box {
        padding: 30px !important;
    }
}

/* Styling for Single View Flow Divider & Buttons */
.luxury-auth-separator {
    text-align: center;
    position: relative;
    margin: 25px 0 15px 0 !important;
    /* Reduced margin */
}

.luxury-auth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333;
    z-index: 1;
}

.luxury-auth-separator-text {
    background-color: #000;
    padding: 0 15px;
    color: #888;
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
}

.luxury-btn-outline {
    background-color: transparent !important;
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    text-align: center;
    display: block;
    text-decoration: none !important;
    border-radius: 4px !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.luxury-btn-outline:hover {
    background-color: rgba(255, 176, 102, 0.05) !important;
    color: #fff !important;
}

/* ==========================================================================
   LUXURY MY ACCOUNT DASHBOARD
   ========================================================================== */

/* Wrapper and Grid */
.luxury-account-wrapper {
    width: 100%;
    margin-top: 30px;
}

.luxury-account-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

/* Sidebar Navigation */
.luxury-account-sidebar {
    flex: 0 0 260px;
    /* Fixed width sidebar */
    background-color: #000000;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 30px 20px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.02), 0 0 15px rgba(255, 176, 102, 0.04);
}

.luxury-account-sidebar nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.luxury-account-sidebar nav ul li {
    margin-bottom: 8px !important;
    border: none !important;
}

.luxury-account-sidebar nav ul li a {
    display: block !important;
    padding: 12px 20px !important;
    color: #999999 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
}

.luxury-account-sidebar nav ul li.is-active a,
.luxury-account-sidebar nav ul li a:hover {
    background-color: rgba(255, 176, 102, 0.05) !important;
    color: var(--accent-color) !important;
    border: 1px solid #222 !important;
}

/* Main Content Area */
.luxury-account-main {
    flex: 1;
    /* Takes up remaining space */
    min-width: 0;
    /* Prevents flex blowout on mobile */
    background-color: #000000;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 40px !important;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.02), 0 0 15px rgba(255, 176, 102, 0.04);
}

.luxury-account-main h2,
.luxury-account-main h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #222 !important;
    text-transform: none !important;
}

/* Paragraphs and Text inside Content */
.luxury-account-main p {
    color: #aaaaaa !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.luxury-account-main strong {
    color: #ffffff !important;
}

.luxury-account-main a {
    color: var(--accent-color) !important;
    text-decoration: none !important;
}

.luxury-account-main a:hover {
    text-decoration: underline !important;
}

/* Account Details Form inside Dashboard */
.luxury-account-main .woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px !important;
    width: 100% !important;
}

.luxury-account-main .woocommerce-EditAccountForm label {
    color: #cccccc !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.luxury-account-main .woocommerce-EditAccountForm input.input-text {
    background-color: transparent !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    border-radius: 4px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.luxury-account-main .woocommerce-EditAccountForm input.input-text:focus {
    border-color: #666 !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Dashboard Buttons */
.luxury-account-main .button {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    display: inline-block !important;
}

.luxury-account-main .button:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 102, 0.2) !important;
}

/* Orders & Addresses Tables */
.luxury-account-main table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    margin-bottom: 30px !important;
}

.luxury-account-main table.shop_table th {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 15px !important;
    border: none !important;
    border-bottom: 2px solid #333 !important;
    text-align: left !important;
}

.luxury-account-main table.shop_table td {
    background-color: transparent !important;
    color: #cccccc !important;
    padding: 15px !important;
    border: none !important;
    border-bottom: 1px solid #1a1a1a !important;
    vertical-align: middle !important;
}

.luxury-account-main table.shop_table tr:last-child td {
    border-bottom: none !important;
}

.luxury-account-main table.shop_table td.woocommerce-orders-table__cell-order-actions .button {
    padding: 8px 15px !important;
    font-size: 0.85rem !important;
    margin-top: 0 !important;
}

/* Addresses Container Grid */
.luxury-account-main .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    width: 100% !important;
}

.luxury-account-main .woocommerce-Address {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid #222 !important;
    padding: 25px !important;
    border-radius: 4px !important;
    width: 100% !important;
    float: none !important;
}

.luxury-account-main .woocommerce-Address h3 {
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #333 !important;
    font-size: 1.2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.luxury-account-main .woocommerce-Address addr {
    color: #aaaaaa !important;
    line-height: 1.8 !important;
    font-style: normal !important;
}

.luxury-account-main .woocommerce-Address .edit {
    font-size: 0.9rem !important;
    color: var(--accent-color) !important;
}

/* Fieldsets in Account Details */
.luxury-account-main fieldset {
    border: 1px solid #333 !important;
    padding: 30px !important;
    border-radius: 4px !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.luxury-account-main fieldset legend {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    padding: 0 10px !important;
    margin-bottom: 0 !important;
}

/* Responsive Dashboard */
@media (max-width: 900px) {
    .luxury-account-grid {
        flex-direction: column;
        gap: 20px;
    }

    .luxury-account-sidebar {
        flex: auto;
        width: 100%;
        padding: 20px;
    }

    .luxury-account-sidebar nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .luxury-account-sidebar nav ul li {
        margin: 0 !important;
        flex: 1 1 auto;
    }

    .luxury-account-sidebar nav ul li a {
        text-align: center;
        padding: 10px !important;
    }

    .luxury-account-main {
        padding: 25px !important;
        width: 100%;
    }

    .luxury-account-main .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* Category Page Title */
.woocommerce-products-header__title.page-title {
    color: var(--accent-color) !important;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 20px 0 30px 20px;
    text-transform: capitalize;
}