/* ==========================================================================
   Yindrugs theme styles
   Colours/fonts follow Elementor Site Settings (Global Colors / Global Fonts)
   through the --e-global-* variables, with brand fallbacks.
   ========================================================================== */
:root {
	--yd-navy: var(--e-global-color-primary, #022F80);
	--yd-red: var(--e-global-color-secondary, #E80516);
	--yd-green: var(--e-global-color-accent, #00A24E);
	--yd-text: var(--e-global-color-text, #4A5568);
	--yd-heading: var(--e-global-color-ydheading, #0B1B3F);
	--yd-light: var(--e-global-color-ydlight, #F3F6FB);
	--yd-border: var(--e-global-color-ydborder, #E3E8F0);
	--yd-wa: #25D366;
	--yd-radius: 14px;
	--yd-shadow-hover: 0 22px 44px -20px rgba(2, 47, 128, 0.38);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--yd-header-h, 92px) + 12px); }
body {
	margin: 0;
	font-family: var(--e-global-typography-text-font-family, "Inter"), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--yd-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--yd-navy); }
a:hover { color: var(--yd-red); }
h1, h2, h3, h4, h5, h6 { font-family: var(--e-global-typography-primary-font-family, "Poppins"), sans-serif; color: var(--yd-heading); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100000; top: 8px; left: 8px; background: #fff; padding: 10px 14px; border-radius: 8px; }
.yd-site-content { overflow-x: clip; }

/* Elementor text widget rhythm */
.elementor-widget-text-editor p { margin: 0 0 1em; }
.elementor-widget-text-editor > *:last-child,
.elementor-widget-text-editor .elementor-widget-container > *:last-child,
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-heading .elementor-heading-title a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.yd-site-header { position: sticky; top: 0; z-index: 999; background: #fff; transition: box-shadow .25s ease; }
.admin-bar .yd-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .yd-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .yd-site-header { top: 0; } }
.yd-site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(2, 47, 128, .28); }
.yd-topbar p { margin: 0; }
.yd-topbar a { text-decoration: none; }
.yd-logo img { display: block; }
.yd-header-cta .elementor-button { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Yindrugs Menu widget
   -------------------------------------------------------------------------- */
.yd-nav {
	--yd-nav-color: var(--yd-heading);
	--yd-nav-hover: var(--yd-red);
	--yd-nav-gap: 30px;
	--yd-nav-justify: flex-end;
	--yd-nav-dropdown-bg: #fff;
	--yd-nav-dropdown-color: var(--yd-heading);
	--yd-nav-toggle: var(--yd-navy);
	position: relative;
	display: flex;
	justify-content: var(--yd-nav-justify);
	align-items: center;
}
.yd-nav__panel { width: 100%; }
.yd-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: var(--yd-nav-justify); gap: 4px var(--yd-nav-gap); }
.yd-nav__menu li { position: relative; margin: 0; }
.yd-nav__menu a { text-decoration: none; }
.yd-nav__menu > li > a {
	display: block; position: relative; padding: 12px 0;
	color: var(--yd-nav-color);
	font-family: var(--e-global-typography-secondary-font-family, "Poppins"), sans-serif; font-weight: 500; font-size: 16px; line-height: 1.2;
	transition: color .2s ease;
}
.yd-nav__menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
	background: var(--yd-nav-hover); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.yd-nav__menu > li > a:hover,
.yd-nav__menu > li.current-menu-item > a,
.yd-nav__menu > li.current-menu-ancestor > a,
.yd-nav__menu > li.current-page-ancestor > a { color: var(--yd-nav-hover); }
.yd-nav__menu > li > a:hover::after,
.yd-nav__menu > li.current-menu-item > a::after,
.yd-nav__menu > li.current-page-ancestor > a::after { transform: scaleX(1); }
.yd-nav__menu > li.menu-item-has-children > a { padding-right: 18px; }

.yd-nav .yd-sub-toggle,
.yd-nav .yd-sub-toggle:hover,
.yd-nav .yd-sub-toggle:focus {
	position: absolute; right: -4px; top: 50%; width: 20px; height: 20px; min-height: 0; margin-top: -10px; padding: 0 !important;
	border: 0 !important; border-radius: 6px; background: transparent !important; box-shadow: none !important; cursor: pointer; color: var(--yd-nav-color) !important;
}
.yd-sub-toggle::before {
	content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; margin-left: -4px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease;
}
.yd-nav .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 250px; margin: 0; padding: 8px; list-style: none;
	background: var(--yd-nav-dropdown-bg); border-radius: 14px; border: 1px solid var(--yd-border);
	box-shadow: 0 24px 48px -20px rgba(2, 47, 128, .35);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 60;
}
.yd-nav .sub-menu .sub-menu { top: -8px; left: 100%; }
.yd-nav li:hover > .sub-menu,
.yd-nav li:focus-within > .sub-menu,
.yd-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.yd-nav .sub-menu a {
	display: block; padding: 10px 14px; border-radius: 9px; color: var(--yd-nav-dropdown-color);
	font-family: var(--e-global-typography-secondary-font-family, "Poppins"), sans-serif; font-weight: 500; font-size: 15px;
}
.yd-nav .sub-menu a:hover { background: var(--yd-light); color: var(--yd-nav-hover); }
.yd-nav__toggle { display: none; }
.yd-nav-empty { padding: 10px; border: 1px dashed #c3c4c7; font-size: 13px; }

/* Mobile menu (hamburger) */
@media (max-width: 1024px) {
	.yd-nav--bp-tablet .yd-nav__toggle { display: inline-flex; }
	.yd-nav--bp-tablet .yd-nav__panel { display: none; }
	.yd-nav--bp-tablet.is-open .yd-nav__panel { display: block; }
}
@media (max-width: 767px) {
	.yd-nav--bp-mobile .yd-nav__toggle { display: inline-flex; }
	.yd-nav--bp-mobile .yd-nav__panel { display: none; }
	.yd-nav--bp-mobile.is-open .yd-nav__panel { display: block; }
}
.yd-nav .yd-nav__toggle,
.yd-nav .yd-nav__toggle:hover,
.yd-nav .yd-nav__toggle:focus,
.yd-nav .yd-nav__toggle:active {
	width: 46px; height: 46px; min-height: 0; padding: 0 !important; border: 0 !important; border-radius: 12px !important; cursor: pointer;
	background: var(--yd-nav-toggle) !important; color: #fff !important; box-shadow: none !important;
	align-items: center; justify-content: center; line-height: 1;
}
.yd-nav__toggle:focus-visible { outline: 2px solid var(--yd-navy); outline-offset: 2px; }
.yd-nav__bars { display: block; width: 22px; }
.yd-nav__bars span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.yd-nav.is-open .yd-nav__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yd-nav.is-open .yd-nav__bars span:nth-child(2) { opacity: 0; }
.yd-nav.is-open .yd-nav__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.yd-nav.is-mobile .yd-nav__panel {
	position: absolute; top: calc(100% + 14px); right: 0; width: min(420px, calc(100vw - 32px));
	max-height: calc(100vh - 140px); overflow-y: auto; padding: 10px;
	background: var(--yd-nav-dropdown-bg); border: 1px solid var(--yd-border); border-radius: 16px;
	box-shadow: 0 28px 60px -24px rgba(2, 47, 128, .45); z-index: 80;
}
.yd-nav.is-mobile .yd-nav__menu { flex-direction: column; align-items: stretch; gap: 2px; }
.yd-nav.is-mobile .yd-nav__menu > li > a { padding: 13px 14px; border-radius: 10px; color: var(--yd-nav-dropdown-color); }
.yd-nav.is-mobile .yd-nav__menu > li > a::after { display: none; }
.yd-nav.is-mobile .yd-nav__menu > li > a:hover,
.yd-nav.is-mobile .yd-nav__menu > li.current-menu-item > a { background: var(--yd-light); color: var(--yd-nav-hover); }
.yd-nav.is-mobile .yd-sub-toggle { right: 4px; top: 4px; margin: 0; width: 40px; height: 40px; border-radius: 9px !important; background: var(--yd-light) !important; color: var(--yd-navy) !important; }
.yd-nav.is-mobile li.is-open > .yd-sub-toggle::before { transform: rotate(-135deg); top: 55%; }
.yd-nav.is-mobile .sub-menu {
	position: static; display: none; opacity: 1; visibility: visible; transform: none; min-width: 0;
	box-shadow: none; border: 0; border-radius: 0; padding: 2px 0 6px 12px; background: transparent;
}
.yd-nav.is-mobile li.is-open > .sub-menu { display: block; }

/* --------------------------------------------------------------------------
   Floating Call + WhatsApp
   -------------------------------------------------------------------------- */
.yd-float { position: fixed; bottom: 22px; right: 22px; z-index: 9990; display: flex; flex-direction: column; gap: 12px; }
.yd-float--left { right: auto; left: 22px; }
body.yd-menu-open .yd-float { opacity: 0; pointer-events: none; }
.yd-float { transition: opacity .2s ease; }
.yd-float__btn {
	position: relative; width: 58px; height: 58px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: #fff !important; text-decoration: none;
	box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .35); transition: transform .2s ease, box-shadow .2s ease;
}
.yd-float__btn:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.yd-float__btn--wa { background: var(--yd-wa); }
.yd-float__btn--wa::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yd-wa);
	animation: yd-pulse 2.2s ease-out infinite;
}
.yd-float__btn--call { background: var(--yd-red); }
.yd-float__label {
	position: absolute; right: 70px; top: 50%; transform: translate(6px, -50%); white-space: nowrap;
	background: var(--yd-heading); color: #fff; padding: 7px 12px; border-radius: 8px;
	font: 600 13px/1.2 var(--e-global-typography-secondary-font-family, "Poppins"), sans-serif;
	opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.yd-float--left .yd-float__label { right: auto; left: 70px; transform: translate(-6px, -50%); }
.yd-float__btn:hover .yd-float__label,
.yd-float__btn:focus-visible .yd-float__label { opacity: 1; transform: translate(0, -50%); }
@keyframes yd-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 767px) {
	.yd-float { bottom: 16px; right: 14px; gap: 10px; }
	.yd-float--left { left: 14px; }
	.yd-float__btn { width: 52px; height: 52px; }
	.yd-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.yd-float__btn--wa::before { animation: none; }
	html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.yd-hero { position: relative; overflow: hidden; }
.yd-hero::before {
	content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 5, 22, .10), rgba(232, 5, 22, 0) 68%); pointer-events: none;
}
.yd-hl { color: var(--yd-red); }
.yd-hero-img { position: relative; }
.yd-hero-img img { display: block; width: 100%; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(2, 47, 128, .45); }
/* Desktop: hero photo is exactly as tall as the text next to it */
@media (min-width: 1025px) {
	.e-con .elementor-widget.yd-hero-img { position: relative; align-self: stretch; height: auto; min-height: 380px; }
	.e-con .elementor-widget.yd-hero-img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center 40%; }
}
.yd-features { position: relative; z-index: 2; }
@media (max-width: 767px) {
	.yd-feature-card .elementor-icon-box-description { font-size: 13.5px !important; line-height: 1.5 !important; }
}
.yd-trust .elementor-icon-list-item { margin-right: 6px; }
.yd-intro { max-width: 720px; }
.yd-intro--center { margin-left: auto !important; margin-right: auto !important; }

