/*
Theme Name: Hello Supergarden
Template: hello-elementor
Description: Tema hijo de Hello Elementor para Supergarden. Cabecera, pie, blog, tienda, slider y tipografía que reproducen la web original (Bridge + WPBakery + RevSlider).
Version: 1.0.0
Text Domain: hello-sg
*/

/* ================= Base (valores de Bridge en esta web) ================= */
:root { --sg-green: #6b9d3f; --sg-green2: #779b4c; --sg-title: #303030; --sg-text: #818181; --sg-bg: #f6f6f6; --sg-grid: 1100px; }
html { scroll-behavior: smooth; }
body { background: var(--sg-bg); font-family: 'Barlow', sans-serif; font-size: 14px; line-height: 26px; font-weight: 400; color: var(--sg-text); }
p, .elementor-widget-text-editor, .elementor-widget-text-editor p { font-family: 'Barlow', sans-serif; font-size: 14px; line-height: 26px; font-weight: 400; color: var(--sg-text); }
p { margin: 0; }
.elementor-widget-text-editor p, .elementor-widget-text-editor ul, .elementor-widget-text-editor ol { margin: 0; }
strong, b { font-weight: 700; }
a { color: var(--sg-title); text-decoration: none; }
a:hover { color: var(--sg-green); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: 'Barlow', sans-serif; color: var(--sg-title); }
h1, .elementor-widget-heading h1.elementor-heading-title { font-size: 30px; line-height: 37.5px; font-weight: 700; }
h2, .elementor-widget-heading h2.elementor-heading-title { font-size: 18px; line-height: 25px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding-bottom: 20px; }
h3, .elementor-widget-heading h3.elementor-heading-title { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
h4, .elementor-widget-heading h4.elementor-heading-title { font-size: 19px; line-height: 26px; font-weight: 400; }
h5, .elementor-widget-heading h5.elementor-heading-title { font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
h6, .elementor-widget-heading h6.elementor-heading-title { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
.elementor-widget-text-editor ul { padding-left: 21px; list-style: disc; }
.fs-cfont .elementor-heading-title { margin: 0; padding-bottom: 0; text-transform: none; letter-spacing: normal; }
.fs-ta-left { text-align: left; } .fs-ta-center { text-align: center; } .fs-ta-right { text-align: right; }
img { max-width: 100%; height: auto; }
.fs-row > .e-con-inner, .fs-row { --gap: 0px; }
.e-con.fs-col, .e-con.fs-ei { --padding-top: 0px; --padding-bottom: 0px; }
.fs-ei { min-width: 0; }
.fs-parallax { background-attachment: scroll !important; }
.fs-row-inner > .fs-col > .fs-eholder:only-child { flex: 1 1 auto; }

/* ================= Cabecera ================= */
.fs-topbar { background: var(--sg-green); height: 33px; padding: 0 2%; display: flex; align-items: center; justify-content: flex-end; }
.fs-topbar-right { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; line-height: 33px; white-space: nowrap; }
.fs-topbar-right a { color: #fff; }
.fs-topbar-right strong { margin-right: 8px; font-weight: 700; }
.fs-tsoc { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--sg-green2) !important; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.fs-tsoc svg { width: 11px; height: 11px; }
.fs-tsoc:hover { background: var(--sg-green2); color: #fff !important; }

.fs-header { position: sticky; top: 0; z-index: 990; background: #fff; display: flex; flex-direction: column; align-items: center; padding: 20px 45px 11px; transition: padding .2s; }
.admin-bar .fs-header { top: 32px; }
.fs-logo { display: block; line-height: 0; }
.fs-logo img { display: block; width: auto; }
.fs-logo-normal { height: 128px; transition: height .2s; }
.fs-logo-sticky { display: none !important; }
.fs-header.is-scrolled { padding-top: 8px; padding-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.fs-header.is-scrolled .fs-logo-normal { height: 64px; }
.fs-nav { margin-top: 10px; }
.fs-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.fs-menu li { margin: 0; display: flex; align-items: center; }
.fs-menu li + li::before { content: '|'; position: relative; left: -2px; color: #9e9e9e; font-size: 15px; font-weight: 400; }
.fs-menu a { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; line-height: 16px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #9d9d9d; transition: color .15s; }
.fs-menu a:hover, .fs-menu .current-menu-item > a, .fs-menu .current_page_parent > a { color: var(--sg-green); }
.fs-mi-ico { display: inline-flex; width: 11px; height: 12px; }
.fs-mi-ico svg { width: 100%; height: 100%; }
.fs-menu .wpmenucart-contents { gap: 4px; }
.fs-menu .wpmenucart-contents .amount::before { content: '- '; }
.fs-burger, .fs-burger:hover, .fs-burger:focus { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.fs-burger span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--sg-title); transition: transform .2s, opacity .2s; }

/* ================= Pie ================= */
.fs-footer-top { background: var(--sg-green); padding: 30px 20px 52px; text-align: center; }
.fs-footer-top img { width: 300px; height: auto; display: inline-block; }
.fs-flinks { margin-top: 36px !important; color: #fff; font-family: Arial, sans-serif; font-size: 16px; line-height: 26px; }
.fs-flinks a { color: #cfe295 !important; font-family: Arial, sans-serif; font-size: 16px; }
.fs-flinks a:hover { color: #fff !important; }
.fs-footer-bottom { background: #fff; padding: 30px 100px 20px; text-align: center; }
.fs-footer-bottom img { max-width: 50%; width: 96%; height: auto; display: inline-block; }

/* ================= Volver arriba ================= */
#fs-top { position: fixed; right: 25px; bottom: 65px; z-index: 995; width: 56px; height: 56px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
#fs-top.is-on { opacity: 1; visibility: visible; }
#fs-top span { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid #e8e8e8; border-radius: 50%; color: #cdcdcd; background: rgba(255,255,255,.7); transition: all .2s; }
#fs-top svg { width: 14px; height: 14px; }
#fs-top:hover span { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }

/* ================= Slider (antes RevSlider: rejilla 1920×480 que escala con el ancho) ================= */
.fs-rs { position: relative; width: 100%; height: calc(100vw * var(--gh) / var(--gw)); min-height: 200px; overflow: hidden; background: #ddd; }
.fs-rs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.fs-rs-slide.is-on { opacity: 1; z-index: 1; }
.fs-rs-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.fs-rs-layer { position: absolute; z-index: 2; color: #fff; font-family: 'Barlow', sans-serif; white-space: nowrap; font-size: max(calc(var(--s) * 100vw / 1920), 24px); line-height: max(calc(var(--l) * 100vw / 1920), 28px); }
.fs-rs-arrow, .fs-rs-arrow:hover, .fs-rs-arrow:focus { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 0; padding: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 26px; line-height: 38px; cursor: pointer; }
.fs-rs-arrow:hover { background: #000; }
.fs-rs-arrow.prev { left: 30px; } .fs-rs-arrow.next { right: 30px; }
.fs-rs-dots { position: absolute; left: 0; right: 0; bottom: 15px; z-index: 3; display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fs-rs-dots li { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.fs-rs-dots li.is-on { background: #fff; }

/* ================= Botones (qbutton de Bridge) ================= */
.fs-qbutton .elementor-button { display: inline-flex; align-items: center; height: 42px; padding: 0 17px; border: 2px solid var(--sg-title); border-radius: 4px; background: transparent; color: var(--sg-title); font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; transition: all .2s; }
.fs-qbutton .elementor-button:hover { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }
.fs-qb-big_large .elementor-button { height: 64px; padding: 0 30px; font-size: 18px; }

/* ================= Piezas de contenido ================= */
.fs-iconlist .elementor-icon-list-text { font-family: 'Barlow', sans-serif; }
.fs-agallery .gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.fs-agallery .gallery-item { margin: 0 !important; }
.fs-gmap iframe { width: 100%; height: 450px; border: 0; display: block; }
.fs-social-sc .elementor-social-icon { transition: background .2s; }

/* ================= Blog ================= */
.fs-blog-list { max-width: var(--sg-grid); margin: 0 auto; }
.fs-post { display: flex; margin-bottom: 20px; }
.fs-post-image { flex: 0 0 50%; }
.fs-post-image img { width: 100%; height: auto; display: block; }
.fs-post-text { flex: 1 1 auto; align-self: flex-start; background: #fff; padding: 23px; }
.fs-post-title { font-size: 18px; line-height: 25px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding-bottom: 20px; }
.fs-post-title a { color: var(--sg-title); }
.fs-post-title a:hover { color: var(--sg-green); }
.fs-date { color: #bebebe; }
.fs-post-info { margin: -14px 0 18px; font-size: 12px; line-height: 20px; color: #bebebe; }
.fs-post-info a { color: #bebebe; }
.fs-post-excerpt { margin-bottom: 26px; }
.fs-readmore, .fs-readmore:visited { display: inline-block; height: 34px; line-height: 30px; padding: 0 17px; border: 2px solid var(--sg-title); border-radius: 4px; color: var(--sg-title); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: all .2s; }
.fs-readmore:hover { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }
.fs-pagination, .fs-blog .nav-links, .woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 11px; margin: 30px 0 0; padding: 0; border: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; }
.fs-pagination .page-numbers, .fs-blog .page-numbers, .woocommerce nav.woocommerce-pagination ul li .page-numbers { display: inline-block; min-width: 42px; height: 42px; line-height: 38px; padding: 0 6px; border: 2px solid #e5e5e5; border-radius: 4px; text-align: center; font-size: 18px; color: #b4b4b4; background: transparent; }
.fs-pagination .page-numbers.current, .fs-blog .page-numbers.current, .woocommerce nav.woocommerce-pagination ul li span.current, .fs-pagination .page-numbers:hover { background: #eee; border-color: #eee; color: var(--sg-title); }
.fs-blog { max-width: none !important; padding: 40px 20px 60px; }
.fs-archive-head { max-width: var(--sg-grid); margin: 0 auto 30px; }
.fs-single { max-width: var(--sg-grid); margin: 0 auto; padding: 60px 20px 80px; }
.fs-single-image { margin-bottom: 23px; }
.fs-single-image img { width: 100%; height: auto; display: block; }
.fs-single-content p { margin-bottom: 15px; }
.fs-single-content .aligncenter { display: block; margin: 20px auto; }
.fs-single-content .alignleft { float: left; margin: 0 20px 20px 0; }
.fs-single-content .alignright { float: right; margin: 0 0 20px 20px; }
.fs-single-content::after { content: ""; display: table; clear: both; }
.page .fs-single h1, .page .fs-single h2, .page .fs-single h3 { margin: 20px 0 10px; }

/* ================= Tienda (WooCommerce con el aspecto de Bridge) ================= */
.woocommerce-page .site-main, .woocommerce .site-main { max-width: var(--sg-grid); margin: 0 auto; padding: 30px 20px 60px; }
.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce-products-header { text-align: center; margin-bottom: 30px; }
.woocommerce-products-header .page-title { margin: 0 0 14px; font-family: 'Barlow', sans-serif; font-size: 30px; line-height: 37px; font-weight: 500; text-transform: uppercase; text-align: center; color: var(--sg-title); }
.post-type-archive-product .woocommerce-products-header .page-title { display: none; } /* en la tienda el título lo pone el texto de la página */
.term-description, .page-description { text-align: center; }
.woocommerce .woocommerce-result-count { float: right; line-height: 55px; margin: 0; color: var(--sg-text); }
.woocommerce .woocommerce-ordering { float: left; margin: 0 0 30px; }
.woocommerce .woocommerce-ordering select { height: 42px; padding: 0 18px; border: 1px solid #e5e5e5; background: #fff; color: var(--sg-text); font-family: 'Barlow', sans-serif; }
.woocommerce ul.products { clear: both; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px 25px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; background: transparent; text-align: center; }
.woocommerce ul.products li.product a img { margin: 0; background: #f6f6f6; aspect-ratio: 1 / 1; object-fit: contain; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { background: #fff; margin: 0; padding: 14px 10px 0; font-family: 'Barlow', sans-serif; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sg-title); }
.woocommerce ul.products li.product .price { display: block; background: #fff; margin: 0; padding: 2px 10px 14px; font-size: 14px; color: var(--sg-text); }
.woocommerce ul.products li.product .button { display: none; }
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { color: var(--sg-green); }
.woocommerce span.onsale { background: var(--sg-green); }
.woocommerce div.product .product_title { padding-top: 50px; font-size: 17px; line-height: 21px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sg-title); margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--sg-text); font-size: 14px; }
.woocommerce div.product .product_meta { font-size: 13px; color: #777; }
.woocommerce div.product .product_meta > span { display: block; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--sg-title); }
.woocommerce div.product .product_meta > span a, .woocommerce div.product .product_meta .sku { font-weight: 300; text-transform: none; letter-spacing: 0; color: #777; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: #fff; border-color: #eee; }
.woocommerce .related > h2 { font-size: 19px; line-height: 26px; font-weight: 400; text-transform: none; letter-spacing: 0; padding-bottom: 34px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: transparent; border: 2px solid var(--sg-title); border-radius: 4px; color: var(--sg-title); font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }

/* ================= Formularios (Contact Form 7) ================= */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=date], .wpcf7 textarea { width: 100%; border: 0; border-radius: 0; background: #fff; padding: 12px 15px; font-family: 'Raleway', sans-serif; font-size: 13px; color: #555; box-shadow: none; }
.wpcf7 input[type=submit] { height: 42px; padding: 0 23px; border: 2px solid var(--sg-title); border-radius: 4px; background: transparent; color: var(--sg-title); font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.wpcf7 input[type=submit]:hover { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }

/* ================= Responsive ================= */
@media (max-width: 1140px) { .fs-blog-list { padding: 0 10px; } }
@media (max-width: 1000px) {
	.fs-header { flex-direction: row; justify-content: space-between; padding: 10px 20px; }
	.fs-logo-normal, .fs-header.is-scrolled .fs-logo-normal { height: 70px; }
	.fs-burger { display: block; }
	.fs-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; box-shadow: 0 8px 12px rgba(0,0,0,.08); display: none; }
	.fs-nav.is-open { display: block; }
	.fs-menu { flex-direction: column; }
	.fs-menu li + li::before { display: none; }
	.fs-menu a { line-height: 48px; padding: 0 20px; width: 100%; border-top: 1px solid #eee; }
	.fs-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.fs-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
	.fs-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 782px) { .admin-bar .fs-header { top: 0; } }
@media (max-width: 767px) {
	.fs-topbar strong { display: none; }
	.fs-post { flex-direction: column; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.fs-footer-bottom { padding: 20px; }
	.fs-footer-bottom img { max-width: 100%; }
	.fs-rs-arrow { display: none; }
	.fs-rs-layer { white-space: normal; }
}

/* Filas de páginas con la plantilla «default» de Bridge: toda la fila (con su fondo) dentro de la rejilla de 1100 px */
.e-con.fs-dtpl { max-width: var(--sg-grid); margin-left: auto !important; margin-right: auto !important; }

/* custom_font de Bridge con párrafos dentro: heredan color y letra del bloque */
.fs-cfont .elementor-heading-title p, .fs-cfont .elementor-heading-title span, .fs-cfont .elementor-heading-title strong { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; }
.fs-cfont .elementor-heading-title strong { font-weight: 700; }
/* Descripción de la tienda: el HTML trae un display:flex en línea que Bridge no llegaba a aplicar */
.woocommerce .page-description div[style*="flex"], .woocommerce .term-description div[style*="flex"] { display: block !important; }
.woocommerce .page-description h1 { font-size: 30px; line-height: 37.5px; text-align: center; }
.woocommerce .page-description h2 { text-align: center; }
.woocommerce .page-description h3 { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; }
.woocommerce .page-description p { text-align: center !important; }

/* Columnas de Bridge usadas dentro de formularios y textos (three_columns, two_columns…) */
.two_columns, .two_columns_50_50, .three_columns, .four_columns { display: grid; gap: 0 20px; }
.two_columns, .two_columns_50_50 { grid-template-columns: repeat(2, 1fr); }
.three_columns { grid-template-columns: repeat(3, 1fr); }
.four_columns { grid-template-columns: repeat(4, 1fr); }
.two_columns_33_66 { display: grid; grid-template-columns: 1fr 2fr; gap: 0 20px; }
.two_columns_66_33 { display: grid; grid-template-columns: 2fr 1fr; gap: 0 20px; }
.wpcf7 form p { margin: 0 0 15px; }
.wpcf7 textarea { height: 150px; }
@media (max-width: 767px) { .two_columns, .two_columns_50_50, .three_columns, .four_columns, .two_columns_33_66, .two_columns_66_33 { grid-template-columns: 1fr; } }

/* Ventana emergente del horario (Popup Maker, antes maquetada con WPBakery) */
.sg-horario { padding: 0 0 30px 10px; color: #fff; font-family: 'Barlow', sans-serif; text-align: left; }
.sg-horario p { margin: 0; color: inherit; font: inherit; }
.sg-h-titulo, .sg-h-temporada { font-size: 32px; line-height: 32px; font-weight: 400; color: #fff; }
.sg-h-temporada { margin-top: 5px; }
.sg-h-temporada strong { font-weight: 700; }
.sg-h-linea { margin-top: 15px; font-size: 18px; line-height: 24px; font-weight: 300; color: #fff; }
.sg-h-sep { margin-top: 1em; }
.sg-h-festivos { margin-top: 30px; font-size: 16px; line-height: 19px; font-weight: 300; color: #fff; }
.sg-h-festivos span { font-size: 1.8em; }
@media (max-width: 500px) { .sg-horario { padding-left: 4px; } }

/* Popup Maker enfoca el contenido al abrir la ventana: sin anillo de foco (Bridge tampoco lo mostraba) */
.pum-container:focus, .pum-content:focus, .pum-content:focus-visible, .pum-container:focus-visible { outline: none !important; }
.pum-content:focus, .pum-content:focus-visible { box-shadow: none !important; } /* el reset de Hello añade un anillo blanco con box-shadow */

/* Sin la pestaña de valoraciones, lo que sigue a la foto y al resumen (flotados) debe empezar debajo */
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .up-sells { clear: both; padding-top: 40px; }
