* {
  box-sizing: border-box;
}

:root {
  --ink: #2f2f2f;
  --muted: #6b6867;
  --line: #e5e0dd;
  --soft: #fbede7;
  --paper: #ffffff;
  --font-fa: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-fa);
  direction: rtl;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-top: 1px solid #ddd;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(300px, 430px) max-content;
  align-items: center;
  column-gap: 34px;
  row-gap: 18px;
  min-height: 92px;
  padding: 18px 48px 14px;
}

.brand {
  font-family: var(--font-fa);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
  color: #343434;
  white-space: nowrap;
}

.search {
  position: relative;
  width: 100%;
  max-width: 430px;
  justify-self: center;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 24px 0 62px;
  color: var(--muted);
  border: 1px solid #dedbd9;
  border-radius: 28px;
  background: #faf9f8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  outline: none;
  text-transform: uppercase;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 21px;
  height: 21px;
  border: 1.7px solid #4b4b4b;
  border-radius: 50%;
  transform: translateY(-50%);
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 10px;
  height: 1.7px;
  background: #4b4b4b;
  content: "";
  transform: rotate(45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  min-width: max-content;
}

.ai-pill,
.treatment-link,
.main-nav a,
.menu-toggle,
.button-link {
  font-family: brandon-grotesque, Arial, sans-serif;
  text-transform: uppercase;
}

.ai-menu {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 28px;
  background: var(--soft);
  color: #343434;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.ai-pill span {
  font-size: 1.35rem;
  line-height: 1;
}

.ai-dropdown {
  position: absolute;
  top: calc(100% + 30px);
  left: 50%;
  z-index: 20;
  display: grid;
  width: 450px;
  justify-items: center;
  gap: 11px;
  padding: 28px 30px;
  border: 1px solid #e2dedb;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ai-dropdown::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 1px solid #e2dedb;
  border-left: 1px solid #e2dedb;
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.ai-menu:hover .ai-dropdown,
.ai-menu:focus-within .ai-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ai-dropdown a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #e2dedb;
  border-radius: 30px;
  color: #343434;
  background: #fff;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

.ai-dropdown a span {
  margin-right: 12px;
  font-size: 20px;
  line-height: 1;
}

.ai-dropdown .wide {
  min-width: 286px;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.treatment-link {
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: #343434;
  font-size: 11px;
  font-weight: 400;
  line-height: 19.8px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.icon-button {
  position: relative;
  flex: 0 0 25px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #343434;
  background: transparent;
  cursor: pointer;
}

.icon-button i {
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}

.cart-count {
  position: absolute;
  right: -7px;
  bottom: -4px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #343434;
  color: #fff;
  font-family: var(--font-fa);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.cart-count[hidden] {
  display: none;
}

.heart.is-active i,
.product-wishlist-toggle.is-active i {
  color: #343434;
  font-weight: 700;
}

.icon-button::before,
.icon-button::after {
  display: none;
}

.pin::before {
  position: absolute;
  inset: 1px 5px 8px;
  border: 1.6px solid #252525;
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}

.pin::after {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 5px;
  height: 5px;
  border: 1.4px solid #252525;
  border-radius: 50%;
  content: "";
}

.user::before {
  position: absolute;
  top: 1px;
  left: 8px;
  width: 10px;
  height: 10px;
  border: 1.5px solid #252525;
  border-radius: 50%;
  content: "";
}

.user::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 13px;
  border: 1.5px solid #252525;
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  border-bottom: 0;
  content: "";
}

.heart::before {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-right: 1.5px solid #252525;
  border-bottom: 1.5px solid #252525;
  content: "";
  transform: rotate(45deg);
}

.heart::after {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 19px;
  height: 15px;
  border-radius: 12px 12px 0 0;
  border-top: 1.5px solid #252525;
  content: "";
}

.bag::before {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 17px;
  border: 1.5px solid #252525;
  border-top: 0;
  content: "";
}

.bag::after {
  position: absolute;
  top: 1px;
  left: 8px;
  width: 9px;
  height: 9px;
  border: 1.5px solid #252525;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  content: "";
}

.header-actions .icon-button::before,
.header-actions .icon-button::after,
.mobile-menu-head .icon-button::before,
.mobile-menu-head .icon-button::after {
  display: none;
  content: none;
}

.main-nav {
  padding: 0 48px 10px;
  border-bottom: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: #343434;
  font-size: 12px;
  font-weight: 400;
  line-height: 21.6px;
  letter-spacing: normal;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 8px 0;
  color: #101010;
  font-size: 11px;
  font-weight: 400;
  line-height: 19.8px;
  letter-spacing: normal;
  white-space: nowrap;
}

.main-nav a.active {
  padding: 7px 8px;
  background: var(--soft);
}

.main-nav .journal {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.nav-mega > a {
  position: relative;
  z-index: 24;
}

.nav-mega > a::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 3px;
  background: #343434;
  content: "";
  opacity: 0;
  z-index: 25;
  pointer-events: none;
}

.nav-mega:hover > a::after,
.nav-mega:focus-within > a::after,
.nav-mega.menu-hover > a::after {
  opacity: 1;
}

.newin-menu {
  position: fixed;
  top: 137px;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(260px, 442px) minmax(260px, 442px);
  gap: 50px;
  width: 100%;
  padding: 44px 100px 48px;
  border-top: 1px solid #e2dedb;
  border-bottom: 1px solid #e2dedb;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-mega:hover .newin-menu,
.nav-mega:focus-within .newin-menu,
.nav-mega.menu-hover .newin-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.newin-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 60px;
}

.skincare-links {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 74px;
}

.perfume-links {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 76px;
}

.wellness-links {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 78px;
}

.makeup-menu {
  grid-template-columns: minmax(720px, 1fr) minmax(320px, 412px);
  align-items: start;
  gap: 72px;
}

.makeup-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(125px, 1fr));
  gap: 54px;
}

.newin-links h3 {
  margin: 0 0 17px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.makeup-links h3 {
  margin: 0 0 17px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.makeup-links h3:not(:first-child) {
  margin-top: 39px;
}

.wellness-links h3:not(:first-child) {
  margin-top: 36px;
}

.newin-links a {
  padding: 0;
  margin: 0 0 12px;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: normal;
  text-transform: none;
}

.makeup-links a {
  display: block;
  padding: 0;
  margin: 0 0 12px;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: normal;
  text-transform: none;
}

.newin-feature {
  text-align: center;
}

.newin-feature img {
  display: block;
  width: 100%;
  height: 282px;
  object-fit: cover;
}

.newin-feature p {
  max-width: 370px;
  margin: 26px auto 0;
  color: #343434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
}

.makeup-feature img {
  height: 264px;
}

.makeup-feature p {
  max-width: 360px;
}

.search-panel {
  position: fixed;
  top: 92px;
  left: 0;
  z-index: 30;
  width: 100%;
  min-height: 580px;
  padding: 68px 48px 66px;
  border-top: 1px solid #e2dedb;
  border-bottom: 1px solid #e2dedb;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.basket-panel {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  justify-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.basket-open .basket-panel {
  opacity: 1;
  pointer-events: auto;
}

.basket-scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.52);
}

.basket-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 290px) minmax(520px, 1fr);
  width: min(100%, 1032px);
  height: 100vh;
  background: #fff;
  direction: ltr;
  transform: translateX(24px);
  transition: transform 220ms ease;
}

body.basket-open .basket-shell {
  transform: translateX(0);
}

.basket-recommendation,
.basket-empty {
  direction: rtl;
}

.basket-recommendation {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 34px 42px 56px;
  border-left: 1px solid #e2dedb;
  text-align: center;
}

.basket-recommendation h2 {
  max-width: 180px;
  margin: 0 0 44px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
}

.basket-suggestion {
  display: grid;
  justify-items: center;
  width: 100%;
}

.basket-suggestion img {
  display: block;
  width: 118px;
  height: 142px;
  object-fit: contain;
  margin-bottom: 28px;
}

