/*
Theme Name: Storefront Ceraflame
Template: storefront
Version: 2.0.0
Description: E-commerce premium para panelas de cerâmica Ceraflame.
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Cores principais */
  --col-black:    #1F1F1F;
  --col-white:    #FFFFFF;
  --col-terra:    #C0551A;   /* terracota — referência à cerâmica */
  --col-terra-dk: #A0461A;
  --col-terra-lt: #F5EBE5;
  --col-outlet:   #FF7A33;   /* laranja vivo para Outlet */
  --col-outlet-hv:#FF9955;
  --col-error:    #e05c5c;
  --col-success:  #5aac7a;

  /* Neutros */
  --col-gray-1: #F8F8F6;    /* fundo */
  --col-gray-2: #F0F0EE;    /* superfície leve */
  --col-gray-3: #E2E2DF;    /* borda */
  --col-gray-4: #A0A09C;    /* texto muted */
  --col-gray-5: #606060;    /* texto secundário */
  --col-text:   #1F1F1F;

  /* Tipografia */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 15px;
  --line-height: 1.65;

  /* Layout */
  --max-w: 1280px;
  --header-h: 72px;
  --nav-h: 48px;
  --pad-x: 2rem;

  /* Transições */
  --ease: 0.2s ease;
  --ease-slow: 0.35s ease;
  --radius: 4px;
  --radius-sm: 2px;

  /* Aliases for compatibility (used in stages 3-4) */
  --col-light: #E2E2DF;
  --col-gray:  #888888;
  --font:      var(--font-body);

  /* Display font (Cormorant — premium headings) */
  --font-display: 'Cormorant', Georgia, serif;

  /* Shadow scale */
  --shadow-1: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-2: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-3: 0 20px 60px rgba(0,0,0,.12), 0 8px 20px rgba(0,0,0,.06);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }



body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--col-text);
  background: var(--col-white);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--col-black);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; border-radius: 0; }

a {
  color: var(--col-black);
  text-decoration: none;
  transition: color var(--ease), opacity var(--ease);
}
a:hover { color: var(--col-terra); }

/* Container global */
.cf-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Override col-full do Storefront */
.col-full {
  max-width: var(--max-w) !important;
}

/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════════════════════════════ */
.cf-announce {
  background: var(--col-terra);
  color: var(--col-white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.cf-announce__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cf-announce__text { text-align: center; }

.cf-announce__close {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--ease), background var(--ease);
  line-height: 1;
}
.cf-announce__close:hover {
  color: var(--col-white);
  background: rgba(255,255,255,0.15);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — BASE
═══════════════════════════════════════════════════════════════ */
.cf-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--col-white);
  border-bottom: 1px solid var(--col-gray-3);

  /* Transição para sticky */
  transition: box-shadow var(--ease), transform var(--ease-slow);
}

.cf-header.is-sticky {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.cf-header.is-hidden {
  transform: translateY(-100%);
}

/* ── Linha principal ────────────────────────────────────── */
.cf-header__main {
  background: var(--col-white);
  height: var(--header-h);
}

.cf-header__main .cf-wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* ── Logo ───────────────────────────────────────────────── */
.cf-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cf-logo__img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.cf-logo__text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--col-black);
  white-space: nowrap;
}

/* ── Busca ──────────────────────────────────────────────── */
.cf-header__search {
  width: 480px;
  height: 100%;
  display: flex;
  align-items: center;
}

.cf-search {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  background: var(--col-gray-1);
  border: 1.5px solid var(--col-gray-3);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.cf-search:focus-within {
  border-color: var(--col-black);
  box-shadow: 0 0 0 3px rgba(31,31,31,0.07);
}

.cf-search__icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--col-gray-4);
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  pointer-events: none; /* clique vai para o input */
}

.cf-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--col-text);
  padding: 10px 0;
  outline: none;
  box-shadow: none !important;
  -webkit-appearance: none;
}

.cf-search__input::placeholder { color: var(--col-gray-4); }

.cf-search__btn {
  background: var(--col-black);
  color: var(--col-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 20px;
  height: 100%;
  min-height: 42px;
  white-space: nowrap;
  transition: background var(--ease);
  border-radius: 0 6px 6px 0;
  flex-shrink: 0;
}
.cf-search__btn:hover { background: var(--col-terra); }

/* ── Ações (conta + carrinho + hambúrguer) ──────────────── */
.cf-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.cf-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--col-black);
  transition: background var(--ease), color var(--ease);
  cursor: pointer;
}
.cf-action:hover {
  background: var(--col-gray-1);
  color: var(--col-terra);
}

.cf-action__icon {
  display: block;
  flex-shrink: 0;
}

.cf-action__label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}

/* Carrinho com badge */
.cf-action--cart { position: relative; }

.cf-cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--col-terra);
  color: var(--col-white);
  font-size: 9px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  border: 2px solid var(--col-white);
}
.cf-cart-badge.is-visible { display: flex; }

/* Hambúrguer */
.cf-hamburger {
  display: none; /* visível só no mobile */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 8px;
  transition: background var(--ease);
}
.cf-hamburger:hover { background: var(--col-gray-1); }

.cf-hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--col-black);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease), width var(--ease);
}

/* ═══════════════════════════════════════════════════════════════
   NAVEGAÇÃO
═══════════════════════════════════════════════════════════════ */
.cf-nav {
  background: var(--col-black);
  position: relative;
  z-index: 800;
}

/* Container da nav */
.cf-nav .cf-wrap {
  height: var(--nav-h);
  display: flex;
  align-items: stretch;
  padding: 0 var(--pad-x);
}

/* Lista de itens */
.cf-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.cf-nav__list > li {
  display: flex;
  align-items: stretch;
  position: relative;
}

.cf-nav__list > li > a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.cf-nav__list > li > a > span {
  /* Wrapper do texto — para animação de underline */
  position: relative;
}

.cf-nav__list > li > a:hover,
.cf-nav__list > li.current-menu-item > a,
.cf-nav__list > li.current-menu-ancestor > a {
  color: var(--col-white);
  border-bottom-color: var(--col-terra);
  background: rgba(255,255,255,0.06);
}

/* Outlet — destaque especial */
.cf-nav__list > li:last-child > a {
  color: var(--col-terra);
}
.cf-nav__list > li:last-child > a:hover {
  color: #ff8c5c;
  border-bottom-color: var(--col-terra);
}

/* Submenus */
.cf-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--col-black);
  border-top: 2px solid var(--col-terra);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 100;
}

