/* Grainhouse + Elementor (free). Loaded only when Elementor is active. */
.gh-builder-main { display: block; width: 100%; padding: 0; margin: 0; }
.gh-builder-layout .gh-site-content { padding-top: 0; padding-bottom: 0; }
.gh-builder-content > .elementor { width: 100%; }
.gh-builder-main .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--gh-font-heading, var(--gh-font)); }
.elementor-kit-default, .elementor { --gh-elementor: 1; }

/* Buttons follow the theme shape. */
.gh-builder-main .elementor-button { border-radius: var(--gh-radius); font-weight: 700; letter-spacing: .01em; transition: transform .15s ease, background-color .2s ease, color .2s ease; }
.gh-builder-main .elementor-button:hover { transform: translateY(-1px); }

/* Kicker text used above headings. */
.gh-builder-main .gh-el-kicker .elementor-heading-title { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }

/* Cards (icon boxes / image boxes inside containers flagged gh-card). */
.gh-builder-main .gh-card { background: #fff; border-radius: var(--gh-radius-lg); box-shadow: var(--gh-shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.gh-builder-main .gh-card:hover { box-shadow: var(--gh-shadow); transform: translateY(-2px); }
.gh-builder-main .gh-card .elementor-image-box-img img, .gh-builder-main .gh-rounded img { border-radius: var(--gh-radius-lg); }
.gh-builder-main .gh-price .elementor-heading-title { font-weight: 800; }

/* Testimonials. */
.gh-builder-main .elementor-testimonial-content { font-size: 16px; line-height: 1.7; }
.gh-builder-main .elementor-testimonial-name { font-weight: 800; }

/* WooCommerce products placed with the Shortcode widget: honour the shortcode's column count. */
.elementor .woocommerce.columns-2 ul.products { --gh-shop-columns: 2; }
.elementor .woocommerce.columns-3 ul.products { --gh-shop-columns: 3; }
.elementor .woocommerce.columns-4 ul.products { --gh-shop-columns: 4; }
.elementor .woocommerce ul.products { margin: 0; }
@media (max-width: 1024px) { .elementor .woocommerce.columns-4 ul.products { --gh-shop-columns: 3; } }
@media (max-width: 767px) { .elementor .woocommerce ul.products { --gh-shop-columns: 2 !important; gap: 22px 12px; } }

/* Recent posts shortcode. */
.gh-posts--shortcode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 1024px) { .gh-posts--shortcode { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gh-posts--shortcode { grid-template-columns: 1fr; } }

/* FAQ (nested accordion). */
.gh-builder-main .e-n-accordion-item { border: 1px solid var(--gh-border, #e6e1d9); border-radius: var(--gh-radius-lg); background: #fff; margin-bottom: 12px; overflow: hidden; }
.gh-builder-main .e-n-accordion-item-title { padding: 18px 22px !important; font-weight: 700; }
.gh-builder-main .e-n-accordion-item > .e-con { padding: 0 22px 18px !important; }

/* Maps */
.gh-builder-main .elementor-widget-google_maps iframe { border-radius: var(--gh-radius-lg); }

/* Mobile spacing tweaks for demo sections. */
@media (max-width: 767px) {
	.gh-builder-main .elementor-widget-heading h1.elementor-heading-title { font-size: 34px !important; line-height: 1.15 !important; }
	.gh-builder-main .elementor-widget-heading h2.elementor-heading-title { font-size: 26px !important; }
}
