/*
Theme Name: Oud House
Theme URI: https://github.com/oudhouse
Author: Antigravity AI
Author URI: https://google.com
Description: ظ‚ط§ظ„ط¨ ظˆظˆط±ط¯ط¨ط±ظٹط³ ظ…ط®طµطµ ظˆظپط§ط®ط± ظ„ظ…طھط¬ط± ظ„ط¨ظٹط¹ ط§ظ„ط¹ظˆط¯ ظˆط§ظ„ط¹ط·ظˆط± ط§ظ„ظپط§ط®ط±ط©طŒ ظ…طھظˆط§ظپظ‚ ط¨ط§ظ„ظƒط§ظ…ظ„ ظ…ط¹ ظˆظˆظƒظˆظ…ط±ط³.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oudhouse
*/

/* --- Import Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-primary: #0d0b09;
    --bg-secondary: #14110e;
    --bg-tertiary: #1b1713;

    --color-gold: #c5a059;
    --color-gold-hover: #e5be79;
    --color-gold-light: rgba(197, 160, 89, 0.15);

    --text-primary: #f3f1ed;
    --text-secondary: #b5afaf;
    --text-muted: #79736e;

    --border-color: #27221d;
    --border-gold: #c5a059;

    --font-arabic: 'Cairo', sans-serif;
    --font-latin: 'Cairo', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 5px 15px rgba(197, 160, 89, 0.2);
}

/* --- CSS Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-arabic);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    /* Default to Arabic */
    text-align: right;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    background: transparent;
    border: none;
    color: inherit;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-arabic);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.latin-text {
    font-family: var(--font-latin);
}

/* --- Container --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Utility Classes --- */
.btn-gold {
    display: inline-block;
    background-color: var(--color-gold);
    color: #000;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--color-gold);
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-gold);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold-light);
    color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-2px);
}

/* --- Header Section --- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1ece8;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.site-logo a {
    display: block;
}

.site-logo img {
    height: 55px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.site-logo img:hover {
    transform: scale(1.02);
}

.site-navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.site-navigation a {
    font-size: 16px;
    font-weight: 600;
    color: #3c1015;
    position: relative;
    padding: 8px 0;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c5a059;
    transition: var(--transition-smooth);
}

.site-navigation a:hover {
    color: #c5a059;
}

.site-navigation a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-action-btn,
.header-cart-link {
    color: #3c1015;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.header-action-btn:hover,
.header-cart-link:hover {
    color: #c5a059;
    background-color: rgba(197, 160, 89, 0.08);
}

.header-action-btn svg,
.header-cart-link svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.header-lang-toggle {
    width: auto !important;
    padding: 0 10px !important;
    border-radius: 22px !important;
    gap: 2px;
    text-decoration: none;
}

.header-lang-toggle svg {
    width: 18px !important;
    height: 18px !important;
}

.header-lang-toggle .lang-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}


.header-cart-link .cart-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #3c1015;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    transition: var(--transition-smooth);
}

.header-cart-link:hover .cart-count {
    background-color: #c5a059;
}

/* --- Search Overlay --- */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #f1ece8;
    box-shadow: 0 15px 30px rgba(60, 16, 21, 0.05);
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.search-overlay-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.search-overlay .search-form {
    display: flex;
    flex-grow: 1;
    position: relative;
    gap: 10px;
}

.search-overlay .search-field {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #f1ece8 !important;
    border-radius: 30px !important;
    background-color: #faf8f6 !important;
    color: #3c1015 !important;
    font-size: 15px;
}

.search-overlay .search-field:focus {
    border-color: #c5a059 !important;
    background-color: #ffffff !important;
    outline: none;
}

#search-close-btn {
    font-size: 32px;
    color: #3c1015;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: none;
    border: none;
    padding: 0 10px;
    line-height: 1;
}

#search-close-btn:hover {
    color: #c5a059;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero-perfumes.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #f1ece8;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/pattern.png');
    background-repeat: repeat;
    background-size: 650px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.hero-container-flex {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text-col {
    max-width: 550px;
    text-align: right;
    padding: 40px 0;
    animation: fadeInUp 1s ease;
}

.hero-main-title {
    font-size: 46px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.45;
    margin-bottom: 30px;
    font-family: var(--font-arabic);
}

.hero-btn-primary {
    display: inline-block;
    background-color: #3c1015;
    color: #ffffff;
    padding: 14px 45px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: 1px solid #3c1015;
    cursor: pointer;
    text-align: center;
}

.hero-btn-primary:hover {
    background-color: #c5a059;
    border-color: #c5a059;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.25);
}

/* --- Categories Section --- */
.categories-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 15px auto 0;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    background: linear-gradient(0deg, rgba(13, 11, 9, 0.9) 0%, rgba(13, 11, 9, 0.3) 100%);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
}

.category-card-title {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.category-card-count {
    font-size: 14px;
    color: var(--color-gold);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-premium);
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
    opacity: 0.8;
}

/* --- Featured Products Section --- */
/* --- Perfumes Section (ط¹ط·ظˆط±ظŒ ط¢ط³ط±طھ ط§ظ„ظ‚ظ„ظˆط¨) --- */
.perfumes-section,
.musk-section,
.oud-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #1a1a1a;
}

.perfumes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.perfumes-title-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.perfumes-subtitle {
    font-size: 15px;
    color: #888888;
    font-weight: 600;
    font-family: var(--font-arabic);
}

.perfumes-title-main {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: var(--font-arabic);
    margin: 0;
}

.perfumes-more-link {
    color: #135259;
    font-weight: 700;
    font-size: 17px;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: var(--transition-smooth);
}

.perfumes-more-link:hover {
    color: #c5a059;
}

.perfumes-slider-container {
    position: relative;
    overflow: visible;
    width: 100%;
}

.perfumes-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 5px;
    scrollbar-width: none;
    /* Firefox */
}

.perfumes-slider-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.perfume-card {
    flex: 0 0 calc(25% - 18px);
    /* 4 items in grid desktop */
    min-width: 270px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    text-align: right;
    transition: var(--transition-smooth);
    position: relative;
}

.perfume-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f7f5f2;
    aspect-ratio: 1;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.perfume-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.perfume-card:hover .perfume-img {
    transform: scale(1.05);
}

.perfume-wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    color: #888888;
    transition: var(--transition-smooth);
    z-index: 10;
}

.perfume-wishlist-btn:hover,
.perfume-wishlist-btn.active {
    background: #3c1015;
    color: #ffffff;
    transform: scale(1.05);
}

.perfume-wishlist-btn svg {
    display: block;
    transition: var(--transition-smooth);
}

.perfume-wishlist-btn.active svg {
    fill: currentColor;
}

.perfume-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.perfume-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-arabic);
}

.perfume-title a {
    color: #1a1a1a;
}

