
.prescription-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}


.eye-section {
    flex-basis: calc(50% - 10px); /* 50% width with a gap */
    box-sizing: border-box;
}

.eye-section h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.eye-section h4 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.eye-section label {
    display: block;
    margin-bottom: 10px;
}

.eye-section input {
    padding: 5px;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Flexbox for the buttons */
.eyesight-button {
    flex: 1;
    margin: 5px;
    padding: 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #cd1d1d;
    border-radius: 4px;
    text-align: center;
}

.eyesight-button.active {
    background-color: #cd1d1d;
    color: white;
    border-color: #cd1d1d;
}

/* Lens options styling */
.lens-choice-group label {
    display: inline-block;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.lens-choice-group label:hover {
    background-color: #f8f9fa;
}

.lens-choice-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.lens-choice-group input[type="radio"]:checked + span {
    text-decoration: underline;
}

/* Style for no eyesight option to make it clear it's free */
.lens-choice-group input[value="no_eyesight"] + span {
    color: #28a745;
    font-weight: 500;
}

/* Fee notice styling */
.fee-notice {
    background-color: #fff3cd !important;
    border: 1px solid #ffeaa7 !important;
    color: #856404 !important;
    padding: 12px !important;
    border-radius: 6px !important;
    margin-bottom: 15px !important;
    font-size: 14px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.fee-notice strong {
    color: #d63031 !important;
    font-weight: 600 !important;
}

/* Make the warning icon more prominent */
.fee-notice strong:first-child {
    margin-right: 8px;
}

/* Required field styling */
.required-field {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

.required-field:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Validation message styling */
#eyesight-validation-message,
#custom-variation-validation-message {
    animation: fadeIn 0.3s ease-in;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

#eyesight-validation-message:before,
#custom-variation-validation-message:before {
    content: "⚠️ ";
    margin-right: 8px;
    font-size: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.prescription-options span{
    color: #787878;
    font-size: 14px;
}
.note{
    margin: 0px;
    font-size: 13px;
}
.note span{
    color: red;
    font-weight: 700;
    font-size: 14px;
}
/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .prescription-options {
        flex-direction: column;
        align-items: center;
    }

    .eye-section {
        /* flex-basis: 100%; Full width on mobile */
    }

    .eyesight-button {
        width: 100%;
        box-sizing: border-box;
    }
}
.category-option{
    border: 2px solid rgb(234, 234, 234);
    background: #f7f7f7 !important;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 8px #c4c4c4 inset;
    text-align: center;
    cursor: pointer;
    width: 200px;
    position: relative;
    transition: border-color 0.3s ease;
} 
.category-option h4{
    font-size: 14px;
    margin: 0px;
    padding: 10px 0px 0 0;
}
.category-option p{
    margin: 0px;
    color: red;
}
@media (max-width: 500px){
.category-option h4{
    font-size: 10px;
}
.category-option p{
    font-size: 11px;
}
}
.category-option span{
position: absolute;
top: -13px;
right: -14px;
background: #343434;
border-radius: 50%;
display: none;
width: 35px;
height: 35px;
cursor: pointer;
color: white;
justify-content: center;
align-items: center;
z-index: 999;
}
.category-option img{
    border-radius: 9px !important;
    width: 100%; 
    height: auto;
}
.select-categories{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0px auto;
    max-width: 800px;
}
.audio-source{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.product-audio{
    border: 1px solid #85b951;
    border-radius: 30px;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background-color: rgb(153 135 135 / 71%); /* Equivalent to #bd8181b5 */
    opacity: 0.5;
    z-index: 1;
}