﻿/* Place Your Custom Styles Here */

.ed-homeblock .homeblock-container {
	position: relative;
	z-index: 2;
}

.ed-homeblock .section.fullscreen-element {
	padding: 0;
}

.jewellery-gallery .jewellery-card {
	border: 1px solid #d9d9d9;
	padding: 22px;
	background-color: #fff;
	text-align: center;
}

.jewellery-gallery .jewellery-container {
	width: 100%;
	max-width: 1280px;
}

@media (min-width: 1600px) {
	.jewellery-gallery .jewellery-container {
		max-width: 1440px;
	}
}

.jewellery-gallery .jewellery-media {
	margin-bottom: 16px;
	background-color: #fff;
	padding: 18px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jewellery-gallery .jewellery-media video,
.jewellery-gallery .jewellery-media img,
.jewellery-gallery .jewellery-media iframe {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#jewellery .jewellery-media video,
#jewellery .jewellery-media iframe {
	width: 400px;
	height: 400px;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}

.jewellery-gallery .jewellery-body {
	text-align: center;
}

.bride-gallery .flexslider {
	margin-top: 40px;
}

.bride-gallery .container {
	max-width: 1400px;
}

.bride-product-showcase {
	margin-bottom: 40px;
}

.bride-product-frame {
	background: #fff;
	border: 1px solid #e2e2e2;
	box-shadow: 0 20px 36px rgba(0, 0, 0, 0.06);
	padding: 22px 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: auto;
}

.bride-product-main {
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f8f8f8;
	border: 1px solid #ededed;
	cursor: pointer;
}

.bride-product-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bride-product-thumbs {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
	gap: 8px;
	margin-top: 0;
	flex-wrap: wrap;
	height: 216px;
	overflow-y: auto;
}

.bride-product-thumbs .product-thumb {
	border: 1px solid #e0e0e0;
	padding: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bride-product-thumbs .product-thumb img {
	display: block;
	width: 56px;
	height: 70px;
	object-fit: cover;
}

.bride-product-thumbs .product-thumb:hover,
.bride-product-thumbs .product-thumb:focus {
	border-color: #c2a27a;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.bride-product-thumbs .product-thumb.active {
	border-color: #c2a27a;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

body.bride-modal-open {
	overflow: hidden;
}

.bride-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 3000;
}

.bride-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.bride-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.bride-modal-panel {
	position: relative;
	z-index: 1;
	max-width: 92vw;
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bride-modal-image {
	max-width: 92vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	display: block;
	background: #fff;
	border: 4px solid #fff;
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.bride-modal-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	color: #222;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	z-index: 2;
}

.bride-modal-control:hover,
.bride-modal-control:focus {
	background: #fff;
	box-shadow: 0 12px 24px rgba(0,0,0,0.2);
	transform: translateY(-50%) scale(1.04);
}

.bride-modal-prev {
	left: 24px;
}

.bride-modal-next {
	right: 24px;
}

.bride-modal-close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	color: #222;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 16px rgba(0,0,0,0.18);
	transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
	z-index: 2;
}

.bride-modal-close:hover,
.bride-modal-close:focus {
	background: #fff;
	box-shadow: 0 12px 24px rgba(0,0,0,0.25);
	transform: scale(1.04);
}

@media (max-width: 767px) {
	.bride-modal-control {
		width: 44px;
		height: 44px;
		font-size: 22px;
	}

	.bride-modal-prev {
		left: 12px;
	}

	.bride-modal-next {
		right: 12px;
	}

	.bride-modal-close {
		top: 12px;
		right: 12px;
	}

	.bride-modal-image {
		border-width: 3px;
	}
}

.bride-gallery .bride-slide {
	width: 100%;
	padding-bottom: 120%;
	background-size: cover;
	background-position: center;
	border: 1px solid #eee;
	box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.bride-gallery .flexslider .flex-direction-nav {
	top: 50%;
	transform: translateY(-50%);
}

.bride-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

@media (min-width: 768px) {
	.bride-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bride-gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.bride-card {
	border: 1px solid #e6e6e6;
	background-color: #fff;
	box-shadow: 0 14px 28px rgba(0,0,0,0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: visible;
	display: flex;
	flex-direction: column;
}

.bride-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.bride-card-media {
	position: relative;
	overflow: hidden;
	background: #f8f8f8;
}

.bride-card-cover {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.bride-card .hover-carousel {
	position: absolute;
	inset: 0;
	padding: 12px;
	background: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	display: flex;
}

.bride-card:hover .hover-carousel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.bride-card .hover-carousel .flexslider {
	margin: 0;
	border: 0;
	box-shadow: none;
	width: 100%;
	height: 100%;
}

.bride-card .hover-carousel .flexslider .slides {
	height: 100%;
}

.bride-card .hover-carousel .flexslider .flex-slide {
	height: 100%;
}

.bride-card .hover-carousel .flexslider .flex-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bride-card-body {
	padding: 16px 18px 18px;
	background-color: #fff;
	color: #222;
	position: relative;
	z-index: 1;
}

.groom-gallery .bride-card-body {
	text-align: left;
}

.groom-gallery .jewellery-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.groom-gallery .isotope-container {
	position: static !important;
	height: auto !important;
}

.groom-gallery .isotope-item {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	transform: none !important;
}

.groom-gallery .jewellery-grid .jewellery-item {
	display: flex;
}

.groom-gallery .jewellery-card {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
}

.bride-card-body h4 {
	margin: 0 0 8px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 13px;
	color: #222;
}

.bride-card-body p {
	margin: 0;
	font-size: 13px;
	color: #555;
}

.bride-video-wrapper {
	width: 100%;
	height: 100%;
}

.bride-video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 1px solid #e6e6e6;
	background: #000;
}

@media (max-width: 767px) {
	.bride-card .hover-carousel {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		padding: 0;
	}

	.bride-card-cover {
		display: none;
	}
}

.site-footer .footer-meta {
	margin: 6px 0 0;
	font-size: 12px;
	color: #777;
	clear: both;
}

.category-section .category-row {
	display: flex;
	flex-wrap: wrap;
}

.category-section .category-row > [class*="col-"] {
	display: flex;
}

.category-section .category-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	border: 1px solid #d9d9d9;
	padding: 18px;
	background-color: #fff;
	text-align: center;
	color: #333;
}

.category-section .category-card:hover,
.category-section .category-card:focus {
	color: #333;
	box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.category-section .category-media {
	margin-bottom: 12px;
	background-color: #f7f7f7;
	padding: 12px;
	aspect-ratio: 3 / 4;
	height: clamp(240px, 60vw, 360px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
}

.category-section .category-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.groom-cta {
	display: none;
}

.groom-cta.is-visible {
	display: inline-block;
}

.category-section .category-heading {
	text-align: center;
	margin-bottom: 36px;
}

.category-section .category-heading h2 {
	margin: 0;
	font-size: 20px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.category-section .category-heading-line {
	width: 56px;
	height: 1px;
	margin: 12px 0 10px;
	background-color: #333;
}

.category-section .category-heading p {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #777;
}

.category-section .category-heading-line {
	margin-left: auto;
	margin-right: auto;
}

#about .about-list li {
	margin-bottom: 12px;
	line-height: 1.6;
}

#about .about-list li:last-child {
	margin-bottom: 0;
}

#about .container {
	max-width: 1280px;
}

@media (min-width: 1600px) {
	#about .container {
		max-width: 1440px;
	}
}

.groom-category {
	margin-top: 40px;
}

.groom-category:first-of-type {
	margin-top: 24px;
}

.groom-category-title {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 14px;
}

.header-nav > ul {
	overflow: visible;
}

.main-header,
.main-header .header-container,
.main-header .header-content,
.main-header .header-el,
.main-header .header-block,
.main-header .nav-block {
	overflow: visible;
}

.header-nav .nav .has-submenu {
	position: relative;
}

.header-nav .nav .submenu {
	position: absolute;
	top: 0;
	left: 100%;
	min-width: 200px;
	margin: 0;
	margin-left: 16px;
	padding: 8px 0;
	list-style: none;
	background-color: #fff;
	border: 1px solid #d9d9d9;
	box-shadow: 0 10px 20px rgba(0,0,0,0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateX(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 2000;
}

.header-nav .nav .submenu li {
	display: block;
}

.header-nav .nav .submenu a {
	display: block;
	padding: 8px 16px;
	text-align: left;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #222;
	white-space: nowrap;
}

.header-nav .nav .submenu a::before {
	content: none;
}

.header-nav .nav .submenu a:hover,
.header-nav .nav .submenu a:focus {
	background-color: #f5f5f5;
	color: #222;
}

.header-nav .nav .has-submenu:hover .submenu,
.header-nav .nav .has-submenu:focus-within .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

@media (max-width: 1024px) {
	.header-nav .nav .submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		margin-left: auto;
		padding: 4px 0 0;
		text-align: right;
	}

	.header-nav .nav .submenu a {
		display: inline-block;
		padding: 6px 0;
	}
}

.jewellery-gallery .jewellery-body .heading-uppercase {
	font-size: 12px;
	letter-spacing: 0.18em;
}

.jewellery-gallery .jewellery-specs {
	border-top: 1px solid #e6e6e6;
	padding-top: 12px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.jewellery-gallery .jewellery-spec {
	text-align: center;
}

.jewellery-gallery .spec-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 10px;
	color: #888;
}

.jewellery-gallery .spec-value {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: #111;
}

@media (max-width: 767px) {
	.jewellery-gallery .jewellery-specs {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 12px;
	}
}

.overlay-video .bg-video-slide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.overlay-video .bg-video-slide.active {
	opacity: 1;
}

.overlay-video .bg-video-slide video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.overlay-video .bg-video-slide.bg-image-slide {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.overlay-video .bg-video-slide .bg-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform 12s ease;
}

.overlay-video .bg-video-slide.bg-image-slide.active .bg-image {
	transform: scale(1.08);
}

@media (min-width: 1025px) {
	.overlay-video {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}

	/* Compensate for fixed left rail so visual focus is centered in the visible content area. */
	.overlay-video .bg-video-slide video {
		object-position: calc(50% + 150px) 50%;
	}

	.overlay-video .bg-video-slide .bg-image {
		background-position: calc(50% + 150px) 50%;
	}

	/* Lower only the home-slider image framing a bit. */
	.overlay-video .bg-video-slide .bg-image.home-slider-image {
		background-position: calc(50% + 150px) 58%;
	}
}

/* Allow video backgrounds on mobile and hide the static fallback */
body.mobile .overlay-video {
	display: block !important;
}

body.mobile .overlay .cover-background.on-mobile {
	display: none !important;
}

@media (max-width: 1024px) {
	.ed-homeblock,
	.ed-homeblock .homeblock-container,
	.ed-homeblock .section.fullscreen-element {
		min-height: 100vh;
		min-height: 100svh;
		min-height: 100dvh;
	}

	html, body, .main-container {
		overflow-x: hidden;
	}

	.global-overlay,
	.overlay,
	.overlay-wrapper,
	.overlay-inner {
		left: 0;
		right: 0;
		width: 100%;
	}

	.overlay-video {
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
	}

	.overlay-video {
		display: block !important;
	}

	.overlay .cover-background.on-mobile {
		display: none !important;
	}

	.overlay-video .video-wrapper,
	.overlay-video .bg-video-slide {
		width: 100%;
		height: 100%;
	}

	body.sideblock-active .global-overlay {
		left: 0;
		right: 0;
	}

	.main-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		padding: 12px 16px;
		height: auto;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
		z-index: 1100;
	}

	.main-header .header-container,
	.main-header .header-content,
	.main-header .header-el {
		display: block;
		width: 100%;
	}

	.main-header .topline,
	.main-header .bottomline {
		display: none;
	}

	.main-header .brand-block {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
	}

	.logo-block {
		float: none;
		height: auto;
	}

	.header-logo img {
		max-height: 52px;
	}

	.nav-toggle {
		display: block;
		position: relative;
		width: 52px;
		height: 52px;
		line-height: 52px;
		flex-shrink: 0;
	}

	.nav-toggle span {
		top: 26px;
		left: 14px;
		right: 14px;
	}

	nav.header-nav {
		display: none;
		width: 100%;
		margin-top: 10px;
		border-top: 1px solid #e6e6e6;
		padding: 12px 16px 16px;
		background: rgba(255, 255, 255, 0.97);
		max-height: calc(100vh - 96px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	nav.header-nav ul.nav,
	nav.header-nav li,
	nav.header-nav li a {
		width: 100%;
	}

	nav.header-nav li {
		margin: 0;
	}

	nav.header-nav li a {
		padding: 10px 0;
		text-align: left;
		line-height: 24px;
		letter-spacing: 0.12em;
	}

	nav.header-nav li a::before {
		display: none;
	}

	nav.header-nav .submenu {
		padding: 6px 0 0;
		text-align: left;
		width: 100%;
		margin-left: 0;
	}

	nav.header-nav .submenu a {
		display: block;
		padding: 6px 0 6px 16px;
		letter-spacing: 0.12em;
	}

	.ed-sideblock {
		padding-top: 112px;
	}

	.section {
		padding: 70px 0;
	}

	.category-section .category-row {
		gap: 12px;
	}

	.category-section .category-card {
		padding: 16px;
	}
}

/* Jewellery gallery mobile optimizations */
@media (max-width: 767px) {
	.jewellery-gallery .jewellery-container {
		padding-left: 14px;
		padding-right: 14px;
	}

	.jewellery-grid .jewellery-item {
		width: 100%;
		float: none;
	}

	.groom-gallery .jewellery-grid .jewellery-item {
		width: 50%;
		float: left;
	}

	.jewellery-gallery .jewellery-card {
		margin-bottom: 18px;
		padding: 16px;
	}

	.groom-gallery .jewellery-card {
		margin-bottom: 14px;
		padding: 12px;
	}

	.jewellery-gallery .jewellery-media {
		padding: 10px;
	}

	.groom-gallery .jewellery-media {
		padding: 6px;
	}

	#jewellery .jewellery-media video {
		width: 100%;
		height: 100%;
	}

	.jewellery-gallery .jewellery-body h4 {
		font-size: 14px;
	}

	.jewellery-gallery .spec-value {
		font-size: 13px;
	}

	.header-logo img {
		max-height: 46px;
	}

	.category-section .category-card {
		padding: 14px;
	}

	.category-section .category-media {
		padding: 8px;
		aspect-ratio: 4 / 5;
		height: clamp(220px, 80vw, 320px);
	}

	.bride-product-main {
		aspect-ratio: 4 / 5;
		width: 100%;
	}

	.bride-product-thumbs {
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 12px;
		height: 194px;
	}

	.bride-product-thumbs .product-thumb img {
		width: 52px;
		height: 64px;
	}

	.ed-sideblock {
		padding-top: 96px;
	}

	.section {
		padding: 56px 0;
	}

	.contact-section [class*="col-sm"] {
		margin-bottom: 14px;
	}

	.lead {
		font-size: 16px;
		line-height: 26px;
	}
}

@supports not (aspect-ratio: 1 / 1) {
	.category-section .category-media {
		position: relative;
		display: flex;
	}

	.category-section .category-media::before {
		content: none;
		display: none;
	}

	.category-section .category-media img {
		position: static;
		width: 100%;
		height: 100%;
	}

	@media (max-width: 767px) {
		.category-section .category-media img {
			width: 100%;
			height: 100%;
		}
	}
}