.perfume-title a:hover {
    color: #c5a059;
}

.perfume-rating {
    display: flex;
    gap: 4px;
    color: #ffcc00;
    font-size: 13px;
    margin-bottom: 18px;
}

.perfume-meta-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.perfume-add-to-cart {
    width: 100%;
}

.perfume-price {
    color: #135259;
    font-size: 19px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.perfume-price ins {
    text-decoration: none;
}

.perfume-price del {
    color: #888888;
    font-size: 14px;
    margin-left: 6px;
    font-weight: 400;
}

.perfumes-slider-controls {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    justify-content: flex-end;
    /* Aligns to bottom left in RTL */
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #113f44;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: #c5a059;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.25);
}

.slider-btn svg {
    display: block;
}

.perfume-cart-btn {
    background-color: #3c1015;
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid #3c1015;
    text-decoration: none;
    width: 100%;
    white-space: nowrap;
}

.perfume-cart-btn:hover {
    background-color: #135259;
    border-color: #135259;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 82, 89, 0.15);
}

.perfume-cart-btn svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}

/* Mobile responsive card width override */
@media (max-width: 991px) {
    .perfume-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {

    .perfumes-section,
    .musk-section {
        padding: 50px 0;
    }

    .perfumes-title-main {
        font-size: 28px;
    }

    .perfume-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 220px;
    }

    .perfume-title {
        font-size: 16px;
    }

    .perfume-price {
        font-size: 17px;
    }

    .perfume-cart-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .perfumes-slider-controls {
        justify-content: center;
        /* Center slider buttons on mobile */
    }
}

@media (max-width: 480px) {
    .perfume-card {
        flex: 0 0 100%;
        min-width: auto;
    }
}

/* --- Promotional Banner Section --- */
.promo-banner-section {
    position: relative;
    min-height: 480px;
    background-image: url('assets/images/promo-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.promo-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 11, 9, 0.15);
    /* Subtle dark overlay to help text contrast */
    z-index: 1;
}

.promo-banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.promo-banner-content {
    max-width: 600px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* In RTL flex-start is right */
}

.promo-banner-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 30px;
    font-family: var(--font-arabic);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.promo-banner-title .highlight {
    display: block;
    font-size: 38px;
    font-weight: 800;
    margin-top: 5px;
}

.promo-banner-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #3c1015;
    padding: 13px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: 1px solid #ffffff;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.promo-banner-btn:hover {
    background-color: #c5a059;
    border-color: #c5a059;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

/* Responsive adjustments for Promotional Banner */
@media (max-width: 768px) {
    .promo-banner-section {
        min-height: 380px;
        padding: 60px 0;
        background-position: 35% center;
        /* Adjust slightly to keep bottle in view */
    }

    .promo-banner-section::before {
        background: rgba(13, 11, 9, 0.35);
        /* Darken overlay slightly on mobile for better readability */
    }

    .promo-banner-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
        /* Center items on mobile */
    }

    .promo-banner-title {
        font-size: 26px;
        line-height: 1.4;
    }

    .promo-banner-title .highlight {
        font-size: 26px;
    }

    .promo-banner-btn {
        padding: 11px 32px;
        font-size: 15px;
    }
}

/* --- WooCommerce Page Wrapper Styles --- */
.woocommerce-wrapper {
    padding: 80px 0;
    min-height: 60vh;
}

/* Style main WooCommerce buttons, inputs, etc. to match our brand */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--color-gold) !important;
    color: #000 !important;
    font-weight: 700 !important;
    transition: var(--transition-smooth) !important;
    border-radius: 4px !important;
    padding: 12px 25px !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--color-gold-hover) !important;
    box-shadow: var(--shadow-gold) !important;
}

.woocommerce input.input-text,
.woocommerce textarea {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus {
    border-color: var(--border-gold) !important;
    outline: none;
}

/* --- Footer --- */
.site-footer {
    background-color: #240a0e;
    padding: 70px 0 30px;
    color: #ebdce0;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* Make logo/description col wider */
    gap: 50px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

.footer-brand-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .footer-brand-widget {
        align-items: center;
    }
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Force dark logo to become white */
    opacity: 0.95;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: #ebdce0;
    margin-bottom: 25px;
    max-width: 480px;
}

.footer-widget-title {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background-color: #c5a059;
}

@media (max-width: 768px) {
    .footer-widget-title::after {
        right: 50%;
        transform: translateX(50%);
    }
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 15px;
}

.footer-widget a {
    color: #ebdce0;
    transition: var(--transition-smooth);
}

.footer-widget a:hover {
    color: #c5a059;
    padding-right: 5px;
}

.footer-contact-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-contact-icons {
        align-items: center;
    }
}

.footer-contact-icons a {
    color: #ffffff;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-contact-icons a:hover {
    color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-bottom-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.07);
    margin: 30px 0 25px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.payment-badge.smsa {
    background-color: #3f1a84;
    color: #ffffff;
}

.payment-badge.aramex {
    background-color: #e1251b;
    color: #ffffff;
    font-weight: 700;
}

.payment-badge.dhl {
    background-color: #ffcc00;
    color: #d00000;
}

.payment-badge.applepay {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #e8e3de;
    font-weight: 700;
    text-transform: none;
}

.payment-badge.mada {
    background-color: #ffffff;
    color: #0077b5;
    border: 1px solid #e8e3de;
    font-weight: 700;
}

.payment-badge.mada-credit {
    background-color: #ffffff;
    color: #3bb34a;
    border: 1px solid #e8e3de;
    font-weight: 700;
}

.payment-badge.visa {
    background-color: #ffffff;
    color: #1a1f71;
    border: 1px solid #e8e3de;
}

.payment-badge.mastercard {
    background-color: #ffffff;
    color: #eb001b;
    border: 1px solid #e8e3de;
}

