/* shop2.css */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-text: #2C2C2C;
    --secondary-text: #6E6E6E;
    --accent-green: #6F8F7A;
    --bg-light: #FAF9F7;
    --white: #FFFFFF;
}

body {
    background: var(--bg-light);
    margin: 0;
    overflow-x: hidden;
}

/* Best Sellers Section */
.best-sellers-section {
    position: relative;
    width: 100%;
    min-height: 1252px;
    background: var(--bg-light);
    padding-top: 131px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Ellipses */
.ellipse-bg {
    position: absolute;
    width: 535px;
    height: 535px;
    background: linear-gradient(196.22deg, #F0E4D5 10.21%, #D2976A 90.67%);
    filter: blur(200px);
    z-index: 0;
    pointer-events: none;
}

.ellipse-4 {
    left: 1273px;
    bottom: -260px;
}

@media (max-width: 1400px) {
    .ellipse-4 {
        right: -100px;
        left: auto;
    }
}

.ellipse-5 {
    left: -337px;
    bottom: 1068px;
}

/* Decorative Leaves */
.leaf-bg {
    position: fixed;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../assets/front-end/img/golden-leaves.png');
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.leaf-hero-bottom {
    width: 320px;
    height: 220px;
    left: -50px;
    top: 500px;
    /* Below hero section */
    transform: rotate(-25deg);
    opacity: 0.3;
}

.leaf-footer-above {
    width: 280px;
    height: 195px;
    right: -30px;
    bottom: 200px;
    /* Above footer */
    transform: rotate(145deg);
    opacity: 0.35;
}

/* Frame 107 - Header Border Area */
.header-frame {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 40px 0px 0px;
    width: 100%;
    max-width: 1227px;
    border-top: 1px solid #C9C9C9;
    z-index: 1;
}

/* Frame 106 - Main Content Area - 4 items per row */
.cards-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0px;
    gap: 30px;
    width: 100%;
    max-width: 1250px;
    margin-top: 0;
    z-index: 1;
}

/* Frame 38 - Card Row */
.card-row {
    display: grid;
    grid-template-columns: repeat(4, 290px);
    gap: 30px;
    justify-content: center;
    width: 100%;
    margin-bottom: 32px;
}

@media (max-width: 1280px) {
    .card-row {
        grid-template-columns: repeat(auto-fit, 290px);
    }
}

/* Product Card - Generated Design */
.product-card-v2 {
    display: flex;
    flex-direction: column;
    padding: 24px;
    width: 100%;
    height: 444px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

.product-card-v2:hover {
    transform: translateY(-5px);
}

/* Image Wrapper */
.card-img-container {
    position: relative;
    width: 242px;
    height: 248px;
    margin-bottom: 20px;
    background: #ffffff;
}

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

/* Rating Badge */
.rating-badge-v2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3px 8px;
    gap: 4px;
    position: absolute;
    right: 15px;
    top: 15px;
    background: var(--accent-green);
    border-radius: 20px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.rating-badge-v2 i {
    color: #FBBF24;
    font-size: 14px;
}

.rating-badge-v2 span {
    color: #000;
}

/* Content Area */
.card-content-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.card-title-v2 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.6px;
    color: #000000;
    margin: 0;
}

.card-desc-v2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
    margin: 0;
    height: 48px;
    overflow: hidden;
}

.card-info-v2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
    margin: 0;
}

/* Header styles for View All sections */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1227px;
    margin-bottom: 40px;
}

.section-title-group h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 48px;
    color: var(--primary-text);
    margin: 0;
}

.btn-view-all-v2 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    gap: 10px;
    background: rgba(105, 109, 172, 0.1);
    border: 2px solid #696DAC;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-text);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 64px;
}

.btn-view-all-v2:hover {
    background: #696DAC;
    color: white;
}

/* Popular Brands Section */
.popular-brands-section {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-light);
}

