        /* --- GLOBAL STYLES --- */
        :root {
            --primary-color: #007bff; /* Clean blue accent */
            --secondary-color: #f8f9fa; /* Light gray background/dividers */
            --text-color: #333;
            --font-family: 'Arial', sans-serif;
        }

        body {
            font-family: var(--font-family);
            background-color: #fff;
            color: var(--text-color);
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
        }

        /* --- HEADER --- */
        .header {
            text-align: center;
            padding: 20px 0 10px;
            border-bottom: 2px solid var(--secondary-color);
        }

        .header h1 {
            color: var(--text-color);
            font-size: 2.2em;
            margin: 0 0 5px 0;
        }

        /* --- MAIN IMAGE SECTION --- */
        .main-image-container {
            width: fit-content;
            height: fit-content;
            margin: 0 auto;
            border: hidden;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .main-image {
            width: 100%;
            /* Fixed height as requested */
            height: 150px; 
            object-fit: cover; /* Ensures the image fills the space cleanly */
            display: block;
        }

        /* --- DETAILS / SPECS --- */
        .details-section {
            padding: 20px;
            background-color: var(--secondary-color);
            border-radius: 8px;
            margin-bottom: 30px;
        }
        
        .details-section h2 {
            font-size: 1.5em;
            color: var(--primary-color);
            border-bottom: 2px solid #ddd;
            padding-bottom: 10px;
            margin-top: 0;
        }
        
        .spec-item {
            padding: 5px 0;
            border-bottom: 1px dashed #ccc;
        }
        
        .spec-item:last-child {
            border-bottom: none;
        }

        /* --- GALLERY GRID --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(5,1fr);
            gap: 15px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .gallery-item img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 4px;
            transition: transform 0.2s;
            cursor: zoom-in;
        }

        .gallery-item img:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* --- MODAL / ZOOM STYLES --- */
        .modal {
            display: none; /* Hidden by default */
            position: fixed; 
            z-index: 100; 
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgba(0,0,0,0.9); 
            justify-content: center; /* Centers horizontally (when display: flex) */
            align-items: center; /* Centers vertically (when display: flex) */
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 80%;
            max-height: 90%;
            border-radius: 8px;
            object-fit: contain; 
        }

        /* Close button for the modal */
        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
            z-index: 101; 
        }

        .close:hover,
        .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }

        /* Animations */
        .modal-content, #caption {
            -webkit-animation-name: zoom;
            -webkit-animation-duration: 0.6s;
            animation-name: zoom;
            animation-duration: 0.6s;
        }

        @keyframes zoom {
            from {transform:scale(0)} 
            to {transform:scale(1)}
        }