.payment-badge.tamara {
    background: linear-gradient(135deg, #dfc0eb 0%, #cf9ae6 100%);
    color: #3a144e;
    font-weight: 700;
    text-transform: none;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Desktop / Mobile visibility classes --- */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: inline-flex !important;
}

.mobile-menu-close {
    display: none;
}

.mobile-drawer-footer {
    display: none;
}

.mobile-menu-backdrop {
    display: none;
}

/* --- Responsive Layouts --- */
@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .header-container {
        flex-direction: row;
        height: 75px;
        padding: 0;
        gap: 0;
        justify-content: space-between;
    }

    .site-logo img {
        height: 40px;
    }

    .site-navigation {
        position: fixed;
        top: 0;
        right: -290px;
        /* hidden by default */
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(60, 16, 21, 0.08);
        z-index: 999999;
        /* Higher than WP Admin Bar (99999) */
        padding: 80px 25px 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: var(--transition-smooth);
        text-align: right;
    }

    .site-navigation.active {
        right: 0;
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .site-navigation a {
        font-size: 18px;
        width: 100%;
        display: block;
    }

    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 30px;
        left: 25px;
        color: #3c1015;
        cursor: pointer;
        background: none;
        border: none;
        padding: 5px;
        transition: var(--transition-smooth);
    }

    .mobile-menu-close svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        stroke-width: 2.5;
        display: block;
    }

    .mobile-menu-close:hover {
        color: #c5a059;
        transform: rotate(90deg);
    }

    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(13, 11, 9, 0.4);
        z-index: 1001;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        backdrop-filter: blur(3px);
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 15px;
        border-top: 1px solid #f1ece8;
        padding-top: 25px;
    }

    .mobile-drawer-link {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        color: #3c1015;
    }

    .mobile-drawer-link svg {
        stroke: currentColor;
        fill: none;
    }

    .hero-section {
        background-position: 25% center;
        min-height: 480px;
    }

    .hero-container-flex {
        justify-content: center;
    }

    .hero-text-col {
        max-width: 90%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.92);
        padding: 30px 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(60, 16, 21, 0.08);
    }

    .hero-main-title {
        font-size: 28px;
        color: #3c1015;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Features Section (طھط¬ط±ط¨ط© ظپط§ط®ط±ط© طھظ„ظٹظ‚ ط¨ظƒ) --- */
.features-section {
    position: relative;
    background-color: #faf3dd;
    /* Slightly yellower luxury cream background */
    padding: 80px 0;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/pattern.png');
    background-repeat: repeat;
    background-size: 650px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.features-container {
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features-subtitle {
    font-size: 15px;
    color: #888888;
    font-weight: 600;
    font-family: var(--font-arabic);
}

.features-title {
    font-size: 34px;
    font-weight: 800;
    color: #240a0e;
    font-family: var(--font-arabic);
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(60, 16, 21, 0.06);
    border-color: rgba(197, 160, 89, 0.2);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #113f44;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(17, 63, 68, 0.15);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: #c5a059;
    color: #000000;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2);
}

.feature-card-title {
    font-size: 19px;
    font-weight: 750;
    color: #240a0e;
    margin-bottom: 12px;
    font-family: var(--font-arabic);
}

.feature-card-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.8;
    margin: 0;
    font-family: var(--font-arabic);
}

/* Responsiveness for Features Section */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-section {
        padding: 60px 0;
    }

    .features-title {
        font-size: 26px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* --- Guest Banner Section --- */
.guest-banner-section {
    position: relative;
    min-height: 480px;
    background-image: url('assets/images/guest-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.guest-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 11, 9, 0.2);
    /* Dark overlay to make text stand out */
    z-index: 1;
}

.guest-banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.guest-banner-content {
    max-width: 600px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Aligns to right side in RTL */
    gap: 20px;
}

.guest-banner-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: var(--font-arabic);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.guest-banner-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #3c1015;
    padding: 13px 45px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: 1px solid #ffffff;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.guest-banner-btn:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

/* Responsive adjustments for Guest Banner */
@media (max-width: 768px) {
    .guest-banner-section {
        min-height: 380px;
        padding: 60px 0;
        background-position: center;
    }

    .guest-banner-section::before {
        background: rgba(13, 11, 9, 0.4);
    }

    .guest-banner-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .guest-banner-title {
        font-size: 28px;
        line-height: 1.4;
    }

    .guest-banner-btn {
        padding: 11px 32px;
        font-size: 15px;
    }
}

/* --- Reviews Section (ط§ط±ط§ط، ط¹ظ…ظ„ط§ط¦ظ†ط§) --- */
.reviews-section {
    position: relative;
    background-color: #faf3dd;
    /* Cream background matching features section */
    padding: 80px 0;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/pattern.png');
    background-repeat: repeat;
    background-size: 650px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.reviews-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.reviews-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews-subtitle {
    font-size: 15px;
    color: #888888;
    font-weight: 600;
    font-family: var(--font-arabic);
}

.reviews-title {
    font-size: 32px;
    font-weight: 800;
    color: #240a0e;
    font-family: var(--font-arabic);
    line-height: 1.6;
    margin: 0;
}

.reviews-title .highlight {
    color: #113f44;
    /* Teal highlight color */
}

.reviews-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-slider-track {
    overflow: hidden;
    position: relative;
    min-height: 250px;
}

.review-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.review-slide.active {
    display: flex;
}

.review-avatar-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.review-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-name {
    font-size: 20px;
    font-weight: 700;
    color: #240a0e;
    margin-bottom: 15px;
    font-family: var(--font-arabic);
}

.review-text {
    font-size: 17px;
    color: #555555;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
    font-style: italic;
    font-family: var(--font-arabic);
}

/* Slider Controls */
.reviews-slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.reviews-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #240a0e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    pointer-events: auto;
}

.reviews-slider-btn:hover {
    background-color: var(--color-gold);
    color: #000000;
}

.reviews-slider-btn svg {
    display: block;
}

/* Indicator Progress Bar */
.reviews-indicator-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.reviews-indicator-track {
    width: 150px;
    height: 4px;
    background-color: #ebdce0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.reviews-indicator-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    /* 2 slides: 50% width */
    background-color: #240a0e;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: right center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }

    .reviews-title {
        font-size: 24px;
        line-height: 1.5;
    }

    .reviews-slider-wrapper {
        padding: 0 40px;
    }

    .reviews-slider-controls {
        position: static;
        transform: none;
        justify-content: center;
        gap: 20px;
        margin-top: 25px;
    }
}



@media (max-width: 1199px) {
    .wishlist-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .wishlist-page-section {
        padding: 60px 0 80px;
    }

    .wishlist-title {
        font-size: 32px;
    }

    .wishlist-title-wrapper {
        margin-bottom: 40px;
    }

    .wishlist-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .wishlist-empty-state {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid-container {
        grid-template-columns: 1fr;
    }
}

/* --- WooCommerce My Account Page --- */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 10px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border-right: 3px solid transparent;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background-color: var(--color-gold-light);
    color: var(--color-gold);
    border-right-color: var(--color-gold);
}

.woocommerce-MyAccount-content {
    flex: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    color: var(--text-primary);
}

.woocommerce-MyAccount-content a {
    color: var(--color-gold);
}

.woocommerce-MyAccount-content a:hover {
    color: var(--color-gold-hover);
    text-decoration: underline;
}

.woocommerce-MyAccount-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Style woo account lists and tables */
.woocommerce-MyAccount-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.woocommerce-MyAccount-content li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* My Account Login/Register Form styling */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin: 0;
}

.woocommerce-account .u-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.woocommerce-account .u-column1.col-1,
.woocommerce-account .u-column2.col-2 {
    width: 100%;
    float: none;
    padding: 0;
}

/* Center single login form if registration is disabled */
.woocommerce-account .u-column1.col-1:only-child {
    max-width: 500px;
    margin: 0 auto;
}

.woocommerce-account h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-family: var(--font-arabic);
}

.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.woocommerce-form-row input.input-text {
    width: 100%;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    background-color: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce-form-row input.input-text:focus {
    border-color: var(--color-gold) !important;
    outline: none;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.woocommerce-form-login .woocommerce-form-login__rememberme input {
    margin: 0;
}

.woocommerce-LostPassword {
    margin-top: 15px;
}

.woocommerce-LostPassword a {
    color: var(--color-gold);
    font-size: 14px;
}

.woocommerce-LostPassword a:hover {
    color: var(--color-gold-hover);
    text-decoration: underline;
}

.woocommerce-form-login button[type="submit"],
.woocommerce-form-register button[type="submit"] {
    width: 100%;
    padding: 14px 20px !important;
    border-radius: 30px !important;
    font-size: 15px;
}

@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 30px;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
        flex: none;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .woocommerce-MyAccount-navigation li {
        flex: 1 1 auto;
        margin: 0;
    }

    .woocommerce-MyAccount-navigation li a {
        text-align: center;
        padding: 10px 15px;
        font-size: 14px;
        border-right: none;
        border-bottom: 3px solid transparent;
        border-radius: 6px;
    }

    .woocommerce-MyAccount-navigation li.is-active a,
    .woocommerce-MyAccount-navigation li a:hover {
        border-bottom-color: var(--color-gold);
    }

    .woocommerce-account .u-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- WooCommerce Logged Out Login/Register Page Customization --- */
body.woocommerce-account:not(.logged-in) {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-wrapper {
    background-color: #ffffff !important;
    padding: 60px 0 100px;
}

body.woocommerce-account:not(.logged-in) #masthead {
    background-color: #ffffff;
    border-bottom: 1px solid #f1ece8;
    box-shadow: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.login-page-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 15px;
}

.login-page-container .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.login-single-column {
    max-width: 400px;
    margin: 30px auto 0;
}

.login-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    height: 65px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.login-main-title {
    font-size: 22px;
    font-weight: 800;
    color: #113f44 !important;
    /* Dark teal */
    font-family: var(--font-arabic);
    margin-bottom: 10px;
}

.login-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333333 !important;
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-arabic);
}

/* Beautiful pill-shaped inputs */
body.woocommerce-account:not(.logged-in) .woocommerce-form-row input.input-text {
    width: 100% !important;
    height: 46px !important;
    padding: 0 22px !important;
    border-radius: 30px !important;
    border: 1px solid #135259 !important;
    /* Subtle dark-teal border */
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    transition: var(--transition-smooth) !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-row input.input-text:focus {
    border-color: #c5a059 !important;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.15) !important;
    outline: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 8px;
    display: block;
    padding-right: 10px;
}

/* Pill-shaped submit buttons */
body.woocommerce-account:not(.logged-in) button.woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) button.woocommerce-form-register__submit {
    width: 100% !important;
    height: 46px !important;
    background-color: #3c1015 !important;
    /* Burgundy */
    color: #ffffff !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(60, 16, 21, 0.1) !important;
}

body.woocommerce-account:not(.logged-in) button.woocommerce-form-login__submit:hover,
body.woocommerce-account:not(.logged-in) button.woocommerce-form-register__submit:hover {
    background-color: #113f44 !important;
    /* Dark teal hover */
    box-shadow: 0 6px 20px rgba(17, 63, 68, 0.15) !important;
    transform: translateY(-1px);
}

.login-remember-lost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666 !important;
    cursor: pointer;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme input {
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a {
    color: #135259 !important;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a:hover {
    color: #c5a059 !important;
    text-decoration: underline;
}

.reg-generate-pass-notice {
    font-size: 14px;
    color: #666666;
    margin: 10px 0 20px;
    line-height: 1.5;
    padding-right: 10px;
}

@media (max-width: 768px) {
    body.woocommerce-account:not(.logged-in) .woocommerce-wrapper {
        padding: 40px 0 60px;
    }

    .login-page-container .col2-set {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .login-main-title {
        font-size: 24px;
    }

    .login-logo {
        height: 70px;
    }
}

/* --- WooCommerce Cart Page Styles --- */

/* Cart Page Header Banner */
.cart-page-header-banner {
    background: linear-gradient(135deg, #ffffff 0%, #faf6f0 100%);
    border-bottom: 1px solid #eef1f3;
    padding: 40px 0 35px;
    margin-bottom: 0;
}

.cart-page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: right;
}

.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888888;
    margin-bottom: 15px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.cart-breadcrumb a {
    color: #113f44;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb-sep {
    color: #cccccc;
    font-size: 16px;
}

.cart-page-main-title {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: var(--font-arabic);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.cart-page-subtitle {
    font-size: 15px;
    color: #888888;
    margin: 0;
    font-weight: 500;
}

body.woocommerce-cart {
    background-color: #f7f8fa !important;
    color: #1a1a1a !important;
}

body.woocommerce-cart .woocommerce-wrapper {
    background-color: transparent !important;
    padding: 0 !important;
}

body.woocommerce-cart .woocommerce-wrapper--cart {
    padding: 0 !important;
    max-width: 100% !important;
}

body.woocommerce-cart #masthead {
    background-color: #ffffff;
    border-bottom: 1px solid #eef1f3;
}

.cart-page-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 100px;
}

.cart-columns-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

.cart-items-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.cart-item-remove-action {
    flex: 0 0 auto;
}

.cart-item-delete-btn {
    color: #ff4d4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ffebeb;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.cart-item-delete-btn:hover {
    background-color: #ff4d4d;
    color: #ffffff;
    border-color: #ff4d4d;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.2);
    transform: scale(1.05);
}

.cart-item-details-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.cart-item-title a {
    color: #1a1a1a;
}

.cart-item-title a:hover {
    color: var(--color-gold);
}

.cart-item-price-label {
    font-size: 15px;
    font-weight: 700;
    color: #888888;
}

/* Pill quantity input selector */
.cart-qty-selector-pill {
    display: inline-flex;
    align-items: center;
    background-color: #f1f3f5;
    border-radius: 30px;
    height: 38px;
    padding: 0 5px;
    width: fit-content;
    margin-top: 5px;
}

.cart-qty-selector-pill .qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
}

.cart-qty-selector-pill .qty-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.cart-qty-selector-pill .qty-input {
    width: 36px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield;
}

.cart-qty-selector-pill .qty-input::-webkit-outer-spin-button,
.cart-qty-selector-pill .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-image-action {
    flex: 0 0 100px;
}

.cart-item-image-action img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

/* Summary Card Column */
.cart-summary-column {
    position: sticky;
    top: 110px;
}

.cart-summary-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.cart-summary-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cart-summary-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.cart-summary-item-badge {
    background-color: #e0f8f5;
    color: #0da0a6;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.cart-summary-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
    color: #555555;
}

.cart-summary-info-row .info-label {
    font-weight: 600;
}

.cart-summary-info-row .info-value {
    font-weight: 700;
    color: #1a1a1a;
}

.cart-summary-info-row.coupon-applied-row .info-value {
    color: #2e7d32;
}

/* Coupon Input section */
.cart-summary-coupon-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.coupon-section-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.coupon-section-input-group {
    display: flex;
    gap: 10px;
    height: 44px;
}

.coupon-field-input {
    flex: 1;
    border: 1px solid #e8e3de !important;
    border-radius: 30px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    background-color: #faf8f5 !important;
    color: #1a1a1a !important;
}

.coupon-field-input:focus {
    border-color: #c5a059 !important;
    outline: none;
}

.coupon-submit-action-btn {
    background-color: #f3f1ed !important;
    color: #2c1616 !important;
    border-radius: 30px !important;
    padding: 0 22px !important;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #e8e3de !important;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.coupon-submit-action-btn:hover {
    background-color: #e8e3de !important;
}

.cart-summary-divider-line {
    border-top: 1px solid #f1f3f5;
    margin: 20px 0;
}

.cart-summary-info-row.grand-total-row {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.cart-summary-info-row.grand-total-row .info-label {
    font-weight: 800;
}

.cart-summary-info-row.grand-total-row .info-value {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}

.checkout-process-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background-color: #2c1616;
    color: #ffffff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(44, 22, 22, 0.15);
    text-decoration: none;
    text-align: center;
}

.checkout-process-btn:hover {
    background-color: #402222;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 22, 22, 0.2);
}

/* Empty State Card */
.cart-empty-state-card {
    text-align: center;
    padding: 80px 40px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    max-width: 700px;
    margin: 40px auto;
}

.cart-empty-icon-wrapper {
    margin-bottom: 25px;
}

.cart-empty-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cart-empty-desc {
    color: #666666;
    max-width: 500px;
    margin: 0 auto 30px;
    font-size: 15px;
    line-height: 1.6;
}

/* Section divider */
.cart-section-divider {
    height: 1px;
    background-color: #ebdce0;
    margin: 60px 0;
}

/* Suggested products cross sells */
.cart-suggested-section {
    text-align: right;
}

.cart-suggested-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.suggested-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.suggested-more-link {
    color: #113f44;
    font-weight: 700;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.suggested-more-link:hover {
    color: var(--color-gold);
}

.suggested-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Responsive Cart Page */
@media (max-width: 1199px) {
    .suggested-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .cart-columns-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-summary-column {
        position: static;
    }

    .suggested-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cart-item-card {
        padding: 16px;
        gap: 15px;
    }

    .cart-item-title {
        font-size: 16px;
    }

    .cart-item-image-action {
        flex: 0 0 80px;
    }

    .cart-item-image-action img {
        width: 80px;
        height: 80px;
    }

    .suggested-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .cart-item-card {
        flex-direction: row-reverse;
        align-items: flex-start;
        position: relative;
    }

    .cart-item-remove-action {
        position: absolute;
        top: 15px;
        left: 15px;
    }

    .cart-item-details-action {
        padding-left: 20px;
    }

    .suggested-grid {
        grid-template-columns: 1fr;
    }
}

/* Style default WooCommerce system notices inside the wrapper */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 12px !important;
    padding: 18px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
    list-style: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none !important;
}

.woocommerce-message {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-right: 5px solid #2e7d32 !important;
}

.woocommerce-message a.button {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
}

.woocommerce-error {
    background-color: #ffebee !important;
    color: #c62828 !important;
    border-right: 5px solid #c62828 !important;
}

.woocommerce-info {
    background-color: #e3f2fd !important;
    color: #1565c0 !important;
    border-right: 5px solid #1565c0 !important;
}


/* ============================================
   ABOUT PAGE (ظ…ظ† ظ†ط­ظ†) STYLES
   ============================================ */

.about-page-main {
    background-color: #ffffff;
}

.about-content-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.about-container {
    max-width: 860px;
}

.about-label-tag {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 24px;
    font-family: var(--font-arabic);
    text-align: right;
}

.about-intro-text {
    font-size: 17px;
    line-height: 2;
    color: #2a2a2a;
    margin-bottom: 24px;
    font-family: var(--font-arabic);
    font-weight: 500;
    text-align: center;
}

.about-secondary-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 44px;
    font-family: var(--font-arabic);
    text-align: center;
}

.about-main-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.about-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-content-section {
        padding: 50px 0 70px;
    }

    .about-intro-text {
        font-size: 15px;
    }

    .about-secondary-text {
        font-size: 14px;
    }
}


