:root {
  --ink: #103f40;
  --ink-soft: #527170;
  --mint: #eaf4ef;
  --line: #dce9e6;
  --coral: #f45f4f;
  --coral-dark: #d94739;
  --cream: #fbf8f2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 63, 64, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}
.product-price-range {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3px;
    color: #8b5e3c;
    font-size: 16px;
    font-weight: 600;
}

    .product-price-range span {
        color: inherit;
        font-size: inherit;
        font-weight: inherit;
        white-space: nowrap;
    }

    .product-price-range .price-separator {
        margin: 0 2px;
    }
.mobile-only {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* 1. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: 210px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 170px;
}

.brand img {
  width: 100%;
}

.search-box {
  height: 44px;
  display: flex;
  border: 1px solid #d6e2df;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.search-box:focus-within {
  border-color: #77a9a4;
  box-shadow: 0 0 0 3px rgba(72, 137, 131, 0.12);
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  outline: 0;
}

.search-box button {
  width: 50px;
  border: 0;
  background: transparent;
  font-size: 26px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action {
  min-width: 64px;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.action-icon {
  font-size: 23px;
  line-height: 1;
}

.header-action b {
  min-width: 18px;
  height: 18px;
  position: absolute;
  top: -4px;
  right: 5px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
}

.nav-shell {
  border-top: 1px solid #eef4f2;
  background: #f9fcfb;
}

.nav-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.desktop-nav {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
}

.desktop-nav a {
  position: relative;
  padding: 18px 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 10px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transition: right 0.2s;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  right: 0;
}

.quick-promises {
  display: flex;
  gap: 18px;
  color: #527875;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* 2. Mobile drawer */
.mobile-menu {
  display: none;
}

/* 3. Breadcrumb */
.breadcrumb {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #80918f;
  font-size: 12px;
}

.breadcrumb strong {
  color: #416866;
}

/* 4. Hero */
.category-hero {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #eaf2ee;
  box-shadow: var(--shadow);
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(243, 248, 245, 0.98) 0%,
    rgba(243, 248, 245, 0.86) 37%,
    rgba(243, 248, 245, 0.08) 68%
  );
}

.category-hero > img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-content {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 52px;
  z-index: 2;
  transform: translateY(-50%);
}

.hero-content > span,
.eyebrow,
.section-title > span,
.newsletter > div > span {
  color: #4e8580;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-content h1 {
  margin: 9px 0 10px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.hero-content p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 17px;
}

.primary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-button:hover {
  background: var(--coral-dark);
}

/* 5. Subcategories */
.subcategory-list {
  padding: 30px 0 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.subcategory {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: 0.2s;
}

.subcategory:hover,
.subcategory.active {
  border-color: #7ca9a4;
  box-shadow: 0 12px 26px rgba(14, 70, 69, 0.1);
  transform: translateY(-3px);
}

.subcategory img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
}

.subcategory span {
  min-height: 43px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* 6. Catalog and filters */
.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding-bottom: 70px;
}

.filter-sidebar {
  position: sticky;
  top: 146px;
  padding: 18px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.filter-heading {
  min-height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #2e6662;
  font-size: 12px;
  text-transform: uppercase;
}

.filter-group {
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #e8efed;
}

.filter-group legend {
  width: 100%;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
}

    .filter-group > label {
        min-height: 30px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #607876;
        font-size: 13px;
    }

.filter-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2d7973;
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: #26736e;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  color: #879694;
  font-size: 11px;
}

.price-labels strong {
  color: #416d69;
}

.color-list {
  display: grid;
  grid-template-columns: repeat(5, 29px);
  gap: 8px;
}

.color-list button {
  width: 29px;
  height: 29px;
  position: relative;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
}

.color-list button::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  border: 1px solid #d5ddda;
  border-radius: 50%;
  background: var(--color);
}

.color-list button.active {
  border-color: #2c7771;
}

.color-list button.active::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #173f3d;
  font-size: 10px;
  font-weight: 900;
}

.clear-filter,
.apply-filter {
  width: 100%;
  min-height: 41px;
  margin-top: 16px;
  border: 1px solid #d9e4e2;
  border-radius: 8px;
  background: #f8fbfa;
  color: #54726f;
  font-size: 11px;
  font-weight: 700;
}

.catalog-toolbar {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.catalog-toolbar h2 {
  margin: 5px 0 4px;
  font-size: 29px;
  text-transform: uppercase;
}

.catalog-toolbar p {
  margin: 0;
  color: #7c8f8d;
  font-size: 11px;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.toolbar-actions select,
.filter-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #d3e0dd;
  border-radius: 8px;
  background: #fff;
  color: #486d6a;
  font-size: 11px;
  font-weight: 700;
}

.active-filters {
  padding: 12px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #718482;
  font-size: 10px;
}

.active-filters button {
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #d9e5e2;
  border-radius: 15px;
  background: #f7faf8;
  color: #486c69;
  font-size: 10px;
}

.product-grid {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: 0.22s;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-image img {
  width: 100%;
  /*aspect-ratio: 1.55;*/
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.new-badge {
  background: #2a756f;
}

.favorite-button {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 23px;
  line-height: 1;
}

.favorite-button.active {
  background: var(--coral);
  color: #fff;
}

.product-info {
  padding: 15px;
}

.product-info > small {
  color: #77908e;
  font-size: 10px;
}

.product-info h3 {
  min-height: 40px;
  margin: 7px 0;
  color: #234f4e;
  font-size: 14px;
  line-height: 1.4;
}

.rating {
  margin: 0;
  color: #8b9998;
  font-size: 11px;
}

.rating span {
  color: #f3a400;
  letter-spacing: 1px;
}

.product-price {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

    .product-price > div {
        display: grid;
        gap: 3px;
    }

.product-price strong {
  color: var(--coral);
  font-size: 17px;
}

.product-price del {
  color: #98a3a2;
  font-size: 10px;
}

.add-cart {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
}

.empty-result {
  padding: 70px 20px;
  text-align: center;
}

.empty-result > span {
  font-size: 54px;
}

/* 7. Materials */
.material-section {
  padding: 65px 0;
}

.section-title {
  margin-bottom: 24px;
  text-align: center;
}

.section-title h2 {
  margin: 6px 0 0;
  font-size: 29px;
  text-transform: uppercase;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.material-grid a {
  min-height: 145px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  border-radius: 15px;
  background: var(--mint);
}

.material-grid img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.material-grid div {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.material-grid small {
  color: var(--ink-soft);
  line-height: 1.5;
}

/* 8. Services and newsletter */
.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.service-strip > div {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.service-strip > div:last-child {
  border-right: 0;
}

.service-strip > div > span {
  color: #43847f;
  font-size: 22px;
}

.service-strip p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.service-strip strong {
  font-size: 12px;
}

.service-strip small {
  color: #7e8f8d;
  font-size: 10px;
}

.newsletter {
  min-height: 180px;
  margin-top: 48px;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 35px;
  padding: 35px 45px;
  border-radius: 18px;
}

.newsletter h2 {
  margin: 7px 0;
  font-size: 26px;
  text-transform: uppercase;
}

.newsletter p {
  margin: 0;
  font-size: 13px;
}

.newsletter form {
  height: 48px;
  display: flex;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  outline: 0;
}

.newsletter button {
  width: 105px;
  border: 0;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}



.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, 1fr);
    gap: 42px;
    padding-bottom: 44px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-brand img {
  width: 165px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #fff;
}

.footer-grid h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.footer-grid a,
.footer-grid p {
  margin: 0;
  font-size: 12px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a8c0be;
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  padding: 13px 18px;
  border-radius: 9px;
  background: #0c3d3e;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 1100px) {
  .container {
    width: min(100% - 32px, 980px);
  }

  .header-main {
    grid-template-columns: 165px minmax(220px, 1fr) auto;
    gap: 15px;
  }

  .brand {
    width: 150px;
  }

  .desktop-nav {
    gap: 17px;
  }

  .quick-promises {
    display: none !important;
  }

  .catalog-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
  }

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

  .newsletter {
    grid-template-columns: 1fr 380px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 24px);
  }

  .desktop-only,
  .desktop-nav {
    display: none !important;
  }

  .mobile-only {
    display: inline-grid !important;
  }

  .site-header {
    position: sticky;
  }

  .header-main {
    min-height: 62px;
    grid-template-columns: 38px 1fr auto;
    gap: 8px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    background: transparent;
    font-size: 23px;
  }

  .brand {
    width: 130px;
    justify-self: center;
  }

  .brand img {
    height: 40px;
  }
    .site-header .container.header-main {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        padding: 10px 12px;
        box-sizing: border-box;
    }

    .site-header .header-main > .mobile-only {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .site-header .header-main > .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        min-width: 0;
        max-width: 100%;
    }

        .site-header .header-main > .brand img {
            display: block;
            max-width: 100%;
            height: auto;
        }

    .site-header .header-main > .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        min-width: 0;
        margin: 0;
    }

    .site-header .header-main > .search-box {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 42px;
        margin: 0;
    }

    .site-header .search-box input[type="search"] {
        font-size: 16px;
    }
    .site-header .container.header-main {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 0;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 68px;
        padding: 8px 12px;
    }

    /* Hàng 1: nút menu */
    .site-header .header-main > button.mobile-only {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin: 0;
    }

    /* Hàng 1: logo */
    .site-header .header-main > .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        min-width: 0;
        max-width: 100%;
        margin: 0;
    }

    /* Hàng 1: tìm kiếm và giỏ hàng, ở cả hai trạng thái */
    .site-header .header-main > .header-actions {
        grid-column: 3 !important;
        grid-row: 1 !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        justify-self: end;
    }

    .site-header .header-actions > .desktop-action {
        display: none;
    }

    .site-header .header-actions > .mobile-only,
    .site-header .header-actions > .cart-action {
        flex: 0 0 auto;
        margin: 0;
    }

    /* Mặc định đóng: không chiếm hàng trong header */
    .site-header .header-main > .search-box {
        display: none !important;
        grid-column: 1 / -1;
        grid-row: 2;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        height: 42px;
        margin: 0 !important;
    }

        /* Mở tìm kiếm: chỉ thêm hàng 2 */
        .site-header .header-main > .search-box.search-box--open {
            display: flex !important;
            align-items: center;
            margin-top: 8px !important;
        }

    .site-header .search-box input[type="search"] {
        box-sizing: border-box;
        flex: 1 1 0%;
        width: 0;
        min-width: 0;
        height: 100%;
        font-size: 16px;
    }

    .site-header .search-box > button {
        position: static;
        transform: none;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
    }
  .search-box {
    height: 42px;
    position: absolute;
    top: 62px;
    right: 12px;
    left: 12px;
    z-index: 2;
  }

  .nav-shell {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-menu.open {
    visibility: visible;
    pointer-events: auto;
  }

  .drawer-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 36, 37, 0.55);
    opacity: 0;
    transition: opacity 0.25s;
  }

  .mobile-menu.open .drawer-backdrop {
    opacity: 1;
  }

  .mobile-menu-panel {
    width: min(86vw, 360px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 18px;
    background: #fff;
    transform: translateX(-102%);
    transition: transform 0.25s;
  }

  .mobile-menu.open .mobile-menu-panel {
    transform: translateX(0);
  }

  .drawer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-heading img {
    width: 145px;
  }

  .drawer-heading button {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    font-size: 30px;
  }

  .mobile-menu nav {
    display: grid;
    padding: 12px 0;
  }

  .mobile-menu nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf2f1;
    font-size: 13px;
    font-weight: 700;
  }

  .drawer-phone {
    display: block;
    margin-top: 15px;
    padding: 13px;
    border-radius: 8px;
    background: var(--mint);
    font-size: 12px;
    font-weight: 700;
  }

  .breadcrumb {
    min-height: 42px;
    /*margin-top: 42px;*/
    font-size: 10px;
  }

  .category-hero {
    min-height: 250px;
    border-radius: 14px;
  }

  .category-hero::after {
    background: linear-gradient(
      90deg,
      rgba(244, 248, 246, 0.96),
      rgba(244, 248, 246, 0.45)
    );
  }

  .category-hero > img {
    height: 250px;
  }

  .hero-content {
    width: 76%;
    left: 23px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    max-width: 230px;
    font-size: 14px;
  }

  .primary-button {
    min-height: 43px;
    font-size: 10px;
  }

  .subcategory-list {
    width: 100%;
    overflow-x: auto;
    grid-template-columns: repeat(5, 135px);
    gap: 10px;
    padding: 20px 12px 34px;
    scrollbar-width: none;
  }

  .subcategory-list::-webkit-scrollbar {
    display: none;
  }

  .subcategory span {
    font-size: 11px;
  }

  .catalog-layout {
    display: block;
  }

  .filter-sidebar {
    width: min(88vw, 380px);
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    overflow-y: auto;
    padding: 22px;
    border: 0;
    border-radius: 0;
    box-shadow: -15px 0 40px rgba(4, 46, 46, 0.16);
    visibility: hidden;
    transform: translateX(105%);
    transition: 0.25s;
  }

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

  .filter-heading button {
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    background: transparent;
    font-size: 28px;
  }

    .apply-filter {
        min-height: 45px;
        background: var(--coral);
        color: #fff;
        align-content: center;
    }

  .catalog-toolbar {
    align-items: flex-end;
  }

  .catalog-toolbar h2 {
    font-size: 23px;
  }

  .toolbar-actions {
    display: grid;
    gap: 6px;
  }

  .filter-button {
    display: block !important;
  }

  .toolbar-actions select,
  .filter-button {
    min-height: 36px;
    max-width: 150px;
    padding: 0 9px;
    font-size: 9px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-info {
    padding: 11px;
  }

  .product-info h3 {
    min-height: 35px;
    font-size: 12px;
  }

  .rating {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-price strong {
    font-size: 14px;
  }

  .add-cart {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 14px;
  }

  .favorite-button {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }

  .material-section {
    padding: 45px 0;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .material-grid {
    overflow-x: auto;
    grid-template-columns: repeat(3, 280px);
    scrollbar-width: none;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-strip > div {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .newsletter {
    min-height: 230px;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 20px;
  }

  .newsletter h2 {
    font-size: 21px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .product-grid {
    gap: 8px;
  }

  .product-info h3 {
    font-size: 11px;
  }

  .product-price strong {
    font-size: 13px;
  }
}
@media (max-width: 768px) {

    .product-price-range {
        font-size: 13px;
        gap: 1px;
        white-space: nowrap;
    }

        .product-price-range .price-separator {
            margin: 0 1px;
        }
}
