/* Purity header module */
html,
body {
  overflow-x: hidden;
}

body.purity-header--locked {
  overflow: hidden;
}

.purity-header .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 227, 216, 0.95);
}

.purity-header .topbar {
  min-height: var(--topbar-height);
  background: var(--brand);
  color: #fefbf6;
  border-top: 4px solid #234d43;
  overflow: hidden;
}

.purity-header .topbar__inner,
.purity-header .nav__inner {
  width: var(--container);
  margin: 0 auto;
}

.purity-header .topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(var(--topbar-height) - 4px);
  padding: 0 56px;
  font-size: 14px;
  font-weight: 700;
}

.purity-header .topbar__slider {
  flex: 1 1 auto;
  min-width: 0;
}

.purity-header .topbar__slide {
  text-align: center;
}

.purity-header .topbar__slider:not(.is-enhanced) .topbar__slide {
  display: none;
}

.purity-header .topbar__slider:not(.is-enhanced) .topbar__slide.is-active,
.purity-header .topbar__slider:not(.is-enhanced) .topbar__slide:first-child,
.purity-header .topbar__slider.slick-initialized .topbar__slide {
  display: block;
}

.purity-header .topbar__slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--topbar-height) - 4px);
  width: 100%;
}

.purity-header .topbar__message {
  display: block;
  max-width: 100%;
  padding: 0 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.purity-header a.topbar__message {
  color: inherit;
  text-decoration: none;
}

.purity-header a.topbar__message:hover,
.purity-header a.topbar__message:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.purity-header .slick-track {
  display: flex;
  align-items: center;
}

.purity-header .topbar .slick-list,
.purity-header .topbar .slick-track,
.purity-header .topbar .slick-slide,
.purity-header .topbar .slick-slide > div {
  height: 100%;
}

.purity-header .topbar__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.78;
  transition: background 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
  z-index: 2;
}

.purity-header .topbar__arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%) scale(1.04);
}

.purity-header .topbar__arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.68);
  outline-offset: 2px;
  opacity: 1;
}

.purity-header .topbar__arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purity-header .topbar__arrow--prev {
  left: 8px;
}

.purity-header .topbar__arrow--next {
  right: 8px;
}

.purity-header .nav {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
}

.purity-header .nav__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.purity-header .logo {
  flex: 0 0 auto;
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.8px;
  font-style: italic;
}

.purity-header .logo__image {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 62px;
  object-fit: contain;
}

.purity-header .desktop-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.purity-header .menu {
  display: flex;
  align-items: stretch;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.purity-header .menu__item {
  position: static;
}

.purity-header .menu__item--has-simple {
  position: relative;
}

.purity-header .menu__item > a,
.purity-header .menu__button {
  position: relative;
  height: var(--header-height);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #787878;
  transition: color 0.28s ease, transform 0.28s ease;
}

.purity-header .menu__button::after,
.purity-header .menu__item > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 26px;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.purity-header .menu__item:hover > a,
.purity-header .menu__item:hover .menu__button,
.purity-header .menu__item:focus-within > a,
.purity-header .menu__item:focus-within .menu__button,
.purity-header .menu__item--active > a,
.purity-header .menu__item--active .menu__button {
  color: var(--text);
  transform: translateY(-1px);
}

.purity-header .menu__item:hover > a::after,
.purity-header .menu__item:hover .menu__button::after,
.purity-header .menu__item:focus-within > a::after,
.purity-header .menu__item:focus-within .menu__button::after,
.purity-header .menu__item--active > a::after,
.purity-header .menu__item--active .menu__button::after {
  transform: scaleX(1);
}

.purity-header .menu__chevron {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.purity-header .menu__item:hover .menu__chevron,
.purity-header .menu__item:focus-within .menu__chevron {
  transform: rotate(180deg);
}

.purity-header .header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.purity-header .icon-btn,
.purity-header .mobile-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.24s ease, transform 0.24s ease;
}

.purity-header .icon-btn:hover,
.purity-header .mobile-toggle:hover {
  background: rgba(32, 25, 22, 0.08);
  transform: translateY(-1px);
}

.purity-header .icon {
  width: 24px;
  height: 24px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purity-header .icon-badge {
  position: relative;
}

.purity-header .icon-badge::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  background: #ef5c47;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffff;
}

.purity-header .cart-trigger--count {
  position: relative;
}

.purity-header .cart-trigger__count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.purity-header .dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.34s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.34s ease;
  z-index: 3;
}

.purity-header .menu__item:hover .dropdown,
.purity-header .menu__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.purity-header .dropdown__shell {
  width: var(--container);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(233, 227, 216, 0.95);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 26px 64px rgba(24, 28, 27, 0.16);
  overflow: hidden;
}

.purity-header .dropdown__content {
  padding: 38px 34px 40px;
}

.purity-header .dropdown--mega-four .dropdown__content {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr)) minmax(280px, 1.35fr);
  gap: 36px;
  align-items: start;
}

.purity-header .dropdown--mega-two .dropdown__content {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(180px, 0.9fr) minmax(300px, 1.35fr) minmax(300px, 1.35fr);
  gap: 20px;
  align-items: start;
}

.purity-header .dropdown--mega-dynamic .dropdown__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 34px;
  align-items: stretch;
}

.purity-header .dropdown__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 34px;
  align-items: start;
}

.purity-header .mega-image-card {
  position: relative;
  display: block;
  min-height: 258px;
  overflow: hidden;
  border-radius: 24px;
  background: #e6dcc6;
  color: #ffffff;
}

.purity-header .mega-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
  transition: transform 380ms ease;
}

.purity-header .mega-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.35));
}

.purity-header .mega-image-card span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: inline-flex;
  width: max-content;
  max-width: calc(100% - 48px);
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.purity-header .mega-image-card:hover img {
  transform: scale(1.05);
}

