/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-red: #D31F32;
    --goal-orange: #F37021;
    --goal-green: #6C9F2E;
    --goal-red: #C8102E;
    --goal-green-dark: #2F5C24;
    --goal-orange-dark: #D45D00;
    --text-grey: #666;
    --light-grey: #f4f4f4;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--primary-black);
    line-height: 1.5;
    background-color: #fff;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.text-center {
    text-align: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-space {
    padding: 60px 0;
}

.mt-4 {
    margin-top: 2rem;
}

/* Promo Bar */
.promo-bar {
    background: linear-gradient(90deg, #180529, #3a0d5e, #180529);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Header */
.main-header {
    background: #fff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    border-radius: 4px;
}

.search-bar button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.header-icons {
    display: flex;
    gap: 25px;
    font-size: 1.2rem;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.main-nav {
    background: #fff;
    border-top: 1px solid #eee;
}

.nav-list {
    display: flex;
    justify-content: Center;
    gap: 30px;
    padding: 15px 0;
}

.nav-list a {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.nav-list a:hover {
    color: var(--accent-red);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    background: #000;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-left h1 {
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
    font-style: italic;
    color: #fff;
    max-width: 400px;
}

.hero-text-left h1 em {
    color: #fff;
    display: block;
    font-style: normal;
}

.hero-offer-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    text-align: right;
    max-width: 400px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-tag {
    background: var(--accent-red);
    color: #fff;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.offer-details h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.offer-details p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: var(--accent-red);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

/* Best Sellers */
.tabs-header {
    text-align: center;
    margin: 40px 0;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #888;
}

.tab-btn.active {
    color: #000;
    border-bottom: 3px solid #000;
}

/* Product Slider */
.product-slider-wrapper {
    position: relative;
    padding: 0 40px;
    /* Space for arrows */
}

.product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

/* Override plugin grid behavior inside the carousel */
.product-carousel>ul.products {
    display: flex !important;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

/* Product Card Styles */
.product-card,
.product-carousel .pc-product-card {
    text-align: center;
    position: relative;
    flex: 0 0 calc(25% - 20px) !important;
    /* 4 items per row strictly */
    max-width: calc(25% - 20px) !important;

    min-width: 0;
    background: #fff;
    padding-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 0 0 20px 0;
}

/* Hover Effect - "Card Pop" Style */
.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    z-index: 10;
    border-color: #eee;
}

.product-img {
    position: relative;
    overflow: hidden;
    padding: 20px;
    /* Space for image */
}

/* Add to Cart Overlay - Bottom Bar */
.add-to-cart-overlay {
    position: absolute;
    bottom: -60px;
    /* Hidden default */
    left: 0;
    width: 100%;
    background: #000;
    /* Black bar */
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.3s ease;
    height: 50px;
}

.product-card:hover .add-to-cart-overlay {
    bottom: 0;
}

.add-to-cart-overlay .btn-black {
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 0.9rem;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

/* Ensure button doesn't have default margin from elsewhere */
.add-to-cart-overlay .btn-black:hover {
    background: #333;
}

.prod-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.prod-btn:hover {
    background: #000;
    color: #fff;
}

.prod-prev {
    left: 0;
    z-index: 20;
}

.prod-next {
    right: 0;
    z-index: 20;
}



.wishlist-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #ccc;
    font-size: 1.2rem;
}

.product-img img {
    margin: 0 auto;
    height: 250px;
    object-fit: contain;
}

.product-info h4 {
    font-size: 0.9rem;
    margin: 15px 0 5px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.stars {
    color: gold;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
}

.mrp {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
    margin-right: 5px;
}

.final-price {
    font-size: 1.1rem;
    margin-right: 5px;
}

.discount {
    color: var(--accent-red);
    font-size: 0.85rem;
}

.tax-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

.tax-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 40px;
}

/* Top Categories */
.cat-slider-wrapper {
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cat-btn {
    display: none;
    /* Hidden on desktop */
}

.cat-card {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.cat-img-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

.cat-card:hover .cat-img-box img {
    transform: scale(1.05);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    text-align: center;
    color: #fff;
}

.cat-overlay h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.btn-black {
    background: #000;
    color: #fff;
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    border: 2px solid #000;
    transition: all 0.3s;
}

.btn-black:hover {
    background: #fff;
    color: #000;
}

/* Reach Potential */
.potential-banner {
    padding: 50px 0;
    background: #fff;
}

.potential-banner h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

/* Goals Bar */
.goals-bar {
    display: flex;
}

.goal-label {
    background: #000;
    color: #fff;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.goal-label h2 {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 900;
    font-style: italic;
}

.goal-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
    transition: filter 0.3s;
    cursor: pointer;
}

.goal-item:hover {
    filter: brightness(1.1);
}

.goal-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.goal-item span {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    max-width: 120px;
}

.bg-orange {
    background: var(--goal-orange);
}

.bg-green {
    background: var(--goal-green);
}

.bg-red {
    background: var(--goal-red);
}

.bg-green-dark {
    background: var(--goal-green-dark);
}

.bg-orange-dark {
    background: var(--goal-orange-dark);
}

/* Watch and Shop */
.watch-shop {
    display: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 8px;
}

/* Education */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.edu-card {
    position: relative;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
}

.edu-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    color: #fff;
}

.edu-overlay h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.btn-border {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn-border:hover {
    background: #fff;
    color: #000;
}

/* Range */
.range-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
}

.range-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.range-text {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8f8f8;
}

.range-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Stats */
.stats-banner {
    padding: 80px 0;
}

.upper-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.huge-text {
    font-size: 5rem;
    font-weight: 900;
    margin: 10px 0;
}

.lower-text {
    display: block;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 700;
}

.stats-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Quality */
.quality {
    background: #fff;
}

.quality-desc {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1rem;
    color: #666;
}

.quality-icons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 40px;
}

.q-item i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.q-item h4 {
    max-width: 150px;
    margin: 0 auto;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Footer */
.main-footer {
    background: #000;
    color: #fff;
    padding-top: 60px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.newsletter-box {
    margin-top: 30px;
}

.news-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.news-form input {
    padding: 10px;
    width: 300px;
}

.news-form button {
    padding: 10px 30px;
    background: #000;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.footer-links-area {
    padding-bottom: 50px;
}

.footer-col {
    margin-bottom: 30px;
}

.small-text {
    font-size: 0.8rem;
    color: #999;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-grid h5 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-grid ul li {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom {
    background: #111;
    padding: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* Responsive */
@media (max-width: 1000px) {

    .category-grid,
    .edu-grid,
    .footer-grid,
    .range-container {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .goals-bar {
        flex-wrap: wrap;
    }

    .goal-label {
        width: 100%;
    }

    .goal-item {
        width: 50%;
        min-width: 50%;
    }

    /* Responsive Header - Removed conflicting styles that were hiding the logo */
    .header-container {
        padding: 5px 15px;
    }


    /* Responsive Nav */
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0;
        background: #fff;
        border-top: 1px solid #ddd;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-list a {
        display: block;
        padding: 15px;
    }

    .hamburger-menu {
        display: block;
        margin-left: 10px;
    }

    /* Responsive Hero */
    .hero-slider {
        height: auto;
        min-height: 500px;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 60px 20px;
        gap: 40px;
    }

    .hero-text-left h1 {
        font-size: 3rem;
        margin: 0 auto;
    }

    .hero-offer-box {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    /* Responsive Product Carousel */
    /* Tablet: 2.5 items (approx 40%) */
    .product-card {
        flex: 0 0 calc(40% - 15px);
    }
}

@media (max-width: 600px) {

    /* Mobile Category Slider */
    .cat-slider-wrapper {
        padding: 0 40px;
        position: relative;
    }

    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 0;
        scrollbar-width: none;
        grid-template-columns: none;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .cat-card {
        min-width: 100%;
        flex: 0 0 100%;
        margin-right: 0;
    }

    .cat-btn {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        font-size: 2rem;
        color: #555;
        cursor: pointer;
        z-index: 10;
        padding: 0;
        width: auto;
        height: auto;
        box-shadow: none;
    }

    .cat-prev {
        left: 0;
    }

    .cat-next {
        right: 0;
    }

    .cat-overlay {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.9);
    }

    /* Mobile: 2 items */
    .product-card {
        flex: 0 0 calc(50% - 10px);
    }

    .product-slider-wrapper {
        padding: 0;
        /* Maximize space on mobile */
    }

    .prod-btn {
        display: none;
        /* Hide arrows on scrollable touch mobile */
    }

    .product-img img {
        height: 180px;
    }

    /* Shorten Protein Image on Mobile */
    .range-img img {
        min-height: 280px;
        height: 280px;
    }

    /* Mobile Shop Sidebar */
    .shop-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .shop-grid .product-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* --- Shop Page Styles --- */

.breadcrumb {
    color: #888;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #555;
    text-decoration: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.shop-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar */
.shop-sidebar {
    width: 25%;
    flex-shrink: 0;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.filter-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.filter-group ul li {
    margin-bottom: 10px;
}

.filter-group ul li a {
    color: #555;
    font-size: 0.9rem;
}

.filter-group ul li a:hover {
    color: #000;
    text-decoration: underline;
}

.checkbox-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 8px;
}

.price-range input {
    width: 100%;
}

/* Shop Main Grid */
.shop-products {
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sort-select {
    padding: 8px;
    border: 1px solid #ddd;
    outline: none;
}

.shop-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Override product-card for Grid View */
.shop-grid .product-card {
    flex: 0 0 calc(33.333% - 14px);
    /* 3 Per Row on Desktop Shop */
    max-width: calc(33.333% - 14px);
    /* Reuses all other styles from .product-card */
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.pagination button.active,
.pagination button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pagination button:last-child {
    width: auto;
    padding: 0 20px;
}