/* ===================================
           13. QUOTE MODAL (REWRITE) & PRODUCT MODAL
           =================================== */
.quote-modal,
.product-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.is-open,
.product-detail-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Overlay Animation: Progressive Blur & Darken (Simultaneous) */
.quote-modal__overlay,
.product-detail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
}

/* Dialog Animation: Pop up slightly after overlay */
.quote-modal__dialog,
.product-detail-dialog {
    position: relative;
    width: min(580px, 95%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(199, 166, 84, 0.16);
    overflow: hidden;
    color: #0f0f0f;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

/* Quote Modal Typography / Scoping (evita herança indesejada) */
.quote-modal {
    color: #0f0f0f;
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.quote-modal h2,
.quote-modal h3,
.quote-modal p,
.quote-modal label,
.quote-modal button,
.quote-modal select,
.quote-modal input,
.quote-modal span {
    font-family: inherit;
    color: inherit;
}

.quote-modal__title {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.quote-modal__subtitle {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.005em;
    color: #6b6b6b;
    max-width: 480px;
    line-height: 1.5;
}

.quote-hero__subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
}

.quote-hero__description,
.quote-helper,
.quote-helper--cta {
    color: #6b6b6b;
}

.quote-label {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.002em;
}

.quote-custom-select,
.quote-select,
.quote-input {
    font-size: 15.5px;
    color: #1a1a1a;
}

.quote-select-trigger {
    background: #fff;
    border: 1.5px solid rgba(199, 166, 84, 0.20);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.quote-select-options {
    background: #fff;
    border: 1px solid rgba(199, 166, 84, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-radius: 14px;
}

.quote-select-option.selected {
    background: rgba(199, 166, 84, 0.08);
    color: #0f0f0f;
}

.quote-card {
    background: linear-gradient(135deg, rgba(199, 166, 84, 0.03) 0%, rgba(199, 166, 84, 0.01) 100%);
    border: 1px solid rgba(199, 166, 84, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.quote-footer {
    padding: 16px 28px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #ffffff 70%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Consistent 16px spacing between message and buttons */
    justify-content: flex-start;
}

.quote-modal.is-open .quote-modal__dialog,
.product-detail-modal.is-open .product-detail-dialog {
    opacity: 1;
    transform: translateY(0);
}

/* Refino do dialog do produto (mantém o visual original e evita herança) */
.product-detail-dialog {
    background: #fff;
    width: 100%;
    max-width: 1140px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.product-detail-modal.is-open .product-detail-dialog {
    transform: scale(1) translateY(0);
}

/* Product Detail Specifics */
.product-detail-dialog {
    width: 100%;
    max-width: 1140px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    flex-direction: column;
}

@media (max-width: 991px) {
    .product-detail-dialog {
        flex-direction: column;
        overflow-y: auto;
    }
}


.quote-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(199, 166, 84, 0.08);
}

.quote-modal__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-modal__title {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #0f0f0f;
}

.quote-modal__subtitle {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.005em;
    color: #6b6b6b;
    max-width: 480px;
    line-height: 1.5;
}

.quote-modal__close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 10px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quote-modal__close:hover {
    background: rgba(199, 166, 84, 0.12);
    color: var(--color-accent);
}

.quote-modal__body {
    padding: 0 32px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quote-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px 12px;
}

.quote-hero__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: #0f0f0f;
}

.quote-hero__subtitle {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-accent);
}

.quote-hero__description {
    margin: 0 auto;
    font-size: 14.5px;
    font-weight: 400;
    color: #6b6b6b;
    line-height: 1.5;
    max-width: 440px;
}

.quote-modal__progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 40px 0 40px;
}

.quote-modal__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(199, 166, 84, 0.25);
    transition: all 0.25s ease;
}

.quote-modal__dot.is-active {
    width: 30px;
    background: var(--color-accent);
}

.quote-step {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.quote-step.is-active {
    display: flex;
}

.quote-card {
    background: linear-gradient(135deg, rgba(199, 166, 84, 0.03) 0%, rgba(199, 166, 84, 0.01) 100%);
    border: 1px solid rgba(199, 166, 84, 0.12);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.quote-label {
    font-weight: 500;
    color: #2a2a2a;
    font-size: 13.5px;
    letter-spacing: 0.002em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-label svg {
    width: 15px;
    height: 15px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Input wrapper for icon inside */
.quote-input-wrapper {
    position: relative;
    width: 100%;
}

.quote-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}



.quote-select,
.quote-input {
    width: 100%;
    padding: 15px 18px;
    font-size: 15.5px;
    border-radius: 12px;
    border: 1.5px solid rgba(199, 166, 84, 0.20);
    background: #fff;
    color: #1a1a1a;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
}

.quote-select:focus,
.quote-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(199, 166, 84, 0.1);
    transform: translateY(-1px);
}

.quote-select:focus-visible,
.quote-input:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-color: transparent;
}

.quote-input--with-icon {
    padding-left: 50px !important;
}

.quote-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.quote-modal .quote-btn--primary {
    /* Força o botão principal do modal a ficar preto, mesmo se houver outros estilos herdados */
    background: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(40, 40, 40, 0.25);
}

.quote-modal .quote-btn--primary:hover:not(:disabled) {
    background: #1a1a1a !important;
    box-shadow: 0 8px 24px rgba(40, 40, 40, 0.35);
}

.quote-modal .quote-btn--primary:active:not(:disabled) {
    box-shadow: 0 2px 8px rgba(40, 40, 40, 0.2);
}

.quote-btn--primary {
    background: var(--color-primary);
    color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(40, 40, 40, 0.25);
    border: 2px solid var(--color-primary);
}

.quote-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40, 40, 40, 0.35);
    background: #1a1a1a;
}

.quote-btn--primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 40, 40, 0.2);
}

