/*
 Theme Name:   Kadence Child
 Description:  قالب ابن لتخصيص موقع ووكومرس
 Author:       Antigravity
 Template:     kadence
 Version:      1.0.0
 Text Domain:  kadence-child
*/

/* ==========================================================================
   Root Variables (Gold & White Theme)
   ========================================================================== */
:root {
    --ws-gold-light: #f2ce94;
    --ws-gold: #d9b279;
    --ws-gold-dark: #796447;
    --ws-white: #FFFFFF;
    --ws-off-white: #FAFAFA;
    --ws-black: #111111;
    --ws-gray: #333333;
    --ws-light-gray: #E0E0E0;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    background-color: var(--ws-white);
    color: var(--ws-gray);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ws-black);
    font-weight: 600;
}

a {
    color: var(--ws-gold-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--ws-gold);
}

/* Custom Gold Button */
.ws-btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--ws-gold-light) 0%, var(--ws-gold) 50%, var(--ws-gold-dark) 100%);
    color: var(--ws-white);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(217, 178, 121, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.ws-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 178, 121, 0.6);
    color: var(--ws-white);
}

/* ==========================================================================
   Home Page Sections
   ========================================================================== */

/* Hero Section */
.ws-hero-slider-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-color: var(--ws-black);
    overflow: hidden;
}

.ws-hero-swiper {
    width: 100%;
    height: 100%;
}

.ws-hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.ws-hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

@keyframes ws-kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.ws-hero-swiper .swiper-slide-active .ws-hero-bg {
    animation: ws-kenburns 6s linear forwards;
}

.ws-hero-swiper .swiper-pagination-bullet-active {
    background: var(--ws-gold);
}

.ws-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.ws-hero-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--ws-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 500;
}

.ws-hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--ws-white);
}

/* Features Banner */
.ws-features-banner {
    background-color: var(--ws-white);
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.ws-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.ws-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ws-gold-light), var(--ws-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ws-white);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(217, 178, 121, 0.3);
}

.ws-feature-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.ws-feature-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

/* Section Headings */
.ws-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 80px 0 40px;
    position: relative;
}

.ws-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ws-gold);
    margin: 15px auto 0;
}

/* Categories Grid */
.ws-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ws-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.ws-category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--ws-light-gray);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.ws-card-link-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

.ws-category-card:hover {
    transform: translateY(-10px);
}

.ws-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ws-category-card:hover .ws-category-image {
    transform: scale(1.08);
}

.ws-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--ws-white);
    text-align: center;
}

.ws-category-title {
    color: var(--ws-white);
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ws-category-link {
    color: var(--ws-gold-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
}

.ws-category-link::after {
    content: '→';
    margin-left: 5px;
    transition: margin 0.3s ease;
}

.ws-category-card:hover .ws-category-link::after {
    margin-left: 10px;
}

/* WooCommerce Overrides for Home Page Products */
.ws-products-section {
    margin-bottom: 80px;
}



/* Responsive (Mobile Settings) */
@media (max-width: 768px) {
    /* 1. Reduce generic font size */
    html {
        font-size: 14px;
    }

    /* Button Tweaks on Mobile */
    .ws-btn-gold {
        padding: 9px 20px;
        font-size: 1.0rem;
    }
    
    /* 1. Hero Section tweaks */
    .ws-hero-section {
        height: 40vh;
        min-height: 200px;
    }
    .ws-hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    .ws-hero-subtitle {
        font-size: 1rem;
    }
    .ws-section-title {
        font-size: 1.8rem;
        margin: 50px 0 25px;
    }

    /* 3. Features Banner: One Row */
    .ws-features-banner {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 10px 5px;
        margin: -20px 10px 0;
        justify-content: space-between;
    }
    .ws-feature-item {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        padding: 0 5px;
        gap: 5px;
        flex: 1;
    }
    .ws-feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin: 0 auto;
    }
    .ws-feature-text h4 {
        font-size: 0.75rem;
    }
    .ws-feature-text p {
        display: none; /* Hide descriptions to save space */
    }

    /* Categories Grid */
    .ws-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ws-category-title {
        font-size: 0.9rem;
        margin-bottom: 0px;
    }
    .ws-category-link {
        font-size: 0.75rem;
    }
    .ws-category-overlay {
        padding: 10px 5px;
    }
    .ws-category-card {
        aspect-ratio: 3/4;
    }
    

}

/* ==========================================================================
   Luxury White Custom Product Layout
   ========================================================================== */
.ws-grid-master-layout {
    width: 100%;
    background-color: var(--ws-white);
}

.ws-notices-container {
    max-width: 1400px;
    margin: 20px auto 0;
}

.ws-dark-luxury-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0;
    padding: 0;
    align-items: flex-start; /* Prevents left image from stretching when accordion opens */
}