.yd-card { transition: transform .25s ease, box-shadow .25s ease; }
.yd-product-card:hover, .yd-cat-card:hover { transform: translateY(-5px); box-shadow: var(--yd-shadow-hover) !important; }
.yd-product-card .elementor-widget-button { margin-top: auto; }
.yd-card__img img, .yd-product-card .elementor-widget-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; }
.yd-product-card .elementor-widget-image a, .yd-cat-card .elementor-widget-image a { display: block; }
.yd-product-card .elementor-widget-image img { transition: transform .35s ease; }
.yd-product-card:hover .elementor-widget-image img { transform: scale(1.04); }
.yd-cat-img img { height: 150px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; display: block; transition: transform .35s ease; }
.yd-cat-card:hover .yd-cat-img img { transform: scale(1.06); }
@media (max-width: 767px) { .yd-cat-img img { height: 110px; } }
.yd-clamp-3 p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yd-product-photo img { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; object-fit: contain; }
.yd-about-img img { width: 100%; display: block; }
.yd-band-navy .elementor-icon-box-description { opacity: .9; }
.yd-cta-card { position: relative; overflow: hidden; }
.yd-cta-card::after {
	content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%); pointer-events: none;
}
.yd-cta-card > * { position: relative; z-index: 1; }
.yd-pill .elementor-button { border-radius: 999px; }
.yd-thanks-card { text-align: center; }