.purity-header .dropdown--simple {
  left: 50%;
  right: auto;
  transform: translate(-50%, 14px);
  width: 270px;
}

.purity-header .menu__item:hover .dropdown--simple,
.purity-header .menu__item:focus-within .dropdown--simple {
  transform: translate(-50%, 0);
}

.purity-header .dropdown--simple .dropdown__shell {
  width: 100%;
  border-radius: 0 0 22px 22px;
  overflow: visible;
}

.purity-header .dropdown--simple .dropdown__content {
  position: relative;
  padding: 16px 0;
  overflow: visible;
}

.purity-header .dropdown-column__title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #25282c;
}

.purity-header .dropdown-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.purity-header .dropdown-column a,
.purity-header .dropdown-simple__link {
  position: relative;
  display: inline-block;
  color: #45484e;
  font-size: 17px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.purity-header .dropdown-column a:hover,
.purity-header .dropdown-simple__link:hover {
  color: var(--brand);
  transform: translateX(3px);
}

.purity-header .promo-card {
  min-height: 258px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(228, 216, 191, 0.97) 0%, rgba(239, 231, 214, 0.92) 48%, rgba(232, 224, 204, 0.82) 100%);
  isolation: isolate;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.purity-header .promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(32, 25, 22, 0.08), transparent 28%);
  z-index: -2;
}

.purity-header .promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(32, 25, 22, 0.12);
}

.purity-header .promo-card__media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.purity-header .promo-card__content {
  max-width: 54%;
  padding: 34px 30px;
  display: grid;
  gap: 14px;
}

.purity-header .promo-card__eyebrow {
  font-size: 16px;
  color: var(--brand);
}

.purity-header .promo-card__title {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--brand);
  letter-spacing: -0.03em;
}

.purity-header .promo-card__button {
  margin-top: 18px;
  width: max-content;
  min-width: 174px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.purity-header .promo-card__button:hover {
  background: #173d35;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 61, 53, 0.22);
}

.purity-header .dropdown-simple__link {
  display: block;
  padding: 13px 28px;
  font-size: 18px;
}

.purity-header .dropdown-simple__link:hover {
  background: rgba(32, 25, 22, 0.06);
  transform: none;
}

.purity-header .dropdown-simple__item {
  position: relative;
}

.purity-header .dropdown-simple__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.purity-header .dropdown-simple__arrow {
  color: #9a9ea4;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.purity-header .dropdown-simple__sub {
  position: absolute;
  top: -12px;
  left: calc(100% - 8px);
  z-index: 12;
  display: grid;
  min-width: 230px;
  gap: 6px;
  padding: 14px 0;
  border: 1px solid rgba(233, 227, 216, 0.95);
  border-radius: 0 18px 18px 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(24, 28, 27, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.purity-header .dropdown-simple__sub a {
  display: block;
  padding: 9px 22px;
  color: #62666d;
  font-size: 16px;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}

.purity-header .dropdown-simple__item:hover > .dropdown-simple__sub,
.purity-header .dropdown-simple__item:focus-within > .dropdown-simple__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.purity-header .dropdown-simple__item:hover > .dropdown-simple__link .dropdown-simple__arrow,
.purity-header .dropdown-simple__item:focus-within > .dropdown-simple__link .dropdown-simple__arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.purity-header .dropdown-simple__sub a:hover {
  color: var(--brand);
  transform: translateX(3px);
}

.purity-header .mobile-toggle,
.purity-header .mobile-nav,
.purity-header .mobile-nav-overlay,
.purity-header #mobile-menu-toggle {
  display: none;
}


.purity-header .search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 32, 38, 0.24);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease, backdrop-filter 0.42s ease;
  z-index: 120;
}

.purity-header .search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.purity-header .search-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100vh;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.purity-header .search-panel.is-open {
  transform: translateX(0);
  box-shadow: -18px 0 52px rgba(24, 28, 27, 0.12);
}

.purity-header .search-panel__header,
.purity-header .search-panel__body {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.purity-header .search-panel.is-open .search-panel__header,
.purity-header .search-panel.is-open .search-panel__body {
  opacity: 1;
  transform: translateY(0);
}

.purity-header .search-panel.is-open .search-panel__body {
  transition-delay: 0.06s;
}

.purity-header .search-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 16px 32px;
  border-bottom: 1px solid rgba(233, 227, 216, 0.95);
}

.purity-header .search-panel__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #111318;
}

.purity-header .search-panel__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f1ede7;
  color: #565a61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.purity-header .search-panel__close:hover {
  background: #e8e2d8;
  color: #1f2026;
  transform: rotate(45deg) scale(1.03);
}

.purity-header .search-panel__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purity-header .search-panel__body {
  padding: 22px 32px 28px;
  overflow-y: auto;
}

.purity-header .search-form {
  position: relative;
  margin-bottom: 18px;
}

.purity-header .search-form__icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  stroke: #1f2026;
  fill: none;
  stroke-width: 1.8;
  pointer-events: none;
}

.purity-header .search-form__input {
  width: 100%;
  height: 64px;
  border-radius: 999px;
  border: 1.5px solid rgba(31, 32, 38, 0.55);
  background: #f6f1e7;
  padding: 0 24px 0 62px;
  font-size: 16px;
  color: #1f2026;
  outline: none;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.purity-header .search-form__input:focus {
  border-color: var(--brand);
  background: #fcfaf5;
  box-shadow: 0 0 0 4px rgba(32, 25, 22, 0.06);
  transform: translateY(-1px);
}

.purity-header .search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(233, 227, 216, 0.95);
}