.cf-nav__list > li:hover > .sub-menu,
.cf-nav__list > li.is-active > .sub-menu,
.cf-nav__list > li.focus > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cf-nav__list .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  border-left: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.cf-nav__list .sub-menu li a:hover {
  color: var(--col-white);
  border-left-color: var(--col-terra);
  background: rgba(255,255,255,0.05);
  padding-left: 24px;
}

/* Cabeçalho mobile (oculto no desktop) */
.cf-nav__mobile-header { display: none; }
.cf-nav__overlay       { display: none; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO — MOBILE (≤ 960px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {

  /* ── Hambúrguer visível ── */
  .cf-hamburger { display: flex; justify-self: start; }

  /* ── Mobile: logo centralizada, hambúrguer esquerda, ações direita ── */
  .cf-logo { justify-self: center; }

  /* ── Ocultar busca e label das ações no mobile ── */
  .cf-header__search { display: none; }
  .cf-action__label  { display: none; }
  .cf-action         { padding: 8px; }

  /* ── Nav vira drawer lateral ── */
  .cf-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--col-black);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: none; /* remove a borda que ficaria no drawer */
  }

  .cf-nav.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0,0,0,0.35);
  }

  /* Overlay escurecido */
  .cf-nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
  }
  .cf-nav.is-open + .cf-nav__overlay,
  .cf-nav__overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
  }

  /* Cabeçalho do drawer */
  .cf-nav__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    background: var(--col-black);
    z-index: 1;
  }

  .cf-nav__mobile-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--col-white);
  }

  .cf-nav__close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    transition: color var(--ease), background var(--ease);
  }
  .cf-nav__close:hover {
    color: var(--col-white);
    background: rgba(255,255,255,0.1);
  }

  /* Lista no drawer */
  .cf-nav .cf-wrap {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }

  .cf-nav__list {
    flex-direction: column;
    height: auto;
  }

  .cf-nav__list > li {
    flex-direction: column;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .cf-nav__list > li > a {
    padding: 15px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--col-white);
  }

  .cf-nav__list > li > a:hover,
  .cf-nav__list > li.current-menu-item > a {
    color: var(--col-white);
    border-left-color: var(--col-terra);
    background: rgba(255,255,255,0.09);
    border-bottom-color: transparent;
  }

  /* Outlet — laranja vivo com bom contraste no fundo escuro */
  .cf-nav__list > li:last-child > a { color: var(--col-outlet); }
  .cf-nav__list > li:last-child > a:hover { color: var(--col-outlet-hv); }

  /* Submenus no drawer — accordion */
  .cf-nav__list .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid rgba(255,255,255,0.15);
    margin-left: 20px;
    padding: 4px 0;
    background: rgba(0,0,0,0.2);
    display: none;
  }

  .cf-nav__list > li.is-open > .sub-menu { display: block; }

  .cf-nav__list .sub-menu li a {
    padding: 11px 16px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.88);
  }

  .cf-nav__list .sub-menu li a:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,0.07);
    border-left-color: var(--col-terra);
    padding-left: 20px;
  }

  /* Scroll bloqueado quando menu aberto */
  body.cf-nav-open { overflow: hidden; }
}

@media (max-width: 600px) {
  :root {
    --header-h: 60px;
    --pad-x: 1rem;
  }

  .cf-logo__img  { height: 38px; }
  .cf-logo__text { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   STOREFRONT OVERRIDES — RESET visual padrão
═══════════════════════════════════════════════════════════════ */

/* Remove o header original do Storefront (usamos o nosso) */
.site-header { display: none !important; }

/* Remove margin que o Storefront adiciona abaixo do header */
.home.blog .site-header,
.home.page .site-header,
.no-wc-breadcrumb .site-header { margin-bottom: 0 !important; }

/* Reset de alguns elementos globais */
button, input, select, textarea {
  font-family: var(--font-body) !important;
}

/* Conteúdo full-width */
.storefront-full-width-content .content-area {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.woocommerce-page #secondary,
.cf-wc-page .widget-area { display: none !important; }

/* Breadcrumb */
.woocommerce-breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto !important;
  padding: 14px var(--pad-x) !important;
  font-size: 0.78rem !important;
  color: var(--col-gray-4) !important;
  border-bottom: none !important;
}
.woocommerce-breadcrumb a {
  color: var(--col-gray-4) !important;
  text-decoration: none !important;
}
.woocommerce-breadcrumb a:hover { color: var(--col-black) !important; }

/* ═══════════════════════════════════════════════════════════════
   ETAPA 2 — HOME PAGE
═══════════════════════════════════════════════════════════════ */

/* Utilitários globais */
.cf-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.cf-section { padding: 72px 0; }

.cf-section__head {
  text-align: center;
  margin-bottom: 48px;
}
.cf-section__head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  text-align: left;
}
.cf-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--col-black);
  letter-spacing: -0.02em;
  margin: 0;
}
.cf-section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--col-black);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--ease);
}
.cf-section__link:hover { color: var(--col-terra); }

/* Botões globais */
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
  font-family: var(--font-body);
}
.cf-btn--black   { background: var(--col-black); color: var(--col-white); border-color: var(--col-black); }
.cf-btn--black:hover { background: var(--col-terra); border-color: var(--col-terra); color: var(--col-white); }
.cf-btn--white   { background: var(--col-white); color: var(--col-black); border-color: var(--col-white); }
.cf-btn--white:hover { background: transparent; color: var(--col-white); }
.cf-btn--outline { background: transparent; color: var(--col-white); border-color: rgba(255,255,255,0.6); }
.cf-btn--outline:hover { border-color: var(--col-white); }
.cf-btn--sm { padding: 10px 20px; font-size: 0.72rem; }

/* ── 1. HERO ──────────────────────────────────────────────── */
.cf-hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: var(--col-black);
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

/* Slides */
.cf-hero__slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.cf-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 640px) {
  .cf-hero__slide {
    background-image: var(--slide-mob, var(--slide-img));
  }
}
.cf-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
}
.cf-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

/* Setas */
.cf-hero__nav {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}
.cf-hero__arrow {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s;
  flex-shrink: 0;
}
.cf-hero__arrow:hover { background: rgba(255,255,255,.3); }
.cf-hero__arrow svg { width: 16px; height: 16px; }

/* Dots */
.cf-hero__dots { display: flex; gap: 8px; align-items: center; }
.cf-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.cf-hero__dot.is-active {
  background: #fff;
  transform: scale(1.35);
}
.cf-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--col-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.cf-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin: 0 0 40px;
  font-weight: 300;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cf-hero__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cf-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: cf-bounce 1.8s ease infinite;
}
@keyframes cf-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── 2. PILARES ────────────────────────────────────────────── */
.cf-pillars {
  padding: 56px 0;
  border-bottom: 1px solid var(--col-gray-3);
}
.cf-pillars .cf-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cf-pillar { text-align: center; padding: 8px; }
.cf-pillar__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--col-terra);
}
.cf-pillar__icon svg { width: 100%; height: 100%; }
.cf-pillar__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--col-black);
}
.cf-pillar__text {
  font-size: 0.82rem;
  color: var(--col-gray-5);
  line-height: 1.6;
  margin: 0;
}