/* Page hero + breadcrumb */
.yd-page-hero .elementor-heading-title { color: #fff; }
.yd-breadcrumb { margin: 0; font-size: 14px; }
.yd-breadcrumb a { color: inherit; text-decoration: none; opacity: .9; }
.yd-breadcrumb a:hover { text-decoration: underline; color: #fff; }
.yd-breadcrumb .yd-sep { opacity: .55; margin: 0 4px; }
.yd-breadcrumb--dark a { color: var(--yd-navy); }
.yd-breadcrumb--dark a:hover { color: var(--yd-red); }
.yd-breadcrumb--dark span { color: var(--yd-heading); }
.yd-small-link a { font-weight: 600; text-decoration: none; }

/* Product detail tables & lists */
.yd-basis { font-weight: 600; color: var(--yd-heading); margin-bottom: 12px !important; }
.yd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--yd-border); border-radius: 12px; margin: 0; }
.yd-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.5; background: #fff; }
.yd-table th, .yd-table td { padding: 11px 16px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--yd-border); }
.yd-table tr:last-child th, .yd-table tr:last-child td { border-bottom: 0; }
.yd-table tbody tr:nth-child(even) { background: #F8FAFD; }
.yd-table tbody th { font-weight: 500; color: var(--yd-text); width: 60%; }
.yd-table tbody td { font-weight: 600; color: var(--yd-heading); }
.yd-table--head { min-width: 460px; }
.yd-table--head thead th { background: var(--yd-navy); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.yd-table--head tbody td { font-weight: 400; color: var(--yd-text); }
.yd-table--head tbody td:first-child { font-weight: 600; color: var(--yd-heading); }
.yd-list { list-style: none; margin: 0; padding: 0; }
.yd-list li { position: relative; padding-left: 24px; margin: 0 0 9px; }
.yd-list li:last-child { margin-bottom: 0; }
.yd-list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yd-green); }
.yd-vet-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 500; }
.yd-vet-note i { color: var(--yd-red); margin-top: 4px; }
.yd-side-links .elementor-icon-list-item a:hover .elementor-icon-list-text { color: var(--yd-red) !important; }
@media (min-width: 1025px) { .e-con.yd-sidebar, .elementor .e-con.yd-sidebar { position: sticky; top: calc(var(--yd-header-h, 92px) + 20px); align-self: start; } }

