/*
Theme Name: Balakan Çiçek
Theme URI: https://www.balakancicek.com
Author: Balakan Çiçek
Description: Balakan Çiçek için hafif, B2B odaklı özel tema. WooCommerce ve WhatsApp teklif sistemi uyumlu.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: balakan
*/

/* ---------- Tokens ---------- */
:root {
  --paper: #F4F6F1;
  --surface: #FFFFFF;
  --ivy: #1F3A2E;
  --ivy-2: #2E5443;
  --sage: #8FA68E;
  --sage-soft: #E3EADF;
  --petal: #E9C9C3;
  --petal-soft: #F7EAE6;
  --ink: #18211C;
  --muted: #56635B;
  --line: #DCE3D8;
  --wa: #1E8E5A;

  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 999px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gap: clamp(14px, 2vw, 22px);
  --pad: clamp(20px, 4vw, 48px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ivy-2); text-underline-offset: 3px; }
a:hover { color: var(--ivy); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--ivy); color: #fff; padding: 10px 16px; border-radius: var(--r-md); }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-head { max-width: 62ch; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.4em; border-radius: var(--r-pill);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--ivy); color: #fff; }
.btn-primary:hover { background: var(--ivy-2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17764b; color: #fff; }
.btn-ghost { border-color: var(--ivy); color: var(--ivy); background: transparent; }
.btn-ghost:hover { background: var(--ivy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.topbar { background: var(--ivy); color: #dfe8de; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,246,241,.88); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivy); }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--ivy); display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--sage-soft); color: var(--ivy); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ivy); margin: 4px auto; transition: transform .2s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 100% 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; padding: 12px var(--pad) 20px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-cta .btn-wa span { display: none; }
  .header-cta .btn-wa { padding: .8em; }
}

/* ---------- Hero (bento) ---------- */
.hero { padding-top: clamp(20px, 3vw, 32px); }
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(12, 1fr); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; }
.hero-main { grid-column: span 7; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; min-height: 520px; }
.hero-main h1 { max-width: 14ch; }
.hero-main .lead { margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { grid-column: span 5; border-radius: var(--r-xl); background: var(--ivy); border: 0; padding: 0; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; color: #e8efe6; }
.hero-art .vine { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .vine path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-linecap: round; }
.hero-art .vine .leaf { fill: #3f6b55; stroke: none; }
.hero-art .vine .bloom { fill: var(--petal); stroke: none; }
.hero-art .since { position: relative; padding: clamp(24px, 3vw, 36px); }
.hero-art .since strong { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 9vw, 7rem); line-height: .9; color: #fff; display: block; }
.hero-art .since span { font-size: 1.02rem; color: #cddbcc; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.fact .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sage-soft); display: grid; place-items: center; color: var(--ivy); }
.fact .ico svg { width: 22px; height: 22px; }
.fact b { display: block; color: var(--ivy); font-size: 1.02rem; }
.fact small { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art .vine .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s .2s ease-out forwards; }
  .hero-art .vine .leaf, .hero-art .vine .bloom { opacity: 0; animation: pop .6s ease-out forwards; animation-delay: calc(1s + var(--d, 0s)); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

@media (max-width: 980px) {
  .hero-main, .hero-art { grid-column: 1 / -1; min-height: 0; }
  .hero-art { min-height: 340px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: border-color .2s; }
.cat-card:hover { border-color: var(--sage); }
.cat-media { aspect-ratio: 4 / 3; background: var(--sage-soft); display: grid; place-items: center; overflow: hidden; }
.cat-card:nth-child(2) .cat-media { background: var(--petal-soft); }
.cat-card:nth-child(3) .cat-media { background: #ECE8F1; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-media svg { width: 58%; height: auto; color: var(--ivy); }
.cat-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-body h3 { margin: 0; }
.cat-body p { color: var(--muted); margin: 0 0 12px; font-size: .98rem; }
.cat-body .more { margin-top: auto; font-weight: 700; color: var(--ivy); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } .cat-media { aspect-ratio: 16 / 9; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 2.6rem; color: var(--sage); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Audience split ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: stretch; }
.panel-ivy { background: var(--ivy); color: #dfe8de; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.panel-ivy h2 { color: #fff; }
.panel-ivy p { color: #cddbcc; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.chip-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.chip-card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.chip-card p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .chips { grid-template-columns: 1fr; } }

/* ---------- Quote form ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); }
.quote-aside ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.quote-aside li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.quote-aside li svg { width: 20px; height: 20px; color: var(--wa); flex: none; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ivy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--ivy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--sage); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 10; background: var(--sage-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card h3 a { color: var(--ivy); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.post-card time { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Page / article ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.page-hero .lead { margin-top: .4em; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 64px); }
.prose > * { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r-lg); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-radius: var(--r-lg); background: var(--sage-soft); font-family: var(--serif); font-size: 1.25rem; color: var(--ivy); }
.article-meta { color: var(--muted); font-size: .92rem; }

/* About & contact layouts (used inside page content) */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.about-grid > .tile { grid-column: span 4; }
.about-grid > .tile.wide { grid-column: span 8; }
.about-grid > .tile.full { grid-column: 1 / -1; }
.about-grid > .tile.ivy { background: var(--ivy); color: #dfe8de; border: 0; }
.about-grid > .tile.ivy h2, .about-grid > .tile.ivy h3 { color: #fff; }
.about-grid > .tile.petal { background: var(--petal-soft); border-color: #efd9d3; }
.about-grid .big { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--ivy); display: block; margin-bottom: 6px; }
.about-grid .tile.ivy .big { color: #fff; }
.about-grid .tile p:last-child { margin-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 14px; }
.timeline b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ivy); }
.contact-card { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-soft); display: grid; place-items: center; flex: none; color: var(--ivy); }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: .2em; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 700; }
.map-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--sage-soft); min-height: 380px; display: grid; place-items: center; color: var(--muted); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 900px) { .about-grid > .tile, .about-grid > .tile.wide { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ivy); color: #cddbcc; margin-top: clamp(48px, 7vw, 96px); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.site-footer .wrap { padding-block: clamp(40px, 6vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-mark { background: #2E5443; }
.site-footer .brand-name small { color: #b5c7b4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 20px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(30,142,90,.7); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #17764b; }

/* ---------- WooCommerce ---------- */
.shop-layout { padding-bottom: 20px; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .92rem; margin: 0 0 20px; }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select { font: inherit; padding: 10px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 0 0 32px !important; padding: 0; list-style: none; }
.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;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; padding: 0 0 18px !important;
}
.woocommerce ul.products li.product a img { margin: 0 0 14px !important; aspect-ratio: 1 / 1; object-fit: cover; background: var(--sage-soft); border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-weight: 500; font-size: 1.15rem !important; color: var(--ivy); padding: 0 18px !important; }
.woocommerce ul.products li.product .bl-loop-meta { padding: 0 18px; color: var(--muted); font-size: .86rem; margin-top: -4px; }
.woocommerce ul.products li.product .bl-quote-btn { margin: 12px 18px 0; justify-content: center; font-size: .92rem; padding: .7em 1em; }
.woocommerce ul.products li.product.product-category { padding-bottom: 0 !important; }
.woocommerce ul.products li.product.product-category h2 { font-family: var(--serif); font-weight: 500; color: var(--ivy); padding: 0 18px 18px !important; font-size: 1.25rem; }
.woocommerce ul.products li.product.product-category mark { background: none; color: var(--muted); font-size: .9rem; }
@media (max-width: 1100px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .woocommerce ul.products li.product .bl-quote-btn span { display: none; } }

.shop-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-cats a { padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.shop-cats a.is-active, .shop-cats a:hover { border-color: var(--ivy); background: var(--ivy); color: #fff; }

.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 14px; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 10px; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 1.05rem; }
.woocommerce div.product .product_meta { font-size: .9rem; color: var(--muted); display: grid; gap: 4px; margin-top: 18px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 16px; display: flex; gap: 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1.5px solid var(--line) !important; border-radius: var(--r-pill) !important; background: var(--surface) !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px !important; font-weight: 700; color: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ivy) !important; border-color: var(--ivy) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); }
.woocommerce div.product .related > h2 { margin-top: 1em; }
@media (max-width: 900px) { .woocommerce div.product { grid-template-columns: 1fr; } }

.bl-quote-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin: 22px 0; }
.bl-quote-box h2 { font-size: 1.35rem; margin-bottom: .2em; }
.bl-quote-box > p { color: var(--muted); font-size: .95rem; }
.bl-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bl-trust li { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.bl-trust svg { width: 18px; height: 18px; color: var(--ivy-2); flex: none; }

.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: var(--r-lg); border-top: 0 !important; background: var(--surface) !important; border: 1px solid var(--line) !important; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 12px; min-width: 42px; padding: 10px !important; background: var(--surface); border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ivy); color: #fff; }

.empty-state { background: var(--surface); border: 1px dashed var(--sage); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); text-align: center; }
.empty-state p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

.pagination .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--ivy); color: #fff; }

/* ---------- Fixes ---------- */
.topbar svg { width: 16px; height: 16px; flex: none; }
.btn, .main-nav a, .brand-name small { white-space: nowrap; }
.prose table { width: 100%; max-width: 72ch; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 1.4em 0; font-size: .96rem; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--sage-soft); color: var(--ivy); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
@media (max-width: 1180px) and (min-width: 981px) { .main-nav a { padding: 10px 10px; font-size: .92rem; } }

/* ---------- Footer v2 ---------- */
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer-brand { max-width: 560px; }
.footer-brand p { margin: 0; color: #b9cab8; font-size: .95rem; }
.site-footer .footer-grid { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.site-footer h3 { font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: #fff; margin: 0 0 14px; }
.site-footer ul.footer-links { gap: 0; }
.footer-links li { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links li:last-child { border-bottom: 0; }
.footer-links a { display: block; padding: 11px 0; color: #e4ece3; font-size: .95rem; line-height: 1.45; }
.footer-links a:hover { color: #fff; text-decoration: none; padding-left: 4px; transition: padding .15s; }
.footer-contact { margin: 0; display: grid; gap: 0; }
.footer-contact > div { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-contact > div:last-child { border-bottom: 0; }
.footer-contact dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: #9fb59e; margin-bottom: 3px; }
.footer-contact dd { margin: 0; color: #fff; font-size: .95rem; line-height: 1.5; word-break: break-word; }
@media (max-width: 1000px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
