:root {
    --primary-orange: #00C4B4; /* changed from orange to turquoise */
    --primary-dark: #0D0D0D; /* updated to deep black */
    --secondary-blue: #0F3D3E; /* dark teal tone */
    --accent-yellow: #F45CBA; /* pink-purple accent from logo */
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --success: #28A745;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.top-bar {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
}

.navbar-logo {
    height: 90px; 
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); 
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.08);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
}

.cart-btn {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    position: relative;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hide mobile-specific auth items on desktop by default */
.mobile-menu-auth-item {
    display: none;
}

/* Styling for buttons within nav-actions (desktop) */
.nav-actions .btn {
    padding: 0.7rem 1.5rem; /* Match cart-btn padding */
    font-size: 0.95rem; /* Slightly smaller font for navbar */
    font-weight: 600; /* Match cart-btn font-weight */
    box-shadow: none; /* Remove heavy shadow for navbar buttons */
}

.nav-actions .btn-primary:hover {
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3); /* Lighter shadow on hover */
}

.nav-actions .btn-secondary {
    border: 1px solid var(--primary-dark); /* Add a subtle border for secondary in navbar */
}

.nav-actions .btn-secondary:hover {
    background: var(--primary-dark); /* Darker background on hover */
    color: var(--white); /* White text on hover */
    border-color: var(--primary-dark);
}

.nav-actions .btn-secondary:hover {
    background: var(--primary-dark); /* Darker background on hover */
    color: var(--white); /* White text on hover */
    border-color: var(--primary-dark);
}

.location-selector .form-select {
    border-radius: 50px;
    border: 1px solid var(--primary-orange);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--white);
    color: var(--primary-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='292.4' height='292.4'><path fill='%2300C4B4' d='M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 128c3.6 3.6 7.8 5.4 12.9 5.4s9.3-1.8 12.9-5.4l128-128c3.6-3.6 5.4-7.8 5.4-12.9 0-5-1.8-9.3-5.4-12.9z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.6em;
    padding-right: 2rem;
    transition: all 0.3s ease;
}

.location-selector .form-select:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 0.25rem rgba(244, 92, 186, 0.25);
    outline: none;
}

.location-selector option[value="other"] {
    font-style: italic;
    color: #888;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-dark) 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="200" cy="100" r="80" fill="rgba(255,107,53,0.1)"/><circle cx="800" cy="400" r="120" fill="rgba(255,184,0,0.1)"/><circle cx="1000" cy="200" r="60" fill="rgba(255,107,53,0.1)"/></svg>');
    background-size: cover;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content .highlight {
    color: var(--primary-orange);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark); /* Add a border to make it visible */
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--primary-orange); /* Change border color on hover */
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Section */
.carousel-section {
    padding: 0 0 5rem 0; /* Adjust padding to separate from next section */
    max-width: 1400px;
    margin: 0 auto;
}

#homeCarousel .carousel-item img {
    max-height: 500px; /* Limit carousel image height */
    object-fit: cover; /* Cover the area, cropping if necessary */
    border-radius: 20px;
    filter: brightness(0.7); /* Darken images slightly for better text contrast */
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for captions */
    border-radius: 10px;
    padding: 1rem 2rem;
    bottom: 20%; /* Adjust vertical position */
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.carousel-caption p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    /* Remove old carousel responsive styles that are no longer needed */
}

/* Custom Carousel Section */
.carousel-custom-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

#homeCustomCarousel .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.carousel-custom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 4rem;
    min-height: 280px; /* Ensure a consistent height */
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.carousel-custom-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Subtle background pattern */
    z-index: 0;
}

.carousel-custom-content.carousel-bg-discount {
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
}

.carousel-custom-content.carousel-bg-discount::before {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M0 59.904L60 0v59.904H0zM60 0L0 59.904V0h60z'/%3E%3C/g%3E%3C/svg%3E");
}

.carousel-custom-content.carousel-bg-featured {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.carousel-custom-content.carousel-bg-featured::before {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M0 59.904L60 0v59.904H0zM60 0L0 59.904V0h60z'/%3E%3C/g%3E%3C/svg%3E");
}

.carousel-custom-content.carousel-bg-bestseller {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
}

.carousel-custom-content.carousel-bg-bestseller::before {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M0 59.904L60 0v59.904H0zM60 0L0 59.904V0h60z'/%3E%3C/g%3E%3C/svg%3E");
}

.carousel-icon {
    font-size: 5rem;
    margin-right: 2rem;
    flex-shrink: 0;
    z-index: 1;
    opacity: 0.8;
}

.carousel-text {
    flex-grow: 1;
    z-index: 1;
}

.carousel-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-dark);
}

