/* =========================================================
   PREMIUM HAIR PRODUCTS PAGE
========================================================= */

.hair-products-section *,
.hair-products-section *::before,
.hair-products-section *::after {
  box-sizing: border-box;
}

/* =========================================================
   HERO
========================================================= */

.hair-page-hero {
  position: relative;

  padding: 75px 0 72px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 184, 0, 0.12),
      transparent 28%
    ),
    #214842;
}

.hair-page-hero::before {
  content: "";

  position: absolute;

  width: 380px;
  height: 380px;

  right: -160px;
  bottom: -230px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}

.hair-page-hero::after {
  content: "";

  position: absolute;

  width: 230px;
  height: 230px;

  right: -80px;
  bottom: -145px;

  border: 1px solid rgba(255, 184, 0, 0.15);

  border-radius: 50%;
}

.hair-hero-content {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 50px;
}

.hair-hero-copy {
  max-width: 700px;
}

.hair-hero-eyebrow {
  display: block;

  margin-bottom: 13px;

  color: #ffb800;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 3px;
}

.hair-hero-copy h1 {
  margin: 0;

  color: #fffefc;

  font-family: var(--font-serif);

  font-size: clamp(45px, 5vw, 72px);

  line-height: 0.96;

  font-weight: 500;

  letter-spacing: -2px;
}

.hair-hero-copy h1 em {
  display: block;

  color: #ffb800;

  font-style: normal;
}

.hair-hero-copy p {
  max-width: 560px;

  margin: 20px 0 0;

  color: rgba(255, 255, 255, 0.63);

  font-size: 11px;

  line-height: 1.8;
}

.hair-hero-meta {
  display: flex;

  flex-direction: column;

  gap: 11px;

  min-width: 190px;
}

.hair-hero-meta span {
  display: flex;

  align-items: center;

  gap: 9px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.5px;
}

.hair-hero-meta i {
  color: #ffb800;

  font-size: 12px;
}

/* =========================================================
   PRODUCTS SECTION
========================================================= */

.hair-products-section {
  padding: 80px 0 100px;

  background: #fff8f1;
}

/* =========================================================
   MOBILE FILTER BUTTON
========================================================= */

.hair-mobile-filter-button {
  display: none;
}

/* =========================================================
   LAYOUT
========================================================= */

.hair-products-layout {
  align-items: flex-start;
}

/* =========================================================
   FILTER COLUMN
========================================================= */

.hair-products-layout > aside {
  position: sticky;

  top: 110px;

  z-index: 20;
}

/* =========================================================
   FILTER BOX
========================================================= */

.hair-filter-box {
  position: relative;

  padding: 25px 22px;

  background: #fffefc;

  border: 1px solid rgba(33, 72, 66, 0.1);

  box-shadow: 0 16px 45px rgba(33, 72, 66, 0.06);
}

.hair-filter-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  padding-bottom: 21px;

  border-bottom: 1px solid rgba(33, 72, 66, 0.09);
}

.hair-filter-header span {
  display: block;

  margin-bottom: 5px;

  color: #258f68;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: 2px;
}

.hair-filter-header h2 {
  margin: 0;

  color: #214842;

  font-family: var(--font-serif);

  font-size: 25px;

  font-weight: 500;
}

.hair-filter-header button {
  padding: 5px 0;

  border: 0;

  background: transparent;

  color: #9aa29e;

  cursor: pointer;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: 1px;
}

.hair-filter-header button:hover {
  color: #258f68;
}

/* =========================================================
   FILTER GROUP
========================================================= */

.hair-filter-group {
  padding: 21px 0;

  border-bottom: 1px solid rgba(33, 72, 66, 0.08);
}

.hair-filter-title {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;
}

.hair-filter-title span {
  color: #214842;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 1.6px;
}

.hair-filter-title i {
  color: #258f68;

  font-size: 12px;
}

/* =========================================================
   COMPANY
========================================================= */

.hair-company-select-wrap {
  position: relative;
}

.hair-company-select {
  width: 100%;

  height: 43px;

  appearance: none;

  padding: 0 38px 0 13px;

  border: 1px solid rgba(33, 72, 66, 0.12);

  outline: none;

  background: #faf7f1;

  color: #214842;

  font-family: var(--font-sans);

  font-size: 9px;
  font-weight: 700;

  cursor: pointer;
}

