/* ============================================================
   FH Collection V2 — Scandinavian Minimal Redesign
   Reference: Boråstapeter style
   ============================================================ */

/* ── Layout ── */
.fh-v2-collection {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-gutter, 24px);
}

/* ── Banner ── */
.fh-v2-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
}
.fh-v2-banner__text {
  background: var(--fh-bg, #fff);
  padding: 28px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fh-v2-banner__text .prose {
  margin: 0 auto;
  max-width: 560px;
  text-align: center;
}
.fh-v2-banner__text h1 {
  font-weight: 300;
  font-size: 25px;
  line-height: 1.06;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  text-transform: capitalize;
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-banner__text .collection-description {
  margin-top: 0;
  line-height: 1.8;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.92;
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-banner__image {
  position: relative;
  overflow: hidden;
  height: clamp(260px, 46vw, 360px);
}
.fh-v2-banner__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .fh-v2-banner {
    grid-template-columns: 40% 60%;
  }
  .fh-v2-banner__image {
    height: clamp(340px, 26vw, 520px);
  }
}
@media (max-width: 899px) {
  .fh-v2-banner {
    display: flex;
    flex-direction: column;
  }
  .fh-v2-banner__image { order: 1; }
  .fh-v2-banner__text {
    order: 2;
    padding: 22px 24px;
  }
  .fh-v2-banner__text h1 {
    font-size: clamp(20px, 9vw, 25px);
    margin-bottom: 12px;
  }
  .fh-v2-banner__text .collection-description {
    font-size: 13px;
    line-height: 1.65;
  }
}

/* ── Breadcrumbs ── */
.fh-v2-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 12px var(--container-gutter, 24px);
}
.fh-v2-breadcrumb a {
  color: var(--fh-text-muted, #888);
  text-decoration: none;
  transition: color 0.15s;
}
.fh-v2-breadcrumb a:hover {
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-breadcrumb__sep {
  margin: 0 4px;
  color: var(--fh-border, #e5e5e5);
}
.fh-v2-breadcrumb__current {
  color: var(--fh-text-muted, #888);
  font-weight: 500;
}

/* ── Toolbar ── */
.fh-v2-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px var(--container-gutter, 24px);
  margin-bottom: 8px;
  background: var(--fh-bg, #fff);
}
.fh-v2-toolbar__filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--fh-border, #e5e5e5);
  border-radius: var(--fh-radius, 8px);
  cursor: pointer;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fh-text, #1a1a1a);
  transition: border-color var(--fh-transition, 0.2s ease), background var(--fh-transition, 0.2s ease);
}
.fh-v2-toolbar__filters-btn:hover {
  border-color: var(--fh-border-hover, #ccc);
  background: var(--fh-bg-subtle, #f8f8f8);
}
.fh-v2-toolbar__filters-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.fh-v2-toolbar__count {
  font-size: 13px;
  color: var(--fh-text-muted, #888);
  margin-left: auto;
}
.fh-v2-toolbar__sort-wrap {
  position: relative;
}
.fh-v2-toolbar__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--fh-border, #e5e5e5);
  border-radius: var(--fh-radius, 8px);
  cursor: pointer;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fh-text, #1a1a1a);
  transition: border-color var(--fh-transition, 0.2s ease), background var(--fh-transition, 0.2s ease);
  white-space: nowrap;
}
.fh-v2-toolbar__sort-btn:hover {
  border-color: var(--fh-border-hover, #ccc);
  background: var(--fh-bg-subtle, #f8f8f8);
}
.fh-v2-toolbar__sort-btn svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.fh-v2-toolbar__sort-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ── Layout Switch ── */
.fh-v2-toolbar__layout-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.fh-v2-toolbar__layout-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.35;
  transition: opacity 0.2s;
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-toolbar__layout-btn:hover,
.fh-v2-toolbar__layout-btn.is-active {
  opacity: 1;
}
.fh-v2-toolbar__layout-list[data-device="mobile"] {
  display: none;
}
.fh-v2-toolbar__layout-list[data-device="desktop"] {
  display: flex;
}
@media (max-width: 699px) {
  .fh-v2-toolbar__layout-list[data-device="mobile"] { display: flex; }
  .fh-v2-toolbar__layout-list[data-device="desktop"] { display: none; }
}

/* ── Sort Popover (Desktop) ── */
.fh-v2-sort-popover {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--fh-bg, #fff);
  border: 1px solid var(--fh-border, #e5e5e5);
  border-radius: var(--fh-radius, 8px);
  box-shadow: var(--fh-shadow, 0 4px 12px rgba(0,0,0,0.08));
  z-index: 10;
  padding: 6px 0;
  overflow: hidden;
}
.fh-v2-sort-popover.is-open {
  display: block;
}
.fh-v2-sort-option {
  display: block;
  width: 100%;
  padding: 10px 18px;
  border: none;
  background: none;
  text-align: left;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 13px;
  cursor: pointer;
  color: var(--fh-text-muted, #888);
  transition: background 0.15s, color 0.15s;
}
.fh-v2-sort-option:hover {
  background: var(--fh-bg-subtle, #f8f8f8);
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-sort-option.is-selected {
  color: var(--fh-text, #1a1a1a);
  font-weight: 600;
}

/* Sort Drawer (mobile) */
@media (max-width: 999px) {
  .fh-v2-sort-popover {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    border: none;
    border-radius: var(--fh-radius-xl, 16px) var(--fh-radius-xl, 16px) 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1003;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    display: block !important;
    padding-bottom: env(safe-area-inset-bottom, 1rem);
  }
  .fh-v2-sort-popover.is-open {
    transform: translateY(0) !important;
  }
  .fh-v2-sort-header-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid var(--fh-border, #e5e5e5);
    font-family: var(--heading-font-family, 'Open Sans', sans-serif);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    color: var(--fh-text, #1a1a1a);
  }
  .fh-v2-sort-header-mobile .fh-v2-close-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .fh-v2-sort-option {
    padding: 14px 24px;
    font-size: 15px;
  }
}
@media (min-width: 1000px) {
  .fh-v2-sort-header-mobile { display: none; }
}

/* ── Sort Overlay ── */
.fh-v2-sort-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgba(0,0,0,0.4);
}
.fh-v2-sort-overlay.is-open {
  display: block;
}
@media (min-width: 1000px) {
  .fh-v2-sort-overlay { display: none !important; }
}

/* ── Close Button (Shared) ── */
.fh-v2-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--fh-border, #e5e5e5);
  background: var(--fh-bg, #fff);
  cursor: pointer;
  color: var(--fh-text, #1a1a1a);
  transition: border-color var(--fh-transition, 0.2s ease), background var(--fh-transition, 0.2s ease);
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}
.fh-v2-close-btn:hover {
  border-color: var(--fh-border-hover, #ccc);
  background: var(--fh-bg-subtle, #f8f8f8);
}
.fh-v2-close-btn svg {
  width: 14px;
  height: 14px;
}

/* ── Product Grid ── */
.fh-v2-grid {
  display: grid;
  grid-template-columns: repeat(var(--fh-v2-cols, 4), 1fr);
  gap: 24px;
  padding: 0 var(--container-gutter, 24px);
  max-width: 1440px;
  margin: 0 auto;
}
@media (max-width: 999px) {
  .fh-v2-grid { --fh-v2-cols: 3; gap: 16px; }
}
@media (max-width: 699px) {
  .fh-v2-grid { --fh-v2-cols: 2; gap: 10px; }
}

/* ── Product Card ── */
.fh-v2-card {
  position: relative;
  border: 1px solid var(--fh-border, #e5e5e5);
  border-radius: var(--fh-radius, 8px);
  overflow: hidden;
  background: var(--fh-bg, #fff);
  transition: border-color var(--fh-transition, 0.2s ease), box-shadow var(--fh-transition, 0.2s ease);
}
.fh-v2-card:hover {
  border-color: var(--fh-border-hover, #ccc);
  box-shadow: var(--fh-shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
}

/* Card Image */
.fh-v2-card__figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--fh-radius, 8px) var(--fh-radius, 8px) 0 0;
}
.fh-v2-card__media {
  display: block;
  text-decoration: none;
}
.fh-v2-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.fh-v2-card__img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.fh-v2-card:hover .fh-v2-card__img--primary {
  opacity: 0;
}
.fh-v2-card:hover .fh-v2-card__img--secondary {
  opacity: 1;
}

/* Card Badges */
.fh-v2-badge-group {
  position: absolute;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.fh-v2-badge-group--left { left: 8px; align-items: flex-start; }
.fh-v2-badge-group--right { right: 8px; align-items: flex-end; }
.fh-v2-badge {
  padding: 4px 8px;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}
.fh-v2-badge--default {
  background: var(--fh-bg, #fff);
  color: var(--fh-text, #1a1a1a);
  border: 1px solid var(--fh-border, #e5e5e5);
}
.fh-v2-badge--primary {
  background: var(--fh-primary, #62858a);
  color: #fff;
}
.fh-v2-badge--sale {
  background: #8b2d2d;
  color: #fff;
}
@media (max-width: 699px) {
  .fh-v2-badge { padding: 3px 6px; font-size: 9px; }
}

/* Card Sample Hover */
.fh-v2-sample-hover {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  z-index: 3;
  transition: bottom 0.3s ease;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}
.fh-v2-card__figure:hover .fh-v2-sample-hover {
  bottom: 0;
}
.fh-v2-sample-hover.is-expanded {
  bottom: 0;
}
.fh-v2-sample-hover__btn {
  width: 100%;
  padding: 10px;
  background: var(--fh-bg-subtle, #f8f8f8);
  color: var(--fh-text, #1a1a1a);
  border: none;
  cursor: pointer;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.fh-v2-sample-hover__btn:hover {
  background: var(--fh-primary, #62858a);
  color: #fff;
}
.fh-v2-sample-hover__materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--fh-border, #e5e5e5);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.fh-v2-sample-hover.is-expanded .fh-v2-sample-hover__materials {
  max-height: 200px;
}
.fh-v2-sample-hover.is-expanded .fh-v2-sample-hover__btn {
  display: none;
}
.fh-v2-sample-hover__mat {
  padding: 8px 6px;
  background: var(--fh-bg-subtle, #f8f8f8);
  border: none;
  cursor: pointer;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-text, #1a1a1a);
  transition: background 0.15s, color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.fh-v2-sample-hover__mat-name {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.fh-v2-sample-hover__mat-tag {
  font-weight: 300;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
}
.fh-v2-sample-hover__mat:hover {
  background: var(--fh-primary, #62858a);
  color: #fff;
}
.fh-v2-sample-hover__mat.is-adding {
  background: var(--fh-text, #1a1a1a);
  color: #fff;
}
@media (max-width: 699px) {
  .fh-v2-sample-hover { display: none; }
}

/* Card Info */
.fh-v2-card__info {
  padding: 12px 14px 14px;
  text-align: left;
}
.fh-v2-card__title {
  display: block;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--fh-text, #1a1a1a);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.15s;
}
.fh-v2-card__title:hover {
  color: var(--fh-primary, #62858a);
}
.fh-v2-card__designer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--fh-text-muted, #888);
  font-size: 11px;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.fh-v2-card__designer:hover {
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-card__designer:hover strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fh-v2-card__designer-avatar {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  object-fit: cover;
}
.fh-v2-card__meta {
  font-size: 11px;
  color: var(--fh-text-muted, #888);
  margin-bottom: 6px;
}

/* Card Colors */
.fh-v2-card__colors {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.fh-v2-card__swatch {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.fh-v2-card__color-thumb {
  display: inline-block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  padding: 2px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.fh-v2-card__color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.fh-v2-card__color-thumb.is-active {
  border-color: var(--fh-primary, #62858a);
}
.fh-v2-card__color-thumb:hover {
  border-color: var(--fh-primary-hover, #7a9ea3);
}
.fh-v2-card__color-more {
  font-size: 10px;
  color: var(--fh-text-muted, #888);
  margin-left: 2px;
}

/* ── Filter Drawer (LEFT) ── */
.fh-v2-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.fh-v2-drawer-overlay.is-open {
  display: block;
}
.fh-v2-drawer {
  position: fixed;
  top: 12px;
  left: 12px;
  bottom: 12px;
  width: min(340px, calc(85vw - 24px));
  z-index: 1003;
  background: var(--fh-bg, #fff);
  border-radius: 0 var(--fh-radius-xl, 16px) var(--fh-radius-xl, 16px) 0;
  transform: translateX(calc(-100% - 12px));
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--fh-shadow-lg, 0 8px 24px rgba(0,0,0,0.12));
  overflow: hidden;
}
.fh-v2-drawer.is-open {
  transform: translateX(0);
}
.fh-v2-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  flex-shrink: 0;
}
.fh-v2-drawer__header h4 {
  font-family: var(--heading-font-family, 'Open Sans', sans-serif);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 400;
  margin: 0;
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px;
  -webkit-overflow-scrolling: touch;
}
.fh-v2-drawer__body::-webkit-scrollbar {
  width: 4px;
}
.fh-v2-drawer__body::-webkit-scrollbar-thumb {
  background: var(--fh-border, #e5e5e5);
  border-radius: 4px;
}
.fh-v2-drawer__body .accordion__toggle {
  list-style: none;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  column-gap: 0.625rem;
  padding-block: 1.25rem;
  display: flex;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--fh-text, #1a1a1a);
  border-bottom: 1px solid var(--fh-border, #e5e5e5);
}
.fh-v2-drawer__body .accordion__toggle::-webkit-details-marker { display: none; }
.fh-v2-drawer__body .accordion__toggle svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.fh-v2-drawer__body details[open] > .accordion__toggle {
  border-bottom-color: transparent;
}
.fh-v2-drawer__body details[open] > .accordion__toggle svg {
  transform: rotate(180deg);
}
.fh-v2-drawer__body .accordion__content {
  margin-block-start: -0.25rem;
  padding-block-end: 1rem;
}
.fh-v2-drawer__body .accordion-list > accordion-disclosure > details {
  display: block;
}
.fh-v2-drawer__body .accordion-list > accordion-disclosure:last-child > details {
  border-bottom: none;
}
.fh-v2-drawer__body .fh-filter-link {
  color: var(--fh-text-muted, #888);
  font-size: 13px;
  transition: color 0.2s, padding-left 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 3px 0;
}
.fh-v2-drawer__body .fh-filter-link:hover {
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-drawer__body .fh-filter-link.is-active {
  color: var(--fh-text, #1a1a1a);
  font-weight: 500;
}
.fh-v2-drawer__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--fh-border, #e5e5e5);
  flex-shrink: 0;
}
.fh-v2-drawer__footer-btn {
  width: 100%;
  padding: 14px;
  background: var(--fh-primary, #62858a);
  color: #fff;
  border: none;
  border-radius: var(--fh-radius, 8px);
  cursor: pointer;
  font-family: var(--text-font-family, 'Open Sans', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--fh-transition, 0.2s ease);
}
.fh-v2-drawer__footer-btn:hover {
  background: var(--fh-primary-hover, #7a9ea3);
}

/* Drawer filter color dots */
.fh-v2-drawer__body .fh-color-dot {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  flex: 0 0 18px;
  border: 1px solid rgba(0,0,0,0.1);
  display: inline-block;
  vertical-align: middle;
}

/* Color filter grid inside drawer */
.fh-v2-drawer__body .accordion__content:has(.fh-color-dot) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 6px !important;
}
.fh-v2-drawer__body .accordion__content:has(.fh-color-dot) a {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 8px !important;
  font-size: 12px;
  padding: 2px 4px;
  border-radius: 4px;
}
.fh-v2-drawer__body .accordion__content:has(.fh-color-dot) a:hover {
  background: var(--fh-bg-subtle, #f8f8f8);
}

/* ── Desktop Sidebar Filters ── */
.fh-v2-sidebar {
  position: sticky;
  top: calc(var(--sticky-area-height, 80px) + 2rem);
  align-self: start;
  padding-right: 0.5rem;
}
@media (max-width: 999px) {
  .fh-v2-sidebar { display: none; }
}
.fh-v2-sidebar .accordion__toggle {
  list-style: none;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  column-gap: 0.625rem;
  padding-block: 1.25rem;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  color: var(--fh-text, #1a1a1a);
  border-bottom: 1px solid var(--fh-border, #e5e5e5);
}
.fh-v2-sidebar .accordion__toggle::-webkit-details-marker { display: none; }
.fh-v2-sidebar .accordion__toggle svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.fh-v2-sidebar details[open] > .accordion__toggle {
  border-bottom-color: transparent;
}
.fh-v2-sidebar details[open] > .accordion__toggle svg {
  transform: rotate(180deg);
}
.fh-v2-sidebar .accordion__content {
  margin-block-start: -0.25rem;
  padding-block-end: 1rem;
  padding-inline-end: 0.5rem;
}
.fh-v2-sidebar .accordion-list > accordion-disclosure > details { display: block; }
.fh-v2-sidebar .accordion-list > accordion-disclosure:last-child > details { border-bottom: none; }
.fh-v2-sidebar .fh-filter-link {
  color: var(--fh-text-muted, #888);
  font-size: 13px;
  transition: color 0.2s, padding-left 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 3px 0;
}
.fh-v2-sidebar .fh-filter-link:hover {
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-sidebar .fh-filter-link.is-active {
  color: var(--fh-text, #1a1a1a);
  font-weight: 500;
  padding-left: 2px;
}
.fh-v2-sidebar .fh-filter-dot {
  font-size: 8px;
  line-height: 1;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.25s, width 0.25s, margin 0.25s;
  margin-right: -6px;
  color: var(--fh-primary, #62858a);
}
.fh-v2-sidebar .fh-filter-link.is-active .fh-filter-dot {
  opacity: 1;
  width: 10px;
  margin-right: 0;
}
/* Color filter grid in sidebar */
.fh-v2-sidebar .accordion__content:has(.fh-color-dot) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 6px !important;
}
.fh-v2-sidebar .accordion__content:has(.fh-color-dot) a {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px !important;
  font-size: 0.7rem;
  line-height: 1.2;
  padding: 4px 2px;
  border-radius: 4px;
}
.fh-v2-sidebar .accordion__content:has(.fh-color-dot) a:hover {
  background: var(--fh-bg-subtle, #f8f8f8);
}
.fh-v2-sidebar .accordion__content:has(.fh-color-dot) .fh-color-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.fh-v2-sidebar .fh-filter-link--color.is-active {
  font-weight: 600;
  padding-left: 0;
}

/* Color dot presets */
.fh-color-dot {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  flex: 0 0 18px;
  border: 1px solid rgba(0,0,0,0.1);
  display: inline-block;
  vertical-align: middle;
  background: #cfc7bc;
}
.fh-color-dot--black { background: #1c1c1c; }
.fh-color-dot--white { background: #f7f5ef; border-color: rgba(0,0,0,0.18); }
.fh-color-dot--gray, .fh-color-dot--grey { background: #9a9a9a; }
.fh-color-dot--beige { background: #d8c3a5; }
.fh-color-dot--brown { background: #7a5a43; }
.fh-color-dot--orange { background: #d9853b; }
.fh-color-dot--yellow { background: #d4af37; }
.fh-color-dot--green { background: #8fa27a; }
.fh-color-dot--turquoise { background: #58b7b2; }
.fh-color-dot--blue { background: #6f8fa8; }
.fh-color-dot--pink { background: #d8a7ad; }
.fh-color-dot--red { background: #b84b4b; }
.fh-color-dot--purple { background: #7e648a; }
.fh-color-dot--neutral { background: #c5beb5; }
.fh-color-dot--cream { background: #efe6d6; }
.fh-color-dot--navy { background: #334a64; }

/* ── Collection Grid Layout ── */
.fh-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-gutter, 24px);
}
@media (min-width: 1000px) {
  .fh-v2-layout--sidebar {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2.5rem;
  }
}

/* ── Pagination ── */
.fh-v2-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0 var(--container-gutter, 24px);
}
.fh-v2-pagination a,
.fh-v2-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 4px 8px;
  text-decoration: none;
  font-size: 13px;
  color: var(--fh-text-muted, #888);
  border: 1px solid transparent;
  border-radius: var(--fh-radius, 8px);
  transition: all var(--fh-transition, 0.2s ease);
}
.fh-v2-pagination a:hover {
  border-color: var(--fh-border, #e5e5e5);
  background: var(--fh-bg-subtle, #f8f8f8);
  color: var(--fh-text, #1a1a1a);
}
.fh-v2-pagination .fh-v2-pagination__current {
  font-weight: 600;
  color: var(--fh-primary, #62858a);
  border-color: var(--fh-primary, #62858a);
}

/* ── Responsive adjustments ── */
@media (max-width: 699px) {
  .fh-v2-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px var(--container-gutter, 24px);
  }
  .fh-v2-toolbar__count {
    order: 10;
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-left: 0;
    margin-top: 4px;
  }
  .fh-v2-toolbar__filters-btn,
  .fh-v2-toolbar__sort-btn {
    font-size: 12px;
    padding: 8px 14px;
  }
  .fh-v2-card__info {
    padding: 8px 10px 10px;
  }
  .fh-v2-card__title {
    font-size: 12px;
  }
  .fh-v2-card__designer {
    font-size: 10px;
  }
  .fh-v2-card__meta {
    font-size: 10px;
  }
}
