/* epetzo demo — Sky Paw · soft blendy elegant */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700;6..12,800&display=swap');
@import url('assets.css');
@import url('modals.css');

:root {
  --sky: #BDD4FC;
  --sky-soft: #E7F0FE;
  --teal: #1877F2;
  --teal-deep: #0C63D4;
  --action: #FFE28A;
  --action-deep: #F5C84A;
  --action-border: #E8B83A;
  --action-text: #3a3420;
  --page-bg: #ffffff;
  --surface: #F5FAFD;
  --surface-2: #eef6fb;
  --text: #2A3642;
  --muted: #5c6b78;
  --line: rgba(42, 54, 66, 0.08);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(42, 54, 66, 0.08);
  --shadow-sm: 0 8px 24px rgba(42, 54, 66, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --feed-font: "Nunito Sans", "Manrope", system-ui, sans-serif;
  --max: 1180px;
  --nav-h: 80px;
  --feed-col: minmax(0, 1fr);
  --comm-left: 250px;
  --comm-right: 280px;

  /* category accents */
  --dogs: #b8860b;
  --dogs-soft: #e8d5a8;
  --cats: #7BC4A8;
  --aquarium: #1B6B8A;
  --aquarium-soft: #3A9BC2;
  --birds: #E89A7B;
  --treats: #E07A5F;
  --toys: #E9B44C;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  /* flat page background sampled from the Chewy reference (#ffffff); was a sky gradient */
  background: var(--page-bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* —— chrome —— */
.trust-bar {
  background: rgba(42, 54, 66, 0.92);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 0.45rem 0;
}
.trust-bar .container {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: center;
}
.trust-bar span { opacity: 0.92; }

#site-header {
  position: sticky;
  top: 0;
  /* Above most page chrome; cart drawer (z ≥ 2700) intentionally covers the navbar. */
  z-index: 400;
  width: 100%;
}
.site-header {
  --hdr-ink: #fff;
  --hdr-ink-soft: rgba(255, 255, 255, 0.82);
  --hdr-glass: rgba(255, 255, 255, 0.14);
  --hdr-glass-line: rgba(255, 255, 255, 0.26);
  position: relative;
  top: auto;
  z-index: auto;
  color: var(--hdr-ink);
  background:
    radial-gradient(60% 180% at 12% -40%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(45% 160% at 88% 140%, rgba(125, 211, 252, 0.38), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='96' viewBox='0 0 150 96'%3E%3Cg fill='%23fff' fill-opacity='.06'%3E%3Cg transform='translate(30 34) rotate(-18)'%3E%3Cellipse cy='7' rx='8.5' ry='7'/%3E%3Ccircle cx='-8.5' cy='-4' r='3.4'/%3E%3Ccircle cx='-3.2' cy='-9' r='3.4'/%3E%3Ccircle cx='3.2' cy='-9' r='3.4'/%3E%3Ccircle cx='8.5' cy='-4' r='3.4'/%3E%3C/g%3E%3Cg transform='translate(108 66) rotate(24) scale(.8)'%3E%3Cellipse cy='7' rx='8.5' ry='7'/%3E%3Ccircle cx='-8.5' cy='-4' r='3.4'/%3E%3Ccircle cx='-3.2' cy='-9' r='3.4'/%3E%3Ccircle cx='3.2' cy='-9' r='3.4'/%3E%3Ccircle cx='8.5' cy='-4' r='3.4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(100deg, #0b3a9e 0%, #1457d0 34%, #1a70ea 68%, #2a8ff2 100%);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px -14px rgba(10, 45, 120, 0.55);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 226, 138, 0.9) 22%, rgba(255, 255, 255, 0.85) 50%, rgba(125, 211, 252, 0.9) 78%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}
.site-header:has(.catbar)::after { display: none; }
.site-header:has(.catbar) .catbar {
  background: rgba(6, 28, 82, 0.24);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  padding: 0.35rem 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 1.45rem; color: var(--text);
  letter-spacing: -0.03em;
}
.site-header .logo {
  position: relative;
  isolation: isolate;
  transition: transform 0.2s ease;
}
.site-header .logo::before {
  content: "";
  position: absolute;
  inset: -14px -26px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1) 60%, transparent);
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.site-header .logo-full {
  height: 46px;
  filter:
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff)
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff)
    drop-shadow(0 4px 8px rgba(6, 28, 82, 0.45));
}
.site-header .logo:hover { transform: translateY(-1px) scale(1.02); }
.site-header .logo:hover::before { opacity: 1; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 0;
  background: transparent;
  display: grid; place-items: center;
  box-shadow: none;
  padding: 0; overflow: visible;
}
.logo-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.logo-full { display: block; width: auto; height: 56px; }
@media (max-width: 560px) {
  .logo-full { height: 40px; }
  .site-header .logo-full { height: 34px; }
}
.search {
  display: flex; align-items: center;
  background: var(--white);
  border: 1.5px solid rgba(42, 54, 66, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.35rem 0.2rem 1.1rem;
  box-shadow: none;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.search input {
  border: 0; outline: 0; background: transparent; width: 100%;
  padding: 0.65rem 0.5rem;
  font-size: 0.92rem;
  color: var(--text);
}
.search input::placeholder { color: #8a97a3; }
.search button {
  border: 0; border-radius: 50%;
  background: transparent; color: var(--muted);
  width: 42px; height: 42px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.search button:hover { background: var(--surface-2); color: var(--teal-deep); }
.search button .icon-img { width: 20px; height: 20px; opacity: 0.7; }
.site-header .search {
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14), 0 8px 22px -10px rgba(6, 28, 82, 0.6);
  transition: box-shadow 0.2s ease;
}
.site-header .search:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 10px 24px -10px rgba(6, 28, 82, 0.65);
}

/* —— Epetzo live search (desktop dropdown + shared rows) —— */
.ep-search {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.ep-search .search {
  max-width: none;
  margin: 0;
}
.ep-search-mark,
.pcard-info h3 .ep-search-mark {
  padding: 0 0.12em;
  border-radius: 3px;
  background: rgba(250, 204, 21, 0.55);
  color: inherit;
  font: inherit;
  font-weight: inherit;
}
.ep-search-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ep-search-muted {
  margin: 0.65rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.ep-search-product-list {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
}
.ep-search-product-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.45rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}
.ep-search-product-row:hover {
  background: #f2f6fb;
}
.ep-search-product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef2f7;
}
.ep-search-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.ep-search-product-name {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-search-product-cat {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-search-product-price {
  flex: none;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--teal-deep, #0f766e);
  white-space: nowrap;
}
.ep-search-see-all {
  display: block;
  width: calc(100% - 2rem);
  margin: 0.35rem 1rem 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(42, 54, 66, 0.1);
  border-radius: 12px;
  background: #f7fafc;
  color: var(--teal-deep, #0f766e);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
}
.ep-search-see-all:hover {
  background: #eef6ff;
}
.ep-search-try-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ep-search-try-chips {
  margin-bottom: 0.5rem;
}
.ep-search-try-chips .m-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(42, 54, 66, 0.07);
  border-radius: 999px;
  background: #f2f6fb;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.ep-search-shelf {
  margin-top: 1.75rem;
}

@media (min-width: 761px) {
  .ep-search {
    position: relative;
  }
  .ep-search.is-open .ep-search-drop {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 80;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.35rem 0 0.55rem;
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    box-shadow:
      0 0 0 1px rgba(15, 40, 90, 0.06),
      0 22px 40px -18px rgba(10, 30, 70, 0.45);
    animation: m-drop 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .ep-search .ep-search-backdrop {
    display: none !important;
  }
  .ep-search-drop .m-search-section,
  .ep-search-section {
    padding: 0.55rem 0.85rem;
  }
  .ep-search-drop .m-search-section + .m-search-section,
  .ep-search-section + .ep-search-section {
    border-top: 1px solid rgba(42, 54, 66, 0.06);
  }
  .ep-search-drop .m-search-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
  }
  .ep-search-drop .m-search-section-head h3 {
    margin: 0;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .ep-search-drop .m-search-section-head button {
    border: 0;
    background: none;
    color: var(--teal);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
  }
  .ep-search-drop .m-search-recent {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ep-search-drop .m-search-recent li {
    display: flex;
    align-items: center;
  }
  .ep-search-drop .m-search-recent li > button:first-child {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .ep-search-drop .m-search-recent-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef2f7;
    color: #5c6b78;
  }
  .ep-search-drop .m-search-recent-term {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ep-search-drop .m-search-recent-x {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #8193a5;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
  }
  .ep-search-drop .m-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .ep-search-drop .m-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.8rem 0.28rem 0.28rem;
    border: 1px solid rgba(42, 54, 66, 0.07);
    border-radius: 999px;
    background: #f2f6fb;
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }
  .ep-search-drop .m-search-chip img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
  }
}

@keyframes m-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.site-header .search button {
  width: 38px; height: 38px;
  background: var(--action);
  box-shadow: 0 4px 12px -2px rgba(6, 28, 82, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}
.site-header .search button .icon-img { opacity: 0.85; }
.site-header .search button:hover { background: var(--action-deep); transform: scale(1.06); }
.site-header .search:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 226, 138, 0.55), 0 10px 26px -10px rgba(6, 28, 82, 0.6);
}
.header-actions {
  display: flex; align-items: center; gap: 0.15rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  margin: 0 0.25rem 0 0.1rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 54, 66, 0.12);
  background: var(--surface, #f5fafd);
  flex-shrink: 0;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  min-width: 2.1rem;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}
.icon-link {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 0.15rem; padding: 0.4rem 0.65rem; border-radius: 12px;
  font-size: 0.72rem; font-weight: 600; color: var(--muted); position: relative;
}
.icon-link:hover { background: rgba(187, 212, 252, 0.35); color: var(--text); }
button.icon-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  /* Keep .icon-link size/weight — do not use font:inherit (that reads the parent). */
}
.icon-link .ico { font-size: 1.1rem; }
.icon-link .ico .icon-img { width: 22px; height: 22px; }
.icon-link .header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--teal) 16%, #fff);
  color: var(--teal-deep, #1565c0);
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  border: 1.5px solid rgba(24, 119, 242, 0.28);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.icon-link .header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icon-link--avatar {
  gap: 0.35rem;
}
.badge {
  position: absolute; top: 2px; right: 8px;
  background: var(--teal); color: white;
  font-size: 0.62rem; min-width: 1.05rem; height: 1.05rem;
  border-radius: 50%; display: grid; place-items: center; font-weight: 700;
}

.site-header .icon-link {
  color: var(--hdr-ink-soft);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.site-header .icon-link .icon-img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.site-header .icon-link:hover,
.site-header .notif-bell.is-open {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}
.site-header .icon-link:hover .icon-img { opacity: 1; }
.site-header .badge {
  top: 0;
  right: 6px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--action);
  color: var(--action-text);
  font-weight: 800;
  box-shadow: 0 0 0 2px #1a6ae6;
}
.site-header .icon-link .header-avatar {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.site-header .notif-panel { color: var(--text); }
.site-header .lang-switch {
  background: var(--hdr-glass);
  border-color: var(--hdr-glass-line);
}
.site-header .lang-btn { color: var(--hdr-ink-soft); }
.site-header .lang-btn:hover { color: #fff; }
.site-header .lang-btn.is-active {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: 0 4px 12px rgba(6, 28, 82, 0.3);
}

.notif-cluster {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.notif-cluster .icon-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: inherit;
  color: inherit;
}
.notif-refresh .ico {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
}
.notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, calc(100vw - 1.5rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 40, 70, 0.14);
  z-index: 80;
  overflow: hidden;
}
.notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.notif-panel-head strong { font-size: 0.9rem; }
.notif-panel-head button {
  border: 0;
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.notif-list {
  max-height: 360px;
  overflow: auto;
}
.notif-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface); }
.notif-item.is-unread { background: rgba(24, 119, 242, 0.06); }
.notif-msg { font-size: 0.84rem; line-height: 1.35; }
.notif-when { font-size: 0.72rem; color: var(--muted); }
.notif-empty {
  margin: 0;
  padding: 1.1rem 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Teal category bar — non-home pages (single row) */
.catbar {
  background:
    radial-gradient(90% 220% at 0% 0%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(70% 200% at 100% 100%, rgba(125,211,252,0.22), transparent 55%),
    linear-gradient(90deg, #1553c2 0%, #1a6be3 40%, #2280ee 72%, #2b8fe8 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 24px -18px rgba(12,42,96,0.65);
  position: relative;
  z-index: 40;
}
.catbar-probe {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.catbar-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.35rem 0;
  position: relative;
}
/* Full-bleed / scroll: leave the container max-width and use the whole bar */
.catbar[data-layout="fullbleed"] .catbar-inner,
.catbar[data-layout="scroll"] .catbar-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 1rem;
  box-sizing: border-box;
}
/* --catbar-start is set by Catbar.tsx: just far enough outside the container to fit the links */
.catbar[data-layout="fullbleed"] .catbar-inner {
  padding-left: var(--catbar-start, 1rem);
}
.catbar-nav-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.catbar-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.05rem;
  min-width: 0;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.catbar[data-layout="scroll"] .catbar-nav {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.catbar[data-layout="fullbleed"] .catbar-nav,
.catbar[data-layout="compact"] .catbar-nav,
.catbar[data-layout="comfort"] .catbar-nav {
  overflow-x: hidden;
}
.catbar-nav::-webkit-scrollbar { display: none; }
.catbar-nav > a,
.catbar-nav .catbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255,255,255,0.94);
  font-size: 1.02rem;
  font-weight: 650;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.catbar-nav > a:hover,
.catbar-nav > a.active,
.catbar-nav .catbar-link:hover,
.catbar-nav .catbar-link.active,
.catbar-item.is-open > .catbar-link {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.catbar-nav a.deals { font-weight: 800; }
.catbar-nav .chev {
  font-size: 0.72rem;
  opacity: 0.85;
  line-height: 1;
  transition: transform 0.25s ease;
}
.catbar-item.is-open > .catbar-link .chev {
  transform: rotate(180deg);
}
.catbar-item {
  position: relative;
  flex-shrink: 0;
}
/* Pet categories: a soft capsule; each type gets a colour dot (types.color, gold fallback) */
.catbar-types {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  margin: 0 0.4rem;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.catbar-nav .catbar-types .catbar-link {
  gap: 0.45rem;
  padding: 0.38rem 0.78rem 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.95);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.catbar-type-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--type-dot, #ffd166);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.75), 0 0 6px rgba(255,255,255,0.25);
  transition: transform 0.3s ease, box-shadow 0.25s ease;
}
.catbar-nav .catbar-types .catbar-link:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.catbar-nav .catbar-types .catbar-link:hover .catbar-type-dot {
  transform: scale(1.25);
}
.catbar-nav .catbar-types .catbar-link.active,
.catbar-types .catbar-item.is-open > .catbar-link {
  background: #fff;
  color: #0f4fb8;
  box-shadow: 0 4px 12px -6px rgba(8,30,80,0.55);
}
.catbar-nav .catbar-types .catbar-link.active .catbar-type-dot,
.catbar-types .catbar-item.is-open > .catbar-link .catbar-type-dot {
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px rgba(24,119,242,0.16);
}

/* Info links (About, FAQ, Contact): quieter text links after a divider */
.catbar-meta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.1rem;
  margin-left: 0.2rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(255,255,255,0.22);
}
.catbar-meta a {
  position: relative;
  padding: 0.38rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 550;
  white-space: nowrap;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s ease;
}
.catbar-meta a::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.15rem;
  height: 1.5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.catbar-meta a:hover,
.catbar-meta a.active {
  color: #fff;
}
.catbar-meta a:hover::after,
.catbar-meta a.active::after {
  transform: scaleX(1);
}

/* Tight density: Catbar.tsx switches to this before letting the links spill past the container */
.catbar[data-density="tight"] .catbar-nav > a:not(.catbar-campaign) {
  padding: 0.36rem 0.58rem;
  font-size: 0.96rem;
}
.catbar[data-density="tight"] .catbar-types { margin: 0 0.2rem; }
.catbar[data-density="tight"] .catbar-nav .catbar-types .catbar-link {
  gap: 0.34rem;
  padding: 0.34rem 0.58rem 0.34rem 0.52rem;
  font-size: 0.97rem;
}
.catbar[data-density="tight"] .catbar-nav .chev { font-size: 0.66rem; }
.catbar[data-density="tight"] .catbar-campaign-name { max-width: 8.5rem; font-size: 0.9rem; }
/* Combo Offers sits beside the campaign pill: same size as the pills, a touch bolder */
.catbar-nav > a.catbar-combo { font-weight: 750; }
.catbar[data-density="tight"] .catbar-nav > a.catbar-campaign { margin: 0 0.1rem; }
.catbar[data-density="tight"] .catbar-meta {
  margin-left: 0.1rem;
  padding-left: 0.35rem;
}
.catbar[data-density="tight"] .catbar-meta a {
  padding: 0.34rem 0.4rem;
  font-size: 0.82rem;
}
.catbar[data-density="tight"] .catbar-meta a::after {
  left: 0.36rem;
  right: 0.36rem;
}
.catbar-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 650;
  color: rgba(255,255,255,0.95);
}
.catbar-trust[data-visible="false"] {
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  /* Keep measurable width without affecting flex layout */
}
.catbar-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.catbar-trust i {
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.95;
}

/* Mega menu — subcategory / sub-subcategory */
.catbar-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: auto;
  width: min(780px, calc(100vw - 1.5rem));
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: top left;
  filter: blur(2px);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.32s,
    left 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.catbar-panel.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.catbar-panel-inner {
  background: #fff;
  color: var(--ink, #1a2332);
  border-radius: 14px;
  box-shadow:
    0 4px 6px rgba(15, 35, 70, 0.04),
    0 18px 40px rgba(12, 60, 130, 0.16);
  border: 1px solid rgba(12, 99, 212, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 780px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}
.catbar-panel.is-visible .catbar-panel-inner {
  opacity: 1;
  transform: translateY(0);
}
.catbar-panel-cols {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.15fr);
  min-height: 240px;
}
.catbar-panel-aside {
  background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
  border-right: 1px solid rgba(12, 99, 212, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.06s,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}
.catbar-panel.is-visible .catbar-panel-aside {
  opacity: 1;
  transform: translateX(0);
}
.catbar-panel-label {
  margin: 0;
  padding: 0.75rem 0.95rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7a90;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.catbar-panel-type-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(12, 60, 130, 0.08);
  flex-shrink: 0;
}
.catbar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0.55rem;
  max-height: 320px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.catbar-cat-list li.is-active .catbar-cat-link {
  background: #fff;
  color: var(--teal, #0c63d4);
  box-shadow: inset 3px 0 0 var(--teal, #0c63d4);
}
.catbar-cat-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: #243044;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.catbar-cat-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(12, 99, 212, 0.1);
  flex-shrink: 0;
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.catbar-cat-list li.is-active .catbar-cat-img,
.catbar-cat-link:hover .catbar-cat-img {
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(12, 60, 130, 0.12);
}
.catbar-cat-name {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}
.catbar-cat-link:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal, #0c63d4);
}
.catbar-cat-arrow {
  font-size: 1rem;
  opacity: 0.45;
  margin-left: auto;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.catbar-cat-list li.is-active .catbar-cat-arrow {
  opacity: 0.9;
  transform: translateX(3px);
  color: var(--teal, #0c63d4);
}
.catbar-sub-pane {
  padding: 0.9rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 240px;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.catbar-panel.is-visible .catbar-sub-pane {
  opacity: 1;
  transform: translateX(0);
}
.catbar-sub-pane-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 0;
  animation: catbarSubIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes catbarSubIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .catbar-panel,
  .catbar-panel-inner,
  .catbar-panel-aside,
  .catbar-sub-pane,
  .catbar-sub-pane-body,
  .catbar-panel-foot,
  .catbar-cat-img,
  .catbar-cat-arrow,
  .catbar-sub-img,
  .catbar-nav .chev {
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }
}
.catbar-sub-head {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7a90;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.catbar-sub-head-img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(12, 99, 212, 0.1);
  flex-shrink: 0;
}
.catbar-sub-head a {
  color: inherit;
  text-decoration: none;
}
.catbar-sub-head a:hover {
  color: var(--teal, #0c63d4);
}
.catbar-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.25rem 0.4rem;
  flex: 1 1 auto;
  max-height: 260px;
  overflow-y: auto;
  align-content: start;
}
.catbar-sub-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 550;
  color: #2a3548;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.catbar-sub-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f7fd;
  border: 1px solid rgba(12, 99, 212, 0.08);
  flex-shrink: 0;
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.catbar-sub-link:hover {
  background: #eef5ff;
  color: var(--teal, #0c63d4);
}
.catbar-sub-link:hover .catbar-sub-img {
  transform: scale(1.06);
}
.catbar-sub-empty {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: #6b7a90;
  line-height: 1.45;
}
.catbar-shop-all,
.catbar-panel-foot a {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal, #0c63d4);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.catbar-shop-all:hover,
.catbar-panel-foot a:hover {
  opacity: 0.85;
  transform: translateX(2px);
}
.catbar-panel-foot {
  padding: 0.65rem 1.1rem;
  border-top: 1px solid rgba(12, 99, 212, 0.08);
  background: #fafcff;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.catbar-panel.is-visible .catbar-panel-foot {
  opacity: 1;
  transform: translateY(0);
}

/* More mega menu — overflow pet types in columns */
.catbar-panel--more {
  width: min(960px, calc(100vw - 1.5rem));
}
.catbar-panel--more .catbar-panel-inner {
  max-width: 960px;
}
.catbar-more-mega {
  padding: 0.85rem 1.1rem 1rem;
}
.catbar-more-mega-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7a90;
}
.catbar-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.85rem 1.15rem;
}
.catbar-more-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.catbar-more-col-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.4rem;
  margin: 0 -0.4rem;
  border-radius: 10px;
  text-decoration: none;
  color: #1a2332;
  font-weight: 750;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.catbar-more-col-head:hover,
.catbar-more-col-head.is-active {
  background: #f0f6ff;
  color: #0f4fb8;
}
.catbar-more-col-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(12, 60, 130, 0.08);
  flex-shrink: 0;
}
.catbar-more-col-name {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}
.catbar-more-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.catbar-more-col-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.2rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #3a465c;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.catbar-more-col-link img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f8fc;
  flex-shrink: 0;
}
.catbar-more-col-link:hover {
  background: #f5f9ff;
  color: #0c63d4;
}
.catbar-more-col-shop {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0c63d4;
  text-decoration: none;
  padding: 0.2rem 0;
}
.catbar-more-col-shop:hover {
  opacity: 0.85;
}

.menu-toggle {
  display: none; border: 1px solid var(--line); background: white;
  border-radius: 10px; padding: 0.45rem 0.65rem; cursor: pointer;
}
.site-header.is-home .menu-toggle { display: none !important; }
.site-header .menu-toggle {
  background: var(--hdr-glass);
  border-color: var(--hdr-glass-line);
  color: #fff;
}

/* —— header: compact on scroll —— */
.site-header .header-row,
.site-header .logo-full,
.site-header .search input,
.site-header .search button,
.site-header .icon-link,
.site-header .icon-link .ico .icon-img,
.site-header .catbar-inner {
  transition-property: min-height, height, width, padding, font-size, gap, transform, background, color;
  transition-duration: 0.28s;
  transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header {
  transition: box-shadow 0.28s ease;
}
.site-header.is-scrolled {
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 14px 30px -12px rgba(10, 45, 120, 0.7);
}
.site-header.is-scrolled .header-row {
  min-height: 58px;
  padding: 0.2rem 0;
}
.site-header.is-scrolled .logo-full { height: 36px; }
.site-header.is-scrolled .search input { padding-block: 0.45rem; }
.site-header.is-scrolled .search button { width: 32px; height: 32px; }
.site-header.is-scrolled .icon-link {
  gap: 0.05rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.66rem;
}
.site-header.is-scrolled .icon-link .ico .icon-img { width: 19px; height: 19px; }
.site-header.is-scrolled .catbar-inner { padding-block: 0.18rem; }
@media (max-width: 560px) {
  .site-header.is-scrolled .header-row { min-height: 52px; }
  .site-header.is-scrolled .logo-full { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .header-row,
  .site-header .logo-full,
  .site-header .search input,
  .site-header .search button,
  .site-header .icon-link,
  .site-header .icon-link .ico .icon-img,
  .site-header .catbar-inner { transition: none; }
}

/* —— buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  padding: 0.7rem 1.25rem; font-weight: 600; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white; box-shadow: 0 10px 24px rgba(24, 119, 242, 0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.75); border-color: rgba(24, 119, 242, 0.35); color: var(--teal-deep);
}
.btn-fb { background: #1877f2; color: white; }
.btn-wa { background: #25d366; color: white; }
.btn-social {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 0.65rem; width: 100%;
}
.btn-social .btn-ico-end {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  margin-left: auto;
}
.btn-block { width: 100%; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* —— cards —— */
.card {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.section { padding: 2.25rem 0; }

/* Soft handoff into fixed community sky — avoid a pure-white cliff */
.home-shop {
  position: relative;
  z-index: 1;
}
.home-shop .section-hot {
  padding-bottom: 2.5rem;
  position: relative;
}
.home-shop .section-hot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 7rem;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(248, 252, 255, 0.35) 45%,
    rgba(245, 250, 253, 0.55) 100%
  );
}

.ad-banner {
  margin: 0.85rem 0 0.35rem;
}
.ad-full-width {
  margin: 0.75rem 0 1rem;
}

/* Full-bleed promo banners (home_hero, home_mid, faq, about, checkout, pdp_below) */
.ad-bleed {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  background: #e8f1fb;
  box-shadow: 0 12px 28px rgba(42, 54, 66, 0.055);
  overflow: hidden;
}
.ad-bleed-media {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  /* Compact strip — no top/bottom card padding around the image */
  height: clamp(132px, 18vw, 220px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, #ffffff 0%, #e7f0fa 70%);
}
.ad-full-width .ad-bleed-media,
.ad-banner .ad-bleed-media {
  height: clamp(140px, 20vw, 240px);
}
.ad-bleed-media--empty {
  min-height: 120px;
}
.ad-bleed-media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
  filter: none;
}
.ad-bleed-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 2.25rem 1.1rem 0.9rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(16, 36, 64, 0.18) 35%,
    rgba(16, 36, 64, 0.62) 100%
  );
  pointer-events: none;
}
.ad-bleed-overlay .ad-cta {
  pointer-events: auto;
  flex-shrink: 0;
  min-width: 7.5rem;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-deep);
  box-shadow: 0 8px 18px rgba(16, 36, 64, 0.18);
}
.ad-bleed-overlay .ad-cta:hover {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-color: var(--teal-deep);
  color: #fff;
}
.ad-bleed-meta {
  min-width: 0;
  flex: 1;
  pointer-events: none;
}
.ad-bleed-meta .ad-label {
  margin: 0 0 0.28rem;
  color: rgba(255, 255, 255, 0.88);
}
.ad-bleed-meta .ad-label-ico {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.ad-bleed-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Legacy bar (unused by overlay layout, kept for safety) */
.ad-bleed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-top: 1px solid rgba(24, 119, 242, 0.08);
}
.ad-bleed-bar .ad-cta {
  flex-shrink: 0;
  min-width: 7.5rem;
}
@media (max-width: 720px) {
  .ad-bleed {
    border-radius: 14px;
  }
  .ad-bleed-media,
  .ad-full-width .ad-bleed-media,
  .ad-banner .ad-bleed-media {
    height: clamp(120px, 36vw, 180px);
  }
  .ad-bleed-overlay {
    flex-direction: column;
    align-items: stretch;
    padding: 1.75rem 0.85rem 0.85rem;
  }
  .ad-bleed-overlay .ad-cta {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .ad-bleed-media,
  .ad-full-width .ad-bleed-media,
  .ad-banner .ad-bleed-media {
    height: clamp(110px, 42vw, 150px);
  }
}

/* Shared sponsored label + CTA + media blend */
.ad-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6b7c8c;
  margin: 0 0 0.55rem;
  line-height: 1;
}
.ad-label-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.92;
}
.ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 1.15rem;
  border-radius: 11px;
  border: 1px solid rgba(24, 119, 242, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 14px rgba(24, 119, 242, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.ad-cta:hover {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-color: var(--teal-deep);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 119, 242, 0.22);
  transform: translateY(-1px);
}
.ad-cta--inline {
  min-height: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  pointer-events: none;
}
.ad-media {
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.ad-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
  filter: none;
}
.ad-sidebar-card-media img,
.ad-inline-media img,
.ad-vertical-media img,
.pcard--ad .pcard-thumb img {
  object-fit: contain;
  padding: 0.15rem;
  box-sizing: border-box;
  box-shadow: none;
  filter: none;
  background: transparent;
}

.ad-sidebar-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  background: linear-gradient(165deg, #f7fbff 0%, #eef5ff 100%);
  box-shadow: 0 10px 26px rgba(42, 54, 66, 0.045);
  overflow: hidden;
}
.ad-sidebar-card .ad-label,
.ad-sidebar-card-label {
  margin-bottom: 0.65rem;
}
.ad-sidebar-card-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: auto;
  margin-bottom: 0.75rem;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 360px;
}
.ad-sidebar-card-media img {
  background: transparent;
  box-shadow: none;
  filter: none;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
.ad-sidebar-card-title {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad-sidebar-card .ad-cta {
  width: 100%;
  margin-top: auto;
}

.pcard--ad {
  border: 1px solid rgba(24, 119, 242, 0.16);
  background: linear-gradient(165deg, rgba(24, 119, 242, 0.05), #fff 55%);
  box-shadow: 0 10px 24px rgba(42, 54, 66, 0.05);
}
.pcard--ad .pcard-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 1;
}
.pcard--ad .pcard-thumb.ad-media {
  background: transparent;
}
.pcard--ad .pcard-thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.pcard-stock--ad {
  top: 0.7rem;
  left: 0.7rem;
  right: auto;
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 9px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(42, 54, 66, 0.06);
}
.pcard-stock--ad .ad-label {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}
.pcard-stock--ad .ad-label-ico {
  width: 12px;
  height: 12px;
}

.shop-sidebar-ad--top {
  margin: 0 0 1rem;
}
.shop-sidebar-ad--top .ad-sidebar-card {
  margin-top: 0;
}
.shop-sidebar-ad--later {
  margin-top: 2.5rem;
}
.shop-sidebar-ad--later + .shop-sidebar-ad--later {
  margin-top: 2rem;
}
.shop-filters .filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.shop-filters .filter-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.shop-filters .filter-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--teal, #1877f2);
}
.shop-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 54, 66, 0.06);
  border-radius: 16px;
}
.shop-sort .filter-label,
.shop-sort label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0.15rem 0 0;
}
.shop-sort .chip {
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.42rem 0.85rem;
}
.shop-sort select {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  background: #fff;
}
.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}
.shop-active-filters .chip {
  font-size: 0.78rem;
}

/* Legacy alias */
.ad-sidebar {
  margin-top: 1rem;
}

/* Let the community fade own the seam (no second hard white runway) */
main > .container:has(+ .community-section) {
  position: relative;
  z-index: 1;
  padding-bottom: 1.25rem;
  background: transparent;
}
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.section-head h2 { font-size: 1.65rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.65rem; border-radius: var(--radius-pill);
  background: rgba(24, 119, 242, 0.12); color: var(--teal-deep);
  font-size: 0.75rem; font-weight: 600;
}

/* —— hero slider —— */
.hero-slider {
  position: relative;
  margin: 1.1rem 0 0.35rem;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(120deg, #e7f0fe 0%, #d0e2fc 55%, #bdd4fc 100%);
  min-height: clamp(300px, 40vw, 440px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.hero-track { position: relative; min-height: inherit; }
.hero-slide {
  display: none;
  position: relative;
  min-height: inherit;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  overflow: hidden;
}
.hero-slide.is-active { display: flex; animation: heroFade 0.55s ease; }
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
}
.hero-slide-aquarium .hero-media {
  object-position: center center;
}
.hero-slide-aquarium::after {
  background: linear-gradient(
    90deg,
    rgba(245, 250, 253, 0.88) 0%,
    rgba(245, 250, 253, 0.55) 28%,
    rgba(245, 250, 253, 0.12) 48%,
    transparent 62%
  );
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(245,250,253,0.94) 0%, rgba(245,250,253,0.78) 32%, rgba(245,250,253,0.2) 54%, transparent 68%);
  pointer-events: none;
}
@keyframes heroFade {
  from { opacity: 0.35; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.hero-copy {
  max-width: 22rem;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  color: var(--text);
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  line-height: 1.12;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.35rem;
  font-weight: 500;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(42,54,66,0.1);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.hero-nav:hover { background: #fff; color: var(--teal-deep); }
.hero-prev { left: 0.85rem; }
.hero-next { right: 0.85rem; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 1rem;
  display: flex; justify-content: center; gap: 0.4rem; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(42, 54, 66, 0.22);
}
.hero-dot.is-active { background: var(--teal); width: 22px; border-radius: 999px; }

/* legacy hero (inner pages if used) */
.hero {
  position: relative; overflow: hidden;
  border-radius: 28px;
  min-height: clamp(320px, 48vw, 460px);
  display: grid; align-items: center;
  background:
    linear-gradient(100deg, rgba(245,250,253,0.94) 0%, rgba(245,250,253,0.72) 38%, rgba(245,250,253,0.15) 62%, transparent 75%),
    var(--hero-img, linear-gradient(160deg, #d0e2fc, #e7f0fe)) right center / cover no-repeat,
    linear-gradient(160deg, #d0e2fc, #e7f0fe 50%, #f5f9ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  margin-top: 1.25rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: #1e3a4f; }
.hero p { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.25rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  font-size: 0.82rem; color: var(--muted); font-weight: 500;
}
.hero-art, .hero-bubble { display: none; }

/* category strip */
.section-cats { padding: 1.25rem 0 0.75rem; }
.cat-featured-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.75rem;
}

/* featured categories — single-row slider */
.cat-slider {
  position: relative;
  padding: 0 2.2rem;
}
.cat-slider-viewport {
  overflow: hidden;
}
.cat-strip-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-slider .cat-chip {
  flex: 0 0 calc((100% - 2.7rem) / 7);
  min-width: 0;
  box-sizing: border-box;
}
.cat-slider--circles .cat-strip-track {
  gap: 0.55rem;
}
.cat-slider--circles .cat-chip {
  flex: 0 0 calc((100% - 3.3rem) / 7);
  padding-left: 0;
  padding-right: 0;
}
.cat-slider-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(24, 119, 242, 0.22);
  background: #fff;
  color: var(--teal-deep);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.16);
  display: grid;
  place-items: center;
  padding: 0 0 0.15rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.cat-slider-nav:hover:not([aria-disabled="true"]) {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
  transform: translateY(-50%) scale(1.06);
}
.cat-slider-nav:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.cat-slider-nav[aria-disabled="true"] {
  color: #9fb3c8;
  border-color: rgba(42, 54, 66, 0.1);
  box-shadow: 0 2px 6px rgba(42, 54, 66, 0.06);
  cursor: default;
}
.cat-slider-prev { left: 0; }
.cat-slider-next { right: 0; }

@media (max-width: 980px) {
  .cat-slider .cat-chip { flex-basis: calc((100% - 2rem) / 5); }
  .cat-slider--circles .cat-chip { flex-basis: calc((100% - 2.2rem) / 5); }
  .cat-ico--circle { width: 112px; height: 112px; }
  .cat-slider--circles .cat-ico--circle { width: min(118px, 90%); }
}
@media (max-width: 640px) {
  .cat-slider .cat-chip { flex-basis: calc((100% - 1.1rem) / 4); }
  .cat-slider--circles .cat-chip { flex-basis: calc((100% - 1.1rem) / 4); }
  .cat-ico--circle { width: 100px; height: 100px; }
  .cat-slider--circles .cat-ico--circle { width: min(104px, 88%); }
}
@media (max-width: 480px) {
  .cat-slider { padding: 0 1.4rem; }
  .cat-slider .cat-chip { flex-basis: calc((100% - 0.8rem) / 3); min-width: 0; }
  .cat-slider--circles .cat-chip { flex-basis: calc((100% - 0.8rem) / 3); }
  .cat-ico--circle { width: 96px; height: 96px; }
  .cat-slider--circles .cat-ico--circle { width: min(100px, 90%); }
}

/* Circular Petco-style featured chips */
.cat-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 0.65rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0.25rem 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  transition: transform 0.15s ease;
}
.cat-chip--circle {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.cat-ico {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 16px; overflow: hidden; background: rgba(24, 119, 242, 0.08);
}
.cat-ico--circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #eef1f4;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(42, 54, 66, 0.08);
}
.cat-slider--circles .cat-ico--circle {
  width: min(148px, 92%);
  height: auto;
  aspect-ratio: 1;
}
.cat-ico img {
  width: 100%; height: 100%; display: block; object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}
.cat-ico--circle img,
.cat-ico.is-photo img {
  object-fit: cover;
  padding: 0;
}
.cat-chip-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  padding: 0 0.15rem;
}
.cat-chip:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}
.cat-chip--circle:hover .cat-ico--circle {
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.18);
}
.cat-chip-ad em {
  position: absolute; top: 4px; right: 8px;
  font-style: normal; font-size: 0.62rem; font-weight: 800;
  background: #ef4444; color: #fff;
  padding: 0.12rem 0.4rem; border-radius: 999px;
}

/* —— tiles —— */
.tile-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.tile {
  text-align: center; padding: 1rem 0.5rem;
  border-radius: var(--radius); transition: transform 0.15s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile .emoji {
  width: 48px; height: 48px; margin: 0 auto 0.5rem;
  border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--sky-soft), white);
  font-size: 1.35rem;
}
.tile strong { display: block; font-size: 0.88rem; }
.tile span { font-size: 0.72rem; color: var(--muted); }

/* —— products —— */
.hot-head { align-items: center; margin-bottom: 1rem; }
.hot-head h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Bestselling categories — large clear photo tiles, caption below (no fog) */
.section-bs-cats {
  position: relative;
  padding: 0.75rem 0 2.15rem;
}
.bs-cats {
  position: relative;
}
.bs-cats-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.15rem;
}
.bs-cats-copy {
  min-width: 0;
}
.bs-cats-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.bs-cats-sub {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.bs-cats-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: color-mix(in srgb, var(--sky-soft) 70%, #fff);
  border: 1px solid color-mix(in srgb, var(--teal) 16%, transparent);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bs-cats-all:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  transform: translateY(-1px);
  text-decoration: none;
}
.bs-cat-slider {
  position: relative;
  padding: 0 2.2rem;
}
.bs-cat-viewport {
  overflow: hidden;
  border-radius: 8px;
}
.bs-cat-track {
  display: flex;
  gap: 1.05rem;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.bs-cat-card {
  position: relative;
  flex: 0 0 calc((100% - 3.15rem) / 4);
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.5rem 0.6rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--teal) 11%, transparent);
  box-shadow: 0 8px 22px rgba(42, 54, 66, 0.05);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.bs-cat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--teal) 24%, transparent);
  box-shadow: 0 18px 36px -14px rgba(12, 99, 212, 0.22);
}
.bs-cat-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.bs-cat-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #eaf3ff, #d9e8f8);
}
.bs-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.bs-cat-card.is-icon .bs-cat-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 35%, color-mix(in srgb, var(--sky) 45%, #fff), transparent 55%),
    linear-gradient(160deg, #eaf3ff, #d7e8fb);
}
.bs-cat-card.is-icon .bs-cat-media img {
  width: 46%;
  height: 46%;
  object-fit: contain;
}
.bs-cat-card:hover .bs-cat-media img {
  transform: scale(1.045);
}
.bs-cat-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.55rem 0.1rem 0.05rem;
  min-height: 2.3em;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: color-mix(in srgb, var(--text) 90%, var(--teal-deep));
  text-align: center;
}
.bs-cat-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(42, 54, 66, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(42, 54, 66, 0.1);
  display: grid;
  place-items: center;
}
.bs-cat-nav:hover {
  color: var(--teal-deep);
  background: #fff;
}
.bs-cat-nav[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
}
.bs-cat-prev { left: 0; }
.bs-cat-next { right: 0; }
@media (prefers-reduced-motion: reduce) {
  .bs-cat-card,
  .bs-cat-media img,
  .bs-cats-all,
  .bs-cat-track {
    transition: none;
  }
  .bs-cat-card:hover,
  .bs-cat-card:hover .bs-cat-media img {
    transform: none;
  }
}
@media (max-width: 980px) {
  .bs-cats-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .bs-cats-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .bs-cat-slider {
    padding: 0 1.7rem;
  }
  .bs-cat-track {
    gap: 0.7rem;
  }
  .bs-cat-card {
    flex-basis: calc((100% - 1.4rem) / 3);
    border-radius: 16px;
    padding: 0.35rem 0.35rem 0.45rem;
  }
  .bs-cat-media { border-radius: 12px; }
  .bs-cat-label {
    font-size: 0.78rem;
    margin-top: 0.4rem;
    min-height: 2.1em;
  }
  .bs-cat-nav {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }
}
@media (max-width: 640px) {
  .bs-cats-sub { font-size: 0.86rem; }
  .bs-cat-slider {
    padding: 0 1.45rem;
  }
}

.view-all {
  font-weight: 700; color: var(--teal-deep); font-size: 0.92rem;
}
.view-all:hover { text-decoration: underline; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.product-grid-hot {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Hot sales slick auto-slider */
.hot-slider {
  position: relative;
  padding: 0 2.4rem;
}
.hot-viewport {
  overflow: hidden;
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}
.hot-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.hot-track .pcard {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 0;
}
@media (min-width: 1280px) {
  .hot-track .pcard {
    flex: 0 0 calc((100% - 4rem) / 5);
  }
}
.hot-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(42,54,66,0.1);
  background: rgba(255,255,255,0.95);
  color: var(--text);
  font-size: 1.45rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(42,54,66,0.1);
  display: grid; place-items: center;
}
.hot-nav:hover { color: var(--teal-deep); background: #fff; }
.hot-prev { left: 0; }
.hot-next { right: 0; }
.hot-track .pcard.is-focus {
  animation: hotPulse 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes hotPulse {
  0% { transform: translateY(6px) scale(0.97); opacity: 0.72; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* —— Unified product card (system-wide) —— */
.pcard {
  background: #fff;
  border: 1.5px solid rgba(42, 54, 66, 0.1);
  border-radius: 20px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  min-width: 0;
}
.pcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.pcard-main {
  display: block;
  color: inherit;
  flex: 1;
  min-width: 0;
  position: relative;
}
.pcard-off {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 0.22rem 0.5rem; border-radius: 8px;
}
.pcard-stock {
  position: absolute; top: 0; right: 0; z-index: 2;
  background: rgba(24, 119, 242, 0.16); color: var(--teal-deep);
  font-size: 0.68rem; font-weight: 800;
  padding: 0.22rem 0.5rem; border-radius: 8px;
  max-width: 48%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Base card chrome — Soft Stage in product-card.css refines these (loads last). */
.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  padding: 0;
  min-height: 0;
}
.pcard-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--surface);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 0;
  position: relative;
}
.pcard-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pcard-house {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(24, 119, 242, 0.18);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.22), 0 1px 3px rgba(42, 54, 66, 0.12);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.pcard-house img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}
.pcard-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  align-self: stretch;
  justify-content: center;
}
.pcard-info h3 {
  font-family: var(--font);
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}
.pcard-variant-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.42rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent);
  color: color-mix(in srgb, var(--teal) 75%, #0f172a);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.pcard-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}
.pcard-color-pill {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--pcard-swatch, #ccc);
  border: 1px solid color-mix(in srgb, #000 14%, transparent);
  flex-shrink: 0;
}
.pcard-prices {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.pcard-prices s {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.pcard-prices strong {
  color: var(--teal);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price { font-weight: 700; }
.price s { color: var(--muted); font-weight: 500; margin-left: 0.35rem; font-size: 0.85rem; }
.pcard-actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.pcard-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--action) 0%, var(--action-deep) 100%);
  color: var(--action-text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid var(--action-border);
  text-align: center;
  box-shadow: 0 6px 14px rgba(245, 200, 74, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.pcard-buy-ico {
  font-size: 0.95rem;
  line-height: 1;
}
.pcard-buy:hover {
  filter: brightness(0.97);
  cursor: pointer;
}
.pcard-cart {
  width: 46px;
  min-width: 46px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--action) 0%, var(--action-deep) 100%);
  border: 1px solid var(--action-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(245, 200, 74, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.pcard-cart:hover {
  filter: brightness(0.97);
  cursor: pointer;
}
.pcard-cart img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) saturate(100%) invert(18%) sepia(18%) saturate(900%) hue-rotate(12deg) brightness(92%) contrast(92%);
  pointer-events: none;
}

/* legacy aliases → unified card look */
.product-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.product-card-v2 { /* kept for any leftover markup */ }

@media (max-width: 1100px) {
  .hot-track .pcard { flex-basis: calc((100% - 2rem) / 3); }
}
@media (max-width: 720px) {
  /* ~1 full card + ~70% of the next (peek) — leaves room for side arrows */
  .hot-slider { padding: 0 1.35rem; }
  .hot-track { gap: 0.65rem; }
  .hot-track .pcard { flex: 0 0 calc((100% - 0.65rem) / 1.7); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 520px) {
  /* Soft Stage (product-card.css) owns .pcard layout — do not re-grid the body here */
  .pcard-buy { font-size: 0.82rem; min-height: 42px; }
  .pcard-cart { width: 42px; min-width: 42px; height: 42px; }
  .hot-slider { padding: 0 1.2rem; }
  .hot-track { gap: 0.55rem; }
  .hot-track .pcard { flex: 0 0 calc((100% - 0.55rem) / 1.7); }
  .hot-nav {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }
}
@media (max-width: 380px) {
  .pcard-info h3 { -webkit-line-clamp: 2; }
}

/* —— social layout —— */
.social-grid {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 1.1rem;
  align-items: start;
}
.social-side { position: sticky; top: calc(var(--nav-h) + 0.75rem); }
.social-feed {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
#community { scroll-margin-top: calc(var(--nav-h) + 0.75rem); }
.side-card { padding: 1rem; margin-bottom: 0.85rem; }
.side-card h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.55rem; border-radius: 10px; font-size: 0.9rem;
}
.cat-list a:hover { background: rgba(187, 212, 252, 0.35); }
.ad-slot {
  border-radius: 14px; padding: 0.85rem;
  background: linear-gradient(135deg, rgba(187, 212, 252,0.45), rgba(24, 119, 242,0.2));
  font-size: 0.8rem; border: 1px dashed rgba(24, 119, 242,0.4);
}
.ad-slot .label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.35rem; }

.compose {
  padding: 0.85rem 1rem; margin-bottom: 0.65rem;
  display: flex; gap: 0.75rem; align-items: center;
}
.compose-sticky:not(.compose-v2) {
  position: sticky;
  top: calc(var(--nav-h) + 0.5rem);
  z-index: 60;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 54, 66, 0.1);
  border: 1px solid rgba(42, 54, 66, 0.06);
}
.compose-hint {
  font-size: 0.82rem;
  margin: 0 0 0.85rem;
}

/* Floating compose FAB — beside chat when in-feed bar scrolls away */
.compose-dock {
  position: fixed;
  right: calc(1.25rem + 58px + 0.65rem);
  bottom: 1.25rem;
  z-index: 85;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.compose-dock.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.compose-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem 0.72rem 0.95rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, #f0a87a, var(--dogs));
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(196, 123, 90, 0.42);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.compose-fab img {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.compose-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(196, 123, 90, 0.48);
}
.compose-fab:active {
  transform: translateY(0);
}
@media (max-width: 520px) {
  .compose-dock {
    right: calc(1rem + 52px + 0.5rem);
    bottom: 1rem;
  }
  .compose-fab {
    padding: 0.62rem 0.85rem 0.62rem 0.75rem;
    font-size: 0.8rem;
  }
  .chat-fab {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 380px) {
  .compose-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .compose-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .compose-dock {
    right: calc(1rem + 52px + 0.5rem);
  }
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, var(--sky), var(--teal));
  flex-shrink: 0; display: grid; place-items: center; color: white; font-weight: 700;
  overflow: hidden;
}
.avatar.has-photo {
  background: #e7f0fe;
  padding: 0;
}
.avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compose input {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 0.7rem 1rem; background: var(--surface);
}
.post {
  padding: 1.15rem 1.2rem 1rem;
  margin-bottom: 1rem;
}
.post.feed-card {
  --post-bg: #fff;
  font-family: var(--feed-font);
  padding: 1.1rem 1.2rem 0.95rem;
  border-radius: 20px;
  background: var(--post-bg);
  border: 1px solid rgba(24, 119, 242, 0.08);
  box-shadow:
    0 1px 2px rgba(15, 40, 72, 0.03),
    0 10px 30px rgba(15, 40, 72, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.post.feed-card:hover {
  border-color: rgba(24, 119, 242, 0.14);
  box-shadow:
    0 2px 4px rgba(15, 40, 72, 0.04),
    0 14px 36px rgba(15, 40, 72, 0.07);
}
.post-open {
  cursor: pointer;
  text-align: left;
}
.post-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.8rem;
}
.post.feed-card .post-head .avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(24, 119, 242, 0.14);
}
.post-head-meta {
  min-width: 0;
  flex: 1;
}
.post-head-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.4rem;
  line-height: 1.35;
}
.post-author {
  font-size: 1rem;
  font-weight: 800;
  color: #1d2b38;
  text-decoration: none;
  letter-spacing: -0.005em;
}
a.post-author:hover {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ep-feeling {
  font-size: 0.92rem;
  font-weight: 500;
  color: #6b7a89;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #7a8898;
}
.post-role {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.01em;
}
.post-meta-sep {
  color: #b3bfca;
}
.post-time {
  color: #7a8898;
  font-weight: 600;
}
.post-body,
.ep-post-body {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: 1.62;
  color: #26323d;
  text-align: left;
  word-break: break-word;
}
.ep-post-body p {
  margin: 0 0 0.5em;
}
.ep-post-body p:last-child {
  margin-bottom: 0;
}

/* Feed text with Facebook-style "See more" */
.post-text {
  --post-lh: 1.62;
  --post-lines: 5;
  position: relative;
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: var(--post-lh);
}
.post-text .ep-post-body {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
.post-text.is-collapsible .post-text-clip {
  max-height: calc(var(--post-lh) * 1em * var(--post-lines));
  overflow: hidden;
}
.post-text--lg {
  --post-lh: 1.45;
  font-size: 1.3rem;
}
.post-text--lg .ep-post-body {
  font-weight: 600;
  color: #1f2d3a;
  letter-spacing: -0.005em;
}
.post-see-more {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: baseline;
  padding: 0 0 0 2.4rem;
  border: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, var(--post-bg, #fff) 2.2rem);
  font: inherit;
  line-height: inherit;
  font-weight: 800;
  color: #4f6070;
  cursor: pointer;
}
.post-see-more-dots {
  margin-right: 0.3rem;
  font-weight: 400;
  color: #26323d;
}
.post-see-more:hover {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-see-more:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}
.ep-post-body .ep-hashtag,
.ep-hashtag {
  color: var(--teal-deep);
  font-weight: 650;
}
.post-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: auto;
  max-height: 420px;
  background: linear-gradient(145deg, #e8f1fc, #f4f8fd);
  margin: 0 0 0.95rem;
  display: grid;
  place-items: center;
}
.post.feed-card .post-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.post-products {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.35rem;
  min-width: 0;
  width: 100%;
}
.product-attach {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: 14px;
  background: linear-gradient(160deg, #f7fbff 0%, #eef5ff 100%);
  border: 1px solid rgba(24, 119, 242, 0.16);
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.product-attach-row {
  display: flex;
  gap: 1.05rem;
  align-items: center;
  min-width: 0;
  width: 100%;
}
.product-attach-main {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.1rem;
  transition: background 0.15s ease;
}
.product-attach-main:hover {
  background: rgba(255, 255, 255, 0.65);
}
.product-attach-copy {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.product-attach-copy strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-width: 100%;
  font-size: 0.95rem;
  font-weight: 750;
  color: #163a66;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}
.product-attach .feed-product-actions {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: 0.35rem;
  gap: 0.55rem;
}
.product-attach .feed-product-actions .pcard-buy {
  flex: 0 0 auto !important;
  white-space: nowrap;
}
.product-attach-copy .feed-product-price,
.product-attach-copy .muted {
  display: block;
  margin-top: 0.18rem;
  font-weight: 800;
  color: var(--teal-deep);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.product-attach .mini {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.1);
  box-shadow: 0 4px 12px rgba(15, 40, 72, 0.06);
}
.product-attach .js-open-buy {
  flex-shrink: 0;
}
.post-actions {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
  padding: 0.45rem 0 0.1rem;
  border-top: 1px solid rgba(42, 54, 66, 0.06);
  font-size: 0.88rem;
  color: #4a5a6a;
  align-items: center;
  position: relative;
  z-index: 2;
}
.post-actions > button,
.post-actions .ep-react-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #46576a;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.post-actions > button:hover,
.post-actions .ep-react-trigger:hover {
  background: rgba(24, 119, 242, 0.08);
  color: var(--teal-deep);
}
.post-actions .ep-react-trigger.is-reacted {
  color: var(--teal-deep);
  background: rgba(24, 119, 242, 0.08);
}
.post-actions .post-act-count,
.ep-actions .post-act-count {
  font-variant-numeric: tabular-nums;
  color: #8391a0;
  font-weight: 700;
}
.post-actions .rx-summary {
  margin-left: auto;
}
.feed-react-wrap {
  position: relative;
  display: inline-flex;
  justify-content: flex-start;
}
.feed-react-wrap .ep-react-tray {
  z-index: 6;
}
.comment-box {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.15rem;
}
.comment-box input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.9rem;
  background: white;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, border-width 0.15s ease;
  outline: none;
}
.comment-box input:focus {
  border-color: var(--teal);
  border-width: 2.5px;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.22);
}

.feed-card .cc-input-col {
  background: #f3f6f9;
}
.feed-card .cc-composer.is-focused .cc-input-col,
.feed-card .cc-composer.is-expanded.is-focused .cc-input-col {
  background: #fff;
}
.feed-card .cc-composer textarea,
.feed-card .cc-composer input {
  font-size: 0.92rem;
  color: #243442;
}
.cc-shell {
  display: block;
  width: 100%;
}
.cc-input-col {
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--surface-2, #f0f2f5);
  border: 1.5px solid transparent;
  border-radius: 18px;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cc-composer.is-focused .cc-input-col,
.cc-composer.is-expanded.is-focused .cc-input-col {
  background: #fff;
  border-color: var(--teal, #1877f2);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.16);
}
.cc-as {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.cc-main-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cc-textarea {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  resize: none;
  overflow: hidden;
  background: transparent;
  font: inherit;
  line-height: 1.35;
  min-height: 1.35em;
  max-height: 160px;
  padding: 0.35rem 0;
  color: var(--text);
}
.cc-tools {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  margin-top: 0.3rem;
  padding-top: 0.15rem;
  padding-right: 0.2rem;
}
.cc-tool {
  border: 0;
  background: transparent;
  color: #65676b;
  cursor: pointer;
  border-radius: 999px;
  min-width: 40px;
  height: 36px;
  padding: 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cc-tool[aria-label="GIF"] {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  min-width: 44px;
}
.cc-tool:hover,
.cc-tool.is-active {
  background: rgba(24, 119, 242, 0.1);
  color: var(--teal, #1877f2);
}
.cc-submit {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #d8dde6;
  color: #6b7280;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.cc-submit svg {
  display: block;
}
.cc-submit.is-idle {
  background: #d8dde6;
  color: #6b7280;
}
.cc-submit.is-ready {
  background: var(--teal, #1877f2);
  color: #fff;
}
.cc-submit:disabled:not(.is-idle) {
  opacity: 0.65;
  cursor: not-allowed;
}
.cc-submit.is-idle:not(:disabled) {
  cursor: pointer;
}
.cc-picker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 8;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 40, 70, 0.14);
  overflow: hidden;
}
.cc-picker-tabs {
  display: flex;
  gap: 0.15rem;
  padding: 0.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2, #f0f2f5);
}
.cc-picker-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 0.4rem 0.35rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.cc-picker-tabs button.is-active {
  background: #fff;
  color: var(--teal, #1877f2);
}
.cc-picker-grid {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem;
  max-height: 220px;
  overflow: auto;
}
.cc-picker-emoji {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.cc-picker-sticker,
.cc-picker-gif,
.cc-picker-photo {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cc-emoji {
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem;
  cursor: pointer;
}
.cc-emoji:hover { background: var(--surface-2, #f0f2f5); }
.cc-media-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cc-media-item img {
  width: 100%;
  height: 88px;
  object-fit: contain;
}
.cc-picker-sticker .cc-media-item img,
.cc-picker-gif .cc-media-item img {
  height: 100px;
}
.cc-media-item:hover {
  border-color: var(--teal, #1877f2);
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.12);
}
.ep-comment-rich {
  display: inline;
}
.ep-comment-media {
  display: block;
  margin: 0.45rem 0 0.15rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 40, 70, 0.04);
}
.ep-comment-media-sticker {
  width: min(168px, 72vw);
  height: min(168px, 72vw);
  object-fit: contain;
}
.ep-comment-media-gif {
  width: min(240px, 85vw);
  height: min(180px, 64vw);
  object-fit: contain;
}
.ep-comment-media-photo {
  width: min(260px, 88vw);
  height: min(200px, 68vw);
  object-fit: cover;
  border-radius: 14px;
}
.ep-comment .bubble .ep-comment-rich {
  display: block;
}
.ep-comment .bubble .name + .ep-comment-rich {
  margin-top: 0.2rem;
}

.comment-sent {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.pending {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: #f5e6c8; color: #8a6a2a; font-size: 0.72rem;
  font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 8px;
}
.activity-item {
  display: flex; gap: 0.55rem; padding: 0.55rem 0;
  border-bottom: 1px solid var(--line); font-size: 0.82rem;
}
.activity-item:last-child { border-bottom: 0; }
.faq-mini details {
  border-bottom: 1px solid var(--line); padding: 0.45rem 0; font-size: 0.85rem;
}
.faq-mini summary { cursor: pointer; font-weight: 600; }

/* —— FAQ page —— */
.faq-shell {
  position: relative;
  padding: 0 0 3.5rem;
  overflow: clip;
  background: linear-gradient(180deg, #e8f2ff 0%, var(--surface) 28%, #f5fafd 100%);
}
.faq-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/images/ui/community-bg-pattern.svg") center top / 420px repeat;
  opacity: 0.14;
}
.faq-shell-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
}
.faq-page {
  display: grid;
  gap: 0;
}

/* Full-bleed hero — compact aquarium band */
.faq-hero {
  position: relative;
  min-height: clamp(220px, 32vh, 300px);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-bottom: 1.35rem;
}
.faq-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.faq-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.faq-hero-float {
  position: absolute;
  width: clamp(72px, 12vw, 120px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(42, 54, 66, 0.18));
  animation: faqFloat 5.5s ease-in-out infinite;
}
.faq-hero-float--a {
  right: 8%;
  bottom: 18%;
  animation-delay: 0.4s;
}
.faq-hero-float--b {
  right: 18%;
  top: 16%;
  width: clamp(48px, 8vw, 76px);
  animation-delay: 1.1s;
}
.faq-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(8, 36, 72, 0.78) 0%, rgba(12, 70, 130, 0.42) 48%, rgba(24, 119, 242, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 36, 72, 0.28), transparent 55%);
}
.faq-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.65rem 0 1.35rem;
  color: #fff;
  animation: faqRise 0.7s ease both;
}
.faq-brand {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.faq-hero-inner h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}
.faq-hero-lead {
  margin: 0.45rem 0 0.85rem;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}
.faq-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 32rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(15, 40, 72, 0.2);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.faq-search:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.25), 0 18px 44px rgba(15, 40, 72, 0.25);
}
.faq-search-ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: 0.7;
}
.faq-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
}
.faq-search input::placeholder { color: #8a97a5; }

/* Topic mosaic */
.faq-topics-section,
.faq-board,
.faq-help {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 1.75rem;
}
.faq-section-head {
  margin-bottom: 0.95rem;
}
.faq-section-head h2,
.faq-board-meta h2,
.faq-help-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.faq-section-head p,
.faq-help-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}
.faq-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.faq-topic-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(24, 119, 242, 0.12);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 8px 22px rgba(42, 54, 66, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.faq-topic-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 119, 242, 0.3);
  box-shadow: 0 14px 28px rgba(24, 119, 242, 0.1);
}
.faq-topic-tile.is-active {
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.28);
}
.faq-topic-ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(24, 119, 242, 0.1);
}
.faq-topic-tile.is-active .faq-topic-ico {
  background: rgba(255, 255, 255, 0.18);
}
.faq-topic-ico img {
  width: 1.25rem;
  height: 1.25rem;
}
.faq-topic-tile.is-active .faq-topic-ico img {
  filter: brightness(0) invert(1);
}
.faq-topic-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.faq-topic-copy strong {
  font-size: 0.92rem;
  font-weight: 750;
}
.faq-topic-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.faq-topic-tile.is-active .faq-topic-copy small {
  color: rgba(255, 255, 255, 0.82);
}
.faq-topic-count {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--teal-deep);
  background: rgba(24, 119, 242, 0.1);
  border-radius: 999px;
  min-width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  padding: 0 0.4rem;
}
.faq-topic-tile.is-active .faq-topic-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Accordion board */
.faq-board {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 1.15rem;
  align-items: start;
}
.faq-board-side {
  position: sticky;
  top: calc(var(--nav-h) + 0.85rem);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(165deg, #163a66 0%, #0c63d4 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(12, 99, 212, 0.22);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.faq-board-side-art {
  flex: 1 1 auto;
  min-height: 220px;
  padding: 0;
  margin: 0;
  background: transparent;
  overflow: hidden;
}
.faq-board-side-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 0;
  box-shadow: none;
}
.faq-board-side-copy {
  padding: 1.1rem 1.15rem 1.25rem;
}
.faq-board-side-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.faq-board-side-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
  font-size: 0.92rem;
}
.faq-board-main {
  border-radius: 22px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 119, 242, 0.1);
  box-shadow: 0 16px 40px rgba(42, 54, 66, 0.06);
  backdrop-filter: blur(8px);
}
.faq-board-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0 0.15rem;
}
.faq-board-meta span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}
.faq-list {
  display: grid;
  gap: 0.65rem;
}
.faq-card {
  border: 1px solid rgba(42, 54, 66, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(42, 54, 66, 0.03);
  overflow: hidden;
  animation: faqRise 0.45s ease both;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.faq-card.is-alt {
  background: whitesmoke;
}
.faq-card:hover {
  border-color: rgba(24, 119, 242, 0.22);
}
.faq-card.is-open {
  border-color: rgba(24, 119, 242, 0.35);
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.1);
}
.faq-card.is-alt.is-open {
  background: #f3f6f9;
}
@keyframes faqRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes faqHeroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
@keyframes faqFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.faq-card-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "topic chev"
    "title chev";
  gap: 0.2rem 0.85rem;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1rem 1.05rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.faq-card-topic {
  grid-area: topic;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}
.faq-card-title {
  grid-area: title;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.faq-card-chevron {
  grid-area: chev;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.08);
  position: relative;
  transition: transform 0.2s ease, background 0.15s ease;
}
.faq-card-chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  transform: translateY(-15%) rotate(45deg);
}
.faq-card.is-open .faq-card-chevron {
  transform: rotate(180deg);
  background: rgba(24, 119, 242, 0.16);
}
.faq-card-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}
.faq-card.is-open .faq-card-a {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-card-a-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-card-a p {
  margin: 0;
  padding: 0 1.05rem 1.1rem 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
  border-top: 1px solid rgba(42, 54, 66, 0.07);
  padding-top: 0.85rem;
  position: relative;
}
.faq-card-a p::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: -1px;
  width: 2.25rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.45);
}
.faq-empty {
  text-align: center;
  padding: 2.25rem 1.25rem;
  border-radius: 18px;
  border: 1px dashed rgba(24, 119, 242, 0.28);
  background: rgba(255, 255, 255, 0.75);
}
.faq-empty img {
  width: 72px;
  height: auto;
  margin: 0 auto 0.75rem;
}
.faq-empty strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.faq-empty p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.faq-empty-reset {
  border: 0;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* Help band */
.faq-help {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1.15rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(255, 226, 138, 0.35), transparent 45%),
    linear-gradient(125deg, #12385f 0%, #0c63d4 55%, #1877f2 100%);
  color: #fff;
  box-shadow: 0 20px 44px rgba(12, 99, 212, 0.22);
}
.faq-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 226, 138, 0.95);
}
.faq-help-copy h2 {
  color: #fff;
}
.faq-help-copy p {
  color: rgba(255, 255, 255, 0.82);
}
.faq-help-grid {
  display: grid;
  gap: 0.65rem;
}
.faq-help-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.faq-help-tile:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}
.faq-help-tile img {
  width: 1.35rem;
  height: 1.35rem;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.faq-help-tile span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.faq-help-tile strong {
  font-size: 0.95rem;
}
.faq-help-tile small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}
.faq-ad-slot {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 960px) {
  .faq-board,
  .faq-help {
    grid-template-columns: 1fr;
  }
  .faq-board-side {
    position: relative;
    top: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 140px 1fr;
  }
  .faq-board-side-art {
    min-height: 140px;
    padding: 0;
  }
  .faq-board-side-art img {
    width: 100%;
    height: 100%;
    min-height: 140px;
  }
  .faq-hero-float { display: none; }
}
@media (max-width: 640px) {
  .faq-hero {
    min-height: clamp(200px, 36vh, 260px);
  }
  .faq-hero-inner {
    padding: 1.35rem 0 1.15rem;
  }
  .faq-board-side {
    grid-template-columns: 1fr;
  }
  .faq-board-side-art {
    min-height: 180px;
  }
  .faq-board-main {
    padding: 0.85rem;
  }
  .faq-card-q { padding: 0.9rem; }
  .faq-card-title { font-size: 0.95rem; }
  .faq-topics {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— category page —— */
.cat-hero {
  border-radius: 20px;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--text);
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  border: 1px solid rgba(42, 54, 66, 0.08);
}
.cat-hero h1 {
  color: inherit;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-transform: none;
}
.cat-hero-tagline {
  margin: 0 0 0.55rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.4;
  color: #5a6b63;
}
.cat-hero-sub {
  margin: 0.15rem 0 0;
  max-width: 52ch;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #6b7785;
}
.cat-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; align-items: start;
}
.cat-layout > aside.stack {
  position: sticky;
  top: calc(var(--nav-h) + 2.25rem);
  align-self: start;
  z-index: 2;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.cat-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: 0 0 1.15rem;
}

