* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #133025;
    --secondary-color: #004d00;
    --background-color: #f5f5f5;
    --highlighted: rgb(212, 175, 55);
    --white-color: #fff;
    --text-color: #333;
    --glass-bg: rgba(255,255,255,0.7);
    --border-radius: 8px;
    --transition-speed: 0.3s;

    /*--------------font---Root--------------------------*/

    --heading-font: clamp(1.5rem, 4vw, 3rem);
    --subheading-font: clamp(0.9rem, 2.43vh, 1.82rem);
    --body-font: clamp(0.5rem, 1.47vw, 1.10rem);
    --nav-font-weight: 500;
}

/* ===== HEADER + NAV ===== */
header {
    width: 100%;
    background: var(--background-color);
    border-bottom: 1px solid var(--background-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.desktop_nav_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* logo left, links right */
    padding: 10px 30px;
    width: 100%;
    height: 60px;
    margin: auto;
}

/* ===== LOGO ===== */
.desktop_logo img {
    height: 50px;
    width: auto;
    display: block;
}

.desktop_logo {
    pointer-events: auto;
}

.desktop_logo img {
    transition: none;
    
}


/* ===== NAV LINKS ===== */
.nav_links {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* space between links */
}

.nav_links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: var(--nav-font-weight);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.nav_links a:hover {
    border-bottom: 2px solid var(--primary-color);
    font-size: var(--subheading-font);
}

/* ===== PRODUCTS DROPDOWN ===== */
.product_wraper {
    position: relative;
}

.product_cartaloge {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-color);
    margin-top: 6px;
    padding: 10px 0;
    list-style: none;
    border: 1px solid var(--background-color);
    border-radius: 8px;
    box-shadow: 0 6px 12px var(--text-color);
    min-width: 200px;
    z-index: 200;
}

.product_cartaloge li {
    padding: 10px 18px;
    white-space: nowrap;
    transition: background 0.2s ease-in-out;
}

.product_cartaloge li:hover {
    background: var(--background-color);
    cursor: pointer;
}

/* ===== SEARCH ICON + INPUT ===== */
.search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn  {
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.2s ease-in-out;
    background: transparent;
}

.search-btn:hover {
    color: var(--primary-color);
}

.search-input {
    width: 0;
    opacity: 0;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--background-color);
    outline: none;
    transition: all 0.3s ease-in-out;
    position: absolute;
    right: 0;
    z-index: 10;
    background: white;
}

/* Expand animation stays the same */
.search:hover .search-input,
.search-input:focus {
    width: 200px;
    opacity: 1;
    border-color: var(--primary-color);
}

/* ===== SEARCH POPUP ===== */
.search-popup {
    position: absolute;
    top: 45px; /* directly below input */
    right: 0;
    width: 260px; /* matches input better */
    max-height: 350px;
    background: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    display: none;
    z-index: 9999;
    padding: 10px;
}

/* Show popup when active */
.search-popup.active {
    display: block;
}

/* Keep popup visible while interacting */
.search:hover .search-popup,
.search-popup:hover {
    display: block;
}

/* Results container */
.search-results {
    display: flex;
    flex-direction: column;
}

/* Each result */
.search-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.search-item:last-child {
    border-bottom: none;
}

/* Link styling */
.search-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: 0.2s;
}

.search-item a:hover {
    color: var(--primary-color);
}

/* No results text */
.search-results p {
    font-size: 0.85rem;
    color: #777;
    padding: 10px 0;
}
/* ===== PROFILE & SIGN IN ===== */
.profile a,
.signin a {
    text-decoration: none;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.profile a {
    color: var(--text-color);
}



.signin a {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    background: var(--background-color);
}

.signin a:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--background-color); /* optional border */
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .desktop_nav_wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav_links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .search-input {
        max-width: 180px;
    }
}

footer {
    width: 100%;
    background: var(--background-color);
    border-top: 1px solid var(--background-color);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* logo left, text right */
}

