/* Estilo general para acordeones */
.accordion-title {
    cursor: pointer;
    padding: 10px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

.accordion-content {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* Estilo para cuadrículas de opciones */
.drinks-grid, .box-grid, .wc-custom-sweets .sweets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.drink-option, .box-option, .mug-option {
    text-align: center;
}

.drink-option img, .box-option img, .mug-option img {
    max-width: 100%;
    height: auto;
}

.drink-option h4, .mug-option span {
    margin: 5px 0;
}

.drink-desc, .mug-upload p {
    font-size: 0.9em;
    color: #666;
}

.drink-price {
    font-weight: bold;
    color: #e91e63;
}

/* Estilo para inputs */
.drink-qty, .free-drink-qty {
    width: 60px;
    text-align: center;
}

.mug-type-selection, .box-theme-selection {
    margin-bottom: 15px;
}

.mug-type-selection label, .box-theme-selection label {
    display: block;
    margin-bottom: 5px;
}

.mug-type-selection select, .box-theme-selection select {
    width: 100%;
    max-width: 300px;
    padding: 5px;
}

/* Estilo para el resumen del precio total */
.custom-total-summary {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.custom-total-amount {
    font-weight: bold;
    color: #e91e63;
}

/* Estilo específico para el bloque de tazas */
.wc-custom-mugs .mug-options {
    margin-top: 15px;
}

.mug-upload {
    margin-top: 15px;
}

.mug-image {
    display: block;
    margin-top: 5px;
}

/*Estilos para salados*/

.savory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.savory-option {
    text-align: center;
}

.savory-option img {
    max-width: 100%;
    height: auto;
}

.savory-option h4 {
    margin: 5px 0;
}

.savory-desc {
    font-size: 0.9em;
    color: #666;
}

.savory-price {
    font-weight: bold;
    color: #e91e63;
}

.sauces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.sauce-option {
    text-align: center;
}

.sauce-option img {
    max-width: 100%;
    height: auto;
}

.sauce-option h4 {
    margin: 5px 0;
}

.sauce-desc {
    font-size: 0.9em;
    color: #666;
}

.sauce-price {
    font-weight: bold;
    color: #e91e63;
}

.wc-custom-palm-message .palm-message-input {
    margin-top: 10px;
}

.wc-custom-palm-message .palm-message-text {
    width: 100%;
    max-width: 500px;
    padding: 5px;
}

.balloons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.balloon-option {
    text-align: center;
}

.balloon-option img {
    max-width: 100%;
    height: auto;
}

.balloon-option h4 {
    margin: 5px 0;
}

.balloon-price {
    font-weight: bold;
    color: #e91e63;
}

.candles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.candle-option {
    text-align: center;
}

.candle-option img {
    max-width: 100%;
    height: auto;
}

.candle-option h4 {
    margin: 5px 0;
}

.candle-price {
    font-weight: bold;
    color: #e91e63;
}

/* Estilos para Dulces Premium */
.sweets-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.sweet-premium-option {
    text-align: center;
}

.sweet-premium-option img {
    max-width: 100%;
    height: auto;
}

.sweet-premium-option h4 {
    margin: 5px 0;
}

.sweet-premium-price {
    font-weight: bold;
    color: #e91e63;
}

/* Estilos para Salsas Premium */
.sauces-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.sauce-premium-option {
    text-align: center;
}

.sauce-premium-option img {
    max-width: 100%;
    height: auto;
}

.sauce-premium-option h4 {
    margin: 5px 0;
}

.sauce-premium-price {
    font-weight: bold;
    color: #e91e63;
}

/* Estilos para Salados Premium */
.savory-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.savory-premium-option {
    text-align: center;
}

.savory-premium-option img {
    max-width: 100%;
    height: auto;
}

.savory-premium-option h4 {
    margin: 5px 0;
}

.savory-premium-price {
    font-weight: bold;
    color: #e91e63;
}

/* Estilos para Bebidas Premium */
.drinks-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.drink-premium-option {
    text-align: center;
}

.drink-premium-option img {
    max-width: 100%;
    height: auto;
}

.drink-premium-option h4 {
    margin: 5px 0;
}

.drink-premium-price {
    font-weight: bold;
    color: #e91e63;
}

/* Estilos para Palmeras Premium */
.palmeras-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.palmera-premium-option {
    text-align: center;
}

.palmera-premium-option img {
    max-width: 100%;
    height: auto;
}

.palmera-premium-option h4 {
    margin: 5px 0;
}

/* Estilos para Mensaje Palmera Premium */
.wc-custom-mensaje-palmera-premium .mensaje-palmera-premium-input {
    margin-top: 10px;
}

.wc-custom-mensaje-palmera-premium .mensaje-palmera-premium-text {
    width: 100%;
    max-width: 500px;
    padding: 5px;
}

/* Estilos para 2 Bebidas Gratis Premium */
.free-drinks-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.free-drink-premium-option {
    text-align: center;
}

.free-drink-premium-option img {
    max-width: 100%;
    height: auto;
}

.free-drink-premium-option h4 {
    margin: 5px 0;
}

/* Estilos para Personaliza tu Familia */
.wc-custom-family-customization .family-size-selection {
    margin-bottom: 15px;
}

.wc-custom-family-customization .family-members-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.wc-custom-family-customization .family-member-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-custom-family-customization .family-customization-section {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.wc-custom-family-customization .family-customization-section h4 {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.wc-custom-family-customization .customization-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.wc-custom-family-customization .customization-option select {
    width: 100%;
    padding: 5px;
}

/* Estilos para el pop-up de precio mínimo */
.price-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.price-alert-box {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price-alert-box p {
    margin: 0 0 15px;
    font-size: 1em;
}

.price-alert-box .price-alert-close {
    background: #e91e63;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
}

.price-alert-box .price-alert-close:hover {
    background: #d81b60;
}

@media (max-width: 600px) {
    .price-alert-box {
        width: 90%;
        padding: 15px;
    }

    .price-alert-box p {
        font-size: 0.9em;
    }
}

.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estilos existentes (mantener los que ya tienes, solo añadir lo siguiente) */

/* Estilos para el bloque de Personalización Familia */
.wc-custom-family-customization {
    margin-bottom: 20px;
}

.family-size-selection,
.family-members-selection {
    margin-bottom: 15px;
}

.family-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.family-member-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-member-option label {
    font-weight: bold;
}

.family-member-type {
    padding: 5px;
    border-radius: 4px;
}

.family-customization-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.family-customization-section h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customization-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customization-option label {
    font-weight: bold;
    font-size: 1.1em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
}

.option-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.option-item input:checked + img {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.family-custom-edad,
.family-custom-nombre,
.family-custom-estatura {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Estilos para el pop-up de precio mínimo (mantener si ya está) */
.price-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.price-alert-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.price-alert-close {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilo para botón deshabilitado (mantener si ya está) */
.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estilos existentes (mantener los que ya tienes, solo añadir/actualizar lo siguiente) */

/* Estilos para el bloque de Personalización Familia */
.wc-custom-family-customization {
    margin-bottom: 20px;
}

.family-size-selection,
.family-members-selection {
    margin-bottom: 15px;
}

.family-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.family-member-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-member-option label {
    font-weight: bold;
}

.family-member-type {
    padding: 5px;
    border-radius: 4px;
}

.family-customization-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.family-customization-section h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customization-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customization-option label {
    font-weight: bold;
    font-size: 1.1em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
}

.option-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.option-item input:checked + img {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.family-custom-edad,
.family-custom-nombre,
.family-custom-estatura {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Media query para móviles */
@media (max-width: 768px) {
    .option-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .option-item img {
        width: 80px;
        height: 80px;
    }

    .customization-option label {
        font-size: 1em;
    }

    .family-custom-edad,
    .family-custom-nombre,
    .family-custom-estatura {
        max-width: 100%;
    }
}

/* Estilos para el pop-up de precio mínimo (mantener si ya está) */
.price-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.price-alert-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.price-alert-close {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilo para botón deshabilitado (mantener si ya está) */
.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estilos existentes (mantener los que ya tienes, solo añadir/actualizar lo siguiente) */

/* Estilos para el bloque de Personalización Familia */
.wc-custom-family-customization {
    margin-bottom: 20px;
}

.family-size-selection,
.family-members-selection {
    margin-bottom: 15px;
}

.family-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.family-member-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-member-option label {
    font-weight: bold;
}

.family-member-type {
    padding: 5px;
    border-radius: 4px;
}

.family-customization-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.family-customization-section h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customization-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customization-option label {
    font-weight: bold;
    font-size: 1.1em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
}

.option-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.option-item input:checked + img {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.family-custom-edad,
.family-custom-nombre,
.family-custom-estatura {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Media query para móviles */
@media (max-width: 768px) {
    .customization-option {
        background: #f9f9f9;
        padding: 10px;
        border-radius: 6px;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
    }

    .option-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .option-item img {
        width: 70px;
        height: 70px;
    }

    .customization-option label {
        font-size: 1em;
        color: #222;
        margin-bottom: 5px;
    }

    .family-custom-edad,
    .family-custom-nombre,
    .family-custom-estatura {
        max-width: 100%;
        font-size: 0.9em;
    }
}

/* Estilos para el pop-up de precio mínimo (mantener si ya está) */
.price-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.price-alert-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.price-alert-close {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.price-alert-close:hover {
    background: #0056b3;
}

/* Estilo para botón deshabilitado (mantener si ya está) */
.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estilos existentes (mantener los que ya tienes, solo añadir/actualizar lo siguiente) */

/* Estilos para el bloque de Personalización Familia */
.wc-custom-family-customization {
    margin-bottom: 20px;
}

.family-size-selection,
.family-members-selection {
    margin-bottom: 15px;
}

.family-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.family-member-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-member-option label {
    font-weight: bold;
}

.family-member-type {
    padding: 5px;
    border-radius: 4px;
}

.family-customization-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.family-customization-section h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customization-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customization-option label {
    font-weight: bold;
    font-size: 1.1em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
}

.option-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.option-item input:checked + img {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.family-custom-edad,
.family-custom-nombre,
.family-custom-estatura {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Media query para móviles */
@media (max-width: 768px) {
    .customization-options {
        gap: 30px;
    }

    .customization-option {
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .customization-option:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .customization-option label {
        font-size: 1.2em;
        color: #333;
        margin-bottom: 10px;
        border-bottom: 2px solid #007bff;
        padding-bottom: 5px;
    }

    .option-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .option-item img {
        width: 100px;
        height: 100px;
    }

    .family-custom-edad,
    .family-custom-nombre,
    .family-custom-estatura {
        max-width: 100%;
    }
}

/* Estilos para el pop-up de precio mínimo (mantener si ya está) */
.price-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.price-alert-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.price-alert-close {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilo para botón deshabilitado (mantener si ya está) */
.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estilos para el bloque de Personalización Familia */
.wc-custom-family-customization {
    margin-bottom: 20px;
}

.family-size-selection,
.family-members-selection {
    margin-bottom: 15px;
}

.family-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.family-member-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-member-option label {
    font-weight: bold;
}

.family-member-type {
    padding: 5px;
    border-radius: 4px;
}

.family-customization-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.family-customization-section h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customization-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customization-option label {
    font-weight: bold;
    font-size: 1.1em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    display: none; /* Ocultar inputs */
}

.option-item label {
    cursor: pointer;
    display: block;
}

.option-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.option-item input:checked + label img {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Indicador visual para checkboxes seleccionados */
.option-item input[type="checkbox"]:checked + label::after {
    content: '✔';
    position: absolute;
    top: 5px;
    right: 5px;
    color: #007bff;
    font-size: 16px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
}

.family-custom-edad,
.family-custom-nombre,
.family-custom-estatura {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Media query para móviles */
@media (max-width: 768px) {
    .customization-options {
        gap: 30px;
    }

    .customization-option {
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .customization-option:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .customization-option label {
        font-size: 1.2em;
        color: #333;
        margin-bottom: 10px;
        border-bottom: 2px solid #007bff;
        padding-bottom: 5px;
    }

    .option-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .option-item img {
        width: 100px;
        height: 100px;
    }

    .family-custom-edad,
    .family-custom-nombre,
    .family-custom-estatura {
        max-width: 100%;
    }
}

/* Estilos para el pop-up de precio mínimo */
.price-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.price-alert-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.price-alert-close {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilo para botón deshabilitado */
.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-custom-teacher-message.visible {
    display: block !important;
}

.wc-custom-teacher-message {
    display: none;
}
.wc-custom-teacher-message.visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.out-of-stock {
    color: red;
    font-weight: bold;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid red;
    border-radius: 3px;
    background-color: #ffe6e6;
}

/* Estilos para Tamaños Rosco */
.rosco-sizes-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rosco-size-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rosco-size-option label {
    font-weight: bold;
}

/* Estilos para Tamaños Rosco */
.wc-custom-rosco-sizes .rosco-sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.rosco-size-option {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.rosco-size-option:hover {
    border-color: #e91e63;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.rosco-size-option input[type="radio"] {
    display: none;
}

.rosco-size-option label {
    display: block;
    font-weight: bold;
    cursor: pointer;
}

.rosco-size-option input:checked + label {
    color: #e91e63;
}

.rosco-price {
    display: block;
    font-weight: bold;
    color: #e91e63;
    margin-top: 5px;
}

.rosco-size-option.selected {
    background-color: #ffe6f2; /* Rosa claro para resaltar */
    border-color: #e91e63;
    box-shadow: 0 2px 5px rgba(233, 30, 99, 0.2);
}

.rosco-size-option.selected label {
    color: #e91e63;
}

/* Zoom imágenes opciones */
.wc-custom-zoomable-image {
    cursor: zoom-in;
}

.wc-custom-image-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.wc-custom-image-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.wc-custom-image-modal__content {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    max-height: 92vh;
    margin: 4vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-custom-image-modal__img {
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    background: #fff;
}

.wc-custom-image-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

body.wc-custom-image-modal-open {
    overflow: hidden;
}

/* =====================================================
   PERSONALIZACIÓN DÍA DE LA MADRE
   ===================================================== */

.wc-custom-mothers-day {
    margin-bottom: 20px;
    border: 2px solid #e8a0b4;
    border-radius: 12px;
    overflow: hidden;
    background: #fff9fb;
}

.wc-custom-mothers-day .accordion-title.mothers-day-title {
    background: linear-gradient(135deg, #f9c4d8 0%, #f5a0be 100%);
    color: #6b2140;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 1px solid #e8a0b4;
}

.mothers-day-badge {
    background: #fff;
    color: #c0396a;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.82em;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #e8a0b4;
}

.mothers-day-description {
    background: #fff0f5;
    border-left: 4px solid #e8a0b4;
    padding: 12px 16px;
    margin: 16px 16px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 0.92em;
    color: #5a2038;
    line-height: 1.55;
}

.mothers-day-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 16px 6px;
}

.mothers-day-option {
    position: relative;
}

.mothers-day-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mothers-day-label {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #f0c0d0;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
}

.mothers-day-label:hover {
    border-color: #e0608a;
    box-shadow: 0 2px 10px rgba(220,80,120,0.12);
}

.mothers-day-option input[type="radio"]:checked + .mothers-day-label {
    border-color: #c0396a;
    background: #fff0f5;
    box-shadow: 0 3px 14px rgba(192,57,106,0.18);
}

.mothers-day-image-wrap {
    flex-shrink: 0;
    width: 110px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0c0d0;
}

.mothers-day-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}

.mothers-day-label:hover .mothers-day-img {
    transform: scale(1.04);
}

.mothers-day-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mothers-day-info strong {
    font-size: 0.97em;
    color: #3a1020;
    line-height: 1.35;
}

.mothers-day-price {
    display: inline-block;
    background: #c0396a;
    color: #fff;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.9em;
    font-weight: 700;
    width: fit-content;
    margin-top: 2px;
}

.mothers-day-option-desc {
    font-size: 0.82em;
    color: #8a4060;
    margin: 0;
    line-height: 1.4;
}

.mothers-day-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e0c0cc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    font-size: 1.1em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mothers-day-option input[type="radio"]:checked + .mothers-day-label .mothers-day-check {
    background: #c0396a;
    border-color: #c0396a;
    color: #fff;
}

/* Aviso de bloqueo por Día de la Madre */
.mothers-day-lock-notice {
    display: block;
    background: #fff0f5;
    color: #c0396a;
    border: 1px solid #f0b8cc;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 0.88em;
    margin: 6px 0 4px;
    font-style: italic;
}

.mothers-day-locked {
    opacity: 0.7;
    pointer-events: none;
}

.mothers-day-locked .accordion-title {
    cursor: default !important;
}

/* Botón quitar selección */
.mothers-day-clear-wrap {
    text-align: right;
    padding: 0 16px 14px;
}

.mothers-day-clear-btn {
    font-size: 0.82em;
    color: #a03050;
    text-decoration: underline;
    cursor: pointer;
}

.mothers-day-clear-btn:hover {
    color: #c0396a;
}

/* Responsive */
@media (max-width: 500px) {
    .mothers-day-image-wrap {
        width: 80px;
        height: 70px;
    }
    .mothers-day-label {
        gap: 10px;
        padding: 10px;
    }
}