/* Legacy standalone panel (kept for safety); preferred: .cat-hero-subs inside .cat-hero */
.cat-subnav-panel {
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(42, 54, 66, 0.08);
  box-shadow: 0 8px 24px rgba(42, 54, 66, 0.06);
  box-sizing: border-box;
}

.cat-subnav-panel .cat-supplies-heading {
  margin: 0 0 0.95rem;
}

.cat-subnav-panel .cat-subnav,
.cat-hero-subs .cat-subnav {
  margin: 0;
}

.cat-hero-subs {
  width: 100%;
  margin: 0.1rem 0 0;
  padding: 0.25rem 0 0;
  box-sizing: border-box;
  background: transparent;
}

.cat-hero-subs-label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7785;
}

.cat-hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}

.cat-hero-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7785;
  white-space: nowrap;
}

.cat-subrail {
  position: relative;
  min-width: 0;
}

.cat-subrail-arrow {
  position: absolute;
  top: 38%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 1px solid rgba(42, 54, 66, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 6px 16px rgba(42, 54, 66, 0.12);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cat-subrail-arrow--prev { left: -6px; }
.cat-subrail-arrow--next { right: -6px; }

.cat-subrail-arrow[aria-disabled="true"] {
  opacity: 0;
  pointer-events: none;
}

.cat-subnav--rail {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  gap: 0.55rem 0.85rem;
  padding: 0.1rem 0.15rem 0.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.cat-subnav--rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.cat-subnav--rail .cat-subcard--circle {
  flex: 0 0 auto;
  width: 6.85rem;
  max-width: none;
}

.cat-supplies-heading {
  margin: 0.35rem 0 1.1rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.shop-results {
  min-width: 0;
  padding-top: 0.15rem;
}

.cat-subnav--circles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
  grid-auto-rows: auto;
  /* Cap at ~3 visual rows before scrolling */
  max-height: calc(3 * (7.35rem + 2.6rem) + 2 * 0.85rem);
  overflow-x: hidden;
  overflow-y: auto;
  flex-wrap: unset;
  padding: 0.15rem 0 0.1rem;
  scrollbar-width: thin;
  gap: 0.85rem 0.65rem;
  justify-items: center;
}

.cat-subcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 7.25rem;
  min-width: 7.25rem;
  padding: 0.65rem 0.5rem 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(42, 54, 66, 0.1);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cat-subcard--circle {
  flex: unset;
  width: 100%;
  min-width: 0;
  max-width: 8.5rem;
  padding: 0.15rem 0.25rem 0.2rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  gap: 0.55rem;
}

.cat-subcard:hover {
  border-color: rgba(24, 119, 242, 0.35);
  box-shadow: 0 8px 18px rgba(42, 54, 66, 0.08);
  transform: translateY(-1px);
}

.cat-subcard--circle:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.cat-subcard.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.18);
}

.cat-subcard-media {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: #eef1f4;
  display: grid;
  place-items: center;
}

.cat-subcard--circle .cat-subcard-media {
  width: min(6.85rem, 88%);
  height: auto;
  aspect-ratio: 1;
  border: 2px solid rgba(42, 54, 66, 0.08);
  box-shadow: none;
}

.cat-subcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-subcard-media--icon {
  background: #fff;
  border: 1px solid rgba(42, 54, 66, 0.08);
}

.cat-subcard-media--icon img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.cat-subcard-label {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 6.5rem;
}
.cat-subcard--circle .cat-subcard-label {
  max-width: 100%;
  padding: 0 0.1rem;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .cat-subnav-panel,
  .cat-hero-subs {
    padding: 0.8rem 0.85rem 0.9rem;
  }
  .cat-subnav-panel {
    border-radius: 16px;
  }
  .cat-subnav--circles {
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: 0.65rem 0.4rem;
    max-height: calc(3 * (5.75rem + 2.4rem) + 2 * 0.65rem);
  }
  .cat-subcard--circle .cat-subcard-media {
    width: min(5.5rem, 90%);
  }
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 1.15rem;
  border-bottom: 1.5px solid rgba(42, 54, 66, 0.12);
}

.cat-tab {
  position: relative;
  padding: 0.65rem 0.95rem;
  margin-bottom: -1.5px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cat-tab:hover {
  color: var(--teal-deep);
}

.cat-tab.is-active {
  color: var(--teal-deep);
  border-bottom-color: var(--teal);
}
.chip {
  border: 1px solid var(--line); background: white; border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem; font-size: 0.82rem; cursor: pointer;
  color: inherit; text-decoration: none; display: inline-flex; align-items: center;
}
a.chip:hover { border-color: rgba(24, 119, 242, 0.35); color: var(--teal-deep); }
.chip.active { background: var(--teal); color: white; border-color: var(--teal); }
a.chip.active:hover { color: #fff; border-color: var(--teal); }

.cat-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.15rem;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.15rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}
.cat-crumbs a,
.cat-crumbs [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  max-width: 16rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-crumbs a {
  color: var(--teal-deep);
  font-weight: 650;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 54, 66, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cat-crumbs a:hover {
  text-decoration: none;
  background: #fff;
  border-color: rgba(24, 119, 242, 0.28);
  color: var(--teal);
}
.cat-crumbs .sep {
  opacity: 0.45;
  padding: 0 0.1rem;
  font-size: 0.85em;
}
.cat-crumbs .sep::before {
  content: "\203A";
  font-weight: 700;
}
.cat-crumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 750;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(42, 54, 66, 0.1);
}

.cat-nearby-link::after {
  content: " \2192";
  font-weight: 700;
}

.cat-main-col { min-width: 0; }
.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
  line-height: 1;
}
.cat-page-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cat-page-btn:hover:not([aria-disabled="true"]):not(.is-active) {
  border-color: rgba(24, 119, 242, 0.4);
  background: #fff;
}
.cat-page-btn.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.cat-page-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.cat-page-btn.cat-page-ellipsis {
  width: auto;
  min-width: 1.5rem;
  border: 0;
  background: transparent;
  cursor: default;
  opacity: 0.65;
  pointer-events: none;
}
.cat-page-btn.cat-page-nav {
  font-size: 1.15rem;
  font-weight: 600;
  padding-bottom: 0.08em;
}

/* —— forms / checkout —— */
.panel { padding: 1.5rem; }
.stack { display: grid; gap: 0.85rem; }
.label { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.25rem; display: block; }
.field {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.7rem 0.9rem; background: white;
}
.field:focus { outline: 2px solid rgba(24, 119, 242, 0.35); border-color: var(--teal); }
.checkout-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 1.25rem; align-items: start;
}
.steps {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.step {
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  background: white; border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--muted);
}
.step.active { background: rgba(24, 119, 242,0.15); color: var(--teal-deep); border-color: transparent; }
.step.done { color: var(--teal); }
.zone-toggle { display: flex; gap: 0.5rem; }
.zone-toggle label {
  flex: 1; text-align: center; padding: 0.85rem; border-radius: 14px;
  border: 1px solid var(--line); background: white; cursor: pointer; font-weight: 600;
  display: grid; place-items: center;
}
.zone-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.zone-toggle label:has(input:checked) {
  border-color: var(--teal); background: rgba(24, 119, 242,0.1); color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(24, 119, 242,0.18);
}
.timeline {
  display: flex; flex-direction: column; gap: 0;
  padding-left: 0.5rem;
}
.tl-item {
  display: grid; grid-template-columns: 20px 1fr; gap: 0.75rem;
  padding-bottom: 1.1rem; position: relative;
}
.tl-item::before {
  content: ""; position: absolute; left: 9px; top: 18px; bottom: 0;
  width: 2px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: white; border: 2px solid var(--line); margin-top: 2px;
}
.tl-item.done .tl-dot { background: var(--teal); border-color: var(--teal); }
.tl-item.current .tl-dot {
  background: white; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 119, 242,0.25);
}

