/* ==========================================================================
   ANIKUSHA — theme.css
   Pixel-precise reproduction of the design handoff (docs/design/mockup.html).
   Sections: 1 Tokens · 2 Base/reset · 3 Shared components · 4 Header · 5 Footer
             6 Home · 7 Collections · 8 Detail · 9 About · 10 Contact · 11 Responsive
   ========================================================================== */

/* -------------------------------------------------- 1. Tokens */
:root {
  --c-bg: #fff;
  --c-text: #111;
  --c-text-2: #333;
  --c-muted: #999;
  --c-footer: #888;
  --c-hairline: #ececec;
  --c-hairline-soft: #f0efeb;
  --c-ph-a: #f4f2ee;
  --c-ph-b: #ece9e3;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-logo: "Oswald", sans-serif;
  --wrap-pad: 56px;
}

/* -------------------------------------------------- 2. Base / reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-osx-font-smoothing: grayscale;
  /* Sticky footer: main takes the slack so .site-footer never floats
     mid-screen on short pages (contact, empty archives). */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body > main { flex: 1 0 auto; }
body > header,
body > #mobile-menu,
body > .site-footer { flex-shrink: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a {
  color: var(--c-text);
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease, background .3s ease;
}
a:hover { opacity: .5; }
button { font-family: inherit; }

/* -------------------------------------------------- 3. Shared components */

/* Image zoom-on-hover (clipped) */
.wclip { overflow: hidden; display: block; }
.wimg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.19, .6, .28, 1);
}
.wclip:hover .wimg,
a:hover .wimg { transform: scale(1.045); }
/* Keep opacity fade off elements that own a zooming image or their own hover */
a:has(.wimg):hover,
.main-nav a:hover,
.btn:hover,
.ulink:hover { opacity: 1; }

/* Outline button (ENQUIRE / SEND) */
.btn {
  display: inline-block;
  border: 1px solid var(--c-text);
  color: var(--c-text);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 15px 44px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--c-text); color: #fff; }

