/* ============================================
   PROPERTY VIEW PHOTO SECTION
   ============================================= */

.photo-view-container {
	background: white;
}

#wrapper, #main {
    background: white !important;
}

/* ============================================
   MAIN IMAGE SECTION
   ============================================= */

.photo-view-main-wrapper {
  	padding-bottom: 20px;
  	margin: 0 !important;
}

.photo-view-main {
  	width: 100%;
  	height: 100%;
  	position: relative;
}

.photo-view-main-img {
  	width: 100%;
  	height: auto;
  	max-height: 511px;
  	position: relative;
  	box-shadow: 0px 20px 44px -4px rgba(0, 0, 0, 0.20);
  	border-radius: 18px;
  	object-fit: cover;
}

#blueprint-view .photo-view-main-img {
	object-fit: contain;
}

.photo-view-nav-btn {
  	padding: 8px;
  	position: absolute;
  	background: rgba(62, 58, 57, 0.25);
  	border-radius: 8px;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	gap: 10px;
  	border: none;
  	cursor: pointer;
  	transition: all 0.3s ease;
  	top: 50%;
  	transform: translateY(-50%);
  	z-index: 10;
}

.photo-view-nav-btn:hover {
  	background: rgba(62, 58, 57, 0.35);
}

.photo-view-nav-btn.prev {
  	left: 14px;
}

.photo-view-nav-btn.next {
  	right: 14px;
}

.photo-view-nav-icon {
  	width: 20px;
  	height: 20px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
}

/* ============================================
   THUMBNAIL SECTION
   ============================================= */

.photo-view-thumbnails {
  	width: 100%;
  	height: auto;
  	max-height: 551px;
  	padding-bottom: 20px;
  	overflow-y: auto;
  	box-sizing: border-box;
}

.photo-view-thumbnails .row {
  	margin: 0 !important;
}

.photo-view-thumbnail {
  	width: 100%;
  	height: 100%;
  	border-radius: 18px;
  	object-fit: cover;
  	cursor: pointer;
  	transition: all 0.3s ease;
}

.photo-view-thumbnail-wrapper {
  	position: relative;
  	width: 100%;
  	aspect-ratio: 1;
  	border-radius: 18px;
  	overflow: hidden;
  	cursor: pointer;
}

.photo-view-thumbnail-overlay {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	border-radius: 18px;
  	pointer-events: none;
  	transition: all 0.3s ease;
}

.photo-view-thumbnail-wrapper.active .photo-view-thumbnail-overlay {
  	background: transparent;
}

.photo-view-thumbnail-wrapper.inactive .photo-view-thumbnail-overlay {
  	background: #00000080;
}

.photo-view-thumbnail-wrapper:hover .photo-view-thumbnail {
  	transform: scale(1.02);
}

/* ============================================
   HEADER/TOOLBAR SECTION
   ============================================= */

.photo-view-header {
  	padding-top: 40px;
  	padding-bottom: 40px;
  	margin: 0 !important;
}

.photo-view-header .col-6 {
  	padding: 0 !important;
}

.photo-view-left-section {
  	display: flex;
  	justify-content: flex-start;
  	align-items: flex-start;
  	gap: 20px;
}

.photo-view-right-section {
  	display: flex;
  	justify-content: flex-end;
  	align-items: center;
  	gap: 31px;
}

.photo-view-back-btn {
  	padding: 8px;
  	background: white;
  	box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.08);
  	border-radius: 999px;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	gap: 10px;
  	border: none;
  	cursor: pointer;
  	transition: all 0.3s ease;
}

.photo-view-back-btn:hover {
  	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.12);
}

.photo-view-back-icon {
  	width: 20px;
  	height: 20px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
}

.photo-view-info {
  	display: flex;
  	flex-direction: column;
  	justify-content: flex-start;
  	align-items: flex-start;
  	gap: 14px;
}

.photo-view-title {
  	align-self: stretch;
  	color: #717171;
  	font-size: 20px;
  	font-family: Montserrat;
  	font-weight: 500;
  	word-wrap: break-word;
}

.photo-view-price {
  	align-self: stretch;
  	display: flex;
  	justify-content: flex-start;
  	align-items: center;
  	gap: 6px;
}

.photo-view-currency {
  	color: #1D4656;
  	font-size: 24px;
  	font-family: Montserrat;
  	font-weight: 800;
}

.photo-view-price-value {
  	color: #1D4656;
  	font-size: 24px;
  	font-family: Montserrat;
  	font-weight: 800;
  	letter-spacing: 1.20px;
}

