:root {
    --lc-blue: #1250dc;
    --lc-blue-dark: #0a3bb5;
    --lc-blue-light: #eef3ff;
    --lc-green: #00a859;
    --lc-green-light: #e6f7ef;
    --lc-orange: #ff9800;
    --lc-orange-light: #fff8ec;
    --lc-gray-bg: #f0f2f7;
}

/* ===================== DETAIL PAGE LAYOUT ===================== */
.detail-layout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    padding: 4px 0 16px 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

/* ===================== CARD ===================== */
.lc-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(18, 80, 220, 0.05);
}

/* ===================== PRODUCT HERO ===================== */
.product-hero {
    display: grid;
    grid-template-columns: 480px minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
}

.product-hero > * {
    min-width: 0;
}

@media (max-width: 1100px) {
    .product-hero {
        grid-template-columns: 420px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .product-hero {
        grid-template-columns: 360px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .product-hero {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}

/* Gallery */
.lc-gallery-wrapper {
    position: sticky;
    top: 84px;
}

.lc-gallery-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

@media (max-width: 900px) {
    .lc-gallery-wrapper {
        position: static;
    }

    .lc-gallery-box {
        max-height: 400px;
    }
}

.lc-main-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    background: #ffffff;
}

.lc-main-slide img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-drag: none;
}

.lc-gallery-box:hover .lc-main-slide.swiper-slide-active img {
    transform: scale(1.03);
}

.lc-gallery-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    color: #334155;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
}

.lc-gallery-box:hover .lc-gallery-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.lc-gallery-zoom-hint:hover {
    background: var(--lc-blue);
    border-color: var(--lc-blue);
    color: #ffffff;
}

@media (hover: none) {
    .lc-gallery-zoom-hint {
        opacity: 0.9;
        transform: none;
    }

    .lc-gallery-zoom-hint span {
        display: none;
    }

    .lc-gallery-zoom-hint {
        padding: 6px 8px;
    }
}

.lc-gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
    transition: all 0.2s ease;
    opacity: 0;
}

.lc-gallery-box:hover .lc-gallery-nav-btn {
    opacity: 1;
}

.lc-gallery-nav-btn:hover:not(.swiper-button-disabled) {
    background: var(--lc-blue);
    color: #ffffff;
    border-color: var(--lc-blue);
    box-shadow: 0 4px 12px rgba(18, 80, 220, 0.25);
}

.lc-gallery-nav-btn.swiper-button-disabled {
    opacity: 0.28 !important;
    cursor: default;
    pointer-events: none;
}

@media (hover: none) {
    .lc-gallery-nav-btn {
        opacity: 0.9;
        width: 34px;
        height: 34px;
    }
}

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

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

.lc-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 4;
    pointer-events: none;
}

.lc-gallery-caption {
    margin: 8px 0 0 0;
    text-align: center;
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.4;
}

.lc-thumbs-wrapper {
    margin-top: 8px;
}

.lc-thumbs-swiper {
    padding: 6px 2px !important;
}

.lc-thumb-slide {
    width: 72px !important;
    height: 72px !important;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .lc-thumb-slide {
        width: 60px !important;
        height: 60px !important;
    }
}

.lc-thumb-btn {
    width: 100%;
    height: 100%;
    padding: 4px;
    border-radius: 10px;
    cursor: pointer;
    object-fit: contain;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s ease;
    background: #ffffff;
    opacity: 0.72;
    display: block;
}

.lc-thumb-btn:hover {
    opacity: 1;
    border-color: #93c5fd;
    transform: translateY(-2px);
}

.swiper-slide-thumb-active .lc-thumb-btn {
    opacity: 1;
    border: 2px solid var(--lc-blue) !important;
    box-shadow: 0 3px 10px rgba(18, 80, 220, 0.18);
    transform: translateY(-2px);
}

/* Trust Row */
.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.trust-item {
    background: #f8faff;
    border: 1px solid #e8eef8;
    border-radius: 10px;
    padding: 10px 6px;
    transition: all 0.2s ease;
}

.trust-item:hover {
    background: var(--lc-blue-light);
    border-color: #c5d5ff;
    transform: translateY(-2px);
}

