/* ==========================================================================
   Iktara Boutique — main stylesheet
   Design system: ui-ux-pro-max "Luxury Serif" pairing (Cormorant + Montserrat),
   premium dark + gold palette with the dark mapped to the Iktara logo green.
   Spacing on a 4/8px scale. Breakpoints: 375 / 768 / 1024 / 1440.
   ========================================================================== */

/* Metric-matched fallbacks reduce layout shift while web fonts load */
/* size-adjust measured: Cormorant 600 is 88.9% of the width of Georgia Regular (what local() resolves to). */
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 88.9%; ascent-override: 104%; descent-override: 32%; }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 112%; ascent-override: 86%; descent-override: 22%; }

:root {
  /* Colour tokens */
  --c-bg: var(--ik-bg, #FAF8F4);            /* warm ivory page background */
  --c-surface: var(--ik-surface, #FFFFFF);       /* cards */
  --c-surface-2: var(--ik-sand, #F2EEE7);     /* muted bands */
  --c-ink: var(--ik-ink, #1C1917);           /* body text  (16.9:1 on bg) */
  --c-ink-2: var(--ik-ink-2, #4A4540);         /* secondary text (8.9:1 on bg) */
  --c-line: var(--ik-line, #E4DED4);          /* borders, dividers */
  --c-brand: var(--ik-brand, #0F3D33);         /* logo green: primary buttons, footer */
  --c-brand-hover: var(--ik-brand-hover, #0A2E26);
  --c-on-brand: #FFFFFF;      /* 12.4:1 on brand */
  --c-accent: var(--ik-accent, #9A5F0A);        /* gold: eyebrows, stars, small accents (4.9:1 on bg) */
  --c-mint: var(--ik-mint, #2ED3A2);          /* logo mint: decorative only, never text */
  --c-danger: #B42318;
  --c-success: #146C43;
  --c-focus: var(--ik-brand, #0F3D33);

  /* Type */
  --f-display: var(--ik-font-display, "Cormorant", "Cormorant Fallback", Georgia, serif);
  --f-body: var(--ik-font-body, "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif);
  --t-xs: 0.8125rem;   /* 13 */
  --t-sm: 0.875rem;    /* 14 */
  --t-base: 1rem;      /* 16 */
  --t-md: 1.125rem;    /* 18 */
  --t-lg: 1.375rem;    /* 22 */
  --t-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --t-2xl: clamp(2rem, 1.5rem + 1.9vw, 3rem);
  --t-3xl: clamp(2.6rem, 1.7rem + 3.9vw, 4.75rem);

  /* Space (4px scale) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section: clamp(56px, 3rem + 3.5vw, 96px);
  --gutter: clamp(16px, 2vw + 8px, 32px);
  --container: 1240px;
  --measure: 68ch;

  /* Shape & depth */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-pill: 999px;
  --r-arch: 999px 999px 12px 12px;
  --shadow-1: 0 1px 2px rgba(28,25,23,.06), 0 1px 1px rgba(28,25,23,.04);
  --shadow-2: 0 8px 24px rgba(28,25,23,.08);

  /* Motion */
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --d-fast: 150ms; --d-base: 220ms; --d-slow: 360ms;

  /* Layers */
  --z-header: 40; --z-drawer: 100; --z-float: 30;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-size: var(--t-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--f-display); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.01em; margin: 0 0 var(--s-4); color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p { margin: 0 0 var(--s-4); }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-7) 0; }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--c-brand); color: #fff; padding: 12px 16px; border-radius: var(--r-md); }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 3rem + 2vw, 72px); }
.section--muted { background: var(--c-surface-2); }
.section--brand { background: var(--c-brand); color: #E8F1EE; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand a:not(.btn) { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-body); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--brand .eyebrow { color: #E9C77B; }
.lede { font-size: var(--t-md); color: var(--c-ink-2); max-width: 60ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; }
.section-head .lede { margin: var(--s-2) 0 0; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, a.button, input[type=submit], .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill);
  border: 1px solid var(--c-brand); background: var(--c-brand); color: var(--c-on-brand);
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em;
  text-decoration: none; line-height: 1.2; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--d-fast) var(--ease-out), color var(--d-fast), border-color var(--d-fast), transform var(--d-fast);
}
.btn:hover, .button:hover, a.button:hover, input[type=submit]:hover { background: var(--c-brand-hover); border-color: var(--c-brand-hover); color: #fff; }
.btn:active, .button:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--c-brand); }
.btn--ghost:hover { background: var(--c-brand); color: #fff; }
.btn--light { background: #fff; color: var(--c-brand); border-color: #fff; }
.btn--light:hover { background: #E8F1EE; color: var(--c-brand); border-color: #E8F1EE; }
.btn--wa { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn--wa .icon { color: #128C4A; }
.btn--wa:hover { background: var(--c-surface-2); color: var(--c-ink); border-color: var(--c-ink-2); }
.btn[disabled], .button.disabled, .button:disabled { opacity: .45; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); letter-spacing: .04em; text-decoration: none; min-height: 44px; }
.link-arrow .icon { transition: transform var(--d-base) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--c-brand); color: #E8F1EE; font-size: var(--t-xs); letter-spacing: .04em; }
.announce .container { display: flex; justify-content: center; gap: var(--s-5); padding-block: 8px; text-align: center; flex-wrap: wrap; }
.announce a { color: #fff; }
.announce span + span::before { content: "·"; margin-right: var(--s-5); opacity: .6; }
@media (max-width: 640px) { .announce span + span { display: none; } }

.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(250,248,244,.96); border-bottom: 1px solid var(--c-line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 132px; height: auto; }
.primary-nav { justify-self: center; }
.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.6vw, 28px); }
.primary-nav li { position: relative; }
.primary-nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: var(--t-sm); font-weight: 500; letter-spacing: .03em; color: var(--c-ink); text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--c-brand); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--c-accent); }
.primary-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
.primary-nav .sub-menu {
  list-style: none; margin: 0; padding: var(--s-3); position: absolute; top: 100%; left: -16px; min-width: 240px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out), visibility var(--d-base);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: flex; width: 100%; padding: 6px 12px; border-radius: var(--r-sm); }
.primary-nav .sub-menu a:hover { background: var(--c-surface-2); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); color: var(--c-ink); background: transparent; border: 0; text-decoration: none; transition: background-color var(--d-fast); }
.icon-btn:hover { background: var(--c-surface-2); color: var(--c-ink); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-brand); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.menu-toggle { display: none; }
@media (max-width: 1023px) {
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand { justify-self: center; grid-column: 2; }
  .brand img { width: 112px; }
  .header-actions { grid-column: 3; }
  .header-actions .hide-sm { display: none; }
}

/* Search panel */
.search-panel { border-top: 1px solid var(--c-line); background: var(--c-surface); }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: var(--s-2); padding-block: var(--s-4); }
.search-form label { flex: 1; }
.search-form input[type=search] { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-bg); font-size: var(--t-base); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(28,25,23,.5); opacity: 0; transition: opacity var(--d-base); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--c-bg); padding: var(--s-4) var(--s-5) var(--s-7); overflow-y: auto; transform: translateX(-100%); transition: transform var(--d-slow) var(--ease-out); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-4); }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: flex; min-height: 48px; align-items: center; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--c-ink); text-decoration: none; border-bottom: 1px solid var(--c-line); }
.drawer nav .sub-menu a { font-family: var(--f-body); font-size: var(--t-base); font-weight: 500; padding-left: var(--s-4); border-bottom-style: dashed; }
.drawer__contact { margin-top: var(--s-6); display: grid; gap: var(--s-3); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 3vw + 16px, 72px) var(--s-6); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 600; margin-bottom: var(--s-5); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--c-brand); }
.hero .lede { margin-bottom: var(--s-6); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--c-line); font-size: var(--t-sm); color: var(--c-ink-2); }
.hero__proof strong { display: block; font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--c-ink); }
.stars { display: inline-flex; gap: 2px; color: var(--c-accent); vertical-align: -2px; }
.stars .icon { width: 15px; height: 15px; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-arch); overflow: hidden; background: var(--c-surface-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__media { position: relative; }
.arch-frame { position: relative; padding: 14px; }
.arch-frame::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--c-mint); border-radius: var(--r-arch); pointer-events: none; }
.arch-frame::after { content: ""; position: absolute; left: -6px; top: 58%; width: 12px; height: 12px; background: var(--c-mint); transform: rotate(45deg); }
.hero__badge { position: absolute; right: 0; bottom: 12%; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-2); font-size: var(--t-xs); max-width: 220px; }
.hero__badge strong { display: block; font-family: var(--f-display); font-size: 1.15rem; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 360px; margin-inline: auto; width: 100%; }
  .hero__proof { gap: var(--s-4); }
  .hero__badge { right: 8px; }
}

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.cat-card { position: relative; display: block; text-decoration: none; color: var(--c-ink); }
.cat-card__img { display: block; aspect-ratio: 3 / 4; border-radius: var(--r-arch); overflow: hidden; background: var(--c-surface-2); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease-out); }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__name { display: block; margin-top: var(--s-3); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; text-align: center; line-height: 1.2; }
.cat-card__meta { display: block; text-align: center; font-size: var(--t-xs); color: var(--c-ink-2); letter-spacing: .04em; }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-3); } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media.is-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: end; }
.split__media.is-pair img:first-child { aspect-ratio: 9/16; }
.split__media.is-pair img:last-child { aspect-ratio: 9/16; margin-bottom: 15%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.check-list { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; gap: var(--s-3); }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; }
.check-list .icon { color: var(--c-accent); margin-top: 3px; }
.section--brand .check-list .icon { color: #E9C77B; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); counter-reset: step; }
.steps li { counter-increment: step; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--f-display); font-size: 2.5rem; line-height: 1; color: var(--c-accent); margin-bottom: var(--s-3); }
.steps h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.steps p { margin: 0; color: var(--c-ink-2); font-size: var(--t-sm); }
.section--brand .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.section--brand .steps p { color: #D2E3DD; }
.section--brand .steps li::before { color: #E9C77B; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features (icon row) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); align-items: start; }
.features .feat-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-brand); }
.features strong { display: block; font-size: var(--t-sm); }
.features span { font-size: var(--t-xs); color: var(--c-ink-2); }
@media (max-width: 1023px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.review { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); }
.review blockquote { margin: 0; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.4; color: var(--c-ink); }
.review figcaption { margin-top: auto; font-size: var(--t-sm); color: var(--c-ink-2); }
.review figcaption strong { color: var(--c-ink); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }
.rating-summary { display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--t-sm); color: var(--c-ink-2); }
.rating-summary strong { font-family: var(--f-display); font-size: 2rem; color: var(--c-ink); line-height: 1; }

