@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;600;700;800;900&display=swap');

:root {
  --bg: #030406;
  --panel: rgba(16, 17, 20, 0.86);
  --stroke: rgba(255,255,255,.14);
  --white: #fff;
  --muted: rgba(255,255,255,.74);
  --yellow: #ffd400;
  --pink: #ff3b7b;
  --cyan: #00d8ff;
  --green: #20c463;
  --red: #ff2f3d;
  --purple: #8d4dff;
  --orange: #ff8a00;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(0,216,255,.16), transparent 32%),
    radial-gradient(circle at 8% 20%, rgba(255,59,123,.10), transparent 30%),
    radial-gradient(circle at 78% 92%, rgba(255,212,0,.08), transparent 30%),
    #030406;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,.08) 0 1px, transparent 2px) 0 0/22px 22px,
    linear-gradient(120deg, transparent 0 68%, rgba(0,216,255,.04), transparent 80%);
  opacity: .28;
  pointer-events: none;
  z-index: -1;
}

.topbar {
  width: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 12px 5.4%;
  gap: 26px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(3,4,6,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand img {
  width: 155px;
  max-height: 95px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.55));
}
.nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-left: auto; }
.nav a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  position: relative;
  padding: 12px 0;
}
.nav a.active, .nav a:hover { color: var(--yellow); }
.nav a.active::after {
  content: "";
  height: 3px;
  border-radius: 8px;
  background: var(--yellow);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
}
.top-actions { display: flex; align-items: center; gap: 14px; }
.icon-link { font-size: 28px; font-weight: 900; line-height: 1; }
.insta { color: var(--pink); }
.whats { color: var(--cyan); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 30px;
  margin-left: auto;
}
.cart-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
.cart-top-btn strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.store-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: 34px;
  padding: 54px 6% 34px;
}
.eyebrow, .eyebrow-mini {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}
.eyebrow { font-size: clamp(22px, 2vw, 28px); margin-bottom: 14px; }
.eyebrow-mini { font-size: 15px; letter-spacing: .8px; }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; }
.store-hero h1 {
  font-size: clamp(62px, 8vw, 110px);
  line-height: .88;
  font-weight: 900;
  margin-bottom: 18px;
}
.store-hero p {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 18px;
}
.store-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  border-radius: 999px;
  padding: 16px 26px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
}
.btn-yellow { background: var(--yellow); color: #080808; }
.btn-outline { border: 2px solid var(--cyan); color: white; }

.store-hero-card {
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  position: relative;
  overflow: hidden;
}
.hero-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--pink);
  color: white;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}
.store-hero-card img {
  width: min(88%, 440px);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 32px 35px rgba(0,0,0,.45));
}
.store-hero-card div {
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 14px 18px;
  text-align: center;
}
.store-hero-card span { display: block; color: var(--cyan); font-weight: 900; }
.store-hero-card strong { color: var(--yellow); font-size: 24px; }

.store-benefits {
  padding: 0 5% 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.store-benefits article {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius: 20px;
  padding: 20px;
}
.store-benefits i { font-size: 28px; color: var(--pink); margin-bottom: 12px; }
.store-benefits strong { display: block; margin-bottom: 7px; }
.store-benefits span { color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.45; }

.featured-strip {
  margin: 0 5% 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.04);
  padding: 24px;
}
.featured-strip h2 { font-size: 38px; margin-bottom: 18px; }
.featured-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.featured-products .store-product-card {
  min-height: 410px;
}

