/* ============================================================
   MF Livros e Cursos — Protótipo navegável
   Design System (style.css)
   ------------------------------------------------------------
   Conceito: livraria premium contemporânea com atmosfera
   artesanal, cultural e sofisticada.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --olive: #636B2F;
  --olive-soft: #7C8440;
  --olive-light: #8A934F;
  --olive-tint: #EDEFE2;
  --black: #171614;
  --graphite: #242522;
  --graphite-light: #34352F;
  --brown-deep: #3B2A20;
  --brown-mid: #5A4030;
  --offwhite: #F5F2E9;
  --white: #FFFFFF;
  --gray-soft: #B9B7AE;
  --gray-line: #E3DFD3;
  --danger: #9C3B2E;
  --success: #4E6B2F;

  --font-serif: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 6px 24px rgba(23, 22, 20, 0.08);
  --shadow-lift: 0 14px 40px rgba(23, 22, 20, 0.16);
  --shadow-drawer: -12px 0 40px rgba(23, 22, 20, 0.22);

  --header-h: 76px;
  --transition: 240ms cubic-bezier(0.25, 0.8, 0.35, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--graphite);
  background: var(--offwhite);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--font-serif); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--olive); }

.section { padding: 92px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(16.8px, 2.16vw, 24px);
  font-weight: 600;
  color: var(--black);
  line-height: 1.15;
}
.section-head p.sub { color: var(--graphite-light); margin-top: 12px; font-size: 16.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: var(--olive-soft); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(99, 107, 47, 0.35); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--graphite-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 22, 20, 0.3); }

.btn-outline { border: 1.5px solid var(--graphite); color: var(--graphite); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

.btn-outline-light { border: 1.5px solid rgba(245, 242, 233, 0.55); color: var(--offwhite); background: transparent; }
.btn-outline-light:hover { background: var(--offwhite); color: var(--black); }

.btn-ghost { color: var(--olive); }
.btn-ghost:hover { color: var(--brown-mid); }

.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245, 242, 233, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 107, 47, 0.14);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { background: rgba(245, 242, 233, 0.98); box-shadow: 0 6px 24px rgba(23, 22, 20, 0.07); }

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.logo-name { font-family: var(--font-sans); font-weight: 700; font-size: 22px; color: var(--olive); margin-left: 10px; line-height: 1; white-space: nowrap; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.main-nav a {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--graphite-light);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--olive); background: rgba(99, 107, 47, 0.08); }
.main-nav a.active { color: var(--olive); font-weight: 600; }

/* Dropdown do menu principal */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop .caret { width: 13px; height: 13px; opacity: 0.7; transition: transform var(--transition); }
.nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--offwhite);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  min-width: 224px; padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-drop-menu::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--offwhite);
  border-top: 1px solid var(--gray-line); border-left: 1px solid var(--gray-line);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--graphite-light);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.nav-drop-menu a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--olive); opacity: 0; transition: opacity var(--transition);
}
.nav-drop-menu a:hover { background: var(--olive-tint); color: var(--olive); padding-left: 17px; }
.nav-drop-menu a:hover::before { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 6px; }

/* User dropdown */
.user-dropdown { position: relative; }
.user-dropdown-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  color: var(--graphite-light); font-size: 13.5px; font-weight: 500;
  cursor: pointer; border: none; background: none;
  transition: background var(--transition), color var(--transition);
}
.user-dropdown-btn:hover { background: rgba(99, 107, 47, 0.1); color: var(--olive); }
.user-dropdown-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.user-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift); border: 1px solid var(--gray-line);
  padding: 6px 0; z-index: 100;
}
.user-dropdown-menu.show { display: block; }
.user-dropdown-menu a,
.user-dropdown-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 16px; border: none; background: none;
  font-size: 14px; color: var(--graphite); text-decoration: none;
  cursor: pointer; transition: background var(--transition), color var(--transition);
}
.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover { background: var(--olive-tint); color: var(--olive); }
.user-dropdown-menu a svg,
.user-dropdown-menu button svg { width: 16px; height: 16px; flex-shrink: 0; }
.user-dropdown-divider { height: 1px; background: var(--gray-line); margin: 4px 0; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--graphite-light);
  transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: rgba(99, 107, 47, 0.1); color: var(--olive); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 20px;
  background: var(--brown-mid);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--offwhite);
  transform: scale(0);
  transition: transform var(--transition);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump 320ms ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

.track-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500;
  color: var(--graphite-light);
  padding: 10px 12px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.track-link:hover { color: var(--olive); background: rgba(99, 107, 47, 0.08); }
.track-link svg { width: 18px; height: 18px; }