.purity-header .search-tag {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  color: #2b2e35;
  cursor: pointer;
  transition: color 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

.purity-header .search-tag:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.purity-header .search-panel__suggestions {
  padding-top: 30px;
}

.purity-header .search-panel__label {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
  color: #25282c;
}

.purity-header .search-smart__hint {
  margin: -8px 0 22px;
  color: #7a756b;
  font-size: 14px;
  line-height: 1.5;
}

.purity-header .search-smart__status,
.purity-header .search-smart__empty {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f7f1e7;
  color: #4c5048;
  font-size: 14px;
  line-height: 1.5;
}

.purity-header .search-smart__status.is-visible,
.purity-header .search-smart__empty {
  display: block;
}

.purity-header .search-list {
  display: grid;
  gap: 18px;
}

.purity-header .search-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  color: inherit;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.purity-header .search-item:hover {
  transform: translateX(4px);
}

.purity-header .search-item__thumb {
  width: 82px;
  height: 106px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f0e7 0%, #efe7d8 100%);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.purity-header .search-item:hover .search-item__thumb {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(24, 28, 27, 0.1);
}

.purity-header .search-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purity-header .search-item__thumb--text {
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
}

.purity-header .search-item__content {
  display: grid;
  gap: 8px;
}

.purity-header .search-item__title {
  font-size: 16px;
  font-weight: 500;
  color: #1e2127;
}

.purity-header .search-item__price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
  color: #1f2026;
}

.purity-header .search-item__price s {
  color: #9b9488;
}

.purity-header .search-smart__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.purity-header .search-smart__view-all:hover {
  background: #1b463e;
  color: #fff;
  transform: translateY(-1px);
}

.purity-header .search-smart__view-all[hidden] {
  display: none;
}

.purity-header .cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 22, 19, 0.46);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease, backdrop-filter 0.42s ease;
  z-index: 10025;
}

.purity-header .cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.purity-header .cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(478px, 100vw);
  height: 100vh;
  background: #ffffff;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  z-index: 10030;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.purity-header .cart-panel.is-open {
  transform: translateX(0);
  box-shadow: -26px 0 80px rgba(14, 30, 24, 0.3);
}

.purity-header .cart-panel__header,
.purity-header .cart-panel__body,
.purity-header .cart-panel__footer {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.purity-header .cart-panel.is-open .cart-panel__header,
.purity-header .cart-panel.is-open .cart-panel__body,
.purity-header .cart-panel.is-open .cart-panel__footer {
  opacity: 1;
  transform: translateY(0);
}

.purity-header .cart-panel.is-open .cart-panel__body {
  transition-delay: 0.05s;
}

.purity-header .cart-panel.is-open .cart-panel__footer {
  transition-delay: 0.1s;
}

.purity-header .cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 32px;
  border-bottom: 1px solid rgba(233, 227, 216, 0.95);
}

.purity-header .cart-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #16181d;
}

.purity-header .cart-panel__count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.purity-header .cart-panel__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f1ede7;
  color: #565a61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.purity-header .cart-panel__close:hover {
  background: #e8e2d8;
  color: #1f2026;
  transform: rotate(45deg) scale(1.03);
}

.purity-header .cart-panel__close svg,
.purity-header .cart-item__remove svg,
.purity-header .cart-checkout__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purity-header .cart-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 32px 0;
}

.purity-header .cart-items {
  display: grid;
}

.purity-header .cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(233, 227, 216, 0.95);
}

.purity-header .cart-item__thumb {
  width: 90px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f0e7 0%, #efe7d8 100%);
}

.purity-header .cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purity-header .cart-item__content {
  display: grid;
  gap: 12px;
  align-content: start;
}

.purity-header .cart-item__top {
  display: grid;
  gap: 8px;
}

.purity-header .cart-item__title {
  font-size: 16px;
  font-weight: 500;
  color: #1d2026;
}

.purity-header .cart-item__variant {
  font-size: 13px;
  line-height: 1.4;
  color: #777b82;
}

.purity-header .cart-item__price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 16px;
  color: #1f2026;
}

.purity-header .cart-item__price strong {
  color: #e15642;
  font-weight: 700;
}

.purity-header .cart-item__price s {
  color: #6d7178;
}

.purity-header .cart-qty {
  display: inline-grid;
  grid-template-columns: 36px minmax(24px, auto) 36px;
  align-items: center;
  width: max-content;
  min-height: 40px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.purity-header .cart-qty button,
.purity-header .cart-qty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  color: #2b2e35;
}

.purity-header .cart-qty button {
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.purity-header .cart-qty button:hover {
  background: #f6f2eb;
  color: var(--brand);
}

.purity-header .cart-qty span {
  min-width: 34px;
  font-size: 15px;
  font-weight: 600;
}

.purity-header .cart-item__remove {
  border: 0;
  background: transparent;
  color: #6a6f76;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.purity-header .cart-item__remove:hover {
  background: #f5efe6;
  color: #1f2026;
}

.purity-header .cart-item.is-updating {
  opacity: 0.55;
  pointer-events: none;
}

.purity-header .cart-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: 28px 0 38px;
}

.purity-header .cart-empty img {
  width: 118px;
  max-width: 42%;
  opacity: 0.9;
}

.purity-header .cart-empty h3 {
  margin: 8px 0 0;
  font-size: 22px;
  color: #1d2026;
}

.purity-header .cart-empty p {
  max-width: 320px;
  margin: 0;
  color: #63676f;
  line-height: 1.55;
}

.purity-header .cart-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.purity-header .cart-panel__footer {
  border-top: 1px solid rgba(216, 225, 215, 0.95);
  padding: 20px 20px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #ffffff 28%),
    #ffffff;
  box-shadow: 0 -22px 46px rgba(20, 47, 38, 0.14);
  flex: 0 0 auto;
}