/* ---------- Visit block ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: stretch; }
.visit__card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); }
.visit dl { margin: 0; display: grid; gap: var(--s-4); }
.visit dt { display: flex; gap: var(--s-2); align-items: center; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--c-accent); font-weight: 600; }
.visit dd { margin: 4px 0 0; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--c-surface-2); border: 1px solid var(--c-line); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 56px; padding: var(--s-4) 0; cursor: pointer; font-weight: 600; font-size: var(--t-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--c-accent); transition: transform var(--d-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--s-5); color: var(--c-ink-2); max-width: var(--measure); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: center; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Page hero + prose ---------- */
.page-hero { padding-block: clamp(40px, 4vw + 16px, 88px) clamp(24px, 3vw, 48px); border-bottom: 1px solid var(--c-line); }
.page-hero h1 { font-size: var(--t-2xl); max-width: 22ch; }
.page-hero .lede { margin: 0; }
.breadcrumbs, .woocommerce-breadcrumb { font-size: var(--t-xs); letter-spacing: .04em; color: var(--c-ink-2); margin-bottom: var(--s-4); }
.breadcrumbs a, .woocommerce-breadcrumb a { color: var(--c-ink-2); text-decoration: none; }
.breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--c-brand); text-decoration: underline; }
.breadcrumbs span[aria-hidden], .woocommerce-breadcrumb .sep { margin-inline: 6px; opacity: .6; }