.trust-item i {
    font-size: 1.25rem;
    color: var(--lc-blue);
    display: block;
    margin-bottom: 4px;
}

.trust-item span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.25;
}

/* ===================== PRODUCT INFO (Right) ===================== */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.product-meta-badges .badge {
    font-size: 0.74rem;
    padding: 5px 10px;
    border-radius: 6px;
}

.product-name {
    font-size: 1.38rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #64748b;
    flex-wrap: wrap;
}

.rating-stars {
    color: #f59e0b;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.sku-copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
}

.sku-copy-pill:hover {
    background: #e2e8f0;
    color: var(--lc-blue);
}

/* Price Card */
.lc-price-card {
    background: linear-gradient(135deg, #f0f5ff 0%, #e4edff 100%);
    border: 1.5px solid #c8d9ff;
    border-radius: 14px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
}

.lc-price-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(18, 80, 220, 0.09) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.lc-price-main {
    color: var(--lc-blue);
    font-size: 2.05rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* Unit Buttons */
.lc-unit-btn {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
    min-width: 80px;
    position: relative;
}

.lc-unit-btn:hover {
    border-color: #93c5fd;
    background: #f8faff;
}

.btn-check:checked + .lc-unit-btn {
    border-color: var(--lc-blue);
    background: linear-gradient(135deg, var(--lc-blue-light) 0%, #dde8ff 100%);
    color: var(--lc-blue);
    box-shadow: 0 0 0 2px rgba(18, 80, 220, 0.14);
}

.lc-unit-price-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lc-blue);
    margin-top: 2px;
}

.btn-check:not(:checked) + .lc-unit-btn .lc-unit-price-sub {
    color: #64748b;
    font-weight: 600;
}

/* Quantity Stepper */
.lc-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.lc-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8fafc;
    color: #334155;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.lc-qty-btn:hover {
    background: var(--lc-blue-light);
    color: var(--lc-blue);
}

.lc-qty-input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
    outline: none;
}

/* Promo Box */
.lc-promo-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px dashed #f59e0b;
    border-radius: 12px;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
}

/* CTA Buttons */
.btn-lc-primary {
    background: linear-gradient(135deg, var(--lc-blue) 0%, #1a5eee 100%);
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px rgba(18, 80, 220, 0.25);
}

.btn-lc-primary:hover {
    background: linear-gradient(135deg, var(--lc-blue-dark) 0%, var(--lc-blue) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 80, 220, 0.35);
}

.btn-lc-outline {
    border: 2px solid var(--lc-blue);
    color: var(--lc-blue);
    font-weight: 700;
    border-radius: 12px;
    background: #fff;
    transition: all 0.25s ease;
    font-size: 0.92rem;
}

.btn-lc-outline:hover {
    background: var(--lc-blue-light);
    color: var(--lc-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(18, 80, 220, 0.12);
}

/* Top Specifications Table */
.top-specs-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
}

.top-specs-table tr {
    border-bottom: 1px dashed #e2e8f0;
}

.top-specs-table tr:last-child {
    border-bottom: none;
}

.top-specs-table td {
    padding: 8px 6px;
    vertical-align: top;
    font-size: 0.85rem;
}

.top-specs-label {
    width: 145px;
    color: #64748b;
    font-weight: 600;
}

/* Bottom Grid */
.detail-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
    margin-top: 16px;
}

/* Article Content Formatting & Spacing */
.article-markdown-content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #334155;
    transition: font-size 0.2s ease;
}

