/* Light Touch Section - Warm Brown Theme (#A4856D) */
/* IMPORTANT: This section must ALWAYS be light themed, regardless of dark/light mode */
.light-touch-section {
    padding: 100px 0;
    background: #faf9f7 !important; /* Force light background */
    position: relative;
    overflow: hidden;
}

.light-touch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.light-touch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.light-header {
    text-align: center;
    margin-bottom: 60px;
}

.light-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #3c2e26;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.light-subtitle {
    font-size: 1.2rem;
    color: #6b5b4f;
    font-weight: 300;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #d4c4b0;
    background: #ffffff;
    color: #6b5b4f;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(164, 133, 109, 0.1);
}

.filter-btn:hover {
    border-color: #b8a082;
    background: #faf9f7;
    color: #4a3d33;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(164, 133, 109, 0.15);
}

.filter-btn.active {
    border-color: #A4856D;
    background: #A4856D;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(164, 133, 109, 0.3);
}

/* Scrollable Container */
.products-scroll-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Light Grid - Now Horizontal Scrolling */
.light-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 20px 0;
    margin: 0 60px; /* Add margin for side buttons */
}

.light-grid::-webkit-scrollbar {
    display: none;
}

.light-grid:active {
    cursor: grabbing;
}

/* Light Product Cards */
.light-card {
    background: transparent;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s ease;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
}

.light-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(164, 133, 109, 0.3) 0%, 
        rgba(164, 133, 109, 0.2) 25%,
        transparent 50%,
        rgba(164, 133, 109, 0.2) 75%,
        rgba(164, 133, 109, 0.3) 100%
    );
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(8px);
}

.light-card:hover::before {
    opacity: 1;
}

.light-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(164, 133, 109, 0.4);
    box-shadow: 
        0 12px 40px rgba(164, 133, 109, 0.2),
        0 0 30px rgba(164, 133, 109, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-8px);
}

.light-image {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: #faf9f7;
    transition: all 0.4s ease;
}

.light-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 12px;
}

.light-card:hover .light-image img {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.02);
}

/* Light Action Button */
.light-action {
    position: absolute;
    bottom: 33px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(164, 133, 109, 0.9) 0%, rgba(164, 133, 109, 0.8) 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    border: 1px solid rgba(164, 133, 109, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(164, 133, 109, 0.3);
    letter-spacing: 0.3px;
    pointer-events: auto;
}

.light-card:hover .light-action {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.light-action:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 8px 24px rgba(164, 133, 109, 0.4);
    background: linear-gradient(135deg, rgba(164, 133, 109, 1) 0%, rgba(164, 133, 109, 0.9) 100%);
}

.light-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 4;
    pointer-events: auto;
}

.light-card:hover .light-dots {
    opacity: 1;
}

