/* ==========================================================================
   Staars by Namita — Elementor layer
   Maps the Staars design onto Elementor sections / columns / core widgets.
   ========================================================================== */

/* Page wrapper ------------------------------------------------------------ */
.staars .elementor-section.sbn-section,
.staars .elementor-section.sbn-hero,
.staars .elementor-section.sbn-cta,
.staars .elementor-section.sbn-quote,
.staars .elementor-section.sbn-trust {
	padding-left: 22px;
	padding-right: 22px;
}
.staars .elementor-section.sbn-trust { padding-top: 0; padding-bottom: 0; }
.staars .elementor-section .elementor-container { position: relative; }

/* Default widget rhythm */
.staars .elementor-widget-wrap > .elementor-element { --kit-widget-spacing: 0px; }
.staars .elementor-widget:not(:last-child) { margin-bottom: 18px; }
.staars .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.staars .elementor-widget-text-editor { color: inherit; }
.staars .elementor-heading-title { line-height: 1.12; }

/* Typography that lives on the widget wrapper -------------------------------- */
.staars .elementor-widget.sbn-eyebrow { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 14px !important; }
.staars .elementor-widget.sbn-eyebrow p { margin: 0; }
.staars .elementor-widget.sbn-eyebrow::after { content: none; }
.staars .elementor-column[data-element_type] .elementor-widget.sbn-eyebrow > * { flex: 0 1 auto; width: auto; }
.staars .sbn-center .elementor-widget.sbn-eyebrow,
.staars .sbn-hero--page .elementor-widget.sbn-eyebrow { justify-content: center; }
.staars .sbn-center .elementor-widget.sbn-eyebrow::after,
.staars .sbn-hero--page .elementor-widget.sbn-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.staars .elementor-widget.sbn-card__title .elementor-heading-title,
.staars .elementor-widget.sbn-step__title .elementor-heading-title,
.staars .elementor-widget.sbn-title--sm .elementor-heading-title,
.staars .elementor-widget.sbn-subtitle .elementor-heading-title { font-size: inherit; }
.staars .elementor-widget.sbn-title--sm .elementor-heading-title { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.staars .sbn-hero--page .elementor-widget.sbn-hero__title .elementor-heading-title { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.staars .sbn-hero .elementor-heading-title { color: #fdf6e3; }
.staars .sbn-section--dark .elementor-heading-title,
.staars .sbn-contact__info .elementor-heading-title { color: #fdf6e3; }

.staars .sbn-center .elementor-widget.sbn-intro,
.staars .sbn-hero--page .elementor-widget.sbn-lead { margin-left: auto; margin-right: auto; }
.staars .elementor-widget.sbn-intro + .elementor-inner-section,
.staars .elementor-widget.sbn-title + .elementor-inner-section,
.staars .elementor-widget.sbn-intro + .elementor-widget-shortcode,
.staars .elementor-widget.sbn-title + .elementor-widget-text-editor.sbn-table,
.staars .elementor-widget.sbn-title + .elementor-widget-accordion { margin-top: 36px; }

/* Price pill sits on its own line, sized to its text */
.staars .elementor-widget-wrap > .elementor-element.sbn-price { width: auto; margin-right: 60%; margin-top: 4px; }
.staars .elementor-widget.sbn-plan__from,
.staars .elementor-widget.sbn-plan__price,
.staars .elementor-widget.sbn-plan__unit { margin-bottom: 0 !important; width: 100%; }
.staars .elementor-widget.sbn-plan__price p { margin: 4px 0 2px; }
.staars .elementor-widget.sbn-quote__text p { margin: 0; }

/* Lists written in a Text Editor widget get the star checklist */
.staars .sbn-checklist ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.staars .elementor-widget.sbn-checklist { width: 100%; }

/* Buttons ------------------------------------------------------------------ */
.staars .elementor-widget-button.sbn-el-btn { margin-right: 14px; margin-bottom: 14px !important; }
.staars .elementor-widget-button.sbn-el-btn:last-child { margin-right: 0; }
.staars .elementor-widget-button .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .95em 1.9em;
	border-radius: 999px;
	border: 1.5px solid var(--sbn-green);
	background: var(--sbn-green);
	color: #fff;
	fill: #fff;
	font-family: var(--sbn-sans);
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.2;
	transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.staars .elementor-widget-button .elementor-button:hover {
	background: var(--sbn-deep); border-color: var(--sbn-deep); color: #fff;
	transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(7, 43, 28, .7);
}
.staars .elementor-widget-button.is-style-outline .elementor-button { background: transparent; color: var(--sbn-green); border-color: var(--sbn-green); }
.staars .elementor-widget-button.is-style-outline .elementor-button:hover { background: var(--sbn-green); color: #fff; }

/* On dark backgrounds: gold primary, cream outline */
.staars .sbn-hero .elementor-widget-button:not(.is-style-outline) .elementor-button,
.staars .sbn-section--dark .elementor-column:not(.sbn-fee) .elementor-widget-button:not(.is-style-outline) .elementor-button,
.staars .elementor-widget-button.sbn-btn-gold .elementor-button {
	background: linear-gradient(135deg, #f1d78f 0%, var(--sbn-gold) 55%, #b58a33 100%);
	border-color: transparent; color: var(--sbn-deep); font-weight: 600;
}
.staars .sbn-hero .elementor-widget-button:not(.is-style-outline) .elementor-button:hover,
.staars .sbn-section--dark .elementor-column:not(.sbn-fee) .elementor-widget-button:not(.is-style-outline) .elementor-button:hover {
	background: var(--sbn-gold-light); color: var(--sbn-deep);
}
.staars .sbn-hero .elementor-widget-button.is-style-outline .elementor-button,
.staars .sbn-section--dark .elementor-widget-button.is-style-outline .elementor-button { color: var(--sbn-cream); border-color: rgba(232, 205, 132, .7); }
.staars .sbn-hero .elementor-widget-button.is-style-outline .elementor-button:hover,
.staars .sbn-section--dark .elementor-widget-button.is-style-outline .elementor-button:hover { background: rgba(232, 205, 132, .14); color: #fff; border-color: var(--sbn-gold-light); }

.staars .elementor-column .elementor-widget-wrap > .elementor-widget-button:first-of-type { }
.staars .elementor-widget-wrap { align-items: flex-start; }

/* Rows (sections made from columns) --------------------------------------- */
.staars .sbn-row > .elementor-container { gap: 28px; }
.staars .sbn-hero__cols-row > .elementor-container { gap: clamp(28px, 5vw, 72px); }
.staars .sbn-split-row > .elementor-container,
.staars .sbn-split--reverse-row > .elementor-container,
.staars .sbn-split--even-row > .elementor-container { gap: clamp(36px, 6vw, 90px); }
.staars .sbn-contact-row > .elementor-container { gap: clamp(32px, 5vw, 70px); align-items: flex-start; }
.staars .sbn-trust__cols-row > .elementor-container { gap: 0; }
.staars .elementor-inner-section.sbn-steps-row { margin-top: 18px; }
.staars .elementor-inner-section.sbn-row { margin-bottom: 0; }
.staars .elementor-inner-section.sbn-row:not(:last-child) { margin-bottom: 30px; }

/* Column-based components: stack contents vertically */
.staars .elementor-column.sbn-card,
.staars .elementor-column.sbn-step,
.staars .elementor-column.sbn-fee,
.staars .elementor-column.sbn-contact__info { flex-direction: column; }
.staars .elementor-column.sbn-card > .elementor-widget-wrap,
.staars .elementor-column.sbn-step > .elementor-widget-wrap,
.staars .elementor-column.sbn-fee > .elementor-widget-wrap { flex: 1 1 auto; }
.staars .elementor-column.sbn-fee > .elementor-widget-wrap { justify-content: center; }
.staars .elementor-column.sbn-fee { align-self: center; }
.staars .elementor-column.sbn-card .elementor-widget-wrap,
.staars .elementor-column.sbn-step .elementor-widget-wrap,
.staars .elementor-column.sbn-fee .elementor-widget-wrap,
.staars .elementor-column.sbn-contact__info .elementor-widget-wrap { padding: 0 !important; }
.staars .elementor-column.sbn-card,
.staars .elementor-column.sbn-step { text-align: left; }
.staars .sbn-plans-row .elementor-column.sbn-card { text-align: center; align-items: stretch; }
.staars .sbn-plans-row .elementor-column.sbn-card::before { margin-left: auto; margin-right: auto; }
.staars .sbn-plans-row .elementor-widget-wrap { justify-content: center; }
.staars .elementor-column.sbn-card .elementor-widget-button { margin-top: 8px; }

.staars .elementor-column.sbn-trust__item { align-items: flex-start; }
.staars .elementor-column.sbn-split__media .elementor-widget-image { width: 100%; }
.staars .elementor-column.sbn-hero-art { margin: 0 auto; min-height: 320px; }

/* Images */
.staars .elementor-widget-image.sbn-portrait img,
.staars .elementor-widget-image.sbn-photo img { width: 100%; max-width: 100%; }

/* Table */
.staars .elementor-widget.sbn-table { width: 100%; }

/* FAQ — Elementor Accordion -------------------------------------------------- */
.staars .elementor-widget-accordion.sbn-faq { max-width: 860px; margin-left: auto; margin-right: auto; text-align: left; width: 100%; }
.staars .sbn-faq .elementor-accordion { border: 0; }
.staars .sbn-faq .elementor-accordion-item { border: 0 !important; border-bottom: 1px solid var(--sbn-line) !important; }
.staars .sbn-faq .elementor-accordion-item:first-child { border-top: 1px solid var(--sbn-line) !important; }
.staars .sbn-faq .elementor-tab-title {
	padding: 24px 0 !important; border: 0 !important;
	font-family: var(--sbn-serif); font-size: 1.4rem; font-weight: 600; line-height: 1.3; color: var(--sbn-deep);
	display: flex; align-items: center; gap: 16px; flex-direction: row-reverse; justify-content: space-between;
}
.staars .sbn-faq .elementor-tab-title a { color: var(--sbn-deep) !important; text-decoration: none; font: inherit; }
.staars .sbn-faq .elementor-accordion-icon {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
	display: grid !important; place-items: center;
	border: 1px solid var(--sbn-line-gold); color: var(--sbn-gold-dark); font-size: .9rem;
	float: none !important;
}
.staars .sbn-faq .elementor-accordion-icon svg { width: 12px; fill: var(--sbn-gold-dark); }
.staars .sbn-faq .elementor-tab-title.elementor-active .elementor-accordion-icon { background: var(--sbn-gold-pale); }
.staars .sbn-faq .elementor-tab-content { border: 0 !important; padding: 0 56px 22px 0 !important; color: var(--sbn-muted); font-size: 1rem; }
.staars .sbn-faq .elementor-tab-content p { margin: 0; }

/* Shortcode widgets fill the column */
.staars .elementor-widget-shortcode { width: 100%; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1024px) {
	.staars .sbn-trust__cols-row > .elementor-container { flex-wrap: wrap; }
	.staars .sbn-trust__cols-row .elementor-column.sbn-trust__item { width: 50%; }
}
@media (max-width: 900px) {
	.staars .sbn-hero__cols-row > .elementor-container,
	.staars .sbn-split-row > .elementor-container,
	.staars .sbn-split--reverse-row > .elementor-container,
	.staars .sbn-split--even-row > .elementor-container,
	.staars .sbn-contact-row > .elementor-container,
	.staars .sbn-cards-row > .elementor-container,
	.staars .sbn-steps-row > .elementor-container { flex-wrap: wrap; }
	.staars .sbn-hero__cols-row .elementor-column,
	.staars .sbn-split-row .elementor-column,
	.staars .sbn-split--reverse-row .elementor-column,
	.staars .sbn-split--even-row .elementor-column,
	.staars .sbn-contact-row .elementor-column { width: 100% !important; }
	.staars .sbn-cards-row .elementor-column,
	.staars .sbn-steps-row .elementor-column { width: 100% !important; max-width: 560px; margin-left: auto; margin-right: auto; }
	.staars .elementor-column.sbn-hero-art { order: -1; max-width: 340px; min-height: 0; }
	.staars .sbn-split--reverse-row .elementor-column.sbn-split__media { order: -1; }
	.staars .elementor-column.sbn-split__media { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
	.staars .sbn-trust__cols-row .elementor-column.sbn-trust__item { width: 100%; }
	.staars .elementor-widget-button.sbn-el-btn { width: 100%; margin-right: 0; }
	.staars .elementor-widget-button.sbn-el-btn .elementor-button { width: 100%; }
	.staars .sbn-faq .elementor-tab-title { font-size: 1.2rem; }
	.staars .sbn-faq .elementor-tab-content { padding-right: 0 !important; }
}
