/* ==========================================================
   Loloa Fashion — style.css
   Clean, editorial, product-first fashion aesthetic.
   ========================================================== */

/* ---------- Variables ---------- */
:root {
  --bg: #faf9f6;
  --white: #ffffff;
  --text: #151515;
  --muted: #666666;
  --faint: #9a9a9a;
  --accent: #b8864b;
  --soft: #efe8df;
  --border: #e7e2db;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 16px rgba(21, 21, 21, 0.06);
  --shadow: 0 14px 40px rgba(21, 21, 21, 0.12);
  --maxw: 1240px;
  --header-h: 72px;
  --nav-transition: 0.25s ease;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Base ---------- */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--text); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

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


@media (max-width: 768px) {
    .nav-brand-logo {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .nav-brand-logo {
        width: 150px;
    }
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-alt { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); margin: 0; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--white);
  padding: 10px 16px;
  z-index: 500;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-dark { background: var(--text); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--white); color: var(--text); border-color: var(--border); }
.btn-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-outline:hover { background: var(--white); color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--header-h);
  background: var(--white);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--nav-transition), color var(--nav-transition), border-color var(--nav-transition), box-shadow var(--nav-transition);
}

body.has-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--white);
}
body.has-hero .site-header:hover,
body.has-hero .site-header:focus-within,
body.has-hero .site-header.is-scrolled {
  background: var(--white);
  color: var(--text);
  border-bottom-color: var(--border);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.navbar {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.nav-brand-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.nav-left { display: none; align-items: center; gap: 2px; }
.nav-right { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }

.nav-left a, .nav-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-left a:hover, .nav-item-btn:hover { color: var(--accent); }

.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  grid-column: 2;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: inherit;
}
.nav-brand:hover { color: inherit; text-decoration: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: rgba(21, 21, 21, 0.06); }
body.has-hero .site-header:not(:hover):not(:focus-within):not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, 0.15); }
.icon-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.icon-badge.is-visible { display: flex; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav-left { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Dropdown (Product: Men / Women) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform-origin: top center;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-dropdown-panel a:hover { background: var(--soft); color: var(--accent); }

/* ---------- Mobile Menu (off-canvas) ---------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 21, 21, 0.45);
  z-index: 350;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: var(--white);
  color: var(--text);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.mobile-nav { padding: 10px 12px; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--border); }
.mobile-nav a, .mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 10px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}
.mobile-accordion-trigger svg { transition: transform 0.2s ease; }
.mobile-accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu { display: none; padding: 0 10px 10px 20px; }
.mobile-submenu.is-open { display: block; }
.mobile-submenu a { padding: 11px 6px; font-weight: 500; font-size: 0.92rem; color: var(--muted); }

.mobile-menu-foot { margin-top: auto; padding: 18px 20px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); }
.mobile-menu-foot a { color: var(--accent); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(21, 21, 21, 0.4);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.search-form { display: flex; gap: 10px; }
.search-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
}
.search-form input:focus { border-color: var(--accent); }
.search-close { flex-shrink: 0; }
.search-results { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow-y: auto; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.search-result-item img { width: 46px; height: 58px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.search-result-item .name { font-weight: 600; font-size: 0.9rem; }
.search-result-item .cat { font-size: 0.78rem; color: var(--faint); }
.search-empty { font-size: 0.88rem; color: var(--faint); padding: 6px 2px; }
.search-hint { font-size: 0.78rem; color: var(--faint); margin-top: 10px; }

/* ---------- Hero / Carousel ---------- */
.hero-carousel { position: relative; background: var(--soft); }
.carousel-track-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
@media (min-width: 640px) { .carousel-track-wrap { aspect-ratio: 16 / 10; } }
@media (min-width: 1000px) { .carousel-track-wrap { aspect-ratio: 16 / 9; } }

.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease; z-index: 1; }
.carousel-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,21,21,0.55) 0%, rgba(21,21,21,0.18) 45%, rgba(21,21,21,0.1) 100%); }
.slide-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 24px 56px; max-width: var(--maxw); margin: 0 auto; }
.slide-content h1, .slide-content h2 { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem); color: var(--white); margin-bottom: 12px; }
.slide-content p { color: #f1ede6; max-width: 46ch; margin-bottom: 20px; font-size: 1.02rem; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.85); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.carousel-arrow:hover { background: var(--text); color: var(--white); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 5; display: flex; justify-content: center; gap: 9px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; }
.carousel-dot.is-active { background: var(--accent); }

/* ---------- Content offset (pages without hero) ---------- */
body:not(.has-hero) .page-content,
body.has-hero .page-content-no-hero { padding-top: var(--header-h); }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.category-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,21,21,0.55), rgba(21,21,21,0.05) 55%); }
.category-card .label {
  position: absolute; left: 20px; bottom: 20px; color: var(--white);
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em;
}
.category-card .label span { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ---------- Product grid / cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { position: relative; display: block; }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none; color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.wishlist-btn:hover { color: var(--accent); }
.wishlist-btn.is-active { color: var(--accent); }
.wishlist-btn.is-active svg { fill: var(--accent); }
.product-info { padding: 10px 2px 0; }
.product-cat { font-size: 0.72rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.product-name { font-size: 0.92rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.product-price { font-size: 0.9rem; color: var(--accent); font-weight: 700; }

.sort-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  margin-bottom: 26px; font-size: 0.86rem; color: var(--muted);
}
.sort-bar select {
  padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--white); color: var(--text);
}

/* ---------- Editorial banner ---------- */
.editorial-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; }
@media (max-width: 720px) { .editorial-banner { aspect-ratio: 4/5; } }
.editorial-banner img { width: 100%; height: 100%; object-fit: cover; }
.editorial-banner .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,21,21,0.55), rgba(21,21,21,0.05) 60%); }
.editorial-banner .content { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); max-width: 420px; color: var(--white); }
.editorial-banner .content h2 { color: var(--white); margin-bottom: 10px; }
.editorial-banner .content p { color: #eee; }

/* ---------- Store info ---------- */
.info-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { display: grid; gap: 14px; }
.contact-list .item { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .item-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .item h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-list .item p { margin: 0; font-size: 0.92rem; }

.map-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--soft); }
.map-frame { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; text-align: center; padding: 20px; color: var(--faint); font-size: 0.9rem;
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.review-text { color: var(--text); font-size: 0.94rem; margin: 0; white-space: pre-line; }
.review-meta { display: flex; justify-content: space-between; color: var(--faint); font-size: 0.8rem; margin-top: auto; }
.reviews-disclaimer { margin-top: 20px; font-size: 0.84rem; color: var(--faint); }

/* ---------- Contact / Booking forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 16px; }
.form-grid.two-col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.form-field input, .form-field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); padding: 11px 12px; font: inherit;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--faint); margin-top: 4px; }
.form-success {
  display: none; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius); color: var(--text); font-size: 0.9rem; background: var(--soft);
}
.form-success.is-visible { display: block; }
.contact-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.cta-band { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 54ch; margin: 0 auto 20px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); margin-top: 20px; }
.footer-grid { display: grid; gap: 28px; padding: 54px 0 30px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-col h4 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }
.footer-col address { font-style: normal; font-size: 0.9rem; color: var(--muted); }
.footer-col address p { margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: space-between; font-size: 0.8rem; color: var(--faint);
}
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Legal content ---------- */
.legal-content h2 { font-size: 1.12rem; margin-top: 1.6em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 0.96rem; }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 6px; }
.dev-note {
  background: var(--soft); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 14px 16px; font-size: 0.84rem; color: var(--faint); margin: 18px 0;
}

/* ---------- Breadcrumbs / page hero ---------- */
.page-hero { padding: 36px 0 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: var(--faint); margin-bottom: 14px; }
.breadcrumbs a { color: var(--faint); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .current { color: var(--muted); }
.page-hero h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: 8px; }
.page-hero .lead { max-width: 62ch; }

.category-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.category-links a {
  padding: 9px 18px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--text);
}
.category-links a:hover, .category-links a.is-active { border-color: var(--accent); color: var(--accent); }

.subcat-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 30px; }
.subcat-chip-row span {
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.8rem; color: var(--muted); background: var(--white);
}

/* ---------- Toast (demo notices) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--text); color: var(--white); padding: 12px 20px; border-radius: var(--radius);
  font-size: 0.86rem; z-index: 600; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

main { display: block; }