/* Left Side: Premium Gallery Slider */
.ws-gallery-container {
    width: 60%;
    display: flex;
    gap: 20px;
    padding-right: 40px; /* Spacing before the sidebar */
}
.ws-thumbnails {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}
.ws-thumb-item {
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.ws-thumb-item.active, .ws-thumb-item:hover {
    opacity: 1;
    border-color: #1111114d;
    border-radius: 5px;
}
.ws-thumb-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}
.ws-main-images {
    flex-grow: 1;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.ws-main-images::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.ws-main-image-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background-color: #f7f7f7;
    border-radius: 10px;
}
.ws-main-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Right Side: Sticky Sidebar */
.ws-sidebar-panel {
    width: 40%;
    position: relative;
    background-color: #fff;
    color: var(--ws-black);
    padding: 60px 50px;
}
.ws-sidebar-inner {
    position: sticky;
    top: 60px;
}

.ws-product-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--ws-black);
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.ws-product-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ws-gray);
    margin-bottom: 40px;
}

/* Minimalist Sizes */
.ws-sizes-wrapper {
    margin-bottom: 40px;
}
.ws-attr-label {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.ws-minimal-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.ws-size-item {
    font-size: 1.3rem;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    border: none !important;
}
.ws-size-item:hover:not(.disabled) {
    color: var(--ws-black);
}
.ws-size-item.selected, .ws-size-item.active {
    color: #8a7356;
    font-weight: 700;
}
.ws-size-item.selected::after, .ws-size-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #8a7356;
    border-radius: 50%;
}
.ws-size-item.disabled {
    color: #ddd;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Minimalist Quantity */
.ws-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.ws-qty-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ws-qty-minimal {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ws-light-gray);
}
.ws-qty-btn {
    background: transparent !important;
    border: none;
    color: var(--ws-black);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}
.ws-qty-btn:hover {
    background: transparent !important;
    color: var(--ws-gold) !important;
}
.ws-qty-minimal input {
    width: 40px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--ws-black);
    font-size: 1.2rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.ws-qty-minimal input::-webkit-outer-spin-button, 
.ws-qty-minimal input::-webkit-inner-spin-button { 
    -webkit-appearance: none; 
}

/* Action Buttons */
.ws-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 60px;
}
.ws-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65px;
    background-color: var(--ws-black);
    color: #fff !important;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ws-add-btn:not(.locked):hover {
    background-color: var(--ws-gold);
}
.btn-divider {
    margin: 0 15px;
    font-weight: 300;
    opacity: 0.5;
}
.btn-price {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-price del {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.9em;
}
.btn-price ins {
    text-decoration: none;
    font-weight: 700;
}
.btn-price .screen-reader-text {
    display: none !important;
}
.ws-buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65px;
    background-color: var(--ws-gold) !important;
    color: #fff !important;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ws-buy-now-btn:not(.locked):hover {
    background-color: var(--ws-gold-dark) !important;
    color: #fff !important;
}
.ws-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 65px;
    background-color: #25d366;
    color: #fff !important;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.ws-wa-btn:not(.locked):hover {
    background-color: #128c7e;
}
.locked {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed !important;
}