/* Contact */
.yd-form-card .elementor-shortcode { width: 100%; }
.yd-map iframe { border-radius: 18px; display: block; }
.elementor-icon-box-title a { color: inherit; text-decoration: none; }

/* Footer */
.yd-site-footer a { text-decoration: none; }
.yd-site-footer .elementor-icon-list-item a:hover .elementor-icon-list-text { color: #fff !important; }
.yd-footer-contact .elementor-icon-list-item { align-items: flex-start !important; }
.yd-footer-contact .elementor-icon-list-icon { padding-top: 4px; }
.yd-vet-only i { color: var(--yd-wa); margin-right: 6px; }
.yd-footer-bottom p { margin: 0; }
@media (max-width: 767px) { .yd-footer-bottom { text-align: center; } }

/* --------------------------------------------------------------------------
   Contact Form 7
   -------------------------------------------------------------------------- */
.yd-form { display: grid; gap: 16px; }
.yd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .yd-form__row { grid-template-columns: 1fr; } }
.yd-form label {
	display: block; margin: 0; color: var(--yd-heading);
	font: 600 14px/1.4 var(--e-global-typography-secondary-font-family, "Poppins"), sans-serif;
}
.yd-form .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.yd-form input[type="text"], .yd-form input[type="email"], .yd-form input[type="tel"], .yd-form input[type="number"], .yd-form select, .yd-form textarea {
	width: 100%; padding: 13px 15px; border: 1px solid #D5DCE8; border-radius: 10px; background: #F8FAFD;
	color: var(--yd-heading); font: 400 15px/1.4 var(--e-global-typography-text-font-family, "Inter"), sans-serif;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; -webkit-appearance: none; appearance: none;
}
.yd-form select {
	padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23022F80' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 15px center;
}
.yd-form textarea { height: 130px; resize: vertical; }
.yd-form input:focus, .yd-form select:focus, .yd-form textarea:focus { outline: none; border-color: var(--yd-navy); background: #fff; box-shadow: 0 0 0 3px rgba(2, 47, 128, .12); }
.yd-form ::placeholder { color: #8A94A6; }
.yd-form__submit { position: relative; }
.yd-form .wpcf7-submit {
	width: 100%; padding: 16px 28px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--yd-red); color: #fff; font: 600 16px/1.2 var(--e-global-typography-secondary-font-family, "Poppins"), sans-serif;
	transition: background .2s ease, transform .2s ease;
}
.yd-form .wpcf7-submit:hover { background: var(--yd-navy); }
.yd-form .wpcf7-spinner { position: absolute; right: 12px; top: 50%; margin: -12px 0 0; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 5px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Theme fallbacks (non-Elementor pages, blog)
   -------------------------------------------------------------------------- */
.yd-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.yd-content-area { padding-top: 56px; padding-bottom: 72px; }
.yd-entry-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 20px; }
.yd-entry-content { font-size: 17px; line-height: 1.75; }
.yd-meta { color: #7a8599; font-size: 14px; margin: 0 0 12px; }
.yd-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1024px) { .yd-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .yd-post-grid { grid-template-columns: 1fr; } }
.yd-post-card { border: 1px solid var(--yd-border); border-radius: var(--yd-radius); padding: 18px; background: #fff; }
.yd-post-card h2 { font-size: 20px; margin: 12px 0 6px; }
.yd-post-card h2 a { color: var(--yd-heading); text-decoration: none; }
.yd-post-card__img img { border-radius: 10px; display: block; }
.yd-404 { text-align: center; }
.yd-404__code { font: 700 96px/1 "Poppins", sans-serif; color: var(--yd-red); margin: 0; }
.yd-btn { display: inline-block; padding: 14px 26px; border-radius: 10px; background: var(--yd-red); color: #fff; text-decoration: none; font-weight: 600; }
.yd-btn:hover { background: var(--yd-navy); color: #fff; }
.yd-fallback-header { border-bottom: 1px solid var(--yd-border); background: #fff; }
.yd-fallback-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.yd-fallback-logo img { max-height: 56px; width: auto; display: block; }
.yd-fallback-logo a { font: 700 24px "Poppins", sans-serif; color: var(--yd-red); text-decoration: none; }
.yd-fallback-footer { background: #011B4A; color: #C9D3E8; padding: 24px 0 90px; font-size: 14px; }

/* Tablet: keep stacked hero/about images at a comfortable size */
@media (min-width: 768px) and (max-width: 1024px) {
	.e-con .elementor-widget.yd-hero-img, .e-con .elementor-widget.yd-about-img { max-width: 620px; width: 100%; margin-left: auto !important; margin-right: auto !important; }
}
.yd-comments { margin-top: 48px; }
.yd-comments__list { padding-left: 20px; }
.yd-template-canvas { background: #fff; }

/* Header on tablet/mobile: logo ... [Enquire Now] [menu] */
@media (max-width: 1024px) {
	.yd-header-main .elementor-widget.yd-header-nav { order: 3; --flex-grow: 0 !important; flex-grow: 0 !important; flex-basis: auto !important; }
	.yd-header-main .elementor-widget.yd-header-cta { margin-left: auto !important; }
}
@media (max-width: 767px) {
	.yd-header-cta .elementor-button { font-size: 13px !important; }
	.yd-header-cta .elementor-button-icon { display: none; }
}
/* Laptops 1025-1200px: keep the six menu items on one line */
@media (min-width: 1025px) and (max-width: 1200px) {
	.yd-nav { --yd-nav-gap: 18px; }
	.yd-nav__menu > li > a { font-size: 15px !important; }
	.yd-header-main .yd-logo, .yd-header-main .yd-logo img { width: 170px !important; }
}

/* Gallery */
.yd-gallery-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; cursor: zoom-in; }
.yd-gallery-card:hover { transform: translateY(-4px); box-shadow: var(--yd-shadow-hover) !important; }

/* Enquiry popup */
.yd-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; }
.yd-modal.is-open { display: flex; }
.yd-modal__overlay { position: absolute; inset: 0; background: rgba(1, 27, 74, .62); backdrop-filter: blur(3px); }
.yd-modal__box {
	position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto;
	background: #fff; border-radius: 20px; padding: 32px 32px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
	animation: yd-pop .22s ease-out;
}
@keyframes yd-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.yd-modal__title { margin: 0 40px 6px 0; color: var(--yd-heading); font: 700 24px/1.25 var(--e-global-typography-primary-font-family, "Poppins"), sans-serif; }
.yd-modal__text { margin: 0 0 18px; color: var(--yd-text); font-size: 15px; }
.yd-modal .yd-modal__close,
.yd-modal .yd-modal__close:hover,
.yd-modal .yd-modal__close:focus {
	position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: var(--yd-light) !important; color: var(--yd-heading) !important; box-shadow: none !important;
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.yd-modal .yd-modal__close:hover { background: var(--yd-red) !important; color: #fff !important; }
body.yd-modal-open { overflow: hidden; }
body.yd-modal-open .yd-float { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
	.yd-modal { padding: 10px; align-items: flex-end; }
	.yd-modal__box { padding: 24px 18px 20px; border-radius: 18px; max-height: calc(100vh - 20px); }
	.yd-modal__title { font-size: 21px; }
}
/* Contact Form 7 submit: stronger than Elementor Site Settings button styles */
.yd-form .wpcf7-form-control.wpcf7-submit { width: 100%; padding: 16px 28px; border: 0; border-radius: 10px; background: var(--yd-red); color: #fff; }
.yd-form .wpcf7-form-control.wpcf7-submit:hover { background: var(--yd-navy); color: #fff; }
