* { margin: 0; padding: 0; box-sizing: border-box; max-width: 100%; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Popup de verificação de idade (18+) */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.age-gate[hidden] { display: none; }
.age-gate-box {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.age-gate-logo {
  width: 100px;
  margin: 0 auto 20px;
  display: block;
}
.age-gate-main {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
  margin-bottom: 12px;
}
.age-gate-sub {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
}
.age-gate-btn {
  width: 100%;
  background: #941a1d;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
}
.age-gate-btn:hover { background: #6e1414; }

body {
  font-family: 'Assistant', Arial, sans-serif;
  color: #222;
  background: #fff;
}

a { text-decoration: none; color: inherit; }

.icon { font-size: 16px; flex-shrink: 0; }
.icon-sm { font-size: 13px; flex-shrink: 0; margin-inline-end: 6px; }

/* 1) Barra de anúncio */
.announcement-bar {
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 7px;
}
.announcement-bar a { text-decoration: underline; }

/* 2) Cabeçalho */
.site-header {
  position: relative;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  flex-wrap: wrap;
  gap: 14px;
}
.header-left, .header-right {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 22px;
  flex: 1;
}
.header-left { justify-content: flex-end; }
.header-right { justify-content: flex-start; }
.header-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.3;
  color: #333;
}
.header-item .icon { color: #941a1d; font-size: 20px; }
.mobile-dropdown { display: contents; }
.header-logo {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.header-logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  min-width: 260px;
  gap: 8px;
}
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
}
.search-box span {
  color: #888;
  display: flex;
}
.social-icons { display: flex; gap: 12px; }
.social-icons .icon { color: #333; }
.phone { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; font-size: 14px; }
.phone .icon { color: #941a1d; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #111;
  cursor: pointer;
  padding: 8px;
}

/* 3) Menu */
.main-nav {
  background: #111;
}
.nav-inner {
  display: flex;
  direction: ltr;
  align-items: center;
}
.nav-side {
  list-style: none;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}
.nav-side--right { justify-content: flex-end; }
.nav-side--left { justify-content: flex-start; }
.nav-logo-gap { flex: 0 0 140px; }
.main-nav li span {
  display: block;
  color: #fff;
  padding: 15px 12px;
  font-size: 13.5px;
  white-space: nowrap;
}
.main-nav li.highlight { background: #941a1d; }

/* 4) Banner do produto */
.product-banner {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('images/banner-bg.jpg') center/cover no-repeat;
  min-height: 190px;
  box-sizing: border-box;
  display: block;
  padding: 30px;
  text-align: center;
}
.banner-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 130px;
}
.banner-overlay h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  border-bottom: 3px solid #941a1d;
  padding-bottom: 12px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}
.breadcrumb {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 12px;
  color: #777;
  padding: 14px 30px;
}
.breadcrumb span { color: #777; }
.breadcrumb-sep { color: #bbb; }

/* 5) Página do produto */
.product-page {
  display: flex;
  gap: 40px;
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.product-gallery {
  flex: 1.3;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.product-image-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.product-image-main img {
  max-width: 100%;
  max-height: 560px;
}
.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.product-thumbs .thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
  background: #fff;
}
.product-thumbs .thumb:hover { border-color: #999; }
.product-thumbs .thumb.active { border-color: #941a1d; }

.product-info {
  flex: 1;
  min-width: 280px;
}
.product-info-title {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5e5;
}

.price-original {
  font-size: 18px;
  margin-bottom: 4px;
}
.price-original-value {
  color: #999;
  text-decoration: line-through;
  margin-inline-start: 6px;
}
.price-box { margin-bottom: 4px; }
.price-label { font-size: 17px; color: #555; }
.price-value { font-size: 30px; font-weight: 700; color: #941a1d; margin-inline-start: 8px; }
.price-per-unit { font-size: 14px; color: #888; margin-bottom: 16px; }

#shopify-buy-button-wrapper { width: 100%; margin-bottom: 10px; }

.qty-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.qty-label { font-size: 17px; color: #555; }
.qty-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #941a1d;
  background: #fff;
  color: #941a1d;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: #f7e9e9; }
.qty-input {
  width: 56px;
  height: 38px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 17px;
  font-family: inherit;
}

.btn-add-cart {
  width: 100%;
  background: #941a1d;
  color: #fff;
  border: none;
  padding: 17px;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-add-cart:hover { background: #6e1414; }
.btn-add-cart:disabled { opacity: .7; cursor: not-allowed; }

.secure-purchase {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  margin-bottom: 22px;
}
.secure-purchase .icon { color: #555; width: 16px; height: 16px; }

.specs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.specs-table td {
  border: 1px solid #ddd;
  padding: 9px 12px;
  font-size: 14px;
  text-align: right;
}
.specs-table tr td:first-child { font-weight: 700; background: #f7f7f7; width: 40%; }

.product-description {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}
.product-note { font-size: 12px; color: #999; }

/* 6) Rodapé */
.site-footer {
  background: #111;
  color: #ccc;
  margin-top: 40px;
  padding: 30px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 20px;
}
.footer-col { font-size: 13px; min-width: 190px; }
.footer-line { display: flex; align-items: center; margin-bottom: 6px; }
.footer-line--spaced { margin-top: 14px; }
.footer-logo { text-align: center; position: relative; }
.footer-logo img {
  width: 110px;
  margin-top: -70px;
  margin-bottom: 6px;
  display: block;
  margin-inline: auto;
}
.footer-logo p { font-size: 13px; font-weight: 700; }

.site-footer { overflow: visible; }

.footer-links {
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #333;
  padding-top: 16px;
  margin-bottom: 10px;
}
.footer-links span { margin: 0 4px; }
.footer-links span.cancel { color: #e53935; }

.footer-credit {
  text-align: center;
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}



/* Responsivo (mobile) */
@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    text-align: initial;
    position: relative;
    z-index: 10;
  }
  .header-logo { position: static; transform: none; order: 1; margin: 0 0 -58px 0; z-index: 20; }
  .header-logo img { width: 112px; height: 112px; padding: 10px; }

  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; order: 2; }

  .mobile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,.15);
    padding: 18px 16px;
    flex-direction: column;
    gap: 16px;
    z-index: 15;
  }
  .site-header.menu-open .mobile-dropdown { display: flex; }
  .cart-count-item { display: none; }

  .header-left, .header-right {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 10px;
  }

  .search-box { display: none !important; }

  .main-nav { display: none; }

  .product-page { flex-direction: column; padding: 12px; }
  .product-info { min-width: 0; width: 100%; padding: 0 8px; }
  .product-gallery { min-width: 0; width: 100%; gap: 10px; }
  .product-image-main img { max-height: 560px; }

  .product-thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .product-thumbs .thumb {
    flex: 0 0 auto;
    width: 22vw;
    height: 22vw;
    max-width: 84px;
    max-height: 84px;
    scroll-snap-align: start;
  }

  .banner-overlay h1 { font-size: 23px; }

  .product-info-title { font-size: 27px; }
  .price-original { font-size: 17px; }
  .price-label { font-size: 16px; }
  .price-value { font-size: 28px; }
  .price-per-unit { font-size: 14px; }
  .btn-add-cart { font-size: 20px; padding: 18px; }
  .breadcrumb { flex-wrap: wrap; font-size: 11px; padding: 10px 16px; }

  .footer-columns { flex-direction: column; align-items: center; text-align: center; }
  .footer-col { text-align: center; }
  .footer-line { justify-content: center; }
  .footer-logo { margin-top: 10px; }
  .footer-logo img { margin-top: -60px; }
}