.hair-company-select:focus {
  border-color: #258f68;
}

.hair-company-select-wrap > i {
  position: absolute;

  right: 14px;
  top: 50%;

  transform: translateY(-50%);

  color: #258f68;

  pointer-events: none;

  font-size: 10px;
}

/* =========================================================
   CHECK OPTIONS
========================================================= */

.hair-category-options {
  display: flex;

  flex-direction: column;

  gap: 13px;
}

.hair-check-option,
.hair-stock-option {
  position: relative;

  display: flex;

  align-items: center;

  gap: 9px;

  cursor: pointer;

  user-select: none;
}

.hair-check-option input,
.hair-stock-option input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.hair-custom-check {
  width: 16px;
  height: 16px;

  flex: 0 0 16px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(33, 72, 66, 0.22);

  background: #fff;

  color: transparent;

  transition: 0.2s ease;
}

.hair-check-option:hover .hair-custom-check,
.hair-stock-option:hover .hair-custom-check {
  border-color: #258f68;
}

.hair-check-option input:checked + .hair-custom-check,
.hair-stock-option input:checked + .hair-custom-check {
  border-color: #214842;

  background: #214842;

  color: #ffb800;
}

.hair-custom-check i {
  font-size: 9px;
}

.hair-check-label,
.hair-stock-option > span:last-child {
  color: #697570;

  font-size: 9px;

  font-weight: 600;
}

.hair-category-count {
  margin-left: auto;

  color: #a3aaa7;

  font-size: 7px;
}

/* =========================================================
   PRICE RANGE
========================================================= */

.hair-price-values {
  display: flex;

  justify-content: space-between;

  margin-bottom: 11px;

  color: #214842;

  font-size: 8px;
  font-weight: 800;
}

.hair-range-slider {
  position: relative;

  height: 20px;

  display: flex;

  align-items: center;
}

.hair-range-track,
.hair-range-fill {
  position: absolute;

  left: 0;
  right: 0;

  height: 3px;

  border-radius: 20px;
}

.hair-range-track {
  background: #e5e7e3;
}

.hair-range-fill {
  background: #258f68;
}

.hair-range-slider input {
  position: absolute;

  width: 100%;

  height: 3px;

  margin: 0;

  pointer-events: none;

  appearance: none;

  background: transparent;

  outline: none;
}

.hair-range-slider input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;

  appearance: none;

  pointer-events: auto;

  border: 3px solid #fff;

  border-radius: 50%;

  background: #214842;

  box-shadow: 0 0 0 1px rgba(33, 72, 66, 0.2);

  cursor: pointer;
}

.hair-range-slider input::-moz-range-thumb {
  width: 11px;
  height: 11px;

  pointer-events: auto;

  border: 3px solid #fff;

  border-radius: 50%;

  background: #214842;

  box-shadow: 0 0 0 1px rgba(33, 72, 66, 0.2);

  cursor: pointer;
}

.hair-price-inputs {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 7px;

  margin-top: 10px;
}

.hair-price-inputs div {
  padding: 8px 9px;

  background: #faf7f1;

  border: 1px solid rgba(33, 72, 66, 0.06);
}

.hair-price-inputs small {
  display: block;

  margin-bottom: 3px;

  color: #a0a8a4;

  font-size: 6px;
  font-weight: 800;

  letter-spacing: 1px;
}

.hair-price-inputs strong {
  color: #214842;

  font-size: 9px;
}

/* =========================================================
   FILTER NOTE
========================================================= */

.hair-filter-note {
  display: flex;

  align-items: flex-start;

  gap: 9px;

  margin-top: 18px;

  padding: 12px;

  background: #fff8f1;
}

.hair-filter-note i {
  color: #ffb800;

  font-size: 12px;
}

.hair-filter-note p {
  margin: 0;

  color: #8b938f;

  font-size: 7px;

  line-height: 1.7;
}

/* =========================================================
   TOOLBAR
========================================================= */

.hair-products-toolbar {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 28px;
}

.hair-results-eyebrow {
  display: block;

  margin-bottom: 5px;

  color: #258f68;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: 2.2px;
}

.hair-products-toolbar h2 {
  margin: 0;

  color: #214842;

  font-family: var(--font-serif);

  font-size: 36px;

  font-weight: 500;

  line-height: 1.05;
}

