/* Bubs Homepage Styles - Scoped to .bubs-homepage-wrapper */

:root {
    --primary-bg: #f1efee;
    --text-dark: #040404;
    --text-muted: #5e584e;
    --accent-pink: #cd0a18;
    /* Matte Gold -> Red */
    --accent-green: #cd0a18;
    /* Matte Purple -> Red */
    --accent-blue: #386994;
    --accent-teal: #265c5e;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --bg-kahve: #704831;
    --bg-krem: #fcf8f3;
    --vurgu-kahve: #a67b5b;
}

/* =========================================
   PRODUCT HOVER IMAGE GALLERY STYLES
   ========================================= */
.product-image.hover-gallery {
    position: relative;
    cursor: crosshair;
}

.product-image.hover-gallery .gallery-main-img {
    transition: opacity 0.15s ease-out;
}

/* Gallery Indicator Dots */
.image-gallery-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image.hover-gallery:hover .image-gallery-dots {
    opacity: 1;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}

.gallery-dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hide dots on mobile - use swipe instead */
@media (max-width: 768px) {
    .image-gallery-dots {
        display: none;
    }
}

/* Homepage Wrapper - Isolate styles */
.bubs-homepage-wrapper {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.bubs-homepage-wrapper * {
    box-sizing: border-box;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.announcement-slider {
    display: flex;
    animation: slide 20s linear infinite;
    white-space: nowrap;
}

.announcement-item {
    padding: 0 60px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* Header styles removed to prevent conflict with shofy-header.css */

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-krem);
    z-index: 10001;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav {
    padding: 20px 20px 80px 20px;
    text-align: left;
    width: 100%;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y !important;
}

.mobile-nav-item {
    display: block;
    padding: 20px 0;
    color: var(--bg-kahve);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-nav-item:hover {
    color: var(--vurgu-kahve);
}

/* Hero Slider */
.bubs-homepage-wrapper .hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    width: 100%;
    margin: 0 0 40px 0;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    /* Disabled Zoom */
    transition: opacity 1.2s ease-in-out;
    /* Removed transform transition */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    /* Disabled Zoom */
    z-index: 2;
}

/* Ruby Light Effect */
.cursor-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(155, 17, 30, 0.4) 0%, rgba(155, 17, 30, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    /* Let clicks pass through */
    transform: translate(-50%, -50%);
    mix-blend-mode: overlay;
    /* Or screen/lighten depending on preference */
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
}

.hero-slider:hover .cursor-spotlight {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 100%); */
    /* Removed dark overlay for clean look with black text */
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    /* Left aligned */
    transform: translateY(-50%);
    text-align: left;
    /* Left text alignment */
    color: var(--text-dark);
    /* Black text */
    width: 45%;
    /* Limit width to avoid overlapping image on right */
    max-width: 600px;
    z-index: 3;
    opacity: 0;
    transition: all 1s ease-out 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(-50%);
    /* Override the translate(-50%, -50%) from main css */
}

.slide-content h2 {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 500;
    /* Lighter weight as per image */
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    text-shadow: none;
    /* Removed shadow */
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    /* Transparent background */
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--text-dark);
    /* Border */
    border-radius: 0;
    /* Sharp corners */
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    /* "Shop Collection" */
}

.cta-button:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 40px;
}

.slider-btn.next {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.5);
}

/* Container */
.bubs-homepage-wrapper .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.bubs-homepage-wrapper .full-width {
    width: 100%;
    padding: 0;
}

/* Section Titles */
.bubs-homepage-wrapper .section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    color: var(--bg-kahve, #704831) !important;
}

