@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap');

:root {
    --primary: #45f882;
    --primary-alt: #3ad36f;
    --bg-main: #0b0e13;
    --bg-card: #121a23;
    --bg-sidebar: #121a23;
    --text-white: #ffffff;
    --text-muted: #adb5bd;
    --text-gray: #6c757d;
    --border: #242c33;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Keyframe animations for entrance effects */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

.warn {
    font-size: 13px;
    background-color: #000;
    color: var(--text-white);
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

/* Header */
.header {
    background: rgba(11, 14, 19, 0.85);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    /* Standardized padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Sophisticated border */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: fadeIn 1s ease-out;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu ul li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu ul li a.active,
.nav-menu ul li a:hover {
    color: var(--primary);
}

.nav-menu ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-trigger {
    font-size: 24px;
    color: var(--text-gray);
    transition: var(--transition);
}

.search-trigger:hover {
    color: var(--primary);
}

.sign-in-btn {
    border: 2px solid var(--primary);
    padding: 8px 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.sign-in-btn:hover {
    background: var(--primary);
    color: var(--bg-main);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
}

.close-menu-btn {
    display: none;
}

/* 1. The Container needs to be a "Relative" anchor */
.hero-section {
    position: relative;
    padding: 180px 0 150px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    /* Ensures the section has height */
}

/* 2. The Image - MUST be Absolute to stay in the background */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes it act like a background cover */
    z-index: 1;
    /* Lowest layer */
}

/* 3. The Overlay - Darkens the image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Increase 0.6 to 0.8 to make it even darker */
    z-index: 2;
    /* Sits on top of the image */
}

/* 4. The Content - Needs to be Relative to stay on top of the overlay */
.hero-section .container {
    position: relative;
    z-index: 3;
    /* Highest layer */
    width: 100%;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* 5. The Bottom Curve - Stays at the very bottom */
.hero-bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
}

/* 6. Button Style */
.hero-content-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #ff4d4d;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-content-button:hover {
    background-color: #e60000;
    transform: scale(1.05);
}

.breadcrumb {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--primary);
    font-size: 8px;
}

.breadcrumb .current {
    color: var(--text-white);
    text-transform: uppercase;
}

/* Hero CTA button (filled green) */
.hero-content-button {
    background-color: #2eff71;
    border: none;
    color: #000 !important;
    font-weight: bold;
    padding: 15px 40px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(46, 255, 113, 0.4);
    transition: transform 0.2s ease;
    position: relative;
}

.hero-content-button:hover,
.hero-content-button:focus {
    background: var(--primary-alt);
    transform: translateY(-2px);
    color: #000 !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(69, 248, 130, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(69, 248, 130, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(69, 248, 130, 0);
    }
}


/* Product CTA (green) */
.product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    color: var(--bg-main);
    padding: 14px 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 8px;
    border: none;
    box-shadow: 0 6px 18px rgba(69, 248, 130, 0.15);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.2s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.product-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s;
}

.product-cta:hover::before {
    left: 100%;
}

.product-cta:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(69, 248, 130, 0.25);
}

.product-cta:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(69, 248, 130, 0.16);
    background: var(--primary-alt);
}

/* Reveal helper for CTAs */
.product-cta.reveal {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
    transition: opacity 0.55s cubic-bezier(.2, .9, .2, 1), transform 0.55s cubic-bezier(.2, .9, .2, 1);
}

.product-cta.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Show More button (green, website style) */
.show-more-btn {
    background: var(--primary);
    color: var(--bg-main);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(69, 248, 130, 0.12);
    transition: var(--transition);
    border: 2px solid transparent;
    display: block;
    margin: 0 auto;
    /* center it in pagination */
}

.show-more-btn:hover,
.show-more-btn:focus {
    background: var(--primary-alt);
    transform: translateY(-2px);
}

/* Oblique green lines in hero bottom (from image) */
.hero-bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
    z-index: 2;
}

.hero-bottom-curve::before,
.hero-bottom-curve::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 51%;
    height: 5px;
    background: var(--primary);
}

