/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #E97D30;
    /* Coolvita Brand Orange */
    --primary-light: #f3a36a;
    --primary-dark: #c8631c;
    --secondary: #2b2d42;
    /* Deep modern navy for contrast */
    --accent: #8d99ae;
    --bg-color: #fcfcfc;
    --surface: #ffffff;
    --text-main: #2d3142;
    --text-muted: #6e7687;
    --border-color: #edf2f4;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 25px -5px rgba(255, 107, 53, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Reusables */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

/* Navbar */
.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--secondary);
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
}

/* Swiper Overrides */
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
}

.cart-count {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    position: absolute;
    top: -10px;
    right: 25px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center right;
    position: relative;
    overflow: hidden;
}

/* Image-based hero slide */
.hero-slide {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.home-slider {
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .hero-slide,
    .home-slider {
        height: 280px;
    }
}

/* .hero overlay removed to show clear banner images */

.hero .container {
    margin-left: 0;
    max-width: 100%;
    padding-left: 5%; /* Give it some breathing room from the edge */
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    padding: 60px 0;
    text-align: left;
}

.hero-content h1 {
    color: #fff;
    font-size: 62px;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    margin-bottom: 40px;
}

.hero-content .btn {
    text-shadow: none;
}

.hero-image {
    display: none;
}

@media (max-width: 992px) {
    .hero {
        min-height: 60vh;
    }
    .hero .container {
        padding-left: 24px;
    }
    .hero-content h1 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        justify-content: center;
    }
    .hero .container {
        margin: 0 auto;
        padding: 40px 20px;
    }
    .hero::after {
        background: rgba(0, 0, 0, 0.4);
    }
    .hero-content {
        padding: 0;
    }
    .hero-content h1 {
        font-size: 32px;
    }
}

/* Cards & Grids */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.badge-new {
    position: absolute;
    top: 0;
    left: 0;
    background: #FF0000; /* Vibrant red */
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 16px 0 16px 0; /* Matches card corner */
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    pointer-events: none;
    animation: badge-pulse 2s infinite;
}

/* Hide product text on shop page as requested */
.product-card .product-title,
.product-card .product-price,
.product-card .btn-outline {
    display: none !important;
}

.product-card {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.product-image {
    margin-bottom: 0 !important;
    height: 100% !important;
    border-radius: var(--radius-md) !important;
}

@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(255,0,0,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255,0,0,0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(255,0,0,0.3); }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-image {
    height: 250px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    transition: var(--transition);
    background-color: #f8f9fa; /* Subtle background for transparency */
    border-radius: var(--radius-sm);
    padding: 10px;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px; /* Force minimum height for 2 lines */
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    margin-top: auto; /* Push price and button to bottom */
}

/* Footer */
footer {
    background: #e57c2a; /* Coolvita solid orange color */
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    color: white;
    margin-bottom: 25px;
    display: inline-block;
}

.footer-text {
    color: rgba(255,255,255,0.9);
    max-width: 90%;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.3);
    color: white;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group li {
    margin-bottom: 12px;
}

.footer-links-group a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links-group a:hover {
    color: white;
    text-decoration: underline;
}

.mt-ab {
    margin-top: 40px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 15px 20px -10px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
        min-height: auto;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-content div[style*="gap"] {
        flex-direction: column;
        gap: 0 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px !important;
    }
}
/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--primary);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Marketplace Section */
.marketplace-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.marketplace-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.marketplace-item:hover {
    transform: translateY(-5px);
}

.marketplace-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.marketplace-icon i {
    transition: var(--transition);
}

.marketplace-item:hover .marketplace-icon {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.retailers-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(1);
}

.retailers-logos img {
    height: 35px;
    object-fit: contain;
}

/* Standard FAQ (Product Page) */
.faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
}
.faq-item-ui {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question-ui {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
}

.faq-answer-ui {
    padding: 0 25px 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item-ui.active .faq-answer-ui {
    max-height: 500px;
    padding-bottom: 25px;
}

.faq-icon-ui {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item-ui.active .faq-icon-ui {
    transform: rotate(180deg);
}

/* Home Page FAQ (Premium - Matching Screenshot) */
.faq-premium-item {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-premium-question {
    background: #EF9792;
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.faq-premium-question:hover {
    background: #e88680;
}

.faq-premium-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFF0E1;
    border-radius: 0 0 4px 4px;
}

.faq-premium-item.active .faq-premium-answer {
    max-height: 1000px;
}

.faq-premium-answer-inner {
    padding: 25px 24px;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.faq-premium-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-premium-item.active .faq-premium-icon {
    transform: rotate(180deg);
}



/* Testimonials */
.testi-slider {
    padding: 40px 0;
}

.testi-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
}

.testi-rating {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 18px;
}

.testi-content {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        order: -1;
    }
}