.quote-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.quote-btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.quote-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.quote-btn--primary.success-animation {
    animation: successPulse 0.4s ease-out;
}

/* Next button - yellow with white text */
.quote-btn--next {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(199, 166, 84, 0.25);
    border: none;
    width: 100%;
    flex: 1;
}

.quote-btn--next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 166, 84, 0.35);
    background: #d4b564;
    color: #ffffff;
}

.quote-btn--next:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(199, 166, 84, 0.2);
}

.quote-btn--next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.quote-btn--secondary {
    background: transparent;
    color: #4a4a4a;
    border: 1px solid transparent;
    /* Ghost style initial */
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 14px 18px;
    /* Slightly smaller padding */
}

.quote-btn--secondary:hover:not(:disabled) {
    background: rgba(199, 166, 84, 0.08);
    border-color: rgba(199, 166, 84, 0.2);
    /* Subtle border on hover */
    color: #2a2a2a;
    transform: translateY(-1px);
}

/* Ghost Button - Ultra Subtle for "Voltar" */
.quote-btn--ghost {
    background: transparent;
    color: #6b6b6b;
    border: none;
    font-weight: 400;
    font-size: 14px;
    padding: 12px 16px;
    min-height: 44px;
    box-shadow: none;
    transition: all 0.2s ease;
}

.quote-btn--ghost:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
    transform: none;
}

.quote-btn--ghost svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.quote-btn--whatsapp {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(199, 166, 84, 0.25);
    border: none;
}

.quote-btn--whatsapp:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 166, 84, 0.35);
    background: #d4b564;
}

.quote-btn--add-more {
    background: rgba(199, 166, 84, 0.06);
    color: var(--color-accent);
    border: 1px dashed rgba(199, 166, 84, 0.4);
    width: 100%;
    margin-top: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    min-height: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    /* Ensure flex layout when visible */
}

.quote-btn--add-more.is-visible {
    margin-top: 12px;
    height: 48px;
    opacity: 1;
    padding: 0 22px;
    pointer-events: auto;
    min-height: 48px;
}

