/* =========================================================
   GOOGLE FONT
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body{
    background-color:#F8EEDC;
    font-family:Georgia, serif;
}

img {
    max-width: 100%;
}

button,
input,
select {
    font-family: inherit;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav{
    width:100%;
    background:#E6D3B1;
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 40px;      /* Increased height */

    border-bottom:2px solid #D4B483;
    box-shadow:0 3px 12px rgba(139,46,46,.12);
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:50px;
    height:50px;
    object-fit:contain;
}

.logo h2{
    font-size:28px;
    font-weight:700;
    color:#8B2E2E;
}


nav h2{
    color:#8B2E2E;
    margin-left:10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}


nav ul li a{
    color:#8B2E2E;
    text-decoration:none;
    font-size:22px;      /* Increased from 18px */
    font-weight:600;
    padding:10px 8px;   /* More clickable area */
    transition:all 0.3s ease;
}

nav ul li a:hover{
    color:#B03A2E;
}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.nav-links{

    display:flex;

    gap:35px;

    list-style:none;

}

/* =========================================================
   WISHLIST BUTTON
========================================================= */

.wishlist-btn {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 10;

    width: 44px;
    height: 44px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);

    color: #8B2E2E;

    font-size: 21px;

    cursor: pointer;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.wishlist-btn:hover {
    transform: scale(1.12);
}

.wishlist-btn.active {
    color: #E63946;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    text-align: center;

    padding: 95px 20px 85px;

    background: linear-gradient(
        180deg,
        #FFF4E8 0%,
        #FFF8F0 100%
    );
}

.tag {
    display: inline-block;

    padding: 9px 20px;

    border-radius: 50px;

    background: #FFFFFF;

    color: #8B2E2E;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.hero h1 {
    margin-top: 25px;

    color: #8B2E2E;

    font-size: 52px;
    line-height: 1.2;

    font-weight: 700;
}

.hero p {
    max-width: 720px;

    margin: 20px auto 0;

    color: #666;

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    width: 90%;
    max-width: 1250px;

    margin: 45px auto 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.breadcrumb {
    color: #777;
    font-size: 14px;
}

.breadcrumb a {
    color: #8B2E2E;
    text-decoration: none;
    font-weight: 500;
}

.count {
    background: #8B2E2E;
    color: #FFFFFF;

    padding: 10px 20px;

    border-radius: 40px;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   SEARCH / FILTER
========================================================= */

.filter-box {
    width: 90%;
    max-width: 1250px;

    margin: 0 auto 45px;

    display: flex;
    align-items: center;

    gap: 18px;
}

.search {
    flex: 1;

    height: 56px;

    display: flex;
    align-items: center;

    background: #FFFFFF;

    border: 2px solid #8B2E2E;

    border-radius: 50px;

    padding: 0 20px;

    transition: 0.3s ease;
}

.search:focus-within {
    box-shadow: 0 0 0 4px rgba(139, 46, 46, 0.08);
}

.search input {
    width: 100%;

    border: none;
    outline: none;

    margin-left: 12px;

    background: transparent;

    color: #333;

    font-size: 15px;
}

.search input::placeholder {
    color: #999;
}

#sortPrice {
    width: 190px;
    height: 56px;

    padding: 0 18px;

    background: #FFFFFF;

    border: 2px solid #8B2E2E;

    border-radius: 50px;

    color: #555;

    font-size: 14px;

    outline: none;

    cursor: pointer;
}


/* =========================================================
   PRODUCTS SECTION
========================================================= */

.products {
    width: 90%;
    max-width: 1250px;

    margin: 0 auto 90px;
}

.product-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 32px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    background: #FFFFFF;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    min-width: 0;
}

.product-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 18px 38px rgba(139, 46, 46, 0.16);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-card img {
    display: block;

    width: 100%;

    height: 350px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}


/* =========================================================
   BADGE
========================================================= */

.badge {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 10;

    background: #8B2E2E;
    color: #FFFFFF;

    padding: 7px 13px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 600;

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}



/* =========================================================
   PRODUCT TITLE
========================================================= */

