.custom-size-container {
    /* Only essential styles, no global resets */
    display: inline-block;
    padding: 1rem;
}

.custom-size-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.custom-size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: fit-content;
}

.custom-size-option {
    position: relative;
}

.custom-size-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-size-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 60px;
    border: 2px solid #e2e2e2;
    border-radius: 8px;
    cursor: pointer;
}

/* Only style the label when input is checked */
.custom-size-input:checked + .custom-size-label {
    border-color: #007AFF;
    background: #F0F7FF;
}

.custom-size-name {
    font-weight: bold;
}

.custom-size-details {
    font-size: 0.875em;
    color: #666;
}
