/* Contenedor principal */
.escalas-frontend-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Banner */
.escalas-banner {
    background: linear-gradient(135deg, #009e89 0%, #009e89 50%, #047857 100%);
    color: #fff;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.escalas-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.escalas-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.escalas-banner-content {
    position: relative;
    z-index: 1;
}

.escalas-banner-content h1 {
    margin: 0 0 15px 0;
    font-size: 2.5em;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.escalas-banner-content p {
    margin: 0;
    font-size: 1.2em;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Filtro de categorías */
.escalas-category-filter {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.escalas-filter-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.escalas-filter-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

/* Botón toggle para móvil */
.escalas-filter-toggle {
    display: none;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    outline: none;
}

.escalas-filter-toggle:hover {
    background: #e5e7eb;
    border-color: #009e89;
}

.escalas-filter-toggle.active {
    background: #009e89;
    border-color: #009e89;
}

.escalas-filter-toggle.active .escalas-filter-toggle-icon {
    transform: rotate(180deg);
}

.escalas-filter-toggle-icon {
    color: #1f2937;
    transition: transform 0.3s ease;
}

.escalas-filter-toggle.active .escalas-filter-toggle-icon {
    color: #fff;
}

.escalas-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.escalas-filter-btn {
    padding: 10px 20px;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.escalas-filter-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.escalas-filter-btn.active {
    background: linear-gradient(135deg, #009e89 0%, #009e89 100%);
    border-color: #40e1ab;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgb(0 158 137 / .3);
}

.escalas-filter-btn.active:hover {
    background: linear-gradient(135deg, #009e89 0%, #009e89 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 158, 137, 0.4);
}

del .woocommerce-Price-amount {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9em;
}

/* Comportamiento responsive para filtros */
@media (max-width: 768px) {
    .escalas-filter-toggle {
        display: flex;
    }
    
    .escalas-filter-buttons {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
        margin-top: 0;
    }
    
    .escalas-category-filter.active .escalas-filter-buttons {
        max-height: 1000px;
        opacity: 1;
        margin-top: 20px;
    }
    
    .escalas-filter-header {
        margin-bottom: 0;
    }
    
    .escalas-category-filter.active .escalas-filter-header {
        margin-bottom: 20px;
    }
}

/* Wrapper para las tarjetas de producto (para filtrado) */
.escalas-product-card-wrapper {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.escalas-product-card-wrapper[style*="display: none"] {
    display: none !important;
}

/* Grid de productos */
.escalas-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    animation: fadeIn 0.6s ease-in;
}

/* Grid responsive mejorado */
@media (min-width: 1400px) {
    .escalas-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1399px) {
    .escalas-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .escalas-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Tarjeta de producto */
.escalas-product-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.escalas-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009e89 0%, #009e89 50%, #047857 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.escalas-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
    border-color: #009e89;
}

.escalas-product-card:hover::before {
    transform: scaleX(1);
}

/* Imagen del producto */
.escalas-product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    overflow: hidden;
    position: relative;
}

.escalas-product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.escalas-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.escalas-product-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.escalas-product-card:hover .escalas-product-image img {
    transform: scale(1.08) rotate(1deg);
}

/* Información del producto */
.escalas-product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    position: relative;
}

/* Título del producto */
.escalas-product-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.escalas-product-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.escalas-product-title a:hover {
    color: #009e89;
}

/* Control de cantidad */
.escalas-quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.escalas-quantity-wrapper:hover {
    border-color: #009e89;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.escalas-qty-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.escalas-quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #009e89;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.qty-btn {
    background: linear-gradient(135deg, #009e89 0%, #009e89 100%);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-btn:hover {
    background: linear-gradient(135deg, #009e89 0%, #047857 100%);
    transform: scale(1.05);
}

.qty-btn:active {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: scale(0.95);
}

.qty-input {
    width: 55px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 2px solid rgba(16, 185, 129, 0.3);
    border-right: 2px solid rgba(16, 185, 129, 0.3);
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    background: #fff;
}

.qty-input:focus {
    outline: none;
    background: #f0fdf4;
}

/* Tabla de precios compacta */
.escalas-pricing-compact {
    width: 100%;
    overflow-x: auto;
}

.escalas-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.escalas-price-table thead {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.escalas-price-table th {
    padding: 10px 6px;
    text-align: center;
    font-weight: 700;
    color: #009e89;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.escalas-price-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.escalas-price-table tbody tr:hover {
    background: linear-gradient(90deg, #f9fafb 0%, #f3f4f6 100%);
}

.escalas-price-table tbody tr:last-child {
    border-bottom: none;
}

.escalas-price-table td {
    padding: 12px 6px;
    vertical-align: middle;
    text-align: center;
}

/* Columna cantidad con radio */
.escala-cant {
    width: 25%;
}

.escala-select-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.escala-radio {
    cursor: pointer;
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #ff4a5a;
}

.escala-radio:checked {
    accent-color: #ff4a5a;
}

.escala-row.active-row .escala-radio:checked {
    accent-color: #ff4a5a;
}

.escala-cantidad-num {
    font-weight: 700;
    color: #374151;
    font-size: 14px;
}

/* Columna precio unitario */
.escala-precio-unit {
    width: 40%;
    font-weight: 600;
    color: #009e89;
    font-size: 14px;
}

.escala-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff5c68 0%, #ff5c68 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Columna total */
.escala-total {
    width: 35%;
}

.escala-total-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.precio-con-desc {
    font-weight: 800;
    color: #009e89;
    font-size: 16px;
    display: block;
    margin-bottom: 3px;
}

.precio-sin-desc {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
    font-weight: 400;
}

/* Fila activa */
.escala-row.active-row {
    background: linear-gradient(90deg, #d1fae5 0%, #a7f3d0 50%, #d1fae5 100%) !important;
    box-shadow: inset 0 0 0 2px #009e89;
    transform: scale(1.02);
}

.escala-row.active-row .escala-cantidad-num {
    color: #009e89;
    font-weight: 900;
    font-size: 16px;
}

.escala-row.active-row .escala-precio-unit {
    color: #047857;
    font-weight: 800;
    font-size: 15px;
}

.escala-row.active-row .precio-con-desc {
    color: #047857;
    font-size: 18px;
}

/* Totales dinámicos */
.escalas-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 8px;
    border: 2px solid #009e89;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}

.escalas-totals:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.escalas-unit-price,
.escalas-current-total,
.escalas-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-price-label,
.total-label,
.savings-label {
    font-size: 13px;
    font-weight: 700;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.unit-price-value {
    font-size: 17px;
    font-weight: 800;
    color: #047857;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.unit-price-value del.current-unit-price-regular {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 15px;
    font-weight: 600;
}

.unit-price-value .current-unit-price-discounted {
    color: #047857;
    font-weight: 800;
    font-size: 17px;
}

.total-value {
    font-size: 20px;
    font-weight: 900;
    color: #009e89;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.savings-value {
    font-size: 16px;
    font-weight: 900;
    color: #ff4a5a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contenedor de botones de acción */
.escalas-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

/* Botón agregar al carrito */
.escalas-btn-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff5c68 0%, #ff4757 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 92, 104, 0.35);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
}

.escalas-btn-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff4757 0%, #ff3142 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(255, 92, 104, 0.45);
}

.escalas-btn-add-to-cart:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 92, 104, 0.35);
}

.escalas-btn-add-to-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.escalas-btn-add-to-cart.loading {
    pointer-events: none;
}

.escalas-btn-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.escalas-btn-add-to-cart .btn-text {
    line-height: 1;
}

/* Botón seleccionar opciones (productos variables) */
.escalas-btn-select-options {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff5c68  0%, #ff5c68 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 158, 137, 0.35);
    text-transform: none;
    letter-spacing: 0.3px;
}

.escalas-btn-select-options:hover {
    background: linear-gradient(135deg, #008a77 0%, #007a68 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 158, 137, 0.45);
    color: #fff;
}

.escalas-btn-select-options:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 158, 137, 0.35);
}

.escalas-btn-select-options .btn-text {
    line-height: 1;
}

/* Botón ver producto */
.escalas-btn-view-product {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #fff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.escalas-btn-view-product:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Notificaciones */
.escalas-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    padding: 20px 45px 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    font-weight: 600;
    font-size: 15px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    text-align: center;
    min-width: 250px;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.escalas-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.escalas-notification-message {
    flex: 1;
}

.escalas-notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 700;
    color: inherit;
    opacity: 0.6;
}

.escalas-notification-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.escalas-notification-close:active {
    transform: scale(0.95);
}

.escalas-notification-success {
    color: #009e89;
    border-color: #009e89;
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
}

.escalas-notification-success .escalas-notification-close:hover {
    background: rgba(16, 185, 129, 0.1);
}

.escalas-notification-error {
    color: #ff5c68;
    border-color: #ff5c68;
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
}

.escalas-notification-error .escalas-notification-close:hover {
    background: rgba(255, 92, 104, 0.1);
}

/* Sin productos */
.escalas-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.escalas-no-products p {
    font-size: 1.1em;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .escalas-products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .escalas-banner-content h1 {
        font-size: 2em;
    }
    
    .escalas-banner-content p {
        font-size: 1.05em;
    }
    
    .escalas-banner {
        padding: 45px 25px;
        margin-bottom: 35px;
    }
    
    .escalas-product-info {
        padding: 18px;
        gap: 13px;
    }
    
    .escalas-price-table {
        font-size: 12px;
    }
    
    .escalas-price-table th {
        padding: 10px 6px;
        font-size: 10px;
    }
    
    .escalas-price-table td {
        padding: 12px 6px;
    }
    
    .escalas-product-image {
        height: 220px;
    }
    
    .escalas-actions {
        gap: 8px;
    }
    
    .escalas-btn-add-to-cart {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .escalas-btn-view-product {
        padding: 12px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .escalas-frontend-container {
        padding: 20px 15px;
    }
    
    .escalas-banner {
        padding: 35px 20px;
        border-radius: 12px;
    }
    
    .escalas-banner-content h1 {
        font-size: 1.6em;
    }
    
    .escalas-banner-content p {
        font-size: 0.95em;
    }
    
    .escalas-products-grid {
        gap: 20px;
    }
    
    .escalas-product-card {
        border-radius: 12px;
    }
    
    .escalas-quantity-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 12px 14px;
    }
    
    .escalas-qty-label {
        width: 100%;
        text-align: center;
    }
    
    .total-value {
        font-size: 20px;
    }
    
    .savings-value {
        font-size: 16px;
    }
    
    .escalas-totals {
        padding: 14px 16px;
    }
    
    .escala-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .escalas-notification {
        min-width: 200px;
        padding: 16px 24px;
        font-size: 14px;
    }
    
    .escalas-product-info {
        padding: 15px;
        gap: 12px;
    }
    
    .escalas-product-image {
        height: 200px;
    }
}

/* =========================================
   WIDGET DE PRODUCTO ÚNICO
   ========================================= */

.escalas-single-widget {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.escalas-widget-header {
    border-bottom: 2px solid #009e89;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.escalas-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.escalas-widget-title svg {
    color: #009e89;
    flex-shrink: 0;
}

.escalas-widget-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.escalas-single-actions {
    margin-top: 20px;
}

.escalas-single-actions .escalas-btn-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #009e89 0%, #009e89 100%);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.escalas-single-actions .escalas-btn-add-to-cart:hover {
    background: linear-gradient(135deg, #009e89 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.escalas-single-actions .escalas-btn-add-to-cart:active {
    transform: translateY(0);
}

.escalas-single-actions .escalas-btn-add-to-cart:disabled,
.escalas-single-actions .escalas-btn-add-to-cart.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background: #94a3b8 !important;
    box-shadow: none !important;
    pointer-events: none;
}

.escalas-single-actions .escalas-btn-add-to-cart.loading {
    background: #94a3b8;
    cursor: wait;
}

.escalas-single-actions .escalas-btn-add-to-cart svg {
    flex-shrink: 0;
}

.escalas-widget-info {
    margin-top: 16px;
    padding: 12px;
    background: #f0fdf4;
    border-left: 4px solid #009e89;
    border-radius: 6px;
}

.escalas-widget-info p {
    margin: 0;
    color: #047857;
    font-size: 13px;
    line-height: 1.5;
}

/* Selector de variaciones */
.escalas-variations-wrapper {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
}

.escalas-variations-title {
    margin: 0 0 15px 0;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
}

.escalas-variation-select {
    margin-bottom: 12px;
}

.escalas-variation-select:last-child {
    margin-bottom: 0;
}

.escalas-variation-select label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.escalas-variation-selector {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.escalas-variation-selector:hover {
    border-color: #009e89;
}

.escalas-variation-selector:focus {
    outline: none;
    border-color: #009e89;
    box-shadow: 0 0 0 3px rgba(0, 158, 137, 0.1);
}

.escalas-variation-selector option {
    padding: 10px;
}

/* Ajustes para el widget dentro del contenedor de producto */
.escalas-single-product-wrapper {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

/* Responsive para widget de producto único */
@media (max-width: 768px) {
    .escalas-single-widget {
        padding: 16px;
    }
    
    .escalas-widget-title {
        font-size: 18px;
    }
    
    .escalas-single-actions .escalas-btn-add-to-cart {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Estilos para el precio del carrito en el header del menú - BLANCO */
header .cart-contents .woocommerce-cart-total,
.header .cart-contents .woocommerce-cart-total,
.site-header .cart-contents .woocommerce-cart-total,
header .cart-contents .cart-total,
.header .cart-contents .cart-total,
.site-header .cart-contents .cart-total,
header .cart-contents .woocommerce-Price-amount,
.header .cart-contents .woocommerce-Price-amount,
.site-header .cart-contents .woocommerce-Price-amount,
header .cart-contents .amount,
.header .cart-contents .amount,
.site-header .cart-contents .amount {
    display: inline-block;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1;
}

/* Ocultar tachado en el header */
header .cart-contents del,
.header .cart-contents del,
.site-header .cart-contents del {
    display: none !important;
}

/* Alinear precio con el carrito en el header */
header .cart-contents,
.header .cart-contents,
.site-header .cart-contents {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Estilos para el precio del carrito en el sidecart - COLOR #ff5c68 */
.widget_shopping_cart .woocommerce-cart-total,
.widget_shopping_cart .cart-total,
.widget_shopping_cart .woocommerce-Price-amount,
.widget_shopping_cart .amount,
.widget_shopping_cart_content .woocommerce-cart-total,
.widget_shopping_cart_content .cart-total,
.widget_shopping_cart_content .woocommerce-Price-amount,
.widget_shopping_cart_content .amount {
    color: #ff5c68 !important;
    text-decoration: none !important;
}

/* Ocultar tachado en el sidecart */
.widget_shopping_cart del,
.widget_shopping_cart_content del {
    display: none !important;
}