/* Accordion */
.ws-accordion-container {
    border-top: 1px solid var(--ws-light-gray);
}
.ws-accordion-item {
    border-bottom: 1px solid var(--ws-light-gray);
}
.ws-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: transparent !important;
    border: none;
    box-shadow: none !important;
    color: var(--ws-black);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.ws-accordion-header:hover, .ws-accordion-header:focus, .ws-accordion-header.active {
    color: var(--ws-gold) !important;
    background: transparent !important;
    box-shadow: none !important;
}
.ws-accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
}
.ws-accordion-content {
    display: none;
}
.inner-content {
    padding-bottom: 30px;
    color: var(--ws-gray);
    font-size: 1rem;
    line-height: 1.8;
}
.inner-content p {
    margin-bottom: 15px;
}
.inner-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}
.inner-content li {
    margin-bottom: 8px;
}

/* ==========================================================================
   Luxury Archive / Shop Page
   ========================================================================== */
.ws-archive-master-layout {
    width: 100%;
    background-color: var(--ws-white);
    padding-bottom: 80px;
}

/* Shop Top Bar */
.ws-shop-top-bar {
    max-width: 1600px;
    margin: 40px auto 30px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--ws-light-gray);
    padding-bottom: 20px;
}
.ws-shop-header {
    max-width: 60%;
}
.ws-page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--ws-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}
.term-description {
    color: var(--ws-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}
.term-description p {
    margin: 0;
}
.ws-shop-filters {
    display: flex;
    align-items: center;
    gap: 20px;
}
.woocommerce-result-count {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}
.woocommerce-ordering select {
    background-color: transparent;
    border: 1px solid var(--ws-light-gray);
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--ws-black);
    border-radius: 4px;
    cursor: pointer;
}

/* Shop Grid */
.ws-shop-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}
.ws-related-products-wrapper {
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 40px;
}
.ws-related-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: var(--ws-black);
    letter-spacing: 1px;
}
.ws-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for premium feel */
    gap: 40px 30px; /* Spacious gaps */
}

/* Product Card */
.ws-archive-card {
    position: relative;
    background: transparent;
    text-align: center; /* Center aligned text */
    box-shadow: unset !important;
}
.ws-archive-link {
    text-decoration: none !important;
    display: block;
}
.ws-archive-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
    aspect-ratio: 4 / 5; /* Safer fashion aspect ratio */
    border-radius: 10px; /* Matched with home categories for consistency */
}
.woocommerce ul.products li.product a img,
.ws-archive-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: opacity 0.5s ease, transform 1s ease;
}
.ws-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}
.ws-archive-link:hover .ws-hover-img {
    opacity: 1;
}
.ws-archive-link:hover .ws-main-img, 
.ws-archive-link:hover .ws-hover-img {
    transform: scale(1.03);
}

/* Details */
.ws-archive-details {
    padding: 20px 10px;
}
.ws-archive-category {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.ws-archive-title {
    font-size: 1.25rem;
    font-weight: 400; /* Lighter font weight for luxury feel */
    color: var(--ws-black);
    margin: 0 0 10px 0;
}
.ws-archive-price {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ws-black);
}
.ws-archive-price del {
    color: #aaa;
    font-weight: 400;
    font-size: 0.9em;
    margin-right: 5px;
}
.ws-archive-price ins {
    text-decoration: none;
    color: var(--ws-gold-dark);
}
.ws-archive-price .screen-reader-text {
    display: none !important;
}

/* Quick Add */
.ws-archive-quick-add {
    padding: 0 10px;
}
.ws-archive-sizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}
.ws-archive-size-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    border: none !important;
}
.ws-archive-size-item:hover {
    color: var(--ws-black);
}
.ws-archive-size-item.active, .ws-archive-size-item.selected {
    color: #8a7356;
    font-weight: 700;
}
.ws-archive-size-item.active::after, .ws-archive-size-item.selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #8a7356;
    border-radius: 50%;
}
.ws-archive-size-item.out-of-stock {
    color: #ddd;
    text-decoration: line-through;
    cursor: not-allowed;
}
.ws-archive-add-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--ws-black);
    color: var(--ws-black);
    padding: 10px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ws-archive-add-btn:not(.locked):hover {
    background: var(--ws-black);
    color: #fff;
}
.ws-archive-add-btn.locked {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Pagination */
.ws-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.ws-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}
.ws-pagination li a, .ws-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ws-light-gray);
    color: var(--ws-black);
    text-decoration: none;
    transition: all 0.3s ease;
}
.ws-pagination li a:hover {
    border-color: var(--ws-black);
}
.ws-pagination li span.current {
    background-color: var(--ws-black);
    color: #fff;
    border-color: var(--ws-black);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .ws-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}
