/* CMS additions to style.css (kept separate so the original theme file stays untouched). */
.blog-chip { display: inline-block; text-decoration: none; }
.blog-chip[aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.blog-pager { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 3rem; color: var(--text-2); font-size: var(--fs-sm); }
.post-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.post-tags a { color: var(--text-2); font-size: var(--fs-sm); }
.post-hero .eyebrow a { color: inherit; text-decoration: none; }
.footer-social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.gtm-ns { display: none; visibility: hidden; }

/* Cookie consent (only shown when "Ask for consent" is on in Settings → Analytics) */
.cc-consent { position: fixed; inset: auto 1rem 1rem 1rem; z-index: 90; max-width: 34rem; margin-left: auto; padding: 1.25rem 1.4rem; border-radius: 1rem; background: #141210; color: #f4efe6; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.35); font-size: .92rem; line-height: 1.5; }
.cc-consent p { margin: 0 0 .9rem; }
.cc-consent a { color: inherit; }
.cc-consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cc-consent button { font: inherit; font-weight: 650; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: inherit; cursor: pointer; }
.cc-consent button[data-consent="accept"] { background: #d8b46a; border-color: #d8b46a; color: #141210; }
/* Floating WhatsApp and call buttons */
.cc-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; gap: 12px; justify-items: end; }
.cc-float-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .2s ease, box-shadow .2s ease; }
.cc-float-btn .ic { width: 28px; height: 28px; }
.cc-float-btn:hover, .cc-float-btn:focus-visible { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.cc-float-wa { background: #1fa855; }
.cc-float-wa::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(31,168,85,.55); animation: cc-ring 2.4s ease-out infinite; }
.cc-float-call { background: var(--gold, #b8894f); color: #0b0906; }
.cc-float-label { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #141210; color: #f4efe6; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.cc-float-btn:hover .cc-float-label, .cc-float-btn:focus-visible .cc-float-label { opacity: 1; }
@keyframes cc-ring { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cc-float-wa::after { animation: none; } }
@media (max-width: 600px) { .cc-float { right: 14px; bottom: 14px; gap: 10px; } .cc-float-btn { width: 50px; height: 50px; } .cc-float-btn .ic { width: 25px; height: 25px; } }
@media print { .cc-float { display: none; } }
/* Hero quick contact and mid-page CTA strip */
.lp-contact--hero { margin-top: var(--s-5, 1.5rem); }
.cc-strip { padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); background: linear-gradient(120deg, rgba(184,137,79,.14), rgba(184,137,79,.04)); border-block: 1px solid var(--line, rgba(255,255,255,.1)); }
.cc-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; }
.cc-strip-copy .eyebrow { margin: 0 0 .35rem; }
.cc-strip-title { margin: 0; font-family: var(--serif, Georgia, serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; max-width: 30ch; }
.cc-strip-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cc-strip-actions .btn .ic { width: 18px; height: 18px; }
/* Product pages on phones already have a sticky call bar: keep only WhatsApp, above the bar */
@media (max-width: 760px) {
  body:has(.lp-sticky) .cc-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
  body:has(.lp-sticky) .cc-float-call { display: none; }
}
/* Client logos: single-colour marks that follow the section tone (white on dark, ink on light) */
.client-grid--logos { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 700px) { .client-grid--logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .client-grid--logos { grid-template-columns: repeat(6, 1fr); } }
.client-grid--logos .client { min-height: 118px; padding: clamp(1rem, .6rem + 1.4vw, 1.9rem); }
.client-grid--logos .client img { width: auto; height: auto; max-width: 100%; max-height: 54px; object-fit: contain; }
@media (max-width: 699px) { .client-grid--logos .client { min-height: 84px; padding: .9rem; } .client-grid--logos .client img { max-height: 38px; } }

/* Floating contact stack: always-visible labels on desktop, chat launcher on top */
.cc-float { z-index: 85; }
.cc-float-btn { width: 60px; height: 60px; border: 0; cursor: pointer; font: inherit; }
.cc-float-btn .ic { width: 30px; height: 30px; }
.cc-float-wa { box-shadow: 0 10px 30px rgba(31,168,85,.45); }
.cc-float-call { background: linear-gradient(135deg, #e6c27d, #b8894f); }
.cc-float-chat { background: #141210; color: #e6c27d; border: 1.5px solid rgba(230,194,125,.55); }
.cc-float-chat::before { content: ''; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #1fa855; border: 2px solid #141210; }
.cc-float-label { font-size: 13.5px; padding: 7px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); }
@media (min-width: 901px) {
  .cc-float-wa .cc-float-label { opacity: 1; background: #1fa855; color: #fff; }
}
html.cc-chat-open .cc-float-chat { background: #e6c27d; color: #141210; }
html.cc-chat-open .cc-float-label { opacity: 0 !important; }
/* Chat panel */
.cc-chat { position: fixed; right: 92px; bottom: 18px; z-index: 95; width: min(380px, calc(100vw - 110px)); height: min(560px, calc(100vh - 36px)); display: flex; flex-direction: column; background: #12100d; color: #f4efe6; border: 1px solid rgba(230,194,125,.28); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; font-size: 15px; line-height: 1.45; animation: cc-pop .22s ease-out; }
.cc-chat[hidden] { display: none; }
@keyframes cc-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.cc-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, rgba(230,194,125,.18), rgba(230,194,125,.04)); border-bottom: 1px solid rgba(230,194,125,.2); }
.cc-chat-head div { flex: 1; min-width: 0; display: grid; }
.cc-chat-head small { color: #b9b0a2; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.cc-chat-head small i { width: 8px; height: 8px; border-radius: 50%; background: #1fa855; }
.cc-chat-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e6c27d, #b8894f); color: #141210; font-weight: 800; font-size: 13px; }
.cc-chat-x { border: 0; background: rgba(255,255,255,.06); color: inherit; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.cc-chat-x:hover { background: rgba(255,255,255,.14); }
.cc-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cc-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; }
.cc-msg p { margin: 0; white-space: pre-line; }
.cc-msg.bot { align-self: flex-start; background: #1f1b16; border: 1px solid rgba(255,255,255,.06); border-bottom-left-radius: 5px; }
.cc-msg.me { align-self: flex-end; background: linear-gradient(135deg, #e6c27d, #c99c5c); color: #141210; border-bottom-right-radius: 5px; font-weight: 500; }
.cc-msg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.cc-msg-links a { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(230,194,125,.14); color: #e6c27d; text-decoration: none; border: 1px solid rgba(230,194,125,.3); }
.cc-msg-links a:hover { background: #e6c27d; color: #141210; }
.cc-msg-links a[href*="wa.me"] { background: rgba(31,168,85,.16); color: #5fd38d; border-color: rgba(31,168,85,.4); }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-chips button { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #f4efe6; cursor: pointer; }
.cc-chips button:hover { border-color: #e6c27d; color: #e6c27d; }
.cc-typing { display: flex; gap: 4px; padding: 13px 14px; }
.cc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9b0a2; animation: cc-dot 1s infinite ease-in-out; }
.cc-typing span:nth-child(2) { animation-delay: .15s; } .cc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cc-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cc-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.08); background: #0e0c0a; }
.cc-chat-form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: #1a1713; color: inherit; font: inherit; font-size: 16px; }
.cc-chat-form input:focus { outline: none; border-color: #e6c27d; }
.cc-chat-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: linear-gradient(135deg, #e6c27d, #b8894f); color: #141210; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 600px) {
  .cc-float-btn { width: 54px; height: 54px; }
  .cc-chat { inset: auto 0 0 0; width: 100%; height: min(78vh, 600px); border-radius: 20px 20px 0 0; }
  html.cc-chat-open .cc-float { display: none; }
}
@media print { .cc-chat { display: none; } }
.cc-msg-q { display: block; margin-bottom: 4px; color: #e6c27d; font-weight: 650; }
/* reCAPTCHA v3: badge hidden (it would sit under the floating buttons); the required notice is shown under each form instead */
.grecaptcha-badge { visibility: hidden !important; }
.cc-recaptcha-note { margin: .75rem 0 0; font-size: 12px; color: var(--text-2, #888); }
.cc-recaptcha-note a { color: inherit; }
/* Footer: long product list in two columns so the footer stays level */
.footer-col.is-long ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6, 1.5rem); }
@media (max-width: 799px) { .footer-col.is-long { grid-column: 1 / -1; } }
@media (min-width: 800px) { .footer-nav:has(.footer-col.is-long) { grid-template-columns: 1.1fr 2.1fr 0.8fr 1fr; } }
@media (min-width: 1100px) { .footer-top:has(.footer-col.is-long) { grid-template-columns: 3fr 9fr; } }
