/* ============================================
   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: 511px;
  	position: relative;
  	border-radius: 18px;
  	object-fit: contain;
}

#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;
	backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.photo-view-nav-btn::after {
	content: '';
    position: absolute;
    inset: 0;
    padding: 0.5px;
    border-radius: 8px;
    pointer-events: none;
    mask-composite: exclude;
    background: linear-gradient(338deg, #ffffff 0%, transparent 35%, transparent 65%, #ffffff 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
}

.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 {
  	background: rgba(232, 232, 232, 0.80);
	box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.08);
}

.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;
  	border-radius: 24px;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	gap: 4px;
  	cursor: pointer;
  	transition: all 0.3s ease;
	line-height: 1;
	background: radial-gradient(ellipse 192.31% 192.31% at 52.63% 123.08%, white 0%, #F57F20 23%, #F57F20 58%, white 100%) padding-box, radial-gradient(circle, #F57F20 0%, white 40%, #F57F20 100%) border-box;
    border: 1px solid transparent;
}

.photo-view-right-section .contact-agent-btn:hover {
  	background: radial-gradient(ellipse 192.31% 192.31% at 52.63% 123.08%, white 0%, #F05728 23%, #F05728 58%, white 100%) padding-box, radial-gradient(circle, #F57F20 0%, white 40%, #F57F20 100%) border-box;
}

.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: 8px 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;
    margin-bottom: 8px;
	text-align: left;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	word-wrap: break-word;
	text-align: left;
}

.agent-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    padding: 6px 8px;
    text-decoration: none;
    color: #717171;
    transition: all 0.2s ease;
	color: #3E3A39;
	font-size: 16px;
	font-family: 'Lato', sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.agent-contact-item:hover {
    background: #F0F0F0;
    color: #3E3A39;
}

.agent-contact-item i {
    font-size: 22px;
    color: #717171;
    min-width: 16px;
}

/* ============================================
   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:hover {
	background: #E8E8E8;
}

.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;
		width: 100%;
    }

    .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;
		font-size: 16px;
	}

	.photo-view-header .col-md-4 {
		margin-top: 20px;
	}

	.photo-view-thumbnail-wrapper.inactive .photo-view-thumbnail-overlay {
		background: none;
	}

	.photo-view-left-section {
		gap: 12px;
	}
}