/*
  Header and footer styles are intentionally inherited from ../main-page/main.css.
  This file contains only catalog-page styling and compatibility overrides.
*/

/* =========================================================
   1. Catalog page layout
   ========================================================= */

/* Cyrillic/Ukrainian-compatible fonts only */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&family=Noto+Serif:wght@400;600;700&display=swap");

:root{
  --font-body: "Noto Sans", "Roboto", "Arial", sans-serif;
  --font-heading: "Noto Serif", "Georgia", "Times New Roman", serif;

  --color-black: #080705;
  --color-charcoal: #14110d;
  --color-brown: #2a1d13;
  --color-cream: #f5efe4;
  --color-warm-white: #fffaf1;
  --color-gold: #c8a45d;
  --color-muted-gold: #8d7240;
  --color-muted-text: #b9ac96;
  --color-dark-text: #22180f;
  --color-border: rgba(200, 164, 93, 0.32);

  --color-hero-background: linear-gradient(90deg, rgba(8, 7, 5, 0.96), rgba(20, 17, 13, 0.92));

  --container: 1180px;
  --section-padding: clamp(4rem, 7vw, 7rem);
  --radius-soft: 22px;
  --transition: 220ms ease;
}

.catalog-page {
  --catalog-background: #f3f0e8;
  --catalog-surface: #fffdf8;
  --catalog-text: #181815;
  --catalog-muted: #68645c;
  --catalog-accent: #8a6a2d;
  --catalog-accent-dark: #604716;
  --catalog-border: rgba(24, 24, 21, 0.16);
  --catalog-shadow: 0 18px 42px rgba(30, 25, 16, 0.08);
  --catalog-focus: 0 0 0 4px rgba(138, 106, 45, 0.2);

  min-width: 0;
  overflow: clip;
  color: var(--catalog-text);
  background: var(--catalog-background);
}

.catalog-page *,
.catalog-page *::before,
.catalog-page *::after {
  box-sizing: border-box;
}

.catalog-page .container {
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
}

.catalog-section {
  position: relative;
  padding-block: clamp(48px, 6vw, 96px);
  background: 
    linear-gradient(
      90deg,
      rgba(8, 7, 5, 0.92) 0%,
      rgba(8, 7, 5, 0.66) 10%,
      rgba(8, 7, 5, 0.24) 30%,
      rgba(8, 7, 5, 0.08) 60%,
      rgba(8, 7, 5, 0.24) 80%,
      rgba(8, 7, 5, 0.66) 98%,
      rgba(8, 7, 5, 0.92) 108%
    ),
    url("../assets/catalog/goods-catalog/catalog-bg-cropped-warm.jpg");  
}

.product-card__stock {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-card__stock--in { color: #388d32; }
.product-card__stock--out { color: #7c7c7c; }

/* Black gradient sitting on the section's top edge, fading upward into .catalog-hero */
.catalog-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;                 /* anchor directly above the section's top border */
  height: clamp(48px, 6vw, 90px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.9) 0%,        /* darkest at the border */
    rgb(0 0 0 / 0.55) 40%,
    rgb(0 0 0 / 0.2) 70%,
    rgb(0 0 0 / 0) 100%         /* fully transparent up in the hero */
  );
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}


/* =========================================================
   2. Catalog introduction
   ========================================================= */

.catalog-hero {
  padding-block:
    clamp(64px, 8vw, 116px)
    clamp(44px, 6vw, 76px);

  border-bottom: 1px solid var(--catalog-border);
  aspect-ratio: 1600 / 500;
  /* Symmetrical black vignette: darkest at both sides and softly fading
     toward the unobscured center of the animated catalog image. */
  background:
    linear-gradient(
      90deg,
      rgba(8, 7, 5, 0.92) 0%,
      rgba(8, 7, 5, 0.66) 16%,
      rgba(8, 7, 5, 0.24) 36%,
      rgba(8, 7, 5, 0.08) 50%,
      rgba(8, 7, 5, 0.24) 64%,
      rgba(8, 7, 5, 0.66) 84%,
      rgba(8, 7, 5, 0.92) 100%
    ),
    url("../assets/catalog/hero-catalog/catalog-gif.gif") center / cover no-repeat;
}


.catalog-hero__inner {
  max-width: 980px;
  margin-left: clamp(0rem, 5vw, 5rem);
  margin-right: auto;
  text-align: left;
}


.catalog-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


.catalog-hero__title {
  max-width: 850px;
  margin: 0;
  color: var(--color-warm-white);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-align: left;
  text-transform: none;
  text-wrap: initial;
}

.catalog-hero__description {
  max-width: 850px;
  margin: 24px 0 0;
  color: var(--color-muted-text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  text-align: left;
  text-wrap: initial;
}


/* =========================================================
   3. Search field
   ========================================================= */

.catalog-search {
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: min(100%, 720px);
  margin: 0 auto clamp(38px, 5vw, 64px);
}

.catalog-search__field {
  flex: 1 1 auto;
}

/* Filter toggle button (right of the search field) */
.catalog-filter-toggle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  min-height: 58px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-gold);
  background: var(--color-black);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.catalog-filter-toggle svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-filter-toggle:hover {
  color: var(--color-warm-white);
  border-color: var(--color-gold);
  background: var(--color-charcoal);
}

.catalog-filter-toggle:focus-visible {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.22);
}