.menu-toggle { display: none; }

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--black);
  color: var(--offwhite);
  display: flex;
  flex-direction: column;
  padding: 28px 26px 40px;
  transform: translateX(-100%);
  transition: transform 320ms cubic-bezier(0.25, 0.8, 0.35, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-head .logo img { height: 44px; }
.mobile-nav .close-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--offwhite);
}
.mobile-nav .close-btn:hover { background: rgba(245,242,233,0.1); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 26px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(245, 242, 233, 0.12);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-nav-links a:hover { color: var(--olive-light); padding-left: 14px; }
.mobile-nav-sublinks { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 12px 24px; border-bottom: 1px solid rgba(245, 242, 233, 0.12); }
.mobile-nav-sublinks a {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  padding: 9px 6px; border-bottom: none; color: rgba(245, 242, 233, 0.75);
}
.mobile-nav-sublinks a:hover { color: var(--olive-light); padding-left: 12px; }
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--offwhite);
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23,22,20,0.88) 12%, rgba(23,22,20,0.55) 45%, rgba(23,22,20,0.18) 72%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 90px 0; }
.hero-kicker {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--olive-light);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--olive-light); }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero p.lead { font-family: var(--font-sans); font-size: 17.5px; color: rgba(245, 242, 233, 0.82); max-width: 500px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-coupon {
  position: absolute;
  right: 4%;
  bottom: 44px;
  z-index: 2;
  background: rgba(36, 37, 34, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 147, 79, 0.4);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 330px;
  color: var(--offwhite);
}
.hero-coupon .tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olive-light); font-weight: 700;
}
.hero-coupon .code {
  font-family: var(--font-serif); font-size: 26px; color: var(--white);
  letter-spacing: 0.08em; margin: 6px 0 4px;
}
.hero-coupon small { color: var(--gray-soft); display: block; margin-bottom: 12px; font-size: 13.5px; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(245,242,233,0.5);
  animation: floatY 2.6s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; }
@keyframes floatY { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------- Coupon strip ---------- */
.coupon-strip {
  background: var(--olive);
  color: var(--white);
  padding: 14px 0;
}
.coupon-strip .container { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.coupon-strip .cs-text { font-size: 14.5px; font-weight: 500; }
.coupon-strip .cs-code {
  font-family: var(--font-serif); font-weight: 700;
  border: 1px dashed rgba(255,255,255,0.5); padding: 4px 12px; border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
}

/* ---------- Categories ---------- */
.cats { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gray-soft) transparent; padding-bottom: 8px; }
.cats::-webkit-scrollbar { height: 6px; }
.cats::-webkit-scrollbar-thumb { background: var(--gray-soft); border-radius: 6px; }
.cats-row { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 18px; min-width: max-content; }

.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 26px 14px 22px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--olive); }
.cat-icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--olive-tint); color: var(--olive);
  transition: background var(--transition), color var(--transition);
}
.cat-card:hover .cat-icon { background: var(--olive); color: var(--white); }
.cat-icon svg { width: 26px; height: 26px; }
.cat-card span { font-size: 13.5px; font-weight: 600; color: var(--graphite); }
.cat-card small { font-size: 12px; color: var(--gray-soft); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--offwhite); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 520ms cubic-bezier(0.25,0.8,0.35,1); }
.product-card:hover .product-media img { transform: scale(1.05); }

.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 11px; border-radius: 30px;
  background: var(--olive); color: var(--white);
}
.product-badge.dark { background: var(--black); }
.product-badge.brown { background: var(--brown-mid); }

.product-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-quick { opacity: 1; transform: translateY(0); }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); }
.product-title {
  font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--black);
  line-height: 1.22;
}
.product-desc { font-size: 13px; color: var(--graphite-light); white-space: pre-line; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-price { display: flex; flex-direction: column; }
.product-price .old { font-size: 12.5px; color: var(--gray-soft); text-decoration: line-through; }
.product-price .now { font-size: 19px; font-weight: 700; color: var(--black); }
.product-price .off { font-size: 11px; font-weight: 700; color: var(--brown-mid); }

.add-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--olive); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.add-btn:hover { background: var(--olive-soft); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(99,107,47,0.35); }
.add-btn svg { width: 19px; height: 19px; }

