/* Diamond Count Display Styles */
/* Added: Display diamond count prominently above diamond shape icons */
/* Updated: Minimal spacing and reduced font size per UX requirements */

.diamond-count-display {
    text-align: center;
    margin: 15px 0 10px;
    padding: 0;
}

#totalDiamondUp {
    font-size: 36px;
    font-weight: 700;
    color: #30a8dc;
    margin: 0 0 5px;
    line-height: 1.2;
    font-family: 'Manrope', sans-serif;
}

/* Clickable count link styles */
.diamond-count-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.2s ease;
}

.diamond-count-link:hover {
    text-decoration: underline;
    color: #268fb5; /* Darker shade of #30a8dc */
}

.diamond-count-display h3 {
    font-size: 18px;
    color: #747474;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Marcellus', serif;
}

.diamond-count-display h3 span {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diamond-count-display {
        margin: 12px 0 8px;
        padding: 0;
    }

    #totalDiamondUp {
        font-size: 28px;
    }

    .diamond-count-display h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .diamond-count-display {
        margin: 10px 0 8px;
        padding: 0;
    }

    #totalDiamondUp {
        font-size: 24px;
    }

    .diamond-count-display h3 {
        font-size: 15px; /* Increased from 14px for better mobile readability */
    }
}

/* Diamond action buttons */
.diamond-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.btn-natural, .btn-labgrown {
    display: inline-block;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 280px;
    font-family: 'Lato-Regular', sans-serif;
}

/* Both buttons styled identically - equal treatment for equal choices */
.btn-natural, .btn-labgrown {
    background: #30a8dc;
    color: #fff;
    border: 2px solid #30a8dc;
}

.btn-natural:hover, .btn-labgrown:hover {
    background: #268fb5;
    border-color: #268fb5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(48, 168, 220, 0.3);
}

/* Shape toggle (tablet/mobile only) */
.shape-toggle {
    text-align: center;
    margin: 20px 0 10px;
}

.toggle-shapes {
    color: #30a8dc;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.toggle-shapes:hover {
    text-decoration: underline;
}

/* Shape selector collapse/expand */
.shape-selector-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

/* Clearfix for floated shape icons */
.ds-shape-daimonds::after {
    content: "";
    display: table;
    clear: both;
}

/* Clearfix for wrapper to contain floated .ds-shape */
.shape-selector-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.shape-selector-wrapper.expanded {
    max-height: 500px;
}

/* Hide toggle on desktop */
@media (min-width: 1024px) {
    .shape-toggle {
        display: none;
    }

    .shape-selector-wrapper {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Responsive button adjustments */
@media (max-width: 768px) {
    .btn-natural, .btn-labgrown {
        font-size: 14px;
        padding: 12px 24px;
        min-width: 240px;
    }

    .toggle-shapes {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .diamond-buttons {
        gap: 12px;
        margin: 15px 0;
    }

    .btn-natural, .btn-labgrown {
        font-size: 14px; /* Increased from 13px for better mobile readability */
        padding: 10px 20px;
        min-width: 200px;
        width: 90%;
    }

    .toggle-shapes {
        font-size: 14px; /* Increased from 12px - meets WCAG minimum */
    }
}
