@import 'product_detail.css';

/* Style 15: Cinematic Immersive - "The Dark Knight" Edition */
.product-container.view-15 {
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 100%;
    gap: 0;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Digital Grain Texture Overlay */
.product-container.view-15::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch" /></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
    opacity: 0.03;
    pointer-events: none;
    z-index: 100;
}
.model-no-badge {
        margin-top: -20em;
		margin-left: 7em;
    }
/* Full Screen Immersive Gallery */
.view-15 .product-gallery {
    width: 100%;
    height: 90vh;
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
}

.view-15 .main-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 30px 100px rgba(0, 0, 0, 0.6)) !important;
    z-index: 2;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.view-15 .main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: cinematicFloat 8s ease-in-out infinite;
}

@keyframes cinematicFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg) scale(1);
    }

    50% {
        transform: translateY(-40px) rotate(1deg) scale(1.05);
    }
}

.view-15 .thumbnails {
    position: absolute;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-15 .thumbnail {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border-width: 2px;
}

/* Floating Content Card */
.view-15 .product-details {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: -10vh auto 5rem;
    padding: 5rem;
    background: var(--card-bg);
    backdrop-filter: blur(40px);
    border: 1px solid var(--border);
    border-radius: 60px;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
}

.view-15 h1 {
    font-size: 4.5rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -3px !important;
    grid-column: 1 / span 2;
    margin-bottom: 3rem !important;
    color: var(--text-primary) !important;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.view-15 .model-no-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    background: var(--accent) !important;
    color: #000 !important;
}

.view-15 .price-card {
    grid-column: 2;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border) !important;
    position: sticky;
    top: 100px;
    padding: 2.5rem !important;
}

.view-15 .current-price {
    font-size: 3.5rem !important;
    letter-spacing: -1px !important;
}

.view-15 .description-box {
    grid-column: 1;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.view-15 .description-box h2 {
    font-size: 2.5rem !important;
    letter-spacing: -1px !important;
    color: var(--accent) !important;
    margin-bottom: 2rem !important;
}

.view-15 .action-buttons {
    grid-column: 1 / span 2;
    margin-top: 2rem;
}

.view-15 .btn {
    padding: 1.5rem !important;
    font-size: 1.2rem !important;
    border-radius: 20px !important;
}

/* Dynamic Contrast Text - Force with !important to override inline IDs and classes */
.view-15 h1,
.view-15 h2,
.view-15 h3,
.view-15 p,
.view-15 li,
.view-15 span,
.view-15 strong,
.view-15 a:not(.btn),
.view-15 div:not(.model-no-badge) {
    color: var(--text-primary) !important;
}

.view-15 .price,
.view-15 .current-price,
.view-15 .text-accent {
    color: var(--accent) !important;
}

/* Specifically for light background elements defined in product.php */
.view-15 .price-stat-tag:nth-child(2) {
    background: var(--accent) !important;
}

.view-15 .price-stat-tag:nth-child(2) span,
.view-15 .price-stat-tag:nth-child(2) div span {
    color: #000 !important;
}

/* Tabs specifically */
.view-15 .tab-title {
    opacity: 0.6;
}

.view-15 .tab-title.active {
    color: var(--accent) !important;
    opacity: 1;
    border-bottom-color: var(--accent) !important;
}

/* Scroll Animations */
.view-15 .animate {
    opacity: 0;
    transform: translateY(30px);
    animation: cinematicReveal 1s forwards;
}

@keyframes cinematicReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .view-15 .product-details {
        grid-template-columns: 1fr;
        margin: 0;
        border-radius: 0;
        padding: 3rem 1.5rem;
    }

    .view-15 h1 {
        font-size: 2.8rem !important;
    }

    .view-15 .product-gallery {
        height: 70vh;
    }

    .view-15 .main-image {
        padding: 2rem;
    }
	
}