/* Fancy Labs 2 — base: tokens, typography, header, navigation, search, product cards, footer. */
:root {
  --fl-green: #0a7a3d;
  --fl-green-dark: #065c2d;
  --fl-green-soft: #e8f4ec;
  --fl-red: #c8232c;
  --fl-red-soft: #fdecec;
  --fl-honey: #f2a900;
  --fl-ink: #1c2420;
  --fl-muted: #5c6862;
  --fl-line: #e2e6e2;
  --fl-bg: #f6f7f3;
  --fl-surface: #fff;
  --fl-flag-green: #009246;
  --fl-flag-white: #f4f5f0;
  --fl-flag-red: #ce2b37;
  --fl-radius: 10px;
  --fl-radius-sm: 6px;
  --fl-shadow: 0 10px 30px rgba(28, 36, 32, 0.08);
  --fl-shadow-lg: 0 24px 60px rgba(28, 36, 32, 0.16);
  --fl-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fl-display: "Rajdhani", var(--fl-font);
  --fl-container: 1320px;
  --fl-gutter: clamp(14px, 3vw, 28px);
  --fl-header-h: 150px;
}

/* ---------- Base (on top of Bootstrap reboot) ---------- */
html { scroll-padding-top: var(--fl-header-h); -webkit-text-size-adjust: 100%; }
body.fl2 { font-family: var(--fl-font); font-size: 15px; line-height: 1.6; color: var(--fl-ink); background: var(--fl-bg); }
.fl2 h1, .fl2 h2, .fl2 h3, .fl2 h4, .fl2 .h1, .fl2 .h2, .fl2 .h3 { font-family: var(--fl-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; color: var(--fl-ink); }
.fl2 a { color: var(--fl-green); }
.fl2 a:hover { color: var(--fl-green-dark); }
.fl2 img { max-width: 100%; height: auto; }
.fl2 :focus-visible { outline: 3px solid var(--fl-honey); outline-offset: 2px; }
.fl-container { width: 100%; max-width: var(--fl-container); margin-inline: auto; padding-inline: var(--fl-gutter); }
.fl-main { min-height: 50vh; }
.content-area { padding-block: clamp(20px, 3vw, 40px); }
.fl-home.content-area { padding-top: 0; }
.fl-skip { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--fl-ink); color: #fff !important; padding: 10px 16px; border-radius: var(--fl-radius-sm); }
.fl-skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.fl-icon { flex-shrink: 0; }

/* Italian tricolour */
.fl-flag { display: inline-flex; width: 22px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); flex-shrink: 0; vertical-align: -2px; }
.fl-flag i { flex: 1; }
.fl-flag i:nth-child(1), .fl-seal-flag i:nth-child(1) { background: var(--fl-flag-green); }
.fl-flag i:nth-child(2), .fl-seal-flag i:nth-child(2) { background: var(--fl-flag-white); }
.fl-flag i:nth-child(3), .fl-seal-flag i:nth-child(3) { background: var(--fl-flag-red); }
.fl-flag-band { height: 5px; background: linear-gradient(90deg, var(--fl-flag-green) 33.33%, var(--fl-flag-white) 33.33% 66.66%, var(--fl-flag-red) 66.66%); }