.quote-btn--add-more:hover {
    background: rgba(199, 166, 84, 0.12);
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.quote-btn svg {
    flex-shrink: 0;
}

.quote-actions--footer {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-direction: row !important;
    margin-top: 0 !important;
    /* Override modal-premium.css margin-top: 32px */
}

.quote-actions--footer .quote-btn--secondary {
    flex: 0 0 auto;
    min-width: 100px;
}

.quote-actions--footer .quote-btn--primary,
.quote-actions--footer .quote-btn--next {
    flex: 1 1 auto;
}

/* --- Premium Layout Control (Industrial Standard) --- */

/* 30% Width Container (Back Button) */
.quote-btn--width-30 {
    flex: 0 0 calc(30% - 8px) !important;
    width: calc(30% - 8px) !important;
    max-width: calc(30% - 8px);
    justify-content: center;
    /* Ensure text is centered or flex-start if preferred */
}

/* 70% Width Container (Submit Button) */
.quote-btn--width-70 {
    flex: 0 0 calc(70% - 8px) !important;
    width: calc(70% - 8px) !important;
    max-width: calc(70% - 8px);
}

/* Refined Ghost Button Font - Premium Industrial Look */
.quote-btn--ghost {
    font-weight: 300 !important;
    /* Light font for premium look */
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.quote-btn--ghost:hover:not(:disabled) {
    opacity: 1;
    background: rgba(0, 0, 0, 0.03);
}

/* Custom Select Styles */
.quote-custom-select {
    position: relative;
    width: 100%;
}

.quote-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid rgba(199, 166, 84, 0.20);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 52px;
    text-align: left;
}

.quote-select-trigger:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(199, 166, 84, 0.1);
}

.quote-select-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

.quote-option-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-select-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.quote-custom-select.open .quote-select-arrow {
    transform: rotate(180deg);
}

.quote-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(199, 166, 84, 0.15);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px;
    list-style: none;
    margin: 0;
}

.quote-custom-select.open .quote-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quote-select-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quote-select-option:hover {
    background: rgba(199, 166, 84, 0.08);
}

.quote-select-option.selected {
    background: rgba(199, 166, 84, 0.15);
    color: var(--color-accent);
}

.quote-select-option span {
    font-size: 14.5px;
    font-weight: 500;
}

.quote-helper--cta {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #4a4a4a;
    margin-top: 6px;
}

.quote-helper {
    font-size: 13px;
    font-weight: 400;
    color: #7a7a7a;
    margin: 0;
    line-height: 1.5;
}

.quote-summary {
    background: linear-gradient(135deg, rgba(199, 166, 84, 0.04) 0%, rgba(199, 166, 84, 0.01) 100%);
    border: 1px solid rgba(199, 166, 84, 0.15);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #0f0f0f;
}

.quote-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(199, 166, 84, 0.1);
}

.quote-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(199, 166, 84, 0.35);
    background: rgba(199, 166, 84, 0.14);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #0f0f0f;
}

.quote-summary__empty {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px dashed rgba(199, 166, 84, 0.35);
    border-radius: 10px;
    color: #4a4a4a;
    background: #fff;
}

.quote-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Cart Actions Container (inside cart for proximity UX) */
.quote-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(199, 166, 84, 0.25);
}

.quote-cart-actions .quote-btn--add-more {
    height: auto;
    opacity: 1;
    padding: 12px 22px;
    pointer-events: auto;
    min-height: 48px;
    margin-top: 0;
}

.quote-cart-actions .quote-helper {
    text-align: center;
    margin: 0;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quote-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(199, 166, 84, 0.15);
    border-radius: 10px;
    animation: slideInFromRight 0.3s ease forwards;
}

.quote-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quote-item__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.quote-item__spec {
    font-size: 12.5px;
    color: #666;
    margin: 0;
}

.quote-item__remove {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-item__remove:hover {
    background: rgba(255, 0, 0, 0.08);
    color: #d32f2f;
}

/* ===================================
           PRODUCT DETAIL MODAL STYLES
           =================================== */
.product-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-detail-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.product-detail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-detail-dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 1140px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.product-detail-modal.is-open .product-detail-dialog {
    transform: scale(1) translateY(0);
}

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
}

.product-detail-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 20;
    /* Higher z-index to stay above everything */
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    /* Glass effect base */
    backdrop-filter: blur(8px);
    /* Premium blur */
    border-radius: 10px;
    /* REVERTED: Square corners as per desktop style */
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Lift it off the content */
}