/* ============================================
   ARCHIVE / CATEGORY PAGE STYLES
   ============================================ */

.archive-page-main {
    background-color: #ffffff;
    min-height: 60vh;
}

/* --- Category Header --- */
.archive-page-header {
    padding: 55px 0 40px;
    text-align: right;
    border-bottom: 1px solid #f0ece6;
    margin-bottom: 50px;
}

.archive-cat-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    font-family: var(--font-arabic);
}

.archive-page-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: var(--font-arabic);
    margin: 0 0 12px;
    line-height: 1.3;
}

.archive-cat-desc {
    font-size: 15px;
    color: #666666;
    font-family: var(--font-arabic);
    line-height: 1.8;
    max-width: 600px;
    margin-top: 10px;
}

/* --- Products Grid --- */
.archive-products-section {
    padding-bottom: 80px;
}

.archive-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Reuse .perfume-card min-width override for archive */
.archive-products-grid .perfume-card {
    flex: unset;
    min-width: unset;
}

/* --- Pagination --- */
.archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.archive-pagination .woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-pagination .woocommerce-pagination ul li a,
.archive-pagination .woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    border: 1px solid #e0dbd4;
    transition: var(--transition-smooth);
    background: #ffffff;
}

.archive-pagination .woocommerce-pagination ul li a:hover {
    background: #113f44;
    color: #ffffff;
    border-color: #113f44;
}

