/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Assistant', Arial, sans-serif; color: #121212; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ===== CSS VARIABLES ===== */
:root {
  --green: #79B928;
  --dark: #111;
  --text: #333;
  --light-text: #888;
  --border: #e0e0e0;
  --gray: #f5f5f5;
  --radius: 12px;
  --transition: all .2s ease;
}

/* ===== SECONDARY PAGES (login, conta, faq, pedidos, sobre, entrega, trocas, privacidade) ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--dark); color: #fff; padding: 8px 0; font-size: 0.75rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.topbar-inner span { display: flex; align-items: center; gap: 6px; }
@media (max-width: 600px) { .topbar-inner { gap: 12px; font-size: 0.68rem; } .topbar-inner span:nth-child(3) { display: none; } }

/* Secondary header */
.header { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.header .header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.header .logo a { text-decoration: none; }
.logo-text { font-size: 1.8rem; font-weight: 800; color: var(--dark); letter-spacing: -1px; }
.header .header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { background: none; border: 1px solid var(--border); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--text); position: relative; transition: var(--transition); cursor: pointer; font-size: 0.9rem; }
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.icon-btn .cart-count { position: absolute; top: -4px; right: -4px; background: var(--green); color: #fff; font-size: 0.6rem; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--dark), #222); padding: 48px 0; }
.page-hero h1 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.5); font-size: 0.9rem; }
@media (max-width: 600px) { .page-hero { padding: 32px 0; } .page-hero h1 { font-size: 1.4rem; } }

/* Page content */
.page-content { padding: 40px 0 60px; background: var(--gray); }
.page-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.page-content p { font-size: 0.9rem; color: var(--text); line-height: 1.8; margin-bottom: 12px; }

/* Breadcrumb (secondary pages) */
.page-content .breadcrumb { font-size: 0.82rem; color: var(--light-text); margin-bottom: 28px; padding: 0; background: none; border: none; }
.page-content .breadcrumb a { color: var(--light-text); transition: var(--transition); }
.page-content .breadcrumb a:hover { color: var(--green); }