/* ---------- Product modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(23, 22, 20, 0.62);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(16px) scale(0.98);
  transition: transform 300ms cubic-bezier(0.25,0.8,0.35,1);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-media { background: #ffffff; position: relative; padding: 10px 0 0 10px; }
.modal-media img { width: 100%; height: 100%; object-fit: contain; object-position: top center; aspect-ratio: 1; min-height: 300px; background: #ffffff; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(23,22,20,0.6); color: var(--offwhite);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.modal-close:hover { background: var(--black); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body { padding: 34px 36px; display: flex; flex-direction: column; gap: 14px; }
.modal-body .product-cat { margin-bottom: 2px; }
.modal-body h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--black); line-height: 1.15; }
.modal-desc { color: var(--graphite-light); font-size: 13px; white-space: pre-line; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-chip {
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 30px;
  background: var(--white); border: 1px solid var(--gray-line); color: var(--graphite);
}
.modal-price { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; }
.modal-price .now { font-size: 28px; font-weight: 700; color: var(--black); }
.modal-price .old { font-size: 15px; color: var(--gray-soft); text-decoration: line-through; }
.modal-price .off { font-size: 12.5px; font-weight: 700; color: var(--brown-mid); }

.option-group { border-top: 1px solid var(--gray-line); padding-top: 16px; }
.option-group h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.option-group .hint { font-size: 12.5px; color: var(--gray-soft); margin-bottom: 12px; }
.opt {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-line);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  margin-bottom: 8px;
}
.opt:hover { border-color: var(--olive); }
.opt.selected { border-color: var(--olive); background: var(--olive-tint); }
.opt input { accent-color: var(--olive); width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; }
.opt .opt-label { font-size: 14px; font-weight: 600; color: var(--graphite); }
.opt .opt-price { font-size: 13px; color: var(--olive); font-weight: 600; margin-left: auto; white-space: nowrap; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.qty-label { font-size: 14px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--gray-line); border-radius: 30px; overflow: hidden; background: var(--white); }
.stepper button { width: 38px; height: 40px; font-size: 18px; font-weight: 600; color: var(--graphite); transition: background var(--transition), color var(--transition); }
.stepper button:hover { background: var(--olive-tint); color: var(--olive); }
.stepper input {
  width: 42px; text-align: center; border: none; height: 40px;
  font-weight: 700; font-size: 15px; color: var(--black);
  background: transparent; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.modal-note { display: flex; gap: 10px; align-items: flex-start; }
.modal-note svg { width: 16px; height: 16px; color: var(--olive); flex-shrink: 0; margin-top: 3px; }
.modal-note p { font-size: 12.5px; color: var(--gray-soft); }

.modal-cta { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.modal-cta .btn-primary { flex: 1; }

/* ---------- Cart drawer (desktop) ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
  width: min(430px, 100vw);
  background: var(--offwhite);
  box-shadow: var(--shadow-drawer);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 340ms cubic-bezier(0.25,0.8,0.35,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--gray-line);
}
.cart-head h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--black); }
.cart-title { display: inline-flex; align-items: center; gap: 8px; }
.cart-title svg { width: 22px; height: 22px; }
.cart-head .icon-btn { width: 38px; height: 38px; }

.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 18px; }

.cart-item { display: flex; gap: 14px; }
.cart-item-thumb { width: 66px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--white); }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 14px; font-weight: 600; color: var(--black); line-height: 1.25; }
.cart-item-extras { font-size: 12.5px; color: var(--gray-soft); margin-top: 3px; }
.cart-item-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--black); }
.remove-item { color: var(--gray-soft); transition: color var(--transition); font-size: 12.5px; text-decoration: underline; margin-left: 6px; }
.remove-item:hover { color: var(--danger); }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--gray-soft); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 16px; opacity: 0.5; }
.cart-empty p { margin-bottom: 18px; font-size: 15px; }

.cart-coupon { margin: 0 24px 14px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input {
  flex: 1; padding: 11px 14px; border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm); background: var(--white);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.coupon-form input:focus { border-color: var(--olive); outline: none; }
.coupon-msg { font-size: 12.5px; margin-top: 8px; font-weight: 600; }
.coupon-msg.ok { color: var(--success); }
.coupon-msg.err { color: var(--danger); }

.cart-summary { border-top: 1px solid var(--gray-line); padding: 18px 24px 22px; background: var(--white); }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--graphite-light); padding: 3px 0; }
.sum-row.total { font-size: 17px; font-weight: 700; color: var(--black); border-top: 1px solid var(--gray-line); margin-top: 8px; padding-top: 10px; }
.sum-row .discount { color: var(--success); font-weight: 600; }
.cart-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cart-cta .btn { padding: 8px 16px !important; font-size: 13.5px !important; min-height: 36px !important; height: auto !important; }
.cart-item-line { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; margin-top: 9px !important; visibility: visible !important; opacity: 1 !important; }
.cart-stepper { display: inline-flex !important; align-items: center !important; border: 1.5px solid var(--olive) !important; border-radius: 30px !important; overflow: hidden !important; background: var(--white) !important; visibility: visible !important; opacity: 1 !important; }
.cart-stepper button { width: 28px !important; height: 28px !important; font-size: 15px !important; font-weight: 700 !important; color: var(--olive) !important; background: var(--white) !important; border: none !important; cursor: pointer !important; }
.cart-stepper button:hover { background: var(--olive-tint) !important; }
.cart-stepper span { min-width: 28px !important; text-align: center !important; font-size: 14px !important; font-weight: 700 !important; color: var(--black) !important; }

/* ---------- Mobile cart bar ---------- */
.mobile-cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none;
  background: var(--black); color: var(--offwhite);
  box-shadow: 0 -8px 30px rgba(23,22,20,0.25);
}
.mcb-inner { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.mcb-count {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--olive); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; line-height: 1.1; flex-shrink: 0;
}
.mcb-count small { font-size: 9px; font-weight: 600; opacity: 0.85; }
.mcb-info { flex: 1; }
.mcb-info .mcb-title { font-size: 12.5px; color: var(--gray-soft); text-transform: uppercase; letter-spacing: 0.1em; }
.mcb-info .mcb-total { font-size: 18px; font-weight: 700; }

