/* ========================================
   TruckCenter Chile - Cotizador Styles
   Premium Design v3 - Professional Redesign
   ======================================== */

/* ========================================
   Typography Enhancements
   ======================================== */
.cotizador-section {
    font-family: 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cotizador-section h2,
.cotizador-section h3,
.cotizador-section h4 {
    font-family: 'Roboto', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.5px;
}

.cotizador-items-header .header-left h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    line-height: 1.2;
}

.cotizador-section .items-count {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
}

.product-card-info h4 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.3px;
}

.price-value {
    font-family: 'Roboto', sans-serif;
    font-weight: 800 !important;
}

.subtotal-value {
    font-family: 'Roboto', sans-serif;
}

/* ========================================
   Hero Section - Banner Style
   ======================================== */
.cotizador-hero {
    position: relative;
    min-height: 500px;
    height: 60vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cotizador-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cotizador-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.cotizador-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.2) 0%,
        rgba(15, 23, 42, 0.1) 40%,
        rgba(15, 23, 42, 0.5) 80%,
        rgba(15, 23, 42, 0.7) 100%
    );
}

.cotizador-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 140px;
    padding-bottom: 50px;
}

.cotizador-hero-content {
    text-align: left;
    max-width: 600px;
}

.cotizador-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cotizador-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 450px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Main Section - Clean Background
   ======================================== */
.cotizador-section {
    padding: 60px 0 120px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    min-height: calc(100vh - 400px);
    position: relative;
}

.cotizador-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #0f172a 0%, transparent 100%);
    opacity: 0.03;
    pointer-events: none;
}

/* ========================================
   Layout - 2 Columns
   ======================================== */
.cotizador-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

/* ========================================
   Empty State
   ======================================== */
.cotizador-empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, rgba(223, 130, 35, 0.1) 0%, rgba(223, 130, 35, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.empty-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px dashed rgba(223, 130, 35, 0.3);
    border-radius: 50%;
}

.empty-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.empty-icon svg {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Explore Catalog Button - Premium Design */
.btn-explore-catalog {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
}

.btn-explore-catalog::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-explore-catalog:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.35);
}

.btn-explore-catalog:hover::before {
    opacity: 1;
}

.btn-explore-catalog .btn-icon {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-explore-catalog .btn-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s ease;
}

.btn-explore-catalog:hover .btn-icon svg {
    transform: rotate(90deg);
}

.btn-explore-catalog .btn-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}

.btn-explore-catalog .btn-arrow {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-explore-catalog .btn-arrow i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-explore-catalog:hover .btn-arrow {
    background: rgba(255, 255, 255, 0.25);
}

.btn-explore-catalog:hover .btn-arrow i {
    transform: translateX(3px);
}

.cotizador-empty h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a2a3a;
}

.cotizador-empty p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Products Section (Left Column)
   ======================================== */