.catalog-filter-toggle[aria-expanded="true"] {
  color: var(--color-black);
  border-color: var(--color-gold);
  background: var(--color-gold);
}

.catalog-search__field {
  position: relative;
}

.catalog-search__icon {
  position: absolute;
  top: 50%;
  left: 20px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--catalog-muted);
  pointer-events: none;
  transform: translateY(-50%);
  transition: color 180ms ease;
}

.catalog-search__icon svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-search__input {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px 14px 58px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  outline: none;
  color: var(--color-cream);
  background: var(--color-black);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.catalog-search__input::placeholder {
  color: var(--color-muted-text);
  opacity: 1;
}

.catalog-search__input::-webkit-search-cancel-button {
  cursor: pointer;
}

.catalog-search__field:focus-within .catalog-search__icon {
  color: var(--catalog-accent);
}

.catalog-search__input:focus-visible {
  border-color: var(--catalog-accent);
  box-shadow: var(--catalog-focus);
}


/* =========================================================
   4. Product grid
   ========================================================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px);
  align-items: stretch;
}


/* =========================================================
   5. Product card
   ========================================================= */

.product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--catalog-border);
  border-radius: 16px;
  background: var(--catalog-surface);
  box-shadow: 0 8px 26px rgba(30, 25, 16, 0.04);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}


/* =========================================================
   6. Product media
   ========================================================= */

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd8cd;
}

.product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* =========================================================
   7. Product content and typography
   ========================================================= */

.product-card__content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 2vw, 28px);
}

.product-card__header {
  min-width: 0;
}

.product-card__title {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--catalog-text);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.45vw, 1.65rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.product-card__meta {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--catalog-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-card__meta-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px;
  align-items: baseline;
}

.product-card__meta dt,
.product-card__meta dd {
  margin: 0;
}

.product-card__meta dt {
  color: var(--catalog-text);
  font-weight: 600;
}

.product-card__meta dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-card__description {
  margin: 20px 0 0;
  color: var(--catalog-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  text-wrap: pretty;
}


/* =========================================================
   8. Product actions
   ========================================================= */

.product-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
}

.product-card__price {
  margin: 0;
  color: var(--catalog-text);
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 1.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.product-card__order-button,
.order-popover__confirm {
  display: inline-flex;
  min-width: 118px;
  min-height: 46px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--catalog-text);
  border-radius: 0;
  color: var(--catalog-surface);
  background: var(--catalog-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.025em;
  text-align: center;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 120ms ease;
}



/* =========================================================
   9. Hover and focus states
   ========================================================= */

.product-card__order-button:hover,
.order-popover__confirm:hover:not(:disabled) {
  border-color: var(--catalog-accent-dark);
  background: var(--catalog-accent-dark);
}

.product-card__order-button:focus-visible,
.order-popover__confirm:focus-visible {
  outline: none;
  border-color: var(--catalog-accent);
  box-shadow: var(--catalog-focus);
}

.product-card__order-button:active,
.order-popover__confirm:active:not(:disabled) {
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgba(138, 106, 45, 0.44);
    box-shadow: var(--catalog-shadow);
    transform: translateY(-4px);
  }

  .product-card:hover .product-card__image {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card__image,
  .product-card__order-button,
  .catalog-search__icon,
  .catalog-search__input {
    scroll-behavior: auto;
    transition: none;
  }

  .order-popover__confirm::before {
    animation: none;
    transition: none;
  }
}


/* =========================================================
   10. Responsive media queries
   ========================================================= */

@media (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .catalog-page .container {
    width: min(100% - 40px, 1440px);
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .catalog-page .container {
    width: min(100% - 32px, 1440px);
  }

  .catalog-hero {
    padding-block: 52px 42px;
  }

  .catalog-hero__description {
    margin-top: 18px;
  }

  .catalog-section {
    padding-block: 40px 64px;
  }

  .catalog-search {
    margin-bottom: 34px;
  }

  .catalog-search__input {
    min-height: 54px;
  }

  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product-card__content {
    padding: 22px;
  }

  .product-card__footer {
    padding-top: 24px;
  }
}

@media (max-width: 379px) {
  .catalog-page .container {
    width: min(100% - 24px, 1440px);
  }

  .product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card__order-button {
    width: 100%;
  }
}


/* =========================================================
   11. Order popover (quantity slider + total price)
   ========================================================= */

/* Full-screen backdrop: dims + blurs the page and blocks interaction behind it */
.order-overlay {
  /* Redefined here because the modal is mounted on <body>, outside .catalog-page */
  --catalog-text: #181815;
  --catalog-surface: #fffdf8;
  --catalog-muted: #68645c;
  --catalog-accent: #8a6a2d;
  --catalog-accent-dark: #604716;
  --catalog-border: rgba(24, 24, 21, 0.16);
  --catalog-focus: 0 0 0 4px rgba(138, 106, 45, 0.2);

  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 7, 5, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: order-overlay-in 160ms ease;
}

@keyframes order-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Lock background scroll while the modal is open */
.order-modal-open {
  overflow: hidden;
}

/* Centered modal window */
.order-popover {
  position: relative;
  width: min(340px, 100%);
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--catalog-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  font-family: var(--font-body);
  color: var(--color-muted-text);
  animation: order-popover-in 160ms ease;
}

/* Product title, centered at the top */
.order-popover__title {
  margin: 4px 34px 18px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--color-cream);
}

/* Close (X) button, top-right */
.order-popover__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-muted-text);
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.order-popover__close:hover {
  color: var(--color-warm-white);
  background: rgba(255, 250, 241, 0.08);
}

