/* =========================================================
   ZIG ZAG — Bazar e Armarinhos
   Tokens
   Cores: #0E3358 (azul profundo / header, footer)
          #1D5C9B (azul principal)
          #3FA0DE (azul claro / raios, hovers)
          #F4F7FA (quase-branco / fundo de seção)
          #F2C879 (dourado carretel / accent primário)
          #E15252 (coral tesoura / accent de ação)
   Tipografia: Baloo 2 (display, redonda e brincalhona — ecoa o
   letreiro do banner) + Nunito Sans (corpo, legível e cordial)
   Assinatura: costura em zigue-zague usada como divisor entre
   seções — o nome da loja virando elemento gráfico literal.
   ========================================================= */

:root{
  --blue-deep: #0E3358;
  --blue-main: #1D5C9B;
  --blue-light: #3FA0DE;
  --blue-pale: #EAF3FA;
  --off-white: #F4F7FA;
  --gold: #F2C879;
  --gold-deep: #D8A63D;
  --coral: #E15252;
  --ink: #16283B;
  --white: #FFFFFF;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px -14px rgba(14,51,88,.35);
  --wrap: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
body.cart-open{ overflow:hidden; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }

.wrap{
  width:100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}


@media (max-width: 900px){
  .hero-art{ height: 340px; margin-top: 8px; }
  .hero-character-yarn{ width:min(330px, 82%); max-height:340px; }
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------- BUTTONS ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight:600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 20px -8px rgba(225,82,82,.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(225,82,82,.65); }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block{ width:100%; }

/* ---------------- HEADER ---------------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 60;
  background: var(--blue-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  gap: 24px;
  height: 74px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-right: auto;
}
.brand-text{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .2px;
}
.brand-text b{ color: var(--gold); font-weight: 800; }

.main-nav{
  display:flex;
  gap: 28px;
}
.main-nav a{
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: .93rem;
  padding: 8px 2px;
  position: relative;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after{ transform: scaleX(1); }
.main-nav a:hover{ color: var(--white); }

.header-actions{ display:flex; align-items:center; gap: 6px; }
.icon-btn{
  background: transparent;
  border: none;
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  position: relative;
  transition: background .15s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.1); }
.cart-count{
  position:absolute;
  top:2px; right:2px;
  background: var(--coral);
  color:#fff;
  font-size: .65rem;
  font-weight:800;
  min-width:16px; height:16px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  padding: 0 3px;
}
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none;
  width:40px; height:40px;
  align-items:center; justify-content:center;
}
.hamburger span{
  width:22px; height:2px; background:#fff; border-radius:2px;
}

.search-bar{
  max-height:0;
  overflow:hidden;
  background: var(--blue-main);
  transition: max-height .25s ease;
}
.search-bar.open{ max-height:70px; }
.search-bar .wrap{ padding: 14px 24px; }
#searchInput{
  width:100%;
  border:none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .95rem;
  font-family: var(--font-body);
  outline: none;
}

/* ---------------- HERO ---------------- */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-main) 55%, var(--blue-light) 130%);
  padding: 76px 0 0;
}
.hero-rays{
  position:absolute;
  inset: -20% -20% -20% -20%;
  background: repeating-conic-gradient(from 0deg at 20% 40%,
    rgba(255,255,255,.05) 0deg 6deg,
    rgba(255,255,255,0) 6deg 12deg);
  pointer-events: none;
}
.hero-inner{
  position: relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
  gap: 32px;
  padding-bottom: 64px;
}
.eyebrow{
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.hero-copy h1{
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-copy h1 .highlight{ color: var(--gold); }
.hero-sub{
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 34px; }
.hero-badges{
  display:flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-badges li{
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 700;
  padding-left: 20px;
  position: relative;
}
.hero-badges li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color: var(--gold);
}

/* hero art: hand-built spool + yarn balls, no external images */
.hero-art{
  position: relative;
  height: 420px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-character-yarn{
  display:block;
  width:min(430px, 92%);
  max-height:430px;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 18px 22px rgba(8,36,66,.22));
  transform: translateY(8px);
}
.spool{
  position:absolute;
  right: 18%;
  top: 6%;
  width: 130px;
}
.spool-top, .spool-bottom{
  width: 130px; height: 26px;
  background: var(--gold);
  border-radius: 6px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12);
}
.spool-body{
  width: 84px;
  height: 150px;
  margin: 0 auto;
  background: repeating-linear-gradient(180deg, var(--blue-deep) 0 8px, var(--blue-main) 8px 16px);
  position: relative;
  overflow: hidden;
}
.spool-thread{
  position:absolute;
  right:-6px; top: 40%;
  width: 60px; height: 6px;
  background: var(--blue-deep);
  border-radius: 4px;
  transform: rotate(18deg);
}
.spool-tail{
  position:absolute;
  right: 6px; bottom: 20px;
  width: 3px; height: 90px;
  background: var(--blue-deep);
  border-radius: 3px;
  transform: rotate(24deg);
}
.yarn-ball{
  position:absolute;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}
.yarn-ball::after{
  content:"";
  position:absolute; inset: 10%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.18) 0 2px, transparent 2px 7px);
}
.ball-a{ width: 150px; height: 150px; left: 4%; bottom: 4%; background: radial-gradient(circle at 35% 30%, #F6D68F, var(--gold-deep)); }
.ball-b{ width: 96px; height: 96px; left: 34%; bottom: -2%; background: radial-gradient(circle at 35% 30%, #F08C8C, var(--coral)); }
.ball-c{ width: 70px; height: 70px; right: 6%; bottom: 16%; background: radial-gradient(circle at 35% 30%, #8FCDB0, #4E9C7A); }

.zigzag-divider{
  display:block;
  width:100%;
  height: 34px;
  position: relative;
}

/* ---------------- CATEGORY STRIP ---------------- */
.cat-strip{ background: var(--off-white); padding: 46px 0 10px; }


.cat-barbante{ border-top-color: var(--gold-deep); }
.cat-linha{ border-top-color: var(--blue-main); }
.cat-novelo{ border-top-color: var(--coral); }
.cat-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 34px -14px rgba(14,51,88,.4); }
.cat-icon{ font-size: 2rem; }
.cat-card h3{ font-size: 1.3rem; margin: 12px 0 6px; color: var(--blue-deep); }
.cat-card p{ color: #5a6b7d; font-size: .92rem; line-height:1.5; }

/* ---------------- PRODUCT SECTIONS ---------------- */
.product-section{ padding: 68px 0; }
.product-section.alt{ background: var(--blue-pale); }
.section-head{ margin-bottom: 34px; }
.eyebrow-dark{ color: var(--blue-main); }
.section-head h2{ font-size: 2rem; color: var(--blue-deep); }

.product-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card{
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display:flex;
  flex-direction:column;
  transition: transform .2s ease;
}
.product-card:hover{ transform: translateY(-4px); }
.product-thumb{
  height: 170px;
  position: relative;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}

.product-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:10px;
  margin:0 auto;
}
.ci-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:inherit;
  margin:0 auto;
}
.product-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.thumb-ball{
  width: 92px; height: 92px; border-radius: 50%;
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.18), inset 6px 8px 14px rgba(255,255,255,.25);
  background-image:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.22) 0 2px, transparent 2px 8px);
}
.thumb-spool{
  width: 60px; height: 92px;
  border-radius: 8px;
  background-repeat: repeat;
  background-size: 100% 12px;
  box-shadow: var(--shadow-card);
}
.product-body{
  padding: 16px 18px 18px;
  display:flex;
  flex-direction:column;
  gap: 6px;
  flex:1;
}
.product-body h4{ font-size: 1.05rem; color: var(--blue-deep); font-family: var(--font-display); }
.product-body .desc{ font-size: .88rem; color: #63748a; line-height:1.4; flex:1; }
.product-meta{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  margin-top: 8px;
}
.product-price{ font-family: var(--font-display); font-weight:700; color: var(--coral); font-size: 1.15rem; }
.product-unit{ font-size: .72rem; color: #8ea0b4; }
.add-btn{
  margin-top: 12px;
  width:100%;
  padding: 10px;
  border-radius: 999px;
  border: 2px solid var(--blue-main);
  background: transparent;
  color: var(--blue-main);
  font-weight: 800;
  font-family: var(--font-display);
  transition: background .18s ease, color .18s ease;
}
.add-btn:hover{ background: var(--blue-main); color:#fff; }
.add-btn.added{ background: var(--coral); border-color: var(--coral); color:#fff; }

/* section divider (signature zigzag stitch) */
.section-divider{ background: var(--off-white); line-height:0; }
.product-section.alt + .section-divider{ background: var(--blue-pale); }

/* ---------------- STORY / HISTÓRIA ---------------- */
.story{
  position: relative;
  overflow:hidden;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-main) 60%, var(--blue-light) 140%);
  padding: 90px 0;
}
.story-rays{
  position:absolute; inset:-20%;
  background: repeating-conic-gradient(from 20deg at 80% 60%,
    rgba(255,255,255,.05) 0deg 6deg, rgba(255,255,255,0) 6deg 12deg);
}
.story-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items:center;
}
.story-copy .eyebrow{ margin-bottom: 6px; }
.story-copy h2{ color:#fff; font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 20px; }
.story-copy p{ color: rgba(255,255,255,.85); line-height:1.65; font-size: 1.02rem; max-width: 520px; margin-bottom: 26px; }

.story-art{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  min-height:420px;
}
.story-history-visual{
  width:min(100%,590px);
  display:flex;
  flex-direction:column;
  align-items:center;
}
.story-history-heading{width:100%;text-align:center;margin-bottom:18px}
.story-history-kicker{display:inline-block;color:var(--gold);font-family:var(--font-display);font-weight:800;font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.story-history-heading h3{color:#fff;font-size:clamp(1.5rem,3vw,2rem);margin-bottom:5px}
.story-history-heading p{max-width:520px;margin:0 auto;color:rgba(255,255,255,.78);font-size:.92rem;line-height:1.45}
.story-history-gallery{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px}
.story-history-photo{margin:0;overflow:hidden;border-radius:16px;background:#fff;border:3px solid rgba(255,255,255,.88);box-shadow:0 12px 28px rgba(0,0,0,.20)}
.story-history-photo img{width:100%;aspect-ratio:1.45/1;object-fit:cover;display:block;transition:transform .25s ease}
.story-history-photo:hover img{transform:scale(1.035)}
.story-history-photo figcaption{padding:7px 8px 8px;color:var(--blue-deep);background:#fff;font-size:.68rem;line-height:1.2;font-weight:700;text-align:center}
.story-character-wrap{width:100%;display:flex;justify-content:center}
.story-character{display:block;width:min(100%,520px);height:auto;object-fit:contain;filter:drop-shadow(0 14px 20px rgba(0,0,0,.18));transform:translateY(8px)}
/* ---------------- BENEFITS ---------------- */
.benefits{ background: #fff; padding: 68px 0; }
.benefits-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.benefit{ text-align:center; padding: 0 8px; }
.benefit-icon{ font-size: 2.1rem; display:block; margin-bottom: 12px; }
.benefit h4{ font-size: 1rem; color: var(--blue-deep); margin-bottom: 6px; }
.benefit p{ font-size: .85rem; color: #63748a; line-height:1.5; }

/* ---------------- FOOTER ---------------- */
.site-footer{ background: var(--blue-deep); color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-inner{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p{ margin-top: 10px; font-size: .88rem; color: rgba(255,255,255,.6); max-width: 240px; }
.brand-text.light{ font-size: 1.4rem; }
.footer-social{ display:flex; gap:14px; margin-top: 16px; }
.footer-social a{ font-size: .82rem; font-weight:700; color: var(--gold); }
.footer-col h5{ font-family: var(--font-display); color:#fff; font-size: .92rem; margin-bottom: 14px; }
.footer-col a{ display:block; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.footer-col a:hover{ color: var(--gold); }
.footer-note{ font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.newsletter-form{ display:flex; gap: 8px; }
.newsletter-form input{
  flex:1; min-width:0;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  font-size: .85rem;
}
.newsletter-form button{
  background: var(--coral);
  color:#fff;
  border:none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .85rem;
}
.footer-bottom{ padding: 22px 24px; }
.footer-bottom p{ font-size: .78rem; color: rgba(255,255,255,.45); text-align:center; }

/* ---------------- CART DRAWER ---------------- */
.cart-overlay{
  position: fixed; inset:0;
  background: rgba(14,51,88,.45);
  opacity:0; pointer-events:none;
  transition: opacity .2s ease;
  z-index: 80;
}
.cart-overlay.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position: fixed;
  top:0; right:0;
  height: 100%;
  width: min(380px, 92vw);
  background: #fff;
  z-index: 90;
  transform: translateX(100%);
  transition: transform .25s ease;
  display:flex; flex-direction:column;
  box-shadow: -10px 0 40px rgba(14,51,88,.25);
}
.cart-drawer.open{ transform: translateX(0); }
.cart-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #EBF0F5;
}
.cart-head h3{ color: var(--blue-deep); font-size: 1.2rem; }
.cart-head .icon-btn{ color: var(--blue-deep); }
.cart-items{ flex:1; overflow-y:auto; padding: 16px 22px; display:flex; flex-direction:column; gap:14px; }
.cart-empty{ color:#8ea0b4; font-size:.9rem; text-align:center; margin-top: 40px; }
.cart-item{ display:flex; gap:12px; align-items:center; }
.cart-item .ci-thumb{ width:44px; height:44px; border-radius:50%; flex-shrink:0; box-shadow: inset -4px -5px 10px rgba(0,0,0,.15); }
.cart-item .ci-info{ flex:1; min-width:0; }
.cart-item .ci-info h5{ font-size: .88rem; margin:0 0 2px; color: var(--blue-deep); font-family: var(--font-display); }
.cart-item .ci-info span{ font-size: .78rem; color:#8ea0b4; }
.ci-qty{ display:flex; align-items:center; gap:8px; }
.ci-qty button{ width:22px; height:22px; border-radius:50%; border:1px solid #d8e2ea; background:#fff; font-size:.8rem; line-height:1; }
.ci-remove{ background:none; border:none; color: var(--coral); font-size: .75rem; font-weight:700; margin-left:8px; }
.cart-clear{display:flex;width:100%;align-items:center;justify-content:center;gap:6px;margin:0 0 10px;padding:10px 14px;border:1px solid #E1E7ED;border-radius:10px;background:#fff;color:#6D7782;font-size:.84rem;font-weight:700;cursor:pointer;transition:.2s ease;}
.cart-clear:hover:not(:disabled){border-color:#D7A3A3;background:#FFF8F8;color:#B14E4E;}
.cart-clear:disabled{opacity:.45;cursor:not-allowed;}
.cart-foot{ padding: 18px 22px 24px; border-top: 1px solid #EBF0F5; }
.cart-total{ display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; font-family: var(--font-display); color: var(--blue-deep); }
.cart-total strong{ font-size: 1.2rem; }

/* ---------------- WHATSAPP FAB ---------------- */
.whatsapp-fab{
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height:56px;
  border-radius: 50%;
  background: var(--coral);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  box-shadow: 0 12px 26px -8px rgba(225,82,82,.6);
  z-index: 40;
  transition: transform .2s ease;
}
.whatsapp-fab:hover{ transform: scale(1.08); }


/* ---------------- CONTACT / POLISH ---------------- */
.footer-phone{
  display:inline-block;
  margin-top:10px;
  color:rgba(255,255,255,.82);
  font-weight:800;
  font-size:.9rem;
}
.footer-whatsapp{
  display:inline-flex !important;
  width:max-content;
  padding:10px 16px;
  margin:2px 0 16px;
  border-radius:999px;
  background:var(--coral);
  color:#fff !important;
  font-family:var(--font-display);
  font-weight:700;
}
.footer-whatsapp:hover{ color:#fff !important; transform:translateY(-1px); }
.footer-address{ line-height:1.55; }

.noscript-note{
  position:fixed;
  inset:0 0 auto 0;
  z-index:200;
  padding:12px 18px;
  background:var(--coral);
  color:#fff;
  text-align:center;
  font-weight:700;
}

.product-card:focus-within{
  box-shadow:0 0 0 3px rgba(29,92,155,.18), var(--shadow-card);
}
.color-chip:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:2px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ height: 300px; order:-1; }
  
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .story-inner{ grid-template-columns: 1fr; text-align:center; }
  .story-copy p{ margin-left:auto; margin-right:auto; }
  .story-art{ order:-1; min-height: 300px; }
  .story-character{ width:min(90%, 460px); }
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .main-nav{
    position: fixed;
    top: 74px; left:0; right:0;
    background: var(--blue-deep);
    flex-direction: column;
    padding: 10px 24px 20px;
    gap: 4px;
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .main-nav a{ padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hamburger{ display:flex; }
  .product-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .benefits-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr; }
  .hero-badges{ flex-direction:column; gap:10px; }
  .hero{ padding-top:48px; }
  .hero-inner{ padding-bottom:42px; }
  .hero-copy h1{ font-size:clamp(2.35rem, 13vw, 3.2rem); }
  .hero-sub{ font-size:1rem; }
  .hero-cta .btn{ width:100%; }
  .story{ padding:64px 0; }
  .story-copy p{ font-size:.96rem; }
  .story-art{ min-height:240px; }
  .story-character{ width:92%; }
  .location-info{ padding:26px; }
}

/* Cores dos barbantes Bandeirantes */
.product-colors {
  margin: 12px 0 14px;
  font-size: 0.78rem;
  line-height: 1.35;
}
.product-colors strong {
  display: block;
  margin-bottom: 7px;
}
.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.color-chip {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid #d9e1e8;
  border-radius: 999px;
  background: #f7f9fb;
  color: #334155;
  font-size: 0.7rem;
  line-height: 1.1;
}

.product-thumb .product-photo{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center center;
  margin:0 auto;
}

/* Seleção de cores dos barbantes */
.color-chip {
  cursor: pointer;
  border: 1px solid #d5dde7;
  background: #fff;
  transition: .15s ease;
}
.color-chip:hover {
  border-color: #1769b0;
  transform: translateY(-1px);
}
.color-chip.selected {
  background: #1769b0;
  color: #fff;
  border-color: #1769b0;
  box-shadow: 0 0 0 2px rgba(23,105,176,.15);
}
.selected-color {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1769b0;
  min-height: 18px;
}
.add-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.add-btn.ready {
  opacity: 1;
}

/* Logo oficial da loja */
.brand-logo{
  display:block;
  width:145px;
  height:68px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border-radius:8px;
  padding:3px;
  box-sizing:border-box;
}
.brand{
  display:flex;
  align-items:center;
  margin-right:auto;
  line-height:0;
}
@media (max-width: 760px){
  .brand-logo{
    width:118px;
    height:58px;
    border-radius:7px;
    padding:2px;
  }
}

/* Nosso Local */
.location-section{padding:84px 0;background:#f4f7fa}.location-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:34px;align-items:stretch}.location-info{background:#fff;border-radius:24px;padding:34px;box-shadow:0 14px 35px rgba(19,54,91,.10);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.location-pin{font-size:2.5rem;margin-bottom:14px}.location-info h3{margin:0 0 12px;color:#123b65;font-size:1.55rem}.location-address{margin:0 0 18px;color:#183f65;font-weight:800;line-height:1.55}.location-text{margin:0 0 24px;color:#5c7085;line-height:1.65}.location-map{min-height:420px;overflow:hidden;border-radius:24px;box-shadow:0 14px 35px rgba(19,54,91,.12)}.location-map iframe{display:block;width:100%;height:100%;min-height:420px;border:0}@media(max-width:820px){.location-grid{grid-template-columns:1fr}.location-map,.location-map iframe{min-height:340px}}

/* Redes sociais do rodapé */
.footer-social{display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
.footer-social a{display:inline-flex;align-items:center;gap:6px;}

/* ---------------- PROFESSIONAL FOOTER ---------------- */
.site-footer{background:#123b63;color:rgba(255,255,255,.82);padding:42px 0 0}
.footer-professional{display:grid;grid-template-columns:1.35fr 1fr .9fr 1.35fr 1fr;gap:38px;padding:0 0 34px;border-bottom:1px solid rgba(255,255,255,.18)}
.footer-brand{min-width:0}
.footer-logo{display:block;width:245px;max-width:100%;height:auto;margin:0 0 14px}
.footer-brand p{margin:0 0 16px;font-size:.91rem;line-height:1.55;color:rgba(255,255,255,.72);max-width:290px}
.footer-social-icons{display:flex;gap:14px;align-items:center;margin:8px 0 8px}
.footer-social-icons a{width:42px;height:42px;border-radius:9px;background:#fff;color:#123b63;display:flex;align-items:center;justify-content:center;font-size:1.35rem;font-weight:800;text-decoration:none}
.footer-phone-large{font-size:1.18rem;color:#fff;font-weight:800;margin-top:2px}
.footer-professional .footer-col h5{font-family:var(--font-display);font-size:1rem;color:#fff;margin:0 0 15px;position:relative;padding-bottom:10px}
.footer-professional .footer-col h5::after{content:"";display:block;width:50px;height:3px;background:var(--gold);position:absolute;left:0;bottom:0;border-radius:3px}
.footer-professional .footer-col a{font-size:.9rem;color:rgba(255,255,255,.82);margin-bottom:11px;text-decoration:none}
.footer-professional .footer-col a:hover{color:var(--gold)}
.footer-note-large{font-size:.9rem;line-height:1.55;color:rgba(255,255,255,.7)}
.footer-whatsapp-green{background:#24c55e!important;border-radius:999px;padding:12px 20px!important;color:#fff!important;font-size:.92rem!important;font-weight:800!important;width:max-content;box-shadow:none}
.footer-whatsapp-green:hover{color:#fff!important;transform:translateY(-1px)}
.footer-contact-line{font-size:.9rem;color:rgba(255,255,255,.82);line-height:1.65;margin:12px 0}
.footer-contact-line a{display:inline!important;margin:0!important;color:#fff!important;font-weight:800}
.footer-contact-line span{padding-left:25px;color:rgba(255,255,255,.68)}
.footer-instagram{display:inline-flex!important;border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:12px 20px!important;color:#fff!important;font-weight:800!important;width:max-content}
.footer-bottom{padding:20px 24px}
.footer-bottom p{font-size:.78rem;color:rgba(255,255,255,.6);text-align:center}
@media(max-width:1150px){.footer-professional{grid-template-columns:1.3fr 1fr 1fr 1.3fr;}.footer-instagram-col{grid-column:2 / span 2}.footer-brand{grid-row:span 2}}
@media(max-width:800px){.footer-professional{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-row:auto}.footer-instagram-col{grid-column:auto}.footer-logo{width:230px}}
@media(max-width:560px){.footer-professional{grid-template-columns:1fr}.footer-instagram-col{grid-column:auto}.footer-social-icons a{width:44px;height:44px}.footer-logo{width:250px}}

/* ===== Abas fininhas dentro dos balões de categoria ===== */





@media (max-width:720px){
  

  
}

/* ===== CATEGORIAS: 4 CARDS NA MESMA LINHA ===== */
.cat-grid{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
  align-items:stretch;
}

.cat-card{
  min-width:0;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  box-sizing:border-box;
  background:#fff;
  border-radius:var(--radius, 16px);
  padding:0 22px 24px;
  box-shadow:var(--shadow-card, 0 8px 24px rgba(20,50,80,.10));
  border-top:5px solid var(--blue-main, #1D5C9B);
  color:inherit;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease;
}

.cat-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(20,50,80,.14);
}

.cat-card-tab{
  width:calc(100% + 44px);
  height:29px;
  min-height:29px;
  margin:0 -22px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  background:#f4f8fc;
  border-bottom:1px solid #d8e3ed;
  color:var(--blue-deep, #12385c);
  font-size:.76rem;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}

.cat-card:hover .cat-card-tab{
  background:#edf5fc;
  color:var(--blue-main, #1D5C9B);
}

.cat-icon{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 14px;
  font-size:2rem;
  line-height:1;
}

.cat-card h3{
  width:100%;
  margin:0 0 8px;
  color:var(--blue-deep, #12385c);
}

.cat-card p{
  width:100%;
  margin:0;
  line-height:1.55;
}

@media (max-width:900px){
  .cat-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:560px){
  .cat-grid{
    width:calc(100% - 20px);
    grid-template-columns:1fr;
    gap:16px;
  }
}



.footer-social-icons a img{width:100%;height:100%;display:block;object-fit:contain;border-radius:9px}
.footer-social-icons a{padding:0;overflow:hidden}

/* Ícones oficiais nos botões do rodapé */
.footer-social-inline-icon{
  width:22px;
  height:22px;
  object-fit:contain;
  display:inline-block;
  vertical-align:middle;
  flex:0 0 22px;
}
.footer-whatsapp.footer-whatsapp-green,
.footer-instagram{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.linhas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.linha-product-card{overflow:hidden;background:#fff;border-radius:var(--radius,16px);box-shadow:var(--shadow-card,0 8px 24px rgba(20,50,80,.1))}.linha-product-card .product-image{min-height:170px;display:flex;align-items:center;justify-content:center;background:#f4f8fc}.yarn-icon{width:82px;height:82px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 5px 16px rgba(20,50,80,.12);font-size:42px}.linha-product-card .product-body{padding:18px}.linha-product-card h3{margin:0 0 6px}.product-description{margin:0 0 10px;color:#5d7690;font-size:.9rem}.product-price{font-weight:800;color:#d12626;margin-bottom:10px}.colors-label{font-size:.82rem;margin-bottom:7px}.color-palette{display:flex;flex-wrap:wrap;gap:6px;max-height:120px;overflow-y:auto;padding:4px;margin-bottom:12px}.color-swatch{width:25px;height:25px;padding:2px;border:1px solid #b7c2cb;border-radius:50%;background:#fff;cursor:pointer}.color-swatch span{display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch)}.color-swatch:hover{transform:scale(1.1)}.color-swatch.selected{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--blue-main,#1D5C9B)}.add-product-btn{width:100%;border:1px solid var(--blue-main,#1D5C9B);background:#fff;color:var(--blue-main,#1D5C9B);border-radius:22px;padding:9px;font-weight:700}.add-product-btn:disabled{opacity:.45}@media(max-width:1000px){.linhas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.linhas-grid{grid-template-columns:1fr}}
/* ===== Layout das linhas/Barroco no padrão solicitado ===== */
.linhas-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(260px,1fr));
  gap:18px;
  align-items:start;
}
.linha-product-card{
  overflow:hidden;
  background:#fff;
  border-radius:16px;
  box-shadow:0 7px 20px rgba(20,50,80,.10);
  border:1px solid #eef2f5;
}
.linha-product-card .product-image{
  height:136px;
  min-height:136px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f5f5;
  padding:10px;
}
.linha-product-card .product-image img{
  width:120px;
  height:120px;
  object-fit:contain;
  display:block;
  background:#fff;
}
.linha-product-card .product-body{
  padding:16px 14px 18px;
}
.linha-product-card h3{
  margin:0 0 7px;
  color:#08345d;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
}
.linha-product-card .product-description{
  margin:0 0 12px;
  color:#6a7f93;
  font-size:12px;
  line-height:1.4;
}
.linha-product-card .colors-label{
  font-size:11px;
  color:#263d53;
  margin-bottom:6px;
}
.linha-product-card .colors-label strong{display:none}
.linha-product-card .color-palette{
  display:flex;
  flex-wrap:wrap;
  gap:4px 5px;
  max-height:none;
  overflow:visible;
  padding:0;
  margin:0 0 8px;
}
.linha-product-card .color-swatch{
  position:relative;
  width:auto;
  min-width:0;
  height:19px;
  padding:0 7px;
  border:1px solid #cfd9e1;
  border-radius:10px;
  background:#fff;
  color:#587087;
  cursor:pointer;
  font:500 9px/17px Arial,sans-serif;
  white-space:nowrap;
  box-sizing:border-box;
  transition:.15s ease;
}
.linha-product-card .color-swatch span{display:none}
.linha-product-card .color-swatch::after{content:attr(data-color)}
.linha-product-card .color-swatch:hover{
  transform:none;
  border-color:#1d5c9b;
  color:#1d5c9b;
  background:#f7fbff;
}
.linha-product-card .color-swatch.selected{
  box-shadow:none;
  border-color:#1d5c9b;
  background:#1d5c9b;
  color:#fff;
}
.linha-product-card .selected-color{
  min-height:15px;
  margin:2px 0 25px;
  color:#0f5d93;
  font-size:10px;
  font-weight:700;
}
.linha-product-card .product-price-row,
.linha-product-card .price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:4px;
}
.linha-product-card .product-price{
  margin:0;
  color:#d21e26;
  font-size:14px;
  font-weight:800;
}
.linha-product-card .product-unit,
.linha-product-card .unit{
  color:#8192a4;
  font-size:10px;
}
.linha-product-card .add-product-btn{
  width:100%;
  min-height:38px;
  margin-top:12px;
  border:1px solid #1d5c9b;
  background:#fff;
  color:#1d5c9b;
  border-radius:20px;
  padding:8px 12px;
  font-size:11px;
  font-weight:800;
}
.linha-product-card .add-product-btn:disabled{opacity:.45}
@media(max-width:1000px){.linhas-grid{grid-template-columns:repeat(2,minmax(250px,1fr))}}
@media(max-width:650px){.linhas-grid{grid-template-columns:1fr}}

/* ===== LINHAS — cards com foto centralizada e cores clicáveis ===== */
#linhas .product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
#linhas .product-card{
  min-width:0;
  border:1px solid #e7edf2;
  border-radius:16px;
}
#linhas .product-thumb{
  height:150px;
  min-height:150px;
  padding:8px;
  background:#f3f7fa;
}
#linhas .product-thumb .product-photo{
  width:135px;
  height:135px;
  object-fit:contain;
  object-position:center;
  padding:0;
  margin:0 auto;
}
#linhas .product-body{padding:14px 14px 16px;}
#linhas .product-body h4{font-size:13px;line-height:1.3;margin-bottom:6px;}
#linhas .product-body .desc{font-size:11px;line-height:1.4;margin-bottom:10px;}
#linhas .product-colors strong{font-size:10px;}
#linhas .color-list{display:flex;flex-wrap:wrap;gap:4px 5px;margin-top:6px;max-height:none;overflow:visible;}
#linhas .color-chip{
  padding:3px 7px;
  border:1px solid #cfd9e1;
  border-radius:999px;
  background:#fff;
  color:#587087;
  font-size:9px;
  line-height:1.15;
  cursor:pointer;
  transition:.15s ease;
}
#linhas .color-chip:hover{border-color:#1d5c9b;color:#1d5c9b;background:#f7fbff;}
#linhas .color-chip.selected{background:#1d5c9b;border-color:#1d5c9b;color:#fff;}
#linhas .selected-color{min-height:14px;margin:6px 0 18px;font-size:10px;color:#0f5d93;font-weight:700;}
#linhas .product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;}
#linhas .product-price{font-size:14px;font-weight:800;color:#d21e26;}
#linhas .product-unit{font-size:10px;color:#8192a4;}
#linhas .add-btn{width:100%;margin-top:12px;min-height:36px;border:1px solid #1d5c9b;border-radius:20px;background:#fff;color:#1d5c9b;font-size:11px;font-weight:800;}
#linhas .add-btn.ready{background:#fff;}
#linhas .add-btn.added{background:#1d5c9b;color:#fff;}
#linhas .add-btn:disabled{opacity:.5;cursor:not-allowed;}
@media(max-width:1000px){#linhas .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){#linhas .product-grid{grid-template-columns:1fr;}}

/* ===== BARROCO — cards no padrão de referência ===== */
#barroco .product-grid{
  grid-template-columns:repeat(3,minmax(260px,1fr));
  gap:18px;
  align-items:start;
}
#barroco .product-card{
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 7px 20px rgba(20,50,80,.10);
  border:1px solid #eef2f5;
}
#barroco .product-card:hover{transform:translateY(-2px)}
#barroco .product-thumb{
  height:136px;
  min-height:136px;
  background:#f1f5f5 !important;
  padding:8px;
}
#barroco .product-thumb .product-photo{
  width:120px;
  height:120px;
  max-width:120px;
  max-height:120px;
  object-fit:contain;
  object-position:center;
  padding:0;
  background:#fff;
}
#barroco .product-body{
  padding:16px 14px 18px;
}
#barroco .product-body h4{
  margin:0 0 7px;
  color:#08345d;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
}
#barroco .product-body .desc{
  margin:0 0 12px;
  color:#6a7f93;
  font-size:12px;
  line-height:1.4;
}
#barroco .product-colors{
  margin:0 0 0;
  font-size:11px;
}
#barroco .product-colors strong{
  display:block;
  margin:0 0 6px;
  color:#263d53;
  font-size:11px;
  font-weight:600;
}
#barroco .color-list{
  display:flex;
  flex-wrap:wrap;
  gap:4px 5px;
  max-height:none;
  overflow:visible;
}
#barroco .color-chip{
  padding:3px 7px;
  min-height:19px;
  border:1px solid #cfd9e1;
  border-radius:999px;
  background:#fff;
  color:#587087;
  font-size:9px;
  line-height:11px;
  font-weight:500;
  cursor:pointer;
  transition:.15s ease;
}
#barroco .color-chip:hover{
  border-color:#1d5c9b;
  color:#1d5c9b;
  transform:none;
  background:#f7fbff;
}
#barroco .color-chip.selected{
  background:#1d5c9b;
  color:#fff;
  border-color:#1d5c9b;
  box-shadow:none;
}
#barroco .selected-color{
  min-height:15px;
  margin:3px 0 25px;
  color:#0f5d93;
  font-size:10px;
  font-weight:700;
}
#barroco .product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0;
}
#barroco .product-price{
  color:#d21e26;
  font-size:14px;
  font-weight:800;
}
#barroco .product-unit{
  color:#8192a4;
  font-size:10px;
}
#barroco .add-btn{
  width:100%;
  min-height:38px;
  margin-top:12px;
  border:1px solid #1d5c9b;
  border-radius:20px;
  background:#fff;
  color:#1d5c9b;
  font-size:11px;
  font-weight:800;
}
@media(max-width:1000px){#barroco .product-grid{grid-template-columns:repeat(2,minmax(250px,1fr))}}
@media(max-width:650px){#barroco .product-grid{grid-template-columns:1fr}}

/* ================= LINHAS — LOJA PROFISSIONAL ================= */
body.modal-open{overflow:hidden}
.linhas-section{background:linear-gradient(180deg,#f7fafc 0%,#eef5fa 100%)}
.linhas-section .section-head{margin-bottom:28px}
.section-subtitle{max-width:720px;color:#60748a;line-height:1.65;margin-top:8px;font-size:1rem}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:10px;background:rgba(255,255,255,.82);border:1px solid #dfe9f1;border-radius:16px;box-shadow:0 8px 24px rgba(18,59,99,.06)}
.catalog-filters{display:flex;flex-wrap:wrap;gap:7px}
.catalog-filter{border:1px solid #cddae6;background:#fff;color:#315775;border-radius:999px;padding:8px 15px;font-weight:800;font-size:.8rem;cursor:pointer;transition:.18s ease}
.catalog-filter:hover{border-color:#1d5c9b;transform:translateY(-1px)}
.catalog-filter.active{background:#1d5c9b;color:#fff;border-color:#1d5c9b;box-shadow:0 5px 12px rgba(29,92,155,.2)}
.catalog-trust{font-size:.78rem;color:#547087;white-space:nowrap}
.catalog-trust span{color:#1c9a62;font-weight:900;margin-right:4px}
.linha-card{border:1px solid #e1eaf1;box-shadow:0 12px 30px rgba(18,59,99,.10)}
.linha-card:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(18,59,99,.16)}
.linha-card .product-thumb{height:190px;background:#f5f8fb!important;border-bottom:1px solid #e6edf3}
.product-title-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.product-title-row h4{margin:0;line-height:1.2}
.product-code{font-size:.68rem;color:#8aa0b4;background:#f3f7fa;padding:4px 7px;border-radius:999px;white-space:nowrap}
.product-colors{margin-top:13px!important;margin-bottom:5px!important}
.color-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.color-heading strong{margin:0!important;color:#294b68;font-size:.8rem}
.color-count{font-size:.68rem;color:#8ba0b3}
.color-list-quick{max-height:72px;overflow:hidden;position:relative}
.color-chip{display:inline-flex!important;align-items:center;gap:5px;padding:4px 7px!important;border-radius:999px!important;background:#fff!important;color:#334b61!important;border:1px solid #d5e0e8!important;font-size:.67rem!important;line-height:1!important;cursor:pointer;transition:.16s ease!important}
.color-chip:hover{border-color:#1d5c9b!important;transform:translateY(-1px)}
.color-chip.selected{border-color:#1d5c9b!important;background:#edf5fc!important;color:#174d7d!important;box-shadow:0 0 0 2px rgba(29,92,155,.12)!important}
.color-chip.selected .color-dot{box-shadow:0 0 0 2px #fff,0 0 0 4px #1d5c9b}
.color-dot{width:13px;height:13px;border-radius:50%;display:inline-block;flex:0 0 13px;background:var(--chip-color);border:1px solid rgba(0,0,0,.12);box-shadow:inset -1px -1px 2px rgba(0,0,0,.12)}
/* Amostras mescladas: aparência de fio real, somente nos produtos Multcolor/Multicolor. */
.color-chip-mesclada .color-dot{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.34) 0 10%, transparent 11%),
    repeating-linear-gradient(154deg,
      var(--chip-color-4) 0 2px,
      var(--chip-color-3) 2px 4px,
      var(--chip-color) 4px 7px,
      var(--chip-color-2) 7px 9px,
      var(--chip-color) 9px 12px);
  box-shadow:
    inset -2px -2px 3px rgba(0,0,0,.18),
    inset 2px 2px 3px rgba(255,255,255,.22);
}
.color-chip-mesclada .color-dot::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  background:
    repeating-linear-gradient(158deg,
      transparent 0 3px,
      rgba(255,255,255,.18) 3px 4px,
      transparent 4px 7px,
      rgba(0,0,0,.08) 7px 8px,
      transparent 8px 12px);
  mix-blend-mode:soft-light;
  opacity:.9;
}
.color-name{white-space:nowrap}
.view-colors{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;color:#1d5c9b;font-size:.72rem;font-weight:900;padding:8px 0 2px;cursor:pointer;text-align:left}
.view-colors span{font-size:1rem;transition:transform .15s ease}.view-colors:hover span{transform:translateX(3px)}
.selected-color{min-height:18px!important;margin-top:6px!important;color:#1d5c9b!important;font-size:.72rem!important;font-weight:900!important}
.selected-color span{color:#15945d}
.add-btn{padding:11px!important;background:#fff!important}
.add-btn.ready{background:#1d5c9b!important;color:#fff!important;box-shadow:0 8px 16px rgba(29,92,155,.16)}
.add-btn.ready:hover{background:#154d82!important}
.add-btn.added{background:#1b9a61!important;border-color:#1b9a61!important}
.cart-foot .btn-primary{background:#1b9a61!important;border-color:#1b9a61!important}
.cart-foot .btn-primary:hover{background:#14804e!important}

/* Modal de todas as cores */
.color-modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s ease}
.color-modal.open{opacity:1;pointer-events:auto}
.color-modal-backdrop{position:absolute;inset:0;background:rgba(8,29,49,.62);backdrop-filter:blur(4px)}
.color-modal-panel{position:relative;width:min(760px,calc(100vw - 30px));max-height:min(760px,calc(100vh - 30px));background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(5,28,49,.32);display:flex;flex-direction:column;overflow:hidden;transform:translateY(12px) scale(.98);transition:transform .22s ease}
.color-modal.open .color-modal-panel{transform:none}
.color-modal-head{display:flex;justify-content:space-between;gap:18px;padding:25px 28px 18px;border-bottom:1px solid #e8eef3}
.modal-eyebrow{font-size:.65rem;font-weight:900;letter-spacing:.12em;color:#1d5c9b}
.color-modal-head h3{margin:4px 0 3px;color:#123b63;font-size:1.35rem}
.color-modal-head p{margin:0;color:#74889a;font-size:.82rem}
.modal-close{width:38px;height:38px;border-radius:50%;border:1px solid #dbe5ec;background:#fff;color:#315775;font-size:1.5rem;line-height:1;cursor:pointer;flex:0 0 auto}.modal-close:hover{background:#f3f7fa}
.color-modal-search{margin:18px 28px 12px;border:1px solid #d7e2ea;border-radius:12px;display:flex;align-items:center;gap:8px;padding:0 13px;background:#f9fbfc}.color-modal-search span{font-size:1.35rem;color:#7f95a7}.color-modal-search input{border:0;outline:0;background:transparent;width:100%;padding:12px 0;font-size:.9rem;color:#183f65}
.modal-color-grid{padding:6px 28px 20px;overflow:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.modal-color-grid .color-chip{justify-content:flex-start;padding:8px 9px!important;min-height:34px}
.no-colors{grid-column:1/-1;text-align:center;color:#8094a5;padding:30px}
.color-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 28px 20px;border-top:1px solid #e8eef3;background:#fbfcfd}
#modalSelectedText{font-size:.8rem;color:#315775;font-weight:800}.color-modal-foot #modalSelectedText span{color:#15945d}
#modalChooseBtn:disabled{opacity:.45;cursor:not-allowed}
.site-toast{position:fixed;right:24px;bottom:92px;z-index:150;display:flex;align-items:center;gap:10px;background:#123b63;color:#fff;padding:12px 16px;border-radius:14px;box-shadow:0 14px 34px rgba(18,59,99,.25);font-size:.8rem;font-weight:800;opacity:0;transform:translateY(12px);pointer-events:none;transition:.22s ease}
.site-toast.show{opacity:1;transform:none}.toast-check{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#1b9a61;color:#fff}
.whatsapp-fab{background:#1b9a61!important;box-shadow:0 12px 28px rgba(27,154,97,.35)!important}.whatsapp-fab img{width:30px;height:30px;object-fit:contain;filter:none}

@media(max-width:720px){
  .catalog-toolbar{align-items:flex-start;flex-direction:column}.catalog-trust{white-space:normal}.catalog-filters{width:100%}.catalog-filter{flex:1;text-align:center;padding:8px 10px}
  .modal-color-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:18px;padding-right:18px}
  .color-modal-head{padding:20px 18px 14px}.color-modal-search{margin-left:18px;margin-right:18px}.color-modal-foot{padding:14px 18px 18px;flex-direction:column;align-items:stretch}.color-modal-foot .btn{width:100%}
  .site-toast{left:14px;right:14px;bottom:84px;justify-content:center}
}
@media(max-width:480px){.linha-card .product-thumb{height:180px}.product-body{padding:15px}.color-list-quick{max-height:68px}.color-chip{font-size:.64rem!important}.modal-color-grid{grid-template-columns:1fr}.catalog-filter{font-size:.72rem}}


/* =========================================================
   ZIG ZAG — CAMADA PROFISSIONAL 2026
   Navbar, hierarquia, conversão e responsividade
   ========================================================= */
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{background:#f7f9fc}
.site-header{
  background:rgba(8,35,61,.97);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 8px 30px rgba(7,31,54,.16);
}
.header-inner{height:82px;gap:18px}
.brand-logo{display:block;width:auto;height:54px;max-width:178px;object-fit:contain;border-radius:8px}
.main-nav{align-items:center;gap:4px;margin-left:auto}
.main-nav>a,.nav-dropdown>summary{
  display:flex;align-items:center;gap:6px;
  color:rgba(255,255,255,.88);
  font-size:.88rem;font-weight:800;
  padding:10px 12px;border-radius:10px;
  transition:.2s ease;cursor:pointer;list-style:none
}
.main-nav>a::after{display:none}
.main-nav>a:hover,.main-nav>a.active,.nav-dropdown>summary:hover,.nav-dropdown[open]>summary{
  color:#fff;background:rgba(255,255,255,.09)
}
.nav-dropdown{position:relative}
.nav-dropdown>summary::-webkit-details-marker{display:none}
.nav-chevron{font-size:1rem;opacity:.7;transition:transform .2s}
.nav-dropdown[open] .nav-chevron{transform:rotate(180deg)}
.nav-dropdown-menu{
  position:absolute;top:calc(100% + 10px);left:0;width:285px;
  padding:10px;background:#fff;border:1px solid #e7edf3;border-radius:16px;
  box-shadow:0 22px 55px rgba(14,51,88,.18);
}
.nav-dropdown-menu::before{
  content:"";position:absolute;top:-6px;left:28px;width:12px;height:12px;
  background:#fff;transform:rotate(45deg);border-left:1px solid #e7edf3;border-top:1px solid #e7edf3
}
.nav-dropdown-menu a{
  display:flex!important;align-items:center;gap:12px;padding:11px 12px!important;
  border-radius:11px;color:#163b5f!important;text-decoration:none
}
.nav-dropdown-menu a:hover{background:#f2f7fb}
.nav-dropdown-menu a>span:first-child{font-size:1.35rem}
.nav-dropdown-menu strong{display:block;font-size:.9rem}
.nav-dropdown-menu small{display:block;color:#7a8da1;font-size:.72rem;margin-top:2px}
.header-actions{gap:3px}
.header-whatsapp{
  display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:999px;
  background:#20b965;color:#fff!important;font-weight:900;font-size:.8rem;
  box-shadow:0 7px 18px rgba(32,185,101,.22);transition:.2s ease
}
.header-whatsapp:hover{transform:translateY(-1px);filter:brightness(1.05)}
.header-whatsapp-icon{font-size:1rem}
.search-bar{background:#0b416d}
.search-bar .wrap{padding:12px 24px}
#searchInput{box-shadow:0 8px 22px rgba(0,0,0,.12);height:44px}

.hero{padding-top:70px}
.hero-copy h1{letter-spacing:-.025em}
.hero-cta .btn{min-height:48px}
.hero-badges li{font-weight:700}

.cat-strip{padding:28px 0 40px;background:#f7f9fc}
.cat-card{
  border:1px solid #e3eaf1;
  box-shadow:0 10px 30px rgba(14,51,88,.08);
}
.cat-card:hover{border-color:#cbdbe8}
.quick-trust{background:#fff;border-top:1px solid #e7edf3;border-bottom:1px solid #e7edf3}
.quick-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.quick-trust-grid>div{
  display:flex;align-items:center;gap:11px;padding:20px 18px;
  border-right:1px solid #e8eef3
}
.quick-trust-grid>div:last-child{border-right:0}
.quick-trust-grid>div>span{font-size:1.35rem}
.quick-trust-grid strong{display:block;color:#143b60;font-size:.84rem}
.quick-trust-grid small{display:block;color:#7b8b9b;font-size:.72rem;margin-top:3px}

.product-section{scroll-margin-top:90px}
.product-section-highlight{background:linear-gradient(180deg,#fff,#f2f7fb)}
.section-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:28px}
.section-subtitle{max-width:700px;color:#687b8f;line-height:1.55;margin-top:8px}
.section-whatsapp{
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  padding:11px 16px;border-radius:999px;background:#e9f9f0;color:#11844b;
  font-weight:900;font-size:.82rem;border:1px solid #ccefdc
}
.product-card{
  border:1px solid #e5ebf1;
  box-shadow:0 10px 28px rgba(14,51,88,.07);
}
.product-card:hover{box-shadow:0 18px 40px rgba(14,51,88,.12)}
.product-thumb{height:190px;background-color:#f5f8fb!important}
.product-photo{padding:14px;transition:transform .3s ease}
.product-card:hover .product-photo{transform:scale(1.035)}
.product-title-row{gap:10px}
.product-title-row h4{line-height:1.22}
.product-code{background:#f0f4f8;padding:4px 7px;border-radius:7px;font-size:.66rem;color:#60778d;font-weight:800}
.color-heading{margin-top:3px}
.color-chip{border:1px solid #e1e8ee!important;background:#fff!important}
.color-chip:hover{border-color:#9eb6c9!important;background:#f7fafc!important}
.selected-color{border-radius:8px!important;background:#f5f8fa!important}
.add-btn{font-size:.86rem;min-height:42px}
.add-btn.ready{background:#0e3358;color:#fff}
.add-btn:disabled{opacity:.55;cursor:not-allowed}
.view-colors{font-weight:800}

.location-section,.opening-hours{background:#f7f9fc}
.location-grid>div{border-radius:18px}
.location-map{overflow:hidden;box-shadow:0 12px 35px rgba(14,51,88,.12)}
.location-map iframe{min-height:370px}

.benefits{border-top:1px solid #e7edf3;border-bottom:1px solid #e7edf3}
.benefit{padding:18px;border-radius:16px;transition:.2s}
.benefit:hover{background:#f7fafc}

.site-footer{padding-top:68px}
.footer-logo{max-width:190px;height:auto;display:block;margin-bottom:10px}
.footer-social-icons{display:flex;gap:10px;margin-top:18px}
.footer-social-icons a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center}
.footer-social-icons img{width:20px;height:20px;object-fit:contain}
.footer-phone-large{display:inline-flex!important;margin-top:12px!important;color:#fff!important;font-size:1.08rem!important;font-weight:900}
.footer-whatsapp-green,.footer-instagram{
  display:inline-flex!important;align-items:center;gap:8px!important;
  padding:10px 13px;border-radius:10px;background:rgba(255,255,255,.07);
  width:max-content
}
.footer-whatsapp-green:hover,.footer-instagram:hover{background:rgba(255,255,255,.13)}
.footer-social-inline-icon{width:18px;height:18px;object-fit:contain}
.footer-contact-line{font-size:.84rem;color:rgba(255,255,255,.65);line-height:1.55;margin:10px 0}
.footer-contact-line a{display:inline!important;margin:0!important}
.footer-contact-line span{padding-left:21px}
.footer-bottom{border-top:0}

.whatsapp-fab{
  width:58px;height:58px;right:22px;bottom:22px;
  box-shadow:0 14px 30px rgba(16,150,78,.28);z-index:70
}
.whatsapp-fab::before{
  content:"Fale pelo WhatsApp";position:absolute;right:68px;top:50%;transform:translateY(-50%);
  white-space:nowrap;background:#0e3358;color:#fff;padding:8px 11px;border-radius:8px;
  font-size:.72rem;font-weight:800;opacity:0;pointer-events:none;transition:.2s
}
.whatsapp-fab:hover::before{opacity:1}
.back-top{
  position:fixed;right:24px;bottom:92px;width:42px;height:42px;border:0;border-radius:50%;
  background:#fff;color:#0e3358;box-shadow:0 8px 22px rgba(14,51,88,.18);
  font-size:1.2rem;font-weight:900;opacity:0;pointer-events:none;transform:translateY(8px);
  transition:.2s;z-index:69
}
.back-top.show{opacity:1;pointer-events:auto;transform:none}

@media(max-width:1180px){
  .main-nav>a,.nav-dropdown>summary{padding-left:8px;padding-right:8px;font-size:.82rem}
  .main-nav{gap:0}
  .header-whatsapp span:last-child{display:none}
  .header-whatsapp{width:40px;height:40px;padding:0;justify-content:center}
}
@media(max-width:980px){
  .header-inner{height:74px}
  .brand-logo{height:50px;max-width:155px}
  .main-nav{
    position:absolute;left:16px;right:16px;top:calc(100% + 8px);
    display:none;flex-direction:column;align-items:stretch;gap:4px;
    padding:10px;background:#fff;border:1px solid #e3eaf1;border-radius:16px;
    box-shadow:0 18px 45px rgba(14,51,88,.18)
  }
  .main-nav.open{display:flex}
  .main-nav>a,.nav-dropdown>summary{color:#163b5f!important;background:transparent;padding:13px 14px}
  .main-nav>a:hover,.main-nav>a.active,.nav-dropdown>summary:hover,.nav-dropdown[open]>summary{background:#f1f6fa}
  .nav-dropdown-menu{position:static;width:auto;box-shadow:none;border:0;padding:0 0 4px;background:#f7fafc;border-radius:10px}
  .nav-dropdown-menu::before{display:none}
  .nav-dropdown-menu a{padding:10px 16px!important}
  .hamburger{display:flex}
  .quick-trust-grid{grid-template-columns:repeat(2,1fr)}
  .quick-trust-grid>div:nth-child(2){border-right:0}
  .quick-trust-grid>div:nth-child(-n+2){border-bottom:1px solid #e8eef3}
  .section-head-row{align-items:flex-start;flex-direction:column}
}
@media(max-width:700px){
  html{scroll-padding-top:76px}
  .header-inner{padding:0 16px}
  .brand-logo{height:46px;max-width:140px}
  .header-actions{margin-left:auto}
  .icon-btn{width:38px;height:38px}
  .header-whatsapp{display:none}
  .hero{padding-top:45px}
  .hero-inner{grid-template-columns:1fr;padding-bottom:35px}
  .hero-art{order:-1;height:220px}
  .hero-character-yarn{max-height:220px}
  .hero-copy h1{font-size:clamp(2.8rem,14vw,4rem)}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .quick-trust-grid{grid-template-columns:1fr}
  .quick-trust-grid>div{border-right:0!important;border-bottom:1px solid #e8eef3}
  .quick-trust-grid>div:last-child{border-bottom:0}
  .product-section{padding:50px 0}
  .product-grid{grid-template-columns:1fr!important;gap:18px}
  .product-thumb{height:205px}
  .section-head h2{font-size:1.85rem}
  .section-whatsapp{width:100%}
  .location-map iframe{min-height:300px}
  .footer-inner{grid-template-columns:1fr!important}
  .footer-col{padding-top:8px}
  .whatsapp-fab{right:16px;bottom:16px}
  .whatsapp-fab::before{display:none}
  .back-top{right:17px;bottom:84px}
}

/* ===== NOVELOS DE LÃ — catálogo com fotos e seleção de cores ===== */
#novelos .product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
#novelos .product-card{
  min-width:0;
  border:1px solid #e7edf2;
  border-radius:16px;
  overflow:hidden;
}
#novelos .product-thumb{
  height:190px;
  min-height:190px;
  padding:8px;
  background:#f3f7fa;
}
#novelos .product-thumb .product-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:0;
  margin:0 auto;
}
#novelos .product-body{padding:14px 14px 16px;}
#novelos .product-body h4{font-size:14px;line-height:1.3;margin-bottom:6px;}
#novelos .product-body .desc{font-size:11px;line-height:1.45;margin-bottom:10px;}
#novelos .product-colors strong{font-size:10px;}
#novelos .color-list{display:flex;flex-wrap:wrap;gap:4px 5px;margin-top:6px;max-height:none;overflow:visible;}
#novelos .color-chip{
  padding:3px 7px;
  border:1px solid #cfd9e1;
  border-radius:999px;
  background:#fff;
  color:#587087;
  font-size:9px;
  line-height:1.15;
  cursor:pointer;
  transition:.15s ease;
}
#novelos .color-chip:hover{border-color:#1d5c9b;color:#1d5c9b;background:#f7fbff;}
#novelos .color-chip.selected{background:#1d5c9b;border-color:#1d5c9b;color:#fff;}
#novelos .selected-color{min-height:14px;margin:6px 0 18px;font-size:10px;color:#0f5d93;font-weight:700;}
#novelos .product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;}
#novelos .product-price{font-size:14px;font-weight:800;color:#d21e26;}
#novelos .product-unit{font-size:10px;color:#8192a4;}
#novelos .add-btn{width:100%;margin-top:12px;min-height:36px;border:1px solid #1d5c9b;border-radius:20px;background:#fff;color:#1d5c9b;font-size:11px;font-weight:800;}
#novelos .add-btn.ready{background:#fff;}
#novelos .add-btn.added{background:#1d5c9b;color:#fff;}
#novelos .add-btn:disabled{opacity:.5;cursor:not-allowed;}
@media(max-width:1000px){#novelos .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){#novelos .product-grid{grid-template-columns:1fr;}}

/* ===== CONE E FIO + ACESSIBILIDADE ===== */
.search-hidden, .filter-hidden{display:none!important}
#cone-e-fio{background:linear-gradient(180deg,#fff 0%,#f5f8fb 100%)}
#cone-e-fio .product-grid{grid-template-columns:repeat(2,minmax(300px,1fr));gap:24px;align-items:start}
#cone-e-fio .product-card{border:1px solid #dfe8ef;border-radius:20px;box-shadow:0 12px 32px rgba(18,59,99,.10)}
#cone-e-fio .product-thumb{height:300px;background:#f7fafc!important;border-bottom:1px solid #e6edf3}
#cone-e-fio .product-thumb .product-photo{width:100%;height:100%;padding:10px;object-fit:contain;object-position:center center}
#cone-e-fio .product-body{padding:20px}
#cone-e-fio .product-body h4{font-size:1.25rem;line-height:1.2}
#cone-e-fio .product-body .desc{font-size:.95rem;line-height:1.5}
#cone-e-fio .product-colors{margin-top:16px!important}
#cone-e-fio .color-list-quick{max-height:94px}
#cone-e-fio .color-chip{font-size:.76rem!important;padding:6px 9px!important;min-height:30px}
#cone-e-fio .color-dot{width:16px;height:16px;flex-basis:16px}
#cone-e-fio .add-btn{min-height:46px;font-size:1rem!important}
#novelos .catalog-toolbar{margin-top:18px}
#novelos .catalog-filter,#cone-e-fio .catalog-filter,#linhas .catalog-filter{font-size:.9rem;padding:10px 17px;min-height:42px}
/* texto maior e controles mais fáceis de tocar */
.catalog-filter,.view-colors,.add-btn,.ci-qty button,.ci-remove{min-height:42px}
.view-colors{font-size:.84rem}
.selected-color{font-size:.82rem!important}
@media(max-width:900px){
  #cone-e-fio .product-grid{grid-template-columns:1fr}
  #cone-e-fio .product-thumb{height:320px}
}
@media(max-width:650px){
  #cone-e-fio .product-thumb{height:280px}
  #cone-e-fio .product-body{padding:18px}
  #cone-e-fio .product-body h4{font-size:1.15rem}
  #cone-e-fio .color-list-quick{max-height:120px}
}
@media(prefers-contrast:more){
  .color-chip,.catalog-filter,.add-btn{border-width:2px!important}
  .product-card{box-shadow:0 3px 12px rgba(0,0,0,.2)!important}
}

/* História: galeria de fachada responsiva */
@media(max-width:1000px){
  .story-history-visual{width:min(100%,620px)}
}
@media(max-width:650px){
  .story-history-gallery{grid-template-columns:1fr;gap:12px}
  .story-history-photo{display:grid;grid-template-columns:120px 1fr;align-items:center}
  .story-history-photo img{height:96px;aspect-ratio:1.25/1}
  .story-history-photo figcaption{text-align:left;padding:10px 12px;font-size:.75rem}
  .story-history-heading p{font-size:.88rem}
}


/* =========================================================
   ACESSIBILIDADE MOBILE — foco em leitura fácil e toque confortável
   ========================================================= */
@media (max-width: 700px){
  :root{ --mobile-touch: 50px; }

  body{font-size:16px;}
  .wrap{padding-left:16px;padding-right:16px;}
  .header-inner{height:72px;}
  .brand-logo{height:48px;max-width:148px;}
  .header-actions{gap:5px;}
  .icon-btn,.hamburger{width:46px;height:46px;min-width:46px;}
  .icon-btn svg{width:23px;height:23px;}
  .cart-count{top:1px;right:1px;min-width:19px;height:19px;font-size:.72rem;}

  .main-nav{left:10px;right:10px;top:calc(100% + 6px);padding:10px;border-radius:18px;}
  .main-nav>a,.nav-dropdown>summary{min-height:50px;padding:12px 15px;font-size:1rem;}
  .nav-dropdown-menu a{min-height:54px;padding:11px 14px!important;}
  .nav-dropdown-menu strong{font-size:1rem;}
  .nav-dropdown-menu small{font-size:.82rem;}

  .search-bar.open{max-height:90px;}
  .search-bar .wrap{padding:12px 16px 14px;}
  #searchInput{height:52px;padding:0 18px;font-size:1rem;border-radius:14px;}

  .hero{padding-top:38px;}
  .hero-copy h1{font-size:clamp(2.45rem,12vw,3.5rem);line-height:1.04;}
  .hero-sub{font-size:1.05rem;line-height:1.65;}
  .hero-cta{gap:10px;}
  .hero-cta .btn{min-height:54px;font-size:1rem;}

  .quick-trust-grid>div{min-height:68px;padding:16px 8px;}
  .quick-trust-grid strong{font-size:.94rem;}
  .quick-trust-grid small{font-size:.82rem;line-height:1.35;}

  .product-section{padding:48px 0;}
  .section-head h2{font-size:2.05rem;line-height:1.1;}
  .section-subtitle{font-size:1rem;line-height:1.65;}
  .eyebrow{font-size:.9rem;}

  /* Filtros grandes, com leitura imediata e sem botões minúsculos. */
  .catalog-toolbar{margin-top:18px;padding:12px;border-radius:16px;gap:12px;}
  .catalog-filters{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .catalog-filter{width:100%;min-height:50px;padding:10px 8px!important;font-size:.92rem!important;line-height:1.15;border-radius:12px;}
  .catalog-trust{font-size:.84rem;line-height:1.4;}

  .product-grid{grid-template-columns:1fr!important;gap:18px;}
  .product-card{border-radius:18px;}
  .product-thumb{height:220px;}
  .product-body{padding:18px!important;}
  .product-title-row h4{font-size:1.18rem;line-height:1.3;}
  .desc{font-size:.95rem!important;line-height:1.55!important;}
  .product-price{font-size:1.05rem!important;}
  .product-unit{font-size:.84rem!important;}

  /* Cores: nomes continuam visíveis, agora com área de toque grande. */
  .color-heading strong{font-size:.92rem;}
  .color-count{font-size:.8rem;}
  .color-list-quick{max-height:110px!important;gap:7px!important;}
  .color-chip{min-height:42px!important;padding:8px 10px!important;font-size:.82rem!important;gap:7px!important;}
  .color-dot{width:18px!important;height:18px!important;flex-basis:18px!important;}
  .view-colors{min-height:46px;font-size:.9rem;padding:10px 0;}
  .selected-color{min-height:30px!important;font-size:.9rem!important;padding:6px 9px;background:#f4f8fb!important;}
  .add-btn{min-height:52px!important;font-size:1rem!important;border-radius:14px!important;}

  #novelos .product-thumb{height:220px;min-height:220px;}
  #novelos .product-body h4{font-size:1.15rem;}
  #novelos .color-chip{font-size:.82rem!important;min-height:42px!important;}
  #cone-e-fio .product-thumb{height:260px;}
  #cone-e-fio .product-body h4{font-size:1.25rem;}
  #cone-e-fio .color-chip{font-size:.84rem!important;min-height:42px!important;}
  #linhas .product-grid{grid-template-columns:1fr!important;}

  /* Modal de cores: uma coluna = leitura e toque muito mais fáceis. */
  .color-modal-panel{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:20px;}
  .color-modal-head{padding:18px 16px 14px;}
  .color-modal-head h3{font-size:1.45rem;}
  .color-modal-head p{font-size:.95rem;line-height:1.45;}
  .modal-close{width:48px;height:48px;font-size:1.7rem;}
  .color-modal-search{margin:14px 16px 10px;height:50px;}
  .color-modal-search input{font-size:1rem;}
  .modal-color-grid{grid-template-columns:1fr!important;padding:6px 16px 16px;gap:7px;}
  .modal-color-grid .color-chip{min-height:48px!important;font-size:.9rem!important;padding:9px 11px!important;}
  .color-modal-foot{padding:12px 16px 16px;}
  #modalSelectedText{font-size:.9rem;}
  .color-modal-foot .btn{min-height:52px;font-size:1rem;}

  /* Carrinho com controles grandes e sem apertar o conteúdo. */
  .cart-drawer{width:min(100%,520px)!important;}
  .cart-head{min-height:70px;padding:14px 16px!important;}
  .cart-head h3{font-size:1.45rem;}
  .cart-items{padding:14px 16px!important;}
  .cart-item{grid-template-columns:58px 1fr!important;gap:10px!important;padding:14px 0!important;}
  .ci-thumb{width:58px!important;height:58px!important;}
  .ci-info h5{font-size:1rem!important;line-height:1.3;}
  .ci-info span{font-size:.82rem!important;line-height:1.4;}
  .ci-qty{grid-column:2;justify-content:flex-start;gap:10px!important;}
  .ci-qty button{width:46px!important;height:46px!important;min-width:46px!important;font-size:1.25rem!important;}
  .ci-qty span{min-width:30px;text-align:center;font-size:1rem;font-weight:900;}
  .ci-remove{min-height:44px!important;font-size:.88rem!important;}
  .cart-foot{padding:14px 16px 18px!important;}
  .cart-total{font-size:1rem!important;}
  #checkoutBtn{min-height:54px;font-size:1rem;}

  .whatsapp-fab{width:64px!important;height:64px!important;right:14px!important;bottom:14px!important;}
  .whatsapp-fab img{width:34px!important;height:34px!important;}
  .back-top{width:48px;height:48px;right:16px;bottom:88px;font-size:1.3rem;}
  .site-toast{font-size:.9rem;min-height:48px;}
}

@media (max-width: 390px){
  .brand-logo{height:44px;max-width:132px;}
  .header-actions{gap:2px;}
  .icon-btn,.hamburger{width:44px;height:44px;min-width:44px;}
  .catalog-filters{grid-template-columns:1fr 1fr;}
  .catalog-filter{font-size:.86rem!important;}
  .product-thumb{height:205px;}
  #cone-e-fio .product-thumb{height:235px;}
}

/* Usuários que preferem menos movimento recebem uma experiência estável. */
@media (prefers-reduced-motion: reduce){
  .product-card:hover .product-photo{transform:none;}
}

/* =========================================================
   HISTÓRIA — GALERIA EM DESTAQUE
   As fotos originais permanecem intactas no ZIP. A ampliação é
   feita apenas pelo navegador, sem recompressão ou conversão.
   ========================================================= */
.story-history-visual{
  width:100%;
  max-width:none;
}
.story-history-heading{
  margin-bottom:24px;
}
.story-history-heading h3{
  font-size:clamp(1.9rem,3.6vw,2.55rem);
  margin-bottom:8px;
}
.story-history-heading p{
  font-size:1rem;
}
.story-history-gallery{
  width:100%;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px;
}
.story-history-photo{
  border-radius:18px;
  border:4px solid rgba(255,255,255,.95);
  box-shadow:0 16px 34px rgba(0,0,0,.24);
}
.story-history-photo img{
  width:100%;
  height:240px;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
  image-rendering:auto;
}
.story-history-photo figcaption{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  font-size:.78rem;
}
.story-character-wrap{
  margin-top:4px;
}
.story-character{
  width:min(100%,560px);
}

@media(max-width:900px){
  .story-history-gallery{gap:12px}
  .story-history-photo img{height:210px}
}

@media(max-width:650px){
  .story-history-gallery{
    grid-template-columns:1fr;
    gap:16px;
  }
  .story-history-photo{
    display:block;
  }
  .story-history-photo img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }
  .story-history-photo figcaption{
    min-height:52px;
    font-size:.86rem;
  }
}


/* WhatsApp logo oficial no cabeçalho — imagem original, sem recompressão */
.header-whatsapp{
  gap:8px;
}
.header-whatsapp-logo{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}
@media (max-width: 900px){
  .header-whatsapp-logo{width:24px;height:24px}
}
@media (max-width: 700px){
  .header-whatsapp-logo{width:25px;height:25px}
}

/* =========================================================
   REFINAMENTO FINAL — clareza, hierarquia e uso confortável
   ========================================================= */
:root{
  --zz-navy:#0e3358;
  --zz-blue:#1e5b91;
  --zz-red:#ef565b;
  --zz-gold:#f4bd43;
  --zz-ink:#123b63;
  --zz-muted:#5d7185;
  --zz-line:#dbe5ee;
  --zz-soft:#f5f8fb;
}

html{scroll-behavior:smooth;scroll-padding-top:88px}
body{color:#183b5d;background:#f5f8fb}
button,a,input{font-family:inherit}
button,.btn,.catalog-filter,.add-btn,.view-colors,.header-whatsapp,.nav-link,.nav-dropdown>summary{touch-action:manipulation}
:focus-visible{outline:4px solid rgba(244,189,67,.85);outline-offset:3px}

/* Cabeçalho: menos ruído, mais contraste e área de toque. */
.site-header{box-shadow:0 2px 18px rgba(9,35,59,.12);z-index:1000}
.header-inner{min-height:78px}
.brand-logo{object-fit:contain;object-position:left center}
.main-nav{gap:6px}
.nav-link,.nav-dropdown>summary{font-weight:800;letter-spacing:.01em}
.nav-dropdown-menu{box-shadow:0 20px 45px rgba(10,35,60,.18);border:1px solid rgba(14,51,88,.08)}
.nav-dropdown-menu a{transition:background .18s ease,transform .18s ease}
.nav-dropdown-menu a:hover{transform:translateX(2px)}
.header-whatsapp{font-weight:900;box-shadow:0 8px 18px rgba(37,211,102,.2)}

/* Cartão de categoria mais limpo: o texto passa a ser o protagonista. */
.cat-grid{align-items:stretch}
.cat-card{min-height:190px;display:flex;flex-direction:column;justify-content:flex-start}
.cat-card-tab{font-weight:900}
.cat-card h3{margin-top:18px;font-size:1.25rem}
.cat-card p{font-size:.98rem;line-height:1.6;color:#5d7185}

/* Faixa de confiança sem excesso de ícones. */
.quick-trust-grid>div{border:1px solid rgba(14,51,88,.08);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(14,51,88,.06)}
.trust-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#edf4fa;color:var(--zz-blue);font-weight:900;font-size:.82rem;flex:0 0 34px}

/* Seções de produtos: leitura em blocos e filtros fáceis de localizar. */
.product-section{scroll-margin-top:86px}
.section-head{max-width:1180px}
.section-head h2{letter-spacing:-.025em}
.catalog-toolbar{border:1px solid var(--zz-line);box-shadow:0 8px 24px rgba(14,51,88,.05);background:#fff}
.catalog-filters{gap:9px}
.catalog-filter{font-weight:900;border:2px solid #cbd9e5;background:#fff;color:var(--zz-ink);transition:all .18s ease}
.catalog-filter:hover{border-color:#7fa6c7;transform:translateY(-1px)}
.catalog-filter.active{background:var(--zz-navy);border-color:var(--zz-navy);color:#fff;box-shadow:0 6px 16px rgba(14,51,88,.2)}
.catalog-trust{font-weight:700;color:#5d7185}
.product-card{border:1px solid #dce6ee;box-shadow:0 8px 26px rgba(14,51,88,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(14,51,88,.12);border-color:#c4d6e4}
.product-thumb{background:#f4f8fb!important}
.product-photo{object-fit:contain;object-position:center}
.product-title-row h4{color:#103b63}
.desc{color:#5d7185}
.product-price{color:#103b63;font-weight:900}
.add-btn{font-weight:900;letter-spacing:.01em}
.add-btn:disabled{opacity:.55;cursor:not-allowed}
.add-btn.ready{box-shadow:0 7px 18px rgba(30,91,145,.18)}
.selected-color{border:1px solid #dce6ee!important;color:#214c70!important;font-weight:800}
.color-chip{border:1px solid #d4e0e8;box-shadow:none}
.color-chip:hover{border-color:#7fa6c7;transform:translateY(-1px)}
.color-chip.selected{border:3px solid var(--zz-blue)!important;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(30,91,145,.2)}
.view-colors{font-weight:900;color:var(--zz-blue)}

/* História: fotos maiores e com melhor leitura visual. */
.story-history-heading{text-align:center}
.story-history-kicker{font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#f4bd43}
.story-history-heading p{color:rgba(255,255,255,.86);max-width:700px;margin-inline:auto}
.story-history-gallery{gap:20px}
.story-history-photo{overflow:hidden;background:#fff;transition:transform .2s ease,box-shadow .2s ease}
.story-history-photo:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(0,0,0,.28)}
.story-history-photo img{display:block;object-fit:cover}
.story-history-photo figcaption{font-weight:800;color:#123b63;background:#fff}

/* Local e horários: cartões mais claros. */
.location-info,.location-map,.opening-hours-grid>div{border:1px solid #dce6ee}
.opening-hours-grid>div{background:#fff;box-shadow:0 5px 16px rgba(14,51,88,.05)}
.opening-hours-grid span{color:#123b63}

/* Rodapé e carrinho com hierarquia mais clara. */
.site-footer{border-top:1px solid rgba(255,255,255,.12)}
.cart-drawer{box-shadow:-18px 0 50px rgba(5,24,42,.22)}
.cart-head{border-bottom:1px solid #dce6ee}
.cart-item{border-bottom:1px solid #e5edf3}
.cart-empty{text-align:center;padding:32px 12px;font-weight:800;color:#5d7185}
#checkoutBtn{font-weight:900}
.whatsapp-fab{box-shadow:0 12px 30px rgba(22,151,76,.28)}

/* Desktop confortável */
@media(min-width:1001px){
  .product-grid{align-items:stretch}
  .product-card{height:100%}
}

/* Celular: uma ação por vez, texto maior e filtros que não apertam. */
@media(max-width:700px){
  html{scroll-padding-top:76px}
  .site-header{position:sticky;top:0}
  .header-inner{min-height:70px}
  .header-whatsapp span{display:none}
  .header-whatsapp{width:46px;height:46px;justify-content:center;padding:0}
  .main-nav{max-height:calc(100vh - 90px);overflow:auto}
  .cat-grid{grid-template-columns:1fr!important;gap:12px}
  .cat-card{min-height:145px;padding:18px}
  .cat-card h3{font-size:1.18rem;margin-top:12px}
  .cat-card p{font-size:.94rem}
  .quick-trust-grid{grid-template-columns:1fr 1fr!important;gap:9px}
  .quick-trust-grid>div{min-height:76px;padding:12px 10px!important}
  .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .catalog-filter{min-height:52px!important;font-size:.92rem!important}
  .product-card:hover{transform:none}
  .product-thumb{background:#f7fafc!important}
  .story-history-photo:hover{transform:none}
  .story-history-heading{text-align:left}
  .story-history-heading p{margin-left:0}
  .opening-hours-grid>div{font-size:17px!important;align-items:center}
  .benefits-grid{grid-template-columns:1fr!important}
}

@media(max-width:390px){
  .quick-trust-grid{grid-template-columns:1fr!important}
  .catalog-filters{grid-template-columns:1fr!important}
}

/* Reduz movimento quando solicitado pelo sistema operacional. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

.search-empty,.filter-empty{grid-column:1/-1;margin:4px 0;padding:28px 20px;border:2px dashed #cbd9e5;border-radius:16px;background:#fff;color:#5d7185;text-align:center;font-weight:800;font-size:1rem}
.filter-empty{color:#123b63}

/* =========================================================
   ZIG ZAG — REFINAMENTO FINAL / UX PREMIUM
   Foco: clareza, celular, acessibilidade e compra pelo WhatsApp
   ========================================================= */
:root{
  --blue-deep:#123B63;
  --blue-main:#1D64A4;
  --blue-light:#4B9BD2;
  --off-white:#F6F8FB;
  --ink:#19344D;
  --coral:#E45A56;
  --gold:#F3C96A;
  --line:#DCE6EF;
  --soft-shadow:0 16px 42px rgba(18,59,99,.12);
}

body{font-size:16px;line-height:1.55;background:#f7f9fc;}
button,a,input{touch-action:manipulation;}
.skip-link{position:fixed;left:16px;top:10px;z-index:9999;transform:translateY(-160%);padding:12px 18px;background:#fff;color:var(--blue-deep);border-radius:10px;font-weight:800;box-shadow:var(--soft-shadow);}
.skip-link:focus{transform:translateY(0);}

.site-header{box-shadow:0 4px 18px rgba(7,32,56,.16);}
.header-inner{min-height:76px;height:auto;padding-top:8px;padding-bottom:8px;}
.main-nav{gap:8px;align-items:center;}
.main-nav > a,.nav-dropdown > summary{min-height:46px;display:flex;align-items:center;padding:10px 13px;border-radius:10px;}
.main-nav > a:hover,.nav-dropdown > summary:hover,.main-nav .active{background:rgba(255,255,255,.10);color:#fff;}
.header-actions{gap:8px;}
.icon-btn,.hamburger{min-width:46px;min-height:46px;}
.header-whatsapp{min-height:46px;padding:8px 15px;border-radius:999px;display:flex;align-items:center;gap:7px;font-weight:800;}
.search-bar .wrap{padding-top:12px;padding-bottom:12px;}
#searchInput{min-height:48px;font-size:16px;border:2px solid transparent;}
#searchInput:focus{border-color:var(--gold);}

.hero{padding-top:62px;}
.hero-copy h1{letter-spacing:-.02em;}
.hero-sub{font-size:1.12rem;line-height:1.65;}
.hero-cta .btn{min-height:52px;}
.hero-badges li{font-size:.94rem;}

.cat-strip{padding:54px 0 22px;}
.cat-grid{gap:18px;}
.cat-card{min-height:190px;padding:24px;border:1px solid #e2eaf2;box-shadow:0 8px 28px rgba(18,59,99,.08);}
.cat-card h3{font-size:1.38rem;}
.cat-card p{font-size:1rem;line-height:1.55;}

.quick-trust{padding:18px 0;background:#fff;border-top:1px solid #e8eef4;border-bottom:1px solid #e8eef4;}
.quick-trust-grid{gap:12px;}
.quick-trust-grid>div{min-height:68px;padding:12px 14px;border-radius:14px;background:#f7fafd;border:1px solid #e4ecf3;}
.quick-trust-grid strong{font-size:.95rem;}
.quick-trust-grid small{font-size:.82rem;}

.product-section{padding:82px 0;}
.section-head{margin-bottom:28px;}
.section-head h2{font-size:clamp(2rem,4vw,2.7rem);letter-spacing:-.02em;}
.section-subtitle{max-width:760px;margin:10px 0 24px;color:#5d7287;font-size:1rem;line-height:1.65;}
.catalog-toolbar{gap:16px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 7px 22px rgba(18,59,99,.06);}
.catalog-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px;}
.catalog-filter{min-height:46px;padding:9px 16px;border:2px solid #d8e3ec;background:#fff;border-radius:999px;color:#28465f;font-weight:800;font-size:.94rem;white-space:nowrap;}
.catalog-filter:hover{border-color:var(--blue-main);color:var(--blue-main);}
.catalog-filter.active{background:var(--blue-main);border-color:var(--blue-main);color:#fff;box-shadow:0 5px 14px rgba(29,100,164,.22);}
.catalog-trust{font-size:.88rem;color:#5e7387;white-space:nowrap;}

.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.product-card{border:1px solid #e0e8ef;box-shadow:0 12px 34px rgba(18,59,99,.09);min-width:0;}
.product-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(18,59,99,.14);}
.product-thumb{height:230px;background:#f5f8fb!important;padding:10px;}
.product-photo{padding:4px;object-fit:contain;}
.product-body{padding:20px;gap:9px;}
.product-title-row{gap:10px;align-items:flex-start;}
.product-body h4{font-size:1.16rem;line-height:1.3;}
.product-body .desc{font-size:.96rem;line-height:1.55;}
.product-code{font-size:.75rem!important;padding:5px 8px;border-radius:8px;background:#eef4f8;color:#587087!important;white-space:nowrap;}
.product-meta{padding-top:8px;border-top:1px solid #edf2f6;}
.product-price{font-size:1.22rem;}
.product-unit{font-size:.8rem;}
.add-btn{min-height:50px;font-size:1rem;padding:12px 16px;}
.add-btn:disabled{background:#f2f5f7;color:#8192a2;border-color:#dce4eb;}

.product-colors{margin-top:12px;padding:13px;border:1px solid #e2eaf1;border-radius:13px;background:#fbfcfd;}
.color-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;}
.color-heading strong{font-size:.95rem;}
.color-count{font-size:.78rem;color:#6d8193;font-weight:700;}
.color-list{gap:7px;max-height:142px;overflow:hidden;}
.color-chip{min-height:38px!important;padding:6px 10px!important;font-size:.78rem!important;border-radius:9px!important;display:inline-flex!important;align-items:center;gap:7px;}
.color-dot{width:20px!important;height:20px!important;min-width:20px;border-radius:50%;background:var(--chip-color);border:1px solid rgba(0,0,0,.16);box-shadow:inset 0 1px 2px rgba(255,255,255,.35);}
.color-name{font-weight:700;}
.view-colors{width:100%;min-height:44px;margin-top:10px;border:2px solid #d8e4ed;background:#fff;color:var(--blue-main);border-radius:10px;font-weight:800;font-size:.9rem;}
.view-colors:hover{background:#f0f6fa;}
.selected-color{font-size:.9rem;min-height:22px;}

/* História: as três fotos passam a ocupar toda a largura azul, com melhor leitura. */
.story{padding:88px 0 76px;}
.story-inner{grid-template-columns:1fr;gap:46px;}
.story-copy{max-width:900px;margin:0 auto;}
.story-copy p{max-width:900px;font-size:1.04rem;line-height:1.72;}
.story-copy .btn{min-height:50px;}
.story-art{width:100%;min-height:0;order:0;}
.story-history-visual{width:100%;max-width:1100px;}
.story-history-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:12px;}
.story-history-photo{border-width:4px;border-radius:18px;}
.story-history-photo img{aspect-ratio:16/10;object-fit:cover;}
.story-history-photo figcaption{padding:11px 12px;font-size:.82rem;min-height:44px;display:flex;align-items:center;justify-content:center;}
.story-character{width:min(100%,560px);}

.benefits{padding:74px 0;background:#fff;}
.benefit{padding:24px 18px;border:1px solid #e2eaf1;border-radius:18px;background:#fbfcfd;box-shadow:0 8px 24px rgba(18,59,99,.06);}
.benefit h4{font-size:1.08rem;}
.benefit p{font-size:.95rem;}

.location-section{padding:82px 0;}
.location-info{box-shadow:var(--soft-shadow);}
.location-info .btn{min-height:50px;}
.location-map{box-shadow:var(--soft-shadow);}
.opening-hours-grid>div{min-height:58px;align-items:center;font-size:1rem;}

.site-footer{padding-top:54px;}
.footer-professional{gap:28px;}
.footer-col a{font-size:.95rem;min-height:36px;display:flex;align-items:center;}
.footer-whatsapp-green,.footer-instagram{min-height:48px!important;}

/* Carrinho: mais legível, sem item fantasma e com controles grandes. */
.cart-drawer{width:min(440px,100vw);}
.cart-head{padding:20px 24px;}
.cart-head h3{font-size:1.35rem;}
.cart-items{padding:20px 24px;gap:12px;}
.cart-item{padding:13px 0;border-bottom:1px solid #edf1f5;align-items:flex-start;}
.cart-item .ci-thumb{width:64px;height:64px;border-radius:12px;background:#f5f8fa!important;box-shadow:none;overflow:hidden;}
.cart-item .ci-info h5{font-size:.96rem;line-height:1.35;}
.cart-item .ci-info span{font-size:.85rem;line-height:1.45;}
.ci-qty{gap:6px;}
.ci-qty button{width:40px;height:40px;font-size:1.15rem;}
.ci-remove{min-height:40px;padding:8px;font-size:.84rem;}
.cart-foot{padding:20px 24px 26px;background:#fbfcfd;}
.cart-total{font-size:1rem;}
.cart-total strong{font-size:1.25rem;}
#checkoutBtn{min-height:54px;font-size:1rem;}
.cart-empty{font-size:1rem;line-height:1.6;max-width:270px;margin:50px auto 0;}

.whatsapp-fab{width:64px;height:64px;right:20px;bottom:20px;background:#20bf63;box-shadow:0 12px 30px rgba(32,191,99,.35);}
.whatsapp-fab img{width:34px;height:34px;object-fit:contain;}
.back-top{width:48px!important;height:48px!important;bottom:92px!important;right:28px!important;}

/* Modal de cores */
.color-modal-panel{width:min(760px,calc(100vw - 24px));max-height:min(88vh,760px);border-radius:22px;}
.color-modal-head{padding:22px 24px 16px;}
.color-modal-search input{min-height:48px;font-size:16px;}
.modal-color-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:18px 24px;}
.modal-color-grid .color-chip{min-height:46px!important;justify-content:flex-start;}
.color-modal-foot{padding:16px 24px 22px;}
.color-modal-foot .btn{min-height:50px;}

.search-empty,.filter-empty{grid-column:1/-1;padding:26px;border:1px dashed #cbd8e4;border-radius:14px;background:#fff;color:#60778b;text-align:center;font-weight:700;}
.filter-hidden,.search-hidden{display:none!important;}

@media(max-width:1000px){
  .main-nav{gap:2px;}
  .main-nav > a,.nav-dropdown > summary{padding-inline:9px;}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .story-history-gallery{gap:14px;}
  .footer-professional{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media(max-width:760px){
  .wrap{padding-inline:18px;}
  .header-inner{min-height:68px;}
  .main-nav{top:68px;padding:12px 18px 20px;max-height:calc(100vh - 68px);overflow:auto;}
  .main-nav a,.nav-dropdown summary{min-height:52px;font-size:1rem;}
  .nav-dropdown-menu{position:static!important;margin:4px 0 8px!important;box-shadow:none!important;border:1px solid rgba(255,255,255,.14)!important;}
  .hero{padding-top:44px;}
  .hero-art{height:280px;}
  .hero-character-yarn{max-height:280px;}
  .hero-copy h1{font-size:clamp(2.6rem,12vw,4rem);}
  .hero-sub{font-size:1.04rem;}
  .hero-cta{display:grid;grid-template-columns:1fr;}
  .hero-cta .btn{width:100%;}
  .catalog-toolbar{padding:12px;}
  .catalog-filters{padding-bottom:4px;}
  .catalog-trust{font-size:.82rem;white-space:normal;line-height:1.4;}
  .product-section{padding:62px 0;}
  .product-grid{grid-template-columns:1fr;gap:18px;}
  .product-thumb{height:250px;}
  .product-body{padding:20px;}
  .product-body h4{font-size:1.22rem;}
  .product-body .desc{font-size:1rem;}
  .color-list{max-height:152px;}
  .color-chip{min-height:42px!important;font-size:.82rem!important;padding:7px 10px!important;}
  .color-dot{width:22px!important;height:22px!important;min-width:22px;}
  .story-history-gallery{grid-template-columns:1fr;gap:16px;}
  .story-history-photo img{aspect-ratio:16/9;}
  .story-copy p{font-size:1rem;}
  .benefits-grid{gap:14px;}
  .benefit{text-align:left;}
  .location-section{padding:64px 0;}
  .location-map,.location-map iframe{min-height:300px;}
  .footer-professional{grid-template-columns:1fr;}
  .footer-logo{width:220px;}
  .modal-color-grid{grid-template-columns:1fr 1fr;padding:14px 16px;}
  .color-modal-head{padding:18px 18px 12px;}
  .color-modal-foot{padding:14px 18px 18px;display:grid;gap:10px;}
  .color-modal-foot .btn{width:100%;}
}

@media(max-width:420px){
  .wrap{padding-inline:14px;}
  .brand-logo{width:108px;height:54px;}
  .header-whatsapp span{display:none;}
  .header-whatsapp{width:46px;justify-content:center;padding:7px;}
  .hero-art{height:230px;}
  .hero-character-yarn{max-height:230px;}
  .product-thumb{height:220px;}
  .product-title-row{display:block;}
  .product-code{display:inline-block;margin-top:7px;}
  .modal-color-grid{grid-template-columns:1fr;}
  .whatsapp-fab{width:60px;height:60px;right:14px;bottom:14px;}
  .back-top{right:20px!important;bottom:84px!important;}
}


/* ===== CORREÇÃO FINAL — cards de produtos no celular ===== */
.product-thumb{
  position:relative;
  overflow:hidden;
}
.product-thumb .product-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
  margin:0 auto;
  padding:0;
}
.product-trust-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:2px 0 8px;
  padding:5px 9px;
  border-radius:999px;
  background:#edf9f2;
  border:1px solid #cfeede;
  color:#17784b;
  font-size:.72rem;
  font-weight:800;
}
.product-trust-label::before{content:'✓';font-weight:900}
@media(max-width:760px){
  #linhas .product-thumb{height:250px;min-height:250px;padding:6px;}
  #linhas .product-thumb .product-photo{width:100%;height:100%;padding:0;object-fit:contain;}
  #linhas .product-body{padding:18px;}
  #linhas .product-body h4{font-size:1.18rem;}
  #linhas .product-body .desc{font-size:.96rem;}
  #linhas .color-chip{min-height:42px!important;font-size:.82rem!important;padding:7px 10px!important;}
  #linhas .color-dot{width:22px!important;height:22px!important;min-width:22px;}
  #linhas .add-btn{min-height:50px;font-size:1rem;}
}
@media(max-width:420px){
  #linhas .product-thumb{height:230px;min-height:230px;}
}
/* ===== SELO PADRÃO DE COMPRA PELO WHATSAPP =====
   Fica dentro do corpo do card, nunca sobre a fotografia. */
.product-whatsapp-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin:10px 0 2px;
  padding:6px 10px;
  border:1px solid #cdebd9;
  border-radius:999px;
  background:#eefaf3;
  color:#177c4d;
  font-size:.68rem;
  font-weight:900;
  line-height:1;
}
.product-whatsapp-badge img{
  width:16px;
  height:16px;
  object-fit:contain;
  flex:0 0 16px;
}
.product-whatsapp-badge + .desc{margin-top:8px;}
.product-card .product-body{display:flex;flex-direction:column;}
.product-card .product-meta{margin-top:auto;}
@media(max-width:760px){
  .product-whatsapp-badge{font-size:.72rem;padding:7px 11px;margin-top:11px;}
  .product-whatsapp-badge img{width:17px;height:17px;flex-basis:17px;}
}

/* ===== AJUSTE FINAL DO RODAPÉ — espaçamento equilibrado após remoção de categorias ===== */
.site-footer{
  padding-top:44px;
}
.footer-professional{
  grid-template-columns:1.3fr .95fr .9fr 1.3fr .95fr;
  gap:34px;
  padding-bottom:30px;
  align-items:start;
}
.footer-logo{
  width:200px;
  margin-bottom:12px;
}
.footer-brand p{
  margin-bottom:14px;
  line-height:1.5;
}
.footer-social-icons{
  gap:10px;
  margin:8px 0 7px;
}
.footer-social-icons a{
  width:40px;
  height:40px;
}
.footer-phone-large{
  margin-top:4px!important;
}
.footer-professional .footer-col h5{
  margin-bottom:12px;
  padding-bottom:9px;
}
.footer-professional .footer-col a{
  font-size:.9rem;
  min-height:31px;
  margin-bottom:6px;
  line-height:1.35;
}
.footer-note-large{
  line-height:1.5;
  margin-bottom:11px;
}
.footer-contact-line{
  margin:9px 0;
  line-height:1.5;
}
.footer-whatsapp-green,
.footer-instagram{
  min-height:46px!important;
}
.footer-bottom{
  padding:16px 24px;
}

@media(max-width:1150px){
  .footer-professional{grid-template-columns:1.25fr 1fr 1fr 1.25fr;gap:28px;}
  .footer-instagram-col{grid-column:2 / span 2;}
  .footer-brand{grid-row:span 2;}
}
@media(max-width:800px){
  .footer-professional{grid-template-columns:1fr 1fr;gap:24px;}
  .footer-brand{grid-row:auto;}
  .footer-instagram-col{grid-column:auto;}
}
@media(max-width:560px){
  .site-footer{padding-top:38px;}
  .footer-professional{grid-template-columns:1fr;gap:22px;padding-bottom:24px;}
  .footer-instagram-col{grid-column:auto;}
  .footer-logo{width:210px;}
}

/* ===== ALINHAMENTO FINAL — topo visual uniforme do rodapé ===== */
.footer-professional{
  align-items:start;
}
.footer-professional > .footer-brand,
.footer-professional > .footer-col{
  margin-top:0;
}
.footer-professional > .footer-col > h5{
  margin-top:0;
}
/* O logo possui uma pequena área transparente no topo; este ajuste compensa isso visualmente. */
.footer-professional > .footer-brand .footer-logo{
  margin-top:-6px;
}

/* Cores lisas: amostra visual fiel e nome da cor sempre visível.
   As cores mescladas continuam usando a textura própria. */
.color-chip-lisa .color-dot{
  background:var(--chip-color)!important;
  background-image:none!important;
  position:relative;
  overflow:hidden;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.45), inset 0 -1px 2px rgba(0,0,0,.12);
}
.color-chip-lisa .color-name{
  display:inline-block;
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.color-chip-lisa:hover .color-dot{
  box-shadow:inset 0 1px 2px rgba(255,255,255,.5), inset 0 -1px 2px rgba(0,0,0,.14), 0 0 0 1px rgba(29,92,155,.12);
}


/* =========================================================
   CORREÇÃO FINAL — MOBILE + POSICIONAMENTO DO MASCOTE
   ========================================================= */

/* Mobile: evita que a área de cores rápidas seja cortada
   e faça o botão "Ver todas as cores" ficar sobre as amostras. */
@media (max-width: 700px){
  .product-colors{
    overflow:visible;
  }
  .color-list-quick{
    max-height:150px !important;
    overflow:hidden;
    margin-bottom:4px;
  }
  .view-colors{
    position:relative;
    z-index:3;
    display:flex;
    align-items:center;
    min-height:46px;
    margin-top:2px;
    padding:9px 0;
    background:#fff;
  }
  .selected-color{
    position:relative;
    z-index:2;
    margin-top:5px !important;
  }
}

/* Desktop: mascote fica claramente na coluna direita do banner,
   alinhado visualmente ao centro e sem invadir o texto. */
@media (min-width: 981px){
  .hero-inner{
    grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
    gap:24px;
  }
  .hero-art{
    height:400px;
    justify-content:flex-end;
    align-items:center;
    padding-right:18px;
  }
  .hero-character-yarn{
    width:min(420px,100%);
    max-height:400px;
    transform:translate(0,-2px);
  }
}

/* Em telas intermediárias, mantém o mascote centralizado quando
   o layout já passou para uma coluna. */
@media (min-width: 721px) and (max-width: 980px){
  .hero-art{
    justify-content:center;
    height:300px;
    padding-right:0;
  }
  .hero-character-yarn{
    max-height:290px;
    width:min(360px,90%);
  }
}


/* =========================================================
   ACABAMENTO FINAL — RESPONSIVIDADE, HISTÓRIA E MASCOTE
   ========================================================= */

/* Galeria da história: preserva a foto inteira e evita cortes agressivos. */
.story-history-gallery{
  align-items:stretch;
}
.story-history-photo{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
}
.story-history-photo img{
  width:100%;
  height:clamp(230px,18vw,330px);
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  background:#f7fafc;
  padding:0;
}
.story-history-photo figcaption{
  flex:1;
  min-height:48px;
}

/* Desktop: mascote do banner fica claramente no lado direito. */
@media (min-width:981px){
  .hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);
    align-items:center;
    gap:30px;
  }
  .hero-art{
    height:410px;
    justify-content:flex-end;
    align-items:center;
    padding:0 10px 0 0;
  }
  .hero-character-yarn{
    width:min(430px,100%);
    max-height:410px;
    object-fit:contain;
    transform:none;
  }
}

/* Tablet: mantém o mascote visível sem apertar o texto. */
@media (min-width:721px) and (max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:18px;}
  .hero-art{order:-1;height:290px;justify-content:center;padding:0;}
  .hero-character-yarn{width:min(360px,88%);max-height:290px;transform:none;}
}

/* Mobile: área de cores nunca pode sobrepor o botão ou a cor escolhida. */
@media (max-width:700px){
  .product-colors{
    overflow:visible;
    position:relative;
  }
  .color-list-quick{
    display:flex;
    flex-wrap:wrap;
    align-content:flex-start;
    max-height:132px !important;
    overflow:hidden !important;
    gap:7px !important;
    margin:0 !important;
  }
  .color-chip{
    flex:0 0 auto;
    max-width:100%;
  }
  .color-name{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .view-colors{
    position:relative;
    z-index:1;
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    min-height:46px !important;
    margin:9px 0 0 !important;
    padding:10px 12px !important;
    box-sizing:border-box;
    border:1px solid #d8e4ed !important;
    border-radius:10px !important;
    background:#fff !important;
  }
  .selected-color{
    position:relative;
    z-index:1;
    display:block;
    min-height:30px !important;
    margin:7px 0 0 !important;
    padding:7px 9px !important;
    box-sizing:border-box;
    border-radius:8px;
    background:#f4f8fb !important;
  }

  .story-history-gallery{
    grid-template-columns:1fr !important;
    gap:16px;
  }
  .story-history-photo img{
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
    background:#f7fafc;
  }
  .story-history-photo figcaption{
    min-height:50px;
    font-size:.86rem;
  }
  .story-history-heading h3{font-size:1.65rem;}
  .story-history-heading p{font-size:.92rem;}

  .hero-art{height:230px;}
  .hero-character-yarn{max-height:230px;width:min(330px,92%);}
  .whatsapp-fab{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));}
  .back-top{right:20px;bottom:84px;}
}

@media (max-width:420px){
  .hero-art{height:205px;}
  .hero-character-yarn{max-height:205px;width:min(300px,90%);}
  .story-history-photo{border-radius:14px;}
  .story-history-photo figcaption{font-size:.82rem;}
}
