@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --pink-main: #e8a8b8;
    --pink-light: #fff1f4;
    --pink-soft: #fce3e9;
    --pink-dark: #b96f82;
    --text-dark: #4b3b3f;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #fffafb;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Playfair Display', serif;
}

/* ================= NAVBAR ================= */

.top-bar {
    background: var(--pink-dark);
    color: white;
    text-align: center;
    font-size: 13px;
    padding: 7px;
}

.main-navbar {
    background: white;
    border-bottom: 1px solid #f1d9df;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: var(--pink-dark) !important;
    letter-spacing: 1px;
}

.logo span {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    text-align: center;
}

.navbar-nav .nav-link {
    color: #59474b;
    font-size: 14px;
    font-weight: 500;
    margin: 0 7px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--pink-dark);
}

.search-box {
    border: 1px solid #ead4d9;
    border-radius: 30px;
    padding: 8px 15px;
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 150px;
}

.nav-icon {
    color: #59474b;
    font-size: 18px;
    margin-left: 15px;
    text-decoration: none;
}

.nav-icon:hover {
    color: var(--pink-dark);
}

/* ================= BANNER ================= */

.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 450px;
}

.hero-content h1 {
    font-size: 55px;
    color: #805260;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.8;
}

.btn-pink {
    background-color: var(--pink-dark);
    color: white;
    border-radius: 30px;
    padding: 11px 28px;
    border: none;
    transition: 0.3s;
}

.btn-pink:hover {
    background-color: #99586c;
    color: white;
}

/* ================= SECTION ================= */

.section-title {
    text-align: center;
    margin: 60px 0 35px;
}

.section-title h2 {
    font-size: 35px;
    color: #815461;
}

.section-title p {
    color: #9a858a;
}

/* ================= CATEGORY ================= */

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-name {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    padding: 10px 25px;
    border-radius: 30px;
    color: #805260;
    font-weight: 600;
    white-space: nowrap;
}

/* ================= PRODUCT ================= */

.product-card {
    background: white;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(150, 90, 105, 0.12);
}

.product-img {
    height: 270px;
    width: 100%;
    object-fit: cover;
    background: #fff3f5;
}

.product-body {
    padding: 18px;
}

.product-name {
    font-size: 15px;
    font-weight: 500;
    min-height: 45px;
}

.product-price {
    color: var(--pink-dark);
    font-size: 17px;
    font-weight: 600;
}

.btn-cart {
    width: 100%;
    border: 1px solid var(--pink-main);
    color: var(--pink-dark);
    background: white;
    border-radius: 25px;
    padding: 8px;
    transition: 0.3s;
}

.btn-cart:hover {
    background: var(--pink-dark);
    color: white;
}

/* ================= PRODUCT PAGE ================= */

.page-banner {
    background: var(--pink-light);
    padding: 55px 0;
    text-align: center;
}

.page-banner h1 {
    color: #805260;
    font-size: 42px;
}

.breadcrumb {
    justify-content: center;
}

/* ================= INFO ================= */

.info-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 25px rgba(100,50,60,0.06);
}

.info-icon {
    font-size: 30px;
    color: var(--pink-dark);
    margin-bottom: 15px;
}

/* ================= FOOTER ================= */

footer {
    background: #f8e8ec;
    margin-top: 70px;
    padding: 50px 0 20px;
}

footer h5 {
    color: #805260;
    margin-bottom: 20px;
}

footer p,
footer a {
    color: #715d62;
    font-size: 14px;
    text-decoration: none;
    line-height: 2;
}

footer a:hover {
    color: var(--pink-dark);
}

.footer-bottom {
    border-top: 1px solid #e6cbd2;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hero {
        height: 400px;
    }

    .hero-content {
        left: 7%;
        max-width: 320px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .search-box {
        display: none;
    }

    .logo {
        font-size: 25px;
    }

    .product-img {
        height: 230px;
    }
}