.carousel-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.carousel-text ul li {
    font-size: 1rem;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
}

.carousel-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
}

.btn-custom-carousel {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-custom-carousel:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Adjust carousel controls for custom design */
#homeCustomCarousel .carousel-control-prev,
#homeCustomCarousel .carousel-control-next {
    width: 8%;
}

#homeCustomCarousel .carousel-control-prev-icon,
#homeCustomCarousel .carousel-control-next-icon {
    background-color: var(--primary-dark); /* Darker controls */
    border-radius: 50%;
    padding: 1.2rem;
}

@media (max-width: 768px) {
    .carousel-custom-section {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }

    .carousel-custom-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        min-height: 240px;
    }

    .carousel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 4rem;
    }

    .carousel-text h2 {
        font-size: 1.8rem;
    }

    .carousel-text ul {
        grid-template-columns: 1fr;
        text-align: center; /* Center list items as well */
        padding-left: 0;
    }

    .carousel-text ul li {
        padding-left: 0;
    }

    .carousel-text ul li::before {
        display: none; /* Hide bullets on small screens to avoid clutter */
    }

    .btn-custom-carousel {
        width: auto;
        justify-content: center;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    #homeCustomCarousel .carousel-control-prev,
    #homeCustomCarousel .carousel-control-next {
        display: none; /* Hide controls on small screens if desired */
    }
}

/* Explore Sections */
.explore-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.explore-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
}

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

.explore-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.explore-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.explore-image:hover img {
    transform: scale(1.05);
}

.explore-services-image {
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb); /* Light blue gradient */
}

.explore-products-image {
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee); /* Pink to blue gradient */
}

.explore-container.reverse .explore-image {
    order: 2;
}

.explore-content {
    padding: 3rem;
    text-align: center;
}

.explore-content .section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.explore-content .section-subtext {
    font-size: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .explore-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .explore-container.reverse .explore-image {
        order: -1; /* Image on top for mobile in reverse layout */
    }

    .explore-content {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .explore-content .section-title {
        font-size: 1.8rem;
    }

    .explore-content .section-subtext {
        font-size: 0.9rem;
    }

    .explore-image {
        height: 250px;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    display: block;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* Products */
.category-filter {
    display: flex;
    flex-direction: column; /* Stack search/filters vertically */
    align-items: center; /* Center items horizontally */
    gap: 1.5rem; /* Space between search form and filter chips */
    margin-bottom: 3rem;
    position: relative; /* For dropdown positioning */
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Smaller gap between search input and button */
    width: 100%;
    max-width: 400px; /* Keep search form compact */
    position: relative; /* For dropdown positioning relative to the form */
}

.filter-form .search-input {
    flex-grow: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--light-bg); /* Added a subtle border */
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.filter-form .search-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(0, 196, 180, 0.2); /* Focus glow */
}

.filter-form .search-button {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.filter-form .search-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.filter-form .sort-dropdown {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--light-bg);
    border-radius: 50px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--primary-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='292.4' height='292.4'><path fill='%2300C4B4' d='M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 128c3.6 3.6 7.8 5.4 12.9 5.4s9.3-1.8 12.9-5.4l128-128c3.6-3.6 5.4-7.8 5.4-12.9 0-5-1.8-9.3-5.4-12.9z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8em;
    padding-right: 2.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}


.filter-form .sort-dropdown:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(0, 196, 180, 0.2);
}

.category-filter .filter-chips-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px; /* Limit chips container width */
}

.filter-chip {
    padding: 0.8rem 1.8rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--primary-dark);
}

.filter-chip.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.filter-chip:hover {
    border-color: var(--primary-orange);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from parent */
}

.product-card-link:hover {
    text-decoration: none; /* Ensure no underline on hover */
}

/* Styling for wishlist icon on product cards */
.wishlist-icon-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.wishlist-icon-container .btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.wishlist-icon-container .btn:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 196, 180, 0.3);
}

.wishlist-icon-container .btn .bi-heart-fill {
    color: var(--accent-yellow); /* Filled heart color */
}