.product-card h3 {
    color: #8B2E2E;

    font-size: 21px;

    margin: 18px 20px 8px;

    line-height: 1.35;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.product-card p {
    color: #666;

    font-size: 14px;

    line-height: 1.65;

    margin: 0 20px;

    min-height: 67px;
}


/* =========================================================
   PRODUCT PRICE
========================================================= */

.product-card h2 {
    color: #8B2E2E;

    font-size: 26px;

    margin: 15px 20px;

    line-height: 1.2;
}


/* =========================================================
   PRODUCT BUTTON
========================================================= */

.product-card a {
    display: block;

    margin: 0 20px 20px;

    padding: 12px 18px;

    background: #8B2E2E;
    color: #FFFFFF;

    text-align: center;

    text-decoration: none;

    border-radius: 40px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.product-card a:hover {
    background: #A73D3D;

    transform: translateY(-2px);
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-us {
    background: #FFF4EA;

    padding: 85px 8%;

    text-align: center;
}

.why-us h2 {
    color: #8B2E2E;

    font-size: 36px;

    margin-bottom: 45px;
}

.why-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.why-card {
    background: #FFFFFF;

    min-height: 210px;

    padding: 32px 24px;

    border-radius: 18px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);

    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 14px 28px rgba(139, 46, 46, 0.12);
}

.why-card i {
    display: block;

    color: #8B2E2E;

    font-size: 38px;

    margin-bottom: 17px;
}

.why-card h3 {
    color: #8B2E2E;

    font-size: 18px;

    margin-bottom: 10px;
}

.why-card p {
    color: #666;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   BUNDLE OFFERS
========================================================= */

.offers {
    padding: 85px 8%;

    text-align: center;

    background: #FFF8F0;
}

.offers h2 {
    color: #8B2E2E;

    font-size: 36px;

    margin-bottom: 45px;
}

.offer-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.offer-card {
    position: relative;

    background: #FFFFFF;

    min-height: 210px;

    padding: 38px 30px;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);

    transition: 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 30px rgba(139, 46, 46, 0.12);
}

.offer-card h3 {
    color: #8B2E2E;

    font-size: 22px;
}

.offer-card h1 {
    color: #8B2E2E;

    margin-top: 20px;

    font-size: 28px;
}

.popular {
    position: absolute;

    top: 15px;
    right: 15px;

    background: #FFB703;

    color: #5B3A00;

    padding: 6px 12px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   HOW TO ORDER
========================================================= */

.steps {
    padding: 85px 8%;

    background: #FFF4EA;

    text-align: center;
}

.steps h2 {
    color: #8B2E2E;

    margin-bottom: 45px;

    font-size: 36px;
}

.step-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.step {
    background: #FFFFFF;

    padding: 32px 22px;

    min-height: 190px;

    border-radius: 18px;

    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.06);
}

.number {
    width: 55px;
    height: 55px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #8B2E2E;
    color: #FFFFFF;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    font-weight: 600;
}

.step h3 {
    color: #8B2E2E;

    margin-bottom: 8px;

    font-size: 17px;
}

.step p {
    color: #666;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   REVIEWS
========================================================= */

.reviews {
    padding: 85px 8%;

    text-align: center;

    background: #FFF8F0;
}

.reviews h2 {
    color: #8B2E2E;

    margin-bottom: 45px;

    font-size: 36px;
}

.review-container {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.review-card {
    background: #FFFFFF;

    min-height: 190px;

    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.review-card p {
    color: #666;

    line-height: 1.7;

    font-size: 14px;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    padding: 80px 8%;
    background: #FFF8EF;
}

.faq h2 {
    text-align: center;
    color: #8B2E2E;
    margin-bottom: 40px;
    font-size: 36px;
}

.faq details {
    max-width: 1000px;
    margin: 0 auto 15px;

    padding: 18px 22px;

    background: #8B2E2E;

    border-radius: 10px;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    color: white;

    transition: 0.3s;
}

.faq details:hover {
    background: #A73D3D;
}

.faq summary {
    color: white;

    font-weight: 600;
    font-size: 15px;

    cursor: pointer;
}

.faq details p {
    margin-top: 14px;

    background: #FFFFFF;
    color: #666;

    font-size: 14px;
    line-height: 1.7;

    padding: 14px 16px;

    border-radius: 8px;
}



/* =========================================================
   CTA
========================================================= */

.cta {
    text-align: center;

    padding: 90px 20px;

    background: #FFF8F0;
}

.cta h2 {
    color: #8B2E2E;

    font-size: 42px;
}

.cta p {
    color: #666;

    margin: 18px 0 28px;

    font-size: 16px;
}

.order-btn {
    display: inline-block;

    padding: 15px 40px;

    background: #8B2E2E;
    color: #FFFFFF;

    text-decoration: none;

    border-radius: 40px;

    font-weight: 600;

    transition: 0.3s ease;
}

.order-btn:hover {
    background: #A73D3D;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #8B2E2E;

    color: #FFFFFF;

    text-align: center;

    padding: 50px 20px;
}

footer h2 {
    margin-bottom: 15px;

    font-size: 24px;
}

footer p {
    opacity: 0.9;

    margin-top: 10px;

    font-size: 14px;
}


/* =========================================================
   TOAST MESSAGE
========================================================= */

#toast {
    position: fixed;

    top: 25px;
    right: 25px;

    z-index: 9999;

    max-width: 320px;

    background: #8B2E2E;

    color: #FFFFFF;

    padding: 14px 22px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 500;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-20px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

#toast.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    nav {
        padding: 12px 5%;
    }

    nav ul {
        gap: 20px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 700px) {

    nav {
        min-height: auto;

        flex-direction: column;

        gap: 12px;

        padding: 15px 5%;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

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

    nav ul {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    nav a {
        font-size: 13px;
    }


    /* Hero */

    .hero {
        padding: 70px 20px 60px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 15px;
    }


    /* Top bar */

    .top-bar {
        flex-direction: column;

        text-align: center;

        margin-top: 35px;
    }


    /* Search */

    .filter-box {
        flex-direction: column;

        width: 90%;

        gap: 12px;
    }

    .search {
        width: 100%;
    }

    #sortPrice {
        width: 100%;
    }


    /* Products */

    .products {
        width: 90%;
    }

    .product-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .product-card img {
        height: 350px;
    }

    .product-card h3 {
        font-size: 21px;
    }

    .product-card p {
        font-size: 14px;
    }


    /* Sections */

    .why-us,
    .offers,
    .steps,
    .reviews,
    .faq {
        padding: 65px 6%;
    }

    .why-us h2,
    .offers h2,
    .steps h2,
    .reviews h2,
    .faq h2 {
        font-size: 29px;
    }


    /* Why */

    .why-grid {
        grid-template-columns: 1fr;
    }


    /* Offers */

    .offer-grid {
        grid-template-columns: 1fr;
    }


    /* Steps */

    .step-grid {
        grid-template-columns: 1fr;
    }


    /* Reviews */

    .review-container {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta {
        padding: 70px 20px;
    }

    .cta h2 {
        font-size: 32px;
    }


    /* Toast */

    #toast {
        left: 20px;
        right: 20px;

        top: 20px;

        max-width: none;

        text-align: center;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 29px;
    }

    .product-card img {
        height: 300px;
    }

    .product-card h2 {
        font-size: 24px;
    }

    .product-card a {
        font-size: 12px;
    }
}

/* ===========================
   Navbar Wishlist + Cart
=========================== */

.nav-icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-icon {
    color: #8B2E2E;
    text-decoration: none;
    font-size: 24px;
    transition: .3s;
}

.nav-icon:hover {
    color: #A63D3D;
    transform: scale(1.15);
}


/* ===========================
   Cart Number
=========================== */

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

#cartCount {
    position: absolute;

    top: -8px;
    right: -10px;

    width: 18px;
    height: 18px;

    background: #8B2E2E;
    color: white;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 11px;
    font-weight: bold;
}