/* Scroll Cue: Fade effect at the bottom of the visible area */
.product-detail-dialog::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Fade height */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    /* Let clicks pass through */
    z-index: 5;
    /* Above content, below sticky footer/close button */
    opacity: 1;
}

/* Adjust scroll cue for mobile sticky footer */
@media (max-width: 899px) {
    .product-detail-dialog::after {
        bottom: 90px;
        /* Sit right above the sticky footer area */
        height: 40px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    }
}

.product-detail-close:hover {
    background: rgba(199, 166, 84, 0.12);
    color: var(--color-accent);
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    overflow-y: auto;
    /* Ensure content doesn't hide behind sticky footer on mobile */
    padding-bottom: 0;
}

/* MOBILE: Standard Flow + Sticky Bottom CTA (Luke Wroblewski Pattern) */
@media (max-width: 899px) {
    .product-detail-dialog {
        /* Ensure dialog has space for sticky footer */
        padding-bottom: 0;
    }

    /* RE-APPLIED: User wants Info Layout ABOVE Image */
    .product-detail-info {
        order: -1;
        /* Balanced spacing: Reset padding so Separator controls the gap */
        padding-bottom: 0px;
        width: 100%;
        box-sizing: border-box;
        border-bottom: none;

        /* Senior UX: Fluid top padding using clamp for different device sizes */
        padding-top: clamp(64px, 10vh, 80px) !important;
        padding-left: 24px;
        padding-right: 24px;

        /* Logic: Allow content to dictate height, but ensure minimum presence */
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        max-height: none !important;
    }

    /* Target the Header Group (Badge + Title + Desc) specifically */
    .product-detail-header {
        /* Ensure this block feels like a cohesive unit */
        margin-bottom: 0;
        /* Let the separator row handle spacing */
        max-width: 100%;
        position: relative;
        border-bottom: none;
        padding-bottom: 0;
    }

    /* SEPARATOR ROW (Line + Mouse Icon) - Mobile Only */
    .product-detail-separator-row {
        display: flex;
        align-items: center;
        /* Increased Gap: Prevent line from touching icon */
        gap: 32px;
        /* ZERO SPACING: User requested removal of top/bot margins */
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        padding-right: 4px;
    }

    .product-detail-separator-line {
        flex-grow: 1;
        height: 1px;
        /* ACCENT COLOR: Yellow line */
        background-color: var(--color-accent);
        opacity: 0.3;
        /* Subtle but visible */
    }

    .product-detail-scroll-hint {
        color: var(--color-accent);
        /* Yellow brand color */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Animate the WHOLE mouse body (float effect) */
    .product-detail-scroll-hint svg {
        animation: mouse-float 2s ease-in-out infinite;
    }

    /* Mouse Wheel Animation */
    .scroll-wheel {
        /* Faster animation (1.2s) */
        animation: scroll-wheel 1.2s infinite;
        transform-origin: center;
        /* Green Color (WhatsApp/Success Green) */
        stroke: #25D366;
        /* Slightly thicker for visibility, but kept elegant */
        stroke-width: 3px;
    }

    @keyframes mouse-float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(6px);
        }
    }

    @keyframes scroll-wheel {
        0% {
            transform: translateY(0);
            opacity: 1;
        }

        100% {
            /* Move all the way down (approx 14px) */
            transform: translateY(14px);
            opacity: 0;
        }
    }

    /* Description: Clean, readable, full height. No hacks. */
    /* Description: Clean, readable, full height. No hacks. */
    .product-detail-description {
        max-height: none;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
        padding-right: 0;
        margin-top: 12px;
        /* CRITICAL FIX: Remove default browser margin-bottom to fix 'huge gap' */
        margin-bottom: 0 !important;
        font-size: 15px;
        line-height: 1.5;
        color: #555;
    }

    /* Clean up scrollbar styles if they were applied globally to this element */
    .product-detail-description::-webkit-scrollbar {
        display: none;
    }

    /* HIDE SPECS ON MOBILE: Focus on Image + Key Info (Badge/Title/Desc) */
    .product-detail-specs {
        display: none !important;
    }

    /* PREMIUM POLISH: Hide Scrollbar on Mobile (App-like feel) */
    .product-detail-grid::-webkit-scrollbar {
        display: none;
    }

    .product-detail-grid {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .product-detail-gallery {
        order: 1;
        /* Remove top padding on gallery since Info is now above it */
        padding-top: 0;
    }

    /* Make CTA Actions Sticky at Bottom */
    .product-detail-actions {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 16px 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
        /* Subtle uplift */
        z-index: 10;
        /* Blur effect for premium feel */
        backdrop-filter: blur(8px);
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* Add padding to grid so content isn't covered by sticky footer */
    .product-detail-grid {
        padding-bottom: 140px;
        /* Apps bar height + safe area */
    }
}

@media (min-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1.2fr 0.8fr;
        overflow: hidden;
        height: 700px;
    }

    /* Hide the mobile separator row on desktop */
    .product-detail-separator-row {
        display: none !important;
    }

    /* REMOVE WHITE SHADOW/FADE ON DESKTOP */
    .product-detail-dialog::after {
        display: none !important;
    }
}

