* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
    /* Main Colors */
    --primary-mineral-green: #2E4F4F;
    --off-white-marble: #F5F5F5;
    --anthracite-gray: #2C2C2C;
    --sandy-gold: #C9B37E;
    --warm-beige: #D2B48C ;
    --deep-black: #1A1A1A;

    /* Extended Palette for Design System */
    --marble-light: rgba(245, 245, 245, 0.9);
    --marble-texture: rgba(221, 208, 200, 0.3);
    --mineral-light: rgba(46, 79, 79, 0.1);
    --mineral-medium: rgba(46, 79, 79, 0.3);
    --mineral-shadow: rgba(46, 79, 79, 0.2);
    --gold-accent: rgba(201, 179, 126, 0.8);
    --gold-highlight: rgba(201, 179, 126, 0.2);

    /* Typography & Spacing */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-sm: 12px;
}


/* Elegant Marble Hero Section */
.water-drop-hero {
    min-height: 100vh;
    background: linear-gradient(135deg,
    var(--off-white-marble) 0%,
    var(--warm-beige) 30%,
    var(--marble-light) 70%,
    var(--off-white-marble) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--primary-mineral-green);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sandy-gold), var(--primary-mineral-green));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--anthracite-gray);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-mineral-green), var(--sandy-gold));
    color: var(--off-white-marble);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--border-radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--mineral-shadow);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px var(--mineral-shadow);
    background: linear-gradient(135deg, var(--sandy-gold), var(--primary-mineral-green));
    color: var(--off-white-marble);
    text-decoration: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--sandy-gold);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* Main Products Container */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-mineral-green);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.products-subtitle {
    font-size: 1.1rem;
    color: var(--anthracite-gray);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Top Sticky Filter Bar */
.top-sticky-filter {
    position: relative;
    top: 100px;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--warm-beige);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 10rem;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(46, 79, 79, 0.04);
}

.top-sticky-filter.floating {
    box-shadow:
            0 8px 32px rgba(46, 79, 79, 0.12),
            0 4px 16px rgba(46, 79, 79, 0.08);
    border-color: var(--sandy-gold);
    background: rgba(245, 245, 245, 0.98);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-mineral-green);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    stroke: var(--sandy-gold);
}

.filter-count {
    background: var(--gold-highlight);
    color: var(--primary-mineral-green);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-button {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid var(--warm-beige);
    color: var(--anthracite-gray);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--marble-texture), transparent);
    transition: left 0.6s;
}

.filter-button:hover::before {
    left: 100%;
}

.filter-button:hover {
    color: var(--primary-mineral-green);
    border-color: var(--sandy-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--mineral-shadow);
}

.filter-button.active {
    background: var(--primary-mineral-green);
    color: var(--off-white-marble);
    border-color: var(--primary-mineral-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--mineral-shadow);
}

.filter-button.active:hover {
    background: linear-gradient(135deg, var(--sandy-gold), var(--primary-mineral-green));
    border-color: var(--sandy-gold);
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.filter-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--off-white-marble);
    border: 1px solid var(--warm-beige);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(46, 79, 79, 0.1);
    z-index: 1000;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
}

.filter-dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--anthracite-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--warm-beige);
    font-size: 0.9rem;
}

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

.dropdown-item:hover {
    background: var(--gold-highlight);
    color: var(--primary-mineral-green);
}

.dropdown-item.active {
    background: var(--gold-highlight);
    color: var(--primary-mineral-green);
    font-weight: 500;
}

/* Clear Filters Button */
.clear-filters {
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--warm-beige);
    color: var(--anthracite-gray);
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.clear-filters:hover {
    color: var(--primary-mineral-green);
    border-color: var(--sandy-gold);
    opacity: 1;
}

.clear-filters:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Minimalist Product Grid */
.minimal-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.minimal-product-card {
    background: var(--off-white-marble);
    border: 1px solid var(--warm-beige);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.minimal-product-card:hover {
    border-color: var(--sandy-gold);
    box-shadow: 0 8px 25px var(--mineral-shadow);
    transform: translateY(-2px);
}

.minimal-product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--marble-light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.minimal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.minimal-product-card:hover .minimal-product-image img {
    transform: scale(1.05);
}

.minimal-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.minimal-product-card:hover .minimal-product-overlay {
    opacity: 1;
}

.minimal-add-to-cart {
    background: var(--off-white-marble);
    color: var(--primary-mineral-green);
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius);
    transform: translateY(10px);
}

.minimal-product-card:hover .minimal-add-to-cart {
    transform: translateY(0);
}

.minimal-add-to-cart:hover {
    background: var(--sandy-gold);
    color: var(--off-white-marble);
}

.minimal-product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.minimal-product-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-mineral-green);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.minimal-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.minimal-product-title a:hover {
    color: var(--sandy-gold);
}

.minimal-product-description {
    color: var(--anthracite-gray);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    opacity: 0.8;
}

.minimal-product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-mineral-green);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.minimal-original-price {
    font-size: 1rem;
    color: var(--anthracite-gray);
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.6;
}

/* Loading States */
.minimal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--anthracite-gray);
    opacity: 0.7;
}