/* Underlined text link with left-origin line reveal */
.ulink {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.ulink:hover::after { transform: scaleX(1); }

/* Striped photo placeholder */
.ph {
  background: repeating-linear-gradient(45deg, var(--c-ph-a), var(--c-ph-a) 12px, var(--c-ph-b) 12px, var(--c-ph-b) 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 11px ui-monospace, Menlo, monospace;
  color: var(--c-muted);
  text-align: center;
}

/* Screen-reader-only (accessible headings without visual change) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Visibility helpers for the two header/footer variants */
.only-mobile { display: none; }
.only-desktop { display: block; }

/* -------------------------------------------------- 4. Header */
.site-header {
  position: relative;
  padding: 52px 40px 0;
  text-align: center;
}
/* SVG lockup — contains both the wordmark and the SOUL IN FORM tagline. */
.brand__logo { display: inline-block; line-height: 0; }
.brand__logo img { display: block; width: 218px; height: auto; }
a.brand__logo:hover { opacity: .5; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 52px;
  margin-top: 44px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.main-nav a {
  position: relative;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color .25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.is-active { border-bottom: 1px solid var(--c-text); }

/* Language switcher */
.lang-switch {
  position: absolute;
  top: 34px;
  right: 40px;
  font-size: 11px;
  letter-spacing: 2px;
  display: flex;
  gap: 0;
  align-items: center;
}
.lang-switch a,
.lang-switch span { color: var(--c-muted); }
.lang-switch .current-lang,
.lang-switch .current_lang a,
.lang-switch li.current-lang a { color: var(--c-text); font-weight: 700; }
.lang-switch ul { list-style: none; margin: 0; padding: 0; display: flex; }
.lang-switch li { position: relative; padding: 0 8px; }
.lang-switch li + li::before {
  content: "/";
  position: absolute;
  left: -2px;
  color: #ccc;
}
.lang-switch a:hover { opacity: .5; }
/* Static fallback (no Polylang) */
.lang-switch--static .sep { color: #ccc; padding: 0 4px; }
.lang-switch--static .active { color: var(--c-text); font-weight: 700; }
.lang-switch--static .inactive { color: var(--c-muted); }

/* Mobile header */
.site-header--mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span { height: 1px; width: 100%; background: var(--c-text); display: block; }
.site-header--mobile .brand { text-align: center; }
.site-header--mobile .brand__logo img { width: 130px; }
.mobile-lang { font-size: 10px; letter-spacing: 1px; width: 22px; text-align: right; font-weight: 700; }

/* Mobile slide-down menu */
#mobile-menu { display: none; }
#mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 28px 20px 32px;
  border-bottom: 1px solid var(--c-hairline);
}
/* column flex defaults to align-items:stretch, which left-aligns the links —
   centre them explicitly. */
#mobile-menu .main-nav { align-items: center; }
#mobile-menu a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-right: -3px; /* trailing gap again — keeps the column truly centred */
  text-transform: uppercase;
}

/* -------------------------------------------------- 5. Footer */
.site-footer {
  /* equal side columns → middle item sits dead-centre in the viewport,
     lining up with the centred .home__cta above it */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--c-hairline);
  padding: 26px 56px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--c-footer);
}
.site-footer > :first-child { justify-self: start; }
.site-footer > :nth-child(2) { margin-right: -2px; } /* same trailing-letter-space trim */
.site-footer > :last-child { justify-self: end; }
.site-footer a { color: var(--c-text); }
.site-footer a:hover { opacity: .5; }
.site-footer__mobile { display: none; }

/* -------------------------------------------------- 6. Home mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.29fr 1fr 1.83fr 1.83fr;
  grid-template-rows: 360px 262px;
  gap: 16px;
  padding: 44px 56px 0;
}
.mosaic > * { overflow: hidden; }
.mosaic > :nth-child(1) { grid-column: 1; grid-row: 1; }
.mosaic > :nth-child(2) { grid-column: 2; grid-row: 1; }
.mosaic > :nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
.mosaic > :nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
.mosaic > :nth-child(5) { grid-column: 4; grid-row: 1 / span 2; }
.mosaic .wimg { width: 100%; height: 100%; }

.home__cta { text-align: center; padding: 48px 0 56px; }
.home__cta .ulink {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-right: -3px; /* drop the trailing letter-space so the text is optically centred */
  text-transform: uppercase;
}

/* -------------------------------------------------- 7. Collections catalog */
.filters {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 56px;
  font-size: 11px;
  letter-spacing: 2px;
}
.filters__item {
  border: 0;
  background: none;
  padding: 0 0 3px;
  color: var(--c-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .25s ease;
}
.filters__item:hover { color: var(--c-text); }
.filters__item.is-active {
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-text);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  padding: 44px 56px 64px;
}
.work-card { display: flex; flex-direction: column; gap: 12px; }
.work-card__image { height: 420px; overflow: hidden; }
.work-card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.work-card__meta {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--c-muted);
  margin-top: -6px;
}

/* -------------------------------------------------- 8. Sculpture detail */
.breadcrumb {
  padding: 44px 56px 0;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--c-muted);
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { opacity: .5; }
.breadcrumb__sep { margin: 0 6px; }
.breadcrumb__current { color: var(--c-text); }

.detail {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  padding: 24px 56px 64px;
  align-items: start;
  align-content: start; /* same reason as .contact — it is <main> */
}
.detail__gallery { display: flex; flex-direction: column; gap: 14px; }
.detail__main { height: 760px; }
.detail__thumbs { display: flex; gap: 14px; }
.detail__thumbs img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  opacity: .7;
  cursor: pointer;
  transition: opacity .25s ease;
}
.detail__thumbs img.is-active {
  opacity: 1;
  outline: 1px solid var(--c-text);
  outline-offset: -1px;
}