.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--t-xl); margin-top: var(--s-7); }
.prose h3 { font-size: var(--t-lg); margin-top: var(--s-6); }
.prose li { margin-bottom: var(--s-2); }
.prose img { border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: var(--s-5) 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--c-surface-2); }
.entry-content > .ik-block { margin-block: var(--s-8); }
.entry-content > .ik-block:first-child { margin-top: 0; }
.ik-wide { width: 100%; }
.ik-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-5); }
.ik-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5); }
.ik-card h3 { font-size: 1.5rem; }
.ik-card p:last-child { margin-bottom: 0; }
.ik-note { border-left: 3px solid var(--c-accent); background: var(--c-surface); padding: var(--s-4) var(--s-5); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: var(--t-sm); }
.ik-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.ik-gallery img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: var(--r-md); }
@media (max-width: 640px) { .ik-gallery { grid-template-columns: repeat(2, 1fr); } }
.ik-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.ik-split img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 860px) { .ik-split { grid-template-columns: 1fr; } }

/* ---------- Product grid (WooCommerce) ---------- */
.woocommerce ul.products, ul.products {
  list-style: none; margin: 0 !important; padding: 0;
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6) var(--s-5);
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; padding: 0; position: relative; display: flex; flex-direction: column;
}
ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: var(--c-ink); }
ul.products li.product img, .woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); margin: 0 0 var(--s-3) !important; background: var(--c-surface-2);
  transition: opacity var(--d-base);
}
ul.products li.product a:hover img { opacity: .9; }
ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  /* Matches the builder product cards (ik-product-card__title). */
  font-family: var(--f-display) !important; font-size: 1.2rem !important; font-weight: 600; line-height: 1.25; padding: 0 !important; margin: 0 0 4px; color: var(--c-ink);
}
ul.products li.product .price, .woocommerce ul.products li.product .price { color: var(--c-ink) !important; font-weight: 600; font-size: var(--t-sm) !important; font-variant-numeric: tabular-nums; margin-bottom: var(--s-3) !important; }
ul.products li.product .button { margin-top: auto !important; min-height: 44px; width: 100%; background: transparent; color: var(--c-brand); font-size: var(--t-xs); }
ul.products li.product .button:hover { background: var(--c-brand); color: #fff; }
ul.products li.product .added_to_cart { font-size: var(--t-xs); margin-top: var(--s-2); }
.product-card__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 1023px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-5) var(--s-3); } }
.woocommerce span.onsale { background: var(--c-accent); border-radius: var(--r-pill); min-height: auto; min-width: auto; padding: 4px 10px; line-height: 1.4; font-size: 11px; }