/* Mobile cart view (fullscreen) */
.mobile-cart {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--offwhite);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.25,0.8,0.35,1);
}
.mobile-cart.open { transform: translateY(0); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1100; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--black); color: var(--offwhite);
  padding: 13px 22px; border-radius: 40px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 260ms, transform 260ms;
  max-width: 92vw;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--olive-light); flex-shrink: 0; }
.toast.error svg { color: var(--danger); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:0.9} 100%{transform:scale(1.5);opacity:0} }

/* ---------- MF Educacional ---------- */
.mf-educ {
  background: var(--graphite);
  color: var(--offwhite);
  position: relative;
  overflow: hidden;
}
.mf-educ::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,107,47,0.35), transparent 70%);
}
.mf-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; position: relative; }
.mf-media { position: relative; max-width: 63%; margin-left: auto; }
.mf-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/4.4; object-fit: cover; box-shadow: var(--shadow-lift); }
.mf-media .mf-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--olive); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.mf-copy .eyebrow { color: var(--olive-light); }
.mf-copy .eyebrow::before { background: var(--olive-light); }
.mf-copy h2 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.15; margin-bottom: 18px; }
.mf-copy p { color: rgba(245,242,233,0.78); margin-bottom: 16px; font-size: 16px; }
.mf-points { list-style: none; margin: 20px 0 30px; display: grid; gap: 12px; }
.mf-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.mf-points svg { width: 20px; height: 20px; color: var(--olive-light); flex-shrink: 0; margin-top: 3px; }

/* ---------- Banner / strip ---------- */
.strip {
  background: var(--brown-deep);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.strip::after {
  content: ""; position: absolute; left: -60px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 34px solid rgba(245,242,233,0.05);
}
.strip h3 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.strip p { color: rgba(245,242,233,0.75); max-width: 560px; }
.strip .btn { position: relative; z-index: 2; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.faq-item.open { border-color: var(--olive); box-shadow: var(--shadow-soft); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--black);
}
.faq-q .faq-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--gray-line); color: var(--olive);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 320ms cubic-bezier(0.25,0.8,0.35,1), background var(--transition), color var(--transition);
}
.faq-q .faq-icon svg { width: 15px; height: 15px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--olive); color: var(--white); border-color: var(--olive); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 340ms cubic-bezier(0.25,0.8,0.35,1); }
.faq-a-inner { padding: 0 22px 20px; color: var(--graphite-light); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
  background: var(--white); border: 1px solid var(--gray-line);
  border-radius: var(--radius-md); padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.contact-card .cc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--olive-tint); color: var(--olive);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.contact-card .cc-icon svg { width: 21px; height: 21px; }
.contact-card h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.contact-card p { font-size: 13.5px; color: var(--graphite-light); }
.contact-card .placeholder { color: var(--gray-soft); font-style: italic; }

.contact-cta {
  background: var(--black); color: var(--offwhite);
  border-radius: var(--radius-lg); padding: 34px;
}
.contact-cta h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.contact-cta p { color: rgba(245,242,233,0.75); font-size: 14.5px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(245,242,233,0.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 56px; }
.footer-brand .logo img { height: 46px; margin-bottom: 16px; }
.footer-brand .logo-name { color: #ffffff; margin-left: 10px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-col h4 {
  color: var(--white); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color var(--transition), padding-left var(--transition); }
.footer-col a:hover { color: var(--olive-light); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(245,242,233,0.18); color: var(--offwhite);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--olive); border-color: var(--olive); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(245,242,233,0.1);
  padding: 22px 0; font-size: 13px; color: rgba(245,242,233,0.5);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- Page hero (internal) ---------- */
.page-hero { background: var(--black); color: var(--offwhite); padding: 84px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,107,47,0.4), transparent 70%);
}
.page-hero .eyebrow { color: var(--olive-light); }
.page-hero .eyebrow::before { background: var(--olive-light); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; line-height: 1.1; margin-bottom: 14px; }
.page-hero p { color: rgba(245,242,233,0.78); max-width: 560px; font-size: 16.5px; }