.store-layout {
  padding: 12px 5% 44px;
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: 24px;
}
.filters-panel {
  align-self: start;
  position: sticky;
  top: 132px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.34);
  border-radius: 22px;
  padding: 22px;
}
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filters-head h2 { font-size: 28px; }
.filters-head button {
  border: 0;
  background: transparent;
  color: var(--pink);
  font-weight: 900;
  cursor: pointer;
}
.filters-panel label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
  color: rgba(255,255,255,.88);
}
.filters-panel input,
.filters-panel select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: white;
  border-radius: 14px;
  padding: 12px;
  outline: 0;
}
.filters-panel option { color: #111; }
.price-filter {
  margin: 18px 0;
  display: grid;
  gap: 9px;
}
.price-filter span {
  font-size: 13px;
  font-weight: 800;
}
.price-filter strong {
  color: var(--yellow);
}
.price-filter input {
  accent-color: var(--pink);
}
.category-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.category-chip {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: white;
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
}
.category-chip.active { background: var(--yellow); color: #111; }

.products-area { min-width: 0; }
.products-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 18px;
}
.products-top h2 { font-size: clamp(34px, 4vw, 48px); }
.products-top strong { color: var(--yellow); white-space: nowrap; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.store-product-card {
  min-height: 455px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border-radius: 20px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: .22s ease;
  overflow: hidden;
}
.store-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,212,0,.45);
  box-shadow: 0 25px 55px rgba(0,0,0,.38);
}
.favorite-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.favorite-btn.active { color: var(--pink); }
.discount-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--yellow);
  color: #111;
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 12px;
}
.product-image-btn {
  border: 0;
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.product-image-btn img {
  width: 92%;
  height: 170px;
  object-fit: contain;
  transition: .22s ease;
}
.store-product-card:hover .product-image-btn img {
  transform: scale(1.05);
}
.product-info { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.product-category {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-info h3 { font-size: 25px; line-height: 1.05; margin-bottom: 8px; }
.product-info p {
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.45;
  min-height: 60px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  margin: 12px 0;
}
.stock-low { color: var(--yellow); font-weight: 900; }
.product-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.product-price strong { color: var(--yellow); font-size: 25px; }
.product-price small { color: rgba(255,255,255,.48); text-decoration: line-through; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.product-actions button {
  border: 0;
  border-radius: 999px;
  padding: 11px 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.details-btn { background: transparent; border: 1px solid rgba(255,255,255,.16) !important; color: white; }
.add-cart-btn { background: var(--pink); color: white; }
.add-cart-btn:disabled { opacity: .45; cursor: not-allowed; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.pagination button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: white;
  cursor: pointer;
  font-weight: 900;
}
.pagination button.active {
  background: var(--yellow);
  color: #111;
}

.empty-products, .empty-cart {
  grid-column: 1 / -1;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

footer {
  margin: 0 5%;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 38px;
  padding: 30px 0;
}
footer img { width: 155px; display: block; margin-bottom: 8px; }
footer p, footer a {
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  display: block;
  font-size: 14px;
}
footer h4 {
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 12px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 15px 5%;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

/* Drawer / Modal / Checkout */
.mugart-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.mugart-toast.show { transform: translateY(0); opacity: 1; }
.mugart-toast[data-type="error"] { background: var(--red); }
.mugart-toast[data-type="info"] { background: #089fd0; }

.drawer-overlay,
.product-modal,
.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(7px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.drawer-overlay.open,
.product-modal.open,
.checkout-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 94vw);
  height: 100vh;
  background: #06070a;
  border-left: 1px solid rgba(255,255,255,.14);
  z-index: 100;
  transform: translateX(105%);
  transition: .28s ease;
  display: flex;
  flex-direction: column;
  color: #fff;
  box-shadow: -24px 0 80px rgba(0,0,0,.55);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header, .cart-footer {
  padding: 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cart-footer {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 0;
  margin-top: auto;
}
.cart-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cart-label { color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.cart-header h3 { font-size: 28px; }
.cart-close, .modal-close {
  border: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 28px;
  cursor: pointer;
}
.cart-items { padding: 18px; overflow: auto; flex: 1; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  margin-bottom: 12px;
}
.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.cart-item h4 { font-size: 14px; margin-bottom: 4px; }
.cart-item span { display: block; color: rgba(255,255,255,.65); font-size: 12px; margin-bottom: 8px; }
.cart-item-controls {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  overflow: hidden;
}
.cart-item-controls button,
.cart-item-controls input {
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
}
.cart-item-controls button { cursor: pointer; background: rgba(255,255,255,.08); }
.cart-item-total { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cart-item-total button {
  border: 0;
  background: transparent;
  color: var(--pink);
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
}
.cart-summary-line { display: flex; justify-content: space-between; margin-bottom: 12px; color: rgba(255,255,255,.82); }
.checkout-btn, .whatsapp-cart-btn, .checkout-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
}
.checkout-btn, .checkout-submit { background: var(--green); color: white; }
.whatsapp-cart-btn { background: transparent; color: var(--cyan); border: 1px solid rgba(255,255,255,.18); }

.product-modal, .checkout-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal-card, .checkout-card {
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #06070a;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  color: #fff;
  padding: 26px;
  position: relative;
  box-shadow: 0 30px 95px rgba(0,0,0,.6);
}
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.modal-product { display: grid; grid-template-columns: .9fr 1fr; gap: 30px; align-items: center; }
.modal-product-image {
  min-height: 360px;
  background: rgba(255,255,255,.05);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-product-image img { max-width: 90%; max-height: 340px; object-fit: contain; }
.modal-product-info h2, .checkout-card h2 { font-size: 42px; margin-bottom: 12px; }
.modal-price strong { font-size: 34px; color: var(--yellow); display: inline-block; margin: 16px 12px 16px 0; }
.modal-price small { color: rgba(255,255,255,.55); text-decoration: line-through; }
.modal-stock { color: var(--green); font-weight: 900; margin-bottom: 16px; }
.modal-stock.low { color: var(--yellow); }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.modal-specs div {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 12px;
}
.modal-specs span {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  text-transform: capitalize;
  margin-bottom: 4px;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.whatsapp-product-btn,
.modal-actions .add-cart-btn {
  border: 0;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.modal-actions .add-cart-btn { background: var(--pink); color: #fff; }
.whatsapp-product-btn { background: var(--green); color: #fff; }

.checkout-subtitle { color: rgba(255,255,255,.72); margin-bottom: 20px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-grid label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  font-size: 13px;
}
.checkout-grid .full { grid-column: 1 / -1; }
.checkout-grid input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 14px;
  padding: 13px;
  outline: 0;
}
.payment-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.payment-options label {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.checkout-total strong { color: var(--yellow); font-size: 24px; }

@media (max-width: 1100px) {
  .featured-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .topbar { min-height: 86px; }
  .brand img { width: 115px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    padding: 18px 6%;
    background: rgba(3,4,6,.97);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .top-actions { display: none; }
  .store-hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
  .store-hero p { margin: 0 auto; }
  .store-hero-actions { justify-content: center; }
  .store-benefits { grid-template-columns: 1fr 1fr; }
  .store-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .modal-product, .checkout-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 62px 1fr; }
  .cart-item-total { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 620px) {
  .store-hero h1 { font-size: 58px; }
  .store-benefits, .featured-products { grid-template-columns: 1fr; }
  .products-top { align-items: start; flex-direction: column; }
}

/* ==========================================================
   Carrossel de variações
========================================================== */

.product-carousel {
  min-width: 0;
}

.modal-product-image {
  position: relative;
  overflow: hidden;
}

.carousel-image-wrapper {
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  cursor: grab;
}

.carousel-image-wrapper:active {
  cursor: grabbing;
}

.carousel-image-wrapper img {
  max-width: 88%;
  max-height: 340px;
  object-fit: contain;
  transition:
    opacity .2s ease,
    transform .25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  color: #fff;
  cursor: pointer;
  transition: .2s ease;
}

.carousel-arrow:hover {
  background: var(--yellow);
  color: #111;
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

.carousel-position {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  margin-top: 10px;
}

.carousel-position strong {
  color: var(--yellow);
}

.variation-thumbnails {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.variation-thumbnail {
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 8px;
  cursor: pointer;
  transition: .2s ease;
}

.variation-thumbnail:hover {
  border-color: rgba(255,212,0,.55);
  transform: translateY(-2px);
}

.variation-thumbnail.active {
  border: 2px solid var(--yellow);
  background: rgba(255,212,0,.09);
  box-shadow: 0 0 0 3px rgba(255,212,0,.08);
}

.variation-thumbnail.sold-out {
  opacity: .46;
}

.variation-thumbnail img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  display: block;
}

.variation-thumbnail span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.variation-thumbnail small {
  display: block;
  margin-top: 3px;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.selected-variation-box {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0,216,255,.24);
  border-radius: 16px;
  background: rgba(0,216,255,.07);
}

.selected-variation-box small {
  color: rgba(255,255,255,.63);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-variation-box strong {
  color: var(--cyan);
  font-size: 19px;
}

.selected-variation-box span {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.cart-variation-sku {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  margin: -3px 0 8px;
}

@media (max-width: 760px) {
  .product-modal {
    padding: 10px;
    align-items: flex-end;
  }

  .product-modal-card {
    width: 100%;
    max-height: 94vh;
    padding: 18px;
    border-radius: 24px 24px 0 0;
  }

  .carousel-image-wrapper,
  .modal-product-image {
    min-height: 300px;
  }

  .carousel-image-wrapper img {
    max-height: 285px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .variation-thumbnails {
    display: flex;
    overflow-x: auto;
    padding-bottom: 7px;
    scroll-snap-type: x mandatory;
  }

  .variation-thumbnail {
    flex: 0 0 92px;
    scroll-snap-align: start;
  }

  .modal-product-info h2 {
    font-size: 34px;
  }
}


/* Galeria de imagens do produto */
.product-gallery-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-top: 14px;
  padding-bottom: 6px;
}

.product-gallery-thumbnail {
  flex: 0 0 78px;
  height: 78px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.04);
  padding: 5px;
  cursor: pointer;
}

.product-gallery-thumbnail.active {
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,216,255,.08);
}

.product-gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.carousel-image-wrapper video {
  width: 100%;
  max-width: 92%;
  max-height: 340px;
  border-radius: 16px;
  background: #000;
}

.product-gallery-video-thumb {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 8px;
  background: rgba(0,0,0,.6);
  overflow: hidden;
}

.product-gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-video-thumb i {
  font-size: 24px;
  color: #fff;
}

.product-gallery-video-thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  text-shadow: 0 2px 8px #000;
}

/* Favoritos visíveis nos cards */
.favorite-btn {
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(3,4,6,.82);
  color: #fff;
  box-shadow: 0 7px 20px rgba(0,0,0,.34);
  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease;
}

.favorite-btn i {
  pointer-events: none;
}

.favorite-btn:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: var(--pink);
  color: var(--pink);
}

.favorite-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