/* Buttons */
.btn-primary { display: inline-block; background: var(--green); color: #fff; border: none; padding: 12px 24px; font-size: 0.85rem; font-weight: 700; border-radius: var(--radius); cursor: pointer; transition: var(--transition); text-decoration: none; font-family: inherit; }
.btn-primary:hover { background: #6aa320; }
.btn-details { background: none; border: 1px solid var(--border); padding: 8px 16px; font-size: 0.82rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition); color: var(--text); font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.btn-details:hover { border-color: var(--green); color: var(--green); }
.btn-add-cart { background: var(--green); color: #fff; border: none; padding: 10px 16px; font-size: 0.82rem; font-weight: 700; border-radius: 8px; cursor: pointer; transition: var(--transition); font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.btn-add-cart:hover { background: #6aa320; }

/* Form card / groups */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; font-size: 0.88rem; font-family: inherit; color: var(--dark); outline: none; transition: var(--transition); background: #fff; }
.form-group input:focus, .form-group select:focus { border-color: var(--green); }
.form-group input::placeholder { color: #bbb; }
.form-divider { text-align: center; color: var(--light-text); font-size: 0.82rem; margin: 16px 0; position: relative; }
.form-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.form-divider { position: relative; z-index: 1; }
.form-divider::after { content: ''; display: none; }

/* FAQ */
.faq-item { margin-bottom: 8px; }
.faq-question { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; font-size: 0.92rem; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { border-color: var(--green); }
.faq-question.open { border-color: var(--green); background: #fff; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-icon { font-size: 1.2rem; color: var(--light-text); transition: var(--transition); font-weight: 400; }
.faq-question.open .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-answer { display: none; background: #fff; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 16px 20px; font-size: 0.88rem; color: var(--text); line-height: 1.8; }
.faq-answer.open { display: block; }

/* Secondary footer */
.footer { background: var(--dark); color: #fff; padding: 48px 0 0; margin-top: 40px; }
.footer .footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; }
.footer .footer-logo { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -1px; }
.footer .footer-grid p { font-size: 0.82rem; color: #777; line-height: 1.7; display: flex; align-items: center; gap: 8px; }
.footer .footer-grid h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; color: #fff; }
.footer .footer-grid ul { list-style: none; padding: 0; }
.footer .footer-grid ul li { margin-bottom: 8px; }
.footer .footer-grid ul a { font-size: 0.82rem; color: #777; transition: var(--transition); }
.footer .footer-grid ul a:hover { color: #fff; }
.footer .footer-bottom { border-top: 1px solid #222; padding: 16px 0; text-align: center; }
.footer .footer-bottom p { font-size: 0.75rem; color: #555; justify-content: center; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #777; font-size: 0.9rem; transition: var(--transition); }
.social-links a:hover { color: #fff; border-color: #fff; }

/* Secondary footer responsive */
@media (max-width: 768px) {
  .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Background colors for conta favoritos */
.ar-img { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.cabelos-img { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }

/* Back to top (secondary) */
.back-to-top { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: var(--transition); z-index: 900; font-size: 0.9rem; }
.back-to-top.show { opacity: 1; }

/* Sobre page responsive */
@media (max-width: 768px) {
  .sobre-historia-grid { grid-template-columns: 1fr !important; }
  .sobre-valores-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .sobre-valores-grid { grid-template-columns: 1fr !important; }
}

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: #fff;
  color: #000;
  height: 35px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid #e6e6e6;
}
.announce-track { position: relative; overflow: hidden; flex: 1; max-width: 520px; text-align: center; }
.announce-item { display: none; font-size: 0.69rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.announce-item.active { display: block; }
.announce-item a { color: #000; transition: opacity .2s; }
.announce-item a:hover { opacity: .65; }
.announce-arrow { background: none; border: none; color: #000; cursor: pointer; padding: 4px 10px; font-size: 1rem; transition: opacity .2s; line-height: 1; }
.announce-arrow:hover { opacity: .5; }

/* ===== HEADER ===== */
#siteHeader {
  position: relative;
  width: 100%;
  z-index: 9999;
}
.header-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
}


/* ===== HEADER ===== */
.site-header { background: #000; }
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 24px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo {
  display: flex; align-items: center; flex-shrink: 0; text-decoration: none;
}
.logo-img {
  width: 110px; height: auto; display: block;
  filter: brightness(0) invert(1);
}
.header-search {
  flex: 1; max-width: 600px; margin: 0 40px;
  display: flex; align-items: center;
  background: transparent; border: 1px solid rgba(255,255,255,.5);
}
.header-search input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 0.875rem; padding: 10px 16px; font-family: inherit; color: #fff;
}
.header-search input::placeholder { color: rgba(255,255,255,.6); }
#searchBtn,
.header-search button {
  background: none; border: none; border-left: 1px solid rgba(255,255,255,.5);
  padding: 10px 16px; color: rgba(255,255,255,.8); display: flex; align-items: center;
  transition: opacity .2s; cursor: pointer;
}
#searchBtn:hover,
.header-search button:hover { opacity: .7; }
.header-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.header-user svg { color: #999; }
.user-welcome { font-size: 0.75rem; color: #fff; font-weight: 700; line-height: 1.3; }
.user-login { font-size: 0.75rem; color: #999; line-height: 1.3; }
.header-user { display: flex; align-items: center; gap: 10px; color: #fff; transition: opacity .2s; }
.header-user:hover { opacity: .75; }
.header-user svg { color: #fff; }
.header-user-text { display: flex; flex-direction: column; }
.user-welcome { font-size: 0.7rem; color: #fff; font-weight: 600; line-height: 1.3; }
.user-login { font-size: 0.72rem; color: rgba(255,255,255,.65); line-height: 1.3; }
.header-cart-btn {
  background: none; border: none; position: relative;
  display: flex; align-items: center; padding: 4px; color: #fff; transition: opacity .2s;
}
.header-cart-btn:hover { opacity: .75; }
.cart-badge {
  position: absolute; top: -4px; right: -7px;
  background: #1dbf4c; color: #fff; font-size: 0.6rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; flex-shrink: 0; }
.mobile-nav-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ===== NAV ===== */
.nav-overlay { display: none; }
.nav-close-btn { display: none; }
.site-nav { background: #000; border-top: 1px solid rgba(255,255,255,.1); }
.site-nav ul { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 40px; }
.nav-link {
  display: block; padding: 0 0 2px;
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,.75);
  white-space: nowrap; transition: color .2s;
  border-bottom: 1.5px solid transparent;
}
.nav-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.nav-link.active-link { color: #fff; font-weight: 600; border-bottom-color: #fff; }

/* ===== HERO CAROUSEL ===== */
/* ===== HERO BANNER FIXO ===== */
.hero-banner {
  width: 100%;
  display: block;
  background: #000;
  overflow: hidden;
  line-height: 0;
}
.hero-banner a {
  display: block;
  width: 100%;
}
.hero-full-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== TRUST BAR ===== */
.trust-bar { background: #f8f8f8; border-bottom: 1px solid #ebebeb; padding: 22px 40px; }
.trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 16px; padding: 0 24px; border-right: 1px solid #e0e0e0; }
.trust-item:last-child { border-right: none; }
.trust-item img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.trust-item svg { flex-shrink: 0; color: #111; }
.trust-item strong { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #111; }
.trust-item span { font-size: 0.65rem; color: #999; line-height: 1.4; display: block; margin-top: 2px; }

/* ===== PRODUCTS ===== */
.products-section { padding: 56px 0 72px; background: #fff; }
.products-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-head { margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid #ebebeb; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-copy { flex: 1; }
.section-head h2 { font-size: 1.4rem; font-weight: 700; color: #111; margin-bottom: 5px; letter-spacing: -.2px; }
.section-head p { font-size: 0.83rem; color: #999; line-height: 1.5; }

.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* Card */
.pcard {
  background: #fff; border: 1px solid #e8e8e8;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .3s, transform .3s; overflow: hidden; border-radius: 0;
}
.pcard:hover { box-shadow: 0 8px 32px rgba(0,0,0,.10); transform: translateY(-2px); }
.pcard.hidden { display: none; }

/* Badges */
.pcard-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #111; color: #fff; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px;
}
.pcard-badge-launch { background: #111; }
.pcard-badge-pro    { background: #111; }
.pcard-badge-smart  { background: #111; }
.pcard-badge-new    { background: #111; }
.pcard-badge-id     { background: #111; }

/* Imagem */
.pcard-img {
  height: 380px; display: flex; align-items: center; justify-content: center;
  padding: 28px 24px; background: #fff; overflow: hidden;
}
.pcard-img img { max-height: 320px; width: auto; object-fit: contain; transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }

/* Body */
.pcard-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid #f0f0f0; }
.pcard-body h3 { font-size: 0.95rem; font-weight: 700; color: #111; line-height: 1.5; margin-bottom: 14px; }

/* Preços */
.pcard-price-wrap { flex: 1; display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; }
.pcard-cartao { font-size: 0.75rem; color: #888; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pcard-cartao s { color: #aaa; }
.pix-tag {
  background: #79B928; color: #fff; font-size: 0.62rem; font-weight: 800;
  padding: 2px 7px; border-radius: 2px; letter-spacing: .3px; white-space: nowrap;
}
.pcard-price { font-size: 1.55rem; font-weight: 800; color: #111; letter-spacing: -.5px; line-height: 1.1; }
.pcard-pix-label { font-size: 0.78rem; color: #111; font-weight: 500; }
.pcard-economy { font-size: 0.78rem; color: #79B928; font-weight: 700; }
.pcard-parcel { font-size: 0.74rem; color: #666; }

/* Botão COMPRAR — verde */
.pcard-buy {
  width: 100%; background: #79B928; color: #fff; border: none;
  padding: 14px; font-size: 0.82rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; transition: background .2s; margin-top: auto;
  cursor: pointer;
}
.pcard-buy:hover { background: #6aa320; }

/* Botão "VER TODOS" */
.products-footer { text-align: center; margin-top: 48px; }
.btn-ver-todos {
  display: inline-block; background: transparent; color: #111; border: 2px solid #111;
  padding: 13px 52px; font-size: 0.78rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s;
}
.btn-ver-todos:hover { background: #111; color: #fff; }

.no-results { grid-column: 1/-1; text-align: center; padding: 60px; color: #aaa; font-size: 0.9rem; }

/* ===== CAROUSEL ===== */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.carousel-clip {
  flex: 1;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
  will-change: transform;
}
.carousel-track .pcard {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}
.carousel-btn {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  width: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
  align-self: center;
  height: 44px;
}
.carousel-btn:hover { background: #f0f0f0; }
.carousel-prev { border-radius: 2px 0 0 2px; }
.carousel-next { border-radius: 0 2px 2px 0; }

/* ===== CATEGORY BANNERS ===== */
.cat-banners { padding: 0 0 48px; background: #fff; }
.cat-banners-title { max-width: 1280px; margin: 0 auto; padding: 48px 32px 28px; }
.cat-banners-title h2 { color: #111; font-size: 1.4rem; font-weight: 700; }
.cat-banners-title p { color: #666; font-size: 0.88rem; margin-top: 6px; }
.cat-banners-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.cat-banner-item {
  position: relative; overflow: hidden; display: block;
  min-height: 400px; background: #111;
}
.cat-banner-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.cat-banner-item:hover img { transform: scale(1.04); }
.cat-banner-label {
  position: absolute; bottom: 28px; left: 28px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.6); color: #fff; padding: 12px 20px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  backdrop-filter: blur(4px); transition: background .2s;
}
.cat-banner-item:hover .cat-banner-label { background: rgba(0,0,0,.85); }

/* ===== VIDEOS ===== */
.videos-section { background: #000; padding: 2px 0 0; }
.videos-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.video-item { position: relative; padding-top: 56.25%; background: #111; overflow: hidden; }
.video-item iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===== NEWSLETTER ===== */
.newsletter { background: #111; padding: 60px 0; }
.newsletter-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.newsletter-copy h2 { color: #fff; font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.newsletter-copy p { color: #777; font-size: 0.86rem; }
.nl-form { display: flex; gap: 0; flex-shrink: 0; }
.nl-form input {
  padding: 13px 20px; border: none; border-bottom: 2px solid #444;
  background: transparent; color: #fff; font-size: 0.9rem; outline: none;
  width: 300px; font-family: inherit; transition: border-color .2s;
}
.nl-form input::placeholder { color: #555; }
.nl-form input:focus { border-bottom-color: #fff; }
.nl-form button {
  padding: 13px 28px; background: #fff; color: #000; border: none;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; transition: background .2s;
}
.nl-form button:hover { background: #ddd; }

/* ===== FOOTER ===== */
.site-footer { background: #000; color: #555; padding: 56px 0 0; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 32px 56px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-logo { margin-bottom: 20px; line-height: 0; }
.footer-grid p { font-size: 0.81rem; line-height: 1.8; color: #555; }
.footer-grid strong { color: #888; }
.footer-grid h4 { color: #fff; font-size: 0.76rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 0.81rem; color: #555; transition: color .2s; }
.footer-grid ul a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid #222; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #555;
  transition: color .2s, border-color .2s;
}
.footer-social a:hover { color: #fff; border-color: #fff; }
.footer-pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.footer-pay span {
  background: #111; border: 1px solid #222; color: #555;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1px;
  padding: 4px 8px; border-radius: 3px;
}
.footer-bottom { border-top: 1px solid #111; padding: 20px 32px; text-align: center; }
.footer-bottom p { font-size: 0.73rem; color: #3a3a3a; }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000; opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; right: 0; top: 0; height: 100vh; width: min(480px, 100vw);
  background: #0d0d0d; z-index: 10001;
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  box-shadow: -16px 0 80px rgba(0,0,0,.8);
}
.cart-sidebar.open { transform: translateX(0); }

/* Header */
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 68px;
  border-bottom: 1px solid #1a1a1a; flex-shrink: 0;
}
.cart-head-left { display: flex; align-items: center; gap: 10px; }
.cart-head h3 {
  font-size: 0.7rem; font-weight: 800; color: #fff;
  letter-spacing: 2.5px; text-transform: uppercase; margin: 0;
}
.cart-items-label { display: none; }
.cart-head-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #000; font-size: 0.58rem; font-weight: 900;
  min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  letter-spacing: 0; line-height: 1;
}
#cartClose {
  background: transparent; border: none;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #555; transition: color .2s; padding: 0;
}
#cartClose:hover { color: #fff; }

/* Shipping bar */
.cart-ship-wrap {
  padding: 14px 28px; border-bottom: 1px solid #161616;
  background: #111; flex-shrink: 0;
}
.cart-ship-text { font-size: 0.69rem; color: #777; letter-spacing: 0.3px; margin-bottom: 9px; }
.cart-ship-text strong { color: #79B928; font-weight: 700; }
.cart-ship-bar-bg { height: 2px; background: #222; border-radius: 2px; overflow: hidden; }
.cart-ship-bar-fill {
  height: 100%; background: linear-gradient(90deg, #4e7814, #79B928);
  border-radius: 2px; transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* Body */
.cart-body { flex: 1; overflow-y: auto; }
.cart-body::-webkit-scrollbar { width: 3px; }
.cart-body::-webkit-scrollbar-track { background: #0d0d0d; }
.cart-body::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }

/* Empty */
.cart-empty { text-align: center; padding: 72px 28px; }
.cart-empty svg { opacity: .08; margin-bottom: 18px; }
.cart-empty p { font-size: 0.83rem; color: #4a4a4a; margin-bottom: 24px; line-height: 1.65; }
.cart-empty-btn {
  background: #fff; color: #000; border: none;
  padding: 14px 36px; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 1.8px; text-transform: uppercase; cursor: pointer;
  font-family: inherit; transition: background .2s;
}
.cart-empty-btn:hover { background: #e5e5e5; }

/* Items */
@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 16px; padding: 22px 28px;
  border-bottom: 1px solid #151515;
  background: #0d0d0d;
  animation: cartItemIn .25s ease;
}
.cart-item-img {
  width: 96px; height: 96px; background: #000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.cart-item-img img { width: 96px; height: 96px; object-fit: contain; display: block; }
.cart-item-mid { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cart-item-name { font-size: 0.95rem; font-weight: 600; color: #e8e8e8; line-height: 1.45; }
.cart-item-voltage { font-size: 0.72rem; font-weight: 700; color: #333; letter-spacing: 1.5px; text-transform: uppercase; }
.cart-item-qty { display: inline-flex; align-items: center; border: 1px solid #222; margin-top: 8px; width: fit-content; }
.qty-btn {
  width: 32px; height: 32px; border: none; background: transparent;
  font-size: 1.1rem; color: #666; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s; font-family: inherit;
}
.qty-btn:hover { color: #fff; background: #1e1e1e; }
.qty-num {
  font-size: 0.8rem; font-weight: 700; min-width: 36px; text-align: center;
  color: #fff; border-left: 1px solid #222; border-right: 1px solid #222; line-height: 32px;
}
.cart-item-right {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: space-between; min-height: 96px; flex-shrink: 0;
}
.cart-item-remove {
  background: none; border: none; color: #2e2e2e; cursor: pointer;
  padding: 4px; transition: color .2s;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-remove:hover { color: #e53535; }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: #fff; letter-spacing: 0.2px; }

/* Footer */
.cart-foot { flex-shrink: 0; border-top: 1px solid #1a1a1a; padding: 22px 28px 30px; background: #0a0a0a; }
.cart-foot-title { display: none; }
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 0;
}
.cart-summary-row span:first-child { font-size: 0.76rem; color: #4a4a4a; }
.cart-summary-row span:last-child { font-size: 0.76rem; color: #777; font-weight: 500; }
.cart-summary-row.cart-frete span:last-child { color: #79B928; font-weight: 700; }
.cart-summary-row.cart-total-row {
  padding: 16px 0 22px; margin-top: 6px; border-top: 1px solid #1a1a1a; border-bottom: none;
}
.cart-summary-row.cart-total-row span:first-child { font-size: 0.88rem; font-weight: 700; color: #fff; }
.cart-summary-row.cart-total-row span:last-child { font-size: 1.2rem; font-weight: 900; color: #fff; letter-spacing: -0.3px; }
.btn-checkout {
  width: 100%; background: #a3d900; color: #000; border: none;
  padding: 17px; font-size: 0.74rem; font-weight: 800; letter-spacing: 2.2px;
  text-transform: uppercase; margin-bottom: 10px;
  transition: background .2s; cursor: pointer; font-family: inherit;
}
.btn-checkout:hover { background: #8fc200; }
.btn-continue {
  width: 100%; background: transparent; color: #fff; border: 1px solid #444;
  padding: 13px; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s;
  font-family: inherit;
}
.btn-continue:hover { border-color: #888; color: #ccc; }
.cart-secure {
  display: flex; align-items: center; gap: 7px; justify-content: center; margin-top: 16px;
}
.cart-secure svg { color: #2a2a2a; flex-shrink: 0; }
.cart-secure span { font-size: 0.62rem; color: #2e2e2e; letter-spacing: 0.2px; }
.cart-shipping-bar, .cart-pix-row, .cart-trust, .cart-main { display: none; }

/* Mobile */
@media (max-width: 520px) {
  .cart-sidebar { width: 100vw; }
  .cart-head { padding: 0 20px; height: 60px; }
  .cart-ship-wrap { padding: 12px 20px; }
  .cart-item { grid-template-columns: 80px 1fr auto; padding: 18px 20px; gap: 14px; }
  .cart-item-img { width: 80px; height: 80px; }
  .cart-item-img img { width: 80px; height: 80px; }
  .cart-foot { padding: 18px 20px 26px; }
  .qty-btn { width: 44px; height: 44px; }
  .qty-num { line-height: 44px; }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 3000;
  opacity: 0; pointer-events: none; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; max-width: 900px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative; border-radius: 2px;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 1.2rem; color: #aaa; z-index: 10; transition: color .2s; padding: 4px 8px;
}
.modal-close:hover { color: #000; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.modal-img-wrap { background: #f5f5f5; display: flex; align-items: center; justify-content: center; padding: 48px; min-height: 400px; }
.modal-img-wrap img { max-height: 320px; width: auto; object-fit: contain; }
.modal-info { padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.modal-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #999; }
.modal-name { font-size: 1.2rem; font-weight: 700; line-height: 1.4; color: #111; }
.modal-desc { font-size: 0.85rem; color: #666; line-height: 1.7; }
.modal-specs h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #111; margin-bottom: 10px; }
.modal-specs ul { list-style: none; }
.modal-specs ul li { font-size: 0.82rem; color: #555; padding: 5px 0; border-bottom: 1px solid #f0f0f0; }
.modal-specs ul li::before { content: '— '; color: #bbb; }
.modal-price-label { font-size: 1.05rem; color: #111; margin-top: auto; }
.modal-add-btn {
  width: 100%; background: #79B928; color: #fff; border: none;
  padding: 16px; font-size: 0.9rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; transition: background .2s;
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.modal-add-btn:hover { background: #6aa320; }
@media (max-width: 768px) {
  .modal-add-btn {
    padding: 18px 16px;
    font-size: 1rem;
    border-radius: 10px;
    letter-spacing: 1px;
  }
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #111; color: #fff; padding: 12px 40px 12px 28px; font-size: 0.82rem; font-weight: 600;
  z-index: 5000; border-radius: 2px; opacity: 0; transition: transform .3s, opacity .3s; white-space: nowrap;
  max-width: 90vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: #1a6b2e; }
.toast.error { background: #c8102e; }

/* ===== BACK TO TOP ===== */
.btt {
  position: fixed; bottom: 90px; right: 24px; background: #000; color: #fff;
  border: none; width: 44px; height: 44px; font-size: 1.1rem; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, background .2s;
}
.btt.show { opacity: 1; pointer-events: all; }
.btt:hover { background: #333; }


/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-inner { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .videos-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .hero-banner { height: auto; }
  .header-user { display: none; }
  .hero-text { flex: 0 0 50%; }
}
@media (max-width: 768px) {
  .header-inner {
    display: flex; grid-template-columns: unset;
    gap: 12px; padding: 0 16px; height: 64px;
  }
  .mobile-nav-btn { display: flex; }
  .header-logo { justify-self: unset; }
  .header-actions { justify-self: unset; margin-left: auto; }
  /* FIX 1: Busca mobile — exibe como barra abaixo do header */
  .header-search {
    display: flex; order: 10;
    position: absolute; bottom: -48px; left: 0; right: 0;
    margin: 0; max-width: 100%; background: #111;
    border: none; border-bottom: 1px solid #222;
    z-index: 9998;
  }
  .header-search input { padding: 12px 16px; font-size: 0.85rem; }
  .header-inner { position: relative; }
  /* FIX 2 & 3: Menu mobile com overlay e botão fechar */
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); z-index: 9998;
  }
  .nav-overlay.open { display: block; }
  .site-nav {
    display: block; position: fixed; top: 0; left: 0; height: 100%;
    width: 85%; max-width: 300px; background: #111; z-index: 9999;
    padding: 0 0 24px; transform: translateX(-100%); transition: transform .3s;
    border-right: 1px solid #222; overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-close-btn {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 20px 20px 16px; border-bottom: 1px solid #222;
  }
  .nav-close-btn button {
    background: none; border: none; color: #888; cursor: pointer;
    padding: 8px; display: flex; align-items: center; justify-content: center;
    transition: color .2s;
  }
  .nav-close-btn button:hover { color: #fff; }
  .site-nav ul { flex-direction: column; padding-top: 8px; }
  .nav-link { padding: 15px 24px; font-size: 0.9rem; color: rgba(255,255,255,.8); border-bottom: 1px solid #222; border-left: none; }
  .nav-link:hover { color: #fff; border-bottom-color: #222; border-left: none; }
  /* FIX 4: Hero banner — sem cortar no mobile */
  .hero-full-img { max-height: none; width: 100%; height: auto; }
  .hero-headline { font-size: 1.5rem; }
  .hero-wordmark { font-size: 2.2rem; }
  .newsletter-inner { flex-direction: column; text-align: center; gap: 24px; }
  .nl-form { flex-direction: column; width: 100%; }
  .nl-form input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .cat-banners-inner { grid-template-columns: 1fr 1fr; }
  .cat-banner-item { min-height: 280px; }
  /* FIX 6: Videos — 2 colunas no tablet, carregamento lazy já existe */
  .videos-inner { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img-wrap { min-height: 260px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-imgs img { max-width: 70%; }
  /* FIX 5: Trust bar — remove border-right no layout vertical */
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid #e0e0e0; padding: 12px 0; }
  .trust-item:last-child { border-bottom: none; }
  /* FIX 6: Videos — 1 coluna no celular */
  .videos-inner { grid-template-columns: 1fr; }
  .footer-grid { gap: 20px; }
  .announce-arrow { min-height: 44px; }
  /* FIX 7: Toast centralizado no mobile */
  .toast { bottom: 90px; left: 50%; right: auto; transform: translateX(-50%) translateY(80px); }
  .toast.show { transform: translateX(-50%) translateY(0); }
}
@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
  .site-nav { width: 100%; max-width: 100%; }
  .products-container { padding: 0 12px; }
  .trust-bar { padding: 14px 12px; }
  .cat-banners-title { padding: 32px 12px 20px; }
  .footer-grid { padding: 0 12px 40px; }
  .newsletter-inner { padding: 0 12px; }
}

/* ===== CAROUSEL MOBILE ===== */
@media (max-width: 768px) {
  /* FIX 8: Carousel — scroll horizontal nativo no mobile */
  .carousel-wrap { flex-wrap: nowrap; }
  .carousel-clip { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .carousel-track { transition: none; }
  .carousel-track .pcard {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .pcard-img { height: 180px; padding: 12px; }
  .pcard-img img { max-height: 150px; }
  .pcard-body { padding: 12px 14px 16px; }
  /* FIX 10: Fontes maiores nos cards mobile */
  .pcard-body h3 { font-size: 0.88rem; margin-bottom: 8px; }
  .pcard-price { font-size: 1.15rem; }
  .pcard-economy { font-size: 0.78rem; }
  .pcard-parcel { font-size: 0.74rem; }
  .pcard-buy { font-size: 0.76rem; padding: 12px 8px; }
}
@media (max-width: 380px) {
  .carousel-track .pcard { flex: 0 0 calc(100% - 10px); }
  .pcard-img { height: 160px; }
}

/* ===== SPECS TABLE MOBILE ===== */
@media (max-width: 600px) {
  .specs-table, .specs-table tbody, .specs-table tr, .specs-table td { display: block; width: 100%; }
  .specs-table tr { border-bottom: none; padding: 6px 0; }
  .specs-table tr:first-child { border-top: none; }
  .specs-table td:first-child {
    width: 100% !important; padding: 10px 0 2px;
    border-bottom: none; font-size: 0.7rem;
    letter-spacing: 0.5px; text-transform: uppercase; color: #888;
  }
  .specs-table td:last-child { padding: 0 0 10px; border-bottom: 1px solid #e0e0e0; font-size: 0.88rem; }
}

/* ===== PRODUCT PAGES PADDING MOBILE ===== */
@media (max-width: 480px) {
  .pdp-section { padding: 0 16px !important; }
  .features-inner { padding: 0 16px !important; }
  .showcase-row { padding: 0 16px !important; gap: 24px !important; }
  .benefit-card-text { padding: 28px 16px !important; }
  .box-section-title { font-size: 2rem !important; margin-bottom: 36px !important; }
  .box-list-grid { padding: 0 16px; }
}
@media (max-width: 380px) {
  .pdp-section { padding: 0 12px !important; }
  .features-inner { padding: 0 12px !important; }
  .showcase-row { padding: 0 12px !important; }
}