.hair-products-toolbar p {
  margin: 8px 0 0;

  color: #929a96;

  font-size: 8px;
}

.hair-products-toolbar p strong {
  color: #258f68;
}

/* =========================================================
   SORT
========================================================= */

.hair-sort-wrap {
  position: relative;

  min-width: 175px;
}

.hair-sort-wrap label {
  display: block;

  margin-bottom: 6px;

  color: #929a96;

  font-size: 6px;
  font-weight: 800;

  letter-spacing: 1.5px;
}

.hair-sort-select {
  width: 100%;

  height: 42px;

  appearance: none;

  padding: 0 35px 0 12px;

  border: 1px solid rgba(33, 72, 66, 0.12);

  outline: none;

  background: #fffefc;

  color: #214842;

  font-size: 8px;

  font-weight: 700;

  cursor: pointer;
}

.hair-sort-wrap > i {
  position: absolute;

  right: 12px;
  bottom: 14px;

  color: #258f68;

  font-size: 9px;

  pointer-events: none;
}

/* =========================================================
   PRODUCT GRID
========================================================= */

.hair-product-grid {
  position: relative;

  row-gap: 22px;
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.hair-product-card {
  height: 100%;

  overflow: hidden;

  background: #fffefc;

  border: 1px solid rgba(33, 72, 66, 0.08);

  box-shadow: 0 12px 35px rgba(33, 72, 66, 0.045);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.hair-product-card:hover {
  transform: translateY(-6px);

  border-color: rgba(37, 143, 104, 0.2);

  box-shadow: 0 22px 50px rgba(33, 72, 66, 0.1);
}

/* =========================================================
   PRODUCT IMAGE
========================================================= */

.hair-product-image {
  position: relative;

  height: 285px;

  overflow: hidden;

  background: radial-gradient(circle at center, #fff 0%, #f4efe6 100%);
}

.hair-product-image-link {
  width: 100%;
  height: 100%;

  display: block;
}

.hair-product-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hair-product-card:hover .hair-product-image img {
  transform: scale(1.045);
}

.hair-product-badge {
  position: absolute;

  top: 13px;
  left: 13px;

  z-index: 5;

  padding: 6px 9px;

  background: #ffb800;

  color: #214842;

  font-size: 6px;

  font-weight: 900;

  letter-spacing: 1.2px;
}

.hair-out-stock {
  position: absolute;

  left: 13px;
  bottom: 13px;

  z-index: 5;

  padding: 6px 9px;

  background: #214842;

  color: #fff;

  font-size: 6px;

  font-weight: 800;

  letter-spacing: 1px;
}

.hair-product-wishlist {
  position: absolute;

  top: 12px;
  right: 12px;

  z-index: 6;

  width: 37px;
  height: 37px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(33, 72, 66, 0.1);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.94);

  color: #214842;

  cursor: pointer;

  transition: 0.25s ease;
}

.hair-product-wishlist:hover,
.hair-product-wishlist.active {
  background: #214842;

  color: #ffb800;

  transform: translateY(-2px);
}

.hair-image-company {
  position: absolute;

  left: 13px;
  top: 13px;

  z-index: 4;

  padding: 6px 9px;

  background: rgba(255, 255, 255, 0.9);

  color: #214842;

  font-size: 6px;

  font-weight: 800;

  letter-spacing: 1px;
}

/* =========================================================
   PRODUCT CONTENT
========================================================= */

.hair-product-content {
  display: flex;

  flex-direction: column;

  min-height: 285px;

  padding: 19px;
}

.hair-product-category {
  color: #258f68;

  font-size: 6px;

  font-weight: 800;

  letter-spacing: 1.7px;

  text-transform: uppercase;
}

.hair-product-content h3 {
  margin: 7px 0 0;
}

.hair-product-content h3 a {
  color: #214842;

  font-family: var(--font-serif);

  font-size: 22px;

  font-weight: 500;

  line-height: 1.1;

  text-decoration: none;

  transition: color 0.25s ease;
}

.hair-product-content h3 a:hover {
  color: #258f68;
}

.hair-product-content > p {
  min-height: 35px;

  margin: 8px 0 0;

  color: #8b9490;

  font-size: 8px;

  line-height: 1.6;
}

.hair-product-rating {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: 12px;
}

.hair-product-rating span {
  color: #ffb800;

  font-size: 9px;

  letter-spacing: 1px;
}

.hair-product-rating strong {
  color: #214842;

  font-size: 8px;
}

.hair-product-rating small {
  color: #a0a7a4;

  font-size: 7px;
}

.hair-product-divider {
  width: 100%;

  height: 1px;

  margin: 13px 0;

  background: rgba(33, 72, 66, 0.08);
}

.hair-product-price-row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 8px;
}

.hair-product-price-row strong {
  color: #214842;

  font-family: var(--font-serif);

  font-size: 25px;

  font-weight: 500;
}

.hair-product-price-row del {
  margin-left: 5px;

  color: #a5aca8;

  font-size: 8px;
}

.hair-product-price-row > span {
  color: #258f68;

  font-size: 6px;

  font-weight: 800;

  letter-spacing: 0.7px;
}

/* =========================================================
   ACTIONS
========================================================= */

.hair-product-actions {
  display: flex;

  align-items: stretch;

  gap: 6px;

  margin-top: auto;

  padding-top: 14px;
}

.hair-know-more {
  min-width: 90px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 7px;

  padding: 0 10px;

  border: 1px solid rgba(33, 72, 66, 0.12);

  color: #214842;

  text-decoration: none;

  font-size: 6px;

  font-weight: 800;

  letter-spacing: 0.8px;

  transition: 0.25s ease;
}

.hair-know-more i {
  color: #258f68;

  font-size: 9px;
}

.hair-know-more:hover {
  border-color: #214842;

  background: #f8f4ec;
}

.hair-cart-action {
  flex: 1;

  display: grid;

  grid-template-columns: 25px 28px 25px 1fr;

  height: 42px;

  border: 1px solid rgba(33, 72, 66, 0.1);

  background: #fff;
}

.hair-qty-minus,
.hair-qty-plus {
  border: 0;

  background: transparent;

  color: #214842;

  cursor: pointer;

  font-size: 12px;
}

.hair-qty-minus:hover,
.hair-qty-plus:hover {
  background: #f4efe6;

  color: #258f68;
}

.hair-qty {
  display: grid;

  place-items: center;

  color: #214842;

  font-size: 7px;

  font-weight: 800;
}

.hair-add-cart {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  border: 0;

  background: #214842;

  color: #fff;

  cursor: pointer;

  font-size: 6px;

  font-weight: 800;

  letter-spacing: 0.7px;

  transition: 0.25s ease;
}

.hair-add-cart:hover {
  background: #258f68;
}

.hair-add-cart.added {
  background: #258f68;
}

.hair-add-cart i {
  color: #ffb800;

  font-size: 10px;
}

.hair-add-cart:disabled,
.hair-qty-minus:disabled,
.hair-qty-plus:disabled {
  opacity: 0.45;

  cursor: not-allowed;
}

/* =========================================================
   NO RESULTS
========================================================= */

.hair-no-results {
  display: none;

  width: 100%;

  padding: 80px 20px;

  text-align: center;
}

.hair-no-results.show {
  display: block;
}

.hair-no-results > div {
  max-width: 430px;

  margin: auto;
}

.hair-no-results > div > span {
  width: 60px;
  height: 60px;

  display: grid;
  place-items: center;

  margin: 0 auto 18px;

  border-radius: 50%;

  background: #f4efe6;

  color: #258f68;

  font-size: 20px;
}

.hair-no-results h3 {
  margin: 0;

  color: #214842;

  font-family: var(--font-serif);

  font-size: 27px;

  font-weight: 500;
}

.hair-no-results p {
  margin: 8px 0 18px;

  color: #8c9691;

  font-size: 9px;
}

.hair-no-results button {
  height: 42px;

  padding: 0 20px;

  border: 0;

  background: #214842;

  color: #fff;

  cursor: pointer;

  font-size: 7px;

  font-weight: 800;

  letter-spacing: 1px;
}

/* =========================================================
   BOTTOM MESSAGE
========================================================= */

.hair-bottom-message {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 20px;

  margin-top: 65px;
}

.hair-bottom-message span {
  width: 55px;
  height: 1px;

  background: #ffb800;
}

.hair-bottom-message p {
  margin: 0;

  color: #89938e;

  font-size: 7px;

  font-weight: 800;

  letter-spacing: 2.2px;

  text-align: center;
}

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199px) {
  .hair-page-hero {
    padding: 65px 0;
  }

  .hair-product-image {
    height: 255px;
  }

  .hair-product-content h3 a {
    font-size: 20px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .hair-products-section {
    padding: 55px 0 75px;
  }

  .hair-products-layout > aside {
    position: static;
  }

  .hair-mobile-filter-button {
    width: 100%;

    min-height: 50px;

    margin-bottom: 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 17px;

    border: 1px solid rgba(33, 72, 66, 0.12);

    background: #fffefc;

    color: #214842;

    cursor: pointer;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.3px;
  }

  .hair-mobile-filter-button > span {
    display: flex;

    align-items: center;

    gap: 8px;
  }

  .hair-mobile-filter-button i:first-child {
    color: #258f68;

    font-size: 13px;
  }

  .hair-filter-box {
    display: none;

    margin-bottom: 25px;
  }

  .hair-filter-box.mobile-open {
    display: block;
  }

  .hair-hero-content {
    align-items: flex-start;

    flex-direction: column;

    gap: 25px;
  }

  .hair-hero-meta {
    flex-direction: row;

    flex-wrap: wrap;
  }

  .hair-products-toolbar {
    align-items: flex-start;

    flex-direction: column;
  }

  .hair-sort-wrap {
    width: 100%;

    max-width: 220px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {
  .hair-page-hero {
    padding: 50px 0;
  }

  .hair-hero-copy h1 {
    font-size: 45px;
  }

  .hair-hero-meta {
    gap: 9px 17px;
  }

  .hair-hero-meta span {
    font-size: 7px;
  }

  .hair-products-section {
    padding: 35px 0 55px;
  }

  .hair-products-toolbar h2 {
    font-size: 29px;
  }

  .hair-product-grid {
    row-gap: 14px;
  }

  .hair-product-image {
    height: 235px;
  }

  .hair-product-content {
    min-height: 270px;

    padding: 15px;
  }

  .hair-product-content h3 a {
    font-size: 18px;
  }

  .hair-product-content > p {
    font-size: 7px;
  }

  .hair-product-price-row strong {
    font-size: 22px;
  }

  .hair-product-actions {
    gap: 4px;
  }

  .hair-know-more {
    min-width: 75px;

    font-size: 5px;
  }

  .hair-cart-action {
    grid-template-columns: 22px 23px 22px 1fr;
  }

  .hair-add-cart {
    font-size: 5px;
  }

  .hair-bottom-message {
    gap: 10px;

    margin-top: 45px;
  }

  .hair-bottom-message span {
    width: 25px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
  .hair-product-image {
    height: 190px;
  }

  .hair-product-content {
    min-height: 265px;

    padding: 12px;
  }

  .hair-product-content h3 a {
    font-size: 16px;
  }

  .hair-product-price-row strong {
    font-size: 19px;
  }

  .hair-product-actions {
    flex-direction: column;
  }

  .hair-know-more {
    height: 34px;

    width: 100%;
  }

  .hair-cart-action {
    width: 100%;
  }
}

/* =========================================================
   HAIR CART NOTIFICATION FALLBACK
========================================================= */

.hair-cart-notification {
  position: fixed;

  top: 28px;
  left: 50%;

  z-index: 999999;

  min-width: 390px;
  max-width: calc(100vw - 30px);

  min-height: 64px;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 0 27px;

  border-radius: 40px;

  background: #214842;

  color: #fffefc;

  box-shadow: 0 20px 50px rgba(33, 72, 66, 0.22);

  opacity: 0;
  visibility: hidden;

  transform: translate(-50%, -120px);

  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.35s ease;
}

.hair-cart-notification.show {
  opacity: 1;

  visibility: visible;

  transform: translate(-50%, 0);
}

.hair-cart-notification-icon {
  width: 21px;
  height: 21px;

  flex: 0 0 21px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #ffb800;

  color: #214842;

  font-size: 11px;
}

.hair-cart-notification > span:last-child {
  font-size: 14px;

  font-weight: 600;
}

.hair-cart-notification strong {
  color: #fff;

  font-weight: 800;
}

@media (max-width: 576px) {
  .hair-cart-notification {
    top: 18px;

    width: calc(100vw - 30px);

    min-width: 0;

    min-height: 57px;

    padding: 0 20px;
  }

  .hair-cart-notification > span:last-child {
    font-size: 11px;
  }
}
