/* node_modules/@fontsource-variable/inter/index.css */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-cyrillic-ext-wght-normal-IYF56FF6.woff2") format("woff2-variations");
  unicode-range:
    U+0460-052F,
    U+1C80-1C8A,
    U+20B4,
    U+2DE0-2DFF,
    U+A640-A69F,
    U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-cyrillic-wght-normal-JEOLYBOO.woff2") format("woff2-variations");
  unicode-range:
    U+0301,
    U+0400-045F,
    U+0490-0491,
    U+04B0-04B1,
    U+2116;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-greek-ext-wght-normal-EOVOK2B5.woff2") format("woff2-variations");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-greek-wght-normal-IRE366VL.woff2") format("woff2-variations");
  unicode-range:
    U+0370-0377,
    U+037A-037F,
    U+0384-038A,
    U+038C,
    U+038E-03A1,
    U+03A3-03FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-vietnamese-wght-normal-CE5GGD3W.woff2") format("woff2-variations");
  unicode-range:
    U+0102-0103,
    U+0110-0111,
    U+0128-0129,
    U+0168-0169,
    U+01A0-01A1,
    U+01AF-01B0,
    U+0300-0301,
    U+0303-0304,
    U+0308-0309,
    U+0323,
    U+0329,
    U+1EA0-1EF9,
    U+20AB;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-latin-ext-wght-normal-HA22NDSG.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./media/inter-latin-wght-normal-NRMW37G5.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

/* src/styles.scss */
:root {
  --color-primary: #6c63ff;
  --color-accent: #ffb74d;
  --color-success: #81c784;
  --color-danger: #ff8a80;
  --color-info: #fff176;
  --color-bg: #fdfbff;
  --color-text-dark: #2e2e2e;
  --color-text-light: #8e8e8e;
  --radius-lg: 20px;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
  --font-family-base:
    "Inter",
    "Roboto",
    sans-serif;
  --font-family-heading:
    "Inter",
    "Poppins",
    sans-serif;
}
html,
body {
  height: 100%;
}
body {
  background: var(--color-bg);
  font-family: var(--font-family-base);
  color: var(--color-text-dark);
  margin: 0;
  min-height: 100%;
}
.chip {
  border: 1px solid rgba(108, 99, 255, 0.3215686275);
  background: transparent;
  color: var(--color-text-dark);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.chip--active {
  background: rgba(108, 99, 255, 0.1607843137);
  color: var(--color-primary);
  border-color: rgba(108, 99, 255, 0.4784313725);
  font-weight: 600;
}
.products__filter-panel {
  background: #fff;
  border: 1px solid rgba(108, 99, 255, 0.1215686275);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.products__filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.products__filter-panel-header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-family-heading);
  color: var(--color-text-dark);
}
.products__filter-close {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-light);
}
.products__filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.products__filter-option {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.products__filter-description {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.products__filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.products__clear-button {
  border: none;
  background: transparent;
  color: var(--color-text-light);
  font-size: 0.9rem;
  cursor: pointer;
}
.products__clear-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.products__apply-button {
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}
.products__selected-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.products__selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.products__selected-chip {
  border: 1px solid rgba(108, 99, 255, 0.1411764706);
  background: #fff;
  color: var(--color-text-dark);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.products__clear-all {
  border: none;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.product-detail__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  z-index: 20;
  overflow: hidden;
  overscroll-behavior: contain;
}
.product-detail {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}
.product-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0;
}
.product-detail__header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--font-family-heading);
  color: var(--color-text-dark);
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-detail__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
}
.product-detail__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  overflow-y: auto;
}
.product-detail__media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-detail__media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.product-detail__media-fallback {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 16px;
  background: #f5f5f5;
  color: var(--color-text-light);
}
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-detail__description-container {
  position: relative;
}
.product-detail__description {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  line-height: 1.6;
  max-height: 120px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  transition: max-height 0.3s ease;
}
.product-detail__description--expanded {
  max-height: none;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.product-detail__read-more {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 0.5rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.product-detail__read-more:hover {
  color: var(--color-primary-dark);
}
.product-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-detail__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.product-detail__state {
  padding: 2rem 1.5rem 1.5rem;
  color: var(--color-text-light);
  text-align: center;
}
.product-detail__state--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 2rem;
}
.product-detail__state--error {
  color: var(--color-danger);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 720px) {
  .product-detail {
    max-height: 95vh;
    width: 95vw;
    margin: 2.5vh auto;
  }
  .product-detail__content {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  .product-detail__description {
    max-height: 80px;
    -webkit-line-clamp: 4;
  }
  .product-detail__description--expanded {
    max-height: none;
    -webkit-line-clamp: unset;
  }
  .product-detail__media img {
    max-height: 200px;
    object-fit: cover;
  }
}
.products__state {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-family-base);
  color: var(--color-text-light);
  text-align: center;
}
.products__state--loading {
  color: var(--color-primary);
}
.products__state--error {
  color: var(--color-danger);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.products__state--with-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  min-height: 160px;
}
.products__loading-more--with-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  min-height: 72px;
}
.products__retry {
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-family-base);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
}
.products__retry:hover,
.products__retry:focus-visible {
  filter: brightness(0.95);
}
.products__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.products__item {
  display: grid;
  border-radius: 20px;
  border: 1px solid rgba(108, 99, 255, 0.1411764706);
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.products__item:hover,
.products__item:focus-within {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.32);
}
.products__item-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.products__description-container {
  position: relative;
}
.products__description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}
.products__description--expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.products__read-more {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 0.5rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.products__read-more:hover {
  color: var(--color-primary-dark);
}
.products__item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.products__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.products__availability {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(129, 199, 132, 0.1607843137);
  color: #2e7d32;
}
.products__availability--unavailable {
  background: rgba(255, 138, 128, 0.1803921569);
  color: #c62828;
}
.products__discount {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 183, 77, 0.1607843137);
  color: #c87000;
}
.products__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.products__image {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
}
.products__meta {
  display: flex;
  gap: 12px;
}
.products__price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.products__price--strike {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}
.products__price--final {
  color: var(--color-primary);
}
.products__loading-more {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-light);
}
.products__sentinel {
  width: 100%;
  height: 1px;
}
@media (max-width: 900px) {
  .products__item {
    grid-template-columns: 1fr;
  }
  .products__media {
    justify-content: flex-start;
    padding-top: 0;
  }
  .products__image {
    max-height: 200px;
  }
  .products__description {
    -webkit-line-clamp: 2;
  }
  .products__description--expanded {
    -webkit-line-clamp: unset;
  }
}

/* angular:styles/global:styles */