/* —— page shells —— */
.page-hero-sm {
  padding: 2rem 0 0.5rem;
}
.page-hero-sm h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* —— Shop page —— */
.shop-page { padding-top: 1.35rem; }
.shop-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.15rem 0.15rem;
}
.shop-crumb {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.shop-top h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}
.shop-sort select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 2rem 0.55rem 0.95rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231877F2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  appearance: none;
  font: inherit;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  min-width: 11rem;
}
.shop-sort select:focus {
  outline: 2px solid rgba(24, 119, 242, 0.35);
  border-color: var(--teal);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.shop-filters {
  position: sticky;
  top: calc(var(--nav-h, 64px) + 0.75rem);
  max-height: calc(100vh - var(--nav-h, 64px) - 1.25rem);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #fafcfe 100%);
  border: 1px solid rgba(24, 119, 242, 0.1);
  border-radius: 22px;
  box-shadow:
    0 1px 2px rgba(42, 54, 66, 0.04),
    0 14px 32px -18px rgba(24, 119, 242, 0.22);
  overflow: hidden;
}
.shop-filters-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
}
.shop-filters-toggle-chev {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(24, 119, 242, 0.1);
  position: relative;
  transition: transform 0.2s ease;
}
.shop-filters-toggle-chev::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translate(-1px, -1px);
  box-sizing: border-box;
}
.shop-filters.is-open .shop-filters-toggle-chev {
  transform: rotate(180deg);
}
.shop-filters-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  padding-bottom: 1.25rem;
  box-sizing: border-box;
}
.shop-filters-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.05rem 0.35rem;
  scrollbar-width: thin;
}
.shop-filters-scroll > :last-child {
  margin-bottom: 0;
}
.shop-faq {
  margin-top: 2.25rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 119, 242, 0.1);
  box-shadow: 0 14px 36px rgba(42, 54, 66, 0.05);
}
.shop-faq-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.shop-faq-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.shop-faq-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.shop-faq-lead {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
}
.shop-faq-list {
  display: grid;
  gap: 0.55rem;
}
.shop-faq-item {
  border: 1px solid rgba(42, 54, 66, 0.08);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.shop-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.shop-faq-item summary::-webkit-details-marker { display: none; }
.shop-faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.shop-faq-item[open] summary::after {
  transform: rotate(225deg);
}
.shop-faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.shop-filters h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
/* Filter sidebar head + soft section cards */
.filter-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0.15rem 0.1rem 0.95rem;
  border-bottom: 1px solid rgba(24, 119, 242, 0.1);
}
.filter-head-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal-deep, #0c63d4);
  background: color-mix(in srgb, var(--teal, #1877f2) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--teal, #1877f2) 18%, transparent);
}
.filter-head-copy { flex: 1 1 auto; min-width: 0; }
.filter-head-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.filter-hint {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
.filter-head-count {
  flex: 0 0 auto;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--teal, #1877f2);
}
.filter-chips .chip.is-locked {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.filter-chips .chip.is-locked:hover { color: #fff; }

.filter-block {
  --fb-accent: var(--teal, #1877f2);
  --fb-accent-soft: color-mix(in srgb, var(--fb-accent) 14%, #fff);
  --fb-accent-deep: color-mix(in srgb, var(--fb-accent) 72%, #0a1620);
  margin: 0 0 0.65rem;
  padding: 0.75rem 0.8rem 0.8rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--fb-accent) 16%, transparent);
  background: linear-gradient(180deg, #fff 0%, var(--fb-accent-soft) 140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.filter-block .filter-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fb-accent-deep);
}
.filter-label-ico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--fb-accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--fb-accent) 22%, transparent);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--fb-accent) 12%, transparent);
}
.filter-label-text { min-width: 0; }
.filter-block .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.filter-block .filter-chips .chip {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.76rem;
  padding: 0.34rem 0.65rem;
  background: #fff;
  border: 1px solid rgba(42, 54, 66, 0.1);
  color: var(--text);
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.filter-block .filter-chips .chip:hover {
  border-color: color-mix(in srgb, var(--fb-accent) 45%, transparent);
  color: var(--fb-accent-deep);
  background: #fff;
}
.filter-block .filter-chips .chip.active,
.filter-block .filter-chips .chip.active:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--fb-accent), var(--fb-accent-deep));
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--fb-accent) 55%, transparent);
}

