/* ============================================================
   VOVO — Shared styles (nav + footer + common components)
   Used by all pages except those that have their own hero.
   Requires tokens.css loaded before this file.
   ============================================================ */

/* ---- base reset ---- */
html, body { overflow-x: hidden; }
body { background: var(--color-canvas); color: var(--color-ink); font-family: var(--font-sans); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-canvas); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 999px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.section { padding: 48px 0; }
.section-sm { padding: 28px 0; }

/* ================= NAV (purple band) ================= */
.top-purple { background: #B985D2; width: 100%; overflow: hidden; }
.nav { position: relative; z-index: 60; background: transparent; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; gap: 24px;
}
.nav-logo img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 22px; flex: 1; justify-content: center; flex-wrap: nowrap; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: #fff; opacity: 0.95;
  transition: var(--transition); letter-spacing: 0.01em; white-space: nowrap;
}
.nav-links a .ic-img { width: 24px; height: 24px; display: inline-block; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover { transform: translateY(-1px); }
.nav-actions { display: flex; gap: 10px; align-items: center; color: #fff; }
.nav-icon {
  width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center; background: transparent;
  transition: var(--transition); position: relative; color: #fff;
}
.nav-icon:hover { background: rgba(255,255,255,0.14); }
.nav-icon img { width: 26px; height: 26px; display: block; }
.nav-with-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 6px; border-radius: 999px;
  color: #fff; font-size: 12px; font-weight: 500; line-height: 1.1;
  transition: var(--transition); cursor: pointer; position: relative;
}
.nav-with-label:hover { background: rgba(255,255,255,0.14); }
.nav-with-label .lbl { opacity: 0.95; white-space: nowrap; }
.nav-with-label img { width: 28px; height: 28px; display: block; }
.nav-cart .badge {
  position: absolute; top: -2px; left: 22px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: #1A1A1A; color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center;
  border: 2px solid #B985D2;
}
.nav-cart .price { font-size: 13px; font-weight: 700; color: #fff; margin-left: 4px; }

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-coral); color: #fff; font-weight: 700; font-size: 14px;
  padding: 14px 36px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(242,106,69,0.32);
  transition: var(--transition); letter-spacing: 0.1em; text-transform: uppercase;
}
.btn-primary:hover { background: #E85B38; transform: translateY(-2px); }
.btn-secondary {
  display: inline-block; background: var(--color-lilac-deep); color: #fff;
  font-weight: 700; font-size: 14px; padding: 12px 26px; border-radius: 999px;
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--color-ink); border: 1px solid var(--color-border);
  padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--color-ink); }

/* ================= QUICK-LINKS STRIP ================= */
.quick-links {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.quick-links .q {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; color: var(--color-ink-mid);
  justify-content: center;
}
.quick-links .q .q-ic {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
}
.quick-links .q .q-ic svg {
  width: 28px; height: 28px; stroke: var(--color-ink); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.quick-links .q strong {
  color: var(--color-ink); font-weight: 700;
  display: block; font-size: 14px;
}
.quick-links .q .q-text { text-align: left; }
.quick-links .q .q-text small {
  color: var(--color-ink-light); font-size: 11px;
  display: block; margin-top: 2px;
}

/* ================= FOOTER ================= */
.footer { padding: 56px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-col h5 {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-ink); font-weight: 700; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--color-ink-mid);
  margin-bottom: 8px; transition: var(--transition);
}
.footer-col a:hover { color: var(--color-coral); }
.footer-logo img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-col .meta { font-size: 12px; color: var(--color-ink-light); margin-bottom: 4px; }
.newsletter { display: flex; gap: 0; max-width: 340px; margin-top: 8px; }
.newsletter input {
  flex: 1; padding: 11px 16px; border: 1px solid var(--color-border); border-right: 0;
  border-radius: 999px 0 0 999px; background: #fff; font-family: inherit;
  font-size: 13px; color: var(--color-ink); outline: none;
}
.newsletter input:focus { border-color: var(--color-coral); }
.newsletter button {
  padding: 11px 18px; background: var(--color-amber); color: #fff;
  font-weight: 700; font-size: 12px; border-radius: 0 999px 999px 0;
}
.footer p.fine { font-size: 11px; color: var(--color-ink-light); margin-top: 8px; }
.footer-bottom {
  padding: 20px 0 0; display: flex; justify-content: space-between;
  color: var(--color-ink-light); font-size: 12px;
  border-top: 1px solid var(--color-border); margin-top: 32px;
}
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--color-canvas-dark); display: grid; place-items: center;
  transition: var(--transition);
}
.socials a:hover { background: var(--color-ink); color: #fff; }

/* ================= PRODUCT CARD (reused everywhere) ================= */
.product-card {
  background: #fff; border-radius: 20px; overflow: hidden; cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
  box-shadow: var(--shadow-card); position: relative; display: block;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.product-card .ph {
  aspect-ratio: 1/1; background: var(--color-canvas-dark);
  overflow: hidden; position: relative;
}
.product-card .ph img { transition: transform 0.5s var(--ease-out); }
.product-card:hover .ph img { transform: scale(1.04); }
.product-card .info { padding: 14px 16px 18px; text-align: center; }
.product-card .info .name {
  font-size: 13px; font-weight: 500; color: var(--color-ink);
  margin-bottom: 6px; line-height: 1.35;
}
.product-card .info .price {
  font-size: 13px; font-weight: 600; color: var(--color-ink-mid);
}
.product-card .info .price .old {
  color: var(--color-ink-light); text-decoration: line-through;
  margin-left: 6px; font-weight: 400;
}
.badge-tl {
  position: absolute; top: 12px; left: 12px; font-size: 10px;
  font-weight: 700; padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.dots { display: flex; gap: 4px; justify-content: center; margin-top: 8px; }
.dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--color-border); }
.dots span.on { background: var(--color-ink); }

/* ================= BREADCRUMBS ================= */
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--color-ink-light);
}
.crumbs a:hover { color: var(--color-coral); }
.crumbs .sep { opacity: 0.5; }
.crumbs .current { color: var(--color-ink); font-weight: 500; }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-links { grid-template-columns: 1fr; gap: 18px; }
  .nav-links { display: none; }
}
