/*
 Theme Name:   Gusto Sele (WoodMart Child)
 Description:  Tema figlio WoodMart per gustosele.it
 Author:       Gusto Sele
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

:root {
	--gs-blue: #1D4F91;
	--gs-blue-dark: #163C6F;
	--gs-green: #16843F;
	--gs-yellow: #F2B01E;
	--gs-cream: #F6F0E4;
	--gs-cream-2: #FBF8F1;
	--gs-ink: #1F2A37;
	--gs-radius: 14px;
}

/* ---------- tipografia di contenuto ---------- */
.gs-kicker { color: var(--gs-green); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.gs-lead { font-size: 17px; line-height: 1.7; }
.gs-center { text-align: center; }
.gs-small { font-size: 13px; color: #777; }
.gs-revision { font-size: 13px; color: #888; font-style: italic; }
.gs-narrow { max-width: 860px; margin-left: auto !important; margin-right: auto !important; float: none !important; }
.wpb_column.gs-narrow { width: 100%; }

/* ---------- hero home ---------- */
.gs-hero { background: linear-gradient(180deg, var(--gs-cream) 0%, var(--gs-cream-2) 100%); padding: 56px 0 64px; margin-bottom: 0 !important; }
.gs-hero-title { font-size: 44px; line-height: 1.15; margin-bottom: 18px; color: var(--gs-ink); }
.gs-hero-btns .btn { margin: 6px 8px 6px 0; }
.gs-rounded-img img { border-radius: var(--gs-radius); box-shadow: 0 18px 40px rgba(31, 42, 55, .12); }
.gs-hero-img img { max-height: 520px; width: auto; }

/* ---------- punti di forza ---------- */
.gs-usp-row { margin-top: -34px !important; position: relative; z-index: 2; }
.gs-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--gs-radius); box-shadow: 0 10px 34px rgba(31, 42, 55, .09); overflow: hidden; }
.gs-usp > div { padding: 22px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #eee; }
.gs-usp > div:last-child { border-right: 0; }
.gs-usp strong { color: var(--gs-ink); font-size: 15px; }
.gs-usp span { font-size: 13.5px; line-height: 1.5; color: #666; }
.gs-usp .gs-usp-i { font-size: 24px; line-height: 1; margin-bottom: 4px; }

/* ---------- sezioni ---------- */
.gs-section { padding-top: 64px; padding-bottom: 24px; }
.gs-band-blue { background: var(--gs-blue); color: rgba(255,255,255,.88); padding: 64px 0 56px; margin-top: 40px; }
.gs-band-blue h2, .gs-band-blue h3, .gs-band-blue strong { color: #fff; }
.gs-band-blue .gs-kicker { color: var(--gs-yellow); }
.gs-band-cream { background: var(--gs-cream); padding: 60px 0 50px; margin-top: 50px; margin-bottom: 0 !important; }
.gs-split { padding: 30px 0; }

/* categorie */
.gs-cats .wd-cat .wd-cat-thumb, .gs-cats .wd-cat img { border-radius: var(--gs-radius); }
.gs-cats .wd-entities-title { font-family: var(--wd-title-font); font-size: 17px; }

/* percorso territorio */
.gs-route { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 34px 0 34px; }
.gs-route a { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; border-radius: var(--gs-radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); transition: background .2s, transform .2s; }
.gs-route a:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); color: #fff; }
.gs-route strong { font-family: var(--wd-title-font); font-size: 17px; line-height: 1.3; }
.gs-route span { font-size: 13.5px; }
.gs-route .gs-route-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gs-yellow); color: var(--gs-ink); font-weight: 800; font-size: 15px; }

/* pulsante bianco */
.btn.btn-color-white { background: #fff; color: var(--gs-blue); }
.btn.btn-color-white:hover { background: var(--gs-yellow); color: var(--gs-ink); }

/* ---------- Il territorio ---------- */
.gs-step { display: inline-block; background: var(--gs-yellow); color: var(--gs-ink); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.gs-sub { color: var(--gs-green); font-style: italic; font-family: var(--wd-title-font); font-size: 18px; margin-top: -8px; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-chip { display: inline-block; padding: 6px 14px; border-radius: 20px; background: var(--gs-cream); color: var(--gs-blue); font-weight: 700; font-size: 13.5px; }
.gs-chip:hover { background: var(--gs-blue); color: #fff; }

/* ---------- Chi siamo ---------- */
.gs-why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 30px; }
.gs-why > div { background: #fff; padding: 24px 20px; border-radius: var(--gs-radius); border-top: 4px solid var(--gs-yellow); }
.gs-why h3 { font-size: 17px; margin-bottom: 8px; }
.gs-why p { font-size: 14px; margin: 0; }

/* ---------- pagamenti ---------- */
.gs-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.gs-card { background: var(--gs-cream-2); border: 1px solid #ece4d3; border-radius: var(--gs-radius); padding: 24px; }
.gs-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--gs-blue); }

/* ---------- pagine legali ---------- */
.gs-legal { max-width: 860px; margin: 0 auto; }
.gs-legal h2 { font-size: 22px; margin-top: 34px; padding-top: 14px; border-top: 1px solid #eee; }
.gs-legal h2:first-of-type { border-top: 0; }
.gs-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14.5px; }
.gs-table th, .gs-table td { border: 1px solid #e6e0d3; padding: 10px 14px; text-align: left; vertical-align: top; }
.gs-table th { background: var(--gs-cream); color: var(--gs-ink); width: 30%; }
.gs-faq-title { font-size: 24px; margin: 34px 0 14px; }

/* ---------- contatti e moduli ---------- */
.gs-contact-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 18px; }
.gs-contact-list li { padding-left: 0; line-height: 1.6; }
.gs-contact-list strong { color: var(--gs-ink); }
.gs-form-box > .vc_column-inner { background: var(--gs-cream-2); border: 1px solid #ece4d3; border-radius: var(--gs-radius); padding: 30px !important; }
.wpcf7 label { display: block; font-weight: 700; color: var(--gs-ink); font-size: 14px; margin-bottom: 14px; }
.wpcf7 label input, .wpcf7 label textarea, .wpcf7 label select { margin-top: 6px; font-weight: 400; }
.gs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gs-hint { display: block; font-weight: 400; color: #888; font-size: 13px; }
.gs-privacy { font-size: 13.5px; margin: 6px 0 18px; }
.wpcf7 textarea { height: 140px; }

/* ---------- header ---------- */
.gs-topbar { font-size: 13px; font-weight: 600; }
.gs-topbar a { color: var(--gs-yellow) !important; }
.gs-hdr-wa { color: var(--gs-green) !important; font-weight: 800; font-size: 14px; }
.gs-hdr-wa::before { content: "💬 "; }

/* ---------- footer ---------- */
.footer-container { border-top: 4px solid var(--gs-yellow); }
.gs-footer { padding-top: 54px; }
.gs-footer-logo { max-width: 180px; height: auto; }
.gs-footer-title { font-size: 17px; margin-bottom: 14px; color: var(--gs-ink); }
.gs-footer-links, .gs-footer-contacts { list-style: none; padding: 0; margin: 0; }
.gs-footer-links li, .gs-footer-contacts li { padding: 0; margin-bottom: 7px; font-size: 14px; line-height: 1.5; }
.gs-footer-links a { color: #555; }
.gs-footer-links a:hover { color: var(--gs-blue); }
.gs-pay-note { font-size: 13px; color: #777; margin-top: 14px; }

/* ---------- negozio ---------- */
.wd-page-title { border-bottom: 1px solid #eee2cc; }
.product-grid-item .wd-entities-title { font-family: var(--wd-text-font); font-weight: 700; font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.gs-hero-title { font-size: 34px; }
	.gs-usp { grid-template-columns: repeat(2, 1fr); }
	.gs-usp > div:nth-child(2) { border-right: 0; }
	.gs-usp > div:nth-child(-n+2) { border-bottom: 1px solid #eee; }
	.gs-route { grid-template-columns: repeat(3, 1fr); }
	.gs-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.gs-hero { padding: 34px 0 54px; }
	.gs-hero-title { font-size: 29px; }
	.gs-hero-img img { max-height: 340px; }
	.gs-usp-row { margin-top: -30px !important; }
	.gs-usp > div { padding: 16px 14px; }
	.gs-usp span { font-size: 12.5px; }
	.gs-route { grid-template-columns: 1fr; gap: 10px; }
	.gs-why, .gs-cards, .gs-form-row { grid-template-columns: 1fr; }
	.gs-section { padding-top: 44px; }
	.gs-band-blue, .gs-band-cream { padding: 44px 0 36px; }
	.gs-stop.gs-alt { display: flex; flex-direction: column-reverse; }
	.gs-form-box > .vc_column-inner { padding: 20px !important; }
	.gs-table th { width: 40%; }
}

/* ---------- pulsanti nei testi ---------- */
.wpb_text_column a.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; min-height: 46px; border-radius: 8px; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: all .2s; border: 2px solid transparent; }
.wpb_text_column a.btn.btn-size-large { padding: 14px 30px; min-height: 52px; font-size: 14px; }
.wpb_text_column a.btn.btn-color-primary { background: var(--gs-blue); color: #fff; }
.wpb_text_column a.btn.btn-color-primary:hover { background: var(--gs-blue-dark); color: #fff; }
.wpb_text_column a.btn.btn-style-bordered { background: transparent; color: var(--gs-ink); border-color: rgba(31,42,55,.25); }
.wpb_text_column a.btn.btn-style-bordered:hover { border-color: var(--gs-ink); }
.wpb_text_column a.btn.btn-color-white { background: #fff; color: var(--gs-blue); }
.wpb_text_column a.btn.btn-color-white:hover { background: var(--gs-yellow); color: var(--gs-ink); }

/* ---------- categorie: titolo leggibile sull'immagine ---------- */
.gs-cats .wd-cat .wd-cat-inner, .gs-cats .wd-cat .wrapp-category { position: relative; border-radius: var(--gs-radius); overflow: hidden; }
.gs-cats .wd-cat .wd-cat-thumb::after, .gs-cats .wd-cat .category-image-wrapp::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, rgba(20,24,30,0) 0%, rgba(20,24,30,.72) 100%); pointer-events: none; }
.gs-cats .wd-cat .wd-entities-title, .gs-cats .wd-cat .wd-entities-title a { color: #fff !important; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.gs-cats .wd-cat .wd-cat-content, .gs-cats .wd-cat .hover-mask { z-index: 2; }

/* home: niente spazio sopra l'hero */
.home .wd-content-layout, .home .main-page-wrapper { padding-top: 0 !important; }

/* fix griglie mobile */
.gs-usp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gs-route { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .gs-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gs-route { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .gs-route { grid-template-columns: minmax(0, 1fr); } }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea { width: 100%; max-width: 100%; }
.home .wd-content-layout { padding-bottom: 0 !important; }
.gs-usp, .gs-route, .gs-why, .gs-cards { width: 100%; }
.gs-cats .wd-cat .wd-cat-inner { position: relative; }
.gs-cats .wd-cat .wd-cat-content { position: absolute !important; left: 0; right: 0; bottom: 0; padding: 16px 18px !important; text-align: left; background: none; }
.gs-cats .wd-cat .wd-entities-title { margin: 0; font-size: 17px; line-height: 1.25; text-transform: none; }
@media (max-width: 767px) { .gs-cats .wd-cat .wd-cat-content { padding: 10px 12px !important; } .gs-cats .wd-cat .wd-entities-title { font-size: 14px; } }
.gs-footer .wd-social-icons { margin-bottom: 20px; }
.gs-cats .wd-cat .wd-cat-content { box-sizing: border-box; }
.gs-cats .wd-cat .wd-entities-title { padding: 0 16px 14px !important; }
@media (max-width: 767px) { .gs-cats .wd-cat .wd-entities-title { padding: 0 10px 10px !important; } }

/* hero slider */
.gs-hero-slider .wd-carousel-item img, .gs-hero-slider img { border-radius: var(--gs-radius); box-shadow: 0 18px 40px rgba(31, 42, 55, .12); width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.gs-hero-slider { max-width: 520px; margin-left: auto; margin-right: auto; }
.gs-hero-slider .wd-nav-pagin-wrap { margin-top: 14px; }
@media (max-width: 767px) { .gs-hero-slider { max-width: 340px; } }
/* ultimi arrivi */
.gs-latest .wd-products-element, .gs-latest .wd-carousel-container { margin-top: 26px; }
.gs-img-note { font-size: 12.5px; color: #8a7a5c; font-style: italic; margin-top: 10px; }
/* barra mobile: etichette intere */
.wd-toolbar .wd-toolbar-label { white-space: nowrap; overflow: visible; text-overflow: clip; font-size: 10px; letter-spacing: -.01em; }
.wd-toolbar > * { padding-left: 2px; padding-right: 2px; }
