/* Digital Showroom Full-Screen Product Modal CSS */
.product-fullscreen-page {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 999999;
    background: #000000;
    color: #ffffff;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(100vh);
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.45s ease;
}

.product-fullscreen-page.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Top Navigation Bar */
.product-page-header {
    position: sticky;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
}

.product-page-back-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-page-back-btn:hover {
    color: #A5DB5C;
}

.product-page-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-badge-accent {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #A5DB5C;
    background: rgba(165, 219, 92, 0.12);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(165, 219, 92, 0.25);
}

.product-page-header-title strong {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-transform: uppercase !important;
}

.product-page-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-page-cta-btn {
    background: #A5DB5C;
    color: #111111;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-page-cta-btn:hover {
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    transform: translateY(-2px);
}

.product-page-close-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff;
    width: 34px; height: 34px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.product-page-close-btn:hover,
.product-page-close-btn:focus,
.product-page-close-btn:active {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #A5DB5C;
    transform: rotate(90deg);
}

/* Page Body Canvas */
.product-page-body {
    padding: 40px 0 80px 0;
}

.product-page-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.product-page-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;
}

/* Left Image Box & Thumbnails */
.product-page-left-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-main-img-box {
    width: 100%;
    height: 480px;
    background: #141414;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 25px;
}

.product-main-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.product-img-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.product-img-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.product-img-dots .dot.active {
    background: #A5DB5C;
}

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

.product-thumbs-grid img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: #141414;
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product-thumbs-grid img:hover {
    opacity: 0.8;
    border-color: #A5DB5C;
}

/* Right Content Area */
.product-page-right-col {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.product-details-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
    text-transform: uppercase !important;
}

.product-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
    text-transform: lowercase;
}

.product-desc-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-section-box {
    margin-bottom: 25px;
}

.product-section-heading {
    font-size: 14px;
    font-weight: 800;
    color: #A5DB5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px 0;
}

.product-vantaggi-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-vantaggi-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.product-colors-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-modal-actions-wrapper {
    margin-top: auto;
    padding-top: 25px;
    display: flex;
    align-items: stretch;
    gap: 15px;
}

#product-modal-pdf-box {
    flex: 0 0 auto;
}

.product-pdf-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.product-pdf-link-btn:hover {
    border-color: #A5DB5C;
    color: #A5DB5C;
    background: rgba(165, 219, 92, 0.08);
    text-decoration: none !important;
}

.product-cta-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #A5DB5C;
    color: #111111;
    padding: 16px 30px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    margin: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.product-cta-btn:hover {
    background: #ffffff;
    color: #111111;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .product-modal-actions-wrapper {
        flex-direction: column;
    }
    #product-modal-pdf-box, .product-pdf-link-btn, .product-cta-btn {
        width: 100%;
    }
}

/* Bottom Accordion Dati Tecnici Bar */
.product-tech-accordion {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.product-accordion-btn {
    width: 100%;
    background: #141414;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s ease;
}

.product-accordion-btn:hover {
    background: #222222;
    color: #A5DB5C;
}

/* Technical Specs Categorized Grid */
.product-specs-body {
    padding-top: 25px;
}

.tech-specs-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 991px) {
    .tech-specs-grid-container {
        grid-template-columns: 1fr;
    }
}

.tech-spec-category-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.spec-cat-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    padding-left: 12px;
    border-left: 3px solid #A5DB5C;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-rows-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.spec-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.spec-label-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.4;
}

/* Premium Pill Badges */
.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

.spec-pill.included {
    background: rgba(165, 219, 92, 0.12);
    color: #A5DB5C;
    border: 1px solid rgba(165, 219, 92, 0.3);
    box-shadow: 0 0 12px rgba(165, 219, 92, 0.15);
}

.spec-pill.available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.tech-specs-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-legend {
    display: flex;
    gap: 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.spec-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1100px) {
    .product-page-grid {
        grid-template-columns: 1fr;
    }
    .product-page-left-col {
        order: -1;
    }
    .product-details-title {
        font-size: 26px;
    }
    .product-main-img-box {
        height: 340px;
    }
}