footer a img {
    height: 100px;
    /* adjust size */
    width: auto;
    display: block;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
}




/* ------------------------------------home page css------------------------------------ */
.home_container {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
    margin-top: 60;
}

.home_items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 1s ease;
}

.home_items.active {
    opacity: 1;
    z-index: 1;
}

.home_items img.home_banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home_content {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    max-width: 40%;
    color: var(--background-color);
}

.home_content h1,
.home_content h2 {
    font-size: var(--heading-font);
    margin-bottom: 15px;
}

.home_content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--background-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #0e221b;
}

/* Glass Arrows */
.slider_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 12px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s, transform 0.3s;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;

}

.slider_arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider_arrow.left {
    left: 20px;
}

.slider_arrow.right {
    right: 20px;
}

/* Dots */
/* Dots Navigation */
.slider_dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.slider_dots span {
    width: 14px;
    height: 14px;
    background: rgba(245, 245, 245, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider_dots span.active {
    background: #133025;
    transform: scale(1.2);
}


/*------------------------------------home page css end------------------------------------*/

/*------------------------------------ discover section --------------------------------*/

/* Container */
.discover_container {
    padding: 50px 5%;
    background: var(--background-color);
    text-align: center;
}

/* Heading */
.discover_heading {
    font-size: 2.8rem;
    font-weight: bold;
    color: #133025;
    margin-bottom: 40px;
}

/* Categories Wrapper */
.categories {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-behavior: smooth;
}

/* Custom Green Scrollbar */
.categories::-webkit-scrollbar {
    height: 10px;
}

.categories::-webkit-scrollbar-track {
    background: #e6f2ec;
    border-radius: 6px;
}

.categories::-webkit-scrollbar-thumb {
    background: #133025;
    border-radius: 6px;
}

.categories::-webkit-scrollbar-thumb:hover {
    background: #0f261d;
}

/* Each Category */
.category {
    flex: 0 0 auto;
    width: 180px;
    /* enough space for circle + text */
    text-align: center;
}

/* Circle background */
.category_product_bg {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #95b40bcb;
    /* your green */
    margin: 0 auto;
    /* center horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* prevent image overflow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Product Image inside circle */
.category_product_bg img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Hover effect (optional, looks modern) */
.category_product_bg:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Category text */
.category h3 {
    margin-top: 12px;
    /* spacing between circle and text */
    font-size: 1rem;
    color: #133025;
    font-weight: 600;
}

.view-btn {
  display: inline-block;
  margin-top: 8px;
  background: #0f5132;
  color: var(--background-color);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}
.view-btn:hover {
  background: #094026;
}


/* Responsive tweaks */
@media (max-width: 768px) {
    .categories {
        gap: 20px;
    }

    .category {
        width: 140px;
    }

    .category_product_bg {
        width: 120px;
        height: 120px;
    }

    .category_product_bg img {
        max-width: 80px;
    }

    .category h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .categories {
        gap: 15px;
    }

    .category {
        width: 120px;
    }

    .category_product_bg {
        width: 100px;
        height: 100px;
    }

    .category_product_bg img {
        max-width: 65px;
    }

    .category h3 {
        font-size: 0.85rem;
    }
}




/*------------------------------------discover section end--------------------------------*/

/*----------------------------------============= Arrival Section Full UI Update =============----------------------------------*/

.arrivals {
    padding: 20px 5%;
    background: url("../images/arrivals-bg.jpg") no-repeat center center/cover;
    height: calc(100vh - 60px);
    width: 100%;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/* Heading */
.arrivals_heading {
    font-size: 2.8rem;
    font-weight: bold;
    color: #133025;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

/* Wrapper */
.arrivals_wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
}

/* Scroll Container */
.arrival_items {
    display: flex;
    gap: 25px;
    flex: 1;
    height: 100%;
    align-items: stretch;
    overflow: hidden;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* hide scrollbar in IE and Edge */
    scrollbar-width: none; /* hide scrollbar in Firefox */
}
.arrival_items::-webkit-scrollbar {
    display: none; /* hide scrollbar in Chrome, Safari and Opera */
}

/* Product Card */
.arrival_item {
    flex: 0 0 calc(33.333% - 20px);
    height: 100%;
    background-color: var(--white-color);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.arrival_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Image */
.arrival_item img {
    width: 60%;
    max-height: 60%;
    object-fit: contain;
    margin: 0 auto 10px;
    border-radius: 12px;
}

/* Sticker */
.sticker {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff2a68, #c400c6);
    color: var(--background-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Cart Button */
.cart {
    position: absolute;
    top: 70%;
    right: 15px;
    transform: translateY(-50%);
}

.cart-btn {
    background: #1a7431;
    color: var(--background-color);
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.cart-btn:hover {
    background: #133025;
    transform: scale(1.1);
}

/* Product Info */
.product_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(0,0,0,0.04);
    padding: 10px;
    border-radius: 12px;
}

/* Text */
.product_name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #133025;
}

.product_size {
    font-size: 0.85rem;
    color: var(--text-color);
}

.product_price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a7431;
}

/* View Button */
.view-btn {
    margin-top: auto;
    padding: 10px 18px;
    background: var(--primary-color);
    color: var(--background-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.view-btn:hover {
    background: #1a7431;
    transform: translateY(-2px);
}

/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    height: 50px;
    width: 50px;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow:hover {
    background: var(--background-color);
    transform: translateY(-50%) scale(1.1);
}

.arrow.left { left: -15px; }
.arrow.right { right: -15px; }

/* Responsive */
@media (max-width: 1100px) {
    .arrival_item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 700px) {
    .arrival_item {
        flex: 0 0 100%;
    }
}

/*----------------------------------============= Arrival Section End =============----------------------------------*/


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

.reviews {
    background: #fff;
    padding: 50px 5%;
}

/* TITLE */
.reviews_heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #133025;
    text-align: center;
    margin-bottom: 30px;
}

/* ================= HORIZONTAL REVIEWS ================= */
.reviews_horizontal {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}

.review_card {
    min-width: 260px;
    height: 200px;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 15px;
    flex: 0 0 auto;
}

/* HEADER */
.review_header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review_header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* TEXT */
.review_text {
    font-size: 0.9rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================= GLOBAL FORM ================= */
.global_review_box {
    margin-top: 40px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
}

.star_rating_global {
    font-size: 28px;
    cursor: pointer;
}

.star_rating_global .star {
    color: #ccc;
}

.star_rating_global .star.active {
    color: gold;
}

#global_comment {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#submit_review_btn {
    margin-top: 10px;
    padding: 10px;
    background: #133025;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
/*----------------------------------------------infomation===================================--------------------*/

.info {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    background: #f5f5f5;
    padding: 40px 5%;
    flex-wrap: wrap;
    /* responsive: wrap on small screens */
}

.info_item {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.info_item i {
    font-size: 2.5rem;
    color: #133025;
    /* green */
    margin-bottom: 15px;
}

.info_item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #133025;
    margin-bottom: 8px;
}

.info_item p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.info_item .highligh {
    color: #c400c6;
    /* red-purple for emphasis */
    font-weight: 600;
}

/*----------------------------------------------infomation end===================================--------------------*/

/*----------------------------------------------contact on page ===================================--------------------*/
.sigup-cantainer {
    width: 100%;
    margin: auto;
    background-color: red;
}

.contact_on_page {
    background: var(--primary-color);
    /* solid green */
    color: #fff;
    padding: 40px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    /* full width */
    box-sizing: border-box;
}

.contact_onPage_head {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact_links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.contact_links a {
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact_links a:hover {
    border-bottom: 1px solid #fff;
}

/* Divider lines */
.contact_on_page hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin: 25px 0;
}

/* Sign-up area */
.signup p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.signUp_input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.signUp_btn {
    display: inline-block;
    background: var(--highlighted);
    /* darker green button */
    color: #fff;
    text-align: center;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
button.btn.signUp_btn {
    border: none;
    cursor: pointer;
}

.signUp_btn:hover {
    background: var(--secondary-color);
}

/* Social media */
.social_media {
    margin-top: 25px;
}

.social_icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social_icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.social_icons a:hover {
    background: #fff;
    color: #008000;
}

/* ✅ Responsive */
@media (max-width: 900px) {
    .contact_on_page {
        grid-template-columns: 1fr;
        /* stack into one column */
        gap: 25px;
        text-align: center;
    }

    .contact_links {
        justify-content: center;
    }

    .signUp_btn {
        width: 100%;
        /* full-width button on mobile */
    }

    .social_icons {
        justify-content: center;
    }
}







/*=======================================================================products page css start=======================================================================*/
/*------------------------------------ Section Height ------------------------------------*/
.services {
    min-height: calc(100vh - 60px); /* fills viewport minus header */
    overflow: hidden; /* prevents extra scrollbars */
}

/*------------------------------------ Section Header ------------------------------------*/
.facial_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 5%;
    margin-top: 40px;
}

.facial_header h2 {
    font-size: 2rem;
    color: #133025;
    font-weight: 700;
    margin: 0;
}

.facial-select {
    padding: 10px 14px;
    border: 2px solid #133025;
    border-radius: 8px;
    font-size: 1rem;
    color: #133025;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.facial-select:hover {
    background: #133025;
    color: #fff;
}

/*------------------------------------ Hero Section ------------------------------------*/
.product_hero {
    position: relative;
    width: 100%;
    height: 60vh; /* panoramic height, adjust as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make the image fill the hero */
.hero_image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures panoramic look */
    z-index: 0;
}

/* Gradient overlay */
.product_hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

/* Text overlay */
.hero_text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 20px;
}

.hero_text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero_text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.explore-btn {
    background: #133025;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: #1a7431;
}


/*------------------------------------ Product Section ------------------------------------*/
.products_wrapper {
    margin-top: 70px;
    padding: 0 5%;
    width: 100%;
}

.products_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 products per row */
    gap: 30px;
    width: 100%;
    padding: 20px 0;
}

/* Product Card */
.product {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Product Image */
.product img {
    width: 65%;
    border-radius: 10px;
    margin: 0 auto 12px;
    object-fit: contain;
    max-height: 160px;
}

/* Product Title */
.product h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #133025;
    margin: 8px 0;
    line-height: 1.3;
}

/* Product Description */
.product p {
    font-size: 0.9rem;
    color: #555;
    margin: 6px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product p.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: unset;
}

/* Product Price */
.price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a7431;
    margin-bottom: 8px;
    display: block;
}

/* Add to Cart Button */
.add-to-cart {
    background: transparent;
    border: 2px solid #133025;
    color: #133025;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: #133025;
    color: #fff;
}

.services {
    min-height: calc(100vh - 60px); /* fills viewport minus header */
    overflow: hidden;
}

/*------------------------------------ Responsive Grid ------------------------------------*/
@media (max-width: 900px) {
    .products_container {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}



/*------------------------------------ Section Height ------------------------------------*/







/*=======================================================================products page css end=======================================================================*/

/*------------------------------------ cart page css start ------------------------------------*/
.cart_page {
    position: relative;
    display: inline-block;
}

.cart_page a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    position: relative;
}

.cart_page i {
    font-size: 1.5rem;
}

#cart-count {
    background: red;
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -10px;
}

.cart-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    width: 260px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    padding: 10px;
    z-index: 100;
}

.cart-dropdown.show {
    display: block;
}

.cart-dropdown h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    text-align: center;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.cart-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-info p {
    margin: 0;
    font-size: 0.9rem;
}

.cart-item-info small {
    color: #666;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding-top: 8px;
    text-align: center;
}

.view-cart-btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-cart-btn:hover {
    background: #0056b3;
}

.empty {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    padding: 10px 0;
}


/*------------------- the Cart page ----------------*/
.cart_section {
    padding: 50px 5%;
}

/* Wrap everything in a vertical layout */
.cart_wrapper {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 40px;
}

/* Cart items styling */
.cart_items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Each item block */
.cart_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

/* Product image + title */
.cart_left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart_left img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Quantity & price */
.cart_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart_right input {
    width: 60px;
    padding: 6px;
    text-align: center;
}

/* ---------------- Order Summary ---------------- */
.order_summary {
    border-top: 2px solid #eee;
    padding-top: 25px;
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.order_summary h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.order_summary p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 1rem;
}

.order_summary .total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
}

.order_animation_container {
    text-align: center;
    background: #111;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.3);
}

.delivery_car {
    width: 180px;
    animation: moveCar 5s infinite linear;
}

@keyframes moveCar {
    0% { transform: translateX(-50px); }
    50% { transform: translateX(50px); }
    100% { transform: translateX(-50px); }
}

.order_animation_container .btn {
    background-color: #00ff88;
    color: #000;
    margin-top: 15px;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.order_animation_container .btn:hover {
    background-color: #00cc66;
}



/* ---------------- Checkout Button ---------------- */
.checkout_button {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}

.checkout-btn {
    background: #111;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.checkout-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Warning (Login/Signup) Style */
.checkout-btn.warning {
    background: #ff9800;
    color: #fff;
}

.checkout-btn.warning:hover {
    background: #e68900;
    transform: translateY(-2px);
}


/* ---------------- Responsive ---------------- */
@media (min-width: 900px) {
    .cart_wrapper {
        flex-direction: column; /* Keep summary below even on large screens */
    }
}

@media (max-width: 768px) {
    .cart_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart_right {
        align-items: flex-start;
    }

    .cart_left img {
        width: 80px;
        height: 80px;
    }
}



/*=======================================================
SIGNUP PAGE CSS START
=======================================================*/


.signupauth-container {
    max-width: 420px;
    margin: 50px auto;
    padding: 30px;
    background: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.signupauth-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.signupauth-form .signupauth-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.signupauth-file-label {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.signupauth-btn {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.signupauth-primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: bold;
}

.signupauth-primary-btn:hover {
    background: linear-gradient(135deg, #0f241c, #003300);
}

.signupauth-social-signup {
    margin-top: 20px;
}

.signupauth-social-text {
    margin-bottom: 10px;
    font-size: 14px;
    color: #444;
}

.signupauth-google-btn {
    background: #db4437;
    color: white;
}

.signupauth-facebook-btn {
    background: #4267B2;
    color: white;
}

.signupauth-github-btn {
    background: #333;
    color: white;
}

.signupauth-google-btn:hover { background: #c23321; }
.signupauth-facebook-btn:hover { background: #365899; }
.signupauth-github-btn:hover { background: #000; }

.signupauth-login-link {
    margin-top: 15px;
    font-size: 14px;
}

.signupauth-login-anchor {
    color: var(--secondary-color);
    text-decoration: none;
}

.signupauth-login-anchor:hover {
    text-decoration: underline;
}

.signupauth-messages {
    margin-bottom: 20px;
}

.signupauth-alert {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Error theme */
.signupauth-error {
    background-color: #f8d7da;   /* light red */
    color: #721c24;              /* dark red text */
    border: 1px solid #f5c6cb;
}

/* Success theme using brand colors */
.signupauth-success {
    background-color: var(--secondary-color); /* your green tone */
    color: #ffffff;                           /* white text for contrast */
    border: 1px solid var(--primary-color);
}


/*=======================================================
SIGNUP PAGE CSS END
=======================================================*/







/* =========================
   Mobile nav (non-desktop)
   ========================= */

/* Desktop only */
@media (min-width: 1024px) {
  .desktop_nav_wrapper { display: flex !important; }
  .mobile_nav_wrapper,
  .mobile_offcanvas,
  .mobile_search_results { display: none !important; }
}

/* Tablet & mobile */
@media (max-width: 1023px) {
  .desktop_nav_wrapper { display: none !important; }

  /* Base wrapper */
  .mobile_nav_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    width: 100%;
    height: 60px; /* fixed clean height */
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  /* Logo */
  .mobile_logo { flex: 0 0 auto; }
  .mobile_logo img { height: 40px; display: block; }

  /* Search */
  .mobile_search_wrap {
    flex: 1 1 auto;
    max-width: 520px;
    margin: 0 12px;
    display: flex;
    align-items: center;
  }
  .mobile_search_wrap input[type="search"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    height: 40px;
  }
  .mobile_search_btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #1b5e20;
    cursor: pointer;
    margin-left: 6px;
  }
  .mobile_search_close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #d32f2f;
    cursor: pointer;
    margin-left: 6px;
    display: none;
  }

  /* Cart */
  .mobile_cart {
    flex: 0 0 auto;
    margin-right: 8px;
    display: flex;
    align-items: center;
  }
  .mobile_cart a {
    text-decoration: none;
    color: #1b5e20;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
  }
  .mobile_cart i { margin-right: 4px; }
  #cart-count-mobile {
    background: #1b5e20;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    margin-left: 2px;
  }

 /* Profile / Sign in */
.mobile_profile,
.mobile_signin {
  flex: 0 0 auto;
  margin-right: 8px;
}

  .mobile_profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
  box-sizing: border-box;
}

  .mobile_profile img.profile-img-profile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* keeps the face in frame */
  display: block;
  border-radius: 50%;
}

  .mobile_signin {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #1b5e20;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
}

  /* Hamburger */
  .hamburger {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px; height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;

  }
  .hamburger-bar {
    height: 2px;
    background: #1b5e20;
    width: 22px;
    border-radius: 2px;
  }

  /* Offcanvas Base */
.mobile_offcanvas {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999; /* Ensure it's above everything */
}

.mobile_offcanvas.open { left: 0; }

.offcanvas_inner {
    padding: 24px 16px;
    height: 100%;
    overflow-y: auto;
}

.offcanvas_close {
    background: #f4f4f4;
    border: none;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    cursor: pointer;
    margin-bottom: 10px;
}

/* Nav Sections */
.nav_section {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav_heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 12px;
}

.offcanvas_nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.offcanvas_nav a i {
    width: 20px; /* Fixed width for icon alignment */
    font-size: 18px;
    color: #133025; 
}

.offcanvas_nav a:hover {
    background: #f8fff9;
    color: #00b859;
}

/* Cart Badge */
.cart_badge {
    background: #00b859;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto; /* Pushes badge to the far right */
}

  /* Search results under nav */
  .mobile_search_results {
    position: absolute;
    top: 60px; /* directly below nav */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index:1;
    padding: 10px;
  }
  .mobile_search_results .search-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
  }
  .mobile_search_results .search-item a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
  }
}

/* Small phones */
@media (max-width: 767px) {
  .mobile_logo img { height: 36px; }
  .mobile_profile { width: 34px; height: 34px; } /* Update wrapper dimension alongside image */
  .mobile_profile img.profile-img { width: 100%; height: 100%; }
  .mobile_search_wrap input[type="search"] {
    font-size: 1rem;
    padding: 7px 8px;
    height: 36px;
  }
}



/* =========================
   Mobile + Tablet UI
   ========================= */
@media (max-width: 1023px) {
  /* Hero Section */
  .home_container {
    position: relative;
    width: 100%;
    height: 60vh; /* smaller hero height */
    margin-top: 5px;
    overflow: hidden;
  }
  .home_items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .home_items img.home_banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home_content {
    position: absolute;
    top: 50%;
    right: 5%; /* always right-aligned */
    transform: translateY(-50%);
    max-width: 70%;
    text-align: right;
    color: #fff;
  }
  .home_content h1,
  .home_content h2 {
    font-size: 1.4rem; /* smaller heading */
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .home_content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 4px;
  }

  /* Hero Arrows */
  .slider_arrow {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    padding: 6px;
    backdrop-filter: blur(6px);
  }
  .slider_arrow.left { left: 8px; }
  .slider_arrow.right { right: 8px; }

  /* Hero Dots */
  .slider_dots {
    bottom: 12px;
    gap: 6px;
  }
  .slider_dots span {
    width: 8px;
    height: 8px;
  }

  /* Categories */
  .categories {
    gap: 14px;
    padding: 0 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .category {
    flex: 0 0 auto;
    width: 110px;
    scroll-snap-align: start;
  }
  .discover_heading {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
  }
  .category_product_bg {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border: 1px solid var(--secondary-color)
  }
  .category h3 {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 600;
  }
  .view-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
  }

  /* Arrivals Section */
  .arrivals {
    height: auto;
    padding: 20px 5%;
  }
  .arrivals_heading {
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-align: center;
  }
  .arrival_items {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px;
  }
  .arrival_item {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
  }
  .arrival_item img {
    width: 90%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 6px;
  }
  .product_info {
    text-align: center;
    padding: 4px;
  }
  .product_name { font-size: 0.9rem; font-weight: 700; }
  .product_price { font-size: 0.85rem; font-weight: 600; color: #1a7431; }

  /* Stories */
  .stories_heading {
    font-size: 1.2rem;
  }
  .story_item img {
    max-width: 70px;
    max-height: 70px;
  }
  .story_title {
    font-size: 0.85rem;
    font-weight: 600;
  }
}

/* Small phones refinement */
@media (max-width: 480px) {
  .home_content h1,
  .home_content h2 {
    font-size: 1.2rem;
  }
  .arrival_item {
    flex: 0 0 calc(50% - 8px);
  }
  .arrival_item img {
    max-height: 100px;
  }
}


/*=======================================================================products page css start=======================================================================*/

/* Default desktop styles remain as you already have them above */

/*------------------------------------ Mobile Friendly Styles ------------------------------------*/
/*=======================================================================products page css start=======================================================================*/

@media (max-width: 768px) {
    /* Hero Section */
    .product_hero {
        height: 30vh; /* smaller rectangular hero */
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start; /* push content to the left */
        padding-left: 5%; /* spacing from edge */
    }

    .hero_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    /* Gradient overlay for readability */
    .product_hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
        z-index: 1;
    }

    .hero_text {
        position: relative;
        z-index: 2;
        text-align: left; /* text aligned left */
        color: #fff;
        max-width: 70%;
    }

    .hero_text h1 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .hero_text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .explore-btn {
        padding: 8px 18px;
        border-radius: 18px;
    }

    /* Product Section */
    .products_wrapper {
        margin-top: 30px;
        padding: 0 4%;
    }

    .products_container {
        grid-template-columns: repeat(2, 1fr); /* keep side by side */
        gap: 15px;
    }

    .product {
        min-height: 240px;
        padding: 12px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product img {
        width: 80%;
        max-height: 100px;
        margin-bottom: 8px;
        object-fit: contain;
    }

    .product h3 {
        font-size: 0.95rem;
        margin: 5px 0;
    }

    .product p {
        font-size: 0.8rem;
        margin: 4px 0 6px;
        -webkit-line-clamp: 2;
    }

    .price {
        font-size: 0.9rem;
        margin: 5px 0;
        color: #1a7431;
        font-weight: 700;
    }

    .add-to-cart {
        padding: 5px 12px;
        font-size: 0.85rem;
        border-radius: 18px;
    }

    /* Section Header */
    .facial_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin: 15px 0;
    }

    .facial_header h2 {
        font-size: 1.4rem;
    }

    .facial-select {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/*=======================================================================products page css end=======================================================================*/