.purity-header .cart-panel__footer-inner {
  padding: 18px;
  border: 1px solid rgba(210, 225, 214, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(22, 56, 45, 0.16);
}

.purity-header .cart-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.purity-header .cart-total__label,
.purity-header .cart-total__value {
  font-size: 24px;
  font-weight: 800;
  color: #111318;
}

.purity-header .cart-total__value {
  color: #0f3f34;
}

.purity-header .cart-note {
  margin: 0 0 22px;
  font-size: 14px;
  color: #5f6870;
  line-height: 1.45;
}

.purity-header .cart-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.purity-header .cart-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
}

.purity-header .cart-view,
.purity-header .cart-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(22, 86, 70, 0.12);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.purity-header .cart-view {
  border: 1.5px solid #185648;
  background: #ffffff;
  color: #185648;
}

.purity-header .cart-checkout {
  border: 0;
  background: linear-gradient(135deg, #1e6a58 0%, #0f4f42 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.purity-header .cart-view:hover,
.purity-header .cart-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(22, 86, 70, 0.2);
}

.purity-header .cart-checkout:hover {
  background: #173d35;
}

.purity-header .cart-checkout__icon {
  display: inline-flex;
  align-items: center;
  color: currentColor;
}

.purity-header .offers-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 32, 38, 0.24);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease, backdrop-filter 0.42s ease;
  z-index: 120;
}

.purity-header .offers-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.purity-header .offers-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(446px, 100vw);
  bottom: 0;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.purity-header .offers-panel.is-open {
  transform: translateX(0);
  box-shadow: -18px 0 52px rgba(24, 28, 27, 0.12);
}

.purity-header .offers-panel__header,
.purity-header .offers-panel__body {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.purity-header .offers-panel.is-open .offers-panel__header,
.purity-header .offers-panel.is-open .offers-panel__body {
  opacity: 1;
  transform: translateY(0);
}

.purity-header .offers-panel.is-open .offers-panel__body {
  transition-delay: 0.06s;
}

.purity-header .offers-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 32px;
  border-bottom: 1px solid rgba(233, 227, 216, 0.95);
}

.purity-header .offers-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #16181d;
}

.purity-header .offers-panel__count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.purity-header .offers-panel__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f1ede7;
  color: #565a61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.purity-header .offers-panel__close:hover {
  background: #e8e2d8;
  color: #1f2026;
  transform: rotate(45deg) scale(1.03);
}

.purity-header .offers-panel__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purity-header .offers-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 30px 20px 30px;
  display: grid;
  gap: 20px;
}

.purity-header .offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #1e1b18;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purity-header .offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.18);
}

.purity-header .offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.purity-header .offer-card:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.92) 100%);
}

.purity-header .offer-card__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.purity-header .offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.purity-header .offer-card:hover .offer-card__media img {
  transform: scale(1.06);
}

.purity-header .offer-card__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
}

