/*
Theme Name: LUXURYOD
Theme URI: https://luxuryod.com
Author: LUXURYOD Team
Author URI: https://luxuryod.com
Description: Premium streetwear WooCommerce theme with modern design
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxuryod
Tags: e-commerce, woocommerce, streetwear, modern, rtl-language-support
*/

:root {
    /* Base Themes */
    --primary-bg: #000000;
    --sidebar-bg: #1a1a1a;
    /* Default dark sidebar */
    --sidebar-text: #f3efea;
    --header-bg: #000000;
    --accent-color: #ffb066;
    --text-white: #f3efea;
    --text-dark: #1a1a1a;
    --card-bg: transparent;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    --transition-speed: 0.3s;
}

/* RTL / Arabic Mode */
body.rtl-mode {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic), var(--font-body);
}

body.rtl-mode h1,
body.rtl-mode h2,
body.rtl-mode h3,
body.rtl-mode .nav-link,
body.rtl-mode .cat-menu-btn,
body.rtl-mode .sell-btn {
    font-family: var(--font-arabic), var(--font-heading);
}

body.rtl-mode .product-detail-container {
    margin: 0 0 0 auto;
    /* Push to the right in Arabic */
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide WooCommerce standard notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: none !important;
}

html {
    font-size: 100%;
    /* Respect user/browser zoom settings */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* HEADER */
/* HEADER */
.main-header {
    background-color: #000000;
    color: #f3efea;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    /* Force viewport width */
    max-width: 100vw;
    z-index: 1000;
    border-top: none;
    box-shadow: none;
    box-sizing: border-box;
    margin: 0;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
}

/* Accent line for Main Header when Top Nav is hidden */
body.hide-top-bar .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;
}

/* LAYOUT WRAPPER */
.layout-wrapper {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 95px;
    /* PROPOERLY TIGHTENED: 50px header + 40px category + 5px buffer */
    box-sizing: border-box;
    position: relative;
}

/* Remove category bar padding when hidden */
body.hide-top-bar .layout-wrapper {
    padding-bottom: 55px;
}

/* For pages with sidebar + content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }
}

.show-on-mobile {
    display: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px !important;
    width: 100%;
    margin: 0;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    flex-wrap: nowrap !important;
    /* Prevent wrapping */
    background-color: #000000;
    gap: 30px;
    /* Use gap for spacing instead of margins */
}

.logo {
    flex-shrink: 0;
    margin-right: 0;
    /* Keep logo size fixed */
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    transform: scaleX(1);
    /* Ensure no accidental flips */
}

.search-container {
    flex: 1;
    /* Take all available space */
    margin: 0;
    display: flex;
    align-items: center;
    min-width: 200px;
    max-width: 100%;
}

/* Ensure the form takes full width */
.search-container form {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input {
    width: 100%;
    padding: 8px 20px 8px 50px;
    /* Adjusted padding height for better centering */
    border-radius: 4px;
    /* More rectangular luxury feel */
    border: 1px solid #ddd;
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    height: 36px;
    /* Fixed height for consistency */
    box-sizing: border-box;
}

body.rtl-mode .search-container input {
    padding: 8px 50px 8px 20px;
}

.search-container input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 176, 102, 0.1);
}

.search-btn {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #000000;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    cursor: pointer;
    width: 28px;
    /* Slightly smaller to fit height */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    z-index: 2;
    /* Ensure button is on top */
}

body.rtl-mode .search-btn {
    left: auto;
    right: 4px;
}

.search-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    /* Keep icons from moving */
    margin-left: 0;
}

.lang-selector {
    position: relative;
    cursor: pointer;
    font-weight: 300;
    color: #f3efea;
    transition: color 0.3s ease;
}

.lang-selector:hover,
.lang-selector.active {
    color: var(--accent-color);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-current i.fa-globe {
    font-size: 1.2rem;
    margin-right: 5px;
}

.lang-current img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-current i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.lang-selector:hover .lang-current i,
.lang-selector.active .lang-current i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 10px;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1002;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

/* Ensure gap is hoverable */
.lang-dropdown::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.lang-selector:hover .lang-dropdown,
.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-color);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    transition: color 0.2s;
    color: #f3efea;
}

.lang-option:hover {
    color: var(--accent-color);
}

