/* =============================================
   PRIMACIAL – Kit Body Man Midtown + Barbarius
   style.css
   ============================================= */

/* ---------- RESET & VARIÁVEIS ---------- */
:root {
  --black: #111111;
  --white: #FFFFFF;
  --green: #22c55e;
  --pink: #ec4899;
  --gold: #FBBF24;
  --gray-light: #F5F5F5;
  --gray-mid: #888888;
  --gray-dark: #333333;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 90px;
}

/* ---------- ANNOUNCEMENT BAR ---------- */
.announce-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---------- HEADER ---------- */
header {
  background: var(--white);
  text-align: center;
  padding: 18px 16px 14px;
  border-bottom: 1px solid #ebebeb;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--black);
}

/* ---------- GALLERY / CAROUSEL ---------- */
.gallery { position: relative; background: #fafafa; }

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f0f0f0;
  cursor: grab;
}
.gallery-main:active { cursor: grabbing; }

/* Track deslizante */
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Cada slide ocupa 100% da largura */
.gallery-track .media-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-track video.media-item {
  pointer-events: auto;
}

/* Setas de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.2s;
  padding: 0;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: #fff;
  transform: scale(1.25);
}

.gallery-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.badge {
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.thumbs-container {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumbs-container::-webkit-scrollbar { display: none; }

.thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #e8e8e8;
  transition: border-color 0.2s;
  position: relative;
}
.thumb.active { border-color: var(--black); }
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Ícone play para thumbs de vídeo */
.thumb.thumb-video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: white;
  font-size: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-indicator {
  text-align: center;
  font-size: 13px;
  color: var(--gray-mid);
  padding-bottom: 8px;
}

/* ---------- PRODUCT INFO ---------- */
.product-info { padding: 20px 16px 0; }

.product-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 10px;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.stars { color: var(--gold); font-size: 16px; letter-spacing: -1px; }
.rating-text { font-size: 14px; color: var(--gray-mid); }

.price-block { margin-bottom: 6px; }
.price-old {
  font-size: 14px;
  color: var(--gray-mid);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-new {
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-display);
}

.installment {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-link {
  font-size: 12px;
  color: var(--gray-mid);
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 10px;
  display: block;
}

.free-ship {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.fav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--black);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 18px;
}

.size-label {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--black);
}
.size-label span { font-weight: 700; }

.size-btn {
  border: 2px solid var(--black);
  background: white;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
}

.buy-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}
.qty-btn {
  width: 38px;
  height: 50px;
  background: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--black);
  font-weight: 300;
}
.qty-val {
  width: 38px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.btn-buy {
  flex: 1;
  background: var(--black);
  color: white;
  border: none;
  padding: 14px 0;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity 0.2s;
}
.btn-buy:hover { opacity: 0.85; }

/* ---------- SECTION UTILS ---------- */
.section { padding: 24px 16px; }

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--black);
  border-radius: 2px;
  flex-shrink: 0;
}

