/* ================================================================
  GLOBAL.CSS — Stax Design System
  Fuente: Bricolage Grotesque (display) + Outfit (body)
  Paleta: Rosa vibrante, blanco, gris suave
  ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800;900&family=Space+Grotesk:wght@500;600;700&family=Bricolage+Grotesque:wght@500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: #F7F8FA;
  color: #1C1C1C;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Icon library alignment */
.bi { line-height: 1; vertical-align: middle; }
.topnav .bi { margin-right: 6px; }
.d-arrow .bi { font-size: 0.78rem; }
.card-shipping-tag .bi,
.cart-item-shipping .bi,
.shipping-badge .bi { margin-right: 4px; }

/* ── TOKENS ── */
:root {
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --red:       #D81B60;
  --red-dark:  #B0144D;
  --red-light: #FDE7F1;
  --red-mid:   #F7A8C9;
  --accent:    #FF4F9A;
  --success:   #27AE60;
  --warn:      #F39C12;
  --white:     #FFFFFF;
  --bg:        #FFF7FB;
  --bg2:       #F9EDF4;
  --border:    #EEDCE7;
  --text:      #1C1C1C;
  --text-2:    #4A4A4A;
  --text-3:    #8A8A8A;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
  --shadow-red:0 6px 24px rgba(216,27,96,0.28);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --nav-h:     64px;
  --nav-sub-h: 44px;
}

body[data-font-variant='v1'] {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;
}

body[data-font-variant='v2'] {
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

body[data-font-variant='v3'] {
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c5c8ce; }

/* ================================================================
   TOP NAV
   ================================================================ */
.topnav {
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.3px;
}
.topnav a { color: #ffe; text-decoration: underline; }

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red);
  letter-spacing: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--text); }

/* Search */
.nav-search {
  flex: 1;
  max-width: 580px;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.nav-search:focus-within { border-color: var(--red); background: var(--white); }
.nav-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  color: var(--text);
}
.nav-search input::placeholder { color: var(--text-3); }
.nav-search-btn {
  background: var(--red);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin: 2px;
  font-size: 1rem;
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-search-btn:hover { background: var(--red-dark); }

/* Nav icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border: none;
  background: none;
  color: var(--text-2);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-icon-btn:hover { color: var(--red); background: var(--red-light); }
.nav-icon-btn .icon { font-size: 1.25rem; }
.nav-badge {
  position: absolute;
  top: 4px; right: 6px;
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.nav-separator { width: 1px; height: 32px; background: var(--border); margin: 0 4px; }

.profile-menu {
  position: relative;
}

.profile-toggle {
  min-width: 68px;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 260;
}

.profile-dropdown.open {
  display: flex;
}

.profile-item {
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.profile-item:hover {
  background: var(--red-light);
  color: var(--red);
}

.profile-item.logout {
  color: #9A2A2A;
}

.cart-menu {
  position: relative;
}

.cart-preview-modal {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 300px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 10px;
  display: none;
  z-index: 260;
}

.cart-preview-modal.open {
  display: block;
}

.cart-preview-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cart-preview-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 4px;
  border-bottom: 1px solid var(--bg2);
}

.cart-preview-item:last-of-type {
  border-bottom: none;
}

.cart-preview-item i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cart-preview-item strong {
  display: block;
  font-size: 0.76rem;
  color: var(--text);
  line-height: 1.2;
}

.cart-preview-item span {
  font-size: 0.75rem;
  color: var(--text-2);
  font-weight: 700;
}

.cart-preview-cta {
  width: 100%;
  margin-top: 8px;
  border: 1.5px solid var(--red);
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
}

.cart-preview-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── SUBNAV (categorías) ── */
.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-sub-h);
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  border: none;
  background: none;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.subnav-link:hover { background: var(--red-light); color: var(--red); }
