/* =========================================
   Global Styles
   ========================================= */
body {
    background-color: floralwhite;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333333;
}
#products {
    background-color: floralwhite;
    scroll-margin-top: 100px;
    padding-top: 100px; 
}


/* =========================================
   Navbar
   ========================================= */
.navbar {
    height: 80px;
    z-index: 1030;
    background-color: floralwhite;
}
.navbar-brand {
    color: #a55166;
}
.ic {
    color: #a55166;
    position: absolute;
    right: 75px;
    top: 42px;
    transform: translateY(-50%);
    font-size: 20px;
}


#cart-panel {
    position: fixed;
    top: 80px;
    right: -350px;
    width: 350px;
    height: calc(100vh - 80px);
    transition: right .3s ease;
    z-index: 1035;
    overflow-y: auto;
    background-color: floralwhite;
    color: #a55166;
}
    #cart-panel.open {
        right: 0;
    }

#search-results {
    position: absolute;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    z-index: 9999;
    display: none;
}

.search-item {
    padding: 12px;
    cursor: pointer;
}

    .search-item:hover {
        background: #f8f8f8;
    }
/* =========================================
   Sidebar
   ========================================= */
.sidebar {
    position: fixed;
    top: 80px;
    right: -220px;
    transition: right 0.3s ease;
    width: 220px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 1020;
    background-color: floralwhite;
}
.nav-link {
    color: #a55166;
}
.main-btn {
    position: fixed;
    top: 0;
    right: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    font-size: 28px;
    cursor: pointer;
    color: #a55166;
    background: transparent;
}
    .main-btn:hover ~ .sidebar,
    .sidebar:hover {
        right: 0;
    }
.sidebar .nav-link {
  border-radius: 12px;
  padding: 10px 14px;
  transition: background-color 0.2s ease;
}

.sidebar .nav-link:hover {
  background-color: #f1f1f1;
}

/* =========================================
   Main Content
   ========================================= */
.main-content {
    margin-left: 2px;
    margin-top: 80px;
    padding: 0px;
    z-index: 1020
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background-image: url('../images/main.jpeg');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 60px);
    padding: 40px;
    position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: inherit;
}

.hero > div {
  position: relative;
  z-index: 1;
}
.mb-4 {
    color: #a55166;
    font:bold;
    margin-bottom:20px;
}
.row.g-4 {
    margin-top: 20px;
    margin-bottom: 40px;
}
/* =========================================
   Cards
   ========================================= */
.card {
    background-color: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0 !important;
    width: 100%;
    margin: auto;
}
.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-bottom: 10px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.card-img-top {
    height: 160px;
    object-fit: cover;
    background-color: #e9ecef;
    border-radius: 0 !important;
}
.card .btn {
    width: 100%;
    background-color: #a55166;
    color: floralwhite;
    border: none;
    margin-top: auto;
    margin-bottom: 0;
}
.sale-section {
    min-height: 100vh;
    background: #faafb2; 
    padding: 80px 50px;
    margin-bottom:40px;
}
.sale-card {
    max-width: 500px;
    margin: auto;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

    .sale-card .card-img-top {
        height: 280px;
    }

.sale-content {
    padding: 40px;
}
sale-content h4 {
color: #a55166;
letter-spacing: 3px;
font-weight: 600;
}

.sale-content h1 {
font-size: 70px;
font-weight: 800;
margin: 20px 0;
}
.sale-content h2 {
font-size: 42px;
font-weight: 700;
}
.sale-content span {
color: #a55166;
}

.sale-content p {
max-width: 400px;
margin: 30px 0;
font-size: 18px;
color: #555;
}

.sale-btn {
    background: #a55166;
    color: floralwhite;
    padding: 15px 45px;
    border: none;
    border-radius: 8px;
}

.sale-btn:hover {
background: #8d4458;
 color: white;
}

.sale-img {
    max-height: 400px;
    object-fit: contain;
}
#carouselExampleCaptions {
    max-width: 900px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}

.carousel-item {
    height: 450px;
}
.carousel-item img {
height: 100%;
width: 100%;
object-fit: cover;
}
.carousel-link {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

    .carousel-link:hover {
        text-decoration: underline;
    }

.reviews-section {
    background: #fff7f5;
}

.review-stack {
    position: relative;
    width: 360px;
    height: 320px;
    margin: auto;
}

.review-card {
    position: absolute;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    transition: .3s;
    cursor: pointer;
}

    .review-card:nth-child(1) {
        top: 0;
        z-index: 3;
    }

    .review-card:nth-child(2) {
        top: 18px;
        left: 18px;
        z-index: 2;
    }

    .review-card:nth-child(3) {
        top: 36px;
        left: 36px;
        z-index: 1;
    }

.review-stack:hover .review-card:nth-child(1) {
    transform: translateY(-10px);
}

.review-card:hover {
    transform: translate(-10px,-10px) scale(1.02);
    z-index: 10;
}



/* Contact Section */
.contact-section {
    background: #fff7f5;
    padding: 80px 20px;
}

.contact-form {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 45px;
    border-radius: 20px;
}

    .contact-form h2 {
        color: #a55166;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .contact-form p {
        color: #777;
        margin-bottom: 30px;
    }

    .contact-form .form-label {
        color: #a55166;
        font-weight: 600;
    }

    .contact-form .form-control {
        border: 1px solid #f0c4cf;
        border-radius: 12px;
        padding: 12px;
        box-shadow: none;
    }

        .contact-form .form-control:focus {
            border-color: #a55166;
            box-shadow: 0 0 0 .2rem rgba(165,81,102,.2);
        }

.contact-btn {
    width: 100%;
    background: #a55166;
    color: floralwhite;
    padding: 14px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: .3s;
}

    .contact-btn:hover {
        background: #8f4357;
        color: white;
    }
/* =========================================
   Footer
   ========================================= */
footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
  .sidebar {
    width: 70px;
  }

  .main-content {
    margin-left: 70px;
  }

  .sidebar .nav-link span {
    display: none;
  }

  .hero {
    height: 320px;
  }
}
#lipproducts {
    margin-top: 20px;
}
.sale-card {
    max-width: 500px; 
    margin: auto;
    margin-top:20px !important;
    margin-bottom: 20px !important;
}
    .sale-card .card-img-top {
        height: 280px;
    }
.sidetitle {
    margin-left: 50px;
    color: #a55166;
}
.cart-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

    .cart-product img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 10px;
    }

.cart-info {
    flex: 1;
}

    .cart-info h5 {
        margin: 0;
        font-size: 18px;
    }

    .cart-info p {
        margin: 5px 0;
    }

.remove-btn {
    border: none;
    background: #d9534f;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}