/* ---------- Filters / toolbar ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 9px 18px; border-radius: 40px; font-size: 13.5px; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--gray-line); color: var(--graphite-light);
  transition: all var(--transition);
}
.pill:hover { border-color: var(--olive); color: var(--olive); }
.pill.active { background: var(--olive); border-color: var(--olive); color: var(--white); }
.sort-select {
  padding: 10px 14px; border: 1.5px solid var(--gray-line); border-radius: var(--radius-sm);
  background: var(--white); font-weight: 600; font-size: 13.5px; color: var(--graphite);
}

/* ---------- Product detail page ---------- */
.pd-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.pd-media { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-media .pd-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); position: relative; }
.pd-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-top: 12px; }
.pd-gallery div { aspect-ratio: 1; border-radius: 6px; overflow: hidden; border: 2px solid var(--dark-3); cursor: pointer; transition: var(--transition); }
.pd-gallery div:hover { border-color: var(--oliva); transform: scale(1.03); }
.pd-gallery div img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info h1 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; color: var(--black); line-height: 1.12; margin: 8px 0 14px; }
.pd-info .product-cat { font-size: 12px; }
.pd-desc { color: var(--graphite-light); font-size: 15.5px; margin-bottom: 20px; white-space: pre-line; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.pd-price .now { font-size: 34px; font-weight: 700; color: var(--black); }
.pd-price .old { font-size: 17px; color: var(--gray-soft); text-decoration: line-through; }
.pd-price .off { font-size: 13px; font-weight: 700; color: var(--brown-mid); }
.pd-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--success); margin-bottom: 20px; }
.pd-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 20px 0 0; font-size: 13px; color: var(--gray-soft); }
.breadcrumb a { color: var(--graphite-light); }
.breadcrumb a:hover { color: var(--olive); }
.breadcrumb span.sep { margin: 0 8px; }

/* ---------- Checkout ---------- */
.checkout-wrap { max-width: 860px; margin-inline: auto; }
.checkout-layout { display: flex; gap: 28px; align-items: flex-start; }
.checkout-main { flex: 1; min-width: 0; }
.checkout-sidebar {
  width: 280px; flex-shrink: 0; position: sticky; top: calc(var(--header-h) + 16px);
}
.checkout-sidebar-inner {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 22px;
}
.checkout-sidebar h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 14px; }
.sidebar-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--gray-line); }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item img { width: 44px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: var(--offwhite); }
.sidebar-item-info { flex: 1; min-width: 0; }
.sidebar-item-title { font-size: 13px; font-weight: 600; color: var(--black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-item-qty { font-size: 12px; color: var(--gray-soft); }
.sidebar-item-price { font-size: 13.5px; font-weight: 700; color: var(--olive); white-space: nowrap; }
.sidebar-sum-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: var(--graphite-light); }
.sidebar-sum-row.total { font-weight: 700; font-size: 16px; color: var(--black); border-top: 2px solid var(--gray-line); margin-top: 6px; padding-top: 10px; }
.sidebar-sum-row .discount { color: var(--success); }
.steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 44px; }
.step { display: flex; align-items: center; gap: 12px; }
.step-dot {
  width: 38px; height: 38px; border-radius: 50%;
  aspect-ratio: 1;
  background: var(--white); border: 2px solid var(--gray-line);
  color: var(--gray-soft); font-weight: 700; font-size: 14px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.step-dot svg { width: 18px; height: 18px; }
.step-label { font-size: 12.5px; font-weight: 600; color: var(--gray-soft); transition: color var(--transition); }
.step.active .step-dot { background: var(--olive); border-color: var(--olive); color: var(--white); }
.step.active .step-label { color: var(--olive); }
.step.done .step-dot { background: var(--olive); border-color: var(--olive); color: var(--white); }
.step.done .step-label { color: var(--graphite-light); }
.step-line { width: 0; height: 2px; background: var(--gray-line); margin: 0 10px; transition: background var(--transition), width 400ms cubic-bezier(0.25,0.8,0.35,1); }
.step-line.done { width: 44px; background: var(--olive); }

.checkout-card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 34px; margin-bottom: 22px; }
.checkout-card h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--black); margin-bottom: 22px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--graphite); }
.field label .req { color: var(--danger); }
.field input, .field select {
  padding: 12px 14px; border: 1.5px solid var(--gray-line); border-radius: var(--radius-sm);
  background: var(--offwhite); color: var(--black); transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus { border-color: var(--olive); outline: none; background: var(--white); }
.field input.error, .field select.error { border-color: var(--danger); }
.field-msg { font-size: 12px; color: var(--danger); min-height: 0; }
.field-msg.show { min-height: 16px; }

.shipping-opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--gray-line); border-radius: var(--radius-md); background: var(--offwhite); cursor: pointer; transition: all var(--transition); margin-bottom: 10px; }
.shipping-opt:hover { border-color: var(--olive); }
.shipping-opt.selected { border-color: var(--olive); background: var(--olive-tint); }
.shipping-opt input { accent-color: var(--olive); width: 18px; height: 18px; }
.shipping-opt .so-main { flex: 1; }
.shipping-opt .so-name { font-weight: 700; font-size: 15px; color: var(--black); }
.shipping-opt .so-eta { font-size: 13px; color: var(--graphite-light); }
.shipping-opt .so-price { font-weight: 700; font-size: 16px; color: var(--olive); }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--gray-line); }
.review-item .ri-thumb { width: 52px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--offwhite); }
.review-item .ri-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-item .ri-info { flex: 1; }
.review-item .ri-title { font-weight: 600; font-size: 14.5px; color: var(--black); }
.review-item .ri-extras { font-size: 12.5px; color: var(--gray-soft); }
.review-item .ri-right { text-align: right; }
.review-item .ri-price { font-weight: 700; color: var(--black); }
.review-item .ri-qty { font-size: 13px; color: var(--graphite-light); }