/* ── 3. CATEGORIAS ─────────────────────────────────────────── */
.cf-section--cats { background: var(--col-gray-1); }

.cf-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.cf-cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--col-white);
  border: 1px solid var(--col-gray-3);
  transition: box-shadow var(--ease), transform var(--ease);
}
.cf-cat-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.cf-cat-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--col-gray-2);
}
.cf-cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}
.cf-cat-card:hover .cf-cat-card__img img { transform: scale(1.06); }
.cf-cat-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--col-gray-2);
}
.cf-cat-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.cf-cat-card__name {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--col-black);
}
.cf-cat-card__arrow {
  color: var(--col-terra);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--ease);
}
.cf-cat-card:hover .cf-cat-card__arrow { transform: translateX(4px); }

/* ── 4. BANNER EDITORIAL ───────────────────────────────────── */
.cf-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.cf-editorial--reversed .cf-editorial__img  { order: 2; }
.cf-editorial--reversed .cf-editorial__body { order: 1; }

.cf-editorial__img {
  position: relative;
  overflow: hidden;
  background: var(--col-gray-2);
}
.cf-editorial__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}
.cf-editorial:hover .cf-editorial__img img { transform: scale(1.03); }
.cf-editorial__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #f0ede8 0%, #e0d8d0 100%);
}

.cf-editorial__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  background: var(--col-gray-1);
}
.cf-editorial__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--col-terra);
  display: block;
  margin-bottom: 20px;
}
.cf-editorial__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.cf-editorial__text {
  font-size: 0.95rem;
  color: var(--col-gray-5);
  line-height: 1.75;
  margin: 0 0 36px;
  max-width: 440px;
}

/* ── 5. PRODUTOS ───────────────────────────────────────────── */
.cf-section--products { background: var(--col-white); }

.cf-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cf-product-card {
  display: flex;
  flex-direction: column;
  background: var(--col-white);
  border: 1px solid var(--col-gray-3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.cf-product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.cf-product-card__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--col-gray-1);
  text-decoration: none;
}
.cf-product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}
.cf-product-card:hover .cf-product-card__img-wrap img { transform: scale(1.05); }
.cf-product-card__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--col-gray-2);
}
.cf-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.cf-badge--sale { background: var(--col-black); color: var(--col-white); }
.cf-badge--new  { background: var(--col-terra); color: var(--col-white); }

.cf-product-card__body {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
  flex: 1;
}
.cf-product-card__cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-terra);
}
.cf-product-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}
.cf-product-card__name a {
  color: var(--col-black);
  text-decoration: none;
}
.cf-product-card__name a:hover { color: var(--col-terra); }
.cf-product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--col-black);
}
.cf-product-card__price del { color: var(--col-gray-4); font-weight: 400; font-size: 0.85rem; }
.cf-product-card__price ins { text-decoration: none; }
.cf-product-card__body .cf-btn { margin-top: auto; width: 100%; justify-content: center; }

/* ── 6. BANNERS DUPLOS ─────────────────────────────────────── */
.cf-section--duo { padding: 0 0 72px; }

.cf-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-duo-banner {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--col-black) center/cover no-repeat;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
}
.cf-duo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,14,8,0.75) 0%, rgba(20,14,8,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--ease);
}
.cf-duo-banner:hover .cf-duo-banner__overlay {
  background: linear-gradient(to top, rgba(20,14,8,0.85) 0%, rgba(20,14,8,0.2) 60%);
}
.cf-duo-banner__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--col-terra);
  margin-bottom: 8px;
  display: block;
}
.cf-duo-banner__title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--col-white);
  margin: 0 0 16px;
  line-height: 1.2;
}
.cf-duo-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--col-white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color var(--ease);
}
.cf-duo-banner:hover .cf-duo-banner__btn { border-color: var(--col-white); }

/* ── 7. NEWSLETTER ─────────────────────────────────────────── */
.cf-newsletter {
  background: var(--col-terra);
  padding: 80px 0;
}
.cf-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.cf-newsletter__title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--col-white);
  margin: 0 0 12px;
  line-height: 1.2;
}
.cf-newsletter__sub {
  color: rgba(255,255,255,0.82);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.cf-newsletter__fields {
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.cf-newsletter__fields input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-right: none;
  background: rgba(255,255,255,0.12);
  color: var(--col-white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  border-radius: 0;
  box-shadow: none !important;
  -webkit-appearance: none;
  transition: border-color var(--ease), background var(--ease);
}
.cf-newsletter__fields input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.cf-newsletter__fields input[type="email"]:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}
.cf-newsletter__fields .cf-btn {
  border-radius: 0;
  border-left: none;
  padding: 14px 24px;
  flex-shrink: 0;
}
.cf-newsletter__lgpd {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.cf-newsletter__lgpd a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.cf-newsletter__ok {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--col-white);
  font-size: 1rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   HOME — RESPONSIVO
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cf-products-grid { grid-template-columns: repeat(3, 1fr); }
  .cf-pillars .cf-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .cf-editorial { grid-template-columns: 1fr; min-height: auto; }
  .cf-editorial--reversed .cf-editorial__img  { order: 0; }
  .cf-editorial--reversed .cf-editorial__body { order: 0; }
  .cf-editorial__img { min-height: 300px; }
  .cf-editorial__body { padding: 48px var(--pad-x); }
  .cf-editorial__text { max-width: none; }

  .cf-newsletter__inner { grid-template-columns: 1fr; gap: 32px; }

  .cf-duo-grid { grid-template-columns: 1fr; }
  .cf-duo-banner { aspect-ratio: 16 / 8; }

  .cf-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 600px) {
  .cf-section { padding: 48px 0; }
  .cf-hero { min-height: 70vh; }
  .cf-hero__btns { flex-direction: column; align-items: center; }

  .cf-newsletter__fields { flex-direction: column; }
  .cf-newsletter__fields input[type="email"] {
    border-right: 2px solid rgba(255,255,255,0.3);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
  }
  .cf-newsletter__fields .cf-btn {
    border-left: 2px solid var(--col-white);
    border-top: none;
    border-radius: 0 0 3px 3px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ETAPA 3 — PÁGINA DE PRODUTO
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Layout 2 colunas ────────────────────────────────────────────────────── */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 52% 1fr;
    grid-template-areas:
        "gallery summary"
        "tabs    tabs"
        "related related";
    gap: 0 56px;
    align-items: start;
    padding: 40px 0 80px;
}

.woocommerce div.product .woocommerce-product-gallery { grid-area: gallery; }
.woocommerce div.product .summary.entry-summary      { grid-area: summary; }
.woocommerce div.product .woocommerce-tabs           { grid-area: tabs; margin-top: 60px; }
.woocommerce div.product .related.products           { grid-area: related; margin-top: 0; }

/* Galeria sticky */
.woocommerce div.product .woocommerce-product-gallery {
    position: sticky;
    top: 90px;
}

/* ── Galeria principal ───────────────────────────────────────────────────── */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #f8f5f2;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper:hover img {
    transform: scale(1.03);
}
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
    list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs li { flex: 1; }
.woocommerce-product-gallery .flex-control-thumbs li img {
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
    opacity: .7;
    width: 100%;
}
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: var(--col-terra);
    opacity: 1;
}

