/* ============================================================================
   CUSTOMIZATION MODAL STYLES
   Estilos para el modal de personalización de productos
   ============================================================================ */

/* Modal Dark Theme */
#customizationModal .modal-content {
    background: #1a1a1a !important;
    border: 1px solid #333;
}

/* Emergency mobile compact override: make product cards much less tall */
@media (max-width: 575px) {
    .dishes-card {
        margin: 4px 0 !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    }

    .dishes-card .dishes-thumb,
    .dishes-card.style5 > img,
    .dishes-card.style5 > a > img,
    .dishes-card .product-image-carousel {
        padding: 6px !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .dishes-card .dishes-thumb img,
    .dishes-card.style5 > img,
    .dishes-card.style5 > a > img {
        max-width: 80% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    .dishes-card .dishes-content {
        padding: 6px 8px !important;
        background: linear-gradient(180deg,#0b0b0b,#111) !important;
        color: #fff !important;
    }

    .dishes-card .dishes-content h3 {
        font-size: 14px !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.05 !important;
    }

    .dishes-card .dishes-content .text {
        font-size: 12px !important;
        color: #cfcfcf !important;
        margin: 0 0 6px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .dishes-card .dishes-content h6 {
        font-size: 13px !important;
        margin: 0 0 6px 0 !important;
        color: #ffb84d !important;
    }

    .dishes-card .theme-btn {
        padding: 6px 8px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }

    /* ensure any inline styles or previous rules don't force larger widths/heights */
    .dishes-card, .dishes-card * {
        box-sizing: border-box !important;
        max-height: none !important;
        height: auto !important;
    }
}

/* Final mobile card polish: imagen arriba, contenido abajo, full-width y badge sobre la imagen */
@media (max-width: 575px) {
    .dishes-card-wrap.style4,
    #grid-wrap.dishes-card-wrap,
    #list-wrap.dishes-card-wrap {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .dishes-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 6px 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: transparent !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.28) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Imagen: reducir padding y altura para tarjetas menos largas */
    .dishes-card .dishes-thumb,
    .dishes-card.style5 > img,
    .dishes-card.style5 > a > img,
    .dishes-card .product-image-carousel {
        background: #ffffff !important;
        padding: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 90px !important;
    }

    .dishes-card .dishes-thumb img,
    .dishes-card.style5 > img,
    .dishes-card.style5 > a > img {
        width: auto !important;
        max-width: 88% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    /* Contenido: reducir padding y texto para evitar tarjetas demasiado altas */
    .dishes-card .dishes-content {
        width: 100% !important;
        padding: 10px !important;
        background: linear-gradient(180deg,#0b0b0b,#111) !important;
        color: #fff !important;
        box-sizing: border-box !important;
    }

    .dishes-card .dishes-content h3 {
        color: #fff !important;
        margin-bottom: 6px !important;
        font-size: 15px !important;
    }

    .dishes-card .dishes-content .text {
        color: #cfcfcf !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 2 !important;
    }

    .dishes-card .dishes-content h6 {
        color: #ffb84d !important;
        margin-bottom: 8px !important;
        font-size: 14px !important;
    }

    .dishes-card .theme-btn {
        display: inline-block !important;
        margin-top: 6px !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    /* Badge sobre la imagen (posición absoluta relativa al thumb) */
    .dishes-card .customizable-badge,
    .dishes-card .valentine-favorite-badge {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 40 !important;
        margin: 0 !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

#customizationModal .modal-header,
#customizationModal .modal-footer {
    border-color: #333 !important;
}

#customizationModal .step-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Animación de despliegue para pasos */
.customization-step {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile: eliminar scrollbar interno en "Nuestros productos mejor valorados" */
@media (max-width: 575px) {
    .popular-dishes-wrapper .dishes-card-wrap,
    .popular-dishes-wrapper .dishes-card-wrap * {
        overflow: visible !important;
        -webkit-overflow-scrolling: auto !important;
        scrollbar-width: none !important;
    }
    .popular-dishes-wrapper .dishes-card-wrap::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* Progress Steps */
.customization-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 10px;
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.customization-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #444;
    z-index: 0;
}

.customization-steps {
    position: relative;
}

.customization-steps .d-flex::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #444;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 80px;
    opacity: 0.3;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.step.completed {
    opacity: 1;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #3a3a3a;
}

.step.completed .step-number {
    background: #3a3a3a;
    color: #FC791A;
    border-color: #FC791A;
}

.step.active .step-number {
    background: linear-gradient(135deg, #FC791A 0%, #FFA500 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(252, 121, 26, 0.5);
    border-color: #FC791A;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #3a3a3a;
}

.step.completed .step-circle {
    background: #3a3a3a;
    color: #FC791A;
    border-color: #FC791A;
}

.step.active .step-circle {
    background: linear-gradient(135deg, #FC791A 0%, #FFA500 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(252, 121, 26, 0.5);
    border-color: #FC791A;
}

.step-label {
    font-size: 12px;
    color: #666;
}

.step.active .step-label {
    color: #ffffff;
    font-weight: 600;
}

.step.completed .step-label {
    color: #aaa;
}

/* Typography Options */
.typography-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .typography-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .typography-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.typography-reference {
    text-align: center;
}

.typography-reference img {
    max-width: 100%;
    height: auto;
    border: 2px solid #333;
}

/* Imagen principal de tipografías (lado izquierdo) */
.main-typography-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 2px solid #333;
}

/* Contenedor de opciones de tipografía (lado derecho) */
.typography-options {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.typography-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

@media (min-width: 992px) {
    .typography-numbers {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .customization-progress::before,
    .customization-steps .d-flex::before {
        left: 2%;
        right: 2%;
    }
    .step {
        min-width: 72px;
        margin: 0 8px;
    }
}

/* Make sure progress stays horizontal on small screens and is scrollable */
@media (max-width: 480px) {
    .customization-progress {
        padding: 0 8px;
    }
    .customization-progress .step-label {
        display: block;
        font-size: 11px;
    }
}

/* Mobile: show only current step and keep progress horizontal */
@media (max-width: 767px) {
    .customization-progress {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-x: hidden !important;
        padding: 0 6px !important;
    }

/* Specific mobile layout for color options: force 4-per-row and center the 5th */
@media (max-width: 480px) {
    .color-options {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
        justify-items: center;
        align-items: start;
    }

    .color-option {
        min-height: 110px !important;
        padding: 10px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .color-option .color-preview {
        width: 56px !important;
        height: 56px !important;
    }

    /* Center the 5th item below the four by spanning middle columns */
    .color-options .color-option:nth-child(5) {
        grid-column: 2 / span 2;
        justify-self: center;
    }

    .color-name {
        font-size: 12px !important;
        line-height: 1.2;
        word-break: break-word;
    }
}

    /* Hide the connecting line on mobile for clarity */
    .customization-progress::before,
    .customization-steps .d-flex::before {
        display: none !important;
    }

    /* Hide all steps except the active one */
    .customization-progress .step,
    .customization-steps .step {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .customization-progress .step.active,
    .customization-steps .step.active {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: auto;
        margin: 0 !important;
    }

    /* Ensure step-number remains visible and centered */
    .customization-progress .step .step-number,
    .customization-steps .step .step-number {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
    }

    .step-label {
        font-size: 12px !important;
        margin-top: 6px;
    }
}

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

@media (max-width: 768px) {
    .typography-numbers {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .typography-numbers {
        grid-template-columns: repeat(3, 1fr);
    }
}

.typography-option {
    background: #252525;
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.typography-option:hover {
    border-color: #FC791A;
    transform: translateY(-3px);
    background: rgba(252, 121, 26, 0.1);
    box-shadow: 0 2px 8px rgba(252, 121, 26, 0.2);
}

.typography-option.selected {
    border-color: #FC791A;
    background: rgba(252, 121, 26, 0.2);
    box-shadow: 0 0 20px rgba(252, 121, 26, 0.4);
}

.typo-number {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.typography-option.selected .typo-number {
    color: #FC791A;
}

.typo-preview {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Color Options */
.color-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    align-items: start;
}

/* Desktop: center color options and use fixed column width for consistent cards */
@media (min-width: 768px) {
    .color-options {
        grid-template-columns: repeat(auto-fit, 160px);
        justify-content: center;
        justify-items: center;
        gap: 20px;
    }

    .color-option {
        width: 160px;
        min-height: 130px;
        box-sizing: border-box;
    }
}

@media (min-width: 1200px) {
    .color-options {
        grid-template-columns: repeat(auto-fit, 180px);
        gap: 24px;
    }

    .color-option {
        width: 180px;
        min-height: 140px;
    }
}

.color-option {
    background: #252525;
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
}

.color-option:hover {
    border-color: #FC791A;
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(252, 121, 26, 0.2);
}

.color-option.selected {
    border-color: #FC791A;
    background: rgba(252, 121, 26, 0.15);
    box-shadow: 0 0 20px rgba(252, 121, 26, 0.4);
}

.color-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.color-option.selected .color-preview {
    border-color: #FC791A;
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* Name Input */
#customName {
    font-size: 24px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    background: #252525;
    border: 2px solid #3a3a3a;
    color: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

#customName:focus {
    background: #2a2a2a;
    border-color: #FC791A;
    box-shadow: 0 0 15px rgba(252, 121, 26, 0.2);
    color: #ffffff;
    outline: none;
}

#customName::placeholder {
    color: #666;
}

.name-input-container .form-label {
    color: #ffffff;
    font-weight: 500;
}

.name-input-container .form-text {
    color: #ccc;
}


#customName::placeholder {
    color: #666;
}

/* Position Options */
.position-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.position-reference {
    text-align: center;
}

.position-reference img {
    max-width: 100%;
    height: auto;
    border: 2px solid #3a3a3a;
}

.position-choices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 480px) {
    .position-choices {
        grid-template-columns: 1fr;
    }
}

.position-option {
    background: #252525;
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.position-option:hover {
    border-color: #FC791A;
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(252, 121, 26, 0.2);
}

.position-option.selected {
    border-color: #FC791A;
    background: rgba(252, 121, 26, 0.15);
    box-shadow: 0 0 20px rgba(252, 121, 26, 0.4);
}

.position-name-label {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

/* Botones de posición: apariencia larga y premium */
.position-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 220px;
    max-width: 420px;
    width: 320px;
    padding: 16px 22px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.position-option .position-preview {
    width: 64px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.position-option .position-label,
.position-option .position-name-label {
    font-size: 18px;
    font-weight: 700;
    color: #f7f7f7;
    text-transform: none;
}

.position-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.55);
    border-color: rgba(252,121,26,0.18);
}

.position-option.selected {
    border-color: #FC791A;
    box-shadow: 0 18px 40px rgba(252,121,26,0.12), 0 6px 18px rgba(0,0,0,0.5);
}

/* Mobile: botones ocupan ancho cómodo y se ven grandes y centrados */
@media (max-width: 767px) {
    .position-option {
        width: calc(100% - 24px) !important;
        max-width: 720px !important;
        padding: 16px 20px !important;
        margin: 8px auto !important;
        box-sizing: border-box !important;
        min-height: 64px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        overflow: hidden !important;
    }

    .position-option .position-preview {
        flex: 0 0 56px !important;
        width: 56px !important;
        height: 40px !important;
    }

    .position-option .position-label,
    .position-option .position-name-label {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding-left: 12px !important;
        text-align: center !important;
        font-size: 16px !important;
    }
}

/* Ensure mobile: position options become full-width stacked buttons */
@media (max-width: 767px) {
    #positionOptions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 8px 12px !important;
    }

    /* Make position-option a responsive row: preview + label
       Prevent label wrapping and use ellipsis if it overflows */
    .position-option {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 16px !important;
        margin: 6px 0 !important;
        box-sizing: border-box !important;
        min-height: 56px !important;
        overflow: hidden !important;
    }

    .position-option .position-preview {
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 36px !important;
    }

    .position-option .position-label,
    .position-option .position-name-label {
        flex: 1 1 auto !important;
        min-width: 0 !important; /* allow flex children to shrink */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding-left: 12px !important;
        text-align: left !important;
    }
}

/* Desktop: keep premium look but stack options vertically (one above the other) */
@media (min-width: 768px) {
    #positionOptions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 18px;
    }

    .position-option {
        width: 420px !important;
        max-width: 80% !important;
    }
}

/* Mobile: centrar todo en el paso 3 (nombre) */
@media (max-width: 767px) {
    .customization-step#step3 .name-input-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 12px;
    }

    .customization-step#step3 .input-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .customization-step#step3 #customName {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
    }

    .customization-step#step3 .input-feedback,
    .customization-step#step3 .form-label,
    .customization-step#step3 .form-text,
    .customization-step#step3 .char-count {
        text-align: center;
        width: 100%;
    }
}

/* Mobile: center text inside inputs and textareas in the customization modal */
@media (max-width: 767px) {
    #customizationModal input[type="text"],
    #customizationModal input[type="search"],
    #customizationModal input[type="email"],
    #customizationModal textarea,
    #customizationModal .form-control {
        text-align: center !important;
        -webkit-text-size-adjust: 100%;
    }

    /* Center placeholder text as well */
    #customizationModal input::placeholder,
    #customizationModal textarea::placeholder {
        text-align: center !important;
        color: #bdbdbd !important;
        opacity: 1 !important;
    }
}

/* Desktop: garantizar textos claros dentro del modal (evitar negros) */
@media (min-width: 768px) {
    #customizationModal .modal-body,
    #customizationModal .modal-body .step-header,
    #customizationModal .modal-body .step-title,
    #customizationModal .modal-body .step-description,
    #customizationModal .modal-body .name-input-container .form-label,
    #customizationModal .modal-body .name-input-container .form-text,
    #customizationModal .modal-body .preview-item,
    #customizationModal .modal-body .preview-item strong,
    #customizationModal .modal-body .preview-item span,
    #customizationModal .modal-body .color-name,
    #customizationModal .modal-body .position-label {
        color: #f2f2f2 !important;
    }

    /* Asegurar placeholders y textos secundarios sean legibles */
    #customizationModal .modal-body ::placeholder {
        color: #bdbdbd !important;
        opacity: 1;
    }

    /* Center everything in Step 3 (desktop and larger) */
    .customization-step#step3 .name-input-container,
    .customization-step#step3 .input-wrapper,
    .customization-step#step3 .input-feedback,
    .customization-step#step3 .form-label,
    .customization-step#step3 .form-text,
    .customization-step#step3 .char-count {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .customization-step#step3 #customName {
        width: 420px;
        max-width: 60%;
        margin: 0 auto;
        text-align: center;
        font-size: 22px;
    }
    .customization-step#step3 .form-label {
        margin-bottom: 8px;
    }
}

.position-option.selected .position-name-label {
    color: #FC791A;
}

.belt-outline {
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #c41e3a 0%, #8b0000 100%);
    border-radius: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 2px 10px rgba(0,0,0,0.5),
        0 5px 20px rgba(0,0,0,0.3);
}

.belt-outline::before {
    content: 'MARESTRONG FITNESS';
    position: absolute;
    top: 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    font-weight: bold;
    letter-spacing: 1px;
}

.centro-preview .text-position {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.abajo-preview .text-position {
    position: absolute;
    bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.position-label {
    font-size: 16px;
    font-weight: 600;
    color: #f5f5f5;
    margin-top: 10px;
}

.position-name {
    font-size: 16px;
    font-weight: 600;
    color: #f5f5f5;
    margin-top: 10px;
}

.position-preview i {
    font-size: 36px;
    color: #FC791A;
}

/* Final mobile override: ensure position option label is centered inside its box */
@media (max-width: 767px) {
    #positionOptions .position-option {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    #positionOptions .position-option .position-label,
    #positionOptions .position-option .position-name-label {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    /* Ensure preview stays to the left but small, and label centers next to it */
    #positionOptions .position-option .position-preview {
        margin-right: 10px !important;
    }
}

/* Modal Customizations */
#customizationModal .modal-content {
    background: #1a1a1a !important;
    border: 1px solid #3a3a3a;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
}

#customizationModal .modal-header {
    border-bottom: 1px solid #3a3a3a;
}

#customizationModal .modal-header .modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #f5f5f5;
}

#customizationModal .modal-footer {
    background: #1a1a1a;
    border-top: 1px solid #3a3a3a;
}

/* Buttons */
#nextStepBtn, #addToCartBtn {
    background: linear-gradient(135deg, #FC791A 0%, #FFA500 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

#nextStepBtn:hover, #addToCartBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(252, 121, 26, 0.5);
}

#prevStepBtn {
    background: transparent;
    border: 2px solid #5a5a5a;
    padding: 12px 30px;
    font-weight: 600;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

#prevStepBtn:hover {
    background: #2a2a2a;
    border-color: #FC791A;
    color: #FC791A;
}

