:root {
  --ink: #11100f;
  --paper: #f8f6f1;
  --white: #ffffff;
  --soft: #f1f0ec;
  --jade: #365c4c;
  --cinnabar: #a63227;
  --plum: #563f5f;
  --muted: #6b6863;
  --line: #d9d6cf;
  --display: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 clamp(22px, 3vw, 48px);
  color: var(--white);
  font-size: 12px;
  background: var(--ink);
}

.utility-bar p {
  margin: 0;
}

.utility-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.utility-actions {
  gap: 32px;
}

.language-switch {
  gap: 8px;
}

.language-switch button {
  min-width: 24px;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  border: 0;
}

.language-switch button.is-active {
  color: var(--white);
  font-weight: 700;
}

.main-header {
  display: grid;
  grid-template-columns: 250px minmax(340px, 1fr) auto;
  align-items: center;
  height: 84px;
  padding: 0 clamp(22px, 3vw, 48px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(17, 16, 15, 0.08);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled .main-header {
  box-shadow: 0 8px 24px rgba(17, 16, 15, 0.08);
}

.brand-logo {
  display: inline-grid;
  justify-self: start;
  gap: 3px;
  line-height: 1;
}

.brand-logo span {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0;
}

.brand-logo strong {
  padding-left: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 4.4vw, 72px);
  height: 100%;
  font-size: 12px;
  font-weight: 700;
}

.desktop-nav a {
  display: grid;
  align-items: center;
  height: 100%;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
  border-color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-trigger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.search-trigger:hover {
  background: var(--paper);
}

.search-trigger i {
  color: var(--ink);
  font-size: 19px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 21px;
  background: transparent;
  border: 0;
}

.cart-link {
  position: relative;
}

.cart-link em {
  position: absolute;
  top: 0;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  color: var(--white);
  font-size: 10px;
  font-style: normal;
  background: var(--cinnabar);
  border-radius: 50%;
}

.mobile-menu,
.mobile-panel {
  display: none;
}

.brand-hero {
  display: flex;
  align-items: center;
  min-height: 584px;
  padding: 64px clamp(28px, 7vw, 110px);
  background-color: #f3efe8;
  background-image: url("assets/brand/pasier-hero-evening-lotus-v2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-copy {
  width: min(590px, 45vw);
}

.hero-kicker,
.section-heading > p,
.section-heading > div > p,
.maison-copy > p,
.newsletter-section > div > p,
.search-head p,
.drawer-head p,
.checkout-summary > p,
.checkout-form > p,
.order-success > p {
  margin: 0 0 18px;
  color: var(--cinnabar);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-hero h1 {
  max-width: 610px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 4.25vw, 66px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-body {
  max-width: 430px;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 0;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--white);
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.button-outline {
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 86px;
  padding: 0 clamp(28px, 7vw, 110px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.service-strip article {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 20px clamp(12px, 2vw, 30px);
  border-right: 1px solid var(--line);
}

.service-strip article:first-child {
  padding-left: 0;
}

.service-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-strip i {
  font-size: 25px;
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip strong {
  font-size: 13px;
  line-height: 1.2;
}

.service-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.products-section {
  padding: 64px 28px 90px;
  background: var(--white);
}

.products-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.collections-section {
  padding: 72px clamp(28px, 7vw, 110px) 92px;
  background: var(--white);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading.centered {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.maison-copy h2,
.newsletter-section h2,
.search-head h2,
.drawer-head h2,
.checkout-summary h2,
.checkout-form h2,
.order-success h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading span {
  display: block;
  max-width: 680px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  min-height: 58px;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-filter-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 57px;
  padding: 0 16px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: transparent;
  border: 0;
  text-transform: uppercase;
}

.catalog-filter-toggle i {
  font-size: 17px;
}

.catalog-toolbar-main {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-count strong {
  color: var(--ink);
  font-size: 11px;
}

.catalog-view {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-view button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #aaa5a0;
  font-size: 15px;
  background: transparent;
  border: 0;
}

.catalog-view button.is-active,
.catalog-view button:hover {
  color: var(--ink);
}

.catalog-sort {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
  min-height: 57px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.catalog-sort > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-sort select {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 26px 0 0;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  background: transparent;
  border: 0;
  appearance: none;
}

.catalog-sort i {
  position: absolute;
  right: 0;
  pointer-events: none;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalog-filters {
  position: sticky;
  top: 132px;
  max-height: calc(100vh - 152px);
  overflow-y: auto;
  padding-right: 18px;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}

.filter-group {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.filter-group + .filter-group {
  padding-top: 22px;
}

.filter-group h3 {
  margin: 0 0 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-row {
  display: grid;
  gap: 2px;
}

.filter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 34px;
  padding: 0 0 0 13px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  background: transparent;
  border: 0;
}

.filter::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 14px;
  background: transparent;
  content: "";
}

.filter em {
  color: #aaa5a0;
  font-size: 9px;
  font-style: normal;
}

.filter.is-active,
.filter:hover {
  color: var(--ink);
}

.filter.is-active {
  font-weight: 700;
}

.filter.is-active::before {
  background: var(--cinnabar);
}

.products-section.is-filters-hidden .catalog-layout {
  grid-template-columns: 1fr;
}

.products-section.is-filters-hidden .catalog-filters {
  display: none;
}

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

.product-grid.is-comfortable {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #f7f7f6;
  border: 1px solid #e9e8e5;
}

.product-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #f8f8f7;
  border: 0;
}

.product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.product-wishlist {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 30px;
  height: 30px;
  color: var(--ink);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 26, 24, 0.08);
}

.product-wishlist.is-active {
  color: var(--cinnabar);
}

.product-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 12px 11px;
}

.product-meta > span {
  display: block;
  margin-bottom: 6px;
  color: var(--cinnabar);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-meta h3 {
  display: -webkit-box;
  min-height: 38px;
  margin: 0;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-foot {
  display: flex;
  gap: 8px;
  min-height: 16px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.product-foot small + small::before {
  content: "/";
  margin-right: 8px;
}

.product-commerce {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 7px;
}

.product-commerce strong,
.dialog-price strong {
  font-size: 13px;
}

.product-commerce del,
.dialog-price del {
  color: var(--muted);
  font-size: 11px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 34px;
  margin-top: 11px;
}

.product-add {
  min-height: 34px;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  background: var(--ink);
  border: 1px solid var(--ink);
  text-transform: uppercase;
}

.product-add:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.product-detail-trigger {
  width: 34px;
  height: 34px;
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-left: 0;
}

.catalog-empty {
  padding: 70px 20px;
  color: var(--muted);
  text-align: center;
  border: 1px solid var(--line);
}

.catalog-empty[hidden] {
  display: none;
}

.collections-section {
  background: var(--paper);
}

.collection-shell {
  position: relative;
}

.collection-rail {
  display: grid;
  grid-auto-columns: calc((100% - 66px) / 4);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.collection-card {
  min-width: 0;
  scroll-snap-align: start;
}

.collection-card button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #eef0ef;
  border: 0;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 260ms ease;
}

.collection-card button:hover img {
  transform: scale(1.035);
}

.collection-card h3 {
  margin: 14px 0 5px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
}

.collection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 28px;
}

.rail-controls .icon-button {
  background: var(--white);
  border: 1px solid var(--line);
}

.maison-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  min-height: 650px;
  background: var(--white);
}

.maison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maison-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(48px, 7vw, 110px);
}

.maison-copy > span {
  display: block;
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.maison-copy dl {
  display: grid;
  gap: 0;
  margin: 34px 0;
}

.maison-copy dl div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.maison-copy dl div:last-child {
  border-bottom: 1px solid var(--line);
}

.maison-copy dt {
  color: var(--cinnabar);
  font-size: 11px;
  font-weight: 700;
}

.maison-copy dd {
  margin: 0;
  font-size: 13px;
}

.maison-copy .button {
  width: fit-content;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  align-items: center;
  gap: 70px;
  padding: 76px clamp(28px, 7vw, 110px);
  color: var(--white);
  background: var(--jade);
}

.newsletter-section > div > p {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-section h2 {
  font-size: clamp(34px, 3.7vw, 52px);
}

.newsletter-section > div > span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.newsletter-section form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  align-items: start;
}

.newsletter-section input {
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
}

.newsletter-section .button {
  height: 48px;
  min-height: 48px;
}

.newsletter-section output {
  grid-column: 1 / -1;
  min-height: 20px;
  margin-top: 8px;
  color: var(--white);
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  padding: 64px clamp(28px, 7vw, 110px);
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  display: grid;
  align-content: start;
  justify-items: start;
}

.footer-brand > strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.footer-brand > span {
  font-size: 10px;
  letter-spacing: 0.3em;
}

.footer-brand p {
  max-width: 330px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 14px;
  font-size: 12px;
}

.footer-group strong {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.footer-group a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

dialog {
  max-width: none;
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

dialog::backdrop {
  background: rgba(17, 16, 15, 0.62);
  backdrop-filter: blur(2px);
}

[hidden] {
  display: none !important;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
}

.product-dialog {
  width: min(1040px, calc(100vw - 32px));
}

.dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 620px;
}

.dialog-media {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 26px;
  background: #f1f3f3;
}

.dialog-media > img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.dialog-gallery {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: start;
  gap: 8px;
}

.dialog-gallery button {
  width: 76px;
  padding: 0;
  background: var(--white);
  border: 1px solid transparent;
}

.dialog-gallery button.is-active {
  border-color: var(--ink);
}

.dialog-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 48px;
}

.dialog-copy > span {
  color: var(--cinnabar);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.02;
}

.dialog-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dialog-price strong {
  font-size: 18px;
}

.dialog-description {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.dialog-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 26px 0;
  border-top: 1px solid var(--line);
}

.dialog-copy dl div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dialog-copy dt {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.dialog-copy dd {
  margin: 5px 0 0;
  font-size: 12px;
}

.product-promise {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.product-promise span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-promise i {
  color: var(--ink);
  font-size: 17px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.search-dialog {
  width: min(820px, calc(100vw - 32px));
  padding: 48px;
}

.search-head h2 {
  font-size: 44px;
}

.search-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  height: 54px;
  margin-top: 28px;
  padding: 0 14px;
  border: 1px solid var(--ink);
}

.search-field i {
  font-size: 20px;
}

.search-field input {
  width: 100%;
  height: 50px;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.search-results button {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
}

.search-results img {
  width: 78px;
  height: 78px;
  object-fit: cover;
}

.search-results strong,
.search-results small {
  display: block;
}

.search-results strong {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.2;
}

.search-results small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.cart-dialog {
  width: min(500px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  overflow: hidden;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 24px 30px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head p {
  margin-bottom: 8px;
}

.drawer-head h2 {
  font-size: 36px;
}

.shipping-progress {
  padding: 16px 30px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.shipping-progress p {
  margin: 0 0 10px;
  font-size: 12px;
}

.shipping-progress > span {
  display: block;
  height: 3px;
  background: #d7d4cd;
}

.shipping-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--jade);
  transition: width 220ms ease;
}

.cart-items {
  height: calc(100dvh - 408px);
  min-height: 180px;
  padding: 10px 30px;
  overflow-y: auto;
}

.cart-empty {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 96px;
  height: 104px;
  object-fit: cover;
  background: var(--soft);
}

.cart-row strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.2;
}

.cart-row > div > span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.cart-quantity {
  display: grid;
  grid-template-columns: 30px 32px 30px;
  align-items: center;
  width: fit-content;
  margin-top: 13px;
  border: 1px solid var(--line);
}

.cart-quantity button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
}

.cart-quantity span {
  text-align: center;
  font-size: 12px;
}

.cart-remove {
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--muted);
  font-size: 18px;
  background: transparent;
  border: 0;
}

.cart-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 304px;
  padding: 20px 30px 22px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.cart-total strong {
  font-family: var(--display);
  font-size: 22px;
}

.cart-footer > p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 11px;
}

.checkout-trigger {
  width: 100%;
}

.checkout-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.continue-shopping {
  margin: 10px auto 0;
  border-bottom: 0;
}

.cart-assurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-assurance span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.cart-assurance i {
  font-size: 17px;
}

.checkout-dialog {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(500px, 1.24fr);
  min-height: 720px;
}

.checkout-summary {
  padding: 44px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin: -10px 0 30px;
  padding: 0;
  font-size: 12px;
  background: transparent;
  border: 0;
}

.checkout-summary h2,
.checkout-form h2 {
  font-size: 40px;
}

.checkout-summary > div {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.checkout-summary-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.checkout-summary-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: var(--soft);
}

.checkout-summary-row strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.2;
}

.checkout-summary-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.checkout-summary-row > b {
  font-size: 12px;
}

.checkout-summary dl {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.checkout-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.checkout-summary dd {
  margin: 0;
}

.checkout-summary .checkout-total {
  margin-top: 4px;
  padding-top: 16px;
  font-size: 16px;
  border-top: 1px solid var(--line);
}

.checkout-summary .checkout-total dd {
  font-family: var(--display);
  font-size: 22px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  padding: 60px 56px 46px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.checkout-grid label {
  display: grid;
  gap: 7px;
}

.checkout-grid label > span {
  color: var(--muted);
  font-size: 11px;
}

.checkout-grid .wide {
  grid-column: 1 / -1;
}

.checkout-grid input,
.checkout-grid select,
.checkout-grid textarea {
  width: 100%;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
}

.checkout-grid input,
.checkout-grid select {
  height: 44px;
}

.checkout-grid textarea {
  padding-block: 11px;
  resize: vertical;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
}

.payment-option {
  display: grid;
  grid-template-columns: 18px 26px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.payment-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.payment-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}

.payment-option > i {
  font-size: 23px;
}

.payment-option strong,
.payment-option small {
  display: block;
}

.payment-option strong {
  font-size: 12px;
}

.payment-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

[data-payment-setup] {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--cinnabar);
  font-size: 11px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.checkout-submit {
  width: 100%;
}

.checkout-submit[aria-busy="true"] {
  cursor: wait;
  opacity: 0.68;
}

.checkout-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
}

[data-order-status] {
  min-height: 18px;
  margin-top: 10px;
  color: var(--cinnabar);
  font-size: 12px;
}

.order-success {
  display: grid;
  justify-items: center;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 90px 50px;
  text-align: center;
}

.order-success[hidden] {
  display: none;
}

.order-success > i {
  margin-bottom: 24px;
  color: var(--jade);
  font-size: 62px;
}

.order-success > p {
  color: var(--cinnabar);
}

.order-success > span {
  max-width: 470px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.order-success > strong {
  margin: 24px 0;
  font-size: 13px;
  letter-spacing: 0.08em;
}

@media (max-width: 1160px) {
  .main-header {
    grid-template-columns: 190px 1fr auto;
  }

  .desktop-nav {
    gap: 28px;
  }

  .service-strip {
    padding-inline: 28px;
  }

  .service-strip article {
    padding-inline: 16px;
  }

  .maison-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 104px;
  }

  .main-header {
    grid-template-columns: 1fr auto;
    height: 72px;
  }

  .desktop-nav,
  .account-link,
  .mobile-menu {
    display: grid;
  }

  .mobile-panel {
    position: absolute;
    right: 0;
    left: 0;
    top: 106px;
    padding: 18px 28px 26px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(17, 16, 15, 0.12);
  }

  .mobile-panel.is-open {
    display: grid;
  }

  .mobile-panel nav {
    display: grid;
  }

  .mobile-panel a,
  .mobile-panel > button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-lang-switch {
    display: flex;
    gap: 8px;
    padding-top: 18px;
  }

  .mobile-lang-switch button {
    width: 52px;
    height: 38px;
    background: var(--white);
    border: 1px solid var(--line);
  }

  .mobile-lang-switch button.is-active {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
  }

  .service-strip {
    grid-auto-columns: minmax(240px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-strip article {
    scroll-snap-align: start;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-filter-toggle {
    justify-content: space-between;
    padding-right: 0;
  }

  .catalog-filter-toggle i {
    order: 2;
  }

  .catalog-toolbar-main {
    min-height: 54px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .catalog-layout,
  .products-section.is-filters-hidden .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-right: 0;
  }

  .catalog-filter-panel {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 22px;
    padding: 20px;
    background: #f7f7f6;
    border: 1px solid var(--line);
  }

  .products-section.is-mobile-filters-open .catalog-filter-panel {
    display: grid;
  }

  .filter-group,
  .filter-group + .filter-group {
    padding: 0;
    border: 0;
  }

  .collection-rail {
    grid-auto-columns: calc((100% - 22px) / 2);
  }

  .maison-section {
    grid-template-columns: 1fr;
  }

  .maison-image img {
    height: 560px;
  }

  .newsletter-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

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

  .dialog-body {
    grid-template-columns: 1fr;
  }

  .dialog-media > img {
    height: 480px;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 98px;
  }

  .utility-bar {
    height: 30px;
    padding-inline: 14px;
    font-size: 10px;
  }

  .utility-actions > span {
    display: none;
  }

  .utility-actions {
    gap: 10px;
  }

  .main-header {
    height: 68px;
    padding-inline: 14px;
  }

  .brand-logo span {
    font-size: 25px;
  }

  .brand-logo strong {
    font-size: 8px;
  }

  .header-tools {
    gap: 2px;
  }

  .mobile-panel {
    top: 98px;
    padding-inline: 18px;
  }

  .brand-hero {
    align-items: flex-end;
    min-height: 650px;
    padding: 360px 22px 46px;
    background-color: #f3efe8;
    background-image: url("assets/brand/pasier-hero-evening-lotus-mobile-v2.png");
    background-position: center top;
    background-size: 100% auto;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-kicker {
    margin-bottom: 12px;
  }

  .brand-hero h1 {
    max-width: 430px;
    font-size: 44px;
    line-height: 0.98;
  }

  .hero-body {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .service-strip {
    padding-inline: 18px;
  }

  .products-section {
    padding: 52px 18px 70px;
  }

  .collections-section {
    padding: 58px 18px 70px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading h2,
  .maison-copy h2,
  .newsletter-section h2 {
    font-size: 39px;
  }

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

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

  .product-meta h3 {
    min-height: 36px;
    font-size: 12px;
  }

  .product-foot {
    min-height: 15px;
  }

  .product-actions {
    grid-template-columns: 1fr 34px;
  }

  .product-add,
  .product-detail-trigger {
    min-height: 34px;
    height: 34px;
  }

  .catalog-toolbar-main {
    gap: 8px;
  }

  .catalog-count span,
  .catalog-view > span {
    display: none;
  }

  .catalog-sort {
    min-width: 154px;
    padding-left: 10px;
  }

  .catalog-sort > span {
    display: none;
  }

  .catalog-filter-panel {
    grid-template-columns: 1fr;
  }

  .collection-rail {
    grid-auto-columns: 82%;
  }

  .maison-image img {
    height: 420px;
  }

  .maison-copy {
    padding: 58px 22px 66px;
  }

  .newsletter-section {
    padding: 60px 22px;
  }

  .newsletter-section form {
    grid-template-columns: 1fr;
  }

  .newsletter-section .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 24px;
    padding: 54px 22px;
  }

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

  .footer-group:last-child {
    grid-column: 1 / -1;
  }

  .product-dialog,
  .search-dialog,
  .checkout-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .dialog-media {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .dialog-media > img {
    grid-column: 1;
    height: 360px;
  }

  .dialog-gallery {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(5, 1fr);
  }

  .dialog-gallery button {
    width: 100%;
  }

  .dialog-copy {
    padding: 34px 20px 26px;
  }

  .dialog-copy h2 {
    font-size: 34px;
  }

  .search-dialog {
    padding: 46px 20px 24px;
  }

  .search-head h2 {
    font-size: 36px;
  }

  .search-results {
    grid-template-columns: 1fr;
  }

  .cart-dialog {
    width: 100vw;
  }

  .drawer-head,
  .shipping-progress,
  .cart-items,
  .cart-footer {
    padding-inline: 18px;
  }

  .cart-row {
    grid-template-columns: 82px 1fr auto;
  }

  .cart-row img {
    width: 82px;
    height: 94px;
  }

  .checkout-summary,
  .checkout-form {
    padding: 42px 20px 32px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .checkout-grid .wide {
    grid-column: auto;
  }

  .order-success {
    padding: 76px 22px;
  }
}

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