/* ── Summary ─────────────────────────────────────────────────────────────── */
.woocommerce div.product .summary { padding-top: 6px; }

.woocommerce div.product .woocommerce-breadcrumb {
    font-size: .78rem;
    color: var(--col-gray);
    margin-bottom: 14px;
    letter-spacing: .02em;
}
.woocommerce div.product .woocommerce-breadcrumb a {
    color: var(--col-gray);
    text-decoration: none;
}
.woocommerce div.product .woocommerce-breadcrumb a:hover { color: var(--col-terra); }

.woocommerce div.product .product_title.entry-title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    color: var(--col-black);
    line-height: 1.2;
    margin: 0 0 12px;
}

.woocommerce div.product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.woocommerce div.product .star-rating { color: var(--col-terra); font-size: 1rem; }
.woocommerce div.product .woocommerce-review-link { font-size: .82rem; color: var(--col-gray); text-decoration: underline; }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--col-terra);
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}
.woocommerce div.product p.price del { font-size: 1.1rem; color: var(--col-gray); font-weight: 400; margin-right: 8px; }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: .95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
    border-top: 1px solid var(--col-light);
    padding-top: 20px;
}
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 1.2em; margin: 8px 0; }
.woocommerce div.product .woocommerce-product-details__short-description li { margin-bottom: 4px; }

/* Form quantidade + botão */
.woocommerce div.product form.cart {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.woocommerce div.product form.cart .quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--col-light);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.woocommerce div.product form.cart .quantity input.qty {
    width: 56px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--col-black);
    padding: 0 4px;
    height: 52px;
    -moz-appearance: textfield;
}
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1;
    background: var(--col-terra);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0 28px;
    height: 52px;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #a8481a;
    transform: translateY(-1px);
}
.woocommerce div.product form.cart .single_add_to_cart_button:active { transform: translateY(0); }

/* Trust badges */
.cf-trust-badges {
    display: flex;
    gap: 0;
    border: 1px solid var(--col-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}
.cf-trust-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: .72rem;
    color: var(--col-gray);
    text-align: center;
    border-right: 1px solid var(--col-light);
    line-height: 1.3;
}
.cf-trust-badge:last-child { border-right: none; }
.cf-trust-badge svg { width: 22px; height: 22px; color: var(--col-terra); flex-shrink: 0; }

/* Meta SKU/categorias */
.woocommerce div.product .product_meta {
    font-size: .82rem;
    color: var(--col-gray);
    border-top: 1px solid var(--col-light);
    padding-top: 16px;
}
.woocommerce div.product .product_meta span { display: block; margin-bottom: 4px; }
.woocommerce div.product .product_meta a { color: var(--col-terra); text-decoration: none; }
.woocommerce div.product .product_meta a:hover { text-decoration: underline; }

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.woocommerce-tabs.wc-tabs-wrapper { border-top: 2px solid var(--col-light); padding-top: 0; }
.woocommerce-tabs .tabs.wc-tabs {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid var(--col-light);
    list-style: none;
}
.woocommerce-tabs .tabs.wc-tabs li { margin: 0; border: none; background: none; }
.woocommerce-tabs .tabs.wc-tabs li a {
    display: block;
    padding: 16px 28px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--col-gray);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
    letter-spacing: .02em;
}
.woocommerce-tabs .tabs.wc-tabs li.active a,
.woocommerce-tabs .tabs.wc-tabs li a:hover { color: var(--col-terra); border-bottom-color: var(--col-terra); }
.woocommerce-tabs .panel { padding: 36px 0; font-size: .95rem; color: #444; line-height: 1.8; }
.woocommerce-tabs .panel h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; color: var(--col-black); }
.woocommerce-tabs .panel table.shop_attributes th { font-weight: 600; color: var(--col-black); padding: 10px 16px 10px 0; vertical-align: top; white-space: nowrap; }
.woocommerce-tabs .panel table.shop_attributes td { padding: 10px 0; color: #555; }
.woocommerce-tabs .panel table.shop_attributes tr { border-bottom: 1px solid var(--col-light); }

/* Reviews */
#reviews .woocommerce-Reviews-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.comment-form-rating .stars a { color: #ccc; font-size: 1.4rem; }
.comment-form-rating .stars a:hover,
.comment-form-rating .stars.selected a { color: var(--col-terra); }
#review_form .comment-form-comment textarea {
    border: 2px solid var(--col-light);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    resize: vertical;
    font-family: var(--font);
    font-size: .95rem;
}
#review_form input#submit {
    background: var(--col-terra);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
#review_form input#submit:hover { background: #a8481a; }

/* ── Produtos relacionados ───────────────────────────────────────────────── */
.related.products { padding-top: 60px; border-top: 2px solid var(--col-light); }
.related.products > h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--col-black);
    margin-bottom: 32px;
    text-align: center;
}
.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Responsivo produto ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
        grid-template-areas: "gallery" "summary" "tabs" "related";
        gap: 32px 0;
        padding: 24px 0 60px;
    }
    .woocommerce div.product .woocommerce-product-gallery { position: static; }
    .related.products ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .woocommerce div.product form.cart { flex-direction: column; }
    .woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; }
    .related.products ul.products { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ETAPA 4 — CARRINHO & CHECKOUT
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Título de página (cart / checkout) ─────────────────────────────────── */
.cf-page-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--col-black);
    margin: 40px 0 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--col-light);
}