.archive-pagination .woocommerce-pagination ul li span.current {
    background: #3c1015;
    color: #ffffff;
    border-color: #3c1015;
}

/* --- No Products --- */
.archive-no-products {
    text-align: center;
    padding: 80px 20px;
    color: #888888;
    font-size: 16px;
    font-family: var(--font-arabic);
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .archive-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-page-header {
        padding: 35px 0 28px;
        margin-bottom: 30px;
    }

    .archive-page-title {
        font-size: 26px;
    }

    .archive-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .archive-products-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   SINGLE PRODUCT PAGE CUSTOM STYLES
   ============================================ */

.single-product-main {
    background-color: #ffffff;
    padding: 80px 0;
    color: #1a1a1a;
    min-height: 80vh;
}

.single-product-wrapper {
    display: flex;
    gap: 65px;
    align-items: flex-start;
}

/* Left Column: Details (RTL order 1) */
.single-product-details-col {
    flex: 1.15;
    display: flex;
    flex-direction: column;
    text-align: right;
}

/* Right Column: Image (RTL order 2) */
.single-product-image-col {
    flex: 0.85;
}

.single-product-image-wrapper {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1ece8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.single-product-main-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.single-product-main-img:hover {
    transform: scale(1.02);
}

/* Typography & Info */
.single-product-title {
    font-size: 34px;
    font-weight: 800;
    color: #2c1616;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-arabic);
}

.single-product-price {
    font-size: 24px;
    font-weight: 700;
    color: #c5a059;
    margin-bottom: 25px;
    font-family: var(--font-arabic);
}

.single-product-price del {
    font-size: 18px;
    color: #999999;
    margin-left: 10px;
}

.single-product-price ins {
    text-decoration: none;
}

.single-product-short-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: var(--font-arabic);
}

/* Collapsible description */
.single-product-description-wrapper {
    margin-bottom: 30px;
    position: relative;
}

.single-product-description-content {
    font-size: 14px;
    line-height: 1.8;
    color: #666666;
    transition: max-height 0.4s ease;
    font-family: var(--font-arabic);
}

.single-product-description-content.collapsed {
    max-height: 75px;
    /* Roughly 3 lines */
    overflow: hidden;
    position: relative;
}

.single-product-description-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.toggle-desc-btn {
    background: transparent;
    border: none;
    color: #c5a059;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
    font-family: var(--font-arabic);
    text-decoration: underline;
    display: inline-block;
    transition: var(--transition-smooth);
}

.toggle-desc-btn:hover {
    color: #e5be79;
}

/* Actions form and buttons */
.single-product-action-form {
    margin-top: 25px;
    margin-bottom: 35px;
}

.single-product-action-form form.cart {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 15px;
    margin: 0 !important;
}

/* Quantity style overlay */
.single-product-action-form .quantity {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px 0 !important;
    border-top: 1px solid #f1ece8;
    border-bottom: 1px solid #f1ece8;
    padding: 15px 0;
    background: transparent;
}

.single-product-action-form .quantity::before {
    content: 'الكمية:';
    font-size: 15px;
    font-weight: 600;
    color: #2c1616;
}

.custom-qty-selector {
    display: inline-flex;
    align-items: center;
    background-color: #fcfbfa;
    border-radius: 30px;
    padding: 4px 10px;
    border: 1px solid #e8e3de;
}

.custom-qty-selector .qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #2c1616;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.custom-qty-selector .qty-btn:hover {
    background-color: rgba(44, 22, 22, 0.05);
}