.minimal-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--warm-beige);
    border-top: 2px solid var(--sandy-gold);
    border-radius: 50%;
    animation: minimalSpin 1s linear infinite;
    margin-bottom: 1rem;
}
.drops {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.drop {
    position: absolute;
    width: 60px;
    height: 60px;
    background:transparent;
    border-radius: 57% 43% 37% 63% / 51% 53% 47% 49%;
    box-shadow:
            inset 5px 5px 8px rgba(0, 0, 0, 0.3),
            8px 15px 8px rgba(0, 0, 0, 0.1),
            8px 12px 2px rgba(0, 0, 0, 0.05),
            inset -5px -5px 10px rgba(255, 255, 255, 0.9),
            0 -50px 30px -10px rgba(173,216,230,0.3),
            0 -80px 40px -15px rgba(173,216,230,0.2),
            0 -110px 50px -20px rgba(173,216,230,0.1),
            0 -140px 60px -25px rgba(173,216,230,0.05);
    animation: fall linear infinite;
}

.drop::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    width: 12px;
    height: 12px;
    border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
    box-shadow:
            0 -25px 15px -5px rgba(255,255,255,0.4),
            0 -40px 20px -8px rgba(255,255,255,0.3),
            0 -55px 25px -12px rgba(255,255,255,0.2);
}

.drop::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 35px;
    background: rgba(255, 255, 255, 0.7);
    width: 6px;
    height: 6px;
    border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
    box-shadow:
            0 -20px 12px -4px rgba(255,255,255,0.3),
            0 -35px 18px -7px rgba(255,255,255,0.2);
}

.drop::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 20px;
    background: rgba(255, 255, 255, 0.4);
    width: 10px;
    height: 10px;
    border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
}

.drop::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 35px;
    background: rgba(255, 255, 255, 0.7);
    width: 6px;
    height: 6px;
    border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
}

/* Individual drop styles with different sizes, positions, and timing */
.drop:nth-child(1) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 0s;
    transform: scale(1);
    border-radius: 57% 43% 37% 63% / 51% 53% 47% 49%;
}

.drop:nth-child(2) {
    left: 35%;
    top: 0%;

    animation-duration: 15s;
    animation-delay: 3s;
    transform: scale(0.7);
    border-radius: 64% 36% 42% 58% / 42% 37% 63% 58%;
}

.drop:nth-child(3) {
    left: 55%;
    top: 0%;

    animation-duration: 13.5s;
    animation-delay: 7.5s;
    transform: scale(0.8);
    border-radius: 49% 51% 42% 58% / 56% 47% 53% 44%;
}

.drop:nth-child(4) {
    left: 70%;
    top: 0%;

    animation-duration: 11.5s;
    animation-delay: 5.5s;
    transform: scale(0.6);
    border-radius: 39% 61% 63% 37% / 77% 47% 53% 23%;
}

.drop:nth-child(5) {
    left: 10%;
    top: 0%;

    animation-duration: 16s;
    animation-delay: 9s;
    transform: scale(0.5);
    border-radius: 45% 55% 38% 62% / 48% 42% 58% 52%;
}

.drop:nth-child(6) {
    left: 80%;
    top: 0%;

    animation-duration: 14.5s;
    animation-delay: 4s;
    transform: scale(0.9);
    border-radius: 52% 48% 45% 55% / 59% 44% 56% 41%;
}

@keyframes fall {
    0% {
        top: -100px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        top: calc(100vh + 100px);
        opacity: 0;
    }
}

/* Add subtle rotation for more realistic movement */
.drop:nth-child(even) {
    animation-name: fall-rotate;
}

@keyframes fall-rotate {
    0% {
        top: -100px;
        opacity: 0;
        transform: rotate(0deg) scale(var(--scale, 1));
    }
    5% {
        opacity: 1;
    }
    50% {
        transform: rotate(2deg) scale(var(--scale, 1));
    }
    95% {
        opacity: 1;
    }
    100% {
        top: calc(100vh + 100px);
        opacity: 0;
        transform: rotate(0deg) scale(var(--scale, 1));
    }
}

/* Set custom scale variables for rotating drops */
.drop:nth-child(2) {
    --scale: 0.7;
}
.drop:nth-child(4) {
    --scale: 0.6;
}
.drop:nth-child(6) {
    --scale: 0.9;
}
@keyframes minimalSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.minimal-error {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--anthracite-gray);
    opacity: 0.7;
}

.minimal-retry-btn {
    background: linear-gradient(135deg, var(--dark), var(--sandy-gold));
    color: var(--off-white-marble);
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius);
}

.minimal-retry-btn:hover {
    background: linear-gradient(135deg, var(--sandy-gold), var(--primary-mineral-green));
}

/* Responsive Design */
@media (max-width: 768px) {


    .products-container {
        padding: 2rem 1rem;
    }

    .top-sticky-filter {
        padding: 1rem;
        border-radius: var(--border-radius);
        top: 90px;
    }

    .filter-controls {
        gap: 0.5rem;
    }

    .filter-button {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .minimal-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }

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

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