/* ── Mensagens / notices ─────────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--col-terra) !important;
    border-radius: 0 8px 8px 0;
    font-size: .9rem;
    padding: 14px 20px 14px 48px;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--col-terra) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   CARRINHO
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tabela do carrinho */
table.shop_table.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: .95rem;
}
table.shop_table.woocommerce-cart-form__contents thead th {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--col-gray);
    font-weight: 600;
    padding: 0 12px 14px;
    border-bottom: 2px solid var(--col-light);
    text-align: left;
}
table.shop_table.woocommerce-cart-form__contents thead th.product-remove { width: 40px; }
table.shop_table.woocommerce-cart-form__contents thead th.product-thumbnail { width: 90px; }

table.shop_table.woocommerce-cart-form__contents tbody tr.cart_item {
    border-bottom: 1px solid var(--col-light);
    transition: background .15s;
}
table.shop_table.woocommerce-cart-form__contents tbody tr.cart_item:hover { background: #faf8f6; }

table.shop_table.woocommerce-cart-form__contents td {
    padding: 20px 12px;
    vertical-align: middle;
}

/* Remover item */
td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--col-light);
    color: var(--col-gray) !important;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background .2s, color .2s;
    line-height: 1;
}
td.product-remove a.remove:hover { background: var(--col-terra); color: #fff !important; }

/* Imagem */
td.product-thumbnail a { display: block; width: 72px; }
td.product-thumbnail img { border-radius: 8px; object-fit: cover; width: 72px; height: 72px; background: #f8f5f2; }

/* Nome */
td.product-name a {
    color: var(--col-black);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}
td.product-name a:hover { color: var(--col-terra); }
td.product-name .variation { font-size: .82rem; color: var(--col-gray); margin-top: 4px; }

/* Preço */
td.product-price, td.product-subtotal {
    font-weight: 600;
    color: var(--col-black);
}
td.product-subtotal { color: var(--col-terra); font-weight: 700; }

/* Quantidade na tabela */
td.product-quantity .qty {
    width: 64px;
    text-align: center;
    border: 2px solid var(--col-light);
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 600;
    padding: 8px 4px;
    color: var(--col-black);
}

/* Ações do carrinho */
tr.cart-subtotal td, tr.order-total td { padding: 12px 0; }
.woocommerce-cart-form__contents td.actions {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 2px solid var(--col-light);
}
/* Cupom */
.woocommerce-cart-form__contents .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}
.woocommerce-cart-form__contents .coupon label { display: none; }
.woocommerce-cart-form__contents .coupon input#coupon_code {
    border: 2px solid var(--col-light);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .88rem;
    font-family: var(--font);
    color: var(--col-black);
    width: 200px;
    transition: border-color .2s;
}
.woocommerce-cart-form__contents .coupon input#coupon_code:focus {
    outline: none;
    border-color: var(--col-terra);
}
.woocommerce-cart-form__contents .coupon button[name="apply_coupon"] {
    background: var(--col-black);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background .2s;
}
.woocommerce-cart-form__contents .coupon button[name="apply_coupon"]:hover { background: var(--col-terra); }

/* Botão atualizar carrinho */
button[name="update_cart"] {
    background: transparent;
    border: 2px solid var(--col-light);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--col-gray);
    cursor: pointer;
    font-family: var(--font);
    transition: border-color .2s, color .2s;
}
button[name="update_cart"]:hover { border-color: var(--col-black); color: var(--col-black); }

/* Totais do carrinho */
.cart-collaterals {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}
.cart-collaterals .cart_totals {
    width: 420px;
    background: #f8f5f2;
    border-radius: 14px;
    padding: 28px 32px;
}
.cart-collaterals .cart_totals h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--col-black);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #ecddd3;
}
.cart-collaterals table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart-collaterals table.shop_table tr { border-bottom: 1px solid #ecddd3; }
.cart-collaterals table.shop_table th {
    font-size: .85rem;
    font-weight: 600;
    color: var(--col-gray);
    padding: 12px 0;
    text-align: left;
    width: 40%;
}
.cart-collaterals table.shop_table td {
    padding: 12px 0;
    text-align: right;
    font-weight: 600;
    color: var(--col-black);
    font-size: .95rem;
}
.cart-collaterals table.shop_table tr.order-total th,
.cart-collaterals table.shop_table tr.order-total td {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--col-black);
    padding-top: 16px;
    border-bottom: none;
}
.cart-collaterals table.shop_table tr.order-total td { color: var(--col-terra); font-size: 1.3rem; }

/* Botão ir para checkout */
.wc-proceed-to-checkout { margin-top: 4px; }
.wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    background: var(--col-terra);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.wc-proceed-to-checkout a.checkout-button:hover { background: #a8481a; transform: translateY(-1px); }

/* Frete calculador */
.cart_totals .shipping-calculator-button {
    font-size: .82rem;
    color: var(--col-terra);
    text-decoration: underline;
    cursor: pointer;
}
.cart_totals .shipping-calculator-form { margin-top: 12px; }
.cart_totals .shipping-calculator-form input,
.cart_totals .shipping-calculator-form select {
    border: 2px solid var(--col-light);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: .88rem;
    width: 100%;
    margin-bottom: 8px;
    font-family: var(--font);
}
.cart_totals .shipping-calculator-form button {
    background: var(--col-black);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background .2s;
}
.cart_totals .shipping-calculator-form button:hover { background: var(--col-terra); }

/* Carrinho vazio */
.woocommerce-cart .cart-empty {
    text-align: center;
    font-size: 1.1rem;
    color: var(--col-gray);
    padding: 60px 0 20px;
}
.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: 16px;
}
.woocommerce-cart .return-to-shop .button {
    background: var(--col-terra);
    color: #fff;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.woocommerce-cart .return-to-shop .button:hover { background: #a8481a; }

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════════════════════════════════════════ */

/* Layout 2 colunas */
@media (min-width: 861px) {
    form.checkout.woocommerce-checkout {
        display: grid;
        grid-template-columns: 1fr 400px;
        column-gap: 48px;
        align-items: start;
    }
    form.checkout.woocommerce-checkout #customer_details {
        grid-column: 1;
        grid-row: 1;
    }
    form.checkout.woocommerce-checkout #order_review_heading {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
    }
    form.checkout.woocommerce-checkout #order_review {
        grid-column: 2;
        grid-row: 2;
        position: sticky;
        top: 100px;
    }
}

/* Billing / shipping cols: full width dentro da coluna */
#customer_details .col-1,
#customer_details .col-2 {
    float: none;
    width: 100%;
    padding: 0;
}

/* Heading do resumo */
#order_review_heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--col-black);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--col-light);
    margin-bottom: 0;
}

