/* Wizard Container */
.ltw-budget-wizard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Paso clickeable */
.ltw-clickable-step {
    cursor: pointer;
    transition: all 0.3s;
}

.ltw-clickable-step:hover .ltw-step-number {
    background: #E8D088;
    color: #333;
    transform: scale(1.1);
}

.ltw-clickable-step:hover .ltw-step-label {
    color: #E8D088;
}

/* Progress Indicator */
.ltw-wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.ltw-wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.ltw-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.ltw-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.ltw-progress-step.active .ltw-step-number {
    background: #E8D088;
    color: #333;
}

.ltw-step-label {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.ltw-progress-step.active .ltw-step-label {
    color: #E8D088;
    font-weight: 600;
}

/* Wizard Steps */
.ltw-wizard-step {
    display: none;
    animation: fadeIn 0.3s;
}

.ltw-wizard-step.active {
    display: block;
}

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

.ltw-wizard-step h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

/* Step 1: Product Type Selection */
.ltw-product-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.ltw-type-card {
    background: #f9f9f9;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.ltw-type-card:hover {
    border-color: #E8D088;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ltw-type-card.selected {
    border-color: #E8D088;
    background: #faf8f3;
}

.ltw-type-icon {
    display: flex;
    justify-content: center;
    color: #E8D088;
    margin-bottom: 20px;
}

.ltw-type-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.ltw-type-card p {
    color: #666;
    font-size: 16px;
}

/* Step 2: Ecogots Slider */
.ltw-ecogots-slider-container {
    max-width: 1000px;
    margin: 0 auto 30px;
    display: flex;
    gap: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 24px;
}

.ltw-capacity-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.ltw-capacity-tab {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

.ltw-capacity-tab:hover {
    border-color: #E8D088;
    color: #E8D088;
}

.ltw-capacity-tab.active {
    background: #E8D088;
    border-color: #E8D088;
    color: #333;
}

.ltw-product-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.ltw-product-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
}

.ltw-product-slide[style*="display:block"],
.ltw-product-slide[style*="display: block"] {
    display: flex !important;
}

.ltw-product-image {
    width: 100%;
    max-width: 408px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
}

.ltw-product-image img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.ltw-product-info {
    text-align: center;
}

.ltw-product-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Step 2: Menaje Grid */
.ltw-menaje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.ltw-menaje-card {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.ltw-menaje-card:hover {
    border-color: #E8D088;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.ltw-menaje-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ltw-menaje-image img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.ltw-menaje-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* Step 3: Configuration */
.ltw-config-container {
    max-width: 800px;
    margin: 0 auto;
}

.ltw-selected-product-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.ltw-selected-product-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ltw-selected-product-name {
    font-size: 24px;
    color: #333;
}

.ltw-config-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.ltw-form-field {
    margin-bottom: 25px;
}

.ltw-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ltw-form-field input,
.ltw-form-field select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.ltw-form-field input:focus,
.ltw-form-field select:focus {
    outline: none;
    border-color: #E8D088;
}

.ltw-tipo-vaso-options {
    display: flex;
    gap: 15px;
}

.ltw-radio-card {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.ltw-radio-card:hover {
    border-color: #E8D088;
}

.ltw-radio-card input[type="radio"] {
    display: none;
}

.ltw-radio-card input[type="radio"]:checked + span {
    color: #E8D088;
    font-weight: 600;
}

.ltw-radio-card:has(input:checked) {
    border-color: #E8D088;
    background: #faf8f3;
}

/* Color Options */
.ltw-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ltw-color-option {
    display: inline-block;
    margin: 0;
}

.ltw-color-option input[type="radio"] {
    width: 0;
    height: 0;
    position: absolute;
    overflow: hidden;
    opacity: 0;
}

.ltw-color-option input[type="radio"]:checked + .ltw-color-swatch {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.ltw-color-option label {
    position: relative;
    display: inline-block;
    margin: 0;
}

.ltw-color-swatch {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.ltw-color-swatch:hover {
    transform: scale(1.1);
}

.ltw-color-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.ltw-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ltw-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ltw-product-price {
    margin-top: 30px;
    padding: 20px;
    background: #faf8f3;
    border-radius: 8px;
    border: 2px solid #E8D088;
}

.ltw-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ltw-price-breakdown > div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.ltw-price-breakdown .ltw-total-price {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #E8D088;
    font-size: 18px;
}

.ltw-quantity-message {
    margin-top: 8px;
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

/* Step 4: Final Step */
.ltw-final-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ltw-final-step {
        grid-template-columns: 1fr;
    }
}

.ltw-cart-summary {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.ltw-cart-summary h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.ltw-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.ltw-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ltw-cart-item-details {
    flex: 1;
}

.ltw-cart-item-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.ltw-cart-item-details p {
    font-size: 14px;
    color: #666;
    margin: 2px 0;
}

.ltw-cart-item-config {
    font-size: 12px;
    color: #999;
}

.ltw-buy-product-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8D088;
    color: #343434;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
    border: 1.5px solid #E8D088;
}

.ltw-buy-product-icon:hover {
    background-color: #343434;
    color: #E8D088;
    border-color: #343434;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(52, 52, 52, 0.25);
}

.ltw-buy-product-icon svg {
    width: 14px;
    height: 14px;
}

/* Estilos para intl-tel-input */
.iti {
    width: 100%;
}

.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    right: auto;
    left: 0;
}

.iti__selected-flag {
    padding: 0 0 0 8px;
}

.iti input[type="tel"] {
    padding-left: 52px !important;
    width: 100%;
}

.ltw-cart-item-price {
    font-weight: 600;
    color: #E8D088;
    font-size: 18px;
}

.ltw-remove-cart-item {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border: none;
    background: #f44336;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s;
}

.ltw-remove-cart-item:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.ltw-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 2px solid #e0e0e0;
    margin-top: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #E8D088;
}

.ltw-client-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

/* Buttons */
.ltw-button-primary,
.ltw-button-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ltw-button-primary {
    background-color: #E8D088;
    color: #343434;
}

.ltw-button-primary:hover {
    background-color: #343434;
    color: #E8D088;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 52, 52, 0.3);
}

.ltw-button-secondary {
    background: #e0e0e0;
    color: #333;
}

.ltw-button-secondary:hover {
    background: #d0d0d0;
}

.ltw-wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ltw-add-another {
    width: 100%;
    margin-top: 15px;
}

.ltw-submit-budget {
    width: 100%;
    margin-top: 20px;
}