.filter-block--price { --fb-accent: var(--teal, #1877f2); }
.filter-block--popular {
  --fb-accent: var(--action-deep, #f5c84a);
  --fb-accent-deep: #8a6a12;
}
.filter-block--popular .filter-chips .chip.active,
.filter-block--popular .filter-chips .chip.active:hover {
  color: var(--action-text, #3a3420);
  background: linear-gradient(135deg, var(--action, #ffe28a), var(--action-deep, #f5c84a));
  border-color: var(--action-border, #e8b83a);
  box-shadow: 0 6px 14px -6px rgba(245, 200, 74, 0.55);
}
.filter-block--type { --fb-accent: var(--teal, #1877f2); }
.filter-block--category { --fb-accent: #3d8f72; }
.filter-block--sub { --fb-accent: var(--aquarium, #1b6b8a); }
.filter-block--brand {
  --fb-accent: #c9a227;
  --fb-accent-deep: #8a6a14;
}
.filter-block--brand .filter-chips .chip.active,
.filter-block--brand .filter-chips .chip.active:hover { color: #fff; }
.filter-block--rating { --fb-accent: #5b9af5; }
.filter-block--avail { --fb-accent: #5c6b78; }

.price-slider {
  display: grid;
  gap: 0.55rem;
  padding: 0.2rem 0.05rem 0.05rem;
}
.price-slider-values {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal-deep, #0c63d4);
}
.price-slider-sep {
  color: color-mix(in srgb, var(--teal, #1877f2) 45%, transparent);
  font-weight: 700;
}
.price-slider-track-wrap {
  position: relative;
  height: 28px;
  display: grid;
  align-items: center;
}
.price-slider-track {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--teal, #1877f2) 22%, transparent);
  pointer-events: none;
}
.price-slider-range {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal, #1877f2), var(--teal-deep, #0c63d4));
}
.price-slider-input {
  position: absolute;
  left: 0; width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 28px;
}
.price-slider-input::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.price-slider-input::-moz-range-track { height: 6px; background: transparent; border: 0; }
.price-slider-input::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 18px; height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, var(--teal, #1877f2), var(--teal-deep, #0c63d4));
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.4);
  cursor: grab;
}
.price-slider-input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, var(--teal, #1877f2), var(--teal-deep, #0c63d4));
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.4);
  cursor: grab;
}
.price-slider-input:active::-webkit-slider-thumb { cursor: grabbing; }
.price-slider-input:active::-moz-range-thumb { cursor: grabbing; }
.price-slider-input--lo { z-index: 3; }
.price-slider-input--hi { z-index: 4; }
.price-slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--teal-deep, #0c63d4) 70%, transparent);
}
.price-slider-empty { margin: 0; font-size: 0.8rem; }

.filter-block--avail .filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.35rem;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.filter-block--avail .filter-check:hover { background: rgba(255, 255, 255, 0.7); }
.filter-block--avail .filter-check input {
  width: 1.05rem; height: 1.05rem;
  accent-color: var(--teal);
}

.filter-chips--scroll,
.filter-chips--brands {
  max-height: none;
  overflow: visible;
}
.shop-filters-reset {
  margin-top: 0.55rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
}

.shop-count {
  margin: 0 0 1.15rem;
  padding: 0.15rem 0.2rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted);
  border-bottom: 1px solid rgba(42, 54, 66, 0.06);
}
.shop-count strong {
  color: var(--text);
  font-weight: 750;
}
.shop-results .product-grid,
.category-page .shop-results .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters {
    position: static;
    max-height: none;
  }
  .shop-filters-toggle { display: flex; }
  .shop-filters-panel {
    display: none;
    border-top: 1px solid rgba(42, 54, 66, 0.08);
  }
  .shop-filters.is-open .shop-filters-panel {
    display: flex;
  }
  .shop-filters-scroll {
    max-height: min(70vh, 28rem);
  }
  .shop-results .product-grid,
  .category-page .shop-results .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .shop-results .product-grid,
  .category-page .shop-results .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.split-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.auth-choice {
  padding: 1.5rem; text-align: center;
}
.auth-choice h3 { margin-bottom: 0.5rem; }
.empty-state {
  text-align: center; padding: 3.5rem 1.5rem;
}
.empty-state .big { font-size: 3.5rem; margin-bottom: 0.75rem; }

/* —— footer —— */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2.5rem 0 1.5rem;
}
main:has(.community-section) + #site-footer .site-footer {
  margin-top: 0;
  border-top: none;
  padding-top: 2rem;
}
.footer-grid { margin-bottom: 1.5rem; } /* columns: src/styles/footer-grid.css */
.footer-grid h4 { font-family: var(--font); font-size: 0.85rem; margin: 0 0 0.75rem; }
.footer-grid a { display: block; color: var(--muted); font-size: 0.88rem; padding: 0.2rem 0; }
.footer-grid a:hover { color: var(--teal-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line);
}

/* —— chat FAB —— */
.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(30, 45, 60, 0.28);
  backdrop-filter: blur(2px);
  display: none;
}
.chat-backdrop.open { display: block; }
.chat-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 110;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  color: white; font-size: 1.4rem; cursor: pointer;
  box-shadow: 0 14px 32px rgba(24, 119, 242, 0.45);
  display: grid; place-items: center;
}
.chat-fab img { width: 1.55rem; height: 1.55rem; display: block; }
.chat-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #e85d4a;
  color: #fff;
  font-size: 0.62rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(232, 93, 74, 0.35);
  line-height: 1;
}
.chat-fab:hover { transform: scale(1.05); }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(30, 45, 60, 0.45);
  backdrop-filter: blur(4px); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: min(100%, 420px); background: white; border-radius: 22px;
  padding: 1.5rem; box-shadow: var(--shadow); position: relative;
  animation: rise 0.25s ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal h3 { margin-bottom: 0.35rem; }
.modal .close {
  position: absolute; top: 0.75rem; right: 0.85rem;
  border: 0; background: var(--surface); width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer;
}
.modal .stack { margin-top: 1rem; }

/* —— utilities —— */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert {
  padding: 0.85rem 1rem; border-radius: 14px;
  background: rgba(187, 212, 252, 0.35); border: 1px solid rgba(24, 119, 242, 0.3);
  font-size: 0.9rem;
}
.alert.warn {
  background: #fff6e8; border-color: #f0d9a8; color: #7a5a20;
}
.table-like { width: 100%; }
.table-like .row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 0.85rem;
  align-items: center; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.qty button { border: 0; background: var(--surface); width: 32px; height: 32px; cursor: pointer; }
.qty span { padding: 0 0.65rem; font-weight: 600; }

@media (max-width: 1100px) {
  .cat-strip:not(.cat-strip-track) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .social-grid, .cat-layout, .checkout-grid, .split-2, .grid-2 {
    grid-template-columns: 1fr;
  }
  .social-side,
  .cat-layout > aside.stack { position: static; }
  .cat-hero {
    margin-inline: 0;
    width: 100%;
    max-width: none;
    margin-top: 0;
    border-radius: 16px;
    padding: 0.65rem 0.7rem 0.7rem;
  }
  .cat-page .cat-hero {
    padding: 0.65rem 0.7rem 0.7rem;
  }
  .hero-art, .hero-bubble { display: none; }
  .header-row { grid-template-columns: auto 1fr auto; }
  .header-actions .icon-link span:not(.ico):not(.badge) { display: none; }
  .lang-btn { font-size: 0.68rem; padding: 0.3rem 0.45rem; min-width: 1.9rem; }
  .hero-slide::after {
    background: linear-gradient(180deg, rgba(245,250,253,0.94) 0%, rgba(245,250,253,0.55) 42%, transparent 72%);
  }
  .hero-media { object-position: center top; }
  .hero-slide { align-items: flex-start; padding-top: 1.75rem; }
  .catbar-nav > a,
  .catbar-nav .catbar-link { font-size: 0.92rem; padding: 0.3rem 0.5rem; }
}
@media (max-width: 720px) {
  .hot-slider { padding: 0 1.8rem; }
  .cat-strip:not(.cat-strip-track) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
  .cat-slider { padding: 0 1.6rem; }
  .cat-slider-nav { width: 32px; height: 32px; font-size: 1.3rem; }
  .cat-slider .cat-chip { flex-basis: calc((100% - 2.25rem) / 4); min-width: 78px; }
  .cat-slider--circles .cat-chip { flex-basis: calc((100% - 1.65rem) / 4); }
  .cat-chip { font-size: 0.72rem; padding: 0.7rem 0.35rem; }
  .cat-ico { width: 52px; height: 52px; }
  .cat-ico img { width: 46px; height: 46px; }
  .menu-toggle { display: inline-flex; }
  .catbar-nav { display: none; }
  .catbar-panel { display: none; }
  .catbar-nav.open {
    display: flex;
    width: 100%;
    flex: 1 1 100%;
    padding: 0.25rem 0 0.35rem;
  }
  .catbar-trust { display: none; }
}
@media (max-width: 640px) {
  .search { display: none; }
  .trust-bar { display: none; }
  .hero-nav { width: 36px; height: 36px; font-size: 1.3rem; }
  /* Mobile chrome owns search via .ep-search + is-searching; keep wrapper out of grid. */
  .site-header:not(.is-searching) .ep-search { display: none; }
}

/* Wider than 720p (~1280+) — bigger canvas, denser product rows, larger category tiles */
@media (min-width: 1280px) {
  :root {
    --max: 1440px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
  .shop-layout {
    grid-template-columns: minmax(240px, 300px) 1fr;
  }
  .shop-results .product-grid,
  .category-page .shop-results .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cat-ico--circle {
    width: 152px;
    height: 152px;
  }
  .cat-slider--circles .cat-ico--circle {
    width: min(160px, 94%);
  }
  .cat-chip-label {
    font-size: 0.95rem;
  }

  .bs-cat-track {
    gap: 1.15rem;
  }
  .bs-cat-label {
    font-size: 1rem;
  }
}



/* Product option picker (variant / color) */
.popt-overlay {
  position: fixed;
  top: var(--nav-h, 80px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, #0f172a 52%, transparent);
  backdrop-filter: blur(3px);
}
.popt-modal {
  width: min(420px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  border: 1px solid color-mix(in srgb, var(--border, #d6dde6) 80%, #94a3b8);
}
.popt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 90%, transparent);
}
.popt-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.popt-head h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.popt-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.popt-body {
  padding: 0.9rem 1.15rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.popt-section h3 {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}
.popt-chips,
.popt-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.popt-chip {
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--text);
}
.popt-chip.is-active {
  border-color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, #fff);
  color: color-mix(in srgb, var(--teal) 80%, #0f172a);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 35%, transparent);
}
.popt-color {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}
.popt-color.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 28%, transparent);
}
.popt-swatch {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #000 14%, transparent);
}
.popt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 90%, transparent);
}
.popt-price {
  font-size: 1.15rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.popt-foot .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-drawer-opts {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.1rem;
}


button.linkish {
  border: 0; background: none; padding: 0; color: var(--teal-deep); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline;
}


button.footer-compose-link {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
button.footer-compose-link:hover { text-decoration: underline; }