/* Campos do formulário */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}
.woocommerce-checkout .form-row label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--col-black);
    margin-bottom: 6px;
    letter-spacing: .02em;
}
.woocommerce-checkout .form-row label .required { color: var(--col-terra); margin-left: 2px; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    border: 2px solid var(--col-light);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .95rem;
    font-family: var(--font);
    color: var(--col-black);
    background: #fff;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--col-terra);
    box-shadow: 0 0 0 3px rgba(192,85,26,.08);
}
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select { border-color: #e05c5c; }
.woocommerce-checkout .form-row.woocommerce-validated input { border-color: #5aac7a; }

/* Campos lado a lado */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    float: none;
    width: 100%;
    clear: none;
}
@media (min-width: 600px) {
    .woocommerce-checkout .form-row-first { float: left; width: calc(50% - 8px); }
    .woocommerce-checkout .form-row-last  { float: right; width: calc(50% - 8px); }
}

/* Headings de seção */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--col-black);
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--col-light);
}

/* Checkbox "endereço diferente" */
.woocommerce-checkout #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: .9rem;
}
.woocommerce-checkout #ship-to-different-address input[type="checkbox"] { width: auto; }

/* Resumo do pedido */
#order_review {
    background: #f8f5f2;
    border-radius: 14px;
    padding: 24px 28px;
}
table.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    margin-bottom: 0;
}
table.shop_table.woocommerce-checkout-review-order-table thead th {
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .08em;
    color: var(--col-gray);
    font-weight: 600;
    padding: 0 0 10px;
    border-bottom: 2px solid #ecddd3;
}
table.shop_table.woocommerce-checkout-review-order-table .cart_item td {
    padding: 12px 0;
    border-bottom: 1px solid #ecddd3;
    vertical-align: top;
}
table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name {
    font-weight: 600;
    color: var(--col-black);
}
table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name .product-quantity {
    color: var(--col-gray);
    font-weight: 400;
    font-size: .82rem;
}
table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-total {
    text-align: right;
    font-weight: 700;
    color: var(--col-black);
}
table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal td,
table.shop_table.woocommerce-checkout-review-order-table .tax-rate td,
table.shop_table.woocommerce-checkout-review-order-table .shipping td {
    padding: 10px 0;
    border-bottom: 1px solid #ecddd3;
    font-size: .88rem;
}
table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal th,
table.shop_table.woocommerce-checkout-review-order-table .shipping th { color: var(--col-gray); font-weight: 500; }
table.shop_table.woocommerce-checkout-review-order-table .shipping td { text-align: right; }
table.shop_table.woocommerce-checkout-review-order-table .order-total th,
table.shop_table.woocommerce-checkout-review-order-table .order-total td {
    padding: 14px 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--col-black);
    border-bottom: none;
}
table.shop_table.woocommerce-checkout-review-order-table .order-total td { color: var(--col-terra); text-align: right; font-size: 1.25rem; }

/* Métodos de pagamento */
#payment {
    background: #fff;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    border: 2px solid #ecddd3;
}
#payment .wc_payment_methods { list-style: none; padding: 0; margin: 0; }
#payment .wc_payment_methods li.wc_payment_method {
    border-bottom: 1px solid var(--col-light);
}
#payment .wc_payment_methods li.wc_payment_method:last-child { border-bottom: none; }
#payment .wc_payment_methods label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: .9rem;
    color: var(--col-black);
    transition: background .15s;
}
#payment .wc_payment_methods label:hover { background: #faf8f6; }
#payment .wc_payment_methods input[type="radio"] { accent-color: var(--col-terra); }
#payment .wc_payment_methods li img { height: 24px; width: auto; }
#payment .payment_box {
    background: #faf8f6;
    padding: 12px 18px;
    font-size: .88rem;
    color: var(--col-gray);
    border-top: 1px solid var(--col-light);
}

/* Botão fazer pedido */
#payment #place_order {
    display: block;
    width: 100%;
    background: var(--col-terra);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 17px;
    cursor: pointer;
    font-family: var(--font);
    margin-top: 16px;
    transition: background .2s, transform .15s;
}
#payment #place_order:hover { background: #a8481a; transform: translateY(-1px); }
#payment #place_order:active { transform: translateY(0); }

/* Selo de segurança */
.cf-checkout-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--col-gray);
    margin-top: 12px;
    text-align: center;
}
.cf-checkout-seal svg { width: 16px; height: 16px; color: #5aac7a; flex-shrink: 0; }

/* ── Responsivo carrinho ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
    table.shop_table.woocommerce-cart-form__contents thead { display: none; }
    table.shop_table.woocommerce-cart-form__contents tbody tr.cart_item {
        display: grid;
        grid-template-columns: 40px 80px 1fr;
        grid-template-areas: "remove thumb name" "remove thumb price" "remove thumb qty" "remove thumb sub";
        gap: 0 12px;
        padding: 16px 0;
        border-bottom: 1px solid var(--col-light);
    }
    table.shop_table.woocommerce-cart-form__contents tbody tr.cart_item td { padding: 2px 0; border: none; }
    td.product-remove { grid-area: remove; display: flex; align-items: center; }
    td.product-thumbnail { grid-area: thumb; }
    td.product-name { grid-area: name; font-weight: 700; }
    td.product-price { grid-area: price; font-size: .85rem; color: var(--col-gray); }
    td.product-quantity { grid-area: qty; }
    td.product-subtotal { grid-area: sub; font-weight: 700; color: var(--col-terra); }
    .cart-collaterals { justify-content: stretch; }
    .cart-collaterals .cart_totals { width: 100%; }
    .woocommerce-cart-form__contents td.actions { flex-direction: column; align-items: stretch; }
    .woocommerce-cart-form__contents .coupon { flex-wrap: wrap; }
    .woocommerce-cart-form__contents .coupon input#coupon_code { width: 100%; }
}

/* ── Responsivo checkout ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
    form.checkout.woocommerce-checkout { display: block; }
    #order_review_heading { margin-top: 40px; }
    #order_review { position: static; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ETAPA 5 — RODAPÉ
   ═══════════════════════════════════════════════════════════════════════════ */

/* Oculta rodapé padrão do Storefront (substituído por footer.php) */
.site-footer { display: none !important; }

/* ── Estrutura geral ─────────────────────────────────────────────────────── */
.cf-footer {
    background: #111;
    color: #999;
    margin-top: 80px;
}

/* ── Área principal (4 colunas) ─────────────────────────────────────────── */
.cf-footer__main {
    padding: 64px 0 56px;
    border-bottom: 1px solid #2a2a2a;
}
.cf-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Coluna da marca ─────────────────────────────────────────────────────── */
.cf-footer__col--brand {}
.cf-footer__logo-link { display: inline-block; margin-bottom: 16px; }
.cf-footer__logo-link img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .85;
}
.cf-footer__logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}
.cf-footer__desc {
    font-size: .88rem;
    line-height: 1.8;
    color: #777;
    margin-bottom: 24px;
    max-width: 280px;
}
.cf-footer__social {
    display: flex;
    gap: 10px;
}
.cf-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #2d2d2d;
    border-radius: 50%;
    color: #888;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.cf-footer__social-link:hover {
    border-color: var(--col-terra);
    color: var(--col-terra);
    background: rgba(192,85,26,.08);
}
.cf-footer__social-link svg { width: 15px; height: 15px; }