.view-all {
    color: var(--bg-kahve, #704831);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.view-all:hover {
    color: var(--vurgu-kahve, #a67b5b);
    border-bottom-color: var(--vurgu-kahve, #a67b5b);
}

/* Scroll Wrapper */
.scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-container {
    cursor: grab;
}

.scroll-container.active {
    cursor: grabbing;
    scroll-snap-type: none;
    /* Disable snap while dragging for smoothness */
    scroll-behavior: auto;
    /* Disable smooth scroll while dragging */
}

.scroll-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-krem, #fcf8f3);
    border: 1px solid var(--vurgu-kahve, #a67b5b);
    box-shadow: 0 4px 12px rgba(112, 72, 49, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--bg-kahve, #704831);
    transition: all 0.3s;
    opacity: 0;
    /* Hidden by default, shown on hover */
}

.scroll-wrapper:hover .scroll-nav-btn {
    opacity: 1;
}

.scroll-nav-btn:hover {
    background: var(--bg-kahve, #704831);
    color: var(--white, #fff);
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav-btn.prev {
    left: -20px;
}

.scroll-nav-btn.next {
    right: -20px;
}

/* Discover Section */
.discover-section {
    padding: 60px 0;
}

.discover-grid {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.discover-grid::-webkit-scrollbar {
    display: none;
}

.discover-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s;
    flex: 0 0 320px;
    scroll-snap-align: start;
}

.discover-card:hover {
    transform: scale(1.03);
}

.discover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discover-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.discover-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.products-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: var(--bg-krem, #fcf8f3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 300px;
    scroll-snap-align: start;
    border: 1px solid rgba(112, 72, 49, 0.1);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(112, 72, 49, 0.15);
    border-color: var(--vurgu-kahve, #a67b5b);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1;
}

.product-badge.best-seller {
    background: var(--bg-kahve, #704831);
    color: var(--bg-krem, #fcf8f3);
}

.product-badge.discount-badge {
    top: 50px;
    background: var(--bg-kahve, #704831);
    color: var(--bg-krem, #fcf8f3);
}

.product-badge.out-of-stock {
    background: var(--vurgu-kahve, #a67b5b);
    color: var(--white, #fff);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--bg-kahve, #704831);
}

.product-title a {
    color: var(--bg-kahve, #704831);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--vurgu-kahve, #a67b5b);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-sale {
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-kahve, #704831);
}

.price-original {
    font-size: 14px;
    color: var(--vurgu-kahve, #a67b5b);
    text-decoration: line-through;
}

.product-colors {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.2s;
}

.color-dot:hover {
    transform: scale(1.2);
}

.color-more {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 5px;
}

/* Footer styles are now in bubs-style.css for unified styling across all pages */

/* Feature Banner */
.feature-banner {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 60px;
    margin: 80px 20px;
    max-width: calc(100% - 40px);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.banner-image {
    width: 50%;
    object-fit: cover;
    border-radius: 12px;
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Outdoor Section */
.outdoor-section {
    padding: 80px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.outdoor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.outdoor-card {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.outdoor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.outdoor-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.outdoor-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.outdoor-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.outdoor-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.outdoor-prev,
.outdoor-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.outdoor-prev:hover,
.outdoor-next:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

/* Pop Mart Banner */
.popmart-banner {
    background: var(--white);
    padding: 60px 20px;
    margin: 80px 0;
}

.popmart-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.popmart-product {
    position: relative;
}

.popmart-product>img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-thumbnails img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.product-thumbnails img:hover {
    border-color: var(--text-dark);
}

.popmart-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-options {
    margin-top: 30px;
}

.accordion-btn {
    width: 100%;
    padding: 15px 20px;
    background: var(--primary-bg);
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.accordion-btn:hover {
    background: #e5e3e2;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--primary-bg);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--text-dark);
    color: var(--white);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.add-to-cart,
.buy-now {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.add-to-cart {
    background: var(--accent-green);
    color: var(--white);
}

.add-to-cart:hover {
    background: #3a8c78;
    transform: translateY(-2px);
}

.buy-now {
    background: var(--text-dark);
    color: var(--white);
}

.buy-now:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

.other-payment {
    display: block;
    text-align: center;
    color: var(--text-dark);
    text-decoration: underline;
    font-size: 14px;
    margin-top: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--white);
    margin: 80px 0;
    border-radius: 20px;
}

.faq-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 16px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-pink);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-muted);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-slider {
        height: 400px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 13px;
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .discover-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-card {
        padding: 15px;
    }

    .banner-content {
        flex-direction: column;
        padding: 30px;
    }

    .banner-image {
        width: 100%;
    }

    .feature-banner {
        padding: 30px;
        margin: 40px 20px;
    }

    .outdoor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .popmart-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-section {
        padding: 40px 20px;
        margin: 40px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        font-size: 12px;
    }

    /* .header-container {
        padding: 0 15px;
    }

    .logo img {
        height: 35px;
    } */

    .hero-slider {
        height: 250px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .collection-name {
        font-size: 16px;
    }

    .products-section,
    .collections,
    .discover-section {
        padding: 40px 0;
    }
}

/* =========================================
   MODERN COLLECTIONS SECTION (3-Column Grid)
   ========================================= */

.collections-modern {
    padding: 15px 0;
    background: #fff;
}

.collections-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.collections-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.collections-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.collections-grid-3col {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.collections-grid-3col .collection-card-modern {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
}

.collection-card-modern {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #f5f5f5;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collection-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.collection-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card-modern:hover .collection-card-image img {
    transform: scale(1.08);
}

.collection-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: background 0.3s ease;
}

.collection-card-modern:hover .collection-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.collection-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.collection-card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
}

.collection-card-modern:hover .collection-card-arrow {
    background: #fff;
    color: #1a1a1a;
    transform: translateX(5px);
}

/* Tablet (2 columns) */
@media (max-width: 991px) {
    .collections-grid-3col {
        gap: 20px;
    }

    .collections-grid-3col .collection-card-modern {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .collections-title {
        font-size: 28px;
    }

    .collection-card-modern {
        aspect-ratio: 1/1;
    }
}

/* Mobile (1 column) */
@media (max-width: 576px) {
    .collections-modern {
        padding: 15px 0;
    }

    .collections-grid-3col {
        gap: 16px;
    }

    .collections-grid-3col .collection-card-modern {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .collections-title {
        font-size: 24px;
    }

    .collections-subtitle {
        font-size: 14px;
    }

    .collection-card-modern {
        aspect-ratio: 1/1;
        border-radius: 12px;
    }

    .collection-card-image img {
        object-position: top center;
    }

    .collection-card-overlay {
        padding: 16px;
    }

    .collection-card-name {
        font-size: 16px;
    }

    .collection-card-arrow {
        width: 36px;
        height: 36px;
    }
}

/* =========================================
   NEW COLLECTIONS STYLE (Horizontal Cards) - LEGACY
   ========================================= */

.collections-new-style {
    padding: 0;
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
    /* Added gap */
}

.collections-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for horizontal cards usually look better, or 4 if wide enough. Let's stick to 3 or make it responsive. User asked for 4 categories, so let's try 2x2 or 4 in a row if space permits. The reference image shows 3 side-by-side. Let's do 3 for now or responsive grid. User said "4 items", let's do 4 columns but responsive. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    gap: 20px;
    padding: 0 20px;
}

.new-collection-card.horizontal-style {
    position: relative;
    height: 250px;
    /* Shorter height for horizontal look */
    overflow: hidden;
    border-radius: 4px;
    /* Less rounded as per image */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4f5f9;
    /* Default bg */
    transition: transform 0.3s ease;
    padding: 0 20px;
    margin-top: 20px;
}

.new-collection-card.horizontal-style:hover {
    transform: translateY(-5px);
}

.collection-content-left {
    flex: 1;
    z-index: 2;
    padding-right: 10px;
}

.collection-title {
    font-size: 24px;
    font-weight: 500;
    /* Lighter weight */
    color: #000;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    text-transform: capitalize;
    /* "Clothing" not "CLOTHING" */
}

.shop-now-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: capitalize;
    font-size: 13px;
}

.shop-now-btn:hover {
    background: #000;
    color: #fff;
}

.shop-now-btn .arrow {
    margin-left: 8px;
    font-size: 16px;
}

.collection-image-right {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.collection-image-right img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.new-collection-card:hover .collection-image-right img {
    transform: scale(1.05) rotate(2deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .collections-grid-full {
        grid-template-columns: 1fr;
    }

    .new-collection-card.horizontal-style {
        height: 200px;
    }

    .collection-title {
        font-size: 20px;
    }
}

/* === IMAGE-ONLY COLLECTION CARD (Hege Serisi Alt Kategorileri) === */
.new-collection-card.image-only-card {
    display: block;
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    background: #f4f5f9;
}

.new-collection-card.image-only-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.collection-full-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.new-collection-card.image-only-card:hover .collection-full-image {
    transform: scale(1.03);
}

/* Mobile adjustments for image-only cards */
@media (max-width: 768px) {
    .new-collection-card.image-only-card {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .new-collection-card.image-only-card {
        height: 180px;
    }
}

/* Sets and Kits Section */
.sets-kits-section {
    padding: 60px 0;
    background: var(--white);
}

.sets-kits-card {
    position: relative;
    /* Ensure absolute children are relative to this card */
    background: #f4f5f9;
    /* Light gray background */
    border-radius: 8px;
    /* Slightly rounded corners */
    overflow: hidden;
    aspect-ratio: 1;
    /* Square */
    cursor: pointer;
    transition: transform 0.3s;
    flex: 0 0 280px;
    /* Fixed width for scroll items */
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sets-kits-card:hover {
    transform: translateY(-5px);
}

.section-subtitle-script {
    font-family: 'Brush Script MT', 'Comic Sans MS', cursive;
    /* Fallback script fonts */
    font-size: 24px;
    color: #a74e5c;
    /* Reddish/Burgundy color from image */
    margin-bottom: 5px;
    transform: rotate(-5deg);
    /* Slight tilt like the image */
    display: inline-block;
}

.sets-kits-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sets-kits-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Blend with background if not transparent */
    transition: transform 0.3s;
}

.sets-kits-card:hover .sets-kits-image img {
    transform: scale(1.05);
    opacity: 0;
    /* Hide image on hover */
}

.sets-kits-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
    background: #f4f5f9;
    /* Match card background */
}

.sets-kits-card:hover .sets-kits-hover-content {
    opacity: 1;
}

.hover-price {
    font-size: 16px;
    color: #5e584e;
    margin-bottom: 10px;
    font-weight: 500;
}

.hover-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hover-title a {
    color: #040404;
    text-decoration: none;
    transition: color 0.2s;
}

.hover-title a:hover {
    color: #cd0a18;
}

.hover-add-to-cart {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #040404;
    color: #040404;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.hover-add-to-cart:hover {
    background: #040404;
    color: #fff;
}

/* Customer Favorites Section */
.favorites-section {
    padding: 60px 0;
    background: #fff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    color: #cd0a18;
    /* Accent color */
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-large {
    font-size: 36px;
    font-weight: 800;
    color: #040404;
    margin: 0;
}

.favorites-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #5e584e;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: var(--vurgu-kahve);
    font-weight: 600;
}

.tab-btn:hover {
    color: var(--vurgu-kahve);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.favorite-product-card {
    background: #fff;
    transition: transform 0.3s;
}

.fav-product-image {
    background: #f4f5f9;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.fav-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s;
}

.favorite-product-card:hover .fav-product-image img {
    transform: scale(1.05);
}

.out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.fav-product-info {
    text-align: left;
}

.fav-product-category {
    display: block;
    font-size: 12px;
    color: #5e584e;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.fav-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.fav-product-title a {
    color: #040404;
    text-decoration: none;
    transition: color 0.2s;
}

.fav-product-title a:hover {
    color: #cd0a18;
}

.fav-product-rating {
    color: #ffc107;
    /* Star color */
    font-size: 12px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.fav-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #040404;
}

.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .favorites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title-large {
        font-size: 28px;
    }
}

/* This Week's Featured Section */
.featured-weekly-section {
    padding: 60px 0;
    background: #f4f5f9;
    /* Light gray background */
}

.section-header-left {
    text-align: left;
    margin-bottom: 40px;
}

.featured-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    padding-right: 20px;
    /* Added padding right */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.featured-grid::-webkit-scrollbar {
    display: none;
}

.featured-card {
    background: #fff;
    min-width: 550px;
    /* Reduced from 650px for better proportions */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    /* Slightly reduced padding */
    scroll-snap-align: start;
    transition: transform 0.3s;
    border-radius: 0;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-content {
    flex: 0.8;
    /* Give text slightly less space */
    padding-right: 20px;
}

.featured-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.featured-title a {
    color: #040404;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-title a:hover {
    color: var(--vurgu-kahve);
}

.featured-price {
    font-size: 20px;
    font-weight: 700;
    color: #040404;
    margin-bottom: 10px;
}

.featured-rating {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.featured-shop-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    /* Adjusted padding */
    border: 1px solid #040404;
    color: #040404;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    text-transform: capitalize;
    background: transparent;
}

.featured-shop-btn:hover {
    background: #040404;
    color: #fff;
}

.featured-shop-btn .arrow {
    margin-left: 8px;
    font-size: 14px;
    transition: transform 0.3s;
}

.featured-shop-btn:hover .arrow {
    transform: translateX(3px);
}

.featured-image {
    flex: 1.2;
    /* Give image more space */
    width: auto;
    /* Let flex handle width */
    height: 300px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    scale: 3;
    /* Scale up image as requested */
}

.featured-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-left: 0;
    /* Align left */
}

.featured-nav .scroll-nav-btn {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #ccc;
    /* Light gray default */
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.3s;
}

.featured-nav .scroll-nav-btn:hover {
    color: #040404;
}

.nav-separator {
    color: #e5e5e5;
    font-size: 20px;
    font-weight: 300;
}

.featured-grid.scroll-container {
    cursor: grab;
}

.featured-grid.scroll-container.active {
    cursor: grabbing;
}

@media (max-width: 768px) {
    .featured-card {
        min-width: 280px;
        padding: 20px;
    }

    .featured-title {
        font-size: 18px;
    }

    .featured-image {
        width: 100px;
        height: 100px;
    }

    /* Mobile Section Spacing - Tightened */
    .modern-bestsellers-section,
    .products-section,
    .collections-modern {
        padding: 5px 0 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }

    .section-header {
        margin-bottom: 15px !important;
        padding: 10px 10px !important;
    }

    .section-title {
        font-size: 24px !important;
        margin-bottom: 5px !important;
    }

    .bestsellers-header {
        margin-bottom: 10px !important;
        padding: 10px 10px !important;
    }
}

/* Logo styles moved to shofy-header.css for global consistency */