/* Buttons */
.fl-btn, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button, :is(.fl2.woocommerce, .fl2 .woocommerce) button.button, :is(.fl2.woocommerce, .fl2 .woocommerce) input.button, .fl2 a.button, .fl2 button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 0; border-radius: var(--fl-radius-sm);
  font-family: var(--fl-font); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  background: var(--fl-green-soft); color: var(--fl-green-dark);
}
.fl-btn:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) button.button:hover, .fl2 a.button:hover { background: #d3eadb; color: var(--fl-green-dark); text-decoration: none; }
.fl-btn-primary, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button.alt, :is(.fl2.woocommerce, .fl2 .woocommerce) button.button.alt, :is(.fl2.woocommerce, .fl2 .woocommerce) #respond input#submit.alt, :is(.fl2.woocommerce, .fl2 .woocommerce) input.button.alt, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button.add_to_cart_button, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button.product_type_simple, :is(.fl2.woocommerce, .fl2 .woocommerce) a.checkout-button {
  background: var(--fl-green); color: #fff;
}
.fl-btn-primary:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button.alt:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) button.button.alt:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button.add_to_cart_button:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) a.button.product_type_simple:hover, :is(.fl2.woocommerce, .fl2 .woocommerce) a.checkout-button:hover { background: var(--fl-green-dark); color: #fff; }
.fl-btn-primary:active, :is(.fl2.woocommerce, .fl2 .woocommerce) .button:active { transform: translateY(1px); }
.fl-btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--fl-line); color: var(--fl-ink); }
.fl-btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--fl-green); color: var(--fl-green-dark); }
/* Beat the generic ".fl2 a" link colour. */
.fl2 a.fl-btn { color: var(--fl-green-dark); text-decoration: none; }
.fl2 a.fl-btn-primary, .fl2 a.fl-btn-primary:hover { color: #fff; }
.fl2 a.fl-btn-ghost { color: var(--fl-ink); }
:is(.fl2.woocommerce, .fl2 .woocommerce) a.button.loading { opacity: 0.7; }
:is(.fl2.woocommerce, .fl2 .woocommerce) a.added_to_cart { display: block; text-align: center; font-weight: 600; font-size: 13px; padding-top: 6px; }
.fl-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Top bar ---------- */
.fl-topbar { background: var(--fl-ink); color: #dfe6e1; font-size: 13px; }
.fl-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.fl-topbar p { margin: 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fl-topbar-claims span + span::before { content: "·"; margin-right: 18px; color: #7e8b84; }
.fl-topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.fl-topbar a:hover { color: #9fe0b8; }
.fl-topbar-contacts .fl-icon { color: #6fd39a; }

/* ---------- Header (sticky: search always reachable) ---------- */
.fl-header { position: sticky; top: 0; z-index: 100; background: var(--fl-surface); box-shadow: 0 1px 0 var(--fl-line); }
.admin-bar .fl-header { top: 32px; }
.fl-header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 14px; transition: padding 0.15s; }
.fl-header.is-compact .fl-header-main { padding-block: 8px; }
.fl-burger { display: none; }
.fl-logo .custom-logo-link { display: block; }
.fl-logo img { display: block; width: auto; max-height: 64px; max-width: 200px; transition: max-height 0.15s; }
.fl-header.is-compact .fl-logo img { max-height: 48px; }
.fl-brand-text { font-family: var(--fl-display); font-size: 26px; font-weight: 700; color: var(--fl-ink) !important; text-decoration: none !important; line-height: 1; }
.fl-brand-text small { display: block; font-family: var(--fl-font); font-size: 11px; font-weight: 500; color: var(--fl-muted); margin-top: 4px; }
.fl-actions { display: flex; align-items: center; gap: 22px; }
.fl-account, .fl-cart { display: flex; align-items: center; gap: 10px; color: var(--fl-ink) !important; text-decoration: none !important; font-size: 13px; line-height: 1.2; min-height: 44px; }
.fl-account span, .fl-cart-label { display: grid; font-weight: 700; }
.fl-account small { font-weight: 400; color: var(--fl-muted); }
.fl-account:hover, .fl-cart:hover { color: var(--fl-green) !important; }
.fl-cart { padding-left: 22px; border-left: 1px solid var(--fl-line); }
.fl-cart-icon { position: relative; display: inline-flex; }
.fl-cart-count { position: absolute; top: -7px; right: -11px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--fl-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.fl-cart-label { font-weight: 400; color: var(--fl-muted); }
.fl-cart-label strong { font-size: 16px; color: var(--fl-ink); }

/* ---------- Search ---------- */
.fl-search { position: relative; }
.fl-search form { display: flex; height: 50px; border: 2px solid var(--fl-green); border-radius: 999px; background: #fff; overflow: hidden; transition: box-shadow 0.15s; }
.fl-search form:focus-within { box-shadow: 0 0 0 4px rgba(10, 122, 61, 0.15); }
.fl-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 8px 0 22px; font-size: 16px; color: var(--fl-ink); outline: 0; }
.fl-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.fl-search button { width: 58px; border: 0; background: var(--fl-green); color: #fff; display: grid; place-items: center; cursor: pointer; }
.fl-search button:hover { background: var(--fl-green-dark); }
.fl-search.is-loading button .fl-icon { animation: fl-pulse 0.8s ease-in-out infinite alternate; }
@keyframes fl-pulse { to { opacity: 0.35; } }
.fl-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 130; max-height: min(70vh, 620px); overflow-y: auto; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); box-shadow: var(--fl-shadow-lg); }
.fl-search-results a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: var(--fl-radius-sm); color: var(--fl-ink); text-decoration: none; }
.fl-search-results [aria-selected="true"] > a, .fl-search-results a:hover { background: var(--fl-green-soft); color: var(--fl-ink); }
.fl-sr-group { padding: 10px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fl-muted); }
.fl-sr-group:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--fl-line); padding-top: 12px; }
.fl-sr-thumb { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--fl-radius-sm); background: #f3f4f1; overflow: hidden; }
.fl-sr-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fl-sr-category .fl-sr-thumb { width: 40px; height: 40px; justify-self: center; }
.fl-sr-text { display: grid; gap: 2px; min-width: 0; }
.fl-sr-title { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-sr-text small { font-size: 12px; color: var(--fl-muted); }
.fl-sr-title mark { padding: 0; background: #fdf0c4; color: inherit; font-weight: 800; border-radius: 2px; }
.fl-sr-meta { font-weight: 700; font-size: 15px; white-space: nowrap; text-align: right; }
.fl-sr-meta del { font-size: 12px; font-weight: 400; color: var(--fl-muted); }
.fl-sr-out { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--fl-red); }
.fl-sr-category .fl-sr-meta { font-size: 12px; font-weight: 500; color: var(--fl-muted); }
.fl-sr-all { margin-top: 6px; border-top: 1px solid var(--fl-line); padding-top: 6px; }
.fl-search-results .fl-sr-all a { display: block; text-align: center; padding: 12px; font-weight: 700; color: var(--fl-green); }

/* ---------- Desktop mega menu ---------- */
.fl-nav { background: var(--fl-green); color: #fff; }
.fl-nav-inner { position: relative; display: flex; align-items: stretch; min-height: 50px; }
.fl-mega > summary, .fl-nav-link { display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 14px; font-family: var(--fl-display); font-size: 16px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; color: #fff !important; text-decoration: none !important; cursor: pointer; list-style: none; transition: background 0.15s; }
.fl-mega > summary::-webkit-details-marker { display: none; }
.fl-mega > summary:hover, .fl-nav-link:hover { background: rgba(255, 255, 255, 0.12); }
.fl-mega[open] > summary { background: #fff; color: var(--fl-ink) !important; }
.fl-mega.is-current > summary, .fl-nav-link.is-current { box-shadow: inset 0 -3px 0 var(--fl-honey); }
.fl-nav-roots .fl-mega[open] > summary .fl-icon { transform: rotate(180deg); }
.fl-mega > summary .fl-icon { transition: transform 0.2s; opacity: 0.85; }
.fl-mega-all > summary { background: var(--fl-green-dark); padding: 0 20px; margin-right: 6px; }
.fl-mega-all > summary:hover { background: #044a24; }
.fl-nav-roots { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; height: 50px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.fl-nav-roots > li.is-overflow { visibility: hidden; }
.fl-mega-panel { position: absolute; top: 100%; left: var(--fl-gutter); right: var(--fl-gutter); z-index: 120; max-height: calc(100vh - 220px); overflow-y: auto; padding: 24px 30px 30px; background: #fff; color: var(--fl-ink); border-radius: 0 0 var(--fl-radius) var(--fl-radius); box-shadow: var(--fl-shadow-lg); border-top: 3px solid var(--fl-green-dark); animation: fl-drop 0.16s ease-out; }
@keyframes fl-drop { from { opacity: 0; transform: translateY(-6px); } }
.fl-mega-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--fl-line); }
.fl-mega-head strong { font-family: var(--fl-display); font-size: 22px; }
.fl-mega-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.fl-mega-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 32px; }
.fl-mega-title { display: block; font-weight: 700; font-size: 15px; color: var(--fl-ink) !important; text-decoration: none; margin-bottom: 6px; }
.fl-mega-title:hover { color: var(--fl-green) !important; }
.fl-mega-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.fl-mega-group li a { font-size: 14px; color: var(--fl-muted); text-decoration: none; }
.fl-mega-group li a:hover { color: var(--fl-green); text-decoration: underline; }
.fl-mega-more { font-weight: 700; color: var(--fl-green) !important; }

/* ---------- Notices bar (Bandi, Offerte…) ---------- */
.fl-notices-bar { background: #fff; border-bottom: 1px solid var(--fl-line); }
.fl-notices-bar .fl-container { display: flex; gap: 10px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.fl-notices-bar .fl-container::-webkit-scrollbar { display: none; }
.fl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none !important; transition: filter 0.15s; }
.fl-chip:hover { filter: brightness(0.95); }
.is-green { background: var(--fl-green); color: #fff !important; }
.is-red { background: var(--fl-red); color: #fff !important; }
.is-dark { background: var(--fl-ink); color: #fff !important; }
.is-honey { background: var(--fl-honey); color: var(--fl-ink) !important; }
.is-light { background: var(--fl-green-soft); color: var(--fl-green-dark) !important; }
.fl-custom-html { padding-block: 8px; }
.fl-custom-html .row { margin: 0; }
.fl-custom-html a { text-decoration: none; }
.fl2 .text-custom { font-family: var(--fl-display); }

/* ---------- Drawer + backdrop (mobile) ---------- */
.fl-drawer { display: none; }
.fl-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 199; background: rgba(15, 25, 20, 0.5); }
html.fl-drawer-open { overflow: hidden; }

/* ---------- Product cards (shop, home, related) ---------- */
:is(.fl2.woocommerce, .fl2 .woocommerce) ul.products, .fl2 ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 0 0 24px; padding: 0; }
:is(.fl2.woocommerce, .fl2 .woocommerce) ul.products::before, :is(.fl2.woocommerce, .fl2 .woocommerce) ul.products::after, .fl2 ul.products::before, .fl2 ul.products::after { display: none; }
:is(.fl2.woocommerce, .fl2 .woocommerce) ul.products li.product, .fl2 ul.products li.product { position: relative; float: none; width: auto !important; margin: 0 !important; padding: 14px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; text-align: left; }
.fl2 ul.products li.product:hover { box-shadow: var(--fl-shadow); border-color: #cfd7d1; transform: translateY(-2px); }
.fl2 ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--fl-ink); text-decoration: none; }
.fl2 ul.products li.product img { order: 0; width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 0 12px !important; border-radius: var(--fl-radius-sm); background: #fff; }
.fl2 ul.products li.product .woocommerce-loop-product__title { order: 1; font-family: var(--fl-font); font-size: 14.5px !important; font-weight: 600; line-height: 1.4; padding: 0 !important; margin: 0 0 8px; color: var(--fl-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fl2 ul.products li.product .price { order: 2; margin: auto 0 10px !important; font-size: 19px !important; font-weight: 800; color: var(--fl-ink) !important; }
.fl2 ul.products li.product .price del { font-size: 13px; font-weight: 400; color: var(--fl-muted); opacity: 1; }
.fl2 ul.products li.product .price ins { text-decoration: none; color: var(--fl-red); }
.fl2 ul.products li.product .star-rating { order: 1; margin: 0 0 6px; font-size: 12px; }
.fl2 ul.products li.product .button { width: 100%; margin-top: 4px; }
.fl2 span.onsale, :is(.fl2.woocommerce, .fl2 .woocommerce) span.onsale { position: absolute; top: 12px; left: 12px; right: auto; z-index: 2; min-width: 0; min-height: 0; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--fl-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; }
.fl2 span.onsale.onSaleHidden { display: none; }
.fl2 .extra-discount { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--fl-green); color: #fff; font-size: 12px; font-weight: 700; }
.fl2 .single-product .extra-discount { position: relative; top: auto; right: auto; display: inline-block; margin-bottom: 10px; }
.fl2 ul.products li.product-category a { display: block; text-decoration: none; color: var(--fl-ink); }
.fl2 ul.products li.product-category h2 { font-size: 15px !important; text-align: center; padding: 8px 0 0 !important; }
.fl2 ul.products li.product-category mark { background: none; color: var(--fl-muted); }

/* ---------- Generic content (pages, blog) ---------- */
.fl2 .content-area > main > .container { max-width: var(--fl-container); }
.fl2 article.col > h1, .fl2 .article-title, .fl2 .search-page-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.fl2 .content, .fl2 article.col > div, .fl-entry { font-size: 16px; line-height: 1.75; }
.fl2 .meta { font-size: 13px; color: var(--fl-muted); }
.fl2 .widget-wrapper { background: #fff; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 18px; margin-bottom: 18px; }
.fl2 .widget-title { font-size: 18px; margin-bottom: 12px; }
.fl2 .search-result-card { height: 100%; background: #fff; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); overflow: hidden; }
.fl2 .search-result-body { padding: 14px; }
.fl2 .search-result-title { font-size: 17px; }
.fl2 .nav-links, :is(.fl2.woocommerce, .fl2 .woocommerce) nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
.fl2 .page-numbers, :is(.fl2.woocommerce, .fl2 .woocommerce) nav.woocommerce-pagination ul li { border: 0 !important; }
.fl2 .page-numbers, :is(.fl2.woocommerce, .fl2 .woocommerce) nav.woocommerce-pagination ul li a, :is(.fl2.woocommerce, .fl2 .woocommerce) nav.woocommerce-pagination ul li span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--fl-radius-sm); background: #fff; border: 1px solid var(--fl-line); text-decoration: none; font-weight: 600; }
.fl2 .page-numbers.current, :is(.fl2.woocommerce, .fl2 .woocommerce) nav.woocommerce-pagination ul li span.current { background: var(--fl-green); border-color: var(--fl-green); color: #fff; }

/* ---------- Footer ---------- */
.fl-footer { margin-top: clamp(30px, 5vw, 60px); background: var(--fl-ink); color: #c9d3cd; font-size: 14px; }
.fl-footer a { color: #fff; text-decoration: none; }
.fl-footer a:hover { color: #9fe0b8; }
.fl-reassure { background: #fff; color: var(--fl-ink); border-bottom: 1px solid var(--fl-line); }
.fl-reassure .fl-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 26px; }
.fl-reassure .fl-container > div { display: flex; gap: 12px; align-items: flex-start; }
.fl-reassure .fl-icon { color: var(--fl-green); }
.fl-reassure p { margin: 0; display: grid; font-size: 13px; color: var(--fl-muted); line-height: 1.4; }
.fl-reassure strong { font-size: 15px; color: var(--fl-ink); }
.fl-footer-main { padding-block: 44px 30px; }
.fl-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 36px; }
.fl-footer-about img { max-height: 60px; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--fl-radius-sm); }
.fl-footer-about .fl-brand-text { color: #fff !important; }
.fl-footer-about p { margin: 16px 0; max-width: 360px; }
.fl-footer-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fl-footer-contacts a { display: inline-flex; align-items: center; gap: 8px; }
.fl-footer-contacts .fl-icon { color: #6fd39a; }
.fl-footer-col .widget-wrapper { background: none; border: 0; padding: 0; color: #c9d3cd; }
.fl-footer-col .widget-title, .fl-footer-col h2, .fl-footer-col h3, .fl-footer-col h4 { color: #fff; font-size: 18px; }
.fl-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.fl-footer-newsletter { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.fl-legal { background: #141a17; font-size: 13px; }
.fl-legal-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px; }
.fl-legal p { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.fl-legal-menu { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.fl-bottom-bar { display: none; }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1199px) {
  .fl-topbar-claims span:nth-child(n + 3) { display: none; }
  .fl-account span { display: none; }
  .fl-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  :root { --fl-header-h: 130px; }
  .fl-topbar-contacts { display: none !important; }
  .fl-topbar-inner { justify-content: center; min-height: 32px; font-size: 12px; }
  .fl-topbar-claims span:nth-child(n + 2) { display: none; }
  .fl-header-main { grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo actions" "search search search"; gap: 10px 12px; padding-block: 10px; }
  .fl-burger { grid-area: burger; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--fl-radius-sm); background: var(--fl-green-soft); color: var(--fl-green-dark); }
  .fl-logo { grid-area: logo; justify-self: center; }
  .fl-logo img { max-height: 46px; }
  .fl-header.is-compact .fl-logo img { max-height: 38px; }
  .fl-actions { grid-area: actions; gap: 6px; }
  .fl-account { display: none; }
  .fl-cart { border: 0; padding-left: 0; }
  .fl-cart-label { display: none; }
  .fl-header-search { grid-area: search; }
  .fl-header.is-compact .fl-header-main { padding-block: 6px; }
  .fl-search form { height: 46px; }
  .fl-nav { display: none; }
  .fl-drawer { position: fixed; inset: 0 auto 0 0; z-index: 200; display: block; width: min(400px, 90vw); height: 100dvh; overflow-y: auto; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); background: #fff; transform: translateX(-105%); visibility: hidden; transition: transform 0.2s ease, visibility 0.2s; }
  .fl-drawer.is-open { transform: none; visibility: visible; }
  .fl-drawer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--fl-green); color: #fff; }
  .fl-drawer-head strong { font-family: var(--fl-display); font-size: 22px; }
  .fl-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--fl-radius-sm); background: rgba(255, 255, 255, 0.15); color: #fff; }
  .fl-drawer-account { display: flex; align-items: center; gap: 10px; margin: 14px 16px 6px; padding: 12px 14px; border-radius: var(--fl-radius-sm); background: var(--fl-green-soft); color: var(--fl-green-dark) !important; font-weight: 700; text-decoration: none !important; }
  .fl-drawer-menu, .fl-drawer-menu ul { list-style: none; margin: 0; padding: 0; }
  .fl-drawer-menu { padding: 6px 0; }
  .fl-drawer-menu a, .fl-drawer-menu summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 8px 18px; color: var(--fl-ink) !important; font-size: 16px; font-weight: 600; text-decoration: none !important; border-bottom: 1px solid #f0f2ef; cursor: pointer; list-style: none; }
  .fl-drawer-menu summary::-webkit-details-marker { display: none; }
  .fl-drawer-menu summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; margin-left: 12px; }
  .fl-drawer-menu details[open] > summary { background: var(--fl-green-soft); color: var(--fl-green-dark) !important; }
  .fl-drawer-menu details[open] > summary::after { transform: rotate(-135deg); }
  .fl-drawer-menu ul a, .fl-drawer-menu ul summary { padding-left: 32px; font-weight: 500; font-size: 15px; }
  .fl-drawer-menu ul ul a { padding-left: 46px; }
  .fl-drawer-all { color: var(--fl-green) !important; font-weight: 700 !important; }
  .fl-drawer-menu a[aria-current] { color: var(--fl-green) !important; }
  .fl-drawer-notices { display: grid; gap: 8px; padding: 14px 16px; }
  .fl-drawer-notice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--fl-radius-sm); text-decoration: none !important; font-weight: 700; }
  .fl-drawer-notice span { display: grid; }
  .fl-drawer-notice small { font-weight: 400; opacity: 0.9; }
  .fl-drawer-contacts { display: grid; gap: 4px; margin: 6px 16px 0; padding: 14px; border-radius: var(--fl-radius-sm); background: var(--fl-bg); }
  .fl-drawer-contacts p { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font-weight: 600; }
  .fl-drawer-contacts a { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--fl-ink) !important; text-decoration: none !important; }
  .fl-drawer-contacts .fl-icon { color: var(--fl-green); }
  .fl-reassure .fl-container { grid-template-columns: 1fr 1fr; }

  /* Native bottom bar (replaces the WP Bottom Menu plugin) */
  body.fl2 { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .fl-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -1px 0 var(--fl-line), 0 -8px 24px rgba(28, 36, 32, 0.08); }
  .fl-bottom-bar > a, .fl-bottom-bar > button { display: grid; justify-items: center; align-content: center; gap: 2px; height: 62px; border: 0; background: none; color: var(--fl-muted) !important; font-size: 11px; font-weight: 600; text-decoration: none !important; cursor: pointer; }
  .fl-bottom-bar [aria-current] { color: var(--fl-green) !important; }
  .fl-bottom-bar [aria-current]::before { content: ""; position: absolute; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--fl-green); }
  .fl-bottom-bar > * { position: relative; }
  .fl-bottom-cart { position: relative; display: inline-flex; }
  .fl-bottom-count { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--fl-red); color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
  .fl-bottom-count:empty, .fl-bottom-count:is(:empty) { display: none; }
}
@media (max-width: 782px) {
  .admin-bar .fl-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .fl-header { top: 0; }
  :is(.fl2.woocommerce, .fl2 .woocommerce) ul.products, .fl2 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fl2 ul.products li.product { padding: 10px; }
  .fl2 ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; }
  .fl2 ul.products li.product .price { font-size: 17px !important; }
  .fl2 ul.products li.product .button { font-size: 13px; padding: 8px 10px; min-height: 42px; }
  .fl-footer-grid { grid-template-columns: 1fr; }
  .fl-reassure .fl-container { grid-template-columns: 1fr; gap: 14px; }
  .fl-search input[type="search"] { padding-left: 16px; font-size: 16px; }
  .fl-search-results { position: fixed; top: auto; left: 8px; right: 8px; max-height: 65vh; }
  .fl-search-results a { grid-template-columns: 48px minmax(0, 1fr); }
  .fl-sr-thumb { width: 48px; height: 48px; }
  .fl-sr-item .fl-sr-meta { grid-column: 2; text-align: left; margin-top: -8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