@media (max-width: 992px) {
    .ws-dark-luxury-container {
        flex-direction: column;
    }
    .ws-gallery-container {
        width: 100%;
        padding-right: 0;
    }
    .ws-sidebar-panel {
        width: 100%;
        padding: 40px 30px;
    }
    .ws-sidebar-inner {
        position: static;
    }
    .ws-product-title {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .ws-shop-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 0 20px 20px;
        margin-top: 20px;
    }
    .ws-shop-header {
        max-width: 100%;
    }
    .ws-page-title {
        font-size: 2rem;
    }
    .ws-shop-container {
        padding: 0 15px;
    }
    .ws-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px; /* Generous gap for mobile to look airy */
    }
    .ws-archive-details {
        padding: 15px 5px;
    }
    .ws-archive-category {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }
    .ws-archive-title {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    .ws-archive-price {
        font-size: 1.05rem;
    }
    .ws-gallery-container {
        flex-direction: column-reverse; /* Thumbnails on bottom */
        gap: 10px;
    }
    .ws-thumbnails {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }
    .ws-thumbnails::-webkit-scrollbar {
        display: none;
    }
    .ws-thumb-item {
        width: 60px;
        flex-shrink: 0;
    }
    .ws-sidebar-panel {
        padding: 40px 10px;
    }
    .ws-related-products-wrapper {
        padding: 0 20px;
        margin: 50px auto;
    }
}

/* ==========================================================================
   WooCommerce Grid Fix (Archive & Home)
   ========================================================================== */
.woocommerce ul.products, .ws-archive-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .ws-archive-grid li {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    list-style: none !important;
}
@media (max-width: 991px) {
    .woocommerce ul.products, .ws-archive-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* ==========================================================================
   Luxury Footer
   ========================================================================== */
.ws-luxury-footer {
    background-color: var(--ws-black);
    color: #fff;
    padding: 80px 0 20px;
    margin-top: 60px;
}
.ws-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.ws-footer-brand {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}
.ws-footer-desc {
    color: #999;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 80%;
}
.ws-footer-social {
    display: flex;
    gap: 15px;
}
.ws-footer-social a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.ws-footer-social a:hover {
    color: var(--ws-gold);
}
.ws-footer-title {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ws-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.ws-footer-links li {
    margin-bottom: 12px;
    list-style: none !important;
}
.ws-footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}
.ws-footer-links a:hover {
    color: var(--ws-gold);
}
.ws-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    font-size: 0.9rem;
}
.ws-footer-payments {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: #999;
}
@media (max-width: 768px) {
    .ws-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ws-footer-desc {
        max-width: 100%;
    }
    .ws-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Footer Contact Info */
.ws-footer-contact {
    margin-bottom: 25px;
}
.ws-footer-contact p {
    color: #999;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ws-footer-contact p i {
    color: var(--ws-gold);
}

/* Mobile Archive Header Fix */
@media (max-width: 768px) {
    .ws-shop-filters {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    .woocommerce-result-count, .woocommerce-ordering {
        float: none !important;
        margin: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }
    .woocommerce-ordering select {
        width: 100%;
    }
    .ws-hero-slider-section {
        height: 50vh !important;
        min-height: 350px !important;
    }
}

/* Single Product Page Buttons */
.ws-add-btn,
.ws-buy-now-btn,
.ws-wa-btn {
    border-radius: 4px !important;
}

@media (max-width: 768px) {
    .ws-add-btn,
    .ws-buy-now-btn,
    .ws-wa-btn {
        font-size: 0.9rem !important;
    }
}
