/* =========================================
   PROFESSIONAL NAVBAR
========================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 10px;
}

/* Navbar */

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: #111827;
    z-index: 9999;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

/* Main container */

.nav-container {
    width: 100%;
    max-width: 1400px;
    height: 76px;
    margin: auto;

    padding: 0 35px;

    display: flex;
    align-items: center;
    gap: 25px;
}

/* Logo */

.logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;

    white-space: nowrap;

    transition: 0.3s;
}

.logo span {
    color: #198754;
}

.logo:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-left: auto;
}

/* Nav links */

.nav-menu .nav-link {
    position: relative;

    color: #ffffff;
    text-decoration: none;

    font-size: 16px;
    font-weight: 500;

    padding: 10px 14px;

    transition: 0.3s;
}

/* Hover */

.nav-menu .nav-link:hover {
    color: #198754;
}

/* Active page */

.nav-menu .nav-link.active {
    color: #198754;
}

/* Active underline */

.nav-menu .nav-link.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 3px;

    height: 2px;

    background: #198754;

    border-radius: 5px;
}

/* Search */

.nav-search {
    display: flex;
    align-items: center;

    width: 230px;
    height: 40px;

    background: white;

    border-radius: 6px;
    overflow: hidden;

    margin-left: 10px;
}

.nav-search input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    padding: 0 12px;

    font-size: 14px;
}