.purity-header .offer-card__title {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.purity-header .offer-card__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.purity-header .offer-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.purity-header .offer-card__button:hover {
  background: #ffffff;
  color: #1a1715;
  border-color: #ffffff;
  transform: translateY(-1px);
}


@media (max-width: 1220px) {
  .purity-header .dropdown--mega-dynamic .dropdown__content {
    grid-template-columns: 1fr;
  }

  .purity-header .dropdown__columns {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .purity-header .dropdown--mega-four .dropdown__content {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
  }

  .purity-header .dropdown--mega-four .promo-card {
    grid-column: 1 / -1;
  }

  .purity-header .dropdown--mega-two .dropdown__content {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 32px, 1000px);
    --header-height: 76px;
    --mobile-nav-width: min(84vw, 340px);
  }

  .purity-header .desktop-nav {
    display: none;
  }

  .purity-header .header-actions .offers-trigger {
    display: none;
  }

  .purity-header .mobile-toggle {
    display: inline-flex;
  }

  .purity-header #mobile-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .purity-header .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: block;
    background: rgba(12, 20, 16, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .purity-header .mobile-nav {
    position: fixed;
    top: 0;
    right: calc(var(--mobile-nav-width) * -1);
    z-index: 10031;
    display: block;
    width: var(--mobile-nav-width);
    height: 100vh;
    overflow: hidden;
    background: #fffdf8;
    border-left: 1px solid rgba(199, 215, 187, 0.86);
    box-shadow: -18px 0 48px rgba(12, 20, 16, 0.16);
    visibility: hidden;
    pointer-events: none;
    transition: right 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.36s ease;
  }

  .purity-header #mobile-menu-toggle:checked ~ .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .purity-header #mobile-menu-toggle:checked ~ .mobile-nav {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .purity-header .mobile-nav__inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .purity-header .mobile-nav__header {
    flex: 0 0 auto;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px 10px 18px;
    border-bottom: 1px solid rgba(201, 217, 187, 0.8);
    background: linear-gradient(90deg, #f5faef 0%, #fff8ec 100%);
  }

  .purity-header .mobile-nav__header strong {
    color: #253025;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    position: relative;
    padding-left: 14px;
  }

  .purity-header .mobile-nav__header strong::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 18px;
    border-radius: 99px;
    background: #6fbf45;
    transform: translateY(-50%);
  }

  .purity-header .mobile-nav__close {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(223, 232, 217, 0.96);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    color: #315d2c;
    cursor: pointer;
  }

  .purity-header .mobile-nav__close .icon {
    width: 16px;
    height: 16px;
  }

  .purity-header .mobile-list,
  .purity-header .mobile-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .purity-header .mobile-list {
    display: block;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 12px 18px;
  }

  .purity-header .mobile-item {
    position: relative;
    border: 0;
    border-bottom: 1px solid rgba(219, 227, 210, 0.9);
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .purity-header .mobile-item::before {
    content: "";
    position: absolute;
    inset: 10px auto 10px 0;
    width: 3px;
    border-radius: 99px;
    background: #6fbf45;
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .purity-header .mobile-item:hover::before,
  .purity-header .mobile-item:focus-within::before {
    opacity: 1;
  }

  .purity-header .mobile-link,
  .purity-header .mobile-summary,
  .purity-header .mobile-subsummary {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    min-height: 42px;
    padding: 9px 6px 9px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #253025;
    text-decoration: none;
    outline: 0;
  }

  .purity-header .mobile-summary,
  .purity-header .mobile-subsummary {
    cursor: pointer;
  }

  .purity-header .mobile-link:focus,
  .purity-header .mobile-summary:focus,
  .purity-header .mobile-subsummary:focus,
  .purity-header .mobile-sublist a:focus,
  .purity-header .mobile-grandlist a:focus {
    outline: 0;
  }

  .purity-header .mobile-link:focus-visible,
  .purity-header .mobile-summary:focus-visible,
  .purity-header .mobile-subsummary:focus-visible,
  .purity-header .mobile-sublist a:focus-visible,
  .purity-header .mobile-grandlist a:focus-visible {
    border-radius: 8px;
    background: rgba(111, 191, 69, 0.1);
    box-shadow: inset 0 0 0 1px rgba(111, 191, 69, 0.22);
  }

  .purity-header .mobile-summary span,
  .purity-header .mobile-subsummary span {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    position: relative;
    border: 1px solid rgba(117, 166, 91, 0.24);
    border-radius: 8px;
    background: linear-gradient(180deg, #f6fbf1 0%, #e8f4df 100%);
    color: #315d2c;
    font-size: 0;
    font-weight: 800;
    box-shadow: 0 2px 7px rgba(49, 93, 44, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .purity-header .mobile-summary span::before,
  .purity-header .mobile-summary span::after,
  .purity-header .mobile-subsummary span::before,
  .purity-header .mobile-subsummary span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .purity-header .mobile-summary span::after,
  .purity-header .mobile-subsummary span::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .purity-header .mobile-item details[open] > .mobile-summary span,
  .purity-header .mobile-sublist details[open] > .mobile-subsummary span {
    border-color: #315d2c;
    background: #315d2c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(49, 93, 44, 0.16);
  }

  .purity-header .mobile-item details[open] > .mobile-summary span::after,
  .purity-header .mobile-sublist details[open] > .mobile-subsummary span::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .purity-header details > summary {
    list-style: none;
  }

  .purity-header details > summary::-webkit-details-marker {
    display: none;
  }

  .purity-header .mobile-sublist {
    padding: 0 0 10px 18px;
    display: grid;
    gap: 5px;
    color: #555961;
  }

  .purity-header .mobile-subsummary {
    min-height: 34px;
    padding: 2px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #3c4148;
  }

  .purity-header .mobile-grandlist {
    display: grid;
    gap: 5px;
    margin: 6px 0 3px;
    padding: 0 0 0 12px;
    list-style: none;
    border-left: 1px solid rgba(49, 93, 44, 0.18);
  }

  .purity-header .mobile-grandlist a {
    color: #6a7078;
    font-size: 13px;
    text-decoration: none;
  }

  .purity-header .mobile-sublist a {
    padding: 2px 0;
    font-size: 13.5px;
    color: #596654;
    text-decoration: none;
  }

  .purity-header .search-panel {
    width: min(100vw, 440px);
  }

  .purity-header .cart-panel {
    width: min(100vw, 460px);
  }

  .purity-header .offers-panel {
    width: min(100vw, 430px);
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 20px);
  }

  .purity-header .topbar__inner {
    font-size: 12px;
    padding: 10px 18px;
  }

  .purity-header .topbar__slide-inner {
    min-height: auto;
  }

  .purity-header .topbar__message {
    padding: 0 22px;
  }

  .purity-header .topbar__arrow {
    width: 28px;
    height: 28px;
  }

  .purity-header .search-panel {
    width: 100vw;
  }

  .purity-header .cart-panel {
    width: 100vw;
  }

  .purity-header .offers-panel {
    width: 100vw;
  }

  .purity-header .search-panel__header {
    padding: 14px 14px 14px 20px;
  }

  .purity-header .search-panel__body {
    padding: 18px 20px 24px;
  }

  .purity-header .cart-panel__header {
    padding: 14px 14px 14px 20px;
  }

  .purity-header .cart-panel__body {
    padding: 16px 20px 0;
  }

  .purity-header .cart-panel__footer {
    padding: 16px 14px 28px;
  }

  .purity-header .cart-panel__footer-inner {
    padding: 10px 6px 0;
  }

  .purity-header .offers-panel__header {
    padding: 14px 14px 14px 20px;
  }

  .purity-header .offers-panel__body {
    padding: 16px 20px 22px;
  }

  .purity-header .search-form__input {
    height: 58px;
    font-size: 15px;
  }

  .purity-header .search-tags {
    gap: 14px 16px;
  }

  .purity-header .search-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .purity-header .search-item__thumb {
    width: 72px;
    height: 94px;
  }

  .purity-header .cart-item {
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
  }

  .purity-header .cart-item__thumb {
    width: 76px;
    height: 100px;
  }

  .purity-header .cart-actions {
    grid-template-columns: 1fr;
  }

  .purity-header .logo {
    font-size: 26px;
  }

  .purity-header .header-actions {
    gap: 0;
  }

  .purity-header .icon-btn,
  .purity-header .mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .purity-header .offer-card__media {
    min-height: 168px;
  }
}

/* Luxury villa header redesign */
.purity-header {
  --luxury-header-bg: rgba(15, 15, 13, 0.88);
  --luxury-header-bg-solid: #0f0f0d;
  --luxury-ink: #fffaf1;
  --luxury-muted: rgba(255, 250, 241, 0.68);
  --luxury-line: rgba(255, 250, 241, 0.14);
  --luxury-gold: #c8a66a;
  --luxury-gold-soft: #ead6aa;
  --brand: #c8a66a;
  --text: #fffaf1;
}

.purity-header .site-header {
  background: var(--luxury-header-bg);
  border-bottom: 1px solid var(--luxury-line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.purity-header .topbar {
  min-height: 38px;
  background:
    linear-gradient(90deg, rgba(200, 166, 106, 0.24), rgba(255, 250, 241, 0.05), rgba(200, 166, 106, 0.16)),
    #171612;
  color: var(--luxury-ink);
  border-top: 0;
  border-bottom: 1px solid rgba(200, 166, 106, 0.2);
}

.purity-header .topbar__inner {
  min-height: 38px;
  padding: 0 54px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.purity-header .topbar__slide-inner {
  min-height: 38px;
}

.purity-header .topbar__message {
  color: rgba(255, 250, 241, 0.86);
}

.purity-header .topbar__arrow {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  color: var(--luxury-gold-soft);
}

.purity-header .topbar__arrow:hover {
  background: rgba(200, 166, 106, 0.16);
  border-color: rgba(200, 166, 106, 0.5);
}

.purity-header .nav {
  background: transparent;
}

.purity-header .nav__inner {
  min-height: 82px;
  gap: 28px;
}

.purity-header .logo {
  color: var(--luxury-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-style: normal;
  text-transform: uppercase;
}

.purity-header .logo__image {
  max-width: 172px;
  max-height: 54px;
  filter: brightness(1.08) contrast(1.02);
}

.purity-header .menu {
  gap: 2px;
}

.purity-header .menu__item > a,
.purity-header .menu__button {
  height: 82px;
  padding: 0 13px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purity-header .menu__button::after,
.purity-header .menu__item > a::after {
  left: 13px;
  right: 13px;
  bottom: 24px;
  height: 1px;
  background: var(--luxury-gold);
}

.purity-header .menu__item:hover > a,
.purity-header .menu__item:hover .menu__button,
.purity-header .menu__item:focus-within > a,
.purity-header .menu__item:focus-within .menu__button,
.purity-header .menu__item--active > a,
.purity-header .menu__item--active .menu__button {
  color: var(--luxury-ink);
}

.purity-header .icon-btn,
.purity-header .mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 241, 0.13);
  background: rgba(255, 250, 241, 0.05);
  color: var(--luxury-ink);
}

.purity-header .icon-btn:hover,
.purity-header .mobile-toggle:hover {
  background: rgba(200, 166, 106, 0.16);
  border-color: rgba(200, 166, 106, 0.5);
}

.purity-header .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.purity-header .icon-badge::after,
.purity-header .cart-trigger__count,
.purity-header .offers-panel__count,
.purity-header .cart-panel__count {
  background: var(--luxury-gold);
  color: #11100d;
  box-shadow: 0 0 0 2px #11100d;
}

.purity-header .dropdown__shell {
  background: rgba(17, 16, 13, 0.98);
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-top: 1px solid rgba(200, 166, 106, 0.24);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.purity-header .dropdown__content {
  padding: 34px;
}

.purity-header .dropdown-column__title {
  color: var(--luxury-ink);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purity-header .dropdown-column a,
.purity-header .dropdown-simple__link,
.purity-header .dropdown-simple__sub a {
  color: rgba(255, 250, 241, 0.72);
  font-size: 15px;
}

.purity-header .dropdown-column a:hover,
.purity-header .dropdown-simple__link:hover,
.purity-header .dropdown-simple__sub a:hover {
  color: var(--luxury-gold-soft);
}

.purity-header .dropdown--simple .dropdown__shell,
.purity-header .dropdown-simple__sub {
  background: rgba(17, 16, 13, 0.98);
  border-color: rgba(255, 250, 241, 0.12);
}

.purity-header .dropdown-simple__link:hover {
  background: rgba(200, 166, 106, 0.12);
}

.purity-header .mega-image-card {
  border-radius: 8px;
  background: #1a1814;
}
}
}

/* Luxury villa header redesign */
.purity-header {
  --luxury-header-bg: rgba(15, 15, 13, 0.88);
  --luxury-header-bg-solid: #0f0f0d;
  --luxury-ink: #fffaf1;
  --luxury-muted: rgba(255, 250, 241, 0.68);
  --luxury-line: rgba(255, 250, 241, 0.14);
  --luxury-gold: #c8a66a;
  --luxury-gold-soft: #ead6aa;
  --brand: #c8a66a;
  --text: #fffaf1;
}

.purity-header .site-header {
  background: var(--luxury-header-bg);
  border-bottom: 1px solid var(--luxury-line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.purity-header .topbar {
  min-height: 38px;
  background:
    linear-gradient(90deg, rgba(200, 166, 106, 0.24), rgba(255, 250, 241, 0.05), rgba(200, 166, 106, 0.16)),
    #171612;
  color: var(--luxury-ink);
  border-top: 0;
  border-bottom: 1px solid rgba(200, 166, 106, 0.2);
}

.purity-header .topbar__inner {
  min-height: 38px;
  padding: 0 54px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.purity-header .topbar__slide-inner {
  min-height: 38px;
}

.purity-header .topbar__message {
  color: rgba(255, 250, 241, 0.86);
}

.purity-header .topbar__arrow {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  color: var(--luxury-gold-soft);
}

.purity-header .topbar__arrow:hover {
  background: rgba(200, 166, 106, 0.16);
  border-color: rgba(200, 166, 106, 0.5);
}

.purity-header .nav {
  background: transparent;
}

.purity-header .nav__inner {
  min-height: 82px;
  gap: 28px;
}

.purity-header .logo {
  color: var(--luxury-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-style: normal;
  text-transform: uppercase;
}

.purity-header .logo__image {
  max-width: 172px;
  max-height: 54px;
  filter: brightness(1.08) contrast(1.02);
}

.purity-header .menu {
  gap: 2px;
}

.purity-header .menu__item > a,
.purity-header .menu__button {
  height: 82px;
  padding: 0 13px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purity-header .menu__button::after,
.purity-header .menu__item > a::after {
  left: 13px;
  right: 13px;
  bottom: 24px;
  height: 1px;
  background: var(--luxury-gold);
}

.purity-header .menu__item:hover > a,
.purity-header .menu__item:hover .menu__button,
.purity-header .menu__item:focus-within > a,
.purity-header .menu__item:focus-within .menu__button,
.purity-header .menu__item--active > a,
.purity-header .menu__item--active .menu__button {
  color: var(--luxury-ink);
}

.purity-header .icon-btn,
.purity-header .mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 241, 0.13);
  background: rgba(255, 250, 241, 0.05);
  color: var(--luxury-ink);
}

.purity-header .icon-btn:hover,
.purity-header .mobile-toggle:hover {
  background: rgba(200, 166, 106, 0.16);
  border-color: rgba(200, 166, 106, 0.5);
}

.purity-header .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.purity-header .icon-badge::after,
.purity-header .cart-trigger__count,
.purity-header .offers-panel__count,
.purity-header .cart-panel__count {
  background: var(--luxury-gold);
  color: #11100d;
  box-shadow: 0 0 0 2px #11100d;
}

.purity-header .dropdown__shell {
  background: rgba(17, 16, 13, 0.98);
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-top: 1px solid rgba(200, 166, 106, 0.24);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.purity-header .dropdown__content {
  padding: 34px;
}

.purity-header .dropdown-column__title {
  color: var(--luxury-ink);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purity-header .dropdown-column a,
.purity-header .dropdown-simple__link,
.purity-header .dropdown-simple__sub a {
  color: rgba(255, 250, 241, 0.72);
  font-size: 15px;
}

.purity-header .dropdown-column a:hover,
.purity-header .dropdown-simple__link:hover,
.purity-header .dropdown-simple__sub a:hover {
  color: var(--luxury-gold-soft);
}

.purity-header .dropdown--simple .dropdown__shell,
.purity-header .dropdown-simple__sub {
  background: rgba(17, 16, 13, 0.98);
  border-color: rgba(255, 250, 241, 0.12);
}

.purity-header .dropdown-simple__link:hover {
  background: rgba(200, 166, 106, 0.12);
}

.purity-header .mega-image-card {
  border-radius: 8px;
  background: #1a1814;
}

.purity-header .mega-image-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.62));
}

.purity-header .mega-image-card span {
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 0;
  background: rgba(17, 16, 13, 0.78);
  color: var(--luxury-ink);
}

.purity-header .search-overlay,
.purity-header .offers-overlay,
.purity-header .cart-overlay {
  background: rgba(10, 10, 9, 0.66);
  backdrop-filter: blur(5px);
}

.purity-header .search-panel,
.purity-header .offers-panel,
.purity-header .cart-panel {
  background: #11100d;
  color: var(--luxury-ink);
  box-shadow: none; /* Tắt bóng mặc định khi đang ẩn */
}

.purity-header .search-panel.is-open,
.purity-header .offers-panel.is-open,
.purity-header .cart-panel.is-open {
  box-shadow: -24px 0 74px rgba(0, 0, 0, 0.46); /* Chỉ hiện bóng khi panel mở */
}

.purity-header .search-panel__header,
.purity-header .offers-panel__header,
.purity-header .cart-panel__header {
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  background:
    linear-gradient(90deg, rgba(200, 166, 106, 0.16), rgba(255, 250, 241, 0.03)),
    #11100d;
}

.purity-header .search-panel__title,
.purity-header .offers-panel__title,
.purity-header .cart-panel__title {
  color: var(--luxury-ink);
  font-size: 21px;
  letter-spacing: 0.02em;
}

.purity-header .search-panel__close,
.purity-header .offers-panel__close,
.purity-header .cart-panel__close {
  background: rgba(255, 250, 241, 0.08);
  color: var(--luxury-ink);
}

.purity-header .search-panel__close:hover,
.purity-header .offers-panel__close:hover,
.purity-header .cart-panel__close:hover {
  background: rgba(200, 166, 106, 0.16);
  color: var(--luxury-gold-soft);
}

.purity-header .search-form__input {
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 0;
  background: rgba(255, 250, 241, 0.06);
  color: var(--luxury-ink);
}

.purity-header .search-form__input::placeholder {
  color: rgba(255, 250, 241, 0.48);
}

.purity-header .search-form__input:focus {
  border-color: rgba(200, 166, 106, 0.7);
  background: rgba(255, 250, 241, 0.08);
  box-shadow: 0 0 0 3px rgba(200, 166, 106, 0.12);
}

.purity-header .search-form__icon,
.purity-header .search-panel__label,
.purity-header .search-item__title {
  color: var(--luxury-ink);
  stroke: var(--luxury-gold-soft);
}

.purity-header .search-smart__hint,
.purity-header .search-item__meta,
.purity-header .search-smart__status,
.purity-header .search-smart__empty {
  color: var(--luxury-muted);
}

.purity-header .search-smart__status,
.purity-header .search-smart__empty {
  border: 1px solid rgba(255, 250, 241, 0.12);
  background: rgba(255, 250, 241, 0.06);
}

.purity-header .search-smart__view-all,
.purity-header .cart-empty a,
.purity-header .offer-card__button {
  border-radius: 0;
  background: var(--luxury-gold);
  color: #11100d;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.purity-header .offers-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
  display: grid;
  gap: 18px;
  min-height: 0;
}

.purity-header .offer-card {
  display: flex;
  flex-direction: column;
  min-height: max-content;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 0;
  background: rgba(255, 250, 241, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.purity-header .offer-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 178px;
  overflow: hidden;
  background: #1a1814;
}

.purity-header .offer-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.purity-header .offer-card:hover .offer-card__media img {
  transform: scale(1.045);
}

.purity-header .offer-card__content {
  display: grid;
  gap: 12px;
  padding: 22px;
  text-align: left;
}

.purity-header .offer-card__title {
  margin: 0;
  color: var(--luxury-ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.purity-header .offer-card__text {
  margin: 0;
  color: var(--luxury-muted);
  font-size: 14px;
  line-height: 1.65;
}

.purity-header .offer-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 42px;
  margin-top: 6px;
  padding: 0 18px;
  font-size: 11px;
}

.purity-header .cart-panel__body {
  background: #11100d;
}

.purity-header .cart-item {
  border-bottom: 1px solid rgba(255, 250, 241, 0.1);
}

.purity-header .cart-item__title,
.purity-header .cart-total__label,
.purity-header .cart-total__value,
.purity-header .cart-empty h3 {
  color: var(--luxury-ink);
}

.purity-header .cart-item__variant,
.purity-header .cart-empty p,
.purity-header .cart-note {
  color: var(--luxury-muted);
}

.purity-header .cart-item__price strong,
.purity-header .cart-total__value {
  color: var(--luxury-gold-soft);
}

.purity-header .cart-qty,
.purity-header .cart-panel__footer-inner {
  border-color: rgba(255, 250, 241, 0.12);
  background: rgba(255, 250, 241, 0.06);
}

.purity-header .cart-qty button,
.purity-header .cart-qty span,
.purity-header .cart-item__remove {
  color: var(--luxury-ink);
}

.purity-header .cart-panel__footer {
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  background: #11100d;
  box-shadow: 0 -24px 56px rgba(0, 0, 0, 0.28);
}

.purity-header .cart-view {
  border-color: rgba(200, 166, 106, 0.72);
  border-radius: 0;
  background: transparent;
  color: var(--luxury-gold-soft);
}

.purity-header .cart-checkout {
  border-radius: 0;
  background: var(--luxury-gold);
  color: #11100d;
}

.purity-header .cart-view:hover,
.purity-header .cart-checkout:hover,
.purity-header .offer-card__button:hover,
.purity-header .search-smart__view-all:hover,
.purity-header .cart-empty a:hover {
  background: var(--luxury-gold-soft);
  color: #11100d;
}

@media (max-width: 980px) {
  .purity-header .nav__inner {
    min-height: 72px;
  }

  .purity-header .mobile-nav {
    background: #11100d;
    border-left: 1px solid rgba(255, 250, 241, 0.12);
  }

  .purity-header .mobile-nav__header {
    border-bottom: 1px solid rgba(255, 250, 241, 0.12);
    background: #171612;
  }

  .purity-header .mobile-nav__header strong,
  .purity-header .mobile-link,
  .purity-header .mobile-summary,
  .purity-header .mobile-subsummary {
    color: var(--luxury-ink);
  }

  .purity-header .mobile-nav__header strong::before,
  .purity-header .mobile-item::before {
    background: var(--luxury-gold);
  }

  .purity-header .mobile-nav__close,
  .purity-header .mobile-summary span,
  .purity-header .mobile-subsummary span {
    border-color: rgba(255, 250, 241, 0.14);
    background: rgba(255, 250, 241, 0.06);
    color: var(--luxury-gold-soft);
  }

  .purity-header .mobile-item {
    border-bottom: 1px solid rgba(255, 250, 241, 0.1);
  }

  .purity-header .mobile-sublist a,
  .purity-header .mobile-grandlist a {
    color: var(--luxury-muted);
  }

  .purity-header .icon-btn,
  .purity-header .mobile-toggle {
    width: 40px;
    height: 40px;
    background: transparent !important; /* Xóa nền */
    border: none !important;             /* Xóa viền */
    box-shadow: none !important;         /* Xóa bóng */
  }

  .purity-header .icon-btn:hover,
  .purity-header .mobile-toggle:hover {
    background: transparent !important;
    border-color: transparent !important;
  }
}

@media (max-width: 640px) {
  .purity-header .topbar__inner {
    padding: 8px 40px;
    font-size: 10px;
  }

  .purity-header .logo__image {
    max-width: 138px;
  }
}

/* Premium SVG Luxury Logo Styles */
.purity-header .luxury-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.purity-header .luxury-logo__icon {
  width: 44px;
  height: 44px;
  color: #d4af37;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.purity-header .luxury-logo:hover .luxury-logo__icon {
  transform: scale(1.08) rotate(3deg);
}
.purity-header .luxury-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}
.purity-header .luxury-logo__text .brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  transition: color 0.3s ease;
}
.purity-header .luxury-logo__text .brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #9c978e;
  margin-top: 5px;
}
.purity-header .luxury-logo:hover .brand-name {
  color: #d4af37;
}

.farm-footer .luxury-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}
.farm-footer .luxury-logo__icon {
  width: 44px;
  height: 44px;
  color: #d4af37;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.farm-footer .luxury-logo:hover .luxury-logo__icon {
  transform: scale(1.08) rotate(3deg);
}
.farm-footer .luxury-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}
.farm-footer .luxury-logo__text .brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  transition: color 0.3s ease;
}
.farm-footer .luxury-logo__text .brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #c7c2ba;
  margin-top: 5px;
}
.farm-footer .luxury-logo:hover .brand-name {
  color: #d4af37;
}