.review-address { background: var(--offwhite); border-radius: var(--radius-md); padding: 18px 20px; font-size: 14px; margin-top: 8px; }
.review-address strong { display: block; margin-bottom: 4px; color: var(--black); }

.summary-box { background: var(--offwhite); border-radius: var(--radius-md); padding: 20px 22px; margin-top: 18px; }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.pay-method { padding: 16px; border: 1.5px solid var(--gray-line); border-radius: var(--radius-md); background: var(--offwhite); text-align: center; cursor: pointer; transition: all var(--transition); }
.pay-method:hover { border-color: var(--olive); }
.pay-method.selected { border-color: var(--olive); background: var(--olive-tint); box-shadow: inset 0 0 0 1px var(--olive); }
.pay-method svg { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--olive); }
.pay-method .pm-name { font-size: 13.5px; font-weight: 700; color: var(--black); }
.pay-panel { background: var(--offwhite); border-radius: var(--radius-md); padding: 22px; margin-bottom: 18px; }
.pay-panel h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.pix-qr {
  width: 200px; height: 200px; border-radius: var(--radius-sm);
  background: var(--white); border: 1.5px solid var(--gray-line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  overflow: hidden;
}
.pix-qr svg { width: 180px; height: 180px; }
.pix-qr img { width: 100%; height: 100%; object-fit: contain; }
.pix-qr .pix-loading {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pix-qr .pix-loading p { font-size: 12px; color: var(--gray-soft); margin: 0; }
.pix-qr .pix-qr-icon svg { width: 88px; height: 88px; color: var(--gray-soft); opacity: 0.4; }

/* PIX copy row */
.pix-copy-row {
  display: flex; gap: 8px; align-items: center; margin-top: 12px;
  background: var(--white); border: 1.5px solid var(--gray-line); border-radius: var(--radius-sm);
  padding: 6px 6px 6px 14px;
}
.pix-copy-row .pix-payload-input {
  flex: 1; border: none; background: transparent; font-size: 12.5px;
  color: var(--graphite); font-family: monospace; padding: 6px 0;
  outline: none; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.pix-copy-row .pix-copy-btn {
  flex-shrink: 0;
  padding: 8px 16px; font-size: 12.5px; font-weight: 700;
  background: var(--olive); color: var(--white); border: none;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.pix-copy-row .pix-copy-btn:hover { background: var(--olive-soft); }

.pay-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; }
.form-actions .back { display: inline-flex; align-items: center; gap: 8px; color: var(--graphite-light); font-weight: 600; font-size: 14.5px; }
.form-actions .back:hover { color: var(--olive); }

/* Confirmation */
.confirm-wrap { max-width: 720px; margin-inline: auto; text-align: center; }
.confirm-icon {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--olive); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(99,107,47,0.35);
}
.confirm-icon svg { width: 44px; height: 44px; }
.confirm-wrap h1 { font-family: var(--font-serif); font-size: clamp(30px, 4.6vw, 46px); font-weight: 600; color: var(--black); margin-bottom: 12px; }
.confirm-wrap > p { color: var(--graphite-light); font-size: 16px; margin-bottom: 26px; }
.order-number { display: inline-block; background: var(--black); color: var(--offwhite); font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.06em; padding: 12px 26px; border-radius: var(--radius-sm); margin-bottom: 26px; }
.confirm-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Order tracking ---------- */
.track-card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 34px; }
.track-form { display: flex; gap: 12px; flex-wrap: wrap; }
.track-form input {
  flex: 1; min-width: 220px; padding: 13px 16px;
  border: 1.5px solid var(--gray-line); border-radius: var(--radius-sm);
  background: var(--offwhite); font-size: 15px;
}
.track-form input:focus { border-color: var(--olive); outline: none; }

.timeline { list-style: none; margin-top: 30px; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--gray-line); }
.timeline li { position: relative; padding: 0 0 30px 0; }
.timeline li:last-child { padding-bottom: 4px; }
.timeline .tl-dot {
  position: absolute; left: -34px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gray-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-soft);
}
.timeline .tl-dot svg { width: 12px; height: 12px; }
.timeline li.active .tl-dot { border-color: var(--olive); background: var(--olive); color: var(--white); }
.timeline li.future { opacity: 0.55; }
.timeline li.cancel .tl-dot { border-color: var(--danger); background: var(--danger); color: var(--white); }
.timeline .tl-title { font-weight: 700; color: var(--black); font-size: 15.5px; }
.timeline .tl-date { font-size: 13px; color: var(--gray-soft); }
.timeline li.active .tl-title { color: var(--olive); }