.card {
  background: var(--gray-light);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.dark-card {
  background: var(--black);
  color: white;
  border-radius: 16px;
  padding: 24px;
  margin: 0 16px 24px;
}

/* ---------- COMPRE JUNTO ---------- */
.buy-together { background: var(--gray-light); padding: 24px 16px; }

.buy-together-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.bt-underline {
  width: 40px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  margin: 0 auto 18px;
}

.bt-card {
  background: white;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bt-card-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}
.bt-card-inner img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  background: #e8e8e8;
}
.bt-info { flex: 1; }
.bt-name { font-size: 13px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.bt-price {
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
}

.btn-pink {
  background: var(--pink);
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity 0.2s;
}
.btn-pink:hover { opacity: 0.85; }

/* ---------- GUARANTEES ---------- */
.guarantees {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guarantee-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.guarantee-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.guarantee-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.guarantee-text span { font-size: 13px; color: var(--gray-mid); }

/* ---------- DARK DESCRIPTION ---------- */
.dark-card .dark-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.dark-card p { font-size: 15px; line-height: 1.7; color: #ccc; }
.dark-card p strong { color: white; }

/* ---------- FRAGRANCE DESCRIPTION ---------- */
.frag-item { margin-bottom: 18px; }
.frag-item p { font-size: 14px; line-height: 1.7; color: #444; }
.frag-item strong { color: var(--black); }

/* ---------- NOTE CHIPS ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.chip-green  { background: #d1fae5; color: #065f46; }
.chip-blue   { background: #e0e7ff; color: #3730a3; }
.chip-sky    { background: #e0f2fe; color: #0369a1; }
.chip-brown  { background: #78350f; color: white; }
.chip-peach  { background: #fde68a; color: #92400e; }

/* ---------- TECH CHARACTERISTICS ---------- */
.tech-card {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
}
.tech-card:last-child { margin-bottom: 0; }
.tech-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tech-value { font-size: 15px; color: white; font-weight: 500; }

/* Título branco no dark-card */
.dark-card .section-title {
  color: white;
  border-left: 4px solid white;
  padding-left: 10px;
  margin-bottom: 16px;
}
.dark-card .section-title::before { display: none; }

/* ---------- PERIOD ---------- */
.period-item {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  border-left: 4px solid var(--gold);
  background: #fffbeb;
}
.period-night {
  border-left-color: var(--black);
  background: #f5f5f5;
}

/* ---------- SEASONS ---------- */
.season-item {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  border-left: 4px solid;
}
.season-summer { background: #fffbeb; border-color: #fbbf24; }
.season-spring { background: #fdf2f8; border-color: #ec4899; }
.season-fall   { background: #fff7ed; border-color: #f97316; }
.season-winter { background: #eff6ff; border-color: #3b82f6; }

/* ---------- OCCASIONS ---------- */
.occasion-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity 0.2s;
}
.occasion-btn:hover { opacity: 0.88; }
.occ-1 { background: linear-gradient(135deg, #10b981, #0d9488); }
.occ-2 { background: linear-gradient(135deg, #6366f1, #7c3aed); }
.occ-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.occ-4 { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.occ-5 { background: linear-gradient(135deg, #1e3a8a, #4338ca); }
.occ-6 { background: linear-gradient(135deg, #f97316, #ec4899); }

/* ---------- OLFACTIVE PYRAMID ---------- */
.pyramid-banner {
  border-radius: 10px;
  padding: 12px 16px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 12px;
  margin-top: 4px;
}
.pyramid-top   { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pyramid-heart { background: linear-gradient(135deg, #ec4899, #db2777); }
.pyramid-base  { background: linear-gradient(135deg, #92400e, #78350f); }

.pyramid-chip {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.pc-gold  { background: #fef3c7; color: #92400e; }
.pc-pink  { background: #fce7f3; color: #9d174d; }
.pc-brown { background: #d6b896; color: #451a03; }

.pyramid-desc {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  color: #444;
}

/* ---------- REVIEWS ---------- */
.reviews-section { padding: 24px 16px; }

.rating-big {
  text-align: center;
  margin-bottom: 20px;
}
.rating-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 6px;
}
.rating-stars-big { font-size: 22px; color: var(--gold); letter-spacing: -1px; }
.rating-count { font-size: 14px; color: var(--gray-mid); margin-top: 4px; }

.star-bars { margin-bottom: 20px; }
.star-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}
.star-row-label { width: 20px; color: var(--gray-mid); flex-shrink: 0; }
.star-row-star  { color: var(--gold); font-size: 11px; }
.bar-track {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.star-row-count { width: 20px; text-align: right; color: var(--gray-mid); }

.btn-write-review {
  display: block;
  width: 100%;
  background: var(--black);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.btn-write-review:hover { opacity: 0.85; }

.review-filter {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  appearance: none;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  margin-bottom: 20px;
  cursor: pointer;
}

.reviews-grid {
  columns: 2;
  column-gap: 10px;
}
.review-card {
  break-inside: avoid;
  background: white;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  display: inline-block;
  width: 100%;
}
.review-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  background: #e8e8e8;
  display: block;
  margin-bottom: 8px;
}
.review-stars { color: var(--gold); font-size: 12px; margin-bottom: 4px; }
.review-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.verified { color: #3b82f6; font-size: 11px; }
.review-text {
  font-size: 12px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
}
.review-more {
  font-size: 11px;
  color: var(--gray-mid);
  text-decoration: underline;
  cursor: pointer;
}

.btn-load-more {
  display: block;
  width: 100%;
  border: 1.5px solid var(--black);
  background: white;
  padding: 13px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  margin-top: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-load-more:hover { background: var(--black); color: white; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--black);
  color: white;
  padding: 32px 16px 24px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none;
  color: white;
}
.social-icon:hover { border-color: white; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 12px;
}
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; color: #555; }

/* ---------- STICKY BUY BAR ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: white;
  border-top: 1px solid #ebebeb;
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.sticky-price { display: flex; flex-direction: column; }
.sticky-price-old { font-size: 11px; color: var(--gray-mid); text-decoration: line-through; }
.sticky-price-new { font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.sticky-btn {
  flex: 1;
  background: var(--black);
  color: white;
  border: none;
  padding: 13px 0;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
  transition: opacity 0.2s;
}
.sticky-btn:hover { opacity: 0.85; }

/* ---------- DIVIDER ---------- */
hr.divider {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 0 16px;
}