.wishlist-icon-container .btn:hover .bi-heart-fill {
    color: var(--white); /* Filled heart color on hover */
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.product-price .currency {
    font-size: 1rem;
    color: #666;
}

.add-cart-btn {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.add-cart-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-bg);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-box {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.feature-box p {
    color: #666;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-dark);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-orange);
}

.modal h2 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-service {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-weight: 600;
}

/* Cart Page Styles */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-bg);
    align-items: center;
    flex-wrap: wrap;
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 150px;
}

.cart-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.cart-item-info p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: var(--light-bg);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.qty-display {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.cart-item-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-right: 0.5rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.3rem;
    transition: color 0.3s;
    padding: 0.5rem;
}

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

.cart-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.summary-row:last-child {
    border-bottom: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    padding-top: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart-icon {
    font-size: 8rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.promo-code {
    margin: 1.5rem 0;
}

.promo-code input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-bg);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.promo-code button {
    width: 100%;
    padding: 0.8rem;
    background: var(--light-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.promo-code button:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Form Styling for Auth Pages */
.contact-form p {
    margin-bottom: 1rem;
}

.contact-form ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-form li {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="password"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-bg);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.contact-form .helptext,
.contact-form .errorlist {
    font-size: 0.9rem;
    color: #dc3545; /* Red for errors */
    margin-top: 0.5rem;
    list-style: none;
    padding: 0;
}

.contact-form .helptext {
    color: #6c757d; /* Gray for help text */
}

/* Product Search Suggestions Dropdown */
.suggestions-dropdown {
    position: absolute;
    top: 100%; /* Position below the search input */
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
    width: calc(100% - 2rem); /* Adjust width to match search input */
    max-width: 300px; /* Match search input max-width */
}

.suggestion-item {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.suggestion-item:hover {
    background: var(--light-bg);
}

.suggestion-item.no-results {
    color: #999;
    font-style: italic;
    cursor: default;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--light-bg);
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--light-bg);
    border-color: var(--primary-orange);
}

.page-link.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: flex-start;
}

.product-detail-image {
    position: sticky;
    top: 120px; /* Adjust based on header height */
    padding: 1rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.product-image-main {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    margin-bottom: 1rem;
}

.product-detail-info {
    padding: 1rem;
}

.product-detail-info .product-category {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-detail-info h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.product-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-badges .product-badge {
    position: static;
    top: auto;
    right: auto;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 25px;
}

.product-price-detail {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 2rem;
}

.product-price-detail .currency {
    font-size: 1.5rem;
    color: #666;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex-grow: 1;
    max-width: 200px;
}

.product-meta {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
}

.product-meta h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.product-meta ul {
    list-style: none;
}

.product-meta ul li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.product-meta ul li:last-child {
    border-bottom: none;
}

/* Responsive for Product Detail Page */
@media (max-width: 968px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image {
        position: static;
        top: auto;
    }

    .product-image-main {
        height: 300px;
        font-size: 6rem;
    }

    .product-detail-info h2 {
        font-size: 2.2rem;
    }

    .product-price-detail {
        font-size: 2.5rem;
    }

    .product-actions .btn {
        max-width: none; /* Allow buttons to take full width */
    }
}

@media (max-width: 640px) {
    .product-detail-section {
        padding: 2rem 1rem;
    }

    .product-image-main {
        height: 250px;
        font-size: 5rem;
    }

    .product-detail-info h2 {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-price-detail {
        font-size: 2rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }
}

/* Responsive adjustments for search bar and suggestions */
@media (max-width: 968px) {
    /* General adjustments for smaller tablets and large phones */
    .section {
        padding: 3rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Shop Page Specific */
    .category-filter {
        gap: 1rem;
    }

    .filter-form {
        flex-direction: row; /* Keep search input and button in a row */
        flex-wrap: wrap; /* Allow wrapping if needed */
        justify-content: center;
        max-width: 100%;
    }

    .filter-form .search-input {
        flex-grow: 1;
        max-width: 250px; /* Adjust max-width for better fit */
    }

    .filter-form .search-button {
        padding: 0.7rem 1.1rem;
        font-size: 0.9rem;
    }

    .category-filter .filter-chips-container {
        max-width: 100%;
        justify-content: center;
    }

    .filter-chip {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Adjust product card size */
        gap: 1.5rem;
    }

    .suggestions-dropdown {
        width: calc(100% - 1rem); /* Adjust width to match search input container */
        max-width: 250px; /* Match search input max-width */
        left: auto; /* Reset left */
        right: auto; /* Reset right */
        transform: translateX(-50%); /* Center dropdown */
        left: 50%; /* Center dropdown */
    }
}

@media (max-width: 640px) {
    /* General adjustments for small phones */
    .section {
        padding: 2rem 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Shop Page Specific */
    .filter-form {
        flex-direction: column; /* Stack search input and button */
        gap: 0.8rem;
    }

    .filter-form .search-input {
        width: 100%;
        max-width: none; /* Allow full width */
    }

    .filter-form .search-button {
        width: 100%; /* Full width button */
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .filter-chip {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr; /* Single column for products */
        gap: 1rem;
    }

    .suggestions-dropdown {
        width: 100%;
        max-width: none; /* Allow full width */
        left: 0;
        transform: none; /* Remove centering transform */
    }

    .suggestion-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

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

.offer-card {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.offer-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.offer-card p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.offer-card .btn {
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.offer-card .btn:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
}

/* ------------------------------------------------------- 
   FLASH MESSAGES (FINAL, CLEAN & NON-DUPLICATE)
-------------------------------------------------------- */
.flash-container {
    position: fixed;
    top: 90px; /* below navbar */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flash-message {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.22);
    opacity: 0;
    animation: flashSlideIn 0.45s ease-out forwards;
}

/*COLORS */
.flash-success { background: #d4edda; color: #155724; }
.flash-error, 
.flash-danger { background: #f8d7da; color: #721c24; }
.flash-warning { background: #fff3cd; color: #856404; }
.flash-info    { background: #cfe2ff; color: #084298; }

/* SLIDE-IN ANIMATION */
@keyframes flashSlideIn {
    from { opacity: 0; transform: translateY(-15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* FADE-OUT ANIMATION */
@keyframes flashFadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

/* ------------------------------------------------- 
   AUTH PAGE UPGRADED UI (Glassmorphism + Animation)
-------------------------------------------------- */
/* =====================================================
     AUTH UI — FINAL CLEAN VERSION (No duplicates)
===================================================== */

/* Wrapper */
.auth-wrapper {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

/* Floating Paw Animation */
.paw-animation {
    width: 55px;
    height: 55px;
    background: url('https://cdn-icons-png.flaticon.com/512/616/616408.png') center/cover;
    position: absolute;
    left: 50%;
    top: -75px;
    transform: translateX(-50%);
    opacity: 0.8;
    animation: pawFloat 3.8s infinite ease-in-out;
}

@keyframes pawFloat {
    0%,100% { transform: translate(-50%, 0); opacity: 0.8; }
    50% { transform: translate(-50%, -18px); opacity: 1; }
}

/* Card */
.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    animation: fadeUp 0.65s ease;
    text-align: center;
}

@keyframes fadeUp {
    from { transform: translateY(25px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Logo */
.auth-logo {
    width: 90px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 12px;
    filter: drop-shadow(0 5px 14px rgba(0,0,0,0.22));
}

/* Header */
.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.auth-subtext {
    color: #666;
    margin-bottom: 2rem;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Input Icon */
.auth-input {
    position: relative;
}
.auth-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
    font-size: 1.25rem;
}

/* Input Field */
.auth-input input {
    width: 100%;
    padding: 0.9rem 1.1rem 0.9rem 3.1rem;
    border-radius: 12px;
    border: 2px solid #e6e6e6;
    background: #fff;
    transition: 0.3s;
    font-size: 1rem;
}

.auth-input input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(0,196,180,0.25);
    outline: none;
}

/* Button */
.auth-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,196,180,0.35);
}

/* Footer */
.auth-footer {
    margin-top: 1.4rem;
    color: #666;
}
.auth-footer a {
    color: var(--primary-orange);
    font-weight: 700;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* DARK MODE */
body.dark-mode {
    background: #111;
    color: #fff;
}
body.dark-mode .auth-card {
    background: rgba(30,30,30,0.85);
}
body.dark-mode .auth-input input {
    background: #222;
    border-color: #444;
    color: white;
}
body.dark-mode .auth-btn {
    background: #00b39a;
}
body.dark-mode .auth-footer {
    color: #aaa;
}


/* ===========================================
   WAVE DIVIDERS — Major section transitions
   Hero → Services → Products → Offers
============================================= */

.section-wave {
    position: relative;
}

.section-wave::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    z-index: 1;
}

/* Hero → Services */
.hero.modern-hero.section-wave::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23FFFFFF' d='M0,288L1440,160L1440,320L0,320Z'></path></svg>");
}

/* Services → Products */
.services-section.section-wave::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23F8F9FA' d='M0,192L1440,288L1440,320L0,320Z'></path></svg>");
}

/* Products → Offers */
.products-section.section-wave::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23FFFFFF' d='M0,96L1440,224L1440,320L0,320Z'></path></svg>");
}

/* ===========================================
   GLOBAL PARALLAX — Smooth & subtle
============================================= */
.parallax {
    position: relative;
    overflow: hidden;
}

.parallax::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    transform: translateY(0);
    transition: transform 0.2s linear;
    pointer-events: none;
}

/* Hero parallax */
.hero.modern-hero.parallax::before {
    background-image: url("https://i.imgur.com/qsxrGH5.jpg"); /* soft gradient texture */
}

/* Services parallax */
.services-section.parallax::before {
    background-image: url("https://i.imgur.com/t1BoHkn.jpg");
}

/* Products parallax */
.products-section.parallax::before {
    background-image: none;
}

/* Offers parallax */
.offers-section.parallax::before {
    background-image: url("https://i.imgur.com/lgct1Hz.jpg");
}


/* Offers → Footer */
.offers-section.section-wave::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23F8F9FA' d='M0,256L80,234.7C160,213,320,171,480,165.3C640,160,800,192,960,208C1120,224,1280,224,1360,213.3L1440,203L1440,320L0,320Z'/></svg>");
}


/* ===============================
   RESPONSIVE HOMEPAGE FIXES
================================ */

/* Hero section grid → stack on mobile */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        order: -1; /* Show image first on mobile */
    }

    .hero-illustration {
        max-width: 350px;
        height: 260px;
        font-size: 5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }
}

/* Very small phones */
@media (max-width: 576px) {

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .hero-illustration {
        height: 220px;
        font-size: 4rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .services-grid,
    .products-grid,
    .offers-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card,
    .product-card,
    .offer-card {
        margin: 0 auto;
        max-width: 95%;
    }
}

/* Adjust spacing on all sections */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

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

/* ============================================ 
   GLOBAL RESPONSIVE FIXES (BASE.HTML)
============================================ */

/* ------------ NAVBAR RESPONSIVE ------------ */

/* Mobile menu hidden on desktop */
@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }

    #navMenu {
        display: flex !important;
    }
}

/* Mobile layout */
@media (max-width: 992px) {

    .nav-container {
        padding: 1rem 1.2rem;
        flex-wrap: wrap;
        position: relative;
    }

    .navbar-logo {
        height: 70px;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* NAV MENU DROP-DOWN STYLE */
    #navMenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: white;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 0.5rem 0;
        display: none;
        z-index: 20;
    }

    #navMenu.active {
        display: flex;
    }

    #navMenu li {
        width: 100%;
    }

    #navMenu a {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-bottom: 1px solid #f1f1f1;
    }

    /* Hide desktop login/signup buttons */
    .desktop-auth-btn {
        display: none;
    }

    /* Show login/signup inside mobile dropdown */
    .mobile-menu-auth-item {
        display: block;
    }

    /* Cart button shrinks nicely */
    .cart-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}


/* ------------ HERO RESPONSIVE ------------ */
@media (max-width: 992px) {

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-illustration {
        max-width: 340px;
        height: 240px;
        font-size: 5rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Very small phones */
@media (max-width: 576px) {

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .hero-illustration {
        max-width: 280px;
        height: 200px;
        font-size: 4rem;
    }

    .btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}


/* ------------ GRID SECTIONS RESPONSIVE ------------ */
@media (max-width: 768px) {

    .section {
        padding: 3rem 1rem;
    }

    .services-grid,
    .products-grid,
    .offers-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card,
    .product-card,
    .offer-card {
        max-width: 95%;
        margin: auto;
    }
}


/* ------------ FOOTER RESPONSIVE ------------ */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul li {
        margin: 0.4rem 0;
    }

    .footer-section h3 {
        margin-top: 1rem;
    }
}


/* ------------ FLASH MESSAGE MOBILE FIX ------------ */
@media (max-width: 576px) {
    .flash-container {
        width: 94%;
        top: 80px;
    }
}

/* ===========================
   MOBILE FOOTER FIXES
   (add at end of style.css)
   =========================== */

@media (max-width: 768px) {
  /* stack sections, add breathing room */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    padding: 2rem 1rem;
    align-items: start;
    text-align: center;
  }

  /* make each footer section full-width and centered */
  .footer-section {
    padding: 0.5rem 0;
    width: 100%;
    display: block;
    margin: 0 auto;
  }

  /* make list links vertical and easy to tap */
  .footer-section ul {
    display: block;
    margin: 0.75rem auto 0;
    padding: 0;
    max-width: 320px;            /* keep narrow and readable */
    width: 100%;
  }

  .footer-section ul li {
    margin: 0.45rem 0;
    list-style: none;
    text-align: center;
  }

  /* increase tap target and spacing for links */
  .footer-section a {
    display: inline-block;
    width: 100%;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.95);
    transition: background .18s ease, color .18s ease;
  }

  .footer-section a:hover,
  .footer-section a:focus {
    background: rgba(255,255,255,0.04);
    color: var(--white);
  }

  /* scale headings down a touch so they fit better */
  .footer-section h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }

  /* contact block spacing */
  .footer-section p {
    font-size: 0.95rem;
    margin: 0.35rem 0;
  }

  /* copyright / bottom row adjustments */
  .footer-bottom {
    padding: 1.15rem;
    font-size: 0.92rem;
  }
}

/* Extra small phones — tighten up */
@media (max-width: 420px) {
  .footer-section ul {
    max-width: 240px;
  }

  .footer-section a {
    padding: 9px 6px;
    font-size: 0.95rem;
  }

  .footer-bottom {
    font-size: 0.88rem;
  }
}


/* ===============================
   LOGIN / AUTH PAGE RESPONSIVE FIX
   =============================== */

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 1.5rem;
        min-height: 90vh;
    }

    .auth-card {
        max-width: 360px;
        padding: 2rem 1.5rem;
    }

    .auth-logo {
        width: 70px;
    }

    .auth-header h2 {
        font-size: 1.8rem;
    }

    .auth-input input {
        padding: 0.85rem 0.9rem 0.85rem 2.8rem;
        font-size: 1rem;
    }

    .auth-btn {
        padding: 0.85rem;
        font-size: 1.05rem;
    }

    .auth-footer {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        max-width: 320px;
        padding: 1.8rem 1.2rem;
        border-radius: 16px;
    }

    .auth-header h2 {
        font-size: 1.6rem;
    }

    .auth-input i {
        font-size: 1.15rem;
        left: 12px;
    }

    .auth-input input {
        padding-left: 2.5rem;
    }

    .auth-btn {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .auth-footer {
        font-size: 0.9rem;
    }
}

/* =====================================================
   CONTACT PAGE — RESPONSIVE FIXES
===================================================== */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    .section {
        padding: 3rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.7rem;
        border-radius: 15px;
    }

    .contact-form .btn {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 540px) {
    .contact-grid {
        gap: 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.3rem;
    }

    .contact-icon {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 400px) {
    .contact-icon {
        font-size: 1.6rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }
}
/* =====================================================
   CART PAGE — RESPONSIVE FIXES
===================================================== */

/* Tablet & below */
@media (max-width: 1024px) {

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

    .cart-summary {
        position: relative;
        top: 0;
        width: 100%;
        margin-top: 2rem;
    }
}

/* Mobile / Small tablets */
@media (max-width: 768px) {

    .cart-container {
        padding: 2rem 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.7rem;
    }

    .cart-item-image {
        width: 70px; 
        height: 70px;
        font-size: 2rem;
    }

    .cart-item-info h3 {
        font-size: 1.2rem;
    }

    .cart-item-info p {
        font-size: 0.95rem;
    }

    .cart-item-price {
        font-size: 1.2rem;
        margin-top: 0.3rem;
    }

    .remove-btn {
        font-size: 1.25rem;
        align-self: flex-end;
    }

    .cart-summary {
        padding: 1.8rem;
        width: 100%;
    }

    .promo-code input,
    .promo-code button {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
}

/* Phones — Compact layout */
@media (max-width: 540px) {

    .section-header h2 {
        font-size: 1.7rem;
    }

    .cart-item {
        padding: 1rem;
        border-radius: 12px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
        font-size: 1.9rem;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .qty-display {
        font-size: 1rem;
    }

    .cart-summary {
        padding: 1.5rem;
    }

    .summary-row span {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.85rem;
        font-size: 1rem !important;
    }
}

/* Very small phones */
@media (max-width: 400px) {

    .cart-container {
        padding: 1.5rem 1rem;
    }

    .cart-item-image {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .promo-code input {
        font-size: 0.85rem;
        padding: 0.7rem;
    }

    .promo-code button {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

/* Ensure wishlist icon and product category are always visible */
.product-card .wishlist-icon-container,
.product-card .product-category {
    opacity: 1 !important;
    visibility: visible !important;
}