  @charset "utf-8";
  /* Basic Reset & Body Styles */
        :root {
            --scroll-behavior: smooth;
        }
        html {
            box-sizing: border-box; /* This is the fix */
            scroll-behavior: var(--scroll-behavior);
        }
        *, *:before, *:after { /* This makes the fix apply to all elements */
            box-sizing: inherit;
        }
        .sitewrap {
            background-color: #ececec !important;
        }

        /* Layout Container */
        .container {
            width: 100%;
            max-width: 1280px; /* Corresponds to container */
            margin-left: auto;
            margin-right: auto;
            padding: 1rem;
        }

        .product-count-badge {
        position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    z-index: 10;
    background-color: rgb(111 161 160 / 32%);
    color: #ffffff;
    font-family: 'Roboto Slab';
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 300;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

        /* Header Section */
        .header {
            text-align: center;
            margin-bottom: 2.5rem;
        }
        .header h1 {
            font-size: 2rem; /* text-4xl */
            font-weight: 200;
            color: #000000;
            font-family: 'Roboto Slab', serif;
            margin: 0;
        }
        .header p {
               margin-top: 1rem;
    font-size: 1.5rem;
    color: #0a0a0a;
    font-family: 'Roboto Slab';
    font-weight: 100;
        }

        /* Category Grid */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 1.5rem;
        }
        
        /* Category Card */
        .category-card {
            position: relative;
            display: block;
            border-radius: 0.5rem; /* rounded-lg */
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            text-decoration: none;
        }
        .category-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }
        .category-card:hover img {
            transform: scale(1.05);
        }
        .category-card .overlay {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgb(0 0 0 / 54%), transparent);
        }
        .category-card .content {
            position: relative;
            height: 16rem; /* h-64 */
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        .category-card h2 {
                  font-size: 1.475rem;
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.025em;
    padding-bottom: 1.4rem;
        }

        /* Divider */
        .divider {
            margin: 3rem 0;
            border-top: 1px solid #ccc; /* border-gray-700 */
        }

        /* Subcategory Sections */
        .subcategory-sections-wrapper {
            display: flex;
            flex-direction: column;
            gap: 4rem;
        }
        .subcategory-section h3 {
                font-size: 1.875rem;
    font-family: 'Roboto Slab';
    font-weight: 300;
    color: #56374c;
    margin-bottom: 1.5rem;
        }
        .subcategory-list {
                display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.125rem;
    font-family: 'Roboto Slab';
    font-weight: 200;
        }
        .subcategory-list a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease-in-out;
        }

        .subcategory-list  a:hover { color: #8c5279 }

        .category-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 3rem auto;
    width: 80%;
}

        .family-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    font-family: 'Roboto Slab';
}

.family-section-header h2 {
    font-size: 2rem;
    color: #333; 
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.family-section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    font-weight: 100;
    margin: 0 auto;
}

/* The Grid Layout */
.category-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

/* Individual Scent Cards */
.category-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    font-family: 'Roboto Slab';
    border-radius: 8px;
    text-decoration: none; 
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border-color: #d0d0d0;
}

.category-card h3 {
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
    color: #222;
    font-weight: 300;
}

.category-card p {
    font-size: 0.95rem;
    color: #777;
    font-weight: 100;
    margin: 0;
    line-height: 1.5;
}

.theme-floral {
    background-color: #fcf5f6; /* Soft Blush */
    border-color: #f7e6e8;
}
.theme-floral:hover {
    background-color: #faecef;
    border-color: #eecad0;
}

.theme-woody {
    background-color: #f4f7f4; /* Pale Sage */
    border-color: #e6eee6;
}
.theme-woody:hover {
    background-color: #ebf1eb;
    border-color: #cddacd;
}

.theme-citrus {
    background-color: #fdfbf4; /* Sunlight Cream */
    border-color: #f5f0e1;
}
.theme-citrus:hover {
    background-color: #fbf6e8;
    border-color: #ebe0c5;
}

.theme-meditative {
    background-color: #f6f4f8; /* Twilight Lilac */
    border-color: #ebe6f0;
}
.theme-meditative:hover {
    background-color: #efeaf4;
    border-color: #dcd0e5;
}

.theme-gourmand {
    background-color: #fdf8f4; /* Cashmere Beige */
    border-color: #f5e9df;
}
.theme-gourmand:hover {
    background-color: #faeee5;
    border-color: #eacfb8;
}

.theme-fruity {
    background-color: #fdf5f3; /* Soft Peach/Berry */
    border-color: #fae4df;
}
.theme-fruity:hover {
    background-color: #faebe7;
    border-color: #f2cfc6;
}
.theme-fresh:hover {
    background-color: #eaf3ea;
    border-color: #c7dec8;
}

.category-card h3 {
    color: #2c2c2c;
}

.category-card p {
    color: #555;
}

.card-icon {
    margin-bottom: 1rem;
    color: #4a4a4a;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
    transform: scale(1.15);
}

        /* Responsive Design - Media Queries */
        @media (min-width: 640px) { /* sm */
            .container { padding-left: 1.5rem; padding-right: 1.5rem; }
            .category-grid { grid-template-columns: repeat(2, 1fr); }
        }
        
        @media (min-width: 768px) { /* md */
            .container { padding-bottom: 5rem; }
            .header h1 { font-size: 2rem; } /* text-5xl */
            .category-grid { gap: 2rem; }
            .category-card .content { height: 18rem; } /* h-72 */
            .divider { margin: 3rem 0; }
            .subcategory-list { grid-template-columns: repeat(3, 1fr); }
        }

        @media (min-width: 1024px) { /* lg */
            .container { padding-left: 2rem; padding-right: 2rem; }
            .category-grid { grid-template-columns: repeat(3, 1fr); }
            .subcategory-list { grid-template-columns: repeat(4, 1fr); }
        }

          @media (max-width: 700px) {
           .header h1 {
                font-size: 1.6rem;
           }

            .header p {
               font-size: 1.3rem;
            }
        }


            @media (max-width: 500px) {
                .header {
               text-align: center;
                margin-bottom: 2rem;
                }

           .header h1 {
                font-size: 1.3rem;
           }

            .header p {
               font-size: 1rem;
            }
   .category-card h2 {
        font-size: 1.3rem;
   }


   .subcategory-section h3 {
   font-size:1.375rem
}

.subcategory-sections-wrapper {
    gap:2.5rem
}

.subcategory-list {
    font-size:0.9rem
}

.family-section-header h2 {
    font-size:1.8rem
}

.category-card h3 {
    font-size:1.3rem
}

.family-section-header p {
    font-size:1rem
}

        }