/* Gallery Section */
.product-detail-gallery {
    background: #f8f8f8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-detail-main-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.product-detail-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.product-detail-thumbnails {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    justify-content: center;
}

.product-detail-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    object-fit: cover;
    transition: all 0.2s ease;
    background: #fff;
}

.product-detail-thumb:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.product-detail-thumb.is-active {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(199, 166, 84, 0.2);
    transform: translateY(-2px);
}

/* Info Section */
.product-detail-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow-y: auto;
}

.product-detail-header {
    margin-bottom: 32px;
}

.product-detail-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(199, 166, 84, 0.1);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    margin-bottom: 16px;
}

.product-detail-title {
    font-family: 'Kanit', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.product-detail-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.product-detail-specs {
    margin-top: auto;
    margin-bottom: 40px;
    padding-top: 32px;
    border-top: 1px solid #f0f0f0;
}

.product-detail-specs-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-detail-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-detail-spec-chip {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
    border: 1px solid transparent;
}

.product-detail-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Consistent 16px spacing between message and button */
}

/* Product Detail CTA Button - Stable hover without flicker */
/* Override global .quote-btn--primary:hover from modal-premium.css */
.product-detail-actions .quote-btn--next,
.product-detail-actions .quote-btn--primary {
    /* FIX: Do NOT transition background to avoid gradient->solid flash */
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
    will-change: transform;
    /* Hint to browser to promote layer */
    backface-visibility: hidden;
    /* Prevent anti-aliasing jitter */
    transform: translateZ(0);
    /* Hardware accelerate */
}

.product-detail-actions .quote-btn--next:hover:not(:disabled),
.product-detail-actions .quote-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    /* Smooth lift instead of 'none' */
    background: #d4b564 !important;
    box-shadow: 0 6px 20px rgba(199, 166, 84, 0.35) !important;
}

.product-detail-actions .quote-btn--primary::before {
    display: none !important;
    /* Disable shine animation that causes flicker */
}

.product-detail-next-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
    /* Handled by container padding */
    margin-bottom: 0;
    /* Handled by inline style or gap */
    padding: 12px 16px;
    background: rgba(199, 166, 84, 0.08);
    /* Slightly richer background */
    border-radius: 10px;
    border: 1px solid rgba(199, 166, 84, 0.25);
    /* Solid premium border */
}