/* ── Headings e links ────────────────────────────────────────────────────── */
.cf-footer__heading {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    margin: 0 0 20px;
}
.cf-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cf-footer__links li { margin-bottom: 10px; }
.cf-footer__links a {
    color: #777;
    font-size: .88rem;
    text-decoration: none;
    transition: color .2s;
    line-height: 1.4;
}
.cf-footer__links a:hover { color: var(--col-terra); }

/* ── Coluna de contato ───────────────────────────────────────────────────── */
.cf-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cf-footer__contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.cf-footer__contact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--col-terra);
}
.cf-footer__contact a,
.cf-footer__contact span {
    color: #777;
    font-size: .88rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color .2s;
}
.cf-footer__contact a:hover { color: var(--col-terra); }

/* ── Barra inferior ──────────────────────────────────────────────────────── */
.cf-footer__bottom {
    padding: 20px 0;
    background: #0d0d0d;
}
.cf-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cf-footer__copy {
    font-size: .8rem;
    color: #555;
    margin: 0;
    line-height: 1;
}
.cf-footer__copy strong { color: #777; font-weight: 600; }
.cf-footer__payments {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cf-pay-icon {
    height: 22px;
    width: auto;
    border-radius: 3px;
    opacity: .55;
    transition: opacity .2s;
}
.cf-pay-icon:hover { opacity: .9; }

/* ── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .cf-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
    }
    .cf-footer__col--brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0 48px;
        align-items: start;
    }
    .cf-footer__logo-link { grid-column: 1; grid-row: 1; }
    .cf-footer__desc      { grid-column: 1; grid-row: 2; }
    .cf-footer__social    { grid-column: 2; grid-row: 1 / 3; align-self: center; flex-direction: column; }
}
@media (max-width: 600px) {
    .cf-footer__main { padding: 48px 0 40px; }
    .cf-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .cf-footer__col--brand { grid-column: auto; display: block; }
    .cf-footer__social { flex-direction: row; }
    .cf-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cf-footer { margin-top: 48px; }
}

/* Centralização do campo de busca no header */
.site-header .widget_product_search,
.site-header form.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
}

.site-header .search-field {
    vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARROSSÉIS MOBILE — Pilares, Categorias, Produtos (transform, sem scroll)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

  /* ── Pilares ─────────────────────────────────────────────────────────────── */
  .cf-pillars {
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
  }
  .cf-pillars .cf-container {
    display: flex;
    gap: 0;
    transition: transform 0.45s ease;
    will-change: transform;
    position: relative;
  }
  .cf-pillars .cf-pillar {
    flex: 0 0 85vw;
    padding: 16px 24px;
  }

  /* ── Categorias ──────────────────────────────────────────────────────────── */
  .cf-section--cats {
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
  }
  .cf-cats-grid {
    display: flex;
    gap: 12px;
    padding: 4px 16px 12px;
    transition: transform 0.45s ease;
    will-change: transform;
    position: relative;
  }
  .cf-cats-grid .cf-cat-card { flex: 0 0 60vw; }

  /* ── Vitrine de produtos ─────────────────────────────────────────────────── */
  .cf-section--products {
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
  }
  .cf-products-grid {
    display: flex;
    gap: 12px;
    padding: 4px 16px 12px;
    transition: transform 0.45s ease;
    will-change: transform;
    position: relative;
  }
  .cf-products-grid .cf-product-card { flex: 0 0 72vw; }

}


/* ═══════════════════════════════════════════════════════════════════════════
   ETAPA 6 — REFINAMENTOS DE DESIGN + LOJA (SHOP ARCHIVE)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tipografia premium: Cormorant em títulos principais ─────────────────── */
.cf-duo-banner__title,
.cf-newsletter__title,
.related.products > h2,
.woocommerce-tabs .panel h2,
.cf-page-title,
#order_review_heading {
  font-family: var(--font-display);
}

/* Hero: peso e espaçamento refinados com Cormorant */
.cf-hero__title {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cf-section__title {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.cf-editorial__title {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* ── Sombras refinadas ───────────────────────────────────────────────────── */
.cf-product-card {
  box-shadow: var(--shadow-1);
}
.cf-product-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.cf-cat-card {
  box-shadow: var(--shadow-1);
}
.cf-cat-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

/* ── Botões: raio ligeiramente maior, mais modernos ─────────────────────── */
.cf-btn {
  border-radius: 3px;
  letter-spacing: 0.09em;
}

/* ── Cartão de produto: padding e detalhe de borda superior ─────────────── */
.cf-product-card__body {
  padding: 18px 16px 16px;
  border-top: 2px solid var(--col-gray-3);
}

/* ── Search focus state ─────────────────────────────────────────────────── */
.cf-search:focus-within {
  border-color: var(--col-terra);
  box-shadow: 0 0 0 3px rgba(192,85,26,.10);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOJA — WooCommerce Shop / Archive (listagem de produtos)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Wrapper da página de loja */
.woocommerce-page .site-content,
.woocommerce-page #content {
  padding: 0;
}

/* Área de conteúdo: max-width + padding */
.woocommerce-page .col-full,
.woocommerce.archive .col-full {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Cabeçalho da loja (título + filtros) ───────────────────────────────── */
.woocommerce-products-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--col-gray-3);
  margin-bottom: 32px;
}

.woocommerce-products-header__title.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--col-black);
  margin: 0 0 8px;
}

/* ── Barra de ordenação / resultado ──────────────────────────────────────── */
.woocommerce-ordering,
.woocommerce-result-count {
  margin-bottom: 28px;
}

.woocommerce-result-count {
  font-size: 0.82rem;
  color: var(--col-gray-4);
  font-weight: 500;
  margin-top: 6px;
}

.woocommerce-ordering select {
  border: 1.5px solid var(--col-gray-3);
  border-radius: var(--radius);
  padding: 9px 36px 9px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--col-black);
  background: var(--col-white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23606060' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  cursor: pointer;
  transition: border-color var(--ease);
  outline: none;
}

.woocommerce-ordering select:focus {
  border-color: var(--col-terra);
  box-shadow: 0 0 0 3px rgba(192,85,26,.08);
}

/* ── Grid de produtos da loja ────────────────────────────────────────────── */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}

