:root {
    /* Colors */
    --primary: #d63384;
    --accent: #f6e9d7;
    /* --bg-light-: #fff5f8; */
    --bg-light: #fff0f5;
    --text-dark: #333333;
    --text-light: #666666;

    /* Font Sizes */
    --fs-h1: clamp(2.5rem, 5vw, 4rem);
    --fs-h2: 2rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Spacing */
    --section-padding: 60px 20px;

    /* Radius & Shadow */
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: var(--fs-body);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 12px 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.btn:hover {
    background: #c2185b;
}

.card {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/********************************************** navbar styling ***************************************************/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;

}

.navbar.scrolled {
    background: var(--bg-light);
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.wrapper1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.navbar .logo-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text img {
    width: 50px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.nav-links a.active::before {
    width: 100%;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 12px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.nav-links a.active::before {
    width: 100%;
}

/****************************************** navbar sidebar in mobile styling ******************************************/
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-sidebar {
    display: none;
}

/********************************************  ********************************************/
.explore-section {
    padding: var(--section-padding);
}

.product-category {
    margin-top: 60px;
    text-align: center;
}

.section-title {
    font-size: var(--fs-h2);
    text-align: center;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.product-card-img {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.product-card p {
    color: #555;
    font-size: 0.95rem;
}

/* forwiuyriuehiureiwughrigehfguguhguyegwrufugi */

.styled-product-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
    cursor: pointer;
}

.styled-product-card:hover {
    transform: translateY(-5px);
}

.offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #28a745;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.product-img-box {
    width: 100%;
    height: 220px;
    /* 👈 fixed height */
    overflow: hidden;
    border-radius: 10px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 This keeps image proportion and fills box */
}

.product-info .brand {
    font-size: 0.8rem;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-info .product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.price-wrap {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.price-new {
    color: crimson;
    font-size: 1rem;
    font-weight: bold;
}

.price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9rem;
}


/************************************ modal styling ***************************************/

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.active {
    display: flex;
    /* 🔥 Ye zaroor hona chahiye */
}


.modal-content {
    background: #fff;
    padding: 30px 25px;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fadeIn 0.3s ease;
}

.close-btn {
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: start;
}

.modal-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    /* 🟢 image ke niche gap */
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 12px;
    /* 🟢 each line ke beech gap */
    color: #444;
}

.modal-content strong {
    font-weight: 600;
    display: inline-block;
    margin-right: 5px;
}

.modal-content .btn {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 10px;
}

#whatsappOrderBtn {
  background: #25D366;
  color: white;
  padding: 12px 20px;
  margin-top: 15px;
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}
#whatsappOrderBtn:hover {
  background: #1da851;
}




@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/************************************ footer styling **************************************/

footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 20px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.footer-brand h2 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 15px;
}

.social-icons a {
    color: #ccc;
    margin-right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ff8ba7;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ff8ba7;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin-top: 40px;
}


/******************************************* responsive *****************************************/

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .navbar-links {
        display: none;
    }

    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100%;
        background-color: #111;
        padding-top: 60px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .mobile-sidebar.active {
        left: 0;
    }

    .mobile-sidebar ul {
        list-style: none;
        padding: 0;
        text-align: left;
    }

    .mobile-sidebar li {
        margin: 20px;
    }

    .mobile-sidebar a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }

    .product-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

}