.custom-qty-selector input.qty {
    width: 45px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    color: #2c1616;
    font-size: 16px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.custom-qty-selector input.qty::-webkit-outer-spin-button,
.custom-qty-selector input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart button */
.single-product-action-form form.cart .single_add_to_cart_button {
    flex: 1;
    background-color: #2c1616 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: auto;
    font-family: var(--font-arabic);
}

.single-product-action-form form.cart .single_add_to_cart_button:hover {
    background-color: #402222 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 22, 22, 0.15);
}

.single-product-action-form form.cart .single_add_to_cart_button::before {
    content: '\f290';
    /* FontAwesome shopping bag */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    margin-left: 8px;
}

/* Wishlist Button */
.single-product-wishlist-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #e8e3de !important;
    background-color: #ffffff;
    color: #2c1616;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.single-product-wishlist-btn:hover {
    background-color: #fcfbfa;
    border-color: #2c1616 !important;
    color: #c5a059;
    transform: translateY(-2px);
}

.single-product-wishlist-btn svg {
    stroke: currentColor;
    fill: none;
    transition: var(--transition-smooth);
}

.single-product-wishlist-btn:hover svg {
    fill: none;
    stroke: #c5a059;
}

/* Payment Methods */
.single-product-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1ece8;
    padding-top: 25px;
    margin-top: 10px;
}

.payment-row-title {
    font-size: 15px;
    font-weight: 600;
    color: #666666;
    font-family: var(--font-arabic);
}

.payment-row-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border-radius: 6px;
    padding: 0 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e3de;
    background-color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    color: #2c1616;
    transition: var(--transition-smooth);
}

.payment-icon-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.payment-icon-badge.applepay {
    color: #000000;
    padding: 0 10px;
}

.payment-icon-badge.mada {
    padding: 0 10px;
}

.mada-logo-text {
    font-family: var(--font-arabic);
    font-size: 13px;
    font-weight: 800;
    color: #0077b5;
}

.payment-icon-badge.visa {
    padding: 0 8px;
}

.payment-icon-badge.tamara {
    background: linear-gradient(135deg, #dfc0eb 0%, #cf9ae6 100%);
    color: #3a144e;
    border-color: #dfc0eb;
    padding: 0 12px;
}

.tamara-logo-text {
    font-family: var(--font-latin);
    font-size: 12px;
    font-weight: 800;
    text-transform: lowercase;
}

/* Variable Products WooCommerce Styles */
.single-product-action-form form.cart .variations {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.single-product-action-form form.cart .variations td {
    padding: 8px 0;
    vertical-align: middle;
}

.single-product-action-form form.cart .variations td.label {
    width: 80px;
    font-weight: 600;
    color: #2c1616;
}

.single-product-action-form form.cart .variations select {
    width: 100%;
    height: 42px;
    border: 1px solid #e8e3de;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 14px;
    background-color: #ffffff;
    color: #2c1616;
    cursor: pointer;
    font-family: var(--font-arabic);
}

.single-product-action-form form.cart .single_variation_wrap {
    width: 100%;
}

.single-product-action-form form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
}

.single-product-action-form form.cart .woocommerce-variation-add-to-cart .quantity {
    width: 100%;
}


/* ============================================
   RESPONSIVE DESIGN FOR SINGLE PRODUCT
   ============================================ */

@media (max-width: 991px) {
    .single-product-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .single-product-image-col {
        width: 100%;
        order: 1;
        /* Image on top */
    }

    .single-product-details-col {
        width: 100%;
        order: 2;
        /* Details below image */
    }

    .single-product-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .single-product-main {
        padding: 40px 0;
    }

    .single-product-title {
        font-size: 26px;
    }

    .single-product-price {
        font-size: 20px;
    }

    .single-product-payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .payment-row-icons {
        width: 100%;
        justify-content: flex-start;
    }
}


/* ============================================
   WISHLIST PAGE CUSTOM STYLES (LIGHT THEME)
   ============================================ */

.wishlist-page-section {
    padding: 100px 0 120px;
    background-color: #ffffff;
    min-height: 70vh;
    color: #1a1a1a;
}

.wishlist-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.wishlist-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c1616;
    font-family: var(--font-arabic);
}