.hero-bottom-curve::before {
    left: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-bottom-curve::after {
    right: 0;
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}


/* Shop Section */
.shop-section {
    padding: 100px 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    animation: slideInLeft 1s ease-out 0.5s both;
}

.widget {
    background: var(--bg-card);
    padding: 30px;
    border: 1px solid var(--border);
    position: relative;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid var(--primary);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    background: #0b0e13;
    border: 1px solid var(--border);
    padding: 12px 15px;
    color: white;
    outline: none;
}

.search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-img {
    width: 60px;
    height: 60px;
    background: #0b0e13;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-info h4 {
    font-size: 14px;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.item-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-info h4 a:hover {
    color: var(--primary);
}

.item-info .price {
    color: var(--primary);
    font-weight: 700;
}

.categories-widget ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget ul li:hover {
    color: var(--primary);
}

/* Product Area */
.product-area {
    animation: slideInRight 1s ease-out 0.7s both;
}

.product-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.sort-dropdown select {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 15px;
    outline: none;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex: 1;
    animation: slideInUp 0.8s ease-out both;
}

.product-card:nth-child(1) {
    animation-delay: 1s;
}

.product-card:nth-child(2) {
    animation-delay: 1.1s;
}

.product-card:nth-child(3) {
    animation-delay: 1.2s;
}

.product-card:nth-child(4) {
    animation-delay: 1.3s;
}

.product-card:nth-child(5) {
    animation-delay: 1.4s;
}

.product-card:nth-child(6) {
    animation-delay: 1.5s;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.product-card-link:hover .product-card {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(69, 248, 130, 0.15);
}

.card-img {
    position: relative;
    padding: 0;
    /* remove inner padding so image spans full width */
    background: transparent;
    /* let image show edge-to-edge */
    display: block;
    width: 100%;
    height: 220px;
    /* fixed visual height for grid images */
    overflow: hidden;
    flex-shrink: 0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop to fill area */
    display: block;
}

.wishlist-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-gray);
}

.wishlist-btn:hover {
    color: var(--primary);
}

.card-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-paragraph {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 8px;
    margin-bottom: 15px;
}


.card-info .category {
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-weight: 700;
    font-family: var(--font-heading);
}

.page-link.active,
.page-link:hover {
    background: var(--primary);
    color: var(--bg-main);
}

.page-link.dots {
    background: transparent;
    border: none;
}

:root {
    --bg-dark: #0f0f0f;
    --card-bg: #1a1a1a;
    --neon-green: #ccff00;
    --text-gray: #a0a0a0;
}

body {
    background-color: var(--bg-dark);
    font-family: sans-serif;
}

.testimonials-section {
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-weight: 900;
}

.check-box {
    background: var(--neon-green);
    color: black;
    padding: 2px 8px;
    border-radius: 4px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: #2eff71;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
}

/* Avatar Colors */
.kn {
    background-color: #d4ff00;
}

.sc {
    background-color: #ffaa00;
}

.mr {
    background-color: #00ccff;
}

.user-info h3 {
    margin: 0;
    font-size: 1.1rem;
}

.verified {
    color: #2eff71;
    font-size: 0.8rem;
    margin: 5px 0 0;
}

.stars {
    color: #2eff71;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #0b0e13;
    padding-top: 80px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.brand-col .footer-logo {
    height: 40px;
    margin-bottom: 40px;
}

.brand-col p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.footer-cta-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-main);
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    transition: var(--transition);
    animation: pulse 2s infinite;
    border: 2px solid var(--primary);
}

.footer-cta-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    animation: none;
    box-shadow: 0 10px 20px rgba(69, 248, 130, 0.2);
}

.social-icons {
    display: flex;
    gap: 15px;
    /* Spacing between icons */
    padding: 20px 0;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1e23;
    /* Dark circle color matching your UI */
    color: #ffffff;
    /* White icon color */
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.icon-link:hover {
    background-color: #24292f;
    /* Slightly lighter on hover */
    transform: translateY(-3px);
    /* Subtle lift effect */
    color: #00ff88;
    /* Optional: adds your brand's green tint on hover */
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.newsletter-col p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    background: var(--bg-card);
    border: none;
    padding: 15px 20px;
    color: white;
    outline: none;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--bg-main);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    background: #090c10;
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.source-link {
    font-weight: 600;
}

.payment-methods img {
    height: 25px;
}

.scroll-top {
    position: absolute;
    top: -25px;
    right: 50px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .shop-grid {
        display: flex;
        flex-direction: column;
    }

    .product-grid-container,
    .shop-grid main {
        order: 1;
    }

    .shop-sidebar,
    .shop-grid aside {
        order: 2;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        z-index: 2000;
        padding: 100px 40px;
        transition: 0.5s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 30px;
        right: 40px;
        font-size: 30px;
        color: var(--primary);
        transition: var(--transition);
        z-index: 2001;
    }

    .close-menu-btn:hover {
        transform: rotate(90deg);
        color: var(--text-white);
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.locations-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    padding: 20px 0;
    margin-bottom: 0;
    text-align: center;
}

.locations-header {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.locations-header h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    margin: 0;
}

.locations-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.locations-arrow.open {
    transform: rotate(180deg);
}

.locations-list {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 20px;
    padding: 0 20px;
}

.locations-list.open {
    display: flex;
}

.locations-list a {
    color: var(--text-gray);
    font-size: 0.85rem;
    white-space: nowrap;
}

.locations-list a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* First, make sure the card is the reference point */
.product-card {
    position: relative;
    /* This is the "anchor" */
}




@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}