/* Archive */
.archive-hero { padding-block: clamp(32px, 3vw + 16px, 72px) var(--s-6); }
.archive-hero h1 { font-size: var(--t-2xl); margin-bottom: var(--s-3); }
.archive-hero .term-description, .archive-hero .page-description { max-width: 70ch; color: var(--c-ink-2); font-size: var(--t-md); }
.archive-hero .term-description p:last-child { margin-bottom: 0; }
.chips { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-5); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font-size: var(--t-sm); text-decoration: none; }
.chip:hover, .chip[aria-current="page"] { border-color: var(--c-brand); color: var(--c-brand); }
.chip[aria-current="page"] { background: var(--c-brand); color: #fff; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-4); border-block: 1px solid var(--c-line); margin-bottom: var(--s-6); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0 !important; float: none !important; font-size: var(--t-sm); color: var(--c-ink-2); }
.woocommerce-ordering select { min-height: 44px; padding: 8px 36px 8px 14px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background-color: var(--c-surface); }
.archive-seo { border-top: 1px solid var(--c-line); margin-top: var(--section); padding-top: var(--section); }
.archive-seo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
@media (max-width: 860px) { .archive-seo__grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: var(--s-2); justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--c-line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; position: relative; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product div.images, .single-product div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-product-gallery__image img { border-radius: var(--r-md); }
.single-product div.product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); margin-top: var(--s-2) !important; }
.single-product div.product .flex-control-thumbs li { width: auto !important; float: none !important; }
.single-product div.product .flex-control-thumbs img { border-radius: var(--r-sm); aspect-ratio: 1; object-fit: cover; }
.single-product div.product div.summary { position: static; }
.single-product .product_title { font-size: var(--t-2xl); margin-bottom: var(--s-3); }
.single-product div.product p.price { font-size: 1.6rem !important; color: var(--c-ink) !important; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: var(--s-2); }
.price-note { font-size: var(--t-xs); color: var(--c-ink-2); margin-bottom: var(--s-5); }
.single-product .woocommerce-product-details__short-description { color: var(--c-ink-2); margin-bottom: var(--s-5); }
.single-product form.cart { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-3) !important; }
.single-product form.cart .quantity input { min-height: 48px; width: 72px; border: 1px solid var(--c-line); border-radius: var(--r-pill); text-align: center; background: var(--c-surface); }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; }
.single-product .btn--wa { width: 100%; }
.trust-list { list-style: none; padding: var(--s-5) 0 0; margin: var(--s-5) 0 0; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); font-size: var(--t-sm); }
.trust-list li { display: flex; gap: var(--s-2); align-items: center; }
.trust-list .icon { color: var(--c-brand); }
.product_meta { font-size: var(--t-xs); color: var(--c-ink-2); margin-top: var(--s-5); }
.product_meta > span { display: block; margin-bottom: 4px; }
.single-product .woocommerce-tabs, .single-product .related, .single-product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: var(--s-7) 0 0; display: flex; gap: var(--s-5); border-bottom: 1px solid var(--c-line); }
.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 { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 !important; font-weight: 600 !important; color: var(--c-ink-2) !important; font-size: var(--t-sm); letter-spacing: .04em; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--c-ink) !important; box-shadow: inset 0 -2px 0 var(--c-accent); }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: var(--s-6); max-width: var(--measure); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: var(--t-xl); }
.woocommerce table.shop_attributes { border-top: 1px solid var(--c-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--c-line); padding: 10px 12px; font-style: normal; background: none !important; }
.related > h2, .upsells > h2 { font-size: var(--t-xl); margin-top: var(--section); }
@media (max-width: 900px) {
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product div.summary { position: static; }
  .trust-list { grid-template-columns: 1fr; }
}