.basket-suggestion h3,
.basket-suggestion span {
  margin: 0 0 12px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
}

.basket-suggestion p {
  margin: 0 0 18px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
}

.basket-suggestion button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 145px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid #dedbd9;
  background: #fff;
  color: #343434;
  cursor: pointer;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 700;
}

.basket-suggestion button em {
  color: #c9c2be;
  font-style: normal;
  font-weight: 400;
}

.basket-suggestion-muted {
  margin-top: 76px;
  gap: 34px;
}

.basket-suggestion-muted div {
  position: relative;
  width: 42px;
  height: 42px;
  border: 4px solid #f0efef;
  border-radius: 50%;
}

.basket-suggestion-muted div::before {
  position: absolute;
  top: 16px;
  left: 4px;
  width: 26px;
  height: 4px;
  background: #f0efef;
  content: "";
  transform: rotate(45deg);
}

.basket-suggestion-muted img {
  width: 116px;
  height: 150px;
  margin: 0;
}

.basket-empty {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 28px 46px 66px;
  text-align: center;
}

.basket-close {
  position: absolute;
  top: 34px;
  left: 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.basket-close::before,
.basket-close::after {
  position: absolute;
  top: 16px;
  left: 4px;
  width: 27px;
  height: 1px;
  background: #343434;
  content: "";
}

.basket-close::before {
  transform: rotate(45deg);
}

.basket-close::after {
  transform: rotate(-45deg);
}

.basket-empty > i {
  justify-self: start;
  color: #343434;
  font-size: 34px;
  line-height: 1;
}

.basket-empty > div {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 0;
  padding-top: 20px;
}

.basket-empty h2 {
  position: absolute;
  top: 30px;
  left: 50%;
  margin: 0;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 38px;
  font-weight: 400;
  line-height: 48px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.basket-empty h3 {
  margin: 0 0 12px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 36px;
  font-weight: 500;
  line-height: 52px;
}

.basket-empty p {
  margin: 0 0 34px;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.basket-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 456px);
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid #dedbd9;
  color: #101010;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
  line-height: 22px;
}

.cart-items {
  display: grid;
  width: min(100%, 560px);
  max-height: min(58vh, 560px);
  gap: 18px;
  overflow-y: auto;
  margin: 96px 0 24px;
  padding-left: 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2dedb;
  text-align: right;
}

.cart-item img {
  display: block;
  width: 96px;
  height: 110px;
  object-fit: contain;
  background: #f7f3f0;
}

.cart-item h3 {
  margin: 0 0 6px;
  color: #101010;
  font-family: var(--font-fa);
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
}

.cart-item p {
  margin: 0 0 8px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.cart-item span {
  display: inline-block;
  margin-bottom: 12px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-item-actions button,
.cart-item-actions strong {
  display: inline-grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #dedbd9;
  background: #fff;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 700;
}

.cart-item-actions button {
  cursor: pointer;
}

.cart-item-actions button:last-child {
  min-width: 54px;
  color: #8a4d3b;
}

.cart-total {
  display: flex;
  width: min(100%, 560px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-top: 18px;
  border-top: 1px solid #343434;
  color: #101010;
  font-family: var(--font-fa);
  font-size: 17px;
}

.cart-total strong {
  font-size: 20px;
}

.cart-checkout {
  display: inline-flex;
  width: min(100%, 560px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #343434;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-fa);
  font-size: 14px;
  font-weight: 800;
}

.wishlist-panel {
  position: fixed;
  inset: 0;
  z-index: 125;
  pointer-events: none;
  visibility: hidden;
}

body.wishlist-open .wishlist-panel {
  pointer-events: auto;
  visibility: visible;
}

.wishlist-scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.22);
  opacity: 0;
  transition: opacity 220ms ease;
}

body.wishlist-open .wishlist-scrim {
  opacity: 1;
}

.wishlist-shell {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  width: min(430px, 100vw);
  height: 100%;
  padding: 34px 28px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 18px 0 60px rgba(52, 52, 52, 0.14);
  transform: translateX(-100%);
  transition: transform 260ms ease;
}

body.wishlist-open .wishlist-shell {
  transform: translateX(0);
}

.wishlist-close {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wishlist-close::before,
.wishlist-close::after {
  position: absolute;
  top: 16px;
  left: 5px;
  right: 5px;
  height: 1px;
  background: #343434;
  content: "";
}

.wishlist-close::before {
  transform: rotate(45deg);
}

.wishlist-close::after {
  transform: rotate(-45deg);
}

.wishlist-shell > i {
  justify-self: center;
  margin: 34px 0 18px;
  font-size: 44px;
}

.wishlist-content h2 {
  margin: 0 0 18px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.wishlist-content > p {
  margin: 0;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 14px;
  line-height: 2;
  text-align: center;
}

.wishlist-items {
  display: grid;
  gap: 14px;
}

.wishlist-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee7e2;
  border-radius: 10px;
}

.wishlist-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: #faf8f6;
}

.wishlist-item h3,
.wishlist-item p,
.wishlist-item span {
  margin: 0;
  font-family: var(--font-fa);
}

.wishlist-item h3 {
  color: #343434;
  font-size: 13px;
  line-height: 1.8;
}

.wishlist-item p {
  color: #8f6d5f;
  font-size: 11px;
}

.wishlist-item span {
  color: #343434;
  font-size: 12px;
  font-weight: 800;
}

.wishlist-item button {
  border: 0;
  color: #9c4a4a;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-fa);
  font-size: 11px;
}

.search-panel::before {
  position: absolute;
  top: -8px;
  left: 29.1%;
  width: 15px;
  height: 15px;
  border-top: 1px solid #e2dedb;
  border-left: 1px solid #e2dedb;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

body.search-open .search-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.search-open .search input {
  border-color: #343434;
  background: #fff;
}

.search-close {
  position: absolute;
  top: 31px;
  right: 46px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-close::before,
.search-close::after {
  position: absolute;
  top: 13px;
  left: 3px;
  width: 24px;
  height: 1px;
  background: #343434;
  content: "";
}

.search-close::before {
  transform: rotate(45deg);
}

.search-close::after {
  transform: rotate(-45deg);
}

.search-panel-inner {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
}

.search-panel h2 {
  margin: 0 0 35px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.search-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px;
  align-items: start;
}

.search-product {
  min-width: 0;
}

.search-products a.search-product {
  display: block;
}

.search-product img {
  display: block;
  width: 160px;
  height: 205px;
  margin: 0 auto 23px;
  object-fit: contain;
}

.search-product h3 {
  margin: 0 0 8px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.search-product p {
  margin: 0 0 14px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.search-product span {
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.search-product em {
  display: inline-block;
  margin: 0 14px;
  color: #aaa09a;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px solid #e2dedb;
  background: #faf9f8;
  text-align: center;
}

.search-empty h3 {
  margin: 0 0 8px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 800;
}

.search-empty p {
  margin: 0;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 15px;
}

.current-products {
  display: inline-block;
  margin-top: 46px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #a9795f;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.slides {
  --slide-gap: 8px;
  display: flex;
  gap: 8px;
  min-height: 620px;
  transition: transform 550ms ease;
  will-change: transform;
}

.slides.no-transition {
  transition: none;
}

.slide-card {
  display: flex;
  flex: 0 0 calc((100% - var(--slide-gap)) / 2);
  min-width: 0;
  flex-direction: column;
}

.image-wrap {
  position: relative;
  display: block;
  height: clamp(390px, 30vw, 586px);
  overflow: hidden;
  background: #eee9e8;
}

.image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kicker {
  position: absolute;
  left: 29px;
  bottom: 28px;
  margin: 0;
  color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.slide-copy {
  padding: 17px 28px 32px;
}

.slide-title {
  max-width: 100%;
  margin: 0 0 22px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: normal;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
  letter-spacing: 3px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  border-color: #101010;
  background: #101010;
  color: #fff;
}

.slider-arrow {
  position: absolute;
  top: 44%;
  z-index: 2;
  width: 44px;
  height: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slider-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #2d2d2d;
  border-left: 2px solid #2d2d2d;
  content: "";
}

.slider-arrow.prev {
  left: 8px;
}

.slider-arrow.prev::before {
  transform: translate(-25%, -50%) rotate(-45deg);
}

.slider-arrow.next {
  right: 8px;
}

.slider-arrow.next::before {
  transform: translate(-75%, -50%) rotate(135deg);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 62px 16px 76px;
  background: #fff;
}

.editorial-card {
  min-width: 0;
}

.editorial-image {
  position: relative;
  aspect-ratio: 0.94;
  overflow: hidden;
  background: #eee9e8;
}

.editorial-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.editorial-card:hover .editorial-image img,
.editorial-card:focus-within .editorial-image img {
  transform: scale(1.045);
}

.editorial-image h2 {
  position: absolute;
  left: 28px;
  bottom: 20px;
  margin: 0;
  color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 2.05vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.editorial-card p {
  margin: 14px 28px 0;
  color: #343434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 27px;
}

.products-section {
  position: relative;
  padding: 34px 48px 36px;
  background: #f3eeee;
}

.products-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 31px;
}

.products-heading h2 {
  margin: 0;
  color: #101010;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
}

.products-heading a {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.products-slider {
  position: relative;
}

.product-window {
  overflow: hidden;
}

.product-track {
  --product-gap: 10px;
  display: flex;
  gap: var(--product-gap);
  transition: transform 520ms ease;
  will-change: transform;
}

.product-card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - (var(--product-gap) * 4)) / 5);
  min-height: 530px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 30px;
  background: #fff;
  text-align: center;
}

.product-card-link {
  display: contents;
}

.product-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 7px;
  justify-items: start;
}

.product-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 22px;
  padding: 0 10px;
  border: 1px solid #bbb7b4;
  border-radius: 2px;
  color: #77716f;
  background: #fff;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.product-card img {
  display: block;
  width: 82%;
  height: 320px;
  margin: 4px auto 20px;
  object-fit: contain;
  transition: transform 320ms ease;
}

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

.product-brand {
  margin: auto 0 7px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.product-name {
  min-height: 42px;
  margin: 0 0 13px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}

.product-price {
  margin: 0 0 23px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.product-price em {
  display: inline-block;
  margin: 0 16px;
  color: #a9a4a0;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.product-rating {
  color: #2f2f2f;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
}

.product-rating span {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  vertical-align: middle;
}

.add-basket {
  width: min(100%, 288px);
  height: 57px;
  margin-top: 20px;
  border: 0;
  background: #343434;
  color: #fff;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  cursor: pointer;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.product-card:hover .add-basket,
.product-card:focus-within .add-basket {
  opacity: 1;
  transform: translateY(0);
}

.add-basket:hover,
.add-basket:focus-visible {
  background: #101010;
}

.product-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 38px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #343434;
  border-left: 2px solid #343434;
  content: "";
}

.product-prev,
.bestseller-prev {
  left: -39px;
}

.product-prev::before,
.bestseller-prev::before {
  transform: translate(-25%, -50%) rotate(-45deg);
}

.product-next,
.bestseller-next {
  right: -39px;
}

.product-next::before,
.bestseller-next::before {
  transform: translate(-75%, -50%) rotate(135deg);
}

.brand-section {
  padding: 60px 16px 72px;
  background: #fff;
}

.brand-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 31px 32px;
}

.brand-heading h2 {
  margin: 0;
  color: #101010;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
}

.brand-heading a {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-slider {
  position: relative;
}

.brand-window {
  overflow: hidden;
}

.brand-track {
  --brand-gap: 8px;
  display: flex;
  gap: var(--brand-gap);
  transition: transform 520ms ease;
  will-change: transform;
}

.brand-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - (var(--brand-gap) * 3)) / 4);
  min-width: 0;
  aspect-ratio: 0.73;
  overflow: hidden;
  background: #eee9e8;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.brand-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.brand-card:hover img,
.brand-card:focus-within img {
  transform: scale(1.045);
}

.brand-card h3 {
  position: absolute;
  left: 28px;
  right: 18px;
  bottom: 19px;
  margin: 0;
  color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.brand-arrow {
  position: absolute;
  top: 48%;
  z-index: 2;
  width: 42px;
  height: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
}

.brand-prev {
  left: 1px;
}

.brand-prev::before {
  transform: translate(-25%, -50%) rotate(-45deg);
}

.brand-next {
  right: 1px;
}

.brand-next::before {
  transform: translate(-75%, -50%) rotate(135deg);
}

.bestsellers-section {
  margin-top: 10px;
}

.journal-section {
  padding: 48px 16px 68px;
  background: #fff;
}

.journal-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 31px 32px;
}

.journal-heading h2 {
  margin: 0;
  color: #101010;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
}

.journal-heading a {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.journal-slider {
  position: relative;
}

.journal-window {
  overflow: hidden;
}

.journal-track {
  --journal-gap: 8px;
  display: flex;
  gap: var(--journal-gap);
  transition: transform 520ms ease;
  will-change: transform;
}

.journal-card {
  display: block;
  flex: 0 0 calc((100% - (var(--journal-gap) * 3)) / 4);
  min-width: 0;
  color: inherit;
}

.journal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 0.73;
  object-fit: cover;
}

.journal-card h3 {
  margin: 13px 28px 0;
  color: #343434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.journal-card span {
  display: block;
  margin: 15px 28px 0;
  color: #a9795f;
  font-family: var(--font-fa);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.journal-arrow {
  position: absolute;
  top: 43%;
  z-index: 2;
  width: 42px;
  height: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.journal-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
}

.journal-prev {
  left: 1px;
}

.journal-prev::before {
  transform: translate(-25%, -50%) rotate(-45deg);
}

.journal-next {
  right: 1px;
}

.journal-next::before {
  transform: translate(-75%, -50%) rotate(135deg);
}

.site-footer {
  background: #fff;
  color: #101010;
}

.footer-reading {
  max-width: 1060px;
  margin: 38px auto 0;
  padding: 50px 24px 70px;
  text-align: center;
}

.footer-reading h2 {
  margin: 0 0 21px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
}

.footer-reading p {
  margin: 0 auto 15px;
  color: #343434;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: 1px;
}

.footer-reading strong {
  font-style: italic;
  font-weight: 700;
}

.footer-reading a:not(.footer-readmore) {
  color: #74706e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-readmore {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.footer-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 73px 48px 70px;
  background: #f5f4f4;
  text-align: center;
}

.footer-benefits h3,
.footer-column h3,
.newsletter h3 {
  margin: 0 0 20px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.footer-benefits p {
  max-width: 340px;
  margin: 0 auto;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.9fr 1.25fr;
  gap: 56px;
  padding: 46px 50px 84px;
}

.footer-about p {
  max-width: 300px;
  margin: 36px 0 0;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
}

.footer-mark {
  width: 142px;
  height: 142px;
  border: 1px solid #e1dedb;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 67% 31%, #fae9e2 0 13%, transparent 14%),
    radial-gradient(ellipse at 48% 56%, #fae9e2 0 33%, transparent 34%);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 28px;
}

.footer-social a {
  color: #343434;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.bcorp {
  display: inline-grid;
  justify-items: center;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

.bcorp span,
.bcorp small {
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
}

.bcorp strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid #000;
  border-radius: 50%;
  font-size: 38px;
  line-height: 1;
}

.footer-column,
.newsletter {
  padding-top: 36px;
}

.footer-column a,
.footer-column button {
  display: block;
  padding: 0;
  margin: 0 0 11px;
  border: 0;
  background: transparent;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
}

.footer-column button {
  margin-top: 18px;
  color: #8a8581;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.footer-column .footer-extra-link {
  display: none;
}

.footer-column.expanded .footer-extra-link {
  display: block;
}

.footer-toggle::after {
  display: inline-block;
  margin-left: 110px;
  color: #8a8581;
  content: "⌄";
  font-size: 15px;
  line-height: 1;
}

.footer-column.expanded .footer-toggle::after {
  content: "⌃";
}

.newsletter {
  align-self: start;
  min-height: 256px;
  margin-top: 0;
  padding: 36px 38px 30px;
  border: 2px solid #343434;
}

.newsletter p {
  max-width: 280px;
  margin: 0 0 53px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

.newsletter div {
  position: relative;
  border-bottom: 1px solid #d6d1ce;
}

.newsletter.invalid div {
  border-bottom-color: #d93a35;
}

.newsletter input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 0;
  border: 0;
  outline: none;
  color: #101010;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
}

.newsletter button {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.newsletter button::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 13px;
  height: 13px;
  border-top: 2px solid #343434;
  border-right: 2px solid #343434;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.newsletter-error {
  display: none;
  max-width: none;
  margin: 22px 0 0;
  color: #d93a35;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.newsletter.invalid .newsletter-error {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-error span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #fee6df;
  color: #d93a35;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 50px 28px;
}

.footer-bottom a,
.footer-bottom span {
  color: #65605e;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.footer-languages,
.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: 0 24px 56px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.login-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.login-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.login-close::before,
.login-close::after {
  position: absolute;
  top: 15px;
  left: 3px;
  width: 26px;
  height: 1px;
  background: #343434;
  content: "";
}

.login-close::before {
  transform: rotate(45deg);
}

.login-close::after {
  transform: rotate(-45deg);
}

.login-card {
  width: min(100%, 563px);
  padding-top: 0;
}

.login-card h2 {
  margin: 0 0 30px;
  color: #343434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 62px;
  text-align: center;
}

.login-card p {
  max-width: 286px;
  margin: 0 auto 22px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.login-card p + p {
  margin-bottom: 113px;
}

.login-card label,
.password-row a {
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.login-card input {
  width: 100%;
  height: 56px;
  margin: 11px 0 38px;
  padding: 0 18px;
  border: 1px solid #dedbd9;
  outline: none;
  color: #101010;
  background: #fff;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 17px;
}

.password-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.password-row a {
  color: #77716f;
}

.password-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -27px 0 55px;
  padding: 0;
  border: 0;
  color: #343434;
  background: transparent;
  cursor: pointer;
}

.password-toggle i {
  font-size: 18px;
}

.login-submit {
  width: 100%;
  height: 69px;
  border: 0;
  background: #343434;
  color: #fff;
  cursor: pointer;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.create-account {
  display: block;
  margin-top: 30px;
  color: #101010;
  font-family: brandon-grotesque, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
}

.product-page {
  background: #fff;
}

.product-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.product-home {
  color: #343434;
  font-family: var(--font-fa);
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
}

.product-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.product-header nav a {
  color: #101010;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 0;
  min-height: calc(100vh - 88px);
}

.product-gallery {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-content: start;
  padding: 48px;
  background: #f6f2ef;
  direction: ltr;
}

.product-main-image {
  display: grid;
  min-height: 660px;
  place-items: center;
  background: #fff;
}

.product-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
}

.product-thumbnails {
  display: grid;
  align-content: start;
  gap: 14px;
}

.product-thumbnails button {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
}

.product-thumbnails button.active,
.product-thumbnails button:hover,
.product-thumbnails button:focus-visible {
  border-color: #343434;
}

.product-thumbnails img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.product-info {
  align-self: start;
  padding: 54px clamp(32px, 5vw, 72px) 72px;
}

.product-back {
  display: inline-flex;
  margin-bottom: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 500;
}

.product-meta,
.product-price-row,
.product-actions,
.product-help {
  display: flex;
  align-items: center;
}

.product-meta {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.product-meta p {
  margin: 0;
  color: #a9795f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.product-meta button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e2dedb;
  border-radius: 50%;
  background: #fff;
  color: #343434;
  cursor: pointer;
}

.product-meta i {
  font-size: 21px;
}

.product-info h1 {
  margin: 0 0 10px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.18;
}

.product-brand-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #101010;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.product-price-row {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2dedb;
}

.product-price-row strong {
  color: #343434;
  font-family: var(--font-fa);
  font-size: 22px;
  font-weight: 800;
}

.product-price-row span {
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 700;
}

.product-summary {
  margin: 0 0 18px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 17px;
  font-weight: 400;
  line-height: 31px;
}

.product-note {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid #e2dedb;
  background: #fbede7;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 15px;
  font-weight: 500;
  line-height: 27px;
}

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

.product-option {
  margin: 32px 0 24px;
}

.product-option > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.product-option h2,
.product-variant span {
  margin: 0;
  color: #101010;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.product-option p {
  margin: 0;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 14px;
}

.shade-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shade-grid button {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d7d2ce;
  border-radius: 50%;
  background: var(--shade-color);
  cursor: pointer;
}

.shade-grid button.sold-out {
  opacity: 0.48;
  cursor: not-allowed;
}

.shade-grid button.sold-out::after {
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  height: 1.5px;
  background: #343434;
  content: "";
  transform: rotate(-38deg);
}

.shade-grid button.active,
.shade-grid button:hover,
.shade-grid button:focus-visible {
  outline: 2px solid #343434;
  outline-offset: 3px;
}

.product-option[hidden],
.product-variant[hidden] {
  display: none;
}

.product-variant {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.product-variant select {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #dedbd9;
  background: #fff;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 15px;
}

.product-actions {
  gap: 12px;
  margin-bottom: 26px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 44px 46px 44px;
  height: 58px;
  border: 1px solid #dedbd9;
}

.quantity-control button,
.quantity-control span {
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 18px;
}

.quantity-control button {
  cursor: pointer;
}

.product-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  background: #343434;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-fa);
  font-size: 14px;
  font-weight: 800;
}

.product-help {
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 30px;
}

.product-help a {
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.product-accordions {
  border-top: 1px solid #e2dedb;
}

.product-accordions details {
  border-bottom: 1px solid #e2dedb;
}

.product-accordions summary {
  padding: 20px 0;
  color: #101010;
  cursor: pointer;
  font-family: var(--font-fa);
  font-size: 16px;
  font-weight: 800;
}

.product-accordions p {
  margin: 0;
  padding: 0 0 22px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 15px;
  line-height: 29px;
}

.collection-page {
  background: #fff;
}

.collection-root {
  min-height: calc(100vh - 88px);
}

.collection-hero {
  display: grid;
  justify-items: center;
  padding: 66px 32px 38px;
  border-bottom: 1px solid #e2dedb;
  background: #fbede7;
  text-align: center;
}

.collection-hero p {
  margin: 0 0 12px;
  color: #a9795f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.collection-hero h1 {
  margin: 0 0 14px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.18;
}

.collection-hero span {
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 15px;
  font-weight: 500;
}

.collection-description {
  display: grid;
  grid-template-columns: minmax(140px, 210px) minmax(0, 620px);
  gap: 28px;
  align-items: center;
  margin: 10px 0 20px;
  text-align: right;
}

.collection-description:empty {
  display: none;
}

.collection-description img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.collection-description p {
  margin: 0;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 17px;
  font-weight: 400;
  line-height: 32px;
}

.collection-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px;
  background: #fff;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 17px;
  text-align: center;
}

.collection-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 22px 48px;
  border-bottom: 1px solid #e2dedb;
  background: #fff;
}

.collection-tabs a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #dedbd9;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 700;
}

.collection-tabs a.active,
.collection-tabs a:hover,
.collection-tabs a:focus-visible {
  border-color: #343434;
  background: #343434;
  color: #fff;
}

.collection-content {
  padding: 44px 48px 72px;
}

.collection-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #f3eeee;
}

.collection-product-grid .product-card {
  flex-basis: auto;
}

.collection-product-grid .add-basket {
  opacity: 1;
  transform: none;
}

.collection-brand-grid,
.collection-journal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collection-brand-card {
  min-height: auto;
  background: #f7f3f0;
}

.collection-brand-card img {
  display: block;
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
}

.collection-brand-card h3 {
  margin: 16px;
}

.collection-journal-grid .journal-card {
  flex-basis: auto;
}

.search-result-card {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: 20px;
  background: #fff;
  text-align: center;
}

.search-result-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 18px;
}

.search-result-card span {
  color: #a9795f;
  font-family: var(--font-fa);
  font-size: 12px;
  font-weight: 800;
}

.search-result-card h3 {
  margin: 8px 0;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 21px;
  font-weight: 600;
  line-height: 31px;
}

.search-result-card p {
  margin: 0;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 14px;
  line-height: 24px;
}

.article-page {
  background: #fff;
}

.article-detail {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #77716f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 600;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  gap: 0;
  background: #f6f2ef;
}

.article-hero-copy {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 84px);
}

.article-hero-copy p {
  margin: 0 0 18px;
  color: #a9795f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.article-hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: #343434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.08;
}

.article-hero-copy span {
  display: block;
  max-width: 640px;
  margin-top: 26px;
  color: #6f6a67;
  font-family: var(--font-fa);
  font-size: 18px;
  line-height: 34px;
}

.article-cover {
  min-height: 590px;
  margin: 0;
}

.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  width: min(760px, 100%);
  margin: 58px auto 0;
}

.article-body p {
  margin: 0 0 24px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
}

.article-related {
  margin-top: 70px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  margin: 0 0 24px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 27px;
  font-weight: 700;
  line-height: 38px;
}

.article-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #f3eeee;
}

.article-products .product-card {
  flex-basis: auto;
}

.article-products .add-basket {
  opacity: 1;
  transform: none;
}

.info-page {
  background: #fff;
}

.info-detail {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.info-hero {
  display: grid;
  min-height: 430px;
  align-content: center;
  padding: clamp(36px, 7vw, 90px);
  background: #f6f2ef;
  text-align: center;
}

.info-hero p {
  margin: 0 0 16px;
  color: #a9795f;
  font-family: var(--font-fa);
  font-size: 13px;
  font-weight: 800;
}

.info-hero h1 {
  max-width: 820px;
  margin: 0 auto;
  color: #343434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.08;
}

.info-hero span {
  display: block;
  max-width: 760px;
  margin: 26px auto 0;
  color: #6f6a67;
  font-family: var(--font-fa);
  font-size: 18px;
  line-height: 34px;
}

.info-points {
  width: min(820px, 100%);
  margin: 46px auto 0;
}

.info-points ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-points li {
  padding: 18px 22px;
  border: 1px solid var(--line);
  color: #343434;
  font-family: var(--font-fa);
  font-size: 17px;
  line-height: 30px;
}

.info-products-section {
  margin-top: 70px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.info-products-section[hidden] {
  display: none;
}

.info-products-section h2 {
  margin: 0 0 24px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 27px;
  font-weight: 700;
  line-height: 38px;
}

.info-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #f3eeee;
}

.info-products .product-card {
  flex-basis: auto;
}

.info-products .add-basket {
  opacity: 1;
  transform: none;
}

@media (max-width: 1420px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
    padding: 24px;
  }

  .brand {
    text-align: center;
  }

  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-nav {
    padding: 0 24px 14px;
  }

  .newin-menu {
    top: 239px;
    grid-template-columns: minmax(280px, 0.8fr) repeat(2, minmax(220px, 1fr));
    gap: 32px;
    padding: 34px 48px 38px;
  }

  .makeup-menu {
    grid-template-columns: minmax(540px, 1fr) minmax(260px, 360px);
  }

  .makeup-links {
    grid-template-columns: repeat(4, minmax(105px, 1fr));
    gap: 26px;
  }

  .newin-feature img {
    height: 220px;
  }

  .newin-feature p {
    font-size: 24px;
    line-height: 32px;
  }

  .search-panel {
    top: var(--search-panel-top, 165px);
  }

  .search-panel::before {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .main-nav ul {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
}

@media (max-width: 980px) {
  .footer-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 48px 28px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    padding: 34px 28px 58px;
  }

  .newsletter {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 28px 28px;
  }

  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 46px 16px 58px;
  }

  .products-section {
    padding: 30px 32px 34px;
  }

  .product-card {
    flex-basis: calc((100% - var(--product-gap)) / 2);
  }

  .brand-card {
    flex-basis: calc((100% - var(--brand-gap)) / 2);
  }

  .journal-card {
    flex-basis: calc((100% - var(--journal-gap)) / 2);
  }

  .newin-menu {
    position: absolute;
    top: calc(100% - 1px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px 34px;
  }

  .makeup-menu {
    grid-template-columns: 1fr;
  }

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

  .newin-links {
    gap: 24px;
  }

  .newin-feature img {
    height: 240px;
  }

  .search-panel {
    position: absolute;
    top: var(--search-panel-top, 155px);
    min-height: 0;
    padding: 54px 24px 52px;
  }

  .search-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }
}

@media (max-width: 760px) {
  .footer-reading {
    margin-top: 18px;
    padding: 38px 18px 48px;
  }

  .footer-reading p {
    font-size: 15px;
    line-height: 27px;
  }

  .footer-benefits {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .footer-benefits p {
    font-size: 16px;
    line-height: 26px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 32px 20px 48px;
  }

  .footer-column,
  .newsletter {
    padding-top: 10px;
  }

  .newsletter {
    padding: 28px 24px 24px;
  }

  .footer-bottom {
    padding: 0 20px 28px;
  }

  .footer-legal {
    flex-wrap: wrap;
  }

  .topbar {
    padding: 20px 16px 14px;
  }

  .brand {
    font-size: 16px;
  }

  .search input {
    height: 42px;
    letter-spacing: 2px;
  }

  .ai-pill,
  .treatment-link {
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .ai-dropdown {
    left: 50%;
    width: min(450px, calc(100vw - 32px));
    padding: 28px 18px;
  }

  .ai-dropdown a {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .main-nav {
    padding: 0 16px 12px;
  }

  .search-panel {
    top: var(--search-panel-top, 156px);
    padding: 48px 16px 42px;
  }

  .search-close {
    top: 18px;
    right: 18px;
  }

  .search-products {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .search-product img {
    height: 180px;
    margin-bottom: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 0;
    overflow: visible;
  }

  .main-nav.open ul {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #f0ece9;
  }

  .newin-menu {
    position: static;
    display: none;
    padding: 22px 0 26px;
    border: 0;
    transform: none;
  }

  .nav-mega:hover .newin-menu,
  .nav-mega:focus-within .newin-menu {
    display: grid;
  }

  .newin-links {
    grid-template-columns: 1fr;
  }

  .makeup-links {
    grid-template-columns: 1fr;
  }

  .newin-links a {
    border-bottom: 0;
  }

  .makeup-links a {
    border-bottom: 0;
  }

  .slides {
    --slide-gap: 8px;
    min-height: 0;
  }

  .slide-card {
    flex-basis: 100%;
  }

  .image-wrap {
    height: 62vw;
    min-height: 330px;
  }

  .slide-copy {
    padding: 16px 20px 28px;
  }

  .slider-arrow {
    top: 34%;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    padding: 36px 16px 48px;
  }

  .editorial-card p {
    margin: 12px 12px 0;
    font-size: 18px;
    line-height: 26px;
  }

  .products-section {
    padding: 28px 20px 32px;
  }

  .products-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .brand-section {
    padding: 42px 16px 52px;
  }

  .brand-heading {
    margin: 0 4px 24px;
  }

  .brand-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .journal-section {
    padding: 40px 16px 52px;
  }

  .journal-heading {
    margin: 0 4px 24px;
  }

  .journal-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .product-card {
    flex-basis: 100%;
  }

  .brand-card {
    flex-basis: 100%;
  }

  .journal-card {
    flex-basis: 100%;
  }

  .journal-card h3 {
    margin: 12px 12px 0;
    font-size: 21px;
    line-height: 29px;
  }

  .product-prev,
  .bestseller-prev {
    left: -20px;
  }

  .product-next,
  .bestseller-next {
    right: -20px;
  }
}

/* Search overlay alignment: keep it visually attached to the search tab and above the menu. */
.search-panel {
  top: var(--search-panel-top, 86px);
  z-index: 120;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.search-panel::before {
  left: var(--search-panel-caret-left, 50%);
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 1180px) {
  .search-panel {
    top: var(--search-panel-top, 128px);
  }
}

@media (max-width: 760px) {
  .search-panel {
    top: var(--search-panel-top, 118px);
    padding-top: 42px;
  }
}

.mobile-ai-pill,
.mobile-menu-head,
.mobile-menu-extra,
.mobile-menu-account {
  display: none;
}

.mobile-only {
  display: none;
}

@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-top: 0;
    border-bottom: 1px solid #e2dedb;
  }

  .topbar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 12px;
    min-height: 0;
    padding: 18px 24px 10px;
  }

  .menu-toggle {
    position: relative;
    display: grid;
    width: 31px;
    height: 31px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: #343434;
  }

  .brand {
    justify-self: center;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 3px;
    text-align: center;
  }

  .header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    min-width: max-content;
  }

  .header-actions .ai-menu,
  .header-actions .heart {
    display: none;
  }

  .icon-button {
    flex-basis: 27px;
    width: 27px;
    height: 31px;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    width: 100%;
  }

  .search input {
    height: 50px;
    padding-left: 62px;
    font-size: 11px;
    letter-spacing: 4px;
  }

  .mobile-ai-pill {
    grid-column: 1 / -1;
    grid-row: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    border-radius: 28px;
    background: var(--soft);
    color: #101010;
    font-family: brandon-grotesque, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
  }

  .mobile-ai-pill span {
    font-size: 22px;
    line-height: 1;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    padding: 0;
    overflow-y: auto;
    border: 0;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 240ms ease;
  }

body.menu-open .main-nav {
    transform: translateX(0);
  }

  .mobile-menu-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    min-height: 72px;
    padding: 0 24px;
    border-bottom: 1px solid #e2dedb;
    background: #fff;
  }

  .mobile-menu-head > span {
    justify-self: center;
    color: #343434;
    font-family: brandon-grotesque, Arial, sans-serif;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 3px;
  }

  .mobile-menu-head > div {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .mobile-menu-head .icon-button {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    line-height: 1;
  }

  .mobile-menu-head .icon-button i {
    display: block;
    font-size: 30px;
    line-height: 1;
  }

  .mobile-menu-close {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-close::before,
  .mobile-menu-close::after {
    position: absolute;
    top: 15px;
    left: 3px;
    width: 26px;
    height: 1px;
    background: #343434;
    content: "";
  }

  .mobile-menu-close::before {
    transform: rotate(45deg);
  }

  .mobile-menu-close::after {
    transform: rotate(-45deg);
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 24px 0;
    overflow: visible;
  }

  .main-nav li {
    border-bottom: 1px solid #e2dedb;
  }

  .main-nav .mobile-only {
    display: block;
  }

  .main-nav a {
    position: relative;
    min-height: 68px;
    padding: 22px 0;
    border: 0;
    color: #101010;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
  }

  .main-nav a.active {
    display: inline-flex;
    min-height: 32px;
    margin: 0 0 18px;
    padding: 7px 9px;
    align-items: center;
    background: var(--soft);
  }

  .main-nav .journal {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-transform: none;
  }

  .nav-mega > a::after,
  .main-nav .journal::after {
    position: absolute;
    right: 2px;
    top: 50%;
    left: auto;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid #343434;
    border-right: 1.5px solid #343434;
    background: transparent;
    content: "";
    opacity: 1;
    transform: translateY(-50%) rotate(45deg);
  }

  .newin-menu,
  .nav-mega:hover .newin-menu,
  .nav-mega:focus-within .newin-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 0 22px;
    border: 0;
    background: #fff;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-mega.submenu-open .newin-menu {
    display: grid;
  }

  .nav-mega.submenu-open > a::after {
    transform: translateY(-50%) rotate(135deg);
  }

  .newin-links,
  .skincare-links,
  .perfume-links,
  .wellness-links,
  .makeup-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newin-links h3,
  .makeup-links h3 {
    margin: 16px 0 10px;
    font-size: 11px;
    line-height: 18px;
  }

  .newin-links a,
  .makeup-links a {
    min-height: auto;
    padding: 8px 0;
    border: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    text-transform: none;
  }

  .newin-feature {
    display: none;
  }

  .mobile-menu-extra,
  .mobile-menu-account {
    display: grid;
  }

  .mobile-menu-extra {
    padding: 0 24px;
    background: #f6f5f5;
  }

  .mobile-menu-extra a,
  .mobile-menu-account a {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 68px;
    border-bottom: 1px solid #dedbd9;
    color: #101010;
    font-family: brandon-grotesque, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
  }

  .mobile-menu-extra span,
  .mobile-menu-account span {
    position: relative;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
  }

  .book span::before,
  .store span::before {
    position: absolute;
    inset: 2px 5px 7px;
    border: 1.5px solid #343434;
    border-radius: 50% 50% 50% 0;
    content: "";
    transform: rotate(-45deg);
  }

  .gift span::before {
    position: absolute;
    inset: 7px 3px 2px;
    border: 1.5px solid #343434;
    content: "";
  }

  .gift span::after {
    position: absolute;
    top: 2px;
    left: 7px;
    width: 12px;
    height: 9px;
    border: 1.5px solid #343434;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    content: "";
  }

  .mobile-menu-account {
    padding: 12px 24px 28px;
    background: #343434;
  }

  .mobile-menu-account a {
    border-color: #4b4b4b;
    color: #fff;
  }

  .wishlist span::before {
    position: absolute;
    inset: 4px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    content: "";
    transform: rotate(45deg);
  }

  .account span::before {
    position: absolute;
    top: 2px;
    left: 8px;
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    content: "";
  }

  .account span::after {
    position: absolute;
    right: 3px;
    bottom: 3px;
    left: 3px;
    height: 12px;
    border: 1.5px solid #fff;
    border-bottom: 0;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    content: "";
  }

  .search-panel {
    top: var(--search-panel-top, 155px);
    z-index: 90;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 18px 24px 9px;
  }

  .brand,
  .mobile-menu-head > span {
    font-size: 25px;
    line-height: 31px;
    letter-spacing: 2px;
  }

  .mobile-menu-head {
    min-height: 72px;
    padding: 0 24px;
  }

  .main-nav ul {
    padding: 22px 24px 0;
  }
}

/* Persian localization */
.brand,
.ai-pill,
.mobile-ai-pill,
.ai-dropdown a,
.main-nav a,
.newin-links h3,
.makeup-links h3,
.newin-links a,
.makeup-links a,
.search-panel h2,
.search-product h3,
.search-product p,
.search-product span,
.current-products,
.kicker,
.slide-title,
.button-link,
.editorial-image h2,
.editorial-card p,
.products-heading h2,
.products-heading a,
.product-badges span,
.product-brand,
.product-name,
.product-price,
.product-rating,
.add-basket,
.brand-heading h2,
.brand-heading a,
.brand-card h3,
.journal-heading h2,
.journal-heading a,
.journal-card h3,
.footer-reading h2,
.footer-reading p,
.footer-readmore,
.footer-benefits h3,
.footer-benefits p,
.footer-about p,
.footer-column h3,
.footer-column a,
.footer-column button,
.newsletter h3,
.newsletter p,
.newsletter input,
.newsletter-error,
.footer-bottom a,
.footer-bottom span,
.login-card h2,
.login-card p,
.login-card label,
.password-row a,
.login-card input,
.login-submit,
.create-account,
.mobile-menu-head > span,
.mobile-menu-extra a,
.mobile-menu-account a {
  font-family: var(--font-fa);
}

.ai-pill,
.mobile-ai-pill,
.brand,
.mobile-menu-head > span,
.main-nav a,
.newin-links h3,
.makeup-links h3,
.search-panel h2,
.search-product h3,
.search-product span,
.current-products,
.kicker,
.button-link,
.products-heading a,
.product-badges span,
.product-brand,
.product-price,
.add-basket,
.brand-heading a,
.journal-heading a,
.footer-readmore,
.footer-column button,
.footer-bottom a,
.footer-bottom span,
.login-card label,
.password-row a,
.login-submit,
.mobile-menu-extra a,
.mobile-menu-account a {
  letter-spacing: 0;
  text-transform: none;
}

.kicker,
.editorial-image h2 {
  font-weight: 800;
  line-height: 1.12;
}

.main-nav ul,
.newin-menu,
.newin-links,
.makeup-links,
.search-products,
.products-heading,
.brand-heading,
.journal-heading,
.footer-benefits,
.footer-main,
.footer-bottom,
.footer-languages,
.footer-legal,
.password-row,
.mobile-menu-head,
.mobile-menu-extra a,
.mobile-menu-account a {
  direction: rtl;
}

.slides,
.product-track,
.brand-track,
.journal-track {
  direction: ltr;
}

.slide-card,
.product-card,
.brand-card,
.journal-card {
  direction: rtl;
}

.search input {
  padding: 0 62px 0 24px;
  font-family: var(--font-fa);
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.search-icon {
  right: 24px;
  left: auto;
}

.search-icon::after {
  right: auto;
  left: -6px;
  transform: rotate(-45deg);
}

.ai-dropdown a span {
  margin-right: 0;
  margin-left: 12px;
}

.newin-feature p {
  font-family: var(--font-fa);
  font-weight: 500;
}

.search-close,
.login-close {
  left: 46px;
  right: auto;
}

.product-badges {
  right: 20px;
  left: auto;
  justify-items: end;
}

.product-rating span {
  margin-right: 10px;
  margin-left: 0;
}

.newsletter input {
  padding: 0 0 0 42px;
  font-style: normal;
  text-align: right;
}

.newsletter button {
  left: 0;
  right: auto;
}

.newsletter button::before {
  right: 12px;
  left: auto;
  border-right: 0;
  border-left: 2px solid #343434;
  transform: translateY(-50%) rotate(-45deg);
}

.footer-column a,
.footer-column button {
  text-align: right;
}

.footer-toggle::after {
  margin-right: 110px;
  margin-left: 0;
}

.login-card p,
.footer-about p,
.footer-reading p,
.newsletter p {
  text-align: right;
}

.search-product em,
.product-price em {
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .collection-tabs {
    padding: 18px 28px;
  }

  .collection-content {
    padding: 32px 28px 56px;
  }

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

  .article-detail {
    width: min(100% - 40px, 920px);
  }

  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-hero-copy,
  .article-cover {
    min-height: auto;
  }

  .article-cover {
    aspect-ratio: 1.18;
  }

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

  .info-detail {
    width: min(100% - 40px, 920px);
  }

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

  .product-header {
    padding: 18px 24px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .product-main-image {
    min-height: 470px;
  }

  .product-thumbnails {
    grid-template-columns: repeat(3, 86px);
    order: 2;
  }

  .product-info {
    padding: 38px 28px 58px;
  }

  .basket-shell {
    grid-template-columns: 1fr;
    width: min(100%, 560px);
    overflow-y: auto;
  }

  .basket-recommendation {
    order: 2;
    min-height: 460px;
    border-top: 1px solid #e2dedb;
    border-left: 0;
  }

  .basket-empty {
    min-height: 520px;
  }

  .basket-empty h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .basket-empty h3 {
    font-size: 29px;
    line-height: 42px;
  }

  .main-nav {
    transform: translateX(100%);
  }

  body.menu-open .main-nav {
    transform: translateX(0);
  }

  .nav-mega > a::after,
  .main-nav .journal::after {
    right: auto;
    left: 2px;
    border-right: 0;
    border-left: 1.5px solid #343434;
    transform: translateY(-50%) rotate(-45deg);
  }

  .nav-mega.submenu-open > a::after {
    transform: translateY(-50%) rotate(-135deg);
  }

  .mobile-menu-close::before,
  .mobile-menu-close::after {
    right: 3px;
    left: auto;
  }
}

@media (max-width: 760px) {
  .collection-hero {
    padding: 44px 20px 30px;
  }

  .collection-tabs {
    padding: 14px 20px;
  }

  .collection-content {
    padding: 24px 20px 48px;
  }

  .collection-description {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .collection-description img {
    width: min(100%, 240px);
    margin: 0 auto;
  }

  .collection-product-grid,
  .collection-brand-grid,
  .collection-journal-grid {
    grid-template-columns: 1fr;
  }

  .article-detail {
    width: min(100% - 32px, 680px);
    padding: 28px 0 58px;
  }

  .article-hero-copy {
    padding: 30px 24px 36px;
  }

  .article-hero-copy h1 {
    font-size: 38px;
    line-height: 46px;
  }

  .article-hero-copy span,
  .article-body p {
    font-size: 16px;
    line-height: 30px;
  }

  .article-cover {
    aspect-ratio: 0.9;
  }

  .article-body {
    margin-top: 38px;
  }

  .article-related {
    margin-top: 46px;
  }

  .article-products {
    grid-template-columns: 1fr;
  }

  .info-detail {
    width: min(100% - 32px, 680px);
    padding: 28px 0 58px;
  }

  .info-hero {
    min-height: 360px;
    padding: 34px 24px;
  }

  .info-hero h1 {
    font-size: 38px;
    line-height: 46px;
  }

  .info-hero span,
  .info-points li {
    font-size: 16px;
    line-height: 30px;
  }

  .info-products-section {
    margin-top: 46px;
  }

  .info-products {
    grid-template-columns: 1fr;
  }

  .product-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    min-height: auto;
    padding: 18px 20px;
  }

  .product-home {
    font-size: 24px;
    line-height: 32px;
  }

  .product-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .product-gallery {
    padding: 20px;
  }

  .product-main-image {
    min-height: 340px;
  }

  .product-info {
    padding: 32px 20px 48px;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quantity-control {
    width: 134px;
  }

  .product-empty h2,
  .product-info h1 {
    white-space: normal;
  }

  .basket-shell {
    width: 100%;
  }

  .basket-empty {
    min-height: 480px;
    padding: 24px 22px 46px;
  }

  .basket-close {
    left: 22px;
  }

  .basket-empty h2 {
    top: 28px;
    font-size: 27px;
    line-height: 36px;
  }

  .basket-empty h3 {
    font-size: 24px;
    line-height: 36px;
  }

  .basket-empty p {
    font-size: 16px;
  }

  .basket-recommendation {
    padding: 30px 24px 44px;
  }

  .search-close,
  .login-close {
    left: 18px;
    right: auto;
  }
}

/* Responsive polish: softer edges, safer mobile sizing, cleaner panels. */
:root {
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

button,
input,
select,
textarea,
.button-link,
.add-basket,
.product-add,
.cart-checkout,
.login-submit,
.current-products,
.footer-readmore,
.collection-tabs a,
.product-badges span,
.search-product,
.ai-pill,
.ai-dropdown a {
  border-radius: var(--radius-pill);
}

.product-card,
.brand-card,
.journal-card,
.editorial-card,
.slide-card,
.collection-description,
.collection-product-grid .product-card,
.collection-brand-card,
.article-related .product-card,
.info-products .product-card,
.basket-shell,
.basket-recommendation,
.basket-empty,
.basket-line,
.cart-item,
.checkout-card,
.newsletter,
.search-panel,
.login-panel,
.ai-dropdown,
.newin-menu {
  border-radius: var(--radius-md);
}

.image-wrap,
.editorial-image,
.product-card-link,
.brand-card img,
.journal-card img,
.collection-description img,
.article-cover,
.product-main-image,
.product-thumbnails button,
.basket-product img,
.cart-item img,
.newin-feature,
.newin-feature img,
.search-product img {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-card,
.brand-card,
.journal-card,
.editorial-card {
  overflow: hidden;
}

.slider-arrow,
.product-arrow,
.brand-arrow,
.journal-arrow,
.basket-close,
.search-close,
.login-close,
.mobile-menu-close,
.quantity-control button,
.icon-button,
.menu-toggle {
  border-radius: 50%;
}

.newsletter input,
.newsletter > div,
.search input,
.login-form input,
.checkout-form input,
.checkout-form textarea,
.product-info select {
  border-radius: var(--radius-sm);
}

.topbar,
.mobile-actions,
.hero-slider,
.products-section,
.brand-section,
.bestsellers-section,
.journal-section,
.footer-reading,
.footer-benefits,
.footer-main,
.collection-content,
.article-detail,
.info-detail,
.product-detail,
.basket-shell {
  max-width: 100vw;
}

.basket-panel {
  overflow-x: clip;
}

.basket-shell {
  max-width: min(100vw - 24px, 960px);
}

@media (max-width: 1180px) {
  .topbar {
    padding-inline: clamp(18px, 4vw, 34px);
  }

  .hero-slider,
  .products-section,
  .brand-section,
  .bestsellers-section,
  .journal-section {
    overflow: hidden;
  }
}

@media (max-width: 980px) {
  .main-nav {
    max-width: min(100vw, 820px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .mobile-menu-extra,
  .mobile-menu-head {
    max-width: 100%;
  }

  .newin-menu {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

@media (max-width: 760px) {
  .topbar,
  .product-header {
    padding-inline: 20px;
  }

  .brand,
  .product-home {
    max-width: 100%;
    white-space: normal;
  }

  .basket-shell {
    width: min(100% - 24px, 520px);
    margin-inline: auto;
  }

  .collection-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .collection-tabs::-webkit-scrollbar {
    display: none;
  }

  .checkout-shell,
  .login-page,
  .cart-page {
    width: min(100% - 28px, 680px);
    margin-inline: auto;
  }

  .checkout-form input,
  .checkout-form textarea,
  .login-form input,
  .login-submit {
    width: 100%;
  }
}

/* Final hero responsiveness tune-up */
.hero-slider {
  width: 100%;
  padding-inline: 16px;
  box-sizing: border-box;
}

.hero-window {
  width: 100%;
  overflow: hidden;
}

.hero-slider .slides {
  align-items: stretch;
}

.hero-slider .slide-card {
  min-width: 0;
}

.hero-slider .image-wrap {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  height: auto;
  min-height: clamp(360px, 30vw, 580px);
}

.hero-slider .slide-copy {
  min-height: 152px;
}

@media (max-width: 1180px) {
  .hero-slider {
    padding-inline: clamp(18px, 3.4vw, 34px);
  }

  .hero-slider .image-wrap {
    aspect-ratio: 1.48 / 1;
    min-height: clamp(330px, 34vw, 470px);
  }

  .hero-slider .slide-title {
    font-size: 19px;
    line-height: 30px;
  }
}

@media (max-width: 980px) {
  .hero-slider {
    padding-inline: clamp(16px, 3.2vw, 28px);
  }

  .hero-slider .slides {
    gap: 0;
  }

  .hero-slider .slide-card {
    flex: 0 0 100%;
  }

  .hero-slider .image-wrap {
    aspect-ratio: 1.12 / 1;
    min-height: 0;
    height: clamp(390px, 72vw, 560px);
    border-radius: 8px;
  }

  .hero-slider .kicker {
    right: 20px;
    left: auto;
    bottom: 22px;
    max-width: calc(100% - 40px);
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }

  .hero-slider .slide-copy {
    min-height: auto;
    padding: 16px 18px 30px;
  }

  .hero-slider .slide-title {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 28px;
  }

  .hero-slider .button-link {
    min-width: 112px;
    height: 46px;
    font-size: 10px;
  }

  .hero-slider .slider-arrow {
    top: 34%;
    width: 38px;
    height: 46px;
  }
}

@media (max-width: 760px) {
  .hero-slider {
    padding-inline: 16px;
  }

  .hero-slider .image-wrap {
    aspect-ratio: 0.98 / 1;
    height: clamp(360px, 92vw, 520px);
  }
}

@media (max-width: 420px) {
  .hero-slider .image-wrap {
    height: clamp(330px, 105vw, 460px);
  }

  .hero-slider .kicker {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}

.beauty-ai-panel {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
}

body.beauty-ai-open .beauty-ai-panel {
  display: block;
}

.beauty-ai-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 19, 0.28);
}

.beauty-ai-shell {
  position: absolute;
  top: 86px;
  left: clamp(16px, 4vw, 52px);
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 112px);
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  overflow: hidden;
  border: 1px solid #e8ded8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(52, 52, 52, 0.18);
}

.beauty-ai-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f8f3f0;
  cursor: pointer;
}

.beauty-ai-close::before,
.beauty-ai-close::after {
  position: absolute;
  top: 16px;
  right: 9px;
  left: 9px;
  height: 1.4px;
  background: #343434;
  content: "";
}

.beauty-ai-close::before {
  transform: rotate(45deg);
}

.beauty-ai-close::after {
  transform: rotate(-45deg);
}

.beauty-ai-head {
  display: flex;
  gap: 14px;
  padding: 28px 28px 20px 64px;
  border-bottom: 1px solid #f0e9e5;
  background: #fff9f6;
}

.beauty-ai-head > span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f9eae4;
  font-size: 24px;
}

.beauty-ai-head h2 {
  margin: 0 0 6px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.beauty-ai-head p {
  margin: 0;
  color: #6f6762;
  font-family: var(--font-fa);
  font-size: 12px;
  line-height: 1.9;
}

.beauty-ai-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
}

.beauty-ai-message {
  width: fit-content;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 13px;
  line-height: 2;
  white-space: pre-line;
}

.beauty-ai-message.user {
  justify-self: end;
  color: #fff;
  background: #343434;
}

.beauty-ai-message.assistant {
  justify-self: start;
  background: #f8f3f0;
}

.beauty-ai-message.error {
  color: #a33e3e;
  background: #fbecec;
}

.beauty-ai-products {
  width: 100%;
  display: grid;
  gap: 10px;
}

.beauty-ai-product {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid #eee7e2;
  border-radius: 12px;
  color: #343434;
  background: #fff;
  text-decoration: none;
}

.beauty-ai-product img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  background: #f8f6f4;
}

.beauty-ai-product b,
.beauty-ai-product span,
.beauty-ai-product small {
  display: block;
  font-family: var(--font-fa);
}

.beauty-ai-product b {
  font-size: 12px;
  line-height: 1.7;
}

.beauty-ai-product span {
  color: #7a706b;
  font-size: 11px;
  line-height: 1.7;
}

.beauty-ai-product small {
  margin-top: 3px;
  color: #9a7565;
  font-size: 11px;
}

.beauty-ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #f0e9e5;
  background: #fff;
}

.beauty-ai-form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 120px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid #ded8d4;
  border-radius: 12px;
  color: #343434;
  font-family: var(--font-fa);
  font-size: 13px;
  line-height: 1.8;
}

.beauty-ai-form button {
  min-width: 74px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #343434;
  cursor: pointer;
  font-family: var(--font-fa);
  font-size: 12px;
  font-weight: 800;
}

.beauty-ai-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 760px) {
  .beauty-ai-shell {
    inset: auto 12px 12px;
    top: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .beauty-ai-head {
    padding: 24px 22px 18px 58px;
  }

  .beauty-ai-form {
    grid-template-columns: 1fr;
  }

  .beauty-ai-form button {
    height: 44px;
  }
}