.track-result { margin-top: 30px; border-top: 1px solid var(--gray-line); padding-top: 26px; }
.track-status-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 40px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.track-status-badge.in-progress { background: var(--olive-tint); color: var(--olive); }
.track-status-badge.done { background: #E3EFD9; color: var(--success); }
.track-status-badge.cancelled { background: #F3DFDA; color: var(--danger); }

.order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 22px 0; }
.order-meta .om { background: var(--offwhite); border-radius: var(--radius-sm); padding: 14px 16px; }
.order-meta .om small { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-soft); font-weight: 700; }
.order-meta .om p { font-weight: 700; color: var(--black); font-size: 14.5px; margin-top: 3px; }

.demo-orders { margin-top: 24px; background: var(--offwhite); border-radius: var(--radius-md); padding: 18px 22px; }
.demo-orders h4 { font-size: 13.5px; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.demo-orders ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.demo-orders button { font-size: 14px; color: var(--olive); font-weight: 600; text-align: left; }
.demo-orders button:hover { text-decoration: underline; }

/* ---------- Misc ---------- */
.divider-section { height: 1px; background: var(--gray-line); border: none; margin: 0; }
.section.tight { padding: 64px 0; }

.loading-bar { height: 3px; background: var(--olive); position: fixed; top: 0; left: 0; z-index: 1200; width: 0%; transition: width 300ms; }
.loading-bar.on { width: 70%; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in-view { animation: fadeInUp 620ms cubic-bezier(0.25,0.8,0.35,1) forwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; }
}

/* ---------- Freight (Cálculo de Frete) ---------- */
.frete-section {
  margin-top: 24px;
  padding: 20px;
  background: var(--offwhite);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
}
.frete-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}
.frete-input-row {
  display: flex;
  gap: 10px;
  max-width: 400px;
}
.frete-input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color var(--transition);
}
.frete-input:focus { border-color: var(--olive); outline: none; }
.frete-btn {
  padding: 12px 22px;
  font-size: 14px;
  white-space: nowrap;
}
.frete-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--gray-soft);
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--gray-line);
  border-top-color: var(--olive);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.frete-loading .spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--gray-line);
  border-top-color: var(--olive);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.frete-erro {
  padding: 12px 16px;
  background: #FDF2F0;
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 10px;
}
.frete-resultado {
  margin-top: 16px;
}
.frete-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--gray-soft);
}
.frete-fallback {
  font-style: italic;
  color: var(--brown-mid);
}
.frete-servicos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.frete-servico {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.frete-servico:hover { border-color: var(--olive); }
.frete-servico.selected {
  border-color: var(--olive);
  background: var(--olive-tint);
  box-shadow: inset 0 0 0 1px var(--olive);
}
.frete-servico input { accent-color: var(--olive); width: 18px; height: 18px; }
.fs-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fs-nome { font-weight: 700; font-size: 15px; color: var(--black); }
.fs-desc { font-size: 12.5px; color: var(--graphite-light); white-space: pre-line; }
.fs-prazo { font-size: 13px; color: var(--olive); font-weight: 600; }
.fs-preco { font-weight: 700; font-size: 17px; color: var(--black); white-space: nowrap; }
.frete-servico.frete-gratis { border-color: var(--olive); background: rgba(99, 107, 47, 0.08); }
.frete-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.frete-peso, .frete-fallback { font-size: 12px; color: var(--graphite-light); background: var(--offwhite); padding: 4px 10px; border-radius: 20px; }
.frete-loading { display: flex; align-items: center; gap: 10px; padding: 12px; color: var(--graphite-light); font-size: 13px; }
.frete-erro { padding: 12px; color: var(--danger); font-size: 13px; background: var(--danger-bg); border-radius: var(--radius-sm); }
.frete-resultado-box { margin-top: 12px; }

/* ---------- Floating cart FAB ---------- */
.floating-cart-fab {
  position: fixed;
  right: 28px;
  bottom: 100px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(99, 107, 47, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-cart-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(99, 107, 47, 0.55);
}
.floating-cart-fab svg {
  width: 26px;
  height: 26px;
}
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--danger);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@keyframes fab-pulse {
  0%   { box-shadow: 0 6px 20px rgba(99, 107, 47, 0.4); }
  50%  { box-shadow: 0 6px 20px rgba(99, 107, 47, 0.4), 0 0 0 12px rgba(99, 107, 47, 0.2); }
  100% { box-shadow: 0 6px 20px rgba(99, 107, 47, 0.4); }
}
.floating-cart-fab.pulse {
  animation: fab-pulse 0.7s ease-out;
}

/* ---------- Search Panel ---------- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(23, 22, 20, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.search-panel.open {
  opacity: 1;
  visibility: visible;
}
.search-panel-head {
  width: 100%;
  max-width: 560px;
  padding: 0 16px;
}
.search-panel-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lift);
}
.search-panel-input-wrap svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gray-soft);
}
.search-panel-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--black);
  background: transparent;
}
.search-panel-input::placeholder {
  color: var(--gray-soft);
}
.search-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gray-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-panel-close svg {
  width: 22px;
  height: 22px;
}
.search-panel-results {
  width: 100%;
  max-width: 560px;
  padding: 8px 16px;
  max-height: 50vh;
  overflow-y: auto;
}
.search-panel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--black);
  transition: background var(--transition);
}
.search-panel-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.search-panel-item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-panel-item-info {
  flex: 1;
  min-width: 0;
}
.search-panel-item-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
}
.search-panel-item-cat {
  font-size: 12px;
  color: var(--gray-soft);
}
.search-panel-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--olive-light);
  white-space: nowrap;
}
.search-panel-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--gray-soft);
  font-size: 14px;
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background var(--transition);
  z-index: 2;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-close svg {
  width: 24px;
  height: 24px;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background var(--transition);
  z-index: 2;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev svg,
.lightbox-next svg {
  width: 28px;
  height: 28px;
}
.lightbox-img-wrap {
  width: 600px;
  height: 600px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 600px;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}
.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: var(--font-sans);
}

/* ============================================================
   Wishlist — Botão de coração
   ============================================================ */
.wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.wishlist-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  background: var(--white);
}
.wishlist-btn svg {
  width: 20px;
  height: 20px;
  transition: fill var(--transition), stroke var(--transition), transform var(--transition);
}
.wishlist-btn:not(.active) svg {
  fill: none;
  stroke: var(--graphite-light);
  stroke-width: 1.8;
}
.wishlist-btn.active svg {
  fill: var(--danger);
  stroke: var(--danger);
  stroke-width: 1.8;
}
.wishlist-btn.pulse {
  animation: wishlistPulse 400ms ease;
}
@keyframes wishlistPulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Wishlist na página do produto */
.pd-wishlist-btn {
  position: relative;
  top: auto;
  right: auto;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  vertical-align: middle;
  display: inline-flex;
  background: var(--white);
  border: 1.5px solid var(--gray-line);
}
.pd-wishlist-btn svg {
  width: 22px;
  height: 22px;
}