.lang-option img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-current span {
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-link {
    font-family: var(--font-heading);
    color: #f3efea;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    /* give some space between icon and text */
}

.nav-link span {
    display: inline-block;
    /* Show the text again */
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Help Dropup Menu */
.nav-link-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.help-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #f3efea;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding: 0;
    margin: 0;
}

.nav-link-dropdown-wrapper:hover .help-btn,
.nav-link-dropdown-wrapper.active .help-btn {
    color: var(--accent-color);
}

.help-btn span {
    font-family: var(--font-body);
    /* Override default heading font to match lang */
    font-size: 0.95rem;
    font-weight: 600;
}

.help-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-link-dropdown-wrapper:hover .help-btn i,
.nav-link-dropdown-wrapper.active .help-btn i {
    transform: rotate(180deg);
}

.dropup-content {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    /* Matches lang-dropdown */
    padding: 10px;
    /* Matches lang-dropdown */
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* Matches lang-dropdown */
    transition: all 0.3s ease;
    z-index: 1002;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    /* Matches lang-dropdown */
}

/* Ensure gap is hoverable */
.dropup-content::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* On Mobile inside Sidebar, adjust dropup to just be normal relative dropdown */
@media (max-width: 768px) {
    .dropup-content {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 5px 0 5px 15px !important;
        display: none;
        /* Controlled by JS later if needed, but for now we can just show/hide or keep it simple */
    }

    .nav-link-dropdown-wrapper:active .dropup-content,
    .nav-link-dropdown-wrapper.active .dropup-content {
        display: block;
    }

    .dropup-content::after {
        display: none !important;
    }
}

.nav-link-dropdown-wrapper:hover .dropup-content,
.nav-link-dropdown-wrapper.active .dropup-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropup-content::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    /* Matches lang-dropdown */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-color);
}

/* The actual WP Menu elements inside dropup-content */
.help-dropup-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.help-dropup-menu li {
    margin: 0;
    padding: 0;
    border: none;
}

.help-dropup-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    /* Matches lang-option */
    color: #f3efea !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    /* Matches lang-current if needed, or 0.9 for list */
    font-weight: 300;
    /* Inherits from selector rather than heading */
    text-decoration: none !important;
    transition: color 0.2s ease;
    background: transparent !important;
}

.help-dropup-menu li a:hover {
    color: var(--accent-color) !important;
    background-color: transparent !important;
    /* No background fill on hover */
}

.top-nav {
    background-color: #1a1a1a;
    border-bottom: none;
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100vw;
    /* Force viewport width */
    max-width: 100vw;
    z-index: 999;
    box-sizing: border-box;
    margin: 0;
    height: 40px;
    min-height: 40px;
}

.top-nav::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;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 40px;
    min-height: 40px;
}

