.mt-catalog-page {
  --mt-catalog-accent: #a90045;
  --mt-catalog-soft: #fff8f4;
  --mt-catalog-border: #eadfda;
}

.mt-storefront #container {
  position: relative;
  margin-bottom: 0;
}

.mt-storefront .mt-footer {
  position: static;
  padding-top: 0;
  border: 0;
}

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

.mt-catalog-page a:focus-visible,
.mt-catalog-page button:focus-visible,
.mt-catalog-page select:focus-visible,
.mt-catalog-page input:focus-visible {
  outline: 3px solid rgba(197, 0, 80, .24);
  outline-offset: 2px;
}

.mt-category-banner {
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(105, 17, 47, .06);
}

.mt-category-banner::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 248, 233, .98) 0%, rgba(255, 248, 233, .88) 38%, rgba(255, 248, 233, .08) 68%);
}

.mt-category-banner > img {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.mt-category-banner > div {
  top: 23px;
  z-index: 1;
  width: min(540px, 52%);
}

.mt-category-eyebrow {
  margin: 0 0 4px;
  color: var(--mt-catalog-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mt-category-banner h1 {
  margin-bottom: 7px;
}

.mt-category-intro,
.mt-category-intro p {
  margin: 0;
  color: #493a3f;
  font-size: 12px;
  line-height: 1.45;
}

.mt-catalog-page--jewellery .mt-category-banner > img,
.mt-catalog-page--beauty .mt-category-banner > img,
.mt-catalog-page--pooja .mt-category-banner > img {
  object-position: 77% 34%;
}

.mt-catalog-page--jewellery .mt-category-banner::after {
  background: linear-gradient(90deg, #fff4e2 0%, rgba(255, 244, 226, .95) 42%, rgba(255, 244, 226, .2) 72%);
}

.mt-catalog-page--beauty .mt-category-banner::after {
  background: linear-gradient(90deg, #fff2f4 0%, rgba(255, 242, 244, .95) 42%, rgba(255, 242, 244, .18) 72%);
}

.mt-catalog-page--pooja .mt-category-banner::after {
  background: linear-gradient(90deg, #fff6e7 0%, rgba(255, 246, 231, .95) 42%, rgba(255, 246, 231, .18) 72%);
}

.mt-department-tabs {
  min-height: 49px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid var(--mt-catalog-border);
}

.mt-department-tabs a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: #59494f;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.mt-department-tabs a::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  content: "";
  background: var(--mt-catalog-accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.mt-department-tabs a:hover,
.mt-department-tabs a.is-active {
  color: var(--mt-catalog-accent);
}

.mt-department-tabs a.is-active::after {
  transform: scaleX(1);
}

.mt-catalog-layout {
  margin-top: 18px;
}

.mt-catalog-filters {
  align-self: start;
}

.mt-catalog-filters > header span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mt-filter-dismiss {
  display: none;
}

.mt-filter-colours button {
  transition: transform .16s ease, outline-color .16s ease;
}

.mt-filter-colours button:hover {
  transform: translateY(-1px) scale(1.06);
}

.mt-catalog-toolbar-options {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.mt-catalog-toolbar-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #73636a;
  white-space: nowrap;
}

.mt-catalog-toolbar-options select {
  max-width: 175px;
  padding: 4px 20px 4px 5px;
  border: 0;
  border-radius: 3px;
  color: #34272c;
  background-color: transparent;
  font-weight: 700;
}

.mt-catalog-card {
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mt-catalog-card:hover {
  border-color: #dac8ce;
  box-shadow: 0 8px 24px rgba(89, 0, 36, .09);
  transform: translateY(-2px);
}

.mt-catalog-compare {
  position: absolute;
  z-index: 2;
  top: 46px;
  right: 8px;
  margin: 0;
}

.mt-catalog-compare button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(66, 10, 31, .46);
  font-size: 11px;
  transition: background-color .2s ease, transform .2s ease;
}

.mt-catalog-compare button:hover {
  background: #a90045;
  transform: translateY(-1px);
}

.mt-catalog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mt-catalog-card-bottom {
  margin-top: auto;
  padding-top: 7px;
}

.mt-catalog-card-bottom button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.mt-catalog-card-bottom button:not(:disabled):hover {
  border-color: var(--mt-catalog-accent);
}

.mt-catalog-filter-empty {
  min-height: 300px;
  padding: 32px;
  place-items: center;
  align-content: center;
  border: 1px dashed #decfd4;
  border-radius: 7px;
  background: var(--mt-catalog-soft);
  text-align: center;
}

.mt-catalog-filter-empty:not([hidden]) {
  display: grid;
}

.mt-catalog-filter-empty i {
  color: var(--mt-catalog-accent);
  font-size: 30px;
}

.mt-catalog-filter-empty h2 {
  margin: 8px 0 0;
  color: #5f1931;
  font: 600 23px "MT Display", serif;
}

.mt-catalog-filter-empty p {
  margin: 0;
  color: #705f65;
  font-size: 11px;
}

.mt-catalog-filter-empty button {
  margin-top: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--mt-catalog-accent);
  font-size: 10px;
  font-weight: 800;
}

.mt-special-hero {
  min-height: 196px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 30px 44px;
  border: 1px solid rgba(119, 0, 48, .1);
  border-radius: 9px;
  color: #541126;
  background:
    radial-gradient(circle at 76% 28%, rgba(250, 198, 69, .38), transparent 22%),
    linear-gradient(115deg, #fff8eb 0%, #ffe5d6 54%, #f7bdd0 100%);
}

.mt-special-hero::after {
  position: absolute;
  z-index: -1;
  right: -45px;
  bottom: -105px;
  width: 330px;
  height: 330px;
  content: "";
  border: 42px solid rgba(157, 0, 61, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, .18);
}

.mt-special-hero-copy {
  max-width: 660px;
}

.mt-special-hero h1 {
  margin: 0;
  color: #6b1630;
  font: 600 clamp(34px, 4vw, 48px)/1.04 "MT Display", serif;
}

.mt-special-hero-copy > p:last-of-type {
  max-width: 600px;
  margin: 10px 0 0;
  color: #594047;
  font-size: 13px;
  line-height: 1.55;
}

.mt-special-benefits {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.mt-special-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 750;
}

.mt-special-benefits i {
  color: var(--mt-catalog-accent);
}

.mt-special-hero-mark {
  position: absolute;
  right: 74px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 13px;
  color: #8f0039;
  transform: rotate(-4deg);
}

.mt-special-hero-mark i {
  color: #c60050;
  font-size: 58px;
}

.mt-special-hero-mark span {
  font: 600 24px/1 "MT Display", serif;
  text-transform: uppercase;
}

.mt-special-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mt-special-results {
  margin-top: 22px;
}

.mt-special-grid .mt-catalog-card {
  border-color: #ead8de;
}

.mt-special-grid .mt-catalog-sale {
  padding: 5px 9px;
  background: linear-gradient(135deg, #9a003d, #ce1a62);
  box-shadow: 0 4px 12px rgba(107, 0, 43, .16);
}

@media (max-width: 900px) {
  .mt-special-hero-mark {
    right: 32px;
    opacity: .6;
  }

  .mt-special-hero-copy {
    max-width: 70%;
  }

  .mt-department-tabs {
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mt-department-tabs::-webkit-scrollbar {
    display: none;
  }

  .mt-department-tabs a {
    min-width: max-content;
    padding: 0 17px;
  }

  .mt-department-tabs a:first-child {
    padding-left: 0;
  }

  .mt-catalog-filters > header {
    position: sticky;
    z-index: 2;
    top: -28px;
    padding-top: 28px;
    background: #fff;
  }

  .mt-filter-dismiss {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: var(--mt-catalog-accent);
    background: transparent;
    font-size: 17px;
    text-decoration: none !important;
  }
}

@media (max-width: 650px) {
  .mt-category-banner > div {
    width: 76%;
  }

  .mt-catalog-toolbar-options {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    order: 4;
  }

  .mt-catalog-toolbar-options label:last-child {
    margin-left: auto;
  }

  .mt-catalog-toolbar-options select {
    max-width: 142px;
  }
}

@media (max-width: 560px) {
  .mt-special-hero {
    min-height: 224px;
    padding: 27px 23px;
  }

  .mt-special-hero-copy {
    max-width: calc(100% - 4px);
  }

  .mt-special-hero h1 {
    max-width: 280px;
    font-size: 31px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .mt-special-hero-copy > p:last-of-type {
    max-width: 270px;
    font-size: 12px;
  }

  .mt-special-benefits {
    display: grid;
    gap: 8px;
  }

  .mt-special-hero-mark {
    right: -21px;
    bottom: 14px;
    opacity: .14;
  }

  .mt-special-hero-mark i {
    font-size: 76px;
  }

  .mt-special-hero-mark span {
    display: none;
  }

  .mt-category-banner > div {
    width: auto;
  }

  .mt-category-banner::after {
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 249, 237, .98) 0%, rgba(255, 249, 237, .88) 58%, rgba(255, 249, 237, .25) 100%);
  }

  .mt-category-eyebrow {
    font-size: 8px;
  }

  .mt-category-intro,
  .mt-category-intro p {
    max-width: 245px;
    font-size: 10px;
  }

  .mt-catalog-card-bottom > p {
    display: grid;
    gap: 1px;
  }

  .mt-catalog-card-bottom form {
    flex: 0 0 44px;
  }

  .mt-catalog-card-bottom button {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border-color: #a90045;
    border-radius: 50%;
    color: #fff;
    background: #a90045;
    font-size: 15px;
    box-shadow: 0 5px 14px rgba(105, 0, 42, .16);
  }

  .mt-catalog-card-bottom button:not(:disabled):hover {
    color: #fff;
    background: #72002e;
  }

  .mt-catalog-wishlist button,
  .mt-catalog-compare button {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .mt-catalog-compare {
    top: 53px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-catalog-page *,
  .mt-catalog-page *::before,
  .mt-catalog-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