.detail__info { padding-top: 12px; }
.detail__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin: 0;
}
.detail__sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--c-muted);
  margin-top: 10px;
}
.detail__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-2);
  margin: 32px 0 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.detail__desc p { margin: 0 0 1em; }

.spec {
  margin-top: 44px;
  border-top: 1px solid var(--c-hairline-soft);
}
.spec__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-hairline-soft);
  font-size: 12px;
}
.spec__label { letter-spacing: 2px; color: var(--c-muted); }
.spec__value { color: var(--c-text); text-align: right; }

.detail__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}
.detail__note { font-size: 11px; letter-spacing: 1px; color: var(--c-muted); }

/* -------------------------------------------------- 9. About */
.about__statement {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 40px 0;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 1.6;
  text-wrap: pretty;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 72px 96px;
  align-items: center;
}
.about__photo { height: 560px; }
.about__label { font-size: 11px; letter-spacing: 3px; color: var(--c-muted); }
.about__p,
.about__p p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-2);
  text-wrap: pretty;
}
.about__p p { margin: 0; }
.about__p p + p { margin-top: 18px; }
.about__p:first-of-type { margin-top: 24px; }
.about__p + .about__p { margin-top: 18px; }
.stats { display: flex; gap: 48px; margin-top: 40px; }
.stat__num { font-family: var(--font-body); font-weight: 500; font-size: 23px; }
.stat__label { font-size: 10px; letter-spacing: 2px; color: var(--c-muted); margin-top: 4px; }
.about__process {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 0 96px 72px;
}
.about__process-item { height: 220px; }

/* -------------------------------------------------- 10. Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 80px 120px 88px;
  align-items: start;
  /* this grid IS <main>, which the sticky-footer rule grows — keep the rows
     packed at the top instead of stretching them over the spare height */
  align-content: start;
}
.contact__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
}
.contact__lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-2);
  max-width: 40ch;
  margin: 24px 0 0;
  text-wrap: pretty;
}
.contact__lead p { margin: 0; font-size: inherit; line-height: inherit; }
.contact__lead p + p { margin-top: 14px; }
/* "Enquiry about SONIAKH" notice above the contact form */
.contact__about-work {
  border-bottom: 1px solid var(--c-hairline-soft);
  padding-bottom: 18px;
  margin-bottom: 26px;
}
.contact__about-work-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--c-muted);
}
.contact__about-work-name {
  display: inline-block;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.contact__list { margin-top: 48px; display: flex; flex-direction: column; gap: 26px; }
.contact__label { font-size: 10px; letter-spacing: 2px; color: var(--c-muted); }
.contact__value {
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 1px;
  margin-top: 6px;
  display: inline-block;
}
a.contact__value:hover { opacity: .5; }

/* Contact Form 7 — styled as underline fields */
.contact__form .wpcf7-form { display: flex; flex-direction: column; gap: 22px; }
.cf7-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--c-text);
  background: transparent;
  font: inherit;
  color: var(--c-text);
  padding: 6px 0;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.contact__form input[type="text"],
