/* YDT Astrologers — front-end styles */

:root {
	--ydt-primary: #ea580c;
	--ydt-dark: #1f2937;
	--ydt-soft: #fff7ed;
	--ydt-border: #fde4cf;
	--ydt-wa: #25d366;
}

/* ---------- Cards grid ---------- */
.ydt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
	margin: 24px 0;
}
.ydt-card {
	background: #fff;
	border: 1px solid var(--ydt-border);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
	transition: transform .2s;
}
.ydt-card:hover { transform: translateY(-4px); }
.ydt-card__img {
	display: block;
	aspect-ratio: 400 / 247;
	background: var(--ydt-soft);
	overflow: hidden;
}
.ydt-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ydt-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; color: var(--ydt-primary); }
.ydt-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ydt-card__body h3 { margin: 0; font-size: 19px; }
.ydt-card__body h3 a { color: var(--ydt-dark); text-decoration: none; }
.ydt-meta { margin: 0; font-size: 14px; color: #6b7280; }
.ydt-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ydt-tags span { background: var(--ydt-soft); color: var(--ydt-primary); font-size: 12px; padding: 3px 9px; border-radius: 20px; }
.ydt-fee { margin: 4px 0 0; font-size: 20px; font-weight: 700; color: var(--ydt-dark); }
.ydt-fee small { font-size: 12px; font-weight: 400; color: #6b7280; }
.ydt-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.ydt-empty { text-align: center; padding: 30px 0; color: #6b7280; }

/* ---------- Buttons ---------- */
.ydt-btn {
	display: inline-block;
	background: var(--ydt-primary);
	color: #fff !important;
	border: 0;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
	line-height: 1.3;
}
.ydt-btn:disabled { opacity: .6; cursor: not-allowed; }
.ydt-btn--wa { background: var(--ydt-wa); }
.ydt-btn--ghost { background: transparent; color: var(--ydt-primary) !important; border: 1px solid var(--ydt-primary); }

/* ---------- Filters ---------- */
.ydt-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.ydt-filters select { padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; min-width: 200px; }

/* ---------- Single profile ---------- */
.ydt-single { max-width: 1100px; margin: 0 auto; }
.ydt-single__photo img { width: 100%; max-width: 360px; border-radius: 14px; display: block; margin-bottom: 18px; }
.ydt-details { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.ydt-details th,
.ydt-details td { padding: 10px 12px; border-bottom: 1px solid var(--ydt-border); text-align: left; font-size: 15px; }
.ydt-details th { width: 200px; color: var(--ydt-dark); background: var(--ydt-soft); }
.ydt-cta { margin: 20px 0; }

/* ---------- Enquiry form ---------- */
.ydt-enquiry {
	background: var(--ydt-soft);
	border: 1px solid var(--ydt-border);
	border-radius: 14px;
	padding: 24px;
	margin-top: 28px;
}
.ydt-enquiry h3 { margin-top: 0; }
.ydt-enq-form fieldset {
	border: 1px solid var(--ydt-border);
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px 6px;
	margin: 0 0 16px;
}
.ydt-enq-form legend { font-weight: 700; color: var(--ydt-dark); padding: 0 8px; font-size: 15px; }
.ydt-partner-note { font-weight: 400; font-size: 12px; color: #6b7280; }
.ydt-enq-form label { display: block; font-size: 14px; color: var(--ydt-dark); margin-bottom: 12px; }
.ydt-enq-form input[type="text"],
.ydt-enq-form input[type="tel"],
.ydt-enq-form input[type="email"],
.ydt-enq-form input[type="date"],
.ydt-enq-form input[type="time"],
.ydt-enq-form select,
.ydt-enq-form textarea {
	display: block;
	width: 100%;
	margin-top: 5px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	background: #fff;
}
.ydt-enq-form .is-invalid { border-color: #c0392b !important; background: #fff6f5; }
.ydt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ydt-enq-form label.ydt-check { display: flex; align-items: flex-start; gap: 8px; }
.ydt-enq-form label.ydt-check input { margin-top: 3px; flex: none; }
.ydt-hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

.ydt-notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.ydt-notice--ok { background: #e7f8ee; color: #146c3a; }
.ydt-notice--err { background: #fdecea; color: #a12622; }

@media (max-width: 600px) {
	.ydt-grid-2 { grid-template-columns: 1fr; }
	.ydt-details th { width: 120px; }
	.ydt-enquiry { padding: 16px; }
}

/* ---------- Floating WhatsApp button ---------- */
.ydt-float-wa {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ydt-wa);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	z-index: 9999;
	text-decoration: none;
	animation: ydt-pulse 2.4s infinite;
}
.ydt-float-wa:hover { transform: scale(1.06); }
.ydt-float-wa svg { display: block; }

@keyframes ydt-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 6px 18px rgba(0, 0, 0, .25); }
	70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 6px 18px rgba(0, 0, 0, .25); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 18px rgba(0, 0, 0, .25); }
}
@media (prefers-reduced-motion: reduce) { .ydt-float-wa { animation: none; } }
@media (max-width: 600px) { .ydt-float-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* ---------- Badges: Available Now / Featured ---------- */
.ydt-card { position: relative; }
.ydt-online,
.ydt-featured {
	position: absolute;
	top: 10px;
	z-index: 2;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 20px;
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.ydt-online { right: 10px; background: #16a34a; }
.ydt-online::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: #fff;
	animation: ydt-blink 1.6s infinite;
}
.ydt-featured { left: 10px; background: var(--ydt-primary); }
@keyframes ydt-blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .ydt-online::before { animation: none; } }

/* ---------- Star rating (display) ---------- */
.ydt-stars {
	--r: 0;
	--pct: calc(var(--r) / 5 * 100%);
	display: inline-block;
	font-size: 16px;
	letter-spacing: 2px;
	line-height: 1;
	background: linear-gradient(90deg, #f5a623 var(--pct), #d9d0c7 var(--pct));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.ydt-rating { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.ydt-rating small { color: #6b7280; }

/* ---------- Reviews section ---------- */
.ydt-reviews { margin-top: 28px; }
.ydt-reviews__summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ydt-reviews__avg { font-size: 34px; font-weight: 800; color: var(--ydt-dark); line-height: 1; }
.ydt-reviews__summary .ydt-stars { font-size: 22px; }
.ydt-reviews__count { color: #6b7280; font-size: 14px; }
.ydt-review { border: 1px solid var(--ydt-border); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.ydt-review__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ydt-review__city,
.ydt-review__date { color: #6b7280; font-size: 13px; }
.ydt-review__date { margin-left: auto; }
.ydt-review p { margin: 8px 0 0; }

/* Write-a-review box */
.ydt-review-write { margin-top: 16px; }
.ydt-review-write > summary { list-style: none; display: inline-block; cursor: pointer; }
.ydt-review-write > summary::-webkit-details-marker { display: none; }
.ydt-review-form {
	margin-top: 14px;
	padding: 18px;
	background: var(--ydt-soft);
	border: 1px solid var(--ydt-border);
	border-radius: 12px;
}
.ydt-review-form label { display: block; font-size: 14px; color: var(--ydt-dark); margin-bottom: 12px; }
.ydt-review-form input[type="text"],
.ydt-review-form textarea {
	display: block;
	width: 100%;
	margin-top: 5px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	background: #fff;
}
.ydt-review-form .is-invalid { border-color: #c0392b !important; background: #fff6f5; }

/* Star picker: radios in DOM order 5..1, shown 1..5 */
.ydt-rate-field { margin-bottom: 12px; }
.ydt-rate-label { display: block; font-size: 14px; color: var(--ydt-dark); margin-bottom: 4px; }
.ydt-stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; border-radius: 8px; padding: 2px 4px; }
.ydt-stars-input.is-invalid { outline: 2px solid #c0392b; }
.ydt-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ydt-review-form .ydt-stars-input label { margin: 0; padding: 0 3px; font-size: 32px; line-height: 1; color: #d9d0c7; cursor: pointer; }
.ydt-stars-input input:checked ~ label,
.ydt-stars-input label:hover,
.ydt-stars-input label:hover ~ label { color: #f5a623; }
.ydt-stars-input input:focus-visible + label { outline: 2px solid var(--ydt-primary); border-radius: 4px; }

/* WhatsApp "continue" button in the success notice */
.ydt-wa-continue { margin-top: 10px; }

/* Profile tabs: About / Gallery / Certificates */
.ydt-tabs { margin: 22px 0; }
.ydt-tabs__nav { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--ydt-border); margin-bottom: 18px; }
.ydt-tabs__btn { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--ydt-dark); cursor: pointer; }
.ydt-tabs__btn:hover { color: var(--ydt-primary); }
.ydt-tabs__btn.is-active { color: var(--ydt-primary); border-bottom-color: var(--ydt-primary); }
.ydt-tabs__panel[hidden] { display: none; }

.ydt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.ydt-gallery__item { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--ydt-border); background: var(--ydt-soft); }
.ydt-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.ydt-gallery__item:hover img { transform: scale(1.05); }

/* Lightbox */
.ydt-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; }
.ydt-lb img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.ydt-lb button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; cursor: pointer; line-height: 1; }
.ydt-lb button:hover { background: rgba(255,255,255,.3); }
.ydt-lb__x { top: 16px; right: 16px; }
.ydt-lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.ydt-lb__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Profile hero ---------- */
.ydt-hero { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; background: #fff; border: 1px solid var(--ydt-border); border-radius: 18px; padding: 24px; box-shadow: 0 6px 24px rgba(31,41,55,.08); }
.ydt-hero__photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--ydt-soft); aspect-ratio: 4 / 5; }
.ydt-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ydt-hero__photo .ydt-noimg { font-size: 90px; }
.ydt-hero__info .ydt-rating { margin: 0 0 10px; font-size: 16px; }
.ydt-hero__info .ydt-tags { margin: 0 0 16px; }
.ydt-hero__info .ydt-tags span { font-size: 13px; padding: 5px 12px; }
.ydt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 18px; }
.ydt-facts__item { background: var(--ydt-soft); border: 1px solid var(--ydt-border); border-radius: 12px; padding: 10px 14px; }
.ydt-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; margin: 0 0 2px; }
.ydt-facts dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ydt-dark); }
.ydt-hero__fee { margin: 0 0 18px; font-size: 30px; font-weight: 800; color: var(--ydt-dark); }
.ydt-hero__fee small { font-size: 14px; font-weight: 500; color: #6b7280; }
.ydt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ydt-hero__cta .ydt-btn { padding: 13px 26px; font-size: 16px; border: 0; cursor: pointer; }
.ydt-hero__cta .ydt-btn--wa { text-decoration: none; }

.ydt-tabs { margin: 28px 0; }
.ydt-bio { line-height: 1.75; font-size: 16px; color: #374151; }
.ydt-reviews { margin: 0; }

/* ---------- Enquiry popup ---------- */
.ydt-modal { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ydt-modal__backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.65); backdrop-filter: blur(2px); }
.ydt-modal__dialog { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: ydtPop .2s ease-out; }
.ydt-modal__dialog .ydt-enquiry { margin: 0; padding: 0; border: 0; background: transparent; }
.ydt-modal__close { position: sticky; top: 0; float: right; margin: -10px -10px 0 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ydt-soft); color: var(--ydt-dark); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.ydt-modal__close:hover { background: var(--ydt-primary); color: #fff; }
html.ydt-modal-open, html.ydt-modal-open body { overflow: hidden; }
@keyframes ydtPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 800px) {
	.ydt-hero { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
	.ydt-hero__photo { aspect-ratio: 1 / 1; max-width: 420px; margin: 0 auto; width: 100%; }
	.ydt-hero__cta .ydt-btn { flex: 1 1 100%; text-align: center; }
	.ydt-tabs__nav { flex-wrap: nowrap; overflow-x: auto; }
	.ydt-tabs__btn { white-space: nowrap; padding: 10px 14px; }
	.ydt-modal { padding: 0; align-items: flex-end; }
	.ydt-modal__dialog { max-width: none; max-height: 94vh; border-radius: 18px 18px 0 0; padding: 20px 16px; }
}


/* =====================================================================
 * Theme match: site font (inherited), site palette, theme overrides
 * Palette taken from the site: orange #ea580c, slate #1f2937 / #374151
 * =================================================================== */
.ydt-single, .ydt-single *, .ydt-modal, .ydt-modal *, .ydt-grid, .ydt-grid *,
.ydt-filters, .ydt-filters *, .ydt-lb, .ydt-lb * { font-family: inherit; }
.ydt-single h2, .ydt-single h3, .ydt-modal h3, .ydt-card__body h3 { font-family: inherit; color: var(--ydt-dark); font-weight: 700; letter-spacing: 0; text-transform: none; }

/* Hide the theme's own featured image + post meta on astrologer pages (our hero shows the photo) */
body.single-astrologer img.wp-post-image { display: none !important; }
body.single-astrologer .ydt-single img.wp-post-image { display: block !important; }
body.single-astrologer :is(figure, div, a, p, span):has(> img.wp-post-image):not(.ydt-hero__photo):not(.ydt-card__img):not(.ydt-banner__photo) { display: none !important; }
body.single-astrologer .ydt-banner__photo { display: block !important; }
body.single-astrologer .ydt-banner__photo img.wp-post-image { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; margin: 0 !important; }
body.single-astrologer .entry-meta, body.single-astrologer .post-meta, body.single-astrologer .posted-on,
body.single-astrologer .byline, body.single-astrologer .meta-author, body.single-astrologer .meta-post-date,
body.single-astrologer .wd-post-meta, body.single-astrologer .post-info { display: none !important; }

/* Buttons: beat theme button styles */
.ydt-single .ydt-btn, .ydt-modal .ydt-btn, .ydt-grid .ydt-btn, .ydt-filters .ydt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--ydt-primary) !important; color: #fff !important; border: 1px solid var(--ydt-primary) !important;
	border-radius: 10px; padding: 12px 24px; font-size: 15px; font-weight: 700; line-height: 1.2;
	text-transform: none !important; letter-spacing: 0; text-decoration: none !important; box-shadow: none; opacity: 1 !important; cursor: pointer;
	transition: background .2s, transform .15s;
}
.ydt-single .ydt-btn:hover, .ydt-modal .ydt-btn:hover, .ydt-grid .ydt-btn:hover { background: #c2410c !important; border-color: #c2410c !important; transform: translateY(-1px); }
.ydt-single .ydt-btn--wa, .ydt-grid .ydt-btn--wa { background: var(--ydt-wa) !important; border-color: var(--ydt-wa) !important; }
.ydt-single .ydt-btn--wa:hover, .ydt-grid .ydt-btn--wa:hover { background: #1fb457 !important; border-color: #1fb457 !important; }
.ydt-single .ydt-btn--ghost, .ydt-grid .ydt-btn--ghost { background: transparent !important; color: var(--ydt-primary) !important; }
.ydt-single .ydt-btn--ghost:hover, .ydt-grid .ydt-btn--ghost:hover { background: var(--ydt-soft) !important; color: #c2410c !important; }
.ydt-hero__cta .ydt-btn { padding: 14px 28px; font-size: 16px; }

/* Tabs: clean underline style */
.ydt-tabs__nav { border-bottom: 1px solid #e5e7eb; gap: 4px; }
.ydt-tabs .ydt-tabs__btn { background: transparent !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
	color: #6b7280 !important; font-size: 15px; font-weight: 700; text-transform: none !important; letter-spacing: 0; padding: 12px 20px; margin-bottom: -1px; }
.ydt-tabs .ydt-tabs__btn:hover { color: var(--ydt-primary) !important; background: transparent !important; }
.ydt-tabs .ydt-tabs__btn.is-active { color: var(--ydt-primary) !important; border-bottom-color: var(--ydt-primary) !important; }

/* Hero polish */
.ydt-hero { border-color: #fde4cf; background: linear-gradient(180deg, #fff 0%, #fffaf5 100%); }
.ydt-hero__info { display: flex; flex-direction: column; }
.ydt-hero__intro { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: #374151; }
.ydt-facts__item { background: #fff; border-color: #fde4cf; border-left: 4px solid var(--ydt-primary); }
.ydt-facts dt { color: #6b7280; font-weight: 600; }
.ydt-facts dd { color: var(--ydt-dark); }
.ydt-hero__fee { color: var(--ydt-primary); }
.ydt-hero__fee small { color: #6b7280; }
.ydt-hero__cta { margin-top: auto; padding-top: 6px; }
.ydt-bio, .ydt-bio p { color: #374151; }

/* Modal */
.ydt-modal__dialog { border-top: 5px solid var(--ydt-primary); }
.ydt-modal .ydt-modal__close { background: #f3f4f6 !important; color: #1f2937 !important; border: 0 !important; padding: 0 !important; border-radius: 50% !important; }
.ydt-modal .ydt-modal__close:hover { background: var(--ydt-primary) !important; color: #fff !important; }
.ydt-modal .ydt-enquiry > h3 { font-size: 24px; margin: 0 0 6px; }
.ydt-modal .ydt-enquiry > p { color: #6b7280; margin: 0 0 16px; }

/* Social links */
.ydt-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #fde4cf; }
.ydt-social__label { font-size: 13px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; margin-right: 2px; }
.ydt-single a.ydt-social__link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid #fde4cf; color: var(--ydt-primary); text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.ydt-single a.ydt-social__link:hover { background: var(--ydt-primary); color: #fff; border-color: var(--ydt-primary); transform: translateY(-2px); }
.ydt-social__link svg { display: block; }


/* Hero: astrologer name above rating */
.ydt-single .ydt-hero__name { margin: 0 0 8px !important; padding: 0 !important; font-size: 24px !important; line-height: 1.3 !important; font-weight: 700 !important; text-align: left !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ydt-dark); }

/* WhatsApp chat widget (bottom-right, above the floating button) */
.ydt-wa-widget { position: fixed; right: 20px; bottom: 92px; width: 340px; max-width: calc(100vw - 24px); z-index: 99998;
	background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(17,24,39,.28); animation: ydtPop .2s ease-out; }
.ydt-wa-widget, .ydt-wa-widget * { font-family: inherit; box-sizing: border-box; }
.ydt-wa-widget__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--ydt-primary); color: #fff; }
.ydt-wa-widget__head strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff; }
.ydt-wa-widget__sub { display: block; font-size: 13px; opacity: .92; margin-top: 2px; }
.ydt-wa-widget .ydt-wa-widget__close { flex: none; width: 34px; height: 34px; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: rgba(255,255,255,.25) !important; color: #fff !important; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: none; }
.ydt-wa-widget .ydt-wa-widget__close:hover { background: rgba(255,255,255,.4) !important; }
.ydt-wa-widget__body { padding: 16px 18px 18px; max-height: calc(100vh - 220px); overflow-y: auto; }
.ydt-wa-err { background: #fdecea; color: #a12622; padding: 9px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 13px; }
.ydt-wa-form label { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #374151; }
.ydt-wa-form input[type="text"], .ydt-wa-form input[type="tel"], .ydt-wa-form textarea {
	display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px;
	background: #f3f4f6; color: #1f2937; font: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; box-shadow: none;
}
.ydt-wa-form textarea { resize: vertical; min-height: 56px; height: 56px; }
.ydt-wa-form input::placeholder, .ydt-wa-form textarea::placeholder { color: #9ca3af; }
.ydt-wa-form input:focus, .ydt-wa-form textarea:focus { outline: 0; background: #fff; border-color: var(--ydt-primary); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }
.ydt-wa-form .is-invalid { border-color: #c0392b !important; background: #fff6f5 !important; }
.ydt-wa-widget .ydt-wa-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 18px; margin: 4px 0 0;
	border: 0 !important; border-radius: 999px !important; background: var(--ydt-wa) !important; color: #fff !important;
	font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: none; transition: background .2s; }
.ydt-wa-widget .ydt-wa-submit:hover { background: #1fb457 !important; }

@media (max-width: 480px) {
	.ydt-wa-widget { right: 12px; left: 12px; width: auto; bottom: 84px; }
}

@media (max-width: 800px) { .ydt-single .ydt-hero__name { font-size: 21px !important; } }

/* Hide the theme's page title on astrologer pages (the card shows the name) */
body.single-astrologer .entry-title:not(.ydt-hero__name),
body.single-astrologer .page-title,
body.single-astrologer .single-post-title,
body.single-astrologer .wd-page-title { display: none !important; }
body.single-astrologer .ydt-single .ydt-hero__name { display: block !important; }

.ydt-wa-form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; background: #f3f4f6; color: #1f2937; font: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; box-shadow: none; }
.ydt-wa-form select:focus { outline: 0; background: #fff; border-color: var(--ydt-primary); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }

/* ---------- Profile page: banner + two-column layout (matches Pandit page) ---------- */
body.single-astrologer { overflow-x: hidden; }
body.single-astrologer .entry-header, body.single-astrologer .post-header { display: none !important; }

.ydt-banner { width: 100vw; margin: 0 0 0 calc(50% - 50vw); background: linear-gradient(90deg, #f97316 0%, #ea580c 35%, #dc2626 100%); color: #fff; }
.ydt-banner__in { max-width: 1100px; margin: 0 auto; padding: 22px 20px 44px; }
.ydt-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,.85); }
.ydt-crumbs li { margin: 0; padding: 0; }
.ydt-crumbs li + li::before { content: "/"; margin: 0 9px; opacity: .6; }
.ydt-crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.ydt-crumbs a:hover { text-decoration: underline; }
.ydt-crumbs li[aria-current] { color: rgba(255,255,255,.85); }

.ydt-banner__row { display: flex; align-items: center; gap: 40px; }
.ydt-banner__photo { flex: none; width: 250px; height: 300px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.55); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.ydt-banner__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ydt-banner__photo .ydt-noimg { color: #fff; font-size: 80px; }
.ydt-banner__info { min-width: 0; }
.ydt-chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ydt-pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #fff; color: var(--ydt-primary); }
.ydt-pill--on { color: #15803d; }
.ydt-single .ydt-banner .ydt-hero__name { margin: 0 0 12px !important; font-size: 36px !important; line-height: 1.2 !important; font-weight: 800 !important; color: #fff !important; text-align: left !important; }
.ydt-banner__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 17px; margin-bottom: 14px; }
.ydt-banner__m { display: inline-flex; align-items: center; gap: 8px; }
.ydt-banner__m small { opacity: .85; font-size: 13px; }
.ydt-banner .ydt-stars { font-size: 18px; }
.ydt-banner__fee { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.3; }

.ydt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin: 36px 0 20px; align-items: start; }
.ydt-card-box { background: #fff; border-radius: 14px; box-shadow: 0 4px 22px rgba(31,41,55,.09); padding: 26px 28px; }
.ydt-side { display: flex; flex-direction: column; gap: 24px; }
.ydt-single .ydt-sec-title { margin: 0 0 16px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ydt-dark); text-align: left; }

.ydt-main .ydt-tabs { margin: 0; }
.ydt-main .ydt-tabs__nav { margin-bottom: 22px; }
.ydt-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-bottom: 22px; }
.ydt-info__h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ydt-dark); margin-bottom: 8px; }
.ydt-info__h .ydt-ico { color: var(--ydt-primary); }
.ydt-info__v { color: #4b5563; padding-left: 28px; }
.ydt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ydt-chips span { background: #ffedd5; color: #9a3412; font-size: 14px; padding: 5px 12px; border-radius: 8px; }
.ydt-chips--lg span { font-size: 15px; padding: 8px 16px; }

.ydt-price { text-align: center; }
.ydt-price__amt { font-size: 38px; font-weight: 800; color: var(--ydt-primary); line-height: 1.1; }
.ydt-price__per { font-size: 15px; font-weight: 600; color: var(--ydt-dark); margin-bottom: 18px; }
.ydt-single .ydt-btn--block { display: flex; width: 100%; margin: 0 0 10px; padding: 14px 18px; font-size: 16px; }
.ydt-perks { list-style: none; margin: 14px 0 0; padding: 0; text-align: left; }
.ydt-perks li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: #4b5563; font-size: 15px; }
.ydt-perks .ydt-ico { color: #6b7280; flex: none; }
.ydt-contact__list { list-style: none; margin: 0; padding: 0; }
.ydt-contact__list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: #4b5563; font-size: 15px; }
.ydt-contact__list .ydt-ico { color: var(--ydt-primary); flex: none; }
.ydt-contact__list a { color: #4b5563; text-decoration: none; }
.ydt-contact__list a:hover { color: var(--ydt-primary); }
.ydt-contact .ydt-social { margin-top: 12px; }

@media (max-width: 900px) {
	.ydt-layout { grid-template-columns: 1fr; margin-top: 24px; }
	.ydt-banner__row { flex-direction: column; align-items: flex-start; gap: 22px; }
	.ydt-banner__photo { width: 100%; max-width: 300px; height: 340px; }
	.ydt-single .ydt-banner .ydt-hero__name { font-size: 28px !important; }
	.ydt-banner__fee { font-size: 20px; }
}
@media (max-width: 600px) {
	.ydt-card-box { padding: 20px 18px; }
	.ydt-info { grid-template-columns: 1fr; }
	.ydt-banner__in { padding: 18px 16px 32px; }
	.ydt-banner__meta { font-size: 15px; gap: 10px 18px; }
}

/* WhatsApp widget: fixes (theme overrides) */
.ydt-wa-widget .ydt-wa-form textarea { height: 56px !important; min-height: 56px !important; max-height: 120px !important; resize: vertical; }
.ydt-wa-widget .ydt-wa-widget__close { display: inline-flex !important; align-items: center; justify-content: center;
	width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; max-width: 32px !important; max-height: 32px !important;
	aspect-ratio: 1 / 1; padding: 0 !important; margin: 0 !important; line-height: 1 !important; border-radius: 50% !important; }
.ydt-wa-widget .ydt-wa-widget__close svg { display: block; width: 14px; height: 14px; }


/* ---------- No gap between header and banner (same as Pandit page) ---------- */
body.single-astrologer #content, body.single-astrologer .site-content, body.single-astrologer .site-main,
body.single-astrologer main, body.single-astrologer #primary, body.single-astrologer #main,
body.single-astrologer article.astrologer, body.single-astrologer .entry-content, body.single-astrologer .post-content,
body.single-astrologer .content-area, body.single-astrologer .ast-container, body.single-astrologer .site-main > article,
body.single-astrologer .page-content, body.single-astrologer .elementor-widget-theme-post-content,
body.single-astrologer .elementor-widget-theme-post-content > .elementor-widget-container {
	padding-top: 0 !important; margin-top: 0 !important;
}
body.single-astrologer .ydt-single { max-width: none; margin-top: 0 !important; }
body.single-astrologer .ydt-single > .ydt-banner { margin-top: var(--ydt-gap-fix, 0px); }
body.single-astrologer .ydt-layout { max-width: 1100px; margin-left: auto; margin-right: auto; }

body.single-astrologer .elementor-widget-theme-post-title, body.single-astrologer .elementor-widget-heading:has(+ .elementor-widget-theme-post-content),
body.single-astrologer .page-header, body.single-astrologer .entry-header, body.single-astrologer .ast-single-entry-banner,
body.single-astrologer .title-area, body.single-astrologer .page-title-wrap, body.single-astrologer .entry-title-wrap { display: none !important; }

/* Breadcrumb now sits above the chips, beside the photo */
.ydt-banner__info .ydt-crumbs ol { margin: 0 0 18px; }
.ydt-banner__row { align-items: flex-start; }
.ydt-banner__info { align-self: center; }

/* Hide the theme / plugin "share this" social icons on astrologer profiles */
body.single-astrologer :is(.sharedaddy, .addtoany_share_save_container, .a2a_kit, .shareaholic-canvas, .heateor_sss_sharing_container,
	.social-share, .post-share, .entry-share, .share-buttons, .share-links, .share-this, .sharing-buttons, .jeg_share_button,
	.td-post-sharing, .tie-share-this, .mashsb-container, .essb_links, .elementor-widget-share-buttons, .elementor-share-btn,
	.ast-single-social-sharing, .post-sharing, .rey-shareBtns, .kadence-share, .wp-block-social-links.is-share) { display: none !important; }