.nav-search button {
    width: 45px;
    height: 100%;

    border: none;

    background: #198754;
    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.nav-search button:hover {
    background: #157347;
}

/* Cart */

.cart-btn {
    position: relative;

    width: 42px;
    height: 42px;

    border: none;
    background: transparent;

    color: white;

    font-size: 19px;

    cursor: pointer;

    transition: 0.3s;
}

.cart-btn:hover {
    color: #198754;
}

/* Cart number */

.cart-count {
    position: absolute;

    top: -2px;
    right: -2px;

    min-width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #198754;
    color: white;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
}

/* Mobile button */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid #555;
    border-radius: 6px;

    background: transparent;
    color: white;

    font-size: 20px;

    cursor: pointer;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

    .nav-container {
        padding: 0 20px;
        gap: 15px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-menu .nav-link {
        padding: 9px 8px;
        font-size: 15px;
    }

    .nav-search {
        width: 190px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    body {
        padding-top: 70px;
    }

    .main-navbar {
        height: 70px;
    }

    .nav-container {
        height: 70px;

        padding: 0 15px;

        position: relative;
    }

    /* Logo */

    .logo {
        font-size: 21px;
    }

    /* Menu button */

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    /* Hide desktop search */

    .nav-search {
        display: none;
    }

    /* Cart */

    .cart-btn {
        width: 40px;
        height: 40px;
    }

    /* Mobile menu */

    .nav-menu {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        background: #111827;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 12px 15px 18px;

        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

    /* Show menu */

    .nav-menu.show {
        display: flex;
    }

    /* Mobile links */

    .nav-menu .nav-link {
        width: 100%;

        padding: 13px 15px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        font-size: 16px;
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    /* Remove underline on mobile */

    .nav-menu .nav-link.active::after {
        display: none;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .nav-container {
        padding: 0 10px;
    }

    .logo {
        font-size: 19px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .cart-btn {
        width: 38px;
    }

}

/* =========================
   SHOP HERO
========================= */

.shop-hero {
    height: 560px;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.shop-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.shop-hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 620px;
}

.shop-hero-content > p:first-child {
    color: #5bd38c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.shop-hero-content h1 {
    font-size: 57px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 15px;
}

.shop-hero-content h1 span {
    color: #198754;
}

.hero-line {
    width: 70px;
    height: 3px;
    background: #198754;
    margin-bottom: 18px;
}

.hero-description {
    color: #ddd;
    max-width: 500px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 27px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-btn {
    background: #198754;
    color: #fff;
    text-decoration: none !important;
}

.primary-btn:hover {
    background: #fff;
    color: #198754;
}

.secondary-btn {
    background: #fff;
    color: #111;
    text-decoration: none !important;
}

.secondary-btn:hover {
    background: #198754;
    color: #fff;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    text-align: center;
    padding: 75px 20px 35px;
}

.section-heading p {
    color: #198754;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 35px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading span {
    color: #777;
    font-size: 14px;
}


/* =========================
   CATEGORY
========================= */

.category-section {
    background: #f8faf9;
    padding-bottom: 45px;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.category-btn {
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #333;
    padding: 11px 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: #198754;
    border-color: #198754;
    color: #fff;
}


/* =========================
   COLLECTION
========================= */

.collection-section {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    padding: 75px 0;
}

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
    gap: 20px;
}

.collection-header p {
    color: #198754;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.collection-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 7px;
}

.collection-header span {
    color: #777;
    font-size: 13px;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-box label {
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

.sort-box select {
    border: 1px solid #ddd;
    padding: 10px 14px;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 12px;
}


/* =========================
   PRODUCTS
========================= */

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.shop-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.shop-product-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    left: 13px;
    top: 13px;
    background: #198754;
    color: #fff;
    padding: 5px 9px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
}

.product-badge.sale {
    background: #dc3545;
}

.heart-btn {
    position: absolute;
    right: 13px;
    top: 13px;
    width: 37px;
    height: 37px;
    border: none;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.heart-btn:hover,
.heart-btn.liked {
    color: #e53935;
}

.shop-product-content {
    padding: 19px;
}

.product-category {
    color: #198754;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.shop-product-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 9px;
}

.rating {
    color: #f2b01e;
    font-size: 12px;
    margin-bottom: 17px;
}

.rating span {
    color: #777;
    margin-left: 3px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-bottom strong {
    color: #198754;
    font-size: 16px;
}

.add-cart {
    border: none;
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.add-cart:hover {
    background: #198754;
}


/* =========================
   NO PRODUCTS
========================= */

.no-products {
    display: none;
    text-align: center;
    padding: 70px 20px;
}

.no-products i {
    font-size: 40px;
    color: #198754;
    margin-bottom: 15px;
}

.no-products h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.no-products p {
    color: #777;
}


/* =========================
   LOAD MORE
========================= */

.load-more-wrapper {
    text-align: center;
    margin-top: 45px;
}

.load-more-btn {
    border: 1px solid #198754;
    background: #fff;
    color: #198754;
    padding: 12px 27px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.load-more-btn:hover {
    background: #198754;
    color: #fff;
}


/* =========================
   WHY US
========================= */

.why-section {
    padding: 25px 0 80px;
    background: #f8faf9;
}

.features-grid {
    width: 90%;
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature {
    background: #fff;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 9px;
    transition: 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    background: #e8f5e9;
    color: #198754;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.feature h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature p {
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================
   NEWSLETTER
========================= */

.newsletter {
    background: #111827;
    color: #fff;
    text-align: center;
    padding: 65px 20px;
}

.newsletter-content {
    max-width: 650px;
    margin: auto;
}

.newsletter-content > p {
    color: #5bd38c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.newsletter h2 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.newsletter-content > span {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    max-width: 550px;
    margin: auto;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 14px;
    font-size: 13px;
}

.newsletter-form button {
    border: none;
    background: #198754;
    color: #fff;
    padding: 0 22px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #146c43;
}

#newsletterMessage {
    display: block;
    margin-top: 12px;
    font-size: 12px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #080b11;
    color: #fff;
}

.footer-container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 0 45px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #198754;
}

.brand-column > p {
    color: #999;
    font-size: 13px;
    line-height: 1.7;
    max-width: 270px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-column > a {
    color: #999;
    font-size: 13px;
    margin-bottom: 11px;
    transition: 0.3s;
}

.footer-column > a:hover {
    color: #198754;
    padding-left: 4px;
}

.footer-column > p {
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-column > p i {
    width: 20px;
    color: #198754;
}

.social-links {
    display: flex;
    gap: 9px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: #198754;
    border-color: #198754;
}

.footer-bottom {
    width: 88%;
    max-width: 1200px;
    margin: auto;
    padding: 19px 0;
    border-top: 1px solid #252932;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom span {
    color: #777;
    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .navbar,
    .navbar .container {
        min-height: 65px;
    }

    .nav-link {
        padding: 10px 15px !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-right {
        padding: 12px 15px;
        justify-content: flex-start;
    }

    .shop-hero {
        margin-top: 65px;
        height: 470px;
    }

    .shop-hero-content h1 {
        font-size: 45px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {

    .navbar-brand {
        font-size: 21px;
    }

    .nav-right {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        width: 100%;
    }

    .cart-wrapper {
        padding-left: 5px;
        margin-top: 8px;
    }

    .shop-hero {
        margin-top: 65px;
        height: 470px;
    }

    .shop-hero-content {
        left: 7%;
        right: 7%;
    }

    .shop-hero-content h1 {
        font-size: 35px;
    }

    .shop-hero-content > p:first-child {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .primary-btn,
    .secondary-btn {
        padding: 10px 15px;
        font-size: 10px;
    }

    .section-heading {
        padding: 55px 15px 30px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .category-buttons {
        gap: 8px;
    }

    .category-btn {
        padding: 9px 15px;
        font-size: 10px;
    }

    .collection-section {
        width: 92%;
        padding: 55px 0;
    }

    .collection-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-header h2 {
        font-size: 25px;
    }

    .sort-box {
        width: 100%;
        justify-content: space-between;
    }

    .sort-box select {
        flex: 1;
        max-width: 190px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shop-product-image {
        height: 175px;
    }

    .shop-product-content {
        padding: 12px;
    }

    .shop-product-content h3 {
        font-size: 14px;
    }

    .product-category {
        font-size: 8px;
    }

    .rating {
        font-size: 9px;
        margin-bottom: 12px;
    }

    .product-bottom strong {
        font-size: 13px;
    }

    .add-cart {
        font-size: 9px;
        padding: 7px 8px;
    }

    .heart-btn {
        width: 31px;
        height: 31px;
        top: 8px;
        right: 8px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        font-size: 8px;
    }

    .features-grid {
        width: 92%;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature {
        padding: 22px 10px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .feature h3 {
        font-size: 13px;
    }

    .feature p {
        font-size: 10px;
    }

    .newsletter {
        padding: 50px 15px;
    }

    .newsletter h2 {
        font-size: 27px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 9px;
        background: transparent;
        padding: 0;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        height: 44px;
        border-radius: 4px;
    }

    .footer-container {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
    }

    .footer-bottom {
        width: 90%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .shop-products-grid {
        gap: 8px;
    }

    .shop-product-image {
        height: 150px;
    }

    .shop-product-content {
        padding: 10px;
    }

    .product-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .add-cart {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-column > p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }
}