/* Final Preview */
.final-preview {
    background: #252525;
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.final-preview h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.preview-box {
    display: grid;
    gap: 12px;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.preview-item strong {
    color: #ccc;
    font-weight: 500;
}

.preview-item span {
    color: #FC791A;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .customization-steps .d-flex::before {
        display: none;
    }
    
    .step {
        margin-bottom: 15px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .typography-option {
        padding: 15px 5px;
    }
    
    .typo-preview {
        font-size: 14px;
    }
    
    .belt-outline {
        height: 100px;
    }

    .centro-preview .text-position,
    .abajo-preview .text-position {
        font-size: 14px;
    }
}

/* ============================================================================
   ENHANCED CUSTOMIZATION MODAL STYLES
   Mejoras adicionales para el modal de personalización
   ============================================================================ */

/* Modal Header Gradient */
.modal-header.bg-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 2px solid #FC791A !important;
}

/* Step Icons */
.step-icon {
    font-size: 20px;
    color: #666;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    color: #FC791A;
    transform: scale(1.1);
}

.step.completed .step-icon {
    color: #FC791A;
}

/* Step Headers */
.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Enhanced Progress Bar */
.customization-progress::before {
    background: linear-gradient(90deg, #FC791A 0%, #FFA500 50%, #444 50%);
    background-size: 200% 100%;
    animation: progressFlow 2s ease-in-out infinite;
}

@keyframes progressFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Input Group Custom */
.input-group-custom {
    max-width: 400px;
    margin: 0 auto;
}

.input-wrapper {
    position: relative;
}

.input-feedback {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.char-count {
    font-size: 0.85rem;
}

/* Enhanced Buttons */
.btn-gradient {
    background: linear-gradient(135deg, #FC791A 0%, #FFA500 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 121, 26, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(252, 121, 26, 0.5);
    background: linear-gradient(135deg, #E66A00 0%, #FF8C00 100%);
}

/* Belt Preview Enhancement */
.belt-preview {
    margin-bottom: 1.5rem;
}

.belt-outline {
    position: relative;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #c41e3a 0%, #8b0000 100%);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 2px 10px rgba(0,0,0,0.5),
        0 5px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

.belt-text {
    font-size: 16px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.belt-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    pointer-events: none;
}

/* Preview Details */
.preview-details {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #333;
}

.preview-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #252525;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.preview-item:hover {
    background: #2a2a2a;
    transform: translateX(5px);
}

.preview-item strong {
    flex: 1;
    color: #ccc;
    font-weight: 500;
}

.preview-item span {
    color: #FC791A;
    font-weight: 600;
}

/* Loading States */
.customization-step.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    border-top-color: #FC791A;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error States */
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success States */
.input-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Enhanced Responsiveness */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .input-group-custom {
        max-width: 100%;
    }

    .belt-outline {
        height: 60px;
    }

    .belt-text {
        font-size: 12px;
    }

    .preview-details {
        padding: 1rem;
    }

    .preview-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* iPad Mini (768x1024) */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 834px) {
    #customizationModal .modal-dialog {
        max-width: 85% !important;
        margin: 1.5rem auto !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    #customizationModal .modal-content {
        margin: 0 auto !important;
    }
}

/* iPad Air (820x1180), Surface Pro (912x1368) y tablets similares */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) {
    #customizationModal .modal-dialog {
        max-width: 90% !important;
        width: 90% !important;
        margin: 1.75rem auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    #customizationModal .modal-content {
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    #customizationModal .modal-body {
        padding: 2rem 1.5rem !important;
    }
    
    .step-title {
        font-size: 1.4rem;
    }
    
    .belt-outline {
        height: 75px;
    }
    
    /* Asegurar centrado del contenido interno */
    #customizationModal .container-fluid,
    #customizationModal .customization-step {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Surface Pro específico (912x1368) */
@media only screen 
  and (min-width: 912px) 
  and (max-width: 1024px) {
    #customizationModal .modal-dialog {
        max-width: 85% !important;
        margin: 2rem auto !important;
    }
}

/* Tablets grandes y iPad Pro (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    #customizationModal .modal-dialog {
        max-width: 800px !important;
        margin: 2rem auto !important;
    }
}

/* Orientación landscape para tablets */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1180px)
  and (orientation: landscape) {
    #customizationModal .modal-dialog {
        max-width: 95% !important;
        margin: 1rem auto !important;
    }
    
    #customizationModal .modal-body {
        padding: 1.5rem !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 480px) {
    .customization-progress {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .step-number {
        order: -1;
    }

    .modal-footer .ms-auto {
        margin-left: 0 !important;
        width: 100%;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Accessibility tweaks: ensure inputs and labels are visible on dark modal */
#customizationModal .modal-content,
#customizationModal .modal-body,
#customizationModal .modal-header,
#customizationModal .modal-footer {
    color: #eef2f7 !important; /* texto claro */
}

#customizationModal .form-label,
#customizationModal label,
#customizationModal .step-title,
#customizationModal .step-description,
#customizationModal .preview-item strong,
#customizationModal .preview-item span {
    color: #f3f4f6 !important;
}

/* Inputs and placeholders */
#customizationModal .form-control {
    background: #111217 !important;
    color: #f8fafc !important;
    border: 1px solid #2b2f36 !important;
}