.wishlist-subtitle {
    color: #666666;
    font-size: 15px;
    margin-top: 10px;
    font-family: var(--font-arabic);
}

.wishlist-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Ensure wishlist page cards align perfectly */
.wishlist-page-section .perfume-card {
    flex: none;
    min-width: 0;
    width: 100%;
}

.wishlist-empty-state {
    text-align: center;
    padding: 80px 40px;
    background-color: #fcfbfa;
    border-radius: 20px;
    border: 1px solid #e8e3de;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    max-width: 600px;
    margin: 0 auto;
}

.wishlist-empty-icon {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c5a059;
}

.wishlist-empty-icon svg {
    display: block;
}

.wishlist-empty-title {
    font-size: 24px;
    color: #2c1616;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-arabic);
}

.wishlist-empty-desc {
    color: #666666;
    max-width: 460px;
    margin: 0 auto 30px;
    font-size: 15px;
    line-height: 1.6;
    font-family: var(--font-arabic);
}

.wishlist-empty-state .btn-gold {
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 700;
    display: inline-block;
}

/* ============================================
   POLICY PAGE CUSTOM STYLES (LIGHT THEME)
   ============================================ */

body.page-template-page-refund-policy {
    background-color: #ffffff !important;
}

.policy-page-main {
    padding: 60px 0 100px;
    background-color: #ffffff; /* Pure white background exactly like the image */
    min-height: 80vh;
    color: #1a1a1a;
    font-family: var(--font-arabic);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 25px;
    text-align: right;
    line-height: 1.4;
}

.policy-intro {
    font-size: 15px;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: right;
}

.policy-sections {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.policy-section {
    scroll-margin-top: 100px; /* Smooth scroll offset */
}

.policy-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #c5a059; /* Custom golden color */
    margin-bottom: 15px;
    text-align: right;
}

.policy-text {
    font-size: 14px;
    color: #333333;
    line-height: 1.8;
    text-align: right;
    margin-bottom: 12px;
}

.policy-text strong {
    color: #000000;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .policy-page-main {
        padding: 40px 0 60px;
    }
    .policy-main-title {
        font-size: 24px;
    }
}

/* ============================================
   CHECKOUT PAGE CUSTOM STYLES (LIGHT THEME)
   ============================================ */

body.woocommerce-checkout {
    background-color: #f7f8fa !important;
    color: #1a1a1a !important;
}

body.woocommerce-checkout .woocommerce-wrapper {
    background-color: transparent !important;
    padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-wrapper--cart {
    padding: 0 !important;
    max-width: 100% !important;
}

body.woocommerce-checkout #masthead {
    background-color: #ffffff;
    border-bottom: 1px solid #eef1f3;
}

.checkout-columns-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

.checkout-details-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.woocommerce-checkout #customer_details {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.woocommerce-checkout .col2-set {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout #customer_details h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1ece8;
    padding-bottom: 12px;
    font-family: var(--font-arabic);
}

/* Forms Fields styling */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
    width: 100%;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    text-align: right;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .input-text {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #e8e3de !important;
    border-radius: 8px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    transition: var(--transition-smooth) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-align: right;
}

.woocommerce-checkout textarea {
    height: 120px !important;
    padding: 12px 15px !important;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--color-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1) !important;
}

/* Style Select2 Dropdowns */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #e8e3de !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1a1a1a !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    text-align: right !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    left: 15px !important;
    right: auto !important;
}

.select2-dropdown {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e8e3de !important;
    border-radius: 8px !important;
}

.select2-results__option {
    text-align: right !important;
    color: #1a1a1a !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], 
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--color-gold) !important;
    color: #ffffff !important;
}

.woocommerce-checkout .form-row.create-account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout .form-row.create-account label {
    display: inline-block;
    margin: 0;
}

/* Left summary column */
.checkout-summary-column {
    position: sticky;
    top: 110px;
}

.checkout-summary-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

#order_review_heading {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 25px;
    font-family: var(--font-arabic);
    text-align: right;
}

/* Order Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    text-align: right;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1ece8;
    font-size: 14px;
    color: #555555;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 700;
    color: #1a1a1a;
}

.woocommerce-checkout-review-order-table td.product-name {
    color: #1a1a1a;
    font-weight: 500;
}

.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout-review-order-table th.product-total {
    text-align: left;
    font-weight: 700;
    color: #1a1a1a;
}

.woocommerce-checkout-review-order-table tr.cart_item td.product-total {
    color: var(--color-gold);
}

.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 18px;
    border-bottom: none;
    padding-top: 18px;
}

.woocommerce-checkout-review-order-table tr.order-total td {
    color: var(--color-gold);
}

/* Payments list */
.woocommerce-checkout #payment {
    background: #fbfaf8;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e8e3de;
    margin-top: 20px;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555555;
    text-align: right;
}

.woocommerce-checkout #payment ul.payment_methods li input {
    margin-left: 8px;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li label img {
    display: inline-block;
    margin-right: 10px;
    max-height: 24px;
    vertical-align: middle;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #ffffff;
    border: 1px solid #e8e3de;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    position: relative;
    text-align: right;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    width: 100%;
    background-color: #2c1616;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-arabic);
    margin-top: 10px;
}

.woocommerce-checkout #place_order:hover {
    background-color: #422525;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 22, 22, 0.2);
}

/* Notices & Errors */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
    list-style: none;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-checkout .woocommerce-error {
    background-color: #ffebeb;
    color: #cc0000;
    border: 1px solid #ffcccc;
}

.woocommerce-checkout .woocommerce-message {
    background-color: #edf7ed;
    color: #1e4620;
    border: 1px solid #c8e6c9;
}

/* Responsive checkout */
@media (max-width: 991px) {
    .checkout-columns-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .checkout-summary-column {
        position: static;
    }
}

/* ============================================
   FOOTER INDIVIDUAL PAYMENT ICONS STYLING
   ============================================ */

.footer-payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.footer-payment-icon[alt="Tamara"] {
    width: 76px;
    border-radius: 6px;
}

.footer-payment-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   BILINGUAL SUPPORT: LTR OVERRIDES FOR ENGLISH LAYOUT
   ========================================================================== */
body:not(.rtl) {
    direction: ltr;
    text-align: left;
}

/* Site Navigation & Search Overlay */
body:not(.rtl) .site-navigation {
    text-align: left;
}