/* Forms & notices */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], textarea, select {
  min-height: 48px; padding: 10px 14px; border: 1px solid #CFC7BB; border-radius: var(--r-md); background: var(--c-surface); font-size: var(--t-base);
}
textarea { min-height: 120px; }
label { font-size: var(--t-sm); font-weight: 500; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--c-brand) !important; background: var(--c-surface) !important; border-radius: var(--r-md); font-size: var(--t-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--c-brand) !important; }
.woocommerce-error { border-top-color: var(--c-danger) !important; }
.woocommerce table.shop_table { border-radius: var(--r-md); border-color: var(--c-line); background: var(--c-surface); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-brand); color: #D2E3DD; font-size: var(--t-sm); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s-7); padding-block: var(--s-8) var(--s-7); }
.footer-brand { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); color: #fff; text-decoration: none; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand span { font-family: var(--f-display); font-size: 2rem; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.site-footer h2 { font-family: var(--f-body); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em; color: #E9C77B; margin-bottom: var(--s-4); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 36px; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: var(--s-5); padding-right: 88px; display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: var(--t-xs); color: #B9D0C8; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #128C4A; color: #fff; box-shadow: 0 6px 20px rgba(18,140,74,.35); transition: transform var(--d-base) var(--ease-out); }
.wa-float:hover { transform: scale(1.05); color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }
body { padding-bottom: env(safe-area-inset-bottom); }

/* 404 / misc */
.notfound { text-align: center; padding-block: var(--section); }
.notfound h1 { font-size: var(--t-3xl); }

/* Reveal motion (respecting reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.shop-toolbar .woocommerce-notices-wrapper:empty { display: none; }

/* WooCommerce button overrides (match .woocommerce specificity) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce-page a.button, .woocommerce-page button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill);
  border: 1px solid var(--c-brand); background: var(--c-brand); color: var(--c-on-brand);
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em; line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
  background: var(--c-brand-hover); border-color: var(--c-brand-hover); color: #fff;
}
.woocommerce ul.products li.product .button {
  margin-top: auto; width: 100%; min-height: 44px; background: transparent; color: var(--c-brand); font-size: var(--t-xs); border: 1px solid var(--c-brand);
}
.woocommerce ul.products li.product .button:hover { background: var(--c-brand); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .45; }
.woocommerce .quantity .qty { min-height: 48px; }

/* ==========================================================================
   CrocoBuilder integration
   Header/footer are CrocoBuilder Theme Builder templates; these rules target the
   wrappers CrocoBuilder prints around them (not builder nodes).
   ========================================================================== */
#crocoblocks-theme-builder-header { position: sticky; top: -34px; z-index: var(--z-header); }
.admin-bar #crocoblocks-theme-builder-header { top: -2px; }
@media (max-width: 782px) { .admin-bar #crocoblocks-theme-builder-header { top: 12px; } }
@media (max-width: 600px) { .admin-bar #crocoblocks-theme-builder-header { top: -34px; } }
.crocoblocks-theme-builder-skip-link { background: var(--c-brand) !important; color: #fff !important; border-radius: var(--r-md); }
/* Builder pages: no extra theme spacing around the document. */
.crocoblocks-fullwidth > .crocoblocks-document > :first-child { margin-top: 0; }
/* Header search popover ([ik_search]) */
.hdr-search { position: relative; }
.hdr-search > summary { list-style: none; cursor: pointer; }
.hdr-search > summary::-webkit-details-marker { display: none; }
.hdr-search__panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(92vw, 420px); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: var(--s-3) var(--s-4); z-index: 60; }
.hdr-search__panel .search-form { padding: 0; }
/* Phones: the toggle sits mid-header, so anchor the panel to the whole sticky header and keep it inside the screen. */
@media (max-width: 640px) {
	.hdr-search { position: static; }
	.hdr-search__panel { left: 16px; right: 16px; width: auto; top: 100%; margin-top: 6px; }
}
@media (max-width: 1024px) { .ik-header-actions .hide-sm { display: none; } }
/* Product grid output by [ik_products] inside builder text. */
.cb-el-text .woocommerce ul.products { margin: 0; }