.light-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(164, 133, 109, 0.4);
    border: 1px solid rgba(164, 133, 109, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.light-dot.active {
    background: #A4856D;
    border-color: #A4856D;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(164, 133, 109, 0.4);
}

.light-dot:hover {
    background: rgba(164, 133, 109, 0.7);
    transform: scale(1.1);
}

/* Light Product Info */
.light-info {
    padding: 16px 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.4s ease;
}

.light-colors {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    order: 1;
}

.light-count {
    font-size: 0.75rem;
    color: rgba(164, 133, 109, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.light-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #4a3d33;
    margin: 0;
    line-height: 1.3;
    transition: all 0.4s ease;
    order: 2;
}

.light-card:hover .light-name {
    color: #3c2e26;
    font-weight: 600;
}

.light-category {
    font-size: 0.85rem;
    color: rgba(107, 91, 79, 0.6);
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.4s ease;
    order: 3;
}

.light-card:hover .light-category {
    color: rgba(107, 91, 79, 0.9);
}

/* Scroll Navigation - Side Positioned */
.scroll-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid #d4c4b0;
    background: rgba(255, 255, 255, 0.9);
    color: #6b5b4f;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(164, 133, 109, 0.15);
}

.scroll-btn:hover {
    border-color: #A4856D;
    background: #A4856D;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(164, 133, 109, 0.25);
}

.scroll-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.scroll-btn:disabled:hover {
    border-color: #d4c4b0;
    background: rgba(255, 255, 255, 0.9);
    color: #6b5b4f;
    transform: translateY(-50%) scale(0.9);
}

.scroll-left {
    left: -80px; /* Position outside the container */
}

.scroll-right {
    right: -80px; /* Position outside the container */
}

/* Position scroll buttons relative to the scroll container */
.products-scroll-container {
    position: relative;
    overflow: visible; /* Allow buttons to show outside */
    margin-bottom: 40px;
}

.products-scroll-container .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.products-scroll-container .scroll-left {
    left: -25px;
}

.products-scroll-container .scroll-right {
    right: -25px;
}

/* Scroll Indicators - Centered Below */
.scroll-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.scroll-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4c4b0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator.active {
    background: #A4856D;
    transform: scale(1.3);
}

.scroll-indicator:hover {
    background: #b8a082;
    transform: scale(1.1);
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .light-grid {
        gap: 24px;
        margin: 0 50px;
    }
    
    .products-scroll-container .scroll-left {
        left: -20px;
    }
    
    .products-scroll-container .scroll-right {
        right: -20px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    /* Filter buttons - horizontal scroll instead of wrapping */
    .filter-buttons {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 20px 10px 20px;
        margin-bottom: 40px;
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .light-grid {
        gap: 16px;
        margin: 0 40px;
    }
    
    .products-scroll-container .scroll-left {
        left: -15px;
    }
    
    .products-scroll-container .scroll-right {
        right: -15px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Filter buttons - horizontal scroll for small mobile */
    .filter-buttons {
        padding: 0 15px 10px 15px;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .light-grid {
        margin: 0 35px;
    }
    
    .products-scroll-container .scroll-left {
        left: -10px;
    }
    
    .products-scroll-container .scroll-right {
        right: -10px;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
    }
    
    .scroll-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* FORCE LIGHT THEME - Override ANY dark theme styles */
/* This section must ALWAYS be light themed regardless of body class */

/* Force light theme colors on all text elements */
.light-touch-section,
.light-touch-section *,
body.dark-mode .light-touch-section,
body.dark-mode .light-touch-section * {
    background: inherit !important;
}

/* Section background - always light */
.light-touch-section,
body.dark-mode .light-touch-section {
    background: #faf9f7 !important;
    color: #3c2e26 !important;
}

/* Text elements - force light theme colors */
.light-touch-section .light-title,
body.dark-mode .light-touch-section .light-title {
    color: #3c2e26 !important;
    background: transparent !important;
}

.light-touch-section .light-subtitle,
body.dark-mode .light-touch-section .light-subtitle {
    color: #6b5b4f !important;
    background: transparent !important;
}

/* Filter buttons - force light theme */
.light-touch-section .filter-btn,
body.dark-mode .light-touch-section .filter-btn {
    background: #ffffff !important;
    color: #6b5b4f !important;
    border-color: #d4c4b0 !important;
}

.light-touch-section .filter-btn:hover,
body.dark-mode .light-touch-section .filter-btn:hover {
    background: #faf9f7 !important;
    color: #4a3d33 !important;
    border-color: #b8a082 !important;
}

.light-touch-section .filter-btn.active,
body.dark-mode .light-touch-section .filter-btn.active {
    background: #A4856D !important;
    color: #ffffff !important;
    border-color: #A4856D !important;
}

/* Product cards - force light theme */
.light-touch-section .light-card,
body.dark-mode .light-touch-section .light-card {
    background: transparent !important;
}

.light-touch-section .light-card:hover,
body.dark-mode .light-touch-section .light-card:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(164, 133, 109, 0.4) !important;
}

/* Product text - force light theme */
.light-touch-section .light-name,
body.dark-mode .light-touch-section .light-name {
    color: #4a3d33 !important;
}

.light-touch-section .light-category,
body.dark-mode .light-touch-section .light-category {
    color: rgba(107, 91, 79, 0.6) !important;
}

.light-touch-section .light-count,
body.dark-mode .light-touch-section .light-count {
    color: rgba(164, 133, 109, 0.7) !important;
}

/* Action buttons - force light theme */
.light-touch-section .light-action,
body.dark-mode .light-touch-section .light-action {
    background: linear-gradient(135deg, rgba(164, 133, 109, 0.9) 0%, rgba(164, 133, 109, 0.8) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(164, 133, 109, 0.3) !important;
}

/* Scroll buttons - force light theme */
.light-touch-section .scroll-btn,
body.dark-mode .light-touch-section .scroll-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #6b5b4f !important;
    border-color: #d4c4b0 !important;
}

.light-touch-section .scroll-btn:hover,
body.dark-mode .light-touch-section .scroll-btn:hover {
    background: #A4856D !important;
    color: #ffffff !important;
    border-color: #A4856D !important;
}

/* Scroll indicators - force light theme */
.light-touch-section .scroll-indicator,
body.dark-mode .light-touch-section .scroll-indicator {
    background: #d4c4b0 !important;
}

.light-touch-section .scroll-indicator.active,
body.dark-mode .light-touch-section .scroll-indicator.active {
    background: #A4856D !important;
}

/* Image dots - force light theme */
.light-touch-section .light-dot,
body.dark-mode .light-touch-section .light-dot {
    background: rgba(164, 133, 109, 0.4) !important;
    border-color: rgba(164, 133, 109, 0.3) !important;
}

.light-touch-section .light-dot.active,
body.dark-mode .light-touch-section .light-dot.active {
    background: #A4856D !important;
    border-color: #A4856D !important;
}