.order-popover__close:focus-visible {
  outline: none;
  box-shadow: var(--catalog-focus);
}

@keyframes order-popover-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.order-popover__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}

.order-popover__total-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-muted-text);
}

.order-popover__total-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--color-gold);
}

.order-popover__range {
  display: block;
  width: 100%;
  margin: 0;
  accent-color: var(--catalog-accent);
  cursor: pointer;
}

.order-popover__qty {
  margin: 10px 0 16px;
  font-size: 0.8rem;
  color: var(--color-muted-text);
}

/* Confirm button inherits the .product-card__order-button design above;
   only modal-specific extras are set here. */
.order-popover__confirm {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow: visible;
  --confirm-violet: #b79cff; /* light violet the trail fades into */
}

/* Animatable angle for the rotating gradient */
@property --confirm-angle {
  syntax: "<angle>";
  initial-value: 315deg; /* top-left corner */
  inherits: false;
}

/* A gold->violet arc masked to the button's outline. On hover it travels
   clockwise starting from the top-left corner. */
.order-popover__confirm::before {
  content: "";
  position: absolute;
  inset: -2px;             /* ring sits just outside the button edge */
  padding: 2px;            /* ring thickness */
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from var(--confirm-angle),
    var(--color-gold) 0deg,
    var(--confirm-violet) 70deg,
    transparent 70deg,
    transparent 360deg
  );
  /* keep only the border ring, punch out the interior */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  transition: opacity 160ms ease;
}

.order-popover__confirm:hover:not(:disabled)::before {
  opacity: 1;
  animation: confirm-border-travel 1.4s linear infinite;
}

@keyframes confirm-border-travel {
  from { --confirm-angle: 315deg; }   /* start: top-left */
  to   { --confirm-angle: 675deg; }   /* 315 + 360, one clockwise loop */
}

.order-popover__confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-popover__done {
  margin: 0;
  padding: 6px 0;
  text-align: center;
  font-weight: 600;
  color: var(--color-gold);
}


/* =========================================================
   12. Filter sidebar
   ========================================================= */

.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 7, 5, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.filter-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.filter-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  width: min(340px, 86vw);
  height: 100%;
  color: var(--color-cream);
  background: var(--color-charcoal);
  border-right: 1px solid var(--color-border);
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow-y: auto;
}

.filter-sidebar.is-open {
  transform: translateX(0);
}

.filter-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--color-border);
}

.filter-sidebar__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-warm-white);
}

.filter-sidebar__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--color-muted-text);
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.filter-sidebar__close:hover {
  color: var(--color-warm-white);
  background: rgba(255, 250, 241, 0.08);
}

.filter-group {
  padding: 20px 22px;
  border-bottom: 1px solid var(--color-border);
}

.filter-group__title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--color-cream);
  cursor: pointer;
}

.filter-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

/* ---- dual-thumb mass range ---- */

.filter-range__values {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-warm-white);
}

.filter-range__values strong {
  color: var(--color-gold);
  font-weight: 700;
}

.filter-range {
  --min-pct: 0%;
  --max-pct: 100%;
}

.filter-range__track {
  position: relative;
  height: 34px;
}

/* shared rail */
.filter-range__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(200, 164, 93, 0.25);
}

/* selected span between the two thumbs */
.filter-range__fill {
  position: absolute;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  left: var(--min-pct);
  right: calc(100% - var(--max-pct));
  border-radius: 999px;
  background: var(--color-gold);
}

.filter-range__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 34px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.filter-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-charcoal);
  background: var(--color-gold);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.filter-range__input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-charcoal);
  background: var(--color-gold);
  cursor: pointer;
}

.filter-range__input::-moz-range-track {
  background: transparent;
}

.filter-sidebar__footer {
  margin-top: auto;
  padding: 18px 22px 24px;
}

.filter-reset {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-cream);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.filter-reset:hover {
  color: var(--color-warm-white);
  border-color: var(--color-gold);
  background: rgba(200, 164, 93, 0.12);
}

.products-grid__empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  color: var(--color-cream);
  font-size: 1.05rem;
}

@media (prefers-reduced-motion: reduce) {
  .filter-sidebar,
  .filter-backdrop {
    transition: none;
  }
}

.product-card[hidden] {
  display: none;
}
