.product-gallery-stage {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--mm-border);
    background: var(--mm-surface-soft);
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.product-thumb {
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid var(--mm-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    background: var(--mm-surface);
}

.product-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.active-thumb {
    border-color: var(--mm-brand) !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

.product-meta-card {
    padding: 1.25rem;
    border: 1px solid var(--mm-border);
    border-radius: 1.25rem;
    background: var(--mm-surface);
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.product-meta-item {
    display: grid;
    gap: 0.35rem;
}

.product-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mm-muted);
}

.product-meta-value {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--mm-ink);
}

.product-meta-value.is-available {
    color: var(--mm-brand-dark);
}

.product-meta-value.is-muted {
    color: var(--mm-muted);
}

.product-brand-logo {
    height: 1.25rem;
    width: auto;
    object-fit: contain;
}

.product-brand-link {
    color: var(--mm-brand-dark);
    text-decoration: none;
}

.product-brand-chip-link {
    color: inherit;
    text-decoration: none;
}

.product-brand-chip-link:hover {
    color: var(--mm-brand-dark);
}

.product-brand-link:hover {
    color: var(--mm-brand);
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.product-price-current {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1;
    font-weight: 800;
    color: var(--mm-brand-dark);
}

.product-price-old {
    color: var(--mm-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.product-assist-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--mm-border);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(249, 115, 22, 0.08));
}

.product-assist-copy {
    display: grid;
    gap: 0.2rem;
}

.product-assist-copy strong {
    font-size: 0.96rem;
    color: var(--mm-ink);
}

.product-assist-copy span {
    font-size: 0.92rem;
    color: var(--mm-muted);
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1rem 0;
    border-bottom: 1px solid var(--mm-border);
    background: var(--mm-surface-soft);
}

.product-tab-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.9rem 1.15rem;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--mm-muted);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.product-tab-button:hover,
.product-tab-button.is-active {
    color: var(--mm-brand-dark);
    border-bottom-color: var(--mm-brand);
}

.product-tab-button:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--mm-brand) 72%, white);
    outline-offset: 2px;
    border-radius: 0.85rem 0.85rem 0 0;
}

.product-tab-panel {
    display: none;
    padding: 1.75rem 2rem;
}

.product-tab-panel.is-active {
    display: block;
}

.product-spec-table th {
    width: 40%;
    color: var(--mm-muted);
    font-weight: 700;
}

.product-spec-table td {
    color: var(--mm-ink);
}

.product-feature-list {
    display: grid;
    gap: 1rem;
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.product-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    flex-shrink: 0;
    background: rgba(13, 148, 136, 0.12);
    color: var(--mm-brand);
}

.product-faq-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--mm-border);
    border-radius: 0.85rem;
    background: var(--mm-surface);
}

.product-faq-accordion .accordion-button {
    font-weight: 700;
    background: var(--mm-surface-soft);
    color: var(--mm-ink);
}

.product-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(15, 118, 110, 0.08);
    color: var(--mm-brand-dark);
    box-shadow: none;
}

.product-faq-accordion .accordion-body {
    background: var(--mm-surface);
}

.product-quote-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1060;
    padding: 1.25rem;
    background: rgba(2, 8, 23, 0.6);
    backdrop-filter: blur(6px);
}

.product-quote-modal.is-open {
    display: block;
}

.product-quote-dialog {
    position: relative;
    width: min(540px, 100%);
    max-height: calc(100vh - 2.5rem);
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    overflow-y: auto;
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--mm-border);
    background: var(--mm-surface);
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.28);
}

.product-quote-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-quote-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--mm-ink);
}

.product-quote-subtitle {
    margin: 0.25rem 0 0;
    color: var(--mm-muted);
    font-size: 0.92rem;
}

.product-quote-close {
    border: 0;
    background: transparent;
    color: var(--mm-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.product-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.product-quote-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--mm-ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.product-quote-message {
    display: none;
    margin-top: 1rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-quote-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 0.95rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mm-brand), var(--mm-brand-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

#mmLightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#mmLightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .product-assist-box {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(249, 115, 22, 0.12));
}

[data-theme="dark"] .product-thumb:hover {
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

@media (max-width: 767.98px) {
    .product-tabs {
        padding: 0.75rem 0.75rem 0;
    }

    .product-tab-button {
        width: 100%;
        justify-content: flex-start;
        border-radius: 0.9rem 0.9rem 0 0;
    }

    .product-tab-panel {
        padding: 1.25rem;
    }

    .product-assist-box {
        flex-direction: column;
        align-items: stretch;
    }

    .product-quote-grid {
        grid-template-columns: 1fr;
    }

    .product-quote-dialog {
        padding: 1.35rem;
    }
}
