/* Baby Circular Theme */
.baby-theme { background: linear-gradient(135deg, #90caf9 0%, #f48fb1 50%, #a5d6a7 100%); min-height: 100vh; }

/* Circular Hero */
.baby-circular-hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.baby-circular-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.baby-circular-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 300;
}

/* Circular Age Section - FIXED FOR MOBILE */
.baby-circular-age-section {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
}

.circular-age-container {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
}

.circular-age-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.circular-age-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circular-age-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform-origin: center;
    width: 120px;
    z-index: 2; /* Ensure items stay above each other */
}

.circular-age-center .circular-age-item {
    position: static;
    width: auto;
}

.circular-age-item:hover {
    transform: scale(1.1);
}

.circular-age-item.active {
    transform: scale(1.15);
    z-index: 3; /* Active items on top */
}

.circular-image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.circular-age-center .circular-image-wrapper {
    width: 130px;
    height: 130px;
    border: 5px solid #3498db;
}

.circular-age-item.active .circular-image-wrapper {
    border-color: #e74c3c;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.circular-age-center .circular-age-item.active .circular-image-wrapper {
    border-color: #e74c3c;
}

.circular-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circular-age-label {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
}

.circular-age-item.active .circular-age-label {
    background: #e74c3c;
    color: white;
}

/* FIXED: Perfect circular positioning using trigonometry */
.circular-age-ring .circular-age-item {
    top: 50%;
    left: 50%;
    margin-top: -60px; /* Half of item height */
    margin-left: -60px; /* Half of item width */
}

/* Position items in a perfect circle */
.circular-age-ring .circular-age-item:nth-child(1) { 
    transform: translate(0px, -300px); /* Top */
}

.circular-age-ring .circular-age-item:nth-child(2) { 
    transform: translate(212px, -212px); /* Top-right */
}

.circular-age-ring .circular-age-item:nth-child(3) { 
    transform: translate(300px, 0px); /* Right */
}

.circular-age-ring .circular-age-item:nth-child(4) { 
    transform: translate(212px, 212px); /* Bottom-right */
}

.circular-age-ring .circular-age-item:nth-child(5) { 
    transform: translate(0px, 300px); /* Bottom */
}

.circular-age-ring .circular-age-item:nth-child(6) { 
    transform: translate(-212px, 212px); /* Bottom-left */
}

.circular-age-ring .circular-age-item:nth-child(7) { 
    transform: translate(-300px, 0px); /* Left */
}

.circular-age-ring .circular-age-item:nth-child(8) { 
    transform: translate(-212px, -212px); /* Top-left */
}

