/* Existing styles here... */
        .vertical-layout {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
            max-width: 1000px;
            margin: auto;
        }

        .room-container {
            position: relative;
            width: 100%;
        }

		#roomImage {
		  width: 100%;
		  max-width: 800px; /* Set this to whatever smaller size you want */
		  height: auto;
		  display: block;
		  margin: 0 auto; /* Center it horizontally */
		}
#selectedPhoto {
  display: none; /* Initially hidden until selected */
}
#scaleSliderContainer {
  display: none; /* Hidden by default */
}
        .photo-on-wall {
            position: absolute;
            transform: translate(-50%, -50%);
            cursor: grab;
        }

        .photo-gallery-wrapper {
            position: relative;
            width: 100%;
            height: 140px;
            overflow: hidden;
            box-sizing: border-box;
            padding: 0 40px;
        }

        .photo-gallery {
            display: flex;
            flex-direction: row;
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            max-width: 100%;
            box-sizing: border-box;
            gap: 10px;
            scroll-behavior: smooth;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE and Edge */
        }

        .photo-gallery::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }

        .photo-gallery img {
            height: 100px;
            width: auto;
            flex: 0 0 auto;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s;
        }

        .photo-gallery img:hover {
            border-color: #aaa;
        }

        .room-selector {
            margin: 20px auto;
            display: block;
            padding: 8px 12px;
            font-size: 16px;
        }

        .scroll-arrow {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            cursor: pointer;
            color: #333;
            box-shadow: 0 0 5px rgba(0,0,0,0.1);
            position: absolute;
            top: 40%;
            transform: translateY(-50%);
            z-index: 2;
            transition: background 0.2s;
        }

        .scroll-arrow:hover {
            background: rgba(200, 200, 200, 0.9);
        }

        .scroll-arrow.left {
            left: 0px;
        }

        .scroll-arrow.right {
            right: 0px;
        }

        /* Slider styles */
        .slider-container {
            width: 300px;
            margin: 5px auto 5px;
            text-align: center;
            user-select: none;
        }

        #scaleSlider {
            width: 100%;
            cursor: pointer;
        }
		.photo-on-wall {
			position: absolute;
			transform: translate(-50%, -50%);
			cursor: grab;

			/* Frame Styling */
			background-color: white;      /* White matte surround */
			padding: 18px;                /* Thickness of white surround */
			border: 8px solid black;      /* Thin black frame edge */
			box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Optional for depth */
		}
	@media (max-width: 768px) {
		#roomImage {
			max-width: 100%;
			width: 90%; /* Make it scale down nicely */
		}

		.photo-on-wall {
			padding: 12px;         /* Thinner white surround */
			border: 4px solid black; /* Thinner black frame */
		}

		.slider-container {
			width: 90%;
		}

		.photo-gallery-wrapper {
			padding: 0 20px;
		}
	}

	@media (max-width: 480px) {
		.photo-on-wall {
			padding: 8px;
			border: 2px solid black;
		}

		.scroll-arrow {
			width: 30px;
			height: 30px;
			font-size: 18px;
		}

		.room-selector {
			font-size: 14px;
			padding: 6px 10px;
		}
	}