.cotizador-items {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.cotizador-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.header-left h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.items-count {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.btn-clear-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: none;
    color: #dc2626;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-cart:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Product Cards - Modern Premium Design
   ======================================== */
.cotizador-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card-quote {
    display: flex;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    position: relative;
}

.product-card-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-quote:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(249, 115, 22, 0.3);
}

.product-card-quote:hover::before {
    opacity: 1;
}

/* Delete Confirmation Overlay */
.delete-confirm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.delete-confirm-overlay.active {
    opacity: 1;
    transform: scale(1);
}

.delete-confirm-content {
    text-align: center;
    padding: 24px;
}

.delete-confirm-icon {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 16px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.delete-confirm-content p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.delete-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-confirm-yes,
.btn-confirm-no {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-confirm-yes {
    background: #ef4444;
    color: #ffffff;
}

.btn-confirm-yes:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-confirm-no {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-confirm-no:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Product Image - Same style as recommendation cards */
.product-card-image {
    width: 200px;
    min-width: 200px;
    height: auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 16px;
    position: relative;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 160px;
    padding: 20px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-quote:hover .product-card-image {
    background: #ffffff;
}

.product-card-image i {
    font-size: 3.5rem;
    color: #cbd5e1;
    transition: all 0.4s ease;
}

.product-card-quote:hover .product-card-image i {
    color: #f97316;
    transform: scale(1.1);
}

/* Product Content */
.product-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Product Header Row */
.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.product-card-info {
    flex: 1;
    min-width: 0;
}

.product-card-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-card-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card-info h4 a:hover {
    color: var(--primary-darker);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.product-brand i {
    font-size: 0.7rem;
    color: #f97316;
}

.product-category {
    display: none;
}

/* Remove Button */
.btn-remove-item {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-item:hover {
    background: #fef2f2;
    color: #dc2626;
    transform: rotate(90deg);
}

/* Product Footer Row */
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px dashed #e2e8f0;
    gap: 20px;
}

/* Price Info */
.price-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.price-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #334155;
}

/* Quantity Selector */
.product-card-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.quantity-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(249, 115, 22, 0.05);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 48px;
    height: 36px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
    -moz-appearance: textfield;
    transition: all 0.2s ease;
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Subtotal */
.product-card-subtotal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 120px;
}

.subtotal-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.subtotal-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

/* Actions */
.cotizador-actions {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #e2e8f0;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

/* ========================================
   Summary Section (Right Column) - Elegant Design
   ======================================== */
.cotizador-summary-wrapper {
    position: sticky;
    top: 100px;
}

.cotizador-summary {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 16px 48px rgba(0, 0, 0, 0.06);
    border: none;
}

.summary-header {
    background: #ffffff;
    padding: 28px 32px 20px;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}

.summary-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.summary-header h3::before {
    content: '';
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    border-radius: 4px;
}

/* Summary Details */
.summary-details {
    padding: 20px 32px;
    background: #ffffff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.summary-row-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.summary-row-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Total - Elegant Design */
.summary-total {
    background: #0f172a;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px 20px;
    border-radius: 16px;
}

.total-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.total-amount {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
}

/* Note */
.summary-note {
    display: flex;
    gap: 12px;
    padding: 16px 32px;
    background: #f8fafc;
    border-top: none;
}

.summary-note i {
    color: #f97316;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.summary-note p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Actions - Elegant Buttons */
.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 32px 32px;
    background: #ffffff;
}

.btn-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.summary-actions .btn-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.summary-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ========================================
   Customer Type Card - Premium Redesign
   ======================================== */
.customer-type-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.customer-type-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-type-card h4::before {
    content: '';
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #f97316, #ea580c);
    border-radius: 2px;
}

.customer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customer-option {
    cursor: pointer;
    display: block;
}

.customer-option input {
    display: none;
}

.option-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid transparent;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.option-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #94a3b8, #64748b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-box:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateX(4px);
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Empresa Icon Style */
.option-box.empresa-box .option-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.option-box.empresa-box .option-icon i {
    color: #ffffff;
    font-size: 1.25rem;
}

/* Persona Icon Style */
.option-box.persona-box .option-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.option-box.persona-box .option-icon i {
    color: #ffffff;
    font-size: 1.25rem;
}

.option-content {
    flex: 1;
}

.option-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    margin-bottom: 2px;
}

.option-desc {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 400;
}

.option-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option-check i {
    font-size: 0.7rem;
    color: transparent;
    transition: all 0.3s ease;
}

/* Empresa Selected State */
.customer-option input:checked + .option-box.empresa-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: #3b82f6;
}

.customer-option input:checked + .option-box.empresa-box::before {
    opacity: 1;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.customer-option input:checked + .option-box.empresa-box .option-check {
    background: #3b82f6;
    border-color: #3b82f6;
}

.customer-option input:checked + .option-box.empresa-box .option-check i {
    color: #ffffff;
}

/* Persona Selected State */
.customer-option input:checked + .option-box.persona-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: #8b5cf6;
}

.customer-option input:checked + .option-box.persona-box::before {
    opacity: 1;
    background: linear-gradient(180deg, #8b5cf6, #6d28d9);
}

.customer-option input:checked + .option-box.persona-box .option-check {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.customer-option input:checked + .option-box.persona-box .option-check i {
    color: #ffffff;
}

/* ========================================
   Sidebar Recommendations
   ======================================== */
.sidebar-recommendations {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

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

.recommendations-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendations-header h4 i {
    color: #f97316;
    font-size: 0.9rem;
}

.recommendations-header .badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.recommendation-item:hover {
    background: #ffffff;
    border-color: rgba(249, 115, 22, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.recommendation-image {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recommendation-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.recommendation-image i {
    font-size: 1.5rem;
    color: #94a3b8;
}

.recommendation-info {
    flex: 1;
    min-width: 0;
}

.recommendation-category {
    font-size: 0.7rem;
    color: #f97316;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.recommendation-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendation-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.recommendation-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    align-self: center;
}

.recommendation-add:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.recommendation-add i {
    font-size: 0.875rem;
}

.recommendations-footer {
    margin-top: 16px;
    text-align: center;
}

.recommendations-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f97316;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recommendations-footer a:hover {
    color: #ea580c;
    gap: 10px;
}

/* ========================================
   Modal Styles
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 24, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    max-width: 650px;
    width: 100%;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #f8f9fa;
    border: none;
    border-radius: 12px;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    background: #dc3545;
    color: white;
}

.modal-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid #edf2f7;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2a3a;
    margin: 0 0 6px 0;
}

.modal-header p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Quote Form */
.quote-form {
    padding: 24px 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a5568;
}

#quoteModal .form-group input,
#quoteModal .form-group textarea,
#quoteModal .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fafbfc !important;
    box-shadow: none !important;
}

#quoteModal .form-group input:focus,
#quoteModal .form-group textarea:focus,
#quoteModal .form-group select:focus {
    outline: none !important;
    border-color: #94a3b8 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

#quoteModal .form-group input:hover,
#quoteModal .form-group textarea:hover,
#quoteModal .form-group select:hover {
    border-color: #cbd5e1 !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

/* Quote Summary in Modal */
.quote-summary {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.quote-summary h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 16px 0;
}

.quote-products {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quote-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #edf2f7;
}

.quote-product-image {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quote-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quote-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.quote-product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a2a3a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-product-sku {
    font-size: 0.75rem;
    color: #94a3b8;
}

.quote-product-qty {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 700;
    background: #1a2a3a;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.form-actions .btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-secondary {
    background: #f8f9fa;
    color: #4a5568;
    border: none;
}

.form-actions .btn-secondary:hover {
    background: #edf2f7;
}

#quoteModal .form-actions .btn-primary {
    background: #1a2a3a !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

#quoteModal .form-actions .btn-primary:hover {
    background: #0f1a24 !important;
    transform: translateY(-1px);
}

#quoteModal .form-actions .btn-primary:active {
    transform: translateY(0);
}

#quoteModal .form-actions .btn-primary i {
    margin-right: 8px;
    font-size: 0.85rem;
}

/* Dynamic Form Fields */
.form-fields-empresa,
.form-fields-persona {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-fields-empresa.active,
.form-fields-persona.active {
    display: block;
    opacity: 1;
    max-height: 500px;
    overflow: visible;
}

/* Success Modal */
.modal-success {
    text-align: center;
    padding: 60px 48px;
    max-width: 480px;
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(223, 130, 35, 0.15) 0%, rgba(223, 130, 35, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.modal-success h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a2a3a;
    margin: 0 0 12px 0;
}

.modal-success > p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.success-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 28px;
}

.success-details p {
    margin: 0;
    color: #4a5568;
}

.success-details strong {
    color: #1a2a3a;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.success-actions .btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-actions .btn-primary {
    background: var(--primary-color);
    color: #1a2a3a;
}

.success-actions .btn-secondary {
    background: #f8f9fa;
    color: #4a5568;
}

/* ========================================
   Related Products / Offers Section
   ======================================== */
.cotizador-offers {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.cotizador-offers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.offers-header {
    text-align: center;
    margin-bottom: 50px;
}

.offers-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    color: #ea580c;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.offers-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.offers-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

/* Offer Cards Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.offer-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.06);
}

.offer-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.offer-card-badge.discount {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.offer-card-image {
    height: 180px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.offer-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
}

.offer-card-image img {
    max-width: 70%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.offer-card:hover .offer-card-image img {
    transform: scale(1.1);
}

.offer-card-image i {
    font-size: 4rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.offer-card:hover .offer-card-image i {
    color: #f97316;
}

.offer-card-content {
    padding: 24px;
}

.offer-card-category {
    font-size: 0.75rem;
    color: #f97316;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.offer-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.offer-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.offer-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.offer-price-old {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.offer-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.offer-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

/* View All Link */
.offers-footer {
    text-align: center;
}

.offers-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f97316;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 14px 32px;
    border: 2px solid #f97316;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.offers-view-all:hover {
    background: #f97316;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.offers-view-all i {
    transition: transform 0.3s ease;
}

.offers-view-all:hover i {
    transform: translateX(4px);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large Desktop - Fine tuning */
@media (max-width: 1200px) {
    .cotizador-layout {
        grid-template-columns: 1fr 380px;
        gap: 30px;
    }

    .cotizador-hero {
        padding: 140px 0 60px;
    }

    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

/* Tablet Landscape - Adjust layout */
@media (max-width: 1024px) {
    .cotizador-layout {
        grid-template-columns: 1fr;
    }

    .cotizador-summary-wrapper {
        position: static;
    }

    .product-card-footer {
        flex-wrap: wrap;
    }

    .cotizador-hero {
        padding: 130px 0 50px;
    }

    .cotizador-section {
        padding: 50px 0 100px;
    }

    .cotizador-empty {
        padding: 60px 30px;
    }

    .empty-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 24px;
    }

    .empty-icon i {
        font-size: 3.5rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablet Portrait - Major layout changes */
@media (max-width: 768px) {
    .cotizador-hero {
        padding: 120px 0 40px;
    }

    .cotizador-hero h1 {
        font-size: 2rem;
    }

    .cotizador-hero p {
        font-size: 1rem;
    }

    .cotizador-section {
        padding: 40px 0 80px;
    }

    .cotizador-items,
    .cotizador-summary,
    .customer-type-card {
        padding: 24px;
        border-radius: 20px;
    }

    .cotizador-items-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-left h2 {
        font-size: 1.35rem;
    }

    .btn-clear-cart {
        width: 100%;
        justify-content: center;
    }

    /* Product Card - Hybrid Layout for Tablet */
    .product-card-quote {
        flex-direction: row;
    }

    .product-card-image {
        width: 160px;
        min-width: 160px;
        height: auto;
        align-self: stretch;
        margin: 12px;
        background: #ffffff;
        border-radius: 10px;
        padding: 0;
    }

    .product-card-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 130px;
        padding: 16px;
    }

    .product-card-content {
        padding: 16px 16px 16px 0;
    }

    .product-card-info h4 {
        font-size: 1rem;
    }

    .product-card-footer {
        flex-direction: column;
        gap: 16px;
    }

    .price-info {
        flex-wrap: wrap;
        gap: 16px;
    }

    .product-card-quantity {
        order: -1;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .quantity-selector {
        flex: 0 0 auto;
    }

    .product-card-subtotal {
        align-items: flex-start;
    }

    /* Summary adjustments */
    .summary-header {
        padding: 24px 24px 0;
    }

    .summary-header h3 {
        font-size: 1rem;
    }

    .summary-details {
        padding: 16px 24px;
    }

    .summary-total {
        padding: 20px 24px;
    }

    .total-amount {
        font-size: 1.75rem;
    }

    .summary-note {
        padding: 12px 24px;
    }

    .summary-actions {
        padding: 16px 24px 24px;
    }

    /* Offers Section */
    .cotizador-offers {
        padding: 60px 0;
    }

    .offers-header h2 {
        font-size: 2rem;
    }

    .offers-header p {
        font-size: 1rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .offer-card-content {
        padding: 20px;
    }

    /* Modal adjustments */
    .modal-content {
        max-width: 90%;
    }

    .modal-header {
        padding: 28px 28px 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .quote-form {
        padding: 24px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile - Optimized for small screens */
@media (max-width: 576px) {
    .cotizador-hero {
        padding: 100px 0 30px;
    }

    .cotizador-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .cotizador-hero p {
        font-size: 0.95rem;
    }

    .cotizador-hero .breadcrumb {
        padding: 8px 18px;
        gap: 10px;
        font-size: 0.85rem;
    }

    .cotizador-section {
        padding: 32px 0 60px;
    }

    .cotizador-items,
    .cotizador-summary,
    .customer-type-card {
        padding: 20px;
        border-radius: 18px;
    }

    .cotizador-empty {
        padding: 50px 24px;
    }

    .empty-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .empty-icon i {
        font-size: 3rem;
    }

    .empty-icon svg {
        width: 70px;
        height: 70px;
    }

    .btn-explore-catalog {
        padding: 16px 24px;
        gap: 12px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .btn-explore-catalog .btn-icon {
        width: 24px;
        height: 24px;
    }

    .btn-explore-catalog .btn-icon svg {
        width: 24px;
        height: 24px;
    }

    .btn-explore-catalog .btn-arrow {
        width: 28px;
        height: 28px;
    }

    .btn-explore-catalog .btn-arrow i {
        font-size: 0.8rem;
    }

    .cotizador-empty h2 {
        font-size: 1.5rem;
    }

    .cotizador-empty p {
        font-size: 1rem;
    }

    /* Mobile Card Layout - Vertical */
    .product-card-quote {
        flex-direction: column;
    }

    .product-card-image {
        width: calc(100% - 24px);
        min-width: auto;
        height: 180px;
        min-height: 180px;
        margin: 12px 12px 0 12px;
        padding: 0;
        background: #ffffff;
        border-radius: 10px;
    }

    .product-card-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 150px;
        padding: 20px;
        object-fit: contain;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card-header {
        flex-direction: column;
        gap: 16px;
    }

    .product-card-info h4 {
        font-size: 1.05rem;
        padding-right: 40px;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-remove-item {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        min-width: 36px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .price-info {
        justify-content: space-between;
        gap: 16px;
    }

    .price-value {
        font-size: 1rem;
    }

    .product-card-quantity {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        order: -1;
    }

    .quantity-label {
        font-size: 0.75rem;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .qty-input {
        width: 45px;
        height: 40px;
        font-size: 1rem;
    }

    .product-card-subtotal {
        align-items: center;
        text-align: center;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        padding: 20px;
        border-radius: 16px;
        min-width: auto;
        width: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .subtotal-value {
        font-size: 1.75rem;
    }

    /* Summary adjustments */
    .summary-header {
        padding: 20px 20px 0;
    }

    .summary-header h3 {
        font-size: 0.95rem;
    }

    .summary-details {
        padding: 16px 20px;
    }

    .summary-row {
        padding: 8px 0;
    }

    .summary-row-label {
        font-size: 0.85rem;
    }

    .summary-row-value {
        font-size: 0.9rem;
    }

    .summary-total {
        padding: 18px 20px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .total-label {
        font-size: 0.7rem;
    }

    .total-amount {
        font-size: 1.75rem;
    }

    .summary-note {
        padding: 12px 20px;
    }

    .summary-note p {
        font-size: 0.75rem;
    }

    .summary-actions {
        padding: 16px 20px 20px;
    }

    .summary-actions .btn-lg {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .btn-outline {
        padding: 12px 24px;
        font-size: 0.9rem;
        justify-content: center;
    }

    /* Customer Type adjustments */
    .customer-type-card {
        padding: 18px;
    }

    .customer-type-card h4 {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .customer-options {
        gap: 10px;
    }

    .option-box {
        padding: 14px 16px;
        gap: 12px;
    }

    .option-icon {
        width: 42px;
        height: 42px;
    }

    .option-icon i {
        font-size: 1.1rem;
    }

    .option-label {
        font-size: 0.95rem;
    }

    .option-desc {
        font-size: 0.75rem;
    }

    .option-check {
        width: 22px;
        height: 22px;
    }

    /* Recommendations Mobile */
    .sidebar-recommendations {
        padding: 18px;
    }

    .recommendations-header {
        margin-bottom: 16px;
    }

    .recommendations-header h4 {
        font-size: 0.95rem;
    }

    .recommendation-item {
        padding: 12px;
        gap: 12px;
    }

    .recommendation-image {
        width: 50px;
        height: 50px;
    }

    .recommendation-image i {
        font-size: 1.25rem;
    }

    .recommendation-name {
        font-size: 0.825rem;
    }

    .recommendation-price {
        font-size: 0.9rem;
    }

    .recommendation-add {
        width: 32px;
        height: 32px;
    }

    .recommendation-add i {
        font-size: 0.75rem;
    }

    /* Modal adjustments */
    .modal {
        padding: 10px;
    }

    .modal-content {
        margin: 0;
        border-radius: 18px;
        max-height: 95vh;
        overflow-y: auto;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        top: 16px;
        right: 16px;
        font-size: 1.25rem;
    }

    .modal-header {
        padding: 24px 20px 20px;
    }

    .modal-header h2 {
        font-size: 1.35rem;
        padding-right: 40px;
    }

    .modal-header p {
        font-size: 0.9rem;
    }

    .quote-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 0.825rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .form-actions .btn {
        width: 100%;
        padding: 13px 24px;
        font-size: 0.95rem;
    }

    /* Success Modal */
    .modal-success {
        padding: 40px 24px;
    }

    .success-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }

    .success-icon i {
        font-size: 3.5rem;
    }

    .modal-success h2 {
        font-size: 1.5rem;
    }

    .modal-success > p {
        font-size: 0.95rem;
    }

    .success-details {
        padding: 16px;
        font-size: 0.9rem;
    }

    .success-actions {
        flex-direction: column;
        gap: 12px;
    }

    .success-actions .btn {
        width: 100%;
        padding: 13px 24px;
    }

    /* Offers Section Mobile */
    .cotizador-offers {
        padding: 50px 0;
    }

    .offers-header {
        margin-bottom: 30px;
    }

    .offers-header .badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .offers-header h2 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .offers-header p {
        font-size: 0.95rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-card {
        border-radius: 18px;
    }

    .offer-card-badge {
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        font-size: 0.7rem;
    }

    .offer-card-image {
        height: 160px;
    }

    .offer-card-image img {
        max-width: 75%;
        max-height: 120px;
    }

    .offer-card-content {
        padding: 20px;
    }

    .offer-card-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .offer-card-price {
        margin-bottom: 14px;
    }

    .offer-price-current {
        font-size: 1.35rem;
    }

    .offer-card-btn {
        padding: 13px 18px;
        font-size: 0.875rem;
    }

    .offers-view-all {
        padding: 13px 28px;
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile - Compact design */
@media (max-width: 400px) {
    .cotizador-hero h1 {
        font-size: 1.5rem;
    }

    .cotizador-items,
    .cotizador-summary,
    .customer-type-card {
        padding: 16px;
    }

    .product-card-image {
        width: calc(100% - 20px);
        height: 160px;
        min-height: 160px;
        margin: 10px 10px 0 10px;
        padding: 0;
        background: #ffffff;
        border-radius: 8px;
    }

    .product-card-content {
        padding: 16px;
    }

    .product-card-info h4 {
        font-size: 0.95rem;
    }

    .product-meta {
        font-size: 0.85rem;
    }

    .product-category {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .price-value {
        font-size: 0.95rem;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
    }

    .qty-input {
        width: 40px;
        height: 36px;
        font-size: 0.95rem;
    }

    .subtotal-value {
        font-size: 1.5rem;
    }

    .total-amount {
        font-size: 1.75rem;
    }

    .summary-actions .btn-lg {
        padding: 14px 20px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .offer-card-content {
        padding: 16px;
    }

    .offer-card-title {
        font-size: 0.95rem;
    }

    .offer-price-current {
        font-size: 1.25rem;
    }
}

/* ========================================
   Recommendations Grid - Below Products
   ======================================== */
.cotizador-recommendations {
    margin-top: 32px;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.cotizador-recommendations .recommendations-header {
    margin-bottom: 24px;
}

.cotizador-recommendations .recommendations-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.cotizador-recommendations .recommendations-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.recommendation-card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.recommendation-card:hover {
    border-color: #f97316;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.recommendation-card .recommendation-image {
    width: 100%;
    height: 140px;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden;
    padding: 16px;
}

.recommendation-card .recommendation-image img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.recommendation-card:hover .recommendation-image img {
    transform: scale(1.08);
}

.recommendation-card .recommendation-image i {
    font-size: 2.5rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.recommendation-card:hover .recommendation-image i {
    color: #f97316;
}

.recommendation-card .recommendation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
}

.recommendation-card .recommendation-brand {
    display: inline-block;
    font-size: 0.7rem;
    color: #ffffff;
    background: #0f172a;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}

.recommendation-card .recommendation-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendation-card .recommendation-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: auto;
    padding-top: 8px;
}

.recommendation-card .recommendation-add {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
}

.recommendation-card:hover .recommendation-add {
    opacity: 1;
    transform: scale(1);
}

.recommendation-card .recommendation-add:hover {
    background: #ea580c;
    transform: scale(1.1);
}

/* Already Added State */
.recommendation-card.already-added {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.recommendation-card.already-added::after {
    content: 'Agregado';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(34, 197, 94, 0.95);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.recommendation-card.already-added .recommendation-add {
    background: #22c55e;
}

.recommendation-card.already-added .recommendation-add i::before {
    content: "\f00c";
}

/* Recommendations Footer */
.cotizador-recommendations .recommendations-footer {
    margin-top: 24px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.btn-view-more i {
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateX(4px);
}

/* ========================================
   Customer Type in Modal
   ======================================== */
.customer-type-modal {
    margin-bottom: 24px !important;
}

.customer-type-modal > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #4a5568;
}

.customer-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.customer-type-option {
    cursor: pointer;
}

.customer-type-option input {
    display: none;
}

.type-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.type-box i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 10px;
    font-size: 1.1rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.type-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.type-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.type-desc {
    font-size: 0.8rem;
    color: #64748b;
}

.customer-type-option input:checked + .type-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0.04) 100%);
    border-color: #f97316;
}

.customer-type-option input:checked + .type-box i {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
}

/* ========================================
   Responsive - Recommendations Grid
   ======================================== */
@media (max-width: 1200px) {
    .recommendations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cotizador-hero {
        min-height: 260px;
    }

    .cotizador-hero .container {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .cotizador-hero h1 {
        font-size: 1.75rem;
    }

    .cotizador-hero p {
        font-size: 1rem;
    }

    .cotizador-recommendations {
        padding: 20px;
        margin-top: 24px;
    }

    .cotizador-recommendations .recommendations-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cotizador-recommendations .recommendations-header h3 {
        font-size: 1.15rem;
    }

    .recommendations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .recommendation-card {
        padding: 0;
    }

    .recommendation-card .recommendation-image {
        height: 100px;
        margin-bottom: 0;
        padding: 12px;
    }

    .recommendation-card .recommendation-info {
        padding: 12px;
    }

    .recommendation-card .recommendation-image i {
        font-size: 2rem;
    }

    .recommendation-card .recommendation-name {
        font-size: 0.85rem;
    }

    .recommendation-card .recommendation-price {
        font-size: 1rem;
    }

    .recommendation-card .recommendation-add {
        opacity: 1;
        transform: scale(1);
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .customer-type-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .type-box {
        padding: 14px 16px;
    }

    .type-box i {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Cotizador Page - Mobile Header Fixes
   ======================================== */

/* Make header elements visible on dark hero background */
@media (max-width: 991.98px) {
    .header-white-logo .mobile-menu-btn {
        display: flex !important;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }

    .header-white-logo .mobile-menu-btn span {
        background: #ffffff;
    }

    .header-white-logo .mobile-menu-btn:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    .header-white-logo .mobile-menu-btn:hover span {
        background: #ffffff;
    }

    /* Logo visibility on dark backgrounds */
    .header-white-logo .header-logo {
        position: fixed;
        top: 15px;
        left: 20px;
        z-index: 1001;
    }

    .header-white-logo .header-logo .logo img {
        height: 45px;
        filter: brightness(0) invert(1);
    }

    /* Hide floating nav menu on mobile */
    .header-white-logo .nav-floating-menu {
        display: none;
    }

    /* Cotizador Hero - Mobile Improvements */
    .cotizador-hero {
        min-height: 280px;
        height: auto;
        max-height: 350px;
    }

    .cotizador-hero .container {
        padding-top: 100px;
        padding-bottom: 35px;
    }

    .cotizador-hero-content {
        text-align: center;
        max-width: 100%;
    }

    .cotizador-hero h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    }

    .cotizador-hero p {
        font-size: 0.95rem;
        max-width: 100%;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }

    .cotizador-hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(15, 23, 42, 0.5) 0%,
            rgba(15, 23, 42, 0.4) 50%,
            rgba(15, 23, 42, 0.7) 100%
        );
    }
}

@media (max-width: 575.98px) {
    .cotizador-hero {
        min-height: 220px;
        max-height: 280px;
    }

    .cotizador-hero .container {
        padding-top: 85px;
        padding-bottom: 25px;
    }

    .cotizador-hero h1 {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .cotizador-hero p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Quantity input - ensure two digits fit */
.qty-input {
    width: 56px !important;
    min-width: 56px;
}

@media (max-width: 767.98px) {
    .qty-input {
        width: 52px !important;
        min-width: 52px;
    }
}

/* Bottom padding to prevent floating buttons overlap */
.cotizador-section {
    padding-bottom: 120px;
}

@media (max-width: 767.98px) {
    .cotizador-section {
        padding-bottom: 140px;
    }
}

/* Hide floating buttons on cotizador page since it has its own CTA */
body.page-cotizador .floating-cart-btn {
    display: none !important;
}

/* Ensure WhatsApp float doesn't overlap content on cotizador */
body.page-cotizador .whatsapp-float {
    bottom: 20px;
    right: 20px;
    z-index: 998;
}

@media (max-width: 767.98px) {
    body.page-cotizador .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}