@media (max-width: 991px) {
    body:not(.rtl) .site-navigation {
        right: auto;
        left: -290px;
        box-shadow: 10px 0 30px rgba(60, 16, 21, 0.08);
        text-align: left;
    }
    
    body:not(.rtl) .site-navigation.active {
        right: auto;
        left: 0;
    }
    
    body:not(.rtl) .mobile-menu-close {
        left: auto;
        right: 25px;
    }
}

/* Hero Section */
body:not(.rtl) .hero-text-col {
    text-align: left;
}

@media (min-width: 769px) {
    body:not(.rtl) .hero-container-flex {
        justify-content: flex-end;
    }
}

/* Features Section */
body:not(.rtl) .features-header {
    text-align: left;
}

body:not(.rtl) .feature-card {
    text-align: left;
}

/* Perfumes Grid & Cards */
body:not(.rtl) .perfumes-title-col {
    text-align: left;
}

body:not(.rtl) .perfume-card {
    text-align: left;
}

body:not(.rtl) .perfume-wishlist-btn {
    right: auto;
    left: 15px;
}

body:not(.rtl) .perfume-price del {
    margin-left: 0;
    margin-right: 6px;
}

body:not(.rtl) .single-product-price del {
    margin-left: 0;
    margin-right: 10px;
}

/* Promo Banner Section */
body:not(.rtl) .promo-banner-content {
    text-align: left;
}

/* Guest Banner Section */
body:not(.rtl) .guest-banner-content {
    text-align: left;
}

/* Reviews Section / Slide */
body:not(.rtl) .reviews-header {
    text-align: left;
}

body:not(.rtl) .reviews-indicator-bar {
    right: auto;
    left: 0;
    transform-origin: left center;
}

/* Footer Section */
body:not(.rtl) .footer-grid {
    text-align: left;
}

body:not(.rtl) .footer-widget-title::after {
    right: auto;
    left: 0;
}

@media (max-width: 768px) {
    body:not(.rtl) .footer-widget-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

body:not(.rtl) .footer-widget a:hover {
    padding-right: 0;
    padding-left: 5px;
}

body:not(.rtl) .footer-bottom {
    text-align: left;
}

/* WooCommerce My Account Page */
body:not(.rtl) .woocommerce-MyAccount-navigation li a {
    border-right: none;
    border-left: 3px solid transparent;
}

body:not(.rtl) .woocommerce-MyAccount-navigation li.is-active a,
body:not(.rtl) .woocommerce-MyAccount-navigation li a:hover {
    border-right-color: transparent;
    border-left-color: var(--color-gold);
}

@media (max-width: 991px) {
    body:not(.rtl) .woocommerce-MyAccount-navigation li a {
        border-left: none;
        border-bottom: 3px solid transparent;
    }
}

/* WooCommerce Logged Out Login/Register Page Customization */
body:not(.rtl).woocommerce-account:not(.logged-in) .woocommerce-form-row label {
    padding-right: 0;
    padding-left: 10px;
}

body:not(.rtl) .reg-generate-pass-notice {
    padding-right: 0;
    padding-left: 10px;
}

/* WooCommerce Cart Page Styles */
body:not(.rtl) .cart-page-header-inner {
    text-align: left;
}

body:not(.rtl) .cart-breadcrumb {
    flex-direction: row;
    justify-content: flex-start;
}

body:not(.rtl) .cart-item-details-action {
    text-align: left;
}

body:not(.rtl) .cart-item-card {
    flex-direction: row-reverse;
}

@media (max-width: 480px) {
    body:not(.rtl) .cart-item-card {
        flex-direction: row;
    }
    
    body:not(.rtl) .cart-item-remove-action {
        left: auto;
        right: 15px;
    }
    
    body:not(.rtl) .cart-item-details-action {
        padding-left: 0;
        padding-right: 20px;
    }
}

/* WooCommerce System Notices */
body:not(.rtl) .woocommerce-message {
    border-right: none !important;
    border-left: 5px solid #2e7d32 !important;
}

body:not(.rtl) .woocommerce-error {
    border-right: none !important;
    border-left: 5px solid #c62828 !important;
}

body:not(.rtl) .woocommerce-info {
    border-right: none !important;
    border-left: 5px solid #1565c0 !important;
}

/* About Us Page */
body:not(.rtl) .about-label-tag {
    text-align: left;
}

/* Product Archive Header */
body:not(.rtl) .archive-page-header {
    text-align: left;
}

body:not(.rtl) .cart-suggested-section {
    text-align: left;
}

/* Single Product Page Custom Styles */
body:not(.rtl) .single-product-details-col {
    text-align: left;
}

/* Refund Policy Page */
body:not(.rtl) .policy-main-title {
    text-align: left;
}

body:not(.rtl) .policy-intro {
    text-align: left;
}

body:not(.rtl) .policy-section-title {
    text-align: left;
}

body:not(.rtl) .policy-text {
    text-align: left;
}

/* WooCommerce Checkout Page Custom Styles */
body:not(.rtl) .woocommerce-checkout .form-row label {
    text-align: left;
}

body:not(.rtl) .woocommerce-checkout input[type="text"],
body:not(.rtl) .woocommerce-checkout input[type="email"],
body:not(.rtl) .woocommerce-checkout input[type="tel"],
body:not(.rtl) .woocommerce-checkout input[type="password"],
body:not(.rtl) .woocommerce-checkout input[type="number"],
body:not(.rtl) .woocommerce-checkout select,
body:not(.rtl) .woocommerce-checkout textarea,
body:not(.rtl) .woocommerce-checkout .input-text {
    text-align: left;
}

body:not(.rtl) .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 15px !important;
    padding-left: 15px !important;
    text-align: left !important;
}

body:not(.rtl) .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 15px !important;
    left: auto !important;
}

body:not(.rtl) .select2-results__option {
    text-align: left !important;
}

body:not(.rtl) #order_review_heading {
    text-align: left;
}

body:not(.rtl) .woocommerce-checkout-review-order-table {
    text-align: left;
}

body:not(.rtl) .woocommerce-checkout-review-order-table td.product-total,
body:not(.rtl) .woocommerce-checkout-review-order-table th.product-total {
    text-align: right;
}

body:not(.rtl) .woocommerce-checkout #payment ul.payment_methods li {
    text-align: left;
}

body:not(.rtl) .woocommerce-checkout #payment ul.payment_methods li input {
    margin-left: 0;
    margin-right: 8px;
}

body:not(.rtl) .woocommerce-checkout #payment ul.payment_methods li label img {
    margin-right: 0;
    margin-left: 10px;
}

body:not(.rtl) .woocommerce-checkout #payment div.payment_box {
    text-align: left;
}

body:not(.rtl) .woocommerce-checkout .woocommerce-error,
body:not(.rtl) .woocommerce-checkout .woocommerce-message,
body:not(.rtl) .woocommerce-checkout .woocommerce-info {
    text-align: left;
}