.contact__form input[type="email"] { height: 34px; }
.contact__form textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.contact__form .cf7-field--message { margin-top: 0; }
.contact__form .wpcf7-form .btn,
.contact__form input[type="submit"] {
  align-self: flex-start;
  margin-top: 10px;
  padding: 15px 52px;
  border: 1px solid var(--c-text);
  background: transparent;
  color: var(--c-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  transition: background .3s ease, color .3s ease;
}
.contact__form .wpcf7-form .btn:hover,
.contact__form input[type="submit"]:hover { background: var(--c-text); color: #fff; }
.wpcf7-not-valid-tip { font-size: 11px; color: #b00; margin-top: 6px; }
.wpcf7-response-output {
  font-size: 12px;
  letter-spacing: .5px;
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
}

/* -------------------------------------------------- 11. Responsive (base breakpoint) */
@media (max-width: 768px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: block; }

  .site-header { display: none; }
  .site-header--mobile { display: flex; }

  /* Footer becomes a centered column */
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 22px 20px;
    font-size: 9px;
    text-align: center;
  }
  .site-footer > :first-child,
  .site-footer > :last-child { justify-self: center; }

  /* Home mosaic → stacked pattern: 420 full · 230 pair · 420 full · 210 full */
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 12px;
    padding: 12px 16px 0;
  }
  .mosaic > :nth-child(1) { grid-column: 1 / span 2; grid-row: auto; height: 420px; }
  .mosaic > :nth-child(2) { grid-column: 1; grid-row: auto; height: 230px; }
  .mosaic > :nth-child(3) { grid-column: 2; grid-row: auto; height: 230px; }
  .mosaic > :nth-child(4) { grid-column: 1 / span 2; grid-row: auto; height: 420px; }
  .mosaic > :nth-child(5) { grid-column: 1 / span 2; grid-row: auto; height: 210px; }

  .home__cta { padding: 36px 0 40px; }
  .home__cta .ulink { font-size: 10px; }

  /* Collections catalog → single column */
  .filters {
    gap: 22px 10px;
    margin-top: 22px;
    flex-wrap: wrap;
    padding: 0 16px;
    font-size: 10px;
  }
  .filters__item { font-size: 10px; }
  .catalog {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px 16px 44px;
  }
  .work-card__image { height: 380px; }

  /* Sculpture detail → stacked */
  .breadcrumb { padding: 14px 16px 0; font-size: 9px; }
  .detail {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 12px 16px 44px;
  }
  .detail__main { height: 440px; }
  .detail__thumbs img { width: 64px; height: 64px; }
  .detail__info { padding-top: 0; }
  .detail__title { font-size: 19px; letter-spacing: 5px; }
  .detail__desc { font-size: 13px; line-height: 1.7; margin-top: 20px; }
  .spec { margin-top: 28px; }
  .spec__row { padding: 12px 0; font-size: 11px; }
  .detail__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .detail__actions .btn { display: block; padding: 16px 0; text-align: center; }
  .detail__note { text-align: center; }

  /* About → stacked */
  .about__statement { font-size: 20px; letter-spacing: .5px; line-height: 1.65; padding: 40px 24px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px 44px; }
  .about__photo { height: 340px; }
  .about__p { font-size: 13px; line-height: 1.75; }
  .about__p:first-of-type { margin-top: 16px; }
  .about__p + .about__p { margin-top: 14px; }
  .stats { gap: 32px; margin-top: 30px; }
  .stat__num { font-size: 18px; }
  .stat__label { font-size: 9px; }
  /* Process strip omitted on mobile (matches mockup 1i) */
  .about__process { display: none; }

  /* Contact → stacked */
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px 44px;
  }
  .contact__heading { font-size: 19px; letter-spacing: 4px; }
  .contact__lead { font-size: 13px; line-height: 1.7; margin-top: 16px; }
  .contact__list { margin-top: 34px; gap: 20px; }
  .contact__value { font-size: 17px; }
  .contact__form .wpcf7-form .btn,
  .contact__form input[type="submit"] {
    align-self: stretch;
    width: 100%;
    padding: 16px 0;
    text-align: center;
  }
}

/* --------------------------------------------------
   9. Cookie Admin plugin
   The plugin writes colours as inline styles (from its admin settings) and
   ships an inline <style> with !important on the toggles — so the overrides
   below need !important to land. Everything is squared off, monochrome and
   set in the site's type scale.
   -------------------------------------------------- */

/* --- Consent banner --- */
.cookieadmin_consent_inside {
  background-color: var(--c-bg) !important;
  border: 1px solid var(--c-text) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 24px 22px !important;
  max-width: 420px;
  font-family: var(--font-body);
}

#cookieadmin_notice_title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 12px;
}

.cookieadmin_notice_con,
#cookieadmin_notice {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-2);
  margin: 0;
}
#cookieadmin_notice b { font-weight: 600; color: var(--c-text); }

