/* Aurora Visual 2026 — desative o plugin para voltar ao visual anterior. */

body.aurora-visual {
  --av-red: #d81b2b;
  --av-red-dark: #b5121f;
  --av-ink: #171719;
  --av-muted: #55555f;
  --av-line: #e6e6ea;
  --av-soft: #f6f6f8;
  --av-pink: #fdecec;
  --av-radius: 14px;
  --av-sans: Manrope, Arial, sans-serif;
  --av-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  /* Theme accent: yellow -> brand red */
  --yellow: #d81b2b;
}

/* ---------- Top bar & header ---------- */
body.aurora-visual .announcement { background: var(--av-ink) !important; color: #fff !important; }
body.aurora-visual .announcement a { color: #fff !important; }
body.aurora-visual a[href*="copa-do-mundo"] { display: none !important; }

/* ---------- Buttons (shop-wide, not cart/checkout) ---------- */
body.aurora-visual:not(.woocommerce-cart):not(.woocommerce-checkout) .button.alt,
body.aurora-visual .single_add_to_cart_button,
body.aurora-visual .product-button,
body.aurora-visual .edit-buy,
body.aurora-visual.aurora-native ul.products li.product .button,
body.aurora-visual ul.products li.product .button {
  background: var(--av-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-family: var(--av-sans) !important;
  font-weight: 800 !important;
  min-height: 44px;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.aurora-visual .single_add_to_cart_button:hover,
body.aurora-visual ul.products li.product .button:hover,
body.aurora-visual .product-button:hover { background: var(--av-red-dark) !important; color: #fff !important; }
body.aurora-visual ul.products li.product .added_to_cart { color: var(--av-red-dark); font-weight: 700; }

/* ---------- Product cards in shop / category / related ---------- */
body.aurora-visual ul.products li.product { display: flex; flex-direction: column; gap: 8px; text-align: left; }
body.aurora-visual ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  object-fit: contain;
  background: var(--av-soft);
  border-radius: var(--av-radius);
  mix-blend-mode: multiply;
  margin: 0 0 4px !important;
  padding: 6px;
  box-sizing: border-box;
}
body.aurora-visual ul.products li.product .woocommerce-loop-product__link { background: var(--av-soft); border-radius: var(--av-radius); display: block; }
body.aurora-visual ul.products li.product .woocommerce-loop-product__title,
body.aurora-visual ul.products li.product h2 {
  font-family: var(--av-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.38 !important;
  color: var(--av-ink) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76em;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  hyphens: none;
}
body.aurora-visual ul.products li.product .price { font-size: 18px !important; font-weight: 800 !important; color: var(--av-ink) !important; margin: 0 !important; }
body.aurora-visual ul.products li.product .button { margin-top: auto !important; width: 100%; text-align: center; }

/* ---------- Single product ---------- */
body.aurora-visual.single-product .woocommerce-product-gallery { background: var(--av-soft); border-radius: 18px; overflow: hidden; }
body.aurora-visual.single-product .woocommerce-product-gallery__image img {
  max-height: 460px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
body.aurora-visual.single-product .summary .product_title {
  font-family: var(--av-sans) !important;
  font-size: clamp(21px, 2.6vw, 30px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.2px;
  text-transform: none !important;
  hyphens: none;
}
body.aurora-visual.single-product .summary .price {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: var(--av-ink) !important;
  margin: 8px 0 6px !important;
}
body.aurora-visual.single-product .summary .stock.in-stock { color: #0e6b35 !important; font-weight: 700; }

/* Buy first, shipping calculator after the button (simple products) */
body.aurora-visual.single-product form.cart:not(.variations_form) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
body.aurora-visual.single-product form.cart:not(.variations_form) .quantity { order: 1; margin: 0 !important; }
body.aurora-visual.single-product form.cart:not(.variations_form) .single_add_to_cart_button { order: 2; flex: 1 1 180px; min-height: 52px; font-size: 16px !important; margin: 0 !important; float: none !important; }
body.aurora-visual.single-product form.cart:not(.variations_form) .containerCalculator { order: 3; flex: 1 1 100%; margin-top: 8px; }
body.aurora-visual.single-product form.cart .quantity .qty { min-height: 52px; min-width: 64px; border-radius: 10px; font-size: 16px; }
body.aurora-visual.single-product .variations_form .single_add_to_cart_button { min-height: 52px; font-size: 16px !important; }
body.aurora-visual.single-product .variations_form select { min-height: 48px; border-radius: 10px; font-size: 16px; padding: 0 12px; }

body.aurora-visual .av-trust-list { list-style: none; margin: 18px 0 8px; padding: 0; border-top: 1px solid var(--av-line); }
body.aurora-visual .av-trust-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--av-line); font-size: 14px; line-height: 1.4; margin: 0; }
body.aurora-visual .av-trust-list .av-icon { color: var(--av-red); flex: 0 0 auto; }
body.aurora-visual .av-trust-list a { color: var(--av-ink); text-decoration: underline; }

/* Sticky buy bar (phones) */
.av-buybar[hidden] { display: none !important; }
.av-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid #e6e6ea;
  box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  font-family: Manrope, Arial, sans-serif;
}
.av-buybar__info { display: flex; flex-direction: column; min-width: 0; }
.av-buybar__name { font-size: 12px; color: #55555f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.av-buybar__price { font-size: 18px; font-weight: 800; color: #171719; }
.av-buybar__price del { font-size: 12px; font-weight: 500; color: #8a8a93; }
.av-buybar .av-btn { flex: 1; }
@media (min-width: 768px) { .av-buybar { display: none !important; } }
body.av-has-buybar .storefront-handheld-footer-bar { display: none !important; }
body.av-has-buybar { padding-bottom: 76px; }

/* ---------- Shared UI ---------- */
.av-icon { flex: 0 0 auto; }
.av-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  font-family: Manrope, Arial, sans-serif; font-weight: 800; font-size: 14px;
  text-decoration: none !important; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  box-sizing: border-box; line-height: 1.2; text-align: center;
}
.av-btn--lg { min-height: 52px; padding: 0 24px; font-size: 15px; }
.av-btn--primary { background: #d81b2b; color: #fff !important; }
.av-btn--primary:hover { background: #b5121f; }
.av-btn--outline { background: #fff; color: #b5121f !important; border-color: #d81b2b; width: 100%; }
.av-btn--outline:hover { background: #d81b2b; color: #fff !important; }
.av-btn--ghost { background: transparent; color: #fff !important; border-color: #6b6b75; }
.av-btn--ghost:hover { border-color: #fff; }
.av-btn--dark { background: #171719; color: #fff !important; }
.av-btn--dark:hover { background: #000; }
.av-btn.loading { opacity: .6; }
.av-btn.added::after { content: " ✓"; }

/* ---------- Home ---------- */
.av-home .av-main { font-family: Manrope, Arial, sans-serif; color: #171719; padding-bottom: 56px; }
.av-wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; width: 100%; }
.av-h2 { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; margin: 0; color: #171719; letter-spacing: 0; }
.av-h2--sm { font-size: clamp(24px, 2.8vw, 32px); }
.av-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #ff6b6f; }
.av-link { font-size: 14px; font-weight: 700; color: #b5121f !important; }
.av-section { margin-top: 52px; }
.av-section__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.av-section > .av-h2 { margin-bottom: 18px; }

.av-chips { border-bottom: 1px solid #ecedf0; }
.av-chips__row { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.av-chips__row::-webkit-scrollbar { display: none; }
.av-chip { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; background: #f4f4f6; color: #171719 !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.av-chip:hover { background: #171719; color: #fff !important; }

.av-hero { margin-top: 20px; }
.av-hero__box { display: flex; flex-wrap: wrap; border-radius: 22px; overflow: hidden; background: #0e0e10; }
.av-hero__text { flex: 1 1 380px; padding: clamp(28px, 5vw, 56px) clamp(22px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.av-hero__title { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 700; font-size: clamp(38px, 5.4vw, 62px); line-height: .98; color: #fff; margin: 0; letter-spacing: 0; }
.av-hero__lead { margin: 0; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.55; color: #d6d6dc; max-width: 440px; }
.av-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.av-hero__media { flex: 1 1 460px; display: flex; align-items: center; justify-content: center; background: #0e0e10; }
/* Foto inteira, sem corte: largura total e altura proporcional */
.av-hero__media img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }

.av-trust { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.av-trust__item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #f6f6f8; border-radius: 14px; }
.av-trust__item .av-icon { color: #d81b2b; }
.av-trust__item div { display: flex; flex-direction: column; gap: 2px; }
.av-trust__item strong { font-size: 14px; }
.av-trust__item span { font-size: 13px; color: #55555f; }

.av-occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.av-occasion { display: flex; flex-direction: column; border: 1px solid #e6e6ea; border-radius: 16px; overflow: hidden; text-decoration: none !important; color: #171719 !important; background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.av-occasion:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.av-occasion__media { display: flex; align-items: center; justify-content: center; height: 170px; background: #f6f6f8; color: #d81b2b; }
.av-occasion__media .av-icon { width: 40px; height: 40px; opacity: .7; }
.av-occasion__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; box-sizing: border-box; }
.av-occasion__label { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 800; font-size: 16px; }
.av-occasion__label .av-icon { color: #d81b2b; width: 18px; height: 18px; }

.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.av-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.av-card__media { display: block; border-radius: 16px; overflow: hidden; background: #f6f6f8; border: 1px solid #f0f0f2; }
.av-card__media img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; display: block; mix-blend-mode: multiply; padding: 6px; box-sizing: border-box; }
.av-card__name { font-size: 14px; font-weight: 600; line-height: 1.38; color: #171719 !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; hyphens: none; }
.av-card__price { font-size: 19px; font-weight: 800; color: #171719; }
.av-card__price del { font-size: 13px; font-weight: 500; color: #8a8a93; }
.av-card .added_to_cart { font-size: 13px; font-weight: 700; color: #b5121f; text-align: center; }

.av-help { padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 38px); border-radius: 20px; background: #fdecec; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.av-help > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.av-help p { margin: 0; font-size: 16px; line-height: 1.5; color: #3a3a42; }

.av-faq__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 28px; }
.av-faq details { border-bottom: 1px solid #e6e6ea; padding: 16px 0; }
.av-faq summary { font-weight: 800; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.av-faq summary::-webkit-details-marker { display: none; }
.av-faq summary::after { content: "+"; color: #d81b2b; font-size: 20px; line-height: 1; }
.av-faq details[open] summary::after { content: "–"; }
.av-faq details p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: #3a3a42; }

@media (max-width: 600px) {
  .av-wrap { padding-left: 16px; padding-right: 16px; }
  .av-section { margin-top: 40px; }
  .av-hero { margin-top: 14px; }
  .av-hero__box { flex-direction: column-reverse; }
  .av-hero__media { flex-basis: auto; }
  .av-hero__text { flex-basis: auto; }
  .av-hero__actions .av-btn { flex: 1 1 100%; }
  .av-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .av-trust__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .av-occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .av-occasion__media { height: 120px; }
  .av-occasion__label { padding: 10px 12px; font-size: 14px; }
  .av-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .av-card__price { font-size: 17px; }
  .av-card .av-btn { font-size: 13px; padding: 0 8px; }
  .av-help .av-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .av-occasion, .av-btn { transition: none; }
  .av-occasion:hover { transform: none; }
}