/* Brand Marquee Section */
.brand-marquee-section {
    position: relative;
    height: 180px;
    background: var(--bg-light);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-overlay-right {
    position: absolute;
    width: 535px;
    height: 535px;
    right: -346px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(196.22deg, #F0E4D5 10.21%, #D2976A 90.67%);
    filter: blur(100px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.8;
}

.marquee-track {
    display: flex;
    gap: 107.55px;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

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

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

.marquee-content {
    display: flex;
    gap: 100px;
    animation: marquee-scroll 30s linear infinite;
    padding-left: 100px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

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

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #2C2C2C;
    font-weight: 700;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Footer */
.main-footer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0 0;
    gap: 24px;
    isolation: isolate;
    position: relative;
    background: #F5F2EE;
    border-top: 1px solid #E8E5E1;
    overflow: hidden;
}

.footer-bg-ellipse {
    position: absolute;
    width: 535px;
    height: 535px;
    right: -427px;
    top: -250px;
    background: linear-gradient(196.22deg, #F0E4D5 10.21%, #D2976A 90.67%);
    filter: blur(200px);
    z-index: 0;
    opacity: 0.6;
}

.footer-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.footer-newsletter-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 60px;
    gap: 40px;
    width: 100%;
    border-bottom: 1px solid #E8E5E1;
}

.newsletter-text h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: #000000;
    margin-bottom: 6px;
}

.newsletter-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #666666;
    margin: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.newsletter-input-group {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
    width: 300px;
    height: 48px;
    background: #F5F2EE;
    border: 1px solid #696DAC;
    border-radius: 8px;
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #696DAC;
}

.btn-subscribe {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 120px;
    height: 48px;
    background: #696DAC;
    border-radius: 8px;
    border: none;
    color: #F9F8F6;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0;
    width: 100%;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
}

.footer-brand-desc p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2C2C2C;
    margin-bottom: 12px;
    max-width: 280px;
}

.footer-nav-col h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    color: #2C2C2C;
    margin-bottom: 20px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #2C2C2C;
    text-decoration: none;
}

.footer-middle-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #E8E5E1;
    width: 100%;
}

.vetting-badges {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.vetting-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #2C2C2C;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    font-size: 24px;
    color: #2C2C2C;
}

.footer-legal-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 40px;
    width: 100%;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #6E6E6E;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #6E6E6E;
    text-decoration: none;
}

/* Responsive adjustments */

/* Tablet and below */
@media (max-width: 1250px) {

    .header-frame,
    .cards-area {
        max-width: 95%;
    }
}