.product-detail-step-icon {
    width: 24px;
    height: 24px;
    background: #25D366;
    /* WhatsApp Green for conversion association */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.product-detail-step-text {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.quote-footer {
    padding: 16px 28px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #ffffff 70%);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .quote-modal__dialog {
        max-height: 92vh;
    }

    .quote-modal__header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .quote-modal__body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .quote-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .quote-actions:not(.quote-actions--footer) {
        flex-direction: column;
    }

    .quote-actions--footer {
        flex-direction: row !important;
    }

    .quote-actions--footer .quote-btn--secondary {
        flex: 0 0 auto;
        min-width: 90px;
        padding: 14px 16px;
    }

    .quote-btn {
        width: 100%;
    }
}

/* === Modal Overrides (hard sync with original index) === */
.quote-modal,
.product-detail-modal {
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.quote-modal {
    color: #0f0f0f;
}

.quote-modal__overlay {
    background: rgba(26, 26, 26, 0.75) !important;
    backdrop-filter: blur(10px) !important;
}

.quote-modal__dialog {
    width: min(580px, 95%) !important;
    max-height: 90vh !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32) !important;
    border: 1px solid rgba(199, 166, 84, 0.16) !important;
    color: #0f0f0f !important;
}

.quote-modal__header {
    padding: 28px 32px 20px !important;
    border-bottom: 1px solid rgba(199, 166, 84, 0.08) !important;
}

.quote-modal__title {
    font-size: 28px !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: #0f0f0f !important;
}

.quote-modal__subtitle {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #6b6b6b !important;
    line-height: 1.5 !important;
}

.quote-hero__subtitle {
    color: var(--color-accent) !important;
    font-weight: 600 !important;
}

.quote-hero__description {
    color: #6b6b6b !important;
}

.quote-helper,
.quote-helper--cta {
    color: #6b6b6b !important;
}

.quote-card {
    background: linear-gradient(135deg, rgba(199, 166, 84, 0.03) 0%, rgba(199, 166, 84, 0.01) 100%) !important;
    border: 1px solid rgba(199, 166, 84, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.quote-label {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.002em !important;
    color: #2a2a2a !important;
}

.quote-custom-select,
.quote-select,
.quote-input {
    font-size: 15.5px !important;
    color: #1a1a1a !important;
}

.quote-select-trigger {
    background: #fff !important;
    border: 1.5px solid rgba(199, 166, 84, 0.20) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

.quote-select-options {
    background: #fff !important;
    border: 1px solid rgba(199, 166, 84, 0.18) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
    border-radius: 14px !important;
}

.quote-select-option.selected {
    background: rgba(199, 166, 84, 0.08) !important;
    color: #0f0f0f !important;
}

/* ===================================
   REVIEWS / SOCIAL PROOF (migrado de style.css)
   =================================== */
.reviews-section {
    padding: var(--space-12) 0;
    background-color: #f9fafb;
    overflow: hidden;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .reviews-layout {
        grid-template-columns: 300px 1fr;
    }
}

.reviews-summary-card {
    background: #fff;
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    border: 1px solid rgba(251, 188, 5, 0.4);
    align-items: center;
    text-align: center;
}

.reviews-summary-card__header {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
}

.reviews-summary-card__label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.reviews-summary-card__stars {
    font-size: 1.5rem;
    color: #FBBC05;
    letter-spacing: 2px;
    line-height: 1;
}

.reviews-summary-card__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: var(--space-4);
    border-top: 1px solid #f0f0f0;
    align-items: center;
    width: 100%;
}

.reviews-summary-card__logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.reviews-summary-card__logo img {
    height: 36px;
    width: auto;
}

.reviews-summary-card__count {
    font-size: 0.875rem;
    color: #666;
}

.reviews-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto var(--space-12);
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(199, 166, 84, 0.1);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    margin-bottom: var(--space-6);
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    max-width: 100%;
}

.reviews-subtitle {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    min-width: 0;
}

.reviews-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 4px;
    margin: -40px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-track-wrapper {
    overflow: visible;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: var(--space-4);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 40px 0;
    margin: -20px 0;
}

.review-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    padding: var(--space-6) var(--space-5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, box-shadow;
    cursor: default;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.06);
}

.review-card__header {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
    position: relative;
}

.review-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #eee;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
    flex: 1;
}

.review-card__name {
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 4px;
    padding-right: 0;
}

.review-card__date {
    font-size: 0.9375rem;
    font-weight: 300;
    color: #666;
}

.review-card__google-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 56px;
}

.review-card__google-icon svg {
    width: 28px;
    height: 28px;
}

.review-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FBBC05;
    font-size: 20px;
    margin-top: 0;
}

.verified-badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../images/selo-google.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.review-card__text {
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 21.75px;
    display: block;
    margin-top: 0;
}

.review-card__text--scrollable {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    mask-image: linear-gradient(to bottom, black calc(100% - 12px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 12px), transparent 100%);
}

.review-card__text--scrollable::-webkit-scrollbar {
    width: 4px;
}