.subnav-link.active { background: var(--red); color: #fff; }

/* ================================================================
   MOBILE MENU MODAL
   ================================================================ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 500;
  backdrop-filter: blur(2px);
  animation: overlayIn 0.2s ease;
}
.mobile-overlay.open { display: block; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  background: var(--red);
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.drawer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.5px;
}
.drawer-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.drawer-close:hover { background: rgba(255,255,255,0.35); }

.drawer-user {
  padding: 16px 20px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.drawer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.drawer-user-info p { font-size: 0.82rem; color: var(--text-2); }
.drawer-user-info strong { font-size: 0.9rem; display: block; margin-bottom: 2px; }
.drawer-user-info a { color: var(--red); font-size: 0.78rem; font-weight: 600; }

.drawer-section-title {
  padding: 14px 20px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--bg2);
}
.drawer-item:hover { background: var(--bg); color: var(--red); }
.drawer-item .d-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.drawer-item .d-arrow { margin-left: auto; color: var(--text-3); font-size: 0.8rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #1C1C1C;
  color: #ccc;
  margin-top: 60px;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.footer-brand .footer-logo span { color: var(--red); }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; color: #999; max-width: 240px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #2C2C2C;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  color: #ccc;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.8rem; color: #999; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #2C2C2C;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.75rem; color: #666; }
.footer-payments { display: flex; gap: 8px; }
.payment-chip {
  background: #2C2C2C;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.7rem;
  color: #bbb;
  font-weight: 600;
}

/* ================================================================
   TOAST / SNACKBAR
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #1C1C1C;
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  border-left: 4px solid var(--success);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.error { border-left-color: var(--red); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ================================================================
   SHARED COMPONENTS
   ================================================================ */

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(216,27,96,0.35); }
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover { background: var(--red-light); }
.btn-ghost {
  background: var(--bg2);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--border); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.78rem; }
.btn-full { width: 100%; justify-content: center; }

/* Badge */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-red { background: var(--red); color: #fff; }
.badge-success { background: #E8F8EE; color: var(--success); }
.badge-warn { background: #FEF5E7; color: var(--warn); }
.badge-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-2); }

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }

.card-img-wrap {
  aspect-ratio: 1;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}
.card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.04) 100%);
}
.card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 1;
}
.card-wishlist {
  position: absolute;
  top: 8px; right: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 1;
}
.card-wishlist:hover { border-color: var(--red); background: var(--red-light); }
.card-wishlist.active { background: var(--red-light); border-color: var(--red); }

.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-brand { font-size: 0.7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.5px; }
.card-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-rating {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--text-3);
}
.stars-sm { color: #F5A623; font-size: 0.72rem; }
.card-price-row { margin-top: auto; }
.card-old-price { font-size: 0.72rem; color: var(--text-3); text-decoration: line-through; }
.card-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.card-price .currency { font-size: 0.75rem; font-weight: 600; vertical-align: super; }
.card-shipping-tag { font-size: 0.7rem; color: var(--success); font-weight: 600; }

.card-actions {
  padding: 0 14px 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

/* Section headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  width: 4px; height: 22px;
  background: var(--red);
  border-radius: 2px;
  display: inline-block;
}
.section-link { font-size: 0.82rem; color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.section-link:hover { text-decoration: underline; }

/* Wrapper */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.page-section { padding: 36px 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-3);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--red); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-3); }

/* ================================================================
   CURRENCY SWITCHER TAB
   ================================================================ */
.currency-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 4px 16px rgba(0,0,0,0.12);
  z-index: 888;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.currency-btn {
  padding: 14px 16px;
  border: none;
  background: var(--white);
  color: var(--text-3);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.5px;
}
.currency-btn:last-child { border-bottom: none; }
.currency-btn:hover { background: var(--bg2); color: var(--text); }
.currency-btn.active {
  background: var(--red);
  color: var(--white);
}

.font-tab {
  position: fixed;
  right: 0;
  top: calc(50% + 108px);
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 4px 16px rgba(0,0,0,0.12);
  z-index: 887;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 86px;
}

.font-tab-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-3);
  text-transform: uppercase;
  text-align: center;
  padding: 8px 6px 6px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.font-btn {
  padding: 8px 10px;
  border: none;
  background: var(--white);
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}

.font-btn:last-child { border-bottom: none; }
.font-btn:hover { background: var(--bg2); color: var(--text); }
.font-btn.active { background: var(--text); color: #fff; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .subnav { display: none; }
  .nav-icons .nav-icon-btn span:not(.icon):not(.nav-badge) { display: none; }
  .nav-icons .nav-separator { display: none; }
  .nav-search { max-width: 100%; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cart-preview-modal {
    display: none !important;
  }

  .font-tab {
    top: auto;
    bottom: 80px;
    right: 14px;
    transform: none;
    flex-direction: row;
    border-radius: 999px;
    min-width: auto;
    align-items: center;
  }

  .font-tab-label {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 8px 8px;
  }

  .font-btn {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 8px 9px;
  }

  .font-btn:last-child { border-right: none; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .nav-logo { font-size: 1.2rem; }
}