.cat-menu-btn {
    font-family: var(--font-heading);
    background-color: #1a1a1a;
    color: var(--accent-color);
    width: 200px;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: lowercase;
    cursor: pointer;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cat-menu-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.top-categories {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0 30px;
    margin: 0;
    align-items: center;
    height: 100%;
    overflow-x: auto;
    /* Allow horizontal scroll */
    flex-wrap: nowrap;
    /* Prevent items from wrapping to next line */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE */
}

.top-categories::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.top-categories li {
    flex-shrink: 0;
    /* Prevent items from shrinking */
}

.top-categories li a {
    font-family: var(--font-heading);
    color: #f3efea;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: capitalize;
    transition: all 0.2s;
    position: relative;
    padding: 2px 0;
    white-space: nowrap;
    /* Force single line text */
    display: inline-block;
}

.top-categories li a:hover,
.top-categories li a.active {
    color: var(--accent-color);
}

/* --- PREMIUM SIDEBAR STYLING --- */
.sidebar {
    width: 200px;
    min-width: 200px;
    padding: 0;
    /* Clean padding for list items */
    background-color: #000000;
    background-image: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
    flex-shrink: 0;
    box-sizing: border-box;
    border-right: 1px solid rgba(255, 176, 102, 0.1);
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.sidebar::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.sidebar.active {
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    padding: 15px 20px 10px;
    /* Reduced top and bottom padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 5px;
    /* Reduced margin */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Shop Loop Info Highlights */
.woocommerce-result-count,
.term-description,
.products-found-text {
    color: #d0d0d0 !important;
    /* Lighter color for visibility on black */
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.woocommerce-ordering {
    display: none !important;
    /* Hide sorting fallback */
}

.sidebar-title {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.sidebar-title i {
    font-size: 0.8rem;
}

.clear-filters {
    font-size: 0.75rem;
    color: #888;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: all 0.2s;
    width: fit-content;
    border: 1px solid transparent;
}

.clear-filters:hover {
    color: #ff5555;
    background: rgba(255, 85, 85, 0.1);
    border-color: rgba(255, 85, 85, 0.2);
}

.niche-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.niche-list li {
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.niche-list li a,
.niche-list li .niche-link {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    padding: 12px 25px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.niche-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--accent-color);
    transition: height 0.3s ease;
    z-index: 2;
}

.niche-list li:hover a,
.niche-list li.active a {
    color: var(--text-white);
    background: linear-gradient(90deg, rgba(255, 176, 102, 0.05) 0%, transparent 100%);
    padding-left: 35px;
}

.niche-list li.active::before {
    height: 60%;
}

.niche-list li:hover::before {
    height: 40%;
}

.niche-list li.active a {
    color: var(--accent-color);
    font-weight: 600;
}

/* Sidebar Push Logic - Premium Refinement */
@media (min-width: 769px) {
    .main-content {
        transition: margin-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sidebar.active~.main-content {
        margin-left: 200px;
    }

    body.rtl-mode .sidebar.active~.main-content {
        margin-left: 0;
        margin-right: 200px;
    }
}

/* RTL Sidebar Support */
.rtl-mode .sidebar {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: 1px solid rgba(255, 176, 102, 0.1);
}

.rtl-mode .sidebar.active {
    transform: translateX(0);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.rtl-mode .niche-list li::before {
    left: auto;
    right: 0;
}

.rtl-mode .niche-list li:hover a,
.rtl-mode .niche-list li.active a {
    padding-left: 25px;
    padding-right: 35px;
    background: linear-gradient(-90deg, rgba(255, 176, 102, 0.05) 0%, transparent 100%);
}

/* SINGLE PRODUCT PAGE - Premium Light Theme */
.single-product {
    background-color: var(--primary-bg) !important;
}

.single-product .main-content {
    background-color: var(--primary-bg) !important;
}

/* Reduced Single Product Button */
.add-btn,
.single_add_to_cart_button {
    width: auto;
    min-width: 160px;
    /* Increased to fit "ADD TO CART" */
    max-width: none;
    /* Removed restrictive max-width */
    padding: 12px 25px;
    /* More substantial padding */
    font-size: 0.85rem;
    /* Slightly larger for clarity */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: var(--accent-color);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
    background-color: #333 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.add-btn:hover,
.single_add_to_cart_button:hover {
    background-color: #fff;
    color: #000;
}

.product-detail-container {
    display: grid;
    grid-column-gap: 30px;
    grid-row-gap: 15px;
    /* Reduced further */
    grid-template-columns: 40% 60%;
    width: 100%;
    max-width: 100% !important;
    margin: 10px 0;
    /* Reduced from 20px */
    padding: 0 5%;
    box-sizing: border-box;
    color: #ffffff !important;
}

.product-gallery,
.product-info {
    /* Normal grid behavior */
}

.product-tabs-wrapper {
    grid-column: 1 / -1;
    /* SPAN FULL WIDTH */
    width: 100%;
}

/* Image Container Sizing */
.woocommerce-product-gallery {
    width: 100% !important;
    max-width: none !important;
    /* Allow growth on wider screens */
    margin: 0 !important;
}

.woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    /* Scale naturally with container */
    object-fit: contain !important;
    display: block;
    max-height: 80vh;
    /* Prevent it from being taller than the screen */
}

/* Short Description Styling - Full Width Immersive */
.woocommerce-product-details__short-description {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 5px 0 10px 0;
    /* Reduced further */
    max-width: 100%;
    border-left: 2px solid var(--accent-color);
    padding: 2px 0 2px 20px;
}

body.rtl-mode .woocommerce-product-details__short-description {
    border-left: none;
    border-right: 2px solid var(--accent-color);
    padding-left: 0;
    padding-right: 30px;
}

/* WooCommerce Tabs - Full Sweep Horizontal */
.woocommerce-tabs {
    margin: 10px 0 25px;
    /* Reduced further from 20px / 40px */
    padding: 0;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
    display: block;
    clear: both;
}

.woocommerce-tabs ul.tabs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    /* Reduced from 30px */
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    /* Reduced from 60px */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce-tabs ul.tabs li {
    padding: 0 0 10px 0;
    /* Reduced from 15px */
    margin: 0;
    position: relative;
    background: transparent !important;
    border: none !important;
}

.woocommerce-tabs ul.tabs li a {
    font-family: var(--font-heading);
    color: #555 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Ensure reviews is on one line */
}

.woocommerce-tabs ul.tabs li:hover a,
.woocommerce-tabs ul.tabs li.active a {
    color: var(--accent-color) !important;
}

.woocommerce-tabs ul.tabs li::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.woocommerce-tabs ul.tabs li.active::after {
    width: 100%;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    color: #a0a0a0;
    line-height: 2;
    font-size: 1.05rem;
    width: 100% !important;
    max-width: none !important;
    text-align: left;
}

.woocommerce-tabs .woocommerce-Tabs-panel p {
    width: 100% !important;
    max-width: none !important;
    display: block;
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    display: none;
    /* Hide redundant titles */
}

/* Hide Magnifying Glass Icon & Trigger */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce-product-gallery img {
    cursor: pointer;
    /* Show pointer to indicate lightbox is available */
}

/* Re-adjust for mobile */
@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 20px !important;
        margin-top: 20px !important;
    }

    .woocommerce-product-gallery {
        max-width: 100%;
        margin: 0 auto !important;
    }
}

.help-container,
.auth-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
}


.main-gallery {
    width: 100% !important;
    max-width: 100% !important;
    /* Full fluid */
    margin: 0 !important;
    padding: 2px !important;
    /* Ultra minimal padding */
    box-sizing: border-box !important;
    flex: 1;
    background-color: var(--primary-bg);
}

/* .main-gallery styles moved above */


/* FOOTER */
.main-footer {
    background-color: #000000;
    color: #f3efea;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 90px;
    /* Push footer up above the fixed headers (50px + 40px) */
}

/* Ensure layout wrapper allows scrolling to see footer */
.layout-wrapper {
    padding-bottom: 0;
}

/* =========================================
   GLOBAL PRICE COLOR OVERRIDE
   Force all prices to be Gold (#ffb066)
   ========================================= */

.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.woocommerce-Price-currencySymbol,
.price,
.amount,
.product-price,
.price-loop,
.price-loop span,
.price-loop bdi,
.price-loop ins,
li.product .price,
.product-card .price,
.product-card .amount {
    color: #ffb066 !important;
}

/* Single Product Premium Prominent Price */
.single-product .price {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    margin: 5px 0 4px 0;
    /* Reduced from 10px / 8px */
    display: block;
    letter-spacing: -1px;
}

.product-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 5px;
    /* Reduced from 10px */
    flex-wrap: wrap;
}

.product-badges .badge {
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.premium-badge {
    background: rgba(255, 176, 102, 0.15);
    color: #ffb066;
    border: 1px solid rgba(255, 176, 102, 0.3);
}

.shipping-badge {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shipping-badge i {
    margin-right: 6px;
    font-size: 0.8rem;
}

body.rtl-mode .shipping-badge i {
    margin-right: 0;
    margin-left: 6px;
}

ins {
    color: #ffb066 !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* Specific Loop Override */
.product-details-loop .price-loop,
.product-details-loop .price-loop * {
    color: #ffb066 !important;
}

/* Fallback for general WooCommerce Loop */
ul.products li.product .price,
ul.products li.product .price * {
    color: #ffb066 !important;
}

/* 
   Keep original price (del) GREY 
   Must be more specific to override the above 
*/
del,
del .amount,
del .woocommerce-Price-amount,
del .woocommerce-Price-amount bdi,
del span,
.price-loop del,
.price-loop del .amount,
.product-price del,
.product-price del .amount {
    color: #888888 !important;
    text-decoration: line-through !important;
    opacity: 0.8 !important;
    font-weight: normal !important;
}

/* Hide 'View Cart' link after adding to cart */
a.added_to_cart {
    display: none !important;
}

/* =========================================
   SIDE CART & FLOATING BUTTON
   ========================================= */

.floating-cart-btn {
    position: fixed;
    right: 10px;
    bottom: 120px;
    /* Adjusted to not overlap with back-to-top or other elements */
    width: 45px;
    height: 45px;
    /* Small Rectangle/Square */
    background-color: #000;
    border: 2px solid #ffb066;
    border-radius: 8px;
    /* Rounded corners */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-cart-btn:hover {
    transform: translateX(-5px);
    /* Move slightly left on hover */
    box-shadow: 0 0 20px rgba(255, 176, 102, 0.4);
}

.floating-cart-btn svg {
    width: 22px;
    /* Smaller icon */
    height: 22px;
    fill: #ffb066;
}

/* Removed duplicate */

/* --- Unified Cart Badge Style --- */
.cart-count-badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    border: 2px solid #000 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}

/* Side Cart Panel */
/* Side Cart Panel */
/* Side Cart Panel */
.side-cart {
    position: fixed;
    top: 50px;
    right: -450px;
    width: 400px;
    max-width: 90vw;
    height: calc(100vh - 100px);
    background-color: #000000 !important;
    /* Pure black */
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    color: #eee;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

.side-cart.open {
    right: 0;
}

/* Push Content Effect Removed - Overlay Only */
/* body.cart-open .layout-wrapper { transform: none; } */

/* Ensure Side Cart Content is Visible */
.widget_shopping_cart_content a {
    color: #eee !important;
}

.widget_shopping_cart_content .quantity {
    color: #aaa !important;
}

/* Mobile: No push */
@media (max-width: 768px) {

    body.cart-open .layout-wrapper,
    body.rtl-mode.cart-open .layout-wrapper {
        margin-right: 0;
        margin-left: 0;
    }
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    /* Below Cart (2000) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Cart Header */
/* Cart Header */
.side-cart .cart-header {
    padding: 25px;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: #000000 !important;
    /* Pure black to match promo banner */
}

.cart-notification {
    position: absolute;
    top: 100%;
    /* Position right under header */
    left: 0;
    width: 100%;
    text-align: center;
    color: #4BB543;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(75, 181, 67, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #1a1a1a;
    pointer-events: none;
}

.side-cart .cart-header h3 {
    margin: 0;
    color: #ffb066;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    /* Reduced font size */
    text-transform: uppercase;
    text-align: center;
}

.side-cart .close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* removed extra brace */

.side-cart .close-cart:hover {
    color: #ffb066;
}

/* Cart Content */
/* Cart Content Wrapper */
.side-cart .cart-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* WooCommerce Widget Structure */
.widget_shopping_cart_content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.woocommerce-mini-cart__empty-message {
    color: #aaa;
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}

/* Scrollable Item List */
ul.woocommerce-mini-cart {
    list-style: none;
    padding: 20px;
    margin: 0;
    flex: 1;
    /* Take available space */
    overflow-y: auto;
    /* Scrollable */
}

li.woocommerce-mini-cart-item {
    display: flex !important;
    gap: 15px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

li.woocommerce-mini-cart-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 176, 102, 0.2);
    transform: translateX(5px);
}

.cart-item-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

li.woocommerce-mini-cart-item:hover .cart-item-image img {
    transform: scale(1.1);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
}

.cart-item-header .product-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.cart-item-header .remove {
    position: static !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #888 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    margin: 0 !important;
}

.cart-item-header .remove:hover {
    background: #ff4d4d !important;
    color: #fff !important;
    border-color: #ff4d4d !important;
}

.cart-item-specs {
    display: flex;
    gap: 8px;
    margin: 5px 0;
}

.cart-item-specs .spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-item-specs .spec-icon.gender {
    font-size: 1rem;
    color: var(--accent-color);
}

.cart-item-specs .spec-icon.color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cart-item-specs .spec-icon.size {
    font-weight: 800;
    font-size: 9px;
    padding: 1px 5px;
    background: #2a2a2a;
    color: #fff;
    border-radius: 3px;
    border: 1px solid #333;
    letter-spacing: 0.5px;
}

.cart-item-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 5px;
}

.cart-item-footer .quantity {
    color: #bbbbbb;
    font-size: 0.85rem;
    font-weight: 600;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
}

.cart-item-footer .quantity .amount {
    color: var(--accent-color);
    margin-left: 5px;
}

.cart-item-specs .spec-icon.gender {
    font-size: 1rem;
    color: var(--accent-color);
}

.cart-item-specs .spec-icon.color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-item-specs .spec-icon.size {
    font-weight: 800;
    font-size: 10px;
    padding: 2px 6px;
    background: #2a2a2a;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #444;
    letter-spacing: 0.5px;
}

li.woocommerce-mini-cart-item .quantity {
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 500;
}

li.woocommerce-mini-cart-item .remove {
    position: relative !important;
    /* Changed from absolute to prevent overlap */
    order: 99;
    /* Move to end of flex row */
    margin-left: auto;
    /* Push to far right */
    flex-shrink: 0;
    color: #888 !important;
    background: #2a2a2a !important;
    font-size: 16px !important;
    font-weight: normal;
    text-decoration: none;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #444 !important;
    transition: all 0.2s ease;
}

li.woocommerce-mini-cart-item .remove:hover {
    color: #fff !important;
    background: #ff5555 !important;
    border-color: #ff5555 !important;
}

/* Side Cart Footer Layout */
.widget_shopping_cart_content .total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    /* Add horizontal padding */
    margin: 0 !important;
    border-top: 1px solid #333;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure Subtotal text is clear */
.widget_shopping_cart_content .total strong {
    font-weight: 500;
    margin-right: 5px;
    color: #fff;
    font-family: var(--font-heading);
}

.widget_shopping_cart_content .total .amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Custom Checkout Button */
.widget_shopping_cart_content .custom-checkout-btn.checkout {
    display: inline-block !important;
    width: auto !important;
    padding: 8px 20px !important;
    background-color: var(--accent-color) !important;
    color: #000 !important;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    line-height: 1.2;
    margin-top: 0 !important;
}

.widget_shopping_cart_content .custom-checkout-btn.checkout:hover {
    background-color: #fff !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 176, 102, 0.4);
}

/* Hide original buttons container */
.widget_shopping_cart_content .buttons {
    display: none !important;
}

/* RTL positioning for remove button */
body.rtl-mode li.woocommerce-mini-cart-item .remove {
    margin-right: auto;
    margin-left: 0;
    order: 99;
    /* Maintain position at end (left side in RTL flex-direction: row... wait) */
}

/* Fixed Footer Area (Total + Buttons) */
p.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #333;
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background-color: #1a1a1a;
    z-index: 10;
}

p.woocommerce-mini-cart__total .amount {
    color: #ffb066 !important;
}

/* Side-by-side Buttons */
p.woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 10px;
    padding: 0 20px 20px 20px;
    background-color: #1a1a1a;
}

/* Pagination Styling */
.woocommerce-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;

    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.woocommerce-pagination .page-numbers li {
    display: inline-block;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
}

.woocommerce-pagination .page-numbers li a:hover,
.woocommerce-pagination .page-numbers li span.current {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    font-weight: bold;
}



p.woocommerce-mini-cart__buttons .button {
    display: block;
    width: 100%;
    padding: 10px 5px;
    /* Smaller padding */
    text-align: center;
    background: transparent;
    border: 1px solid #ffb066;
    color: #ffb066;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    /* Smaller font */
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    /* Slight rounding */
}

p.woocommerce-mini-cart__buttons .button.checkout {
    background-color: #ffb066;
    color: #000;
}

p.woocommerce-mini-cart__buttons .button:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}


/* --- PREMIUM CIRCULAR SWATCHES --- */
.variations {
    width: 100%;
    margin-bottom: 8px;
    /* Reduced from 15px */
    border-collapse: collapse;
}

.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
    /* Reduced from 12px */
    align-items: flex-start;
}

.variations td.label {
    padding-bottom: 10px;
    font-family: var(--font-heading);
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left !important;
    /* Force left align */
}

body.rtl-mode .variations td.label {
    text-align: right !important;
    /* Correct for Arabic */
}

body.rtl-mode .variations td.label {
    text-align: right;
}

.variations td.value {
    padding: 0;
}

.luxuryod-swatches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.swatch-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    background: transparent;
}

.swatch-circle:hover {
    border-color: var(--accent-color);
}

.swatch-circle.active {
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 0 15px rgba(255, 176, 102, 0.2);
    transform: scale(1.05);
}

.swatch-circle.color-swatch {
    padding: 2px;
}

.swatch-circle.size-swatch,
.swatch-circle.gender-swatch {
    background: rgba(255, 255, 255, 0.03);
}

.swatch-circle.gender-swatch {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    color: #888;
}

.swatch-circle.gender-swatch.active {
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    background: rgba(255, 176, 102, 0.05) !important;
}

.swatch-circle.gender-swatch i {
    transition: all 0.3s ease;
}

.swatch-circle.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Hide WooCommerce Notices on Single Product */
.single-product .woocommerce-message,
.single-product .woocommerce-error,
.single-product .woocommerce-info {
    display: none !important;
}

/* Transactional Area (Qty + Button) */
/* Simple Product Cart */
.single-product form.cart:not(.variations_form) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 15px !important;
    width: 100% !important;
    max-width: 500px !important;
}

/* Variable Product Cart */
.single-product form.variations_form {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    flex-wrap: nowrap;
}

.quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
    border-radius: 6px;
    height: 48px !important;
    padding: 0 10px;
    box-sizing: border-box !important;
}