@media (max-width: 992px) {

    /* Best Sellers Section */
    .best-sellers-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .cards-area {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .card-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }

    .product-card-v2 {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto;
    }

    .card-img-container {
        width: 100%;
        height: 220px;
    }

    /* Popular Brands Section */
    .popular-brands-section {
        padding: 60px 20px;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 20px;
    }

    .section-title-group h2 {
        font-size: 36px;
    }

    .btn-view-all-v2 {
        max-width: 320px;
    }

    /* Hero adjustments */
    .shop-hero {
        padding: 60px 20px;
    }

    .hero-title-shop {
        font-size: 48px;
    }

    .hero-subtitle-shop {
        font-size: 16px;
    }

    /* Marquee */
    .brand-marquee-section {
        height: 140px;
    }

    .brand-logo {
        font-size: 28px;
    }

    /* Footer */
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-newsletter-row {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input-group {
        width: 100%;
    }

    .btn-subscribe {
        width: 100%;
    }

    .footer-middle-bar {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Best Sellers Section */
    .best-sellers-section {
        padding-top: 60px;
        padding-bottom: 50px;
        min-height: auto;
    }

    /* Leaf positioning for tablet */
    .leaf-hero-bottom {
        width: 280px;
        height: 190px;
        left: -35px;
        top: 480px;
        opacity: 0.2;
    }

    .leaf-footer-above {
        width: 240px;
        height: 165px;
        right: -20px;
        bottom: 180px;
        opacity: 0.25;
    }

    .header-frame {
        padding: 20px 15px 0;
    }

    .cards-area {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .card-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .product-card-v2 {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        margin: 0;
        background: #ffffff !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 2;
    }

    .card-img-container {
        width: 100%;
        height: 200px;
        background: var(--white) !important;
        border-radius: 8px;
        overflow: hidden;
    }

    .card-title-v2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .card-desc-v2 {
        font-size: 14px;
        line-height: 20px;
        height: auto;
        margin-bottom: 8px;
    }

    /* Popular Brands Section */
    .popular-brands-section {
        padding: 40px 15px;
    }

    .section-header-row {
        padding: 0 15px;
    }

    .section-title-group h2 {
        font-size: 32px;
    }

    .btn-view-all-v2 {
        padding: 15px 30px;
        font-size: 16px;
    }

    /* Hero */
    .shop-hero {
        padding: 50px 15px;
    }

    .hero-title-shop {
        font-size: 36px;
    }

    .hero-subtitle-shop {
        font-size: 15px;
        padding: 0 10px;
    }

    /* Marquee */
    .brand-marquee-section {
        height: 120px;
    }

    .brand-logo {
        font-size: 24px;
    }

    .marquee-content {
        gap: 60px;
        padding-left: 50px;
    }

    /* Footer */
    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand-col {
        align-items: center;
    }

    .footer-nav-list {
        align-items: center;
    }

    .vetting-badges {
        flex-direction: column;
        gap: 15px;
    }

    .footer-legal-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Background elements - reduce for performance */
    .ellipse-bg {
        filter: blur(100px);
    }
}

@media (max-width: 576px) {

    /* Best Sellers Section */
    .best-sellers-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .header-frame {
        padding: 15px 10px 0;
    }

    .card-row {
        padding: 0 10px;
        gap: 24px;
    }

    .cards-area {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .product-card-v2 {
        padding: 12px;
    }

    .card-img-container {
        height: 200px;
        margin-bottom: 16px;
    }

    .card-title-v2 {
        font-size: 20px;
        line-height: 26px;
    }

    .card-desc-v2 {
        font-size: 14px;
        line-height: 20px;
        height: auto;
    }

    .card-info-v2 {
        font-size: 13px;
    }

    .rating-badge-v2 {
        padding: 2px 6px;
        font-size: 12px;
        right: 10px;
        top: 10px;
    }

    /* Popular Brands Section */
    .popular-brands-section {
        padding: 40px 10px;
    }

    .section-header-row {
        padding: 0 10px;
        gap: 15px;
    }

    .section-title-group h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .btn-view-all-v2 {
        padding: 12px 24px;
        font-size: 15px;
        height: auto;
        min-height: 48px;
    }

    /* Hero */
    .shop-hero {
        padding: 40px 10px;
    }

    .hero-title-shop {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-subtitle-shop {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Marquee */
    .brand-marquee-section {
        height: 100px;
    }

    .brand-logo {
        font-size: 20px;
    }

    .marquee-content {
        gap: 40px;
        padding-left: 30px;
    }

    /* Footer */
    .main-footer {
        padding: 50px 10px 0;
    }

    .footer-container {
        padding: 0 15px;
    }

    .newsletter-text h5 {
        font-size: 20px;
    }

    .newsletter-text p {
        font-size: 14px;
    }

    .newsletter-input-group {
        padding: 8px 15px;
    }

    .btn-subscribe {
        font-size: 13px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-brand-desc p {
        font-size: 14px;
        max-width: 100%;
    }

    .footer-nav-col h6 {
        font-size: 16px;
    }

    .footer-nav-list a {
        font-size: 14px;
    }

    .vetting-badge {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 20px;
    }

    /* Adjust background decorations on small screens */
    .leaf-bg {
        opacity: 0.15;
    }

    .leaf-hero-bottom {
        width: 240px;
        height: 165px;
        left: -40px;
        top: 420px;
    }

    .leaf-footer-above {
        width: 200px;
        height: 140px;
        right: -25px;
        bottom: 150px;
    }

    .ellipse-bg {
        filter: blur(80px);
    }
}