#customizationModal .form-control::placeholder {
    color: #9ca3af !important;
    opacity: 1;
}

/* Step visuals alignment */
.customization-progress {
    align-items: center;
}
.customization-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.customization-progress .step-label {
    font-size: 0.9rem;
    color: #d1d5db;
}
.customization-progress .step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222228;
    color: #cbd5e1;
    font-weight: 700;
}
.customization-progress .step.active .step-number,
.customization-progress .step.completed .step-number {
    background: linear-gradient(135deg,#FC791A,#FFA500);
    color: #fff;
}

/* Typography grid alignment */
.typography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    gap: 12px;
    align-items: start;
}
.typography-grid .typography-option {
    background: #121217;
    border: 1px solid #27272a;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}
.typography-grid .typography-option img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}
.typography-grid .typography-option .typo-name {
    color: #e6edf3;
    font-size: 0.9rem;
}

/* Color swatches */
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.color-swatch {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.color-swatch.selected {
    outline: 3px solid rgba(255,167,38,0.14);
    border-color: #ffb86b;
}

/* Position options alignment */
.position-options {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.position-option {
    background: #0f1113;
    border: 1px solid #26282c;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #e6edf3;
}
.position-option.selected {
    background: linear-gradient(90deg,#1f2937,#111827);
    border-color: #374151;
}

/* Ensure modal footer buttons are aligned and prominent */
#customizationModal .modal-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}
#customizationModal .modal-footer .btn {
    min-width: 140px;
}

/* Accessibility: make icons and small text lighter */
.step-description,
.preview-box .preview-item,
.form-text {
    color: #9ca3af !important;
}

/* Small screens adjustments */
@media (max-width: 576px) {
    .typography-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .color-swatch { width: 48px; height: 48px; }
}

/* Strong mobile override to ensure product cards fill and display 2-per-row */
@media (max-width: 575px) {
    body .dishes-card-wrap.style4 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        align-items: stretch !important;
    }

    body .dishes-card-wrap.style4 .dishes-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: 0 !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    body .dishes-card .dishes-thumb {
        flex: 0 0 140px !important;
        height: 140px !important;
        min-height: 140px !important;
        overflow: hidden !important;
        border-radius: 10px 10px 0 0 !important;
        display: block !important;
    }

    body .dishes-card .dishes-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    body .dishes-card .dishes-content {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 10px !important;
    }

    body .dishes-card .dishes-content .text {
        -webkit-line-clamp: 3 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
    }

    body .dishes-card .dishes-content .theme-btn {
        width: 100% !important;
        margin-top: 8px !important;
        flex: 0 0 auto !important;
        align-self: stretch !important;
    }
}

/* Mobile: show products as horizontal rows (image left, content right), full-width single column */
@media (max-width: 575px) {
    /* Make the product list a single column of rows */
    .dishes-card-wrap.style4,
    #grid-wrap.dishes-card-wrap,
    #list-wrap.dishes-card-wrap {
        display: block !important;
        gap: 12px !important;
    }

    /* Stack image above content so content width equals full card width */
    .dishes-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 8px 0 !important;
        border-radius: 10px !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Image area full width */
    .dishes-card .dishes-thumb {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 120px !important;
        overflow: hidden !important;
        border-radius: 10px 10px 0 0 !important;
        background: transparent !important;
        display: block !important;
    }

    .dishes-card .dishes-thumb img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Content full width matching the card */
    .dishes-card .dishes-content {
        flex: 0 0 auto !important;
        width: 100% !important;
        display: block !important;
        padding: 12px !important;
        gap: 6px !important;
        border-radius: 0 0 10px 10px !important;
        background: #111 !important;
        color: #fff !important;
        box-sizing: border-box !important;
    }

    /* Reduce title size and clamp description to avoid tall cards */
    .dishes-card .dishes-content h3 {
        font-size: 16px !important;
        margin: 0 !important;
        line-height: 1.1 !important;
    }

    .dishes-card .dishes-content .text {
        -webkit-line-clamp: 3 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    /* Put CTA below content but compact */
    .dishes-card .dishes-content .theme-btn {
        width: auto !important;
        align-self: flex-start !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* Make add / personalizar buttons darker on mobile, closer to desktop */
    .dishes-card .dishes-content .theme-btn.style6,
    .dishes-card .dishes-content .theme-btn.js-customize,
    .dishes-card .dishes-content a.theme-btn.style6.js-customize {
        /* darker, premium orange (less neon, still attention-grabbing) */
        background-color: #D97706 !important; /* warm orange */
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 4px 18px rgba(217,121,6,0.12) !important;
    }

    .dishes-card .dishes-content .theme-btn.style6 i,
    .dishes-card .dishes-content .theme-btn.js-customize i {
        color: #ffffff !important;
        background: transparent !important;
    }

    .dishes-card .dishes-content .theme-btn.style6:hover,
    .dishes-card .dishes-content .theme-btn.js-customize:hover {
        background-color: #C2410C !important; /* slightly deeper orange on hover */
        color: #ffffff !important;
    }

    /* Ensure badges or absolute elements don't overflow layout */
    .dishes-card .customizable-badge,
    .dishes-card .valentine-favorite-badge {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        margin-bottom: 6px !important;
        transform: none !important;
    }
}

/* Final enforcement: ensure image and content use exactly same visual width on mobile */
@media (max-width: 575px) {
    .dishes-card,
    .dishes-card * {
        box-sizing: border-box !important;
    }

    .dishes-card .dishes-thumb,
    .dishes-card .dishes-content {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* If content needs inner spacing, use an inner wrapper so it doesn't affect overall width */
    .dishes-card .dishes-content > * {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Ensure the image fills its container fully */
    .dishes-card .dishes-thumb img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* Additional mobile fixes for cards that render image as direct child or carousel */
@media (max-width: 575px) {
    /* Make the card a horizontal flex row if not already */
    .dishes-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    /* If carousel uses inner img elements, ensure they fill the carousel container */
    .dishes-card .product-image-carousel img.carousel-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}
/* ============================================
   SIZE OPTIONS STYLES - BOTONES PREMIUM
   ============================================ */
.size-option-btn {
    background: linear-gradient(135deg, #FC791A 0%, #FF9B50 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 18px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(252, 121, 26, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 140px;
    outline: none;
    position: relative;
    overflow: hidden;
}

.size-option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.size-option-btn:hover::before {
    left: 100%;
}

.size-option-btn .size-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-transform: capitalize;
}

.size-option-btn .size-code {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

.size-option-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(252, 121, 26, 0.35);
    background: linear-gradient(135deg, #FF9B50 0%, #FC791A 100%);
}

.size-option-btn:active {
    transform: translateY(-2px);
}

.size-option-btn.selected {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-color: #FC791A;
    box-shadow: 0 0 0 3px rgba(252, 121, 26, 0.3), 0 8px 24px rgba(252, 121, 26, 0.4);
    transform: translateY(-4px);
}

.size-option-btn.selected .size-code {
    color: #FC791A;
}

/* Responsive para móviles */
@media (max-width: 767px) {
    .size-option-btn {
        min-width: 120px;
        padding: 15px 22px;
    }
    
    .size-option-btn .size-name {
        font-size: 14px;
    }
    
    .size-option-btn .size-code {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    #sizeOptions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
        padding: 0 20px;
    }
    
    .size-option-btn {
        width: 100%;
        max-width: 300px;
        min-width: unset;
    }
}

/* Estilos antiguos deprecados - mantener por compatibilidad */
.size-option {
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
}

.size-option .size-box {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.1));
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.size-option .size-box i {
    font-size: 32px;
    color: #FC791A;
    transition: all 0.3s ease;
}

.size-option .size-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 8px;
    margin-bottom: 4px;
}

.size-option .size-code {
    font-size: 20px;
    font-weight: 700;
    color: #FC791A;
    letter-spacing: 1px;
}

.size-option:hover .size-box {
    transform: translateY(-5px);
    border-color: rgba(252, 121, 26, 0.4);
    box-shadow: 0 10px 25px rgba(252, 121, 26, 0.15);
}

.size-option:hover .size-box i {
    transform: scale(1.1);
    color: #FF9B50;
}

.size-option.selected .size-box {
    background: linear-gradient(145deg, rgba(252, 121, 26, 0.15), rgba(252, 121, 26, 0.05));
    border-color: #FC791A;
    box-shadow: 0 0 0 3px rgba(252, 121, 26, 0.2), 0 15px 35px rgba(252, 121, 26, 0.25);
    transform: translateY(-5px);
}

.size-option.selected .size-box i {
    color: #FF9B50;
    transform: scale(1.15);
}

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

/* Responsive para móviles */
@media (max-width: 767px) {
    .size-option {
        width: 120px;
    }
    
    .size-option .size-box {
        padding: 15px 10px;
        min-height: 120px;
    }
    
    .size-option .size-box i {
        font-size: 28px;
    }
    
    .size-option .size-label {
        font-size: 14px;
    }
    
    .size-option .size-code {
        font-size: 18px;
    }
}