/* Hide default spin buttons */
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input[type=number] {
    -moz-appearance: textfield;
}

.quantity input.qty,
.quantity input.qty-input {
    width: 45px !important;
    /* Slightly wider for better visibility */
    height: 100%;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.3s;
    line-height: 1;
}

.qty-btn:hover {
    color: var(--accent-color);
}

.single_add_to_cart_button {
    height: 48px !important;
    padding: 0 35px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Premium Variation Reset Link */
.reset_variations {
    display: inline-block;
    margin-top: 10px;
    /* Reduced from 20px */
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 6px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reset_variations:hover {
    color: #ffb066;
    border-color: #ffb066;
    background: rgba(255, 176, 102, 0.05);
    box-shadow: 0 0 15px rgba(255, 176, 102, 0.1);
}

/* Product Meta (SKU) */
.product_meta {
    font-size: 0.8rem;
    color: #888;
    margin: 10px 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product_meta .sku_wrapper {
    display: block;
}

.product_meta .sku {
    color: #ffb066;
}

/* Related Products Full Sweep Horizontal */
.related.products {
    margin-top: 25px;
    /* Reduced from 50px */
    padding: 15px 0;
    /* Reduced from 30px */
    border-top: 1px solid #1a1a1a;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: transparent;
    /* Darker stripe for focus */
    overflow: hidden;
}

.related.products h2 {
    padding: 0 5%;
    /* Re-align heading with site content */
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    /* Reduced from 40px */
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: left;
    color: #fff;
}

body.rtl-mode .related.products h2 {
    text-align: right;
}

.related.products ul.products {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 30px;
    padding: 10px 5% 40px 5%;
    /* Side padding on the scroll list */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Cleaner look */
    grid-template-columns: none !important;
}

.related.products ul.products::-webkit-scrollbar {
    height: 4px;
}

.related.products ul.products::-webkit-scrollbar-thumb {
    background: #ffb066;
    border-radius: 10px;
}

.related.products ul.products li.product {
    flex: 0 0 260px;
    scroll-snap-align: start;
    margin: 0 !important;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.related.products ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 176, 102, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.related.products ul.products li.product img {
    border-radius: 8px;
    margin-bottom: 15px;
}

/* RTL Support Restored */
body.rtl-mode .floating-cart-btn {
    right: auto;
    left: 20px;
}

body.rtl-mode .side-cart {
    right: auto;
    left: -450px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.7);
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

body.rtl-mode .side-cart.open {
    left: 0;
}

/* Inline Loop Swatches (Generic) */
.loop-swatches {
    width: 100%;
}

.swatch-row {
    margin-bottom: 5px;
}

.swatch-option {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.swatch-option:hover {
    opacity: 1;
    transform: scale(1.1);
}

.swatch-option.selected {
    opacity: 1;
    border-color: var(--accent-color);
}

/* Color Swatches */
.swatch-option.color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #444;
}

.swatch-option.color.selected {
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--accent-color);
}

/* Size Swatches */
.swatch-option.size {
    font-size: 0.75rem;
    padding: 2px 6px;
    border: 1px solid #444;
    border-radius: 3px;
    color: #ccc;
    font-family: var(--font-heading);
}

.swatch-option.size.selected {
    background-color: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

/* Gender Swatches */
.swatch-option.gender {
    font-size: 1.1rem;
    color: #888;
    padding: 2px 5px;
}

.swatch-option.gender.selected {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 176, 102, 0.4);
}

/* --- Premium Loop Options (Shop Grid) --- */


/* --- Compact Product Grid Item --- */

/* PREMIUM FLUID GRID */
.products-grid,
ul.products {
    display: grid !important;
    /* Dynamic columns: 2 at min, up to 10+ at max zoom/width */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 10px !important;
    /* Minimal spacing */
    margin: 0 auto !important;
    padding: 10px !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

ul.products::before,
ul.products::after {
    content: none !important;
    display: none !important;
}

ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* PREMIUM PRODUCT CARD */
.product-card,
li.product,
.products-grid .product {
    position: relative;
    background: #0a0a0a;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

body.rtl-mode .product-card,
body.rtl-mode li.product,
body.rtl-mode .products-grid .product {
    text-align: right;
}

li.product:hover,
.products-grid .product:hover {
    background: #111;
    border-color: rgba(255, 176, 102, 0.2);
    transform: translateY(-2px);
}

.product-image-link,
.product-image,
.card-image-wrapper {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    position: relative;
    background: #000;
}

li.product img,
.products-grid .product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

li.product:hover img,
.products-grid .product:hover img {
    transform: scale(1.05);
}


.product-details,
.product-details-loop {
    padding: 12px 10px;
}

.product-category-loop {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 5px;
    font-weight: 700;
}

.product-title,
.product-title a,
.product-title-loop,
.product-title-loop a {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #ffffff !important;
    /* Force pure white */
    text-decoration: none !important;
    margin: 0 0 6px 0;
    font-weight: 500;
    line-height: 1.2;
}

/* Eliminating Blue/Purple Browser Links */
a,
a:visited {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}

.price,
.price-loop {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-color) !important;
}


/* --- Swatches Styles --- */

/* Base Swatch */
.loop-option-swatch {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.loop-option-swatch:hover {
    opacity: 1;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Size Swatches */
.loop-option-swatch.size {
    font-size: 0.8rem;
    padding: 5px 10px;
    color: #ccc;
    font-family: var(--font-body);
    font-weight: 500;
    min-width: 30px;
}

.loop-option-swatch.size.selected {
    background-color: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 176, 102, 0.2);
}

/* Color Swatches */
.loop-option-swatch.color {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.loop-option-swatch.color.selected {
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--accent-color);
    transform: scale(1.1);
}

/* Gender Swatches */
.loop-option-swatch.gender {
    font-size: 1.1rem;
    color: #aaa;
    width: 32px;
    height: 32px;
    padding: 0;
}

.loop-option-swatch.gender:hover {
    color: #fff;
}

.loop-option-swatch.gender.selected {
    background: var(--accent-color);
    color: #000 !important;
    border-color: var(--accent-color);
}

/* Wrapper */
.loop-toggle-wrapper {
    position: relative;
    display: inline-block;
}



/* --- Premium Pagination --- */
.woocommerce-pagination {
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.woocommerce-pagination ul.page-numbers li {
    display: inline-flex;
    margin: 0;
    border: none;
    padding: 0;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers,
.woocommerce-pagination ul.page-numbers li span.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: transparent;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 0;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background-color: rgba(192, 138, 75, 0.1);
    border-color: #ffb066;
    color: #ffb066;
}

.woocommerce-pagination ul.page-numbers li span.page-numbers.current {
    background-color: #ffb066;
    border-color: #ffb066;
    color: #000000;
    text-shadow: none;
    box-shadow: 0 4px 10px rgba(192, 138, 75, 0.2);
}

.woocommerce-pagination ul.page-numbers li a.next,
.woocommerce-pagination ul.page-numbers li a.prev {
    width: auto;
    padding: 0 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT US PAGE & CONTACT FORM 7 STYLING
   ========================================================================== */

/* Page Layout Fix */
.luxuryod-contact-page .main-content main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
}

/* Form Container Card - Updated for Black Theme & Heavy Shadows */
.luxuryod-contact-page .wpcf7 {
    background: #000000;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 176, 102, 0.15) !important;
    border: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

/* Remove default CF7 margins/paddings if any */
.luxuryod-contact-page .wpcf7-form {
    margin: 0;
}

.luxuryod-contact-page .wpcf7-form p {
    margin-bottom: 25px;
}

/* Labels Styling - Adjusted for Black Background */
.luxuryod-contact-page .wpcf7-form label {
    display: block;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Input & Textarea Styling - Adjusted for Dark Mode */
.luxuryod-contact-page .wpcf7-form input[type="text"],
.luxuryod-contact-page .wpcf7-form input[type="email"],
.luxuryod-contact-page .wpcf7-form input[type="tel"],
.luxuryod-contact-page .wpcf7-form input[type="url"],
.luxuryod-contact-page .wpcf7-form textarea {
    width: 100% !important;
    background: transparent !important;
    border: 1px solid #333 !important;
    border-radius: 4px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* Focus State Styling */
.luxuryod-contact-page .wpcf7-form input:focus,
.luxuryod-contact-page .wpcf7-form textarea:focus {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(255, 176, 102, 0.1);
    outline: none;
}

/* Textarea height adjustment */
.luxuryod-contact-page .wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button Styling */
.luxuryod-contact-page .wpcf7-form .wpcf7-submit {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 18px 45px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    width: 100%;
    margin-top: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 176, 102, 0.2);
}

.luxuryod-contact-page .wpcf7-form .wpcf7-submit:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 176, 102, 0.3);
}

/* CF7 Response Messages */
.luxuryod-contact-page .wpcf7-response-output {
    margin: 30px 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 4px !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    border-width: 1px !important;
    border-style: solid !important;
}

/* Success Message */
.luxuryod-contact-page .wpcf7 div.wpcf7-mail-sent-ok {
    border-color: #2ecc71 !important;
    background-color: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
}

/* Error/Validation Messages */
.luxuryod-contact-page .wpcf7 div.wpcf7-validation-errors,
.luxuryod-contact-page .wpcf7 div.wpcf7-acceptance-missing {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.1) !important;
    color: #e74c3c !important;
}

/* Placeholder Styling */
.luxuryod-contact-page .wpcf7-form ::placeholder {
    color: #555555;
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .luxuryod-contact-page .main-content main {
        padding: 40px 15px !important;
    }

    .luxuryod-contact-page .wpcf7 {
        padding: 35px 20px;
        margin-top: 0;
    }

    .luxuryod-contact-page .wpcf7-form label {
        font-size: 0.8rem;
    }

    .luxuryod-contact-page .wpcf7-form .wpcf7-submit {
        padding: 15px 30px !important;
        font-size: 1rem !important;
    }
}

/* RTL (Arabic) Support */
body.rtl-mode.luxuryod-contact-page .wpcf7-form label,
body.rtl-mode.luxuryod-contact-page .wpcf7-form input,
body.rtl-mode.luxuryod-contact-page .wpcf7-form textarea,
body.rtl-mode.luxuryod-contact-page .wpcf7-form .wpcf7-submit,
body.rtl-mode.luxuryod-contact-page .wpcf7-response-output {
    font-family: var(--font-arabic), sans-serif !important;
    letter-spacing: 0 !important;
}

/* ==========================================================================
   SPACING REDUCTIONS & STICKY FOOTER (LEGAL/ACCOUNT PAGES)
   ========================================================================== */

/* Reduce vertical padding on all pages labeled 'hide-top-bar' */
body.hide-top-bar .layout-wrapper {
    padding-bottom: 50px !important;
    /* Perfect fit for 50px bottom header */
}

body.hide-top-bar .site-main {
    padding-top: 20px !important;
    /* Reduced from 40px */
    padding-bottom: 10px !important;
    /* Reduced from 40px */
}

/* Force footer to bottom of content area */
body.hide-top-bar .main-footer {
    margin-top: auto !important;
    padding: 15px 0 !important;
    /* Reduced from default */
    border-top: 1px solid rgba(255, 176, 102, 0.1);
}

/* Specific Page ID overrides if slugs differ */
.luxuryod-contact-page .main-content main {
    padding-top: 30px !important;
    /* 50% of previous 60px */
    padding-bottom: 20px !important;
}

/* Reduced spacing for WooCommerce Account pages */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 15px !important;
}

/* Utility to remove empty paragraphs often generated by WP */
body.hide-top-bar .entry-content p:empty {
    display: none;
}