@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Card de produto na loja ─────────────────────────────────────────────── */
.woocommerce ul.products li.product {
  background: var(--col-white);
  border: 1px solid var(--col-gray-3);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--ease), transform var(--ease);
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

/* Imagem do produto */
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform var(--ease-slow);
  background: var(--col-gray-1);
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.04);
}

/* Link da imagem: overflow hidden */
.woocommerce ul.products li.product > a:first-child {
  overflow: hidden;
  display: block;
}

/* Corpo do card */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--col-black);
  line-height: 1.4;
  margin: 0 0 6px;
  padding: 14px 14px 0;
}

.woocommerce ul.products li.product .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--col-black);
  padding: 0 14px;
  margin: 0 0 12px;
  display: block;
}

.woocommerce ul.products li.product .price del {
  color: var(--col-gray-4);
  font-weight: 400;
  font-size: 0.85rem;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--col-terra);
}

/* Botão add to cart */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block;
  margin: 0 14px 14px;
  padding: 10px 16px;
  background: var(--col-black);
  color: var(--col-white);
  border: 2px solid var(--col-black);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  margin-top: auto;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--col-terra);
  border-color: var(--col-terra);
  color: var(--col-white);
}

/* Badge sale na loja */
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--col-black);
  color: var(--col-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  min-height: auto;
  min-width: auto;
  line-height: 1.5;
  margin: 0;
}

/* ── Navegação de páginas (paginação) ──────────────────────────────────── */
.woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 60px;
  justify-content: center;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--col-gray-3);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--col-black);
  text-decoration: none;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}

.woocommerce-pagination ul li a:hover {
  border-color: var(--col-terra);
  color: var(--col-terra);
}

.woocommerce-pagination ul li span.current {
  background: var(--col-black);
  border-color: var(--col-black);
  color: var(--col-white);
}

/* ── Category header (archive term) ─────────────────────────────────────── */
.term-description {
  font-size: 0.92rem;
  color: var(--col-gray-5);
  line-height: 1.7;
  max-width: 600px;
  margin: 8px 0 0;
}

/* ── Notices de loja ─────────────────────────────────────────────────────── */
.woocommerce-info,
.woocommerce-message {
  background: var(--col-terra-lt);
  border-color: var(--col-terra);
  color: var(--col-black);
}

/* ── Sem produtos ────────────────────────────────────────────────────────── */
.woocommerce-info.woocommerce-no-products-found {
  text-align: center;
  padding: 60px 20px;
  font-size: 1rem;
  background: var(--col-gray-1);
  border: none;
  border-radius: var(--radius);
}

/* ── prefers-reduced-motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cf-product-card,
  .cf-cat-card,
  .cf-btn,
  .cf-hero__slide,
  .cf-editorial__img img,
  .woocommerce ul.products li.product {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Micro-detalhes: scrollbar custom ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--col-gray-1); }
::-webkit-scrollbar-thumb { background: var(--col-gray-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--col-gray-4); }

/* ── Focus ring acessivel ───────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--col-terra);
  outline-offset: 3px;
}

/* ── Print: ocultar UI chrome ───────────────────────────────────────────── */
@media print {
  .cf-header, .cf-announce, .cf-footer, .cf-nav { display: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CORREÇÃO — MENU MOBILE: contraste de texto
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {

  /* Fundo do drawer: charcoal quente, ligeiramente mais escuro */
  .cf-nav {
    background: #181510;
  }

  .cf-nav__mobile-header {
    background: #181510;
    border-bottom-color: rgba(255,255,255,0.14);
  }

  /* Título "Menu" — branco puro */
  .cf-nav__mobile-title {
    color: #FFFFFF;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
  }

  /* Botão fechar — mais visível */
  .cf-nav__close {
    color: rgba(255,255,255,0.85);
  }
  .cf-nav__close:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,0.12);
  }

  /* Divisórias entre itens — mais visíveis */
  .cf-nav__list > li {
    border-bottom-color: rgba(255,255,255,0.12);
  }

  /* Links principais — branco puro, peso aumentado */
  .cf-nav__list > li > a {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  /* Estado ativo / hover */
  .cf-nav__list > li > a:hover,
  .cf-nav__list > li.current-menu-item > a {
    color: #FFFFFF;
    background: rgba(255,255,255,0.10);
    border-left-color: var(--col-terra);
  }

  /* Outlet — laranja bem vivo */
  .cf-nav__list > li:last-child > a {
    color: #FF8C55;
  }

  /* Sub-menus: off-white quente bem legível */
  .cf-nav__list .sub-menu {
    border-left-color: rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.25);
  }

  .cf-nav__list .sub-menu li a {
    color: #D8C8BC;
    font-size: 0.88rem;
    font-weight: 500;
  }

  .cf-nav__list .sub-menu li a:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,0.08);
    border-left-color: var(--col-terra);
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   FIX DEFINITIVO — MENU MOBILE cores com !important
   (sobrepõe inline styles do Storefront Customizer)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {

  .cf-nav,
  .cf-nav__mobile-header {
    background: #181510 !important;
  }

  .cf-nav__mobile-title {
    color: #FFFFFF !important;
  }

  .cf-nav__close {
    color: rgba(255,255,255,0.85) !important;
  }

  /* Links do menu: ID selector + span = maximo override */
  #cfNav .cf-nav__list > li > a,
  #cfNav .cf-nav__list > li > a:link,
  #cfNav .cf-nav__list > li > a:visited,
  #cfNav .cf-nav__list > li > a > span,
  #cfNav .cf-nav__list > li > a * {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    opacity: 1 !important;
  }

  #cfNav .cf-nav__list > li > a:hover,
  #cfNav .cf-nav__list > li > a:hover > span,
  #cfNav .cf-nav__list > li.current-menu-item > a,
  #cfNav .cf-nav__list > li.current-menu-item > a > span {
    color: #FFFFFF !important;
  }

  /* Outlet */
  #cfNav .cf-nav__list > li:last-child > a,
  #cfNav .cf-nav__list > li:last-child > a:link,
  #cfNav .cf-nav__list > li:last-child > a:visited,
  #cfNav .cf-nav__list > li:last-child > a > span {
    color: #FF8C55 !important;
  }

  /* Sub-menu */
  #cfNav .cf-nav__list .sub-menu li a,
  #cfNav .cf-nav__list .sub-menu li a:link,
  #cfNav .cf-nav__list .sub-menu li a:visited,
  #cfNav .cf-nav__list .sub-menu li a > span {
    color: #D8C8BC !important;
    opacity: 1 !important;
  }

  #cfNav .cf-nav__list .sub-menu li a:hover,
  #cfNav .cf-nav__list .sub-menu li a:hover > span {
    color: #FFFFFF !important;
  }
}