/* --- Buttons: mirror the theme's .btn --- */
.cookieadmin_btn {
  font-family: var(--font-body);
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 12px 20px !important;
  border: 1px solid var(--c-text) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}

/* secondary — outlined, fills on hover. Accept All is the only filled
   button, so the primary action stays unambiguous. */
.cookieadmin_customize_btn,
.cookieadmin_reject_btn,
.cookieadmin_save_btn {
  background-color: transparent !important;
  color: var(--c-text) !important;
}
.cookieadmin_customize_btn:hover,
.cookieadmin_reject_btn:hover,
.cookieadmin_save_btn:hover {
  background-color: var(--c-text) !important;
  color: var(--c-bg) !important;
}

/* primary — filled, inverts on hover */
.cookieadmin_accept_btn {
  background-color: var(--c-text) !important;
  color: var(--c-bg) !important;
}
.cookieadmin_accept_btn:hover {
  background-color: transparent !important;
  color: var(--c-text) !important;
}

.cookieadmin_consent_btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* --- Floating re-open button ---
   The mockup uses no icons at all (the burger is three rules), so the cookie
   glyph is dropped for a typographic label in the site's own scale.
   Selector must be `button.…` to outrank the plugin's own !important rule. */
.cookieadmin_reconsent_img { display: none !important; }
body button.cookieadmin_re_consent {
  width: auto !important;
  height: auto !important;
  padding: 11px 14px !important;
  background-color: var(--c-bg) !important;
  border: 1px solid var(--c-text) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-body);
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--c-text) !important;
  line-height: 1 !important;
  transition: background-color .3s ease, color .3s ease;
}
body button.cookieadmin_re_consent::after { content: "Cookies"; }
body button.cookieadmin_re_consent:hover {
  background-color: var(--c-text) !important;
  color: var(--c-bg) !important;
}

/* --- Preferences modal --- */
.cookieadmin_cookie_modal {
  background-color: var(--c-bg) !important;
  border: 1px solid var(--c-text) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-body);
}
.cookieadmin_mod_head { border-bottom: 1px solid var(--c-hairline); }
/* The modal title is a <span>, not a heading. */
.cookieadmin_preference_title {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-text);
}
.cookieadmin_close_pref {
  background: transparent !important;
  border: 0 !important;
  color: var(--c-muted) !important;
  font-size: 14px !important;
  transition: color .25s ease;
}
.cookieadmin_close_pref:hover { color: var(--c-text) !important; }
.cookieadmin_types { border-bottom: 1px solid var(--c-hairline-soft); }
/* Category rows: the title lives in a bare <span> next to the toggle. */
.cookieadmin_header > span {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text);
}
.cookieadmin_desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-2);
}
.cookieadmin_modal_footer { border-top: 1px solid var(--c-hairline); }

/* links / "always active" label / show-more — plugin forces blue with !important */
.cookieadmin_remark,
.cookieadmin_showmore,
.cookieadmin_modal_footer_links a {
  color: var(--c-muted) !important;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cookieadmin_showmore:hover,
.cookieadmin_modal_footer_links a:hover { color: var(--c-text) !important; }

/* toggles — plugin sets grey/blue with !important */
body .cookieadmin_slider { background-color: var(--c-hairline) !important; border-radius: 0 !important; }
body input:checked + .cookieadmin_slider { background-color: var(--c-text) !important; }
body input:disabled + .cookieadmin_slider { background-color: var(--c-muted) !important; }
body .cookieadmin_slider:before { border-radius: 0 !important; }

.cookieadmin_modal_overlay { background-color: rgba(17, 17, 17, .5) !important; }

@media (max-width: 768px) {
  .cookieadmin_consent_inside { max-width: none; padding: 22px 18px 18px !important; }
  .cookieadmin_consent_btns { flex-direction: column; }
  .cookieadmin_btn { width: 100%; }
}