/* Wishlist page empty state */
.wishlist-empty h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.wishlist-empty p {
  color: var(--graphite-light);
  font-size: 15px;
  max-width: 420px;
  margin-inline: auto;
}

/* ============================================================
   Reviews / Avaliações
   ============================================================ */
.reviews-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-line);
}
.reviews-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-media {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.reviews-count {
  font-size: 14px;
  color: var(--graphite-light);
}

/* Estrelas */
.stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.stars svg {
  width: 18px;
  height: 18px;
}
.stars.filled svg {
  fill: #D4A017;
  stroke: #D4A017;
}
.stars.empty svg {
  fill: none;
  stroke: #D4A017;
  stroke-width: 1.8;
}
.stars-large svg {
  width: 24px;
  height: 24px;
}

/* Estrelas clicáveis no formulário */
.star-input {
  display: inline-flex;
  gap: 4px;
  cursor: pointer;
}
.star-input svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #D4A017;
  stroke-width: 1.8;
  transition: fill var(--transition), transform var(--transition);
  cursor: pointer;
}
.star-input svg.hovered,
.star-input svg.selected {
  fill: #D4A017;
  stroke: #D4A017;
}
.star-input svg:hover {
  transform: scale(1.15);
}

/* Formulário de avaliação */
.review-form {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 36px;
}
.review-form h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 18px;
}
.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.review-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite-light);
  margin-bottom: 6px;
}
.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--graphite);
  background: var(--offwhite);
  transition: border-color var(--transition);
}
.review-form input[type="text"]:focus,
.review-form input[type="email"]:focus,
.review-form textarea:focus {
  border-color: var(--olive);
  outline: none;
  background: var(--white);
}
.review-form textarea {
  min-height: 100px;
  resize: vertical;
}
.review-form .star-field {
  margin-bottom: 14px;
}
.review-form .star-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite-light);
  margin-bottom: 8px;
}

/* Lista de avaliações */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-item {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.review-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.review-item-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--black);
}
.review-item-date {
  font-size: 12.5px;
  color: var(--gray-soft);
}
.review-item-body {
  font-size: 14px;
  color: var(--graphite-light);
  line-height: 1.6;
}
.review-no-reviews {
  text-align: center;
  padding: 36px 20px;
  color: var(--gray-soft);
  font-size: 15px;
}

/* Rating inline nos product cards */
.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--graphite-light);
  margin-top: 2px;
}
.product-rating .stars svg {
  width: 14px;
  height: 14px;
}
.product-rating-count {
  font-size: 11.5px;
  color: var(--gray-soft);
}

/* ---------- Scroll to top ---------- */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-line);
  color: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: var(--olive); border-color: var(--olive); color: var(--white); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* ---------- Coupon copy button ---------- */
.cs-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cs-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cs-copy-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
.cs-copy-btn svg { width: 16px; height: 16px; }