/* FIXED: Proper transform handling for active states with circular positioning */
.circular-age-ring .circular-age-item:nth-child(1).active { 
    transform: translate(0px, -300px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(2).active { 
    transform: translate(212px, -212px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(3).active { 
    transform: translate(300px, 0px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(4).active { 
    transform: translate(212px, 212px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(5).active { 
    transform: translate(0px, 300px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(6).active { 
    transform: translate(-212px, 212px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(7).active { 
    transform: translate(-300px, 0px) scale(1.15);
}

.circular-age-ring .circular-age-item:nth-child(8).active { 
    transform: translate(-212px, -212px) scale(1.15);
}

/* Current Selection */
.current-selection {
    text-align: center;
    padding: 1.5rem;
    background: white;
    margin: 1rem auto 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.current-selection h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
}

.selection-age {
    color: #e74c3c;
    font-weight: 600;
}

/* Baby Filter Section */
.baby-filter-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.baby-filter-container {
    width: 100%;
}

.baby-filter-row {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.baby-filter-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.baby-filter-label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.baby-filter-select {
    padding: 0.75rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    width: 100%;
}

.baby-filter-select:focus {
    outline: none;
    border-color: #3498db;
}

.baby-filter-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.baby-filter-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.baby-filter-btn:not(.secondary) {
    background: #3498db;
    color: white;
}

.baby-filter-btn:not(.secondary):hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.baby-filter-btn.secondary {
    background: #ecf0f1;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
}

.baby-filter-btn.secondary:hover {
    background: #bdc3c7;
    color: white;
}

/* Baby Products Header */
.baby-products-header {
    text-align: center;
    padding: 2rem 1rem;
}

.baby-products-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.baby-products-count {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 300;
}

/* Baby Products Grid */
.baby-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.baby-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.baby-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.baby-product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.baby-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.baby-product-card:hover .baby-product-image img {
    transform: scale(1.05);
}

.baby-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.baby-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.baby-product-card:hover .baby-product-overlay {
    opacity: 1;
}

.baby-product-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.baby-product-btn:hover {
    background: white;
    color: #2c3e50;
}

.baby-product-info {
    padding: 1.5rem;
}

.baby-product-name {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.baby-product-meta {
    margin-bottom: 1rem;
}

.baby-product-brand {
    color: #3498db;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.baby-product-category {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.baby-product-color {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.baby-product-age {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.baby-product-price {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

/* Baby Empty State */
.baby-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.baby-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.baby-empty-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 400;
}

.baby-empty-message {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.baby-empty-btn {
    padding: 0.75rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.baby-empty-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* FIXED: Enhanced Mobile Responsiveness with circular positioning */
@media (max-width: 1024px) {
    .circular-age-container {
        width: 700px;
        height: 700px;
    }
    
    .circular-image-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .circular-age-center .circular-image-wrapper {
        width: 110px;
        height: 110px;
    }
    
    .circular-age-label {
        font-size: 0.85rem;
        min-width: 90px;
    }
    
    /* Adjust circular positioning for medium screens */
    .circular-age-ring .circular-age-item:nth-child(1) { transform: translate(0px, -260px); }
    .circular-age-ring .circular-age-item:nth-child(2) { transform: translate(184px, -184px); }
    .circular-age-ring .circular-age-item:nth-child(3) { transform: translate(260px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(4) { transform: translate(184px, 184px); }
    .circular-age-ring .circular-age-item:nth-child(5) { transform: translate(0px, 260px); }
    .circular-age-ring .circular-age-item:nth-child(6) { transform: translate(-184px, 184px); }
    .circular-age-ring .circular-age-item:nth-child(7) { transform: translate(-260px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(8) { transform: translate(-184px, -184px); }
    
    /* Active states */
    .circular-age-ring .circular-age-item:nth-child(1).active { transform: translate(0px, -260px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(2).active { transform: translate(184px, -184px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(3).active { transform: translate(260px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(4).active { transform: translate(184px, 184px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(5).active { transform: translate(0px, 260px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(6).active { transform: translate(-184px, 184px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(7).active { transform: translate(-260px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(8).active { transform: translate(-184px, -184px) scale(1.15); }
}

@media (max-width: 768px) {
    .circular-age-container {
        width: 600px;
        height: 600px;
    }
    
    .circular-image-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .circular-age-center .circular-image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .circular-age-label {
        font-size: 0.8rem;
        min-width: 85px;
        padding: 0.25rem 0.6rem;
    }
    
    /* Adjust circular positioning for tablets */
    .circular-age-ring .circular-age-item:nth-child(1) { transform: translate(0px, -220px); }
    .circular-age-ring .circular-age-item:nth-child(2) { transform: translate(156px, -156px); }
    .circular-age-ring .circular-age-item:nth-child(3) { transform: translate(220px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(4) { transform: translate(156px, 156px); }
    .circular-age-ring .circular-age-item:nth-child(5) { transform: translate(0px, 220px); }
    .circular-age-ring .circular-age-item:nth-child(6) { transform: translate(-156px, 156px); }
    .circular-age-ring .circular-age-item:nth-child(7) { transform: translate(-220px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(8) { transform: translate(-156px, -156px); }
    
    /* Active states */
    .circular-age-ring .circular-age-item:nth-child(1).active { transform: translate(0px, -220px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(2).active { transform: translate(156px, -156px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(3).active { transform: translate(220px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(4).active { transform: translate(156px, 156px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(5).active { transform: translate(0px, 220px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(6).active { transform: translate(-156px, 156px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(7).active { transform: translate(-220px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(8).active { transform: translate(-156px, -156px) scale(1.15); }
    
    .baby-filter-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .baby-filter-group {
        min-width: 100%;
    }
    
    .baby-filter-actions {
        width: 100%;
        justify-content: center;
    }
    
    .baby-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .baby-circular-title {
        font-size: 2rem;
    }
    
    .baby-circular-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .circular-age-container {
        width: 500px;
        height: 500px;
    }
    
    .circular-image-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .circular-age-center .circular-image-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .circular-age-label {
        font-size: 0.75rem;
        min-width: 80px;
        padding: 0.2rem 0.5rem;
    }
    
    /* Adjust circular positioning for smaller tablets */
    .circular-age-ring .circular-age-item:nth-child(1) { transform: translate(0px, -180px); }
    .circular-age-ring .circular-age-item:nth-child(2) { transform: translate(127px, -127px); }
    .circular-age-ring .circular-age-item:nth-child(3) { transform: translate(180px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(4) { transform: translate(127px, 127px); }
    .circular-age-ring .circular-age-item:nth-child(5) { transform: translate(0px, 180px); }
    .circular-age-ring .circular-age-item:nth-child(6) { transform: translate(-127px, 127px); }
    .circular-age-ring .circular-age-item:nth-child(7) { transform: translate(-180px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(8) { transform: translate(-127px, -127px); }
    
    /* Active states */
    .circular-age-ring .circular-age-item:nth-child(1).active { transform: translate(0px, -180px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(2).active { transform: translate(127px, -127px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(3).active { transform: translate(180px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(4).active { transform: translate(127px, 127px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(5).active { transform: translate(0px, 180px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(6).active { transform: translate(-127px, 127px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(7).active { transform: translate(-180px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(8).active { transform: translate(-127px, -127px) scale(1.15); }
}

@media (max-width: 480px) {
    .circular-age-container {
        width: 400px;
        height: 400px;
    }
    
    .circular-image-wrapper {
        width: 60px;
        height: 60px;
        border-width: 3px;
    }
    
    .circular-age-center .circular-image-wrapper {
        width: 80px;
        height: 80px;
        border-width: 4px;
    }
    
    .circular-age-label {
        font-size: 0.7rem;
        min-width: 75px;
        padding: 0.15rem 0.4rem;
    }
     .baby-empty-btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
        box-sizing: border-box;
    }
    
    /* Adjust circular positioning for mobile */
    .circular-age-ring .circular-age-item:nth-child(1) { transform: translate(0px, -140px); }
    .circular-age-ring .circular-age-item:nth-child(2) { transform: translate(99px, -99px); }
    .circular-age-ring .circular-age-item:nth-child(3) { transform: translate(140px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(4) { transform: translate(99px, 99px); }
    .circular-age-ring .circular-age-item:nth-child(5) { transform: translate(0px, 140px); }
    .circular-age-ring .circular-age-item:nth-child(6) { transform: translate(-99px, 99px); }
    .circular-age-ring .circular-age-item:nth-child(7) { transform: translate(-140px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(8) { transform: translate(-99px, -99px); }
    
    /* Active states */
    .circular-age-ring .circular-age-item:nth-child(1).active { transform: translate(0px, -140px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(2).active { transform: translate(99px, -99px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(3).active { transform: translate(140px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(4).active { transform: translate(99px, 99px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(5).active { transform: translate(0px, 140px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(6).active { transform: translate(-99px, 99px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(7).active { transform: translate(-140px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(8).active { transform: translate(-99px, -99px) scale(1.15); }
    
    .baby-circular-title {
        font-size: 1.8rem;
    }
    
    .baby-circular-subtitle {
        font-size: 0.9rem;
    }
    
    .baby-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .baby-filter-section {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .current-selection {
        margin: 1rem;
        padding: 1rem;
    }
    
    .current-selection h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .circular-age-container {
        width: 350px;
        height: 350px;
    }
    
    .circular-image-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .circular-age-center .circular-image-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .circular-age-label {
        font-size: 0.65rem;
        min-width: 70px;
        padding: 0.1rem 0.3rem;
    }
    
    /* Adjust circular positioning for very small screens */
    .circular-age-ring .circular-age-item:nth-child(1) { transform: translate(0px, -120px); }
    .circular-age-ring .circular-age-item:nth-child(2) { transform: translate(85px, -85px); }
    .circular-age-ring .circular-age-item:nth-child(3) { transform: translate(120px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(4) { transform: translate(85px, 85px); }
    .circular-age-ring .circular-age-item:nth-child(5) { transform: translate(0px, 120px); }
    .circular-age-ring .circular-age-item:nth-child(6) { transform: translate(-85px, 85px); }
    .circular-age-ring .circular-age-item:nth-child(7) { transform: translate(-120px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(8) { transform: translate(-85px, -85px); }
    
    /* Active states */
    .circular-age-ring .circular-age-item:nth-child(1).active { transform: translate(0px, -120px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(2).active { transform: translate(85px, -85px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(3).active { transform: translate(120px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(4).active { transform: translate(85px, 85px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(5).active { transform: translate(0px, 120px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(6).active { transform: translate(-85px, 85px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(7).active { transform: translate(-120px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(8).active { transform: translate(-85px, -85px) scale(1.15); }
}

@media (max-width: 360px) {
    .circular-age-container {
        width: 320px;
        height: 320px;
    }
    
    .circular-image-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .circular-age-center .circular-image-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .circular-age-label {
        font-size: 0.6rem;
        min-width: 65px;
        padding: 0.1rem 0.25rem;
    }
    
    /* Adjust circular positioning for extra small screens */
    .circular-age-ring .circular-age-item:nth-child(1) { transform: translate(0px, -110px); }
    .circular-age-ring .circular-age-item:nth-child(2) { transform: translate(78px, -78px); }
    .circular-age-ring .circular-age-item:nth-child(3) { transform: translate(110px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(4) { transform: translate(78px, 78px); }
    .circular-age-ring .circular-age-item:nth-child(5) { transform: translate(0px, 110px); }
    .circular-age-ring .circular-age-item:nth-child(6) { transform: translate(-78px, 78px); }
    .circular-age-ring .circular-age-item:nth-child(7) { transform: translate(-110px, 0px); }
    .circular-age-ring .circular-age-item:nth-child(8) { transform: translate(-78px, -78px); }
    
    /* Active states */
    .circular-age-ring .circular-age-item:nth-child(1).active { transform: translate(0px, -110px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(2).active { transform: translate(78px, -78px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(3).active { transform: translate(110px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(4).active { transform: translate(78px, 78px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(5).active { transform: translate(0px, 110px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(6).active { transform: translate(-78px, 78px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(7).active { transform: translate(-110px, 0px) scale(1.15); }
    .circular-age-ring .circular-age-item:nth-child(8).active { transform: translate(-78px, -78px) scale(1.15); }
    
    .baby-circular-hero {
        padding: 2rem 1rem 1rem;
    }
    
    .baby-circular-title {
        font-size: 1.6rem;
    }
    
    .baby-circular-subtitle {
        font-size: 0.85rem;
    }
    .baby-empty-btn {
        max-width: 250px;
        padding: 0.8rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Hover animations */
.circular-age-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.circular-image-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure z-index works properly */
.circular-age-ring .circular-age-item {
    z-index: 2;
}

.circular-age-ring .circular-age-item.active {
    z-index: 3;
}

.circular-age-ring .circular-age-item:hover {
    z-index: 4;
}