/* ============================================
   RIGHT ACTIONS SECTION
   ============================================= */

.photo-view-right-section {
  	display: flex;
  	justify-content: flex-start;
  	align-items: center;
  	gap: 31px;
}

.photo-view-right-section .contact-agent-btn {
  	padding: 10px 18px;
  	background: radial-gradient(ellipse 192.31% 192.31% at 52.63% 123.08%, white 0%, #F57F20 23%, #F57F20 58%, white 100%);
  	border-radius: 24px;
  	border: 1px #F57F20 solid;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	gap: 4px;
  	cursor: pointer;
  	transition: all 0.3s ease;
}

.photo-view-right-section .contact-agent-btn:hover {
  	box-shadow: 0 4px 12px rgba(245, 127, 32, 0.2);
}

.photo-view-right-section .contact-agent-text {
  	color: white;
  	font-size: 16px;
  	font-family: Lato;
  	font-weight: 500;
}

.photo-view-right-section .contact-agent-icon {
  	width: 18px;
  	height: 18px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
}

.contact-agent-icon i {
	color: white;
}

.photo-view-action-group {
  	display: flex;
  	justify-content: flex-start;
  	align-items: center;
  	gap: 15px;
}

.photo-view-action-btn {
  	padding: 10px 18px;
  	background: #F7F7F7;
  	border-radius: 24px;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	gap: 4px;
  	border: none;
  	cursor: pointer;
  	transition: all 0.3s ease;
}

.photo-view-action-btn:hover {
  	background: #f0f0f0;
}

.photo-view-action-icon {
  	width: 18px;
  	height: 18px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
}

.photo-view-action-icon i {
	color: #717171;
}

.photo-view-action-text,
.photo-view-action-btn .agent-action-text {
  	color: #717171;
  	font-size: 16px;
  	font-family: Lato;
  	font-weight: 400;
}

/* ============================================
   AGENT DROPDOWN STYLING
   ============================================= */

.agent-dropdown {
    width: 160px;
    padding: 12px 10px;
    border-radius: 18px;
    border: 1px solid #E8E8E8;
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.15);
    background: #FFFFFF;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 12000 !important;
    display: flex !important;
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.agent-dropdown.measuring {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.agent-dropdown.show {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.agent-dropdown-title {
    font-size: 12px;
    color: #717171;
    font-weight: 500;
    margin-bottom: 8px;
    padding: 0 8px;
}

.agent-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    color: #1D4656;
    text-decoration: none;
    transition: all 0.2s ease;
}

.agent-contact-item:hover {
    background: #F0F0F0;
    color: #F57F20;
}

.agent-contact-item i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PHOTO/BLUEPRINT TABS SECTION
   ============================================= */

.photo-view-tabs-container {
    width: 100%;
    padding-bottom: 20px;
	padding-left: 48px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    display: inline-flex;
}

.photo-view-tab {
    padding: 6px 18px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photo-view-tab-active {
    background: transparent;
}

.photo-view-tab-active .photo-view-tab-label {
    color: #EE4733;
    font-size: 16px;
    font-family: Lato, sans-serif;
    font-weight: 600;
    letter-spacing: 0.32px;
}

.photo-view-tab-inactive {
    background: #F7F7F7;
}

.photo-view-tab-inactive .photo-view-tab-label {
    color: #717171;
    font-size: 16px;
    font-family: Lato, sans-serif;
    font-weight: 400;
}

.photo-view-tab-label {
    word-wrap: break-word;
    transition: all 0.2s ease;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================= */

.photo-view-thumbnails::-webkit-scrollbar {
  	display: none;
}

/* responsive styling */
@media (max-width: 768px) {
	.photo-view-header {
    	padding-bottom: 16px;
	}

	.photo-view-info {
		gap: 10px;
	}

    .photo-view-right-section {
        justify-content: space-between;
    }

    .photo-view-action-btn {
        background: transparent;
		padding: 8px;
    }

    .photo-view-tabs-container {
        padding-left: 12px;
        padding-right: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .photo-view-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .photo-view-blueprint-wrapper {
        padding-bottom: 12px;
    }

    .photo-view-blueprint-img {
        max-height: 400px;
    }

	.photo-view-action-group {
		gap: 10px;
	}

	.photo-view-header .col-md-4 {
		margin-top: 35px;
	}

	.photo-view-thumbnail-wrapper.inactive .photo-view-thumbnail-overlay {
		background: none;
	}
}