/* Product Detail Premium Styling */

.product-detail-page {
    padding: 50px 0 100px;
    background-color: #ffffff;
    color: #334155;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 28px;
    font-family: var(--font-headings);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar {
    display: none;
}

.breadcrumbs a {
    color: #64748b;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--brand-gold);
}

.breadcrumbs span.separator {
    color: rgba(0, 0, 0, 0.15);
}

.breadcrumbs span.current {
    color: var(--brand-gold);
    font-weight: 600;
}

/* 2-Column Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: 
        "gallery info"
        "tabs tabs";
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

.product-gallery-card {
    grid-area: gallery;
}

.product-tabs-container {
    grid-area: tabs;
}

.product-info-panel {
    grid-area: info;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "gallery"
            "info"
            "tabs";
        gap: 28px;
    }
}

/* Image Card & Touch Gallery */
.product-gallery-card {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 420px;
    box-shadow: none;
}

.main-image-wrapper {
    position: relative;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    padding: 10px;
}

.main-product-img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.main-image-wrapper:hover .main-product-img {
    transform: scale(1.04);
}

.image-zoom-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-image-wrapper:hover .image-zoom-overlay {
    opacity: 1;
    background: var(--brand-gold, #8c6f38);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(140, 111, 56, 0.35);
}

.touch-scroll-strip {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding: 6px 2px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.thumbnail-wrapper {
    cursor: pointer;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    background: transparent;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-wrapper.active-thumb,
.thumbnail-wrapper:hover {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 2px 8px rgba(140, 111, 56, 0.25);
}

/* Info Panel */
.product-info-panel {
    display: flex;
    flex-direction: column;
}

.category-tag-badge {
    align-self: flex-start;
    background: rgba(140, 111, 56, 0.1);
    color: var(--brand-gold);
    border: 1px solid rgba(140, 111, 56, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.product-detail-title {
    font-family: var(--font-headings);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.price-container {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.product-price-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-price-value {
    font-size: clamp(1.6rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--brand-gold);
    font-family: var(--font-headings);
}

.product-short-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 32px;
}

/* Action Buttons */
.detail-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.btn-buy-now {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-request-quote {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    background-color: transparent;
    border: 2px solid var(--brand-gold);
    color: var(--brand-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-request-quote:hover {
    background-color: var(--brand-gold);
    color: #ffffff;
}

/* Tabbed Content */
.product-tabs-container {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.tabs-header-row {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f1f5f9;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-header-row::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 16px 24px;
    font-family: var(--font-headings);
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: #0f172a;
}

.tab-btn.active {
    color: var(--brand-gold);
    border-bottom-color: var(--brand-gold);
    background-color: #ffffff;
}

.tab-content-panel {
    padding: 32px;
    display: none;
}

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Overview Styles */
.overview-bullets-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .overview-bullets-list {
        grid-template-columns: 1fr;
    }
}

.bullet-item {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #475569;
}

.bullet-icon {
    color: var(--brand-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Spec Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

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

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

.specs-table td {
    padding: 14px 20px;
    font-size: 0.92rem;
}

.specs-label-col {
    width: 35%;
    font-weight: 600;
    color: var(--brand-gold);
    background-color: #f1f5f9;
}

.specs-value-col {
    color: #334155;
}

/* Compatibility Tab */
.compat-machine-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.compat-badge-pill {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    padding-top: 60px;
    padding-bottom: 40px;
    grid-column: 1 / -1;
    width: 100%;
}

.related-title {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 12px rgba(140, 111, 56, 0.1);
}

.product-card-image-box {
    background: transparent;
    border-bottom: none;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: var(--transition-normal);
}

.product-card:hover .product-card-img {
    transform: scale(1.04);
}

.product-card-content {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.product-card-header {
    margin-bottom: 8px;
}

.product-card-badge {
    display: inline-block;
    background: rgba(140, 111, 56, 0.1);
    color: var(--brand-gold);
    border: 1px solid rgba(140, 111, 56, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card .product-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 6px;
    line-height: 1.3;
    transition: var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-title {
    color: var(--brand-gold) !important;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card-price {
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.product-card-action {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.product-card-action i,
.product-card-action svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Mobile Responsive Optimization (Screens <= 768px) */
@media (max-width: 768px) {
    .product-detail-page {
        padding: 24px 0 90px;
    }

    .breadcrumbs {
        margin-bottom: 20px;
    }

    .product-gallery-card {
        padding: 16px;
        min-height: 280px;
    }

    .main-product-img {
        max-height: 250px;
    }

    .touch-scroll-strip {
        gap: 8px;
        padding-top: 4px;
    }

    .thumbnail-wrapper {
        width: 54px;
        height: 54px;
    }

    .tab-content-panel {
        padding: 20px 16px;
    }

    .specs-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .specs-label-col {
        width: 42%;
    }

    .related-products-section {
        margin-top: 36px;
        padding-top: 30px;
        padding-bottom: 120px;
    }

    .related-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

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

    .product-card-image-box {
        height: 130px;
        padding: 10px;
    }

    .product-card-content {
        padding: 12px 10px;
    }

    .product-card-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }

    .product-card .product-title {
        font-size: 0.85rem;
        margin-top: 4px;
        line-height: 1.25;
    }

    .product-card-footer {
        margin-top: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .product-card-price {
        font-size: 0.85rem;
    }

    .product-card-action {
        font-size: 0.68rem;
    }

    .detail-actions-wrapper {
        gap: 12px;
        margin-bottom: 28px;
    }
}

/* Sticky Mobile Bottom CTA Bar */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
    visibility: visible;
}

.mobile-sticky-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-sticky-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.mobile-sticky-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-gold);
}

.mobile-sticky-btn-wrap {
    flex-shrink: 0;
}

.mobile-sticky-btn {
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.mobile-sticky-btn.primary {
    background-color: var(--brand-gold);
    color: #ffffff;
}

.mobile-sticky-btn.secondary {
    background-color: #0f172a;
    color: #ffffff;
}

.mobile-sticky-btn:active {
    transform: scale(0.97);
}

@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none !important;
    }
}

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

/* Available Models & Packages Dark Section */
.models-packages-section {
    background-color: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 30px;
    margin: 50px 0 30px 0;
    color: #f8fafc;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.models-packages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.models-header-titles {
    max-width: 600px;
}

.models-section-title {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
}

.models-section-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.models-count-badge {
    background: #141c2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.models-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

@media (max-width: 768px) {
    .models-packages-grid {
        grid-template-columns: 1fr;
    }
    .models-packages-section {
        padding: 24px 16px;
    }
}

.pkg-model-card {
    background: #0d131f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pkg-model-card:hover,
.pkg-model-card.featured-active {
    border-color: #fbbf24;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.15);
    transform: translateY(-4px);
}

.pkg-card-image-box {
    width: 100%;
    height: 210px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.pkg-card-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.pkg-badge-new {
    background: #854d0e;
    color: #fef08a;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pkg-badge-year {
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

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

.pkg-model-card:hover .pkg-card-img {
    transform: scale(1.05);
}

.pkg-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.pkg-card-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.pkg-card-meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

.pkg-specs-pill-box {
    background: #151c2c;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 16px;
}

.pkg-spec-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pkg-spec-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.pkg-spec-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
}

.pkg-spec-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.pkg-card-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 52px;
}

.pkg-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pkg-price-label {
    font-size: 0.8rem;
    color: #64748b;
}

.pkg-price-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fbbf24;
}

.pkg-card-actions {
    display: flex;
    gap: 10px;
}

.pkg-btn-details {
    flex: 1;
    background: #151c2c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pkg-btn-details:hover {
    background: #1e293b;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.pkg-btn-quote {
    flex: 2;
    background: #fbbf24;
    border: none;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.pkg-btn-quote:hover {
    background: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Fullscreen Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    box-sizing: border-box;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    top: 24px;
    left: 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-headings, sans-serif);
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.lightbox-img-wrapper {
    max-width: 90vw;
    max-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: var(--brand-gold, #8c6f38);
    border-color: var(--brand-gold, #8c6f38);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(140, 111, 56, 0.4);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 12px;
    max-width: 90vw;
    overflow-x: auto;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #000;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-thumb:hover {
    opacity: 0.85;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--brand-gold, #8c6f38);
    box-shadow: 0 0 12px rgba(140, 111, 56, 0.7);
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 42px;
        height: 42px;
    }
    .lightbox-prev {
        left: 12px;
    }
    .lightbox-next {
        right: 12px;
    }
    .lightbox-close-btn {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .lightbox-counter {
        top: 18px;
        left: 16px;
        font-size: 0.8rem;
    }
    .lightbox-thumbnails {
        bottom: 12px;
        gap: 8px;
    }
    .lightbox-thumb {
        width: 46px;
        height: 46px;
    }
}