.article-markdown-content p {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.article-markdown-content p:last-child {
    margin-bottom: 0;
}

.article-markdown-content ul,
.article-markdown-content ol {
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
    padding-left: 1.35rem;
}

.article-markdown-content li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.article-markdown-content h1,
.article-markdown-content h2,
.article-markdown-content h3,
.article-markdown-content h4,
.article-markdown-content h5,
.article-markdown-content h6 {
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.article-markdown-content strong,
.article-markdown-content b {
    color: #0f172a;
}

/* Long Scroll Article Layout & TOC Sidebar */
.article-toc-box {
    position: sticky;
    top: 84px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
}

.article-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.article-toc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.article-toc-link:hover {
    color: var(--lc-blue);
    background: #eef3ff;
}

.article-toc-link.active {
    color: var(--lc-blue);
    font-weight: 700;
    background: #e0ebff;
    box-shadow: inset 3px 0 0 var(--lc-blue);
}

.article-header-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.btn-font-size {
    font-size: 0.76rem;
    padding: 4px 14px;
}

.article-warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 1.5rem;
}

.article-warning-title {
    font-size: 1rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.article-sec-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 90px;
    padding-left: 12px;
    border-left: 4px solid var(--lc-blue);
}

.article-content-collapsible {
    position: relative;
    transition: max-height 0.35s ease;
}

.article-content-collapsible.collapsed {
    max-height: 560px;
    overflow: hidden;
}

.article-content-collapsible.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.btn-expand-article {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 7px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-expand-article:hover {
    background: var(--lc-blue-light);
    color: var(--lc-blue);
    border-color: #93c5fd;
}

/* ===================== IMAGE LIGHTBOX / ZOOM MODAL ===================== */
.cursor-zoom-in {
    cursor: zoom-in;
}

.lc-zoom-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: lcZoomFadeIn 0.18s ease-out;
}

@keyframes lcZoomFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lcZoomScaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-zoom-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 960px;
    height: min(680px, 90vh);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: lcZoomScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-zoom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.lc-zoom-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.lc-zoom-product-name {
    font-size: 0.94rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-zoom-counter-badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lc-blue);
    background: var(--lc-blue-light);
    padding: 2px 10px;
    border-radius: 999px;
}

.lc-zoom-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lc-zoom-controls {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 2px;
    gap: 2px;
}

.lc-zoom-tool-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lc-zoom-tool-btn:hover:not(:disabled) {
    background: #ffffff;
    color: var(--lc-blue);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.lc-zoom-tool-btn:disabled {
    opacity: 0.38;
    cursor: default;
}

.lc-zoom-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.lc-zoom-close-btn:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.lc-zoom-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
    padding: 16px;
    flex: 1;
    min-height: 0;
}

.lc-zoom-body.single-image {
    grid-template-columns: 1fr;
}

.lc-zoom-stage {
    position: relative;
    height: 100%;
    min-height: 0;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.lc-zoom-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.lc-zoom-swiper .swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-zoom-stage img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.lc-zoom-stage-tip {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.lc-zoom-stage-tip.is-hidden {
    opacity: 0;
}

.lc-zoom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #cbd5e1;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
}

.lc-zoom-nav-btn:hover:not(.swiper-button-disabled) {
    background: var(--lc-blue);
    color: #ffffff;
    border-color: var(--lc-blue);
}

.lc-zoom-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.lc-zoom-nav-btn.prev {
    left: 14px;
}

.lc-zoom-nav-btn.next {
    right: 14px;
}

.lc-zoom-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-left: 1px solid #f1f5f9;
    padding-left: 14px;
}

.lc-zoom-sidebar-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.lc-zoom-thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow-y: auto;
    padding: 2px 4px 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.lc-zoom-thumb-item {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0.78;
    transition: all 0.18s ease;
}

.lc-zoom-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lc-zoom-thumb-item:hover {
    opacity: 1;
    border-color: #93c5fd;
}

.lc-zoom-thumb-item.active {
    opacity: 1;
    border: 2px solid var(--lc-blue);
    box-shadow: 0 2px 8px rgba(18, 80, 220, 0.18);
}

@media (max-width: 768px) {
    .lc-zoom-backdrop {
        padding: 10px;
    }

    .lc-zoom-dialog {
        height: min(600px, 92vh);
        border-radius: 14px;
    }

    .lc-zoom-header {
        padding: 10px 14px;
    }

    .lc-zoom-product-name {
        font-size: 0.86rem;
    }

    .lc-zoom-body {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 12px;
    }

    .lc-zoom-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .lc-zoom-sidebar {
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-left: 0;
        padding-top: 10px;
    }

    .lc-zoom-sidebar-label {
        display: none;
    }

    .lc-zoom-thumb-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px;
    }

    .lc-zoom-thumb-item {
        width: 62px;
        height: 62px;
        flex-shrink: 0;
    }

    .lc-zoom-stage-tip {
        font-size: 0.68rem;
        padding: 3px 10px;
    }
}