.review-card__text--scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.review-card__text--scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.review-card__text--scrollable:hover {
    mask-image: none;
    -webkit-mask-image: none;
}

.reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: all 0.2s;
}

.reviews-nav-btn:hover {
    background: #f5f5f5;
    transform: translateY(-50%) scale(1.05);
    border-color: #ccc;
}

.reviews-nav-btn.prev {
    left: -22px;
}

.reviews-nav-btn.next {
    right: -22px;
}

@media (max-width: 768px) {
    .reviews-nav-btn.prev {
        left: 0;
    }

    .reviews-nav-btn.next {
        right: 0;
    }
}

@media (max-width: 767px) {
    .reviews-section {
        padding: var(--space-8) 0;
        overflow: hidden;
    }

    .reviews-section .container {
        width: 100%;
        max-width: 100%;
    }

    .reviews-header {
        padding: 0;
        margin-bottom: var(--space-6);
    }

    .reviews-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .reviews-subtitle {
        font-size: 1rem;
    }

    .reviews-layout {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
        position: relative;
    }

    .reviews-summary-card {
        margin: 0;
        padding: var(--space-6);
        width: 100%;
    }

    .reviews-summary-card__label {
        font-size: 2rem;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .reviews-summary-card__stars {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .reviews-summary-card__logo img {
        height: 48px;
    }

    .reviews-summary-card__count {
        font-size: 1rem;
    }

    .reviews-carousel-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .reviews-nav-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 20;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .reviews-nav-btn.prev {
        left: -12px;
    }

    .reviews-nav-btn.next {
        right: -12px;
    }

    .reviews-carousel-container {
        mask-image: none;
        -webkit-mask-image: none;
        padding: 16px 4px;
        margin: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    .reviews-carousel-container::-webkit-scrollbar {
        display: none;
    }

    .reviews-track-wrapper {
        overflow: visible;
        width: 100%;
    }

    .reviews-track {
        display: flex;
        gap: 24px;
        padding: 0 24px;
        margin: 0;
        transition: none;
    }

    .review-card {
        flex: 0 0 100%;
        min-width: 100%;
        min-height: 280px;
        scroll-snap-align: center;
        margin: 0;
        padding: var(--space-6) var(--space-5);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 16px;
    }

    .review-card__header {
        display: flex;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
        position: relative;
    }

    .review-card__avatar {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .review-card__meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 56px;
        flex: 1;
    }

    .review-card__name {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 4px;
        padding-right: 0;
        line-height: 1.2;
    }

    .review-card__date {
        font-size: 0.9375rem;
        color: #666;
    }

    .review-card__google-icon {
        margin-left: auto;
        display: flex;
        align-items: center;
        height: 56px;
    }
}
.quote-modal .quote-btn--primary {
    background: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    color: var(--color-accent) !important;
    box-shadow: 0 4px 16px rgba(40, 40, 40, 0.25) !important;
}

.quote-modal .quote-btn--primary:hover:not(:disabled) {
    background: #1a1a1a !important;
    box-shadow: 0 8px 24px rgba(40, 40, 40, 0.35) !important;
}

.quote-modal .quote-btn--primary:active:not(:disabled) {
    box-shadow: 0 2px 8px rgba(40, 40, 40, 0.2) !important;
}

.quote-modal .quote-btn--next {
    background: var(--color-accent) !important;
    color: #fff !important;
}

.quote-modal .quote-btn--add-more {
    background: rgba(199, 166, 84, 0.06) !important;
    color: var(--color-accent) !important;
    border: 1px dashed rgba(199, 166, 84, 0.4) !important;
}

/* Product detail overlay/dialog hard reset */
.product-detail-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
}

.product-detail-dialog {
    max-width: 1140px !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Contact Form Eyebrow Styling */
.quote-card__eyebrow {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
    display: block;
}

/* ===================================
           NEW INDUSTRIAL PREMIUM STYLES
           =================================== */

/* Reviews Section */
.reviews-section {
    padding: var(--space-12) 0;
    background-color: #f9fafb;
    overflow: hidden;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    /* Centered vertically */
}

@media (min-width: 1024px) {
    .reviews-layout {
        grid-template-columns: 300px 1fr;
    }
}

/* Summary Card Updates */
.reviews-summary-card {
    background: #fff;
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    /* Reduced gap */
    border: 1px solid rgba(251, 188, 5, 0.4);
    /* Soft Gold */
    align-items: center;
    /* Center alignment */
    text-align: center;
    /* Center text */
}

.reviews-summary-card__header {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Remove gap to bring stars closer */
    align-items: center;
    width: 100%;
}

.reviews-summary-card__label {
    font-size: 1.5rem;
    /* Larger font */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
    /* Close to stars */
}

.reviews-summary-card__stars {
    font-size: 1.5rem;
    color: #FBBC05;
    letter-spacing: 2px;
    line-height: 1;
}

.reviews-summary-card__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: var(--space-4);
    border-top: 1px solid #f0f0f0;
    align-items: center;
    width: 100%;
}

.reviews-summary-card__logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.reviews-summary-card__logo img {
    height: 36px;
    /* Big size */
    width: auto;
}

.reviews-summary-card__count {
    font-size: 0.875rem;
    color: #666;
}

/* Reviews Header */
.reviews-header {
    text-align: center;
    max-width: 100%;
    /* Full width as requested */
    margin: 0 auto var(--space-12);
    /* Increased spacing for "sexy" feel */
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    /* Slightly more padding for balance */
    background: rgba(199, 166, 84, 0.1);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    margin-bottom: var(--space-6);
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    max-width: 100%;
    /* Ensure no wrapping constraint */
}

.reviews-subtitle {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    /* Readable line length but wider */
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Wrapper */
.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    min-width: 0;
    /* CRITICAL: Prevents grid blowout */
}

/* Carousel Container with Fade Effect */
.reviews-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 4px;
    /* Increased vertical padding for shadows */
    margin: -40px 0;
    /* Negative margin to neutralize layout shift */
    /* Tiny padding to prevent shadow clipping */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-track-wrapper {
    overflow: visible;
    /* Changed to visible because container handles masking */
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: var(--space-4);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 40px 0;
    /* Increased padding to prevent shadow clipping */
    margin: -20px 0;
    /* Negative margin to offset padding layout shift */
}

.review-card {
    flex: 0 0 300px;
    /* Fixed width as requested */
    background: #fff;
    border-radius: 12px;
    padding: var(--space-4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    /* Premium Smooth Transition */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, box-shadow;
    cursor: default;
    /* Indicates interaction but not a link */
}

.review-card:hover {
    transform: translateY(-6px);
    /* Slightly more lift */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    /* Deeper, softer shadow */
    border-color: rgba(0, 0, 0, 0.06);
    /* Subtle border definition */
}

/* Responsive adjustments */
@media (min-width: 1280px) {
    .review-card {
        flex: 0 0 300px;
        /* Force 300px */
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .review-card {
        flex: 0 0 300px;
        /* Force 300px */
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .review-card {
        flex: 0 0 300px;
        /* Force 300px */
    }
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Industrial Modal Styles */
/* ===================================
   QUANTITY CONTROL (PREMIUM UX)
   =================================== */
.quote-quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid rgba(199, 166, 84, 0.20);
    border-radius: 12px;
    padding: 6px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.quote-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(199, 166, 84, 0.1);
    color: var(--color-accent);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quote-qty-btn:hover:not(:disabled) {
    background: var(--color-accent);
    color: #ffffff;
    transform: scale(1.05);
}

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

.quote-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
    color: #ccc;
}

.quote-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #0f0f0f;
    background: transparent;
    -moz-appearance: textfield;
    padding: 0;
}

/* Hide spinners */
.quote-qty-input::-webkit-outer-spin-button,
.quote-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* In-Cart Quantity Control (Compact) */
.quote-item__qty-control {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 2px;
    border: 1px solid #eee;
    margin-right: 12px;
}

.quote-item__qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quote-item__qty-btn:hover {
    background: #e0e0e0;
    color: #000;
}

.quote-item__qty-btn svg {
    width: 12px;
    height: 12px;
}

.quote-item__qty-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 20px;
    text-align: center;
}

/* Adjust Quote Item Layout */
.quote-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
