/* product-detail styles — externalized from inline <style> (Phase 1 page-weight) */
:root {
    --primary: #aa876f;
    --text-dark: #363636;
    --text-medium: #5a5a5a;
    --text-light: #7b7b7b;
    --border: #e5e5e5;
    --bg-light: #f8f8f8;
    --orange: #f17b2a;
    --success: #28a745;
    --font: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== STICKY CTA BAR (MOBILE) ===== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--border);
    padding: 12px 20px;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.sticky-cta-button {
    padding: 12px 30px;
    background: var(--orange);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 4px;
}

/* ===== SKELETON LOADER ===== */
.skeleton-loader {
    padding: 40px 0;
}

.skeleton-back {
    width: 150px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-bottom: 20px;
    border-radius: 4px;
}

.skeleton-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skeleton-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-main-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.skeleton-thumb {
    height: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-category {
    width: 100px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-title {
    width: 80%;
    height: 36px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-model {
    width: 200px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-desc {
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-price-block {
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-actions {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 13px;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    margin-right: 8px;
}

.breadcrumbs li:after {
    content: ">";
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumbs li:last-child:after {
    display: none;
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}

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

/* ===== TRUST SIGNALS ===== */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    margin: 20px 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-medium);
}

.trust-item i {
    color: var(--primary);
    font-size: 16px;
}

.trust-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ===== NOT FOUND ===== */
.not-found-container {
    text-align: center;
    padding: 60px 20px;
}

.not-found-content i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 15px;
}

.not-found-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.not-found-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== PRODUCT CONTAINER ===== */
.product-container {
    padding: 10px 0 60px;
}

/* ===== BACK NAV ===== */
.back-nav {
    margin: 10px 0;
}

/* ===== PRODUCT MAIN ===== */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 20px;
}

/* ===== IMAGE GALLERY ===== */
.product-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-image-wrapper {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.main-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    cursor: zoom-in;
    transition: opacity 0.3s;
}

.main-image.loading {
    opacity: 0.5;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}

.badge-featured { background: #ff6b6b; }
.badge-new { background: #4ecdc4; }
.badge-sale { background: #ffa500; }

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: var(--primary);
    color: #fff;
}

.wishlist-btn.active {
    background: var(--primary);
    color: #fff;
}

.wishlist-btn.active i:before {
    content: "\f004";
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.zoom-btn:hover {
    background: var(--primary);
}

.gallery-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
}

.gallery-nav-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    flex: 1;
    overflow-x: auto;
}

.thumbnail {
    border: 2px solid var(--border);
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

.gallery-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== VIDEO ===== */
.product-video {
    margin-top: 20px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-medium);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== PRODUCT INFO ===== */
.product-info {
    padding: 10px 0;
}

.category-badge {
    display: inline-block;
    background: var(--text-medium);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item strong {
    font-weight: 600;
}

.brand-name {
    color: var(--primary);
    font-weight: 700;
}

.short-description {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
    margin: 15px 0 25px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ===== SHOWROOM BADGE - DETAIL PAGE ===== */
.showroom-badge-detail {
    background: linear-gradient(135deg, #f8f4f0 0%, #faf7f4 100%);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.badge-icon {
    font-size: 32px;
    line-height: 1;
}

.badge-content {
    flex: 1;
}

.badge-text {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.badge-images {
    margin: 10px 0;
}

.badge-images-label {
    font-size: 14px;
    color: var(--text-medium);
    margin-right: 10px;
}

.image-thumbnails {
    display: inline-flex;
    gap: 8px;
    margin-top: 5px;
}

.floor-sample-thumb {
    width: 60px;
    height: 60px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.floor-sample-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floor-sample-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Hover Preview */
.image-preview {
    display: none;
    position: absolute;
    z-index: 1000;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    padding: 10px;
    pointer-events: none;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.image-preview img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
}

.floor-sample-thumb:hover .image-preview {
    display: block;
}

.badge-cta {
    font-size: 14px;
    color: var(--text-medium);
    margin: 10px 0 0 0;
    font-style: italic;
}

/* ===== STOCK STATUS ===== */
.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 4px;
}

.stock-status.in-stock i {
    color: var(--success);
}

.stock-status.available-for-quote i {
    color: var(--orange);
}

.stock-status i {
    font-size: 16px;
}

#stock-text {
    font-weight: 500;
    font-size: 14px;
}

/* ===== PRICE & ACTION ===== */
.price-action-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.price-block {
    flex: 1;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.btn-get-quote,
.btn-add-to-cart {
    padding: 14px 35px;
    background: var(--orange);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-radius: 4px;
}

/* ===== UNLOCK CART BUTTON ===== */
.btn-unlock-cart {
    padding: 14px 35px;
    background: var(--orange);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.btn-unlock-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-unlock-cart:hover::before {
    left: 100%;
}

.btn-unlock-cart:hover {
    background: #d45f19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(170,135,111,0.3);
}

.btn-unlock-cart:active {
    transform: translateY(0);
}

.btn-unlock-cart i {
    font-size: 16px;
}

.btn-get-quote:hover,
.btn-add-to-cart:hover {
    background: #d45f19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(170,135,111,0.3);
}

/* ===== QUANTITY SELECTOR ===== */
.quantity-section {
    margin-bottom: 20px;
}

.quantity-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.quantity-selector {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

#quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.action-link {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-family: var(--font);
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.action-link:hover {
    color: var(--primary);
}

.action-link i {
    font-size: 14px;
}

/* ===== PRICE ALERT ===== */
.price-alert-section {
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border);
}

.alert-link {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    transition: all 0.3s;
}

.alert-link:hover {
    color: var(--primary);
}

/* ===== SHARE ===== */
.share-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
}

.share-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.share-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== DESCRIPTION SECTION ===== */
.product-description-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.section-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.description-content {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 14px;
}

.description-content p {
    margin-bottom: 15px;
}

/* ===== MOBILE ACCORDION ===== */
.mobile-accordion {
    display: none;
    margin-bottom: 40px;
}

.accordion-item {
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    background: var(--bg-light);
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 20px;
}

/* ===== DESKTOP TABS ===== */
.product-tabs {
    margin-bottom: 50px;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    font-family: var(--font);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-panel {
    display: none;
}

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

.panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* ===== SPECS TABLE ===== */
.specs-table-wrapper {
    background: var(--bg-light);
    padding: 25px;
    border: 1px solid var(--border);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

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

.specs-table td {
    padding: 12px 0;
    font-size: 13px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-medium);
    width: 35%;
}

.specs-table td:last-child {
    color: var(--text-dark);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.feature-item i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== SUPPORT GRID ===== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.support-card {
    background: var(--bg-light);
    padding: 25px;
    border: 1px solid var(--border);
    text-align: center;
}

.support-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.support-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.support-card p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-medium);
    color: var(--text-medium);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    padding: 12px 30px;
    background: var(--orange);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
    border-radius: 4px;
}

.btn-primary:hover {
    background: #8a6a56;
}

/* ===== RELATED PRODUCTS ===== */
.related-section {
    border-top: 2px solid var(--border);
    padding-top: 50px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.related-item {
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.related-code {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--primary);
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content h3 {
    margin-bottom: 10px;
    color: var(--text-medium);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font);
}

.modal-note {
    font-size: 13px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .sticky-cta-bar {
        display: block !important;
    }
    
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .main-image {
        max-height: 300px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .price-action-section {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn-get-quote,
    .btn-add-to-cart,
    .btn-unlock-cart {
        width: 100%;
        justify-content: center;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .mobile-accordion {
        display: block;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .trust-signals {
        display: flex;
        justify-content: center;
        gap: 30px;
        padding: 15px 20px;
        background: var(--bg-light);
        border: 1px solid var(--border);
        margin: 10px 0 20px 0;
        flex-wrap: wrap;
    }
    
    .trust-item {
        justify-content: center;
    }
    
    .gallery-dots {
        display: flex;
    }
    
    .thumbnail-gallery {
        display: none;
    }
    
    .gallery-nav-btn {
        display: none;
    }
    
    .breadcrumbs li:nth-child(n+3):nth-last-child(n+2) {
        display: none;
    }
    
    .related-grid,
    .features-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .skeleton-main {
        grid-template-columns: 1fr;
    }
    
    /* Mobile showroom badge */
    .showroom-badge-detail {
        flex-direction: column;
        padding: 15px;
    }
    
    .badge-icon {
        font-size: 24px;
    }
    
    .floor-sample-thumb {
        width: 50px;
        height: 50px;
    }
    
    .image-preview img {
        width: 200px;
        height: 200px;
    }
}

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

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }

  .modal-content {
    background: #fff;
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
  }

  .modal-content iframe {
    width: 100%;
    height: 100%;
  }

  .close-button {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 10001;
  }

#quote-modal .modal-content {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
    font-family: var(--font);
  }

  #quote-modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  #quote-modal input,
  #quote-modal textarea {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
  }

  #quote-modal textarea {
    min-height: 100px;
  }