:root {
  --ink: #151411;
  --charcoal: #27231e;
  --muted: #767066;
  --line: #e8e2d8;
  --paper: #fffdfa;
  --porcelain: #f6f3ed;
  --warm: #b88646;
  --warm-dark: #8f6330;
  --cool: #56666b;
  --shadow: 0 22px 70px rgba(33, 27, 18, 0.12);
  --max: min(80vw, 1560px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfa 0%, #fff 42%, #fbfaf7 100%);
  /* font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif; */
  font-family: "Helvetica Neue", sans-serif;
  letter-spacing: 0;
  word-break: normal;
}

body.is-locked {
  overflow: hidden;
}

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

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


/*
 * CKEditor 5 (v41.2.1) content styles.
 * Generated on Thu, 28 Mar 2024 12:40:07 GMT.
 * For more information, check out https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/content-styles.html
 */

:root {
  --ck-color-image-caption-background: hsl(0, 0%, 97%);
  --ck-color-image-caption-text: hsl(0, 0%, 20%);
  --ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
  --ck-color-mention-text: hsl(341, 100%, 30%);
  --ck-color-selector-caption-background: hsl(0, 0%, 97%);
  --ck-color-selector-caption-text: hsl(0, 0%, 20%);
  --ck-highlight-marker-blue: hsl(201, 97%, 72%);
  --ck-highlight-marker-green: hsl(120, 93%, 68%);
  --ck-highlight-marker-pink: hsl(345, 96%, 73%);
  --ck-highlight-marker-yellow: hsl(60, 97%, 73%);
  --ck-highlight-pen-green: hsl(112, 100%, 27%);
  --ck-highlight-pen-red: hsl(0, 85%, 49%);
  --ck-image-style-spacing: 1.5em;
  --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
  --ck-todo-list-checkmark-size: 16px;
}

.ck-content p {
  margin: 0;
  padding: 0;
  line-height: 150%;
}

/* @ckeditor/ckeditor5-table/theme/tablecolumnresize.css */
.ck-content .table .ck-table-resized {
  table-layout: fixed;
}

/* @ckeditor/ckeditor5-table/theme/tablecolumnresize.css */
.ck-content .table table {
  overflow: hidden;
}

/* @ckeditor/ckeditor5-table/theme/tablecolumnresize.css */
.ck-content .table td,
.ck-content .table th {
  overflow-wrap: break-word;
  position: relative;
}

/* @ckeditor/ckeditor5-table/theme/tablecaption.css */
.ck-content .table>figcaption {
  display: table-caption;
  caption-side: top;
  word-break: break-word;
  text-align: center;
  color: var(--ck-color-selector-caption-text);
  background-color: var(--ck-color-selector-caption-background);
  padding: .6em;
  font-size: .75em;
  outline-offset: -1px;
}

/* @ckeditor/ckeditor5-table/theme/table.css */
.ck-content .table {
  margin: 0.9em auto;
  display: table;
}

/* @ckeditor/ckeditor5-table/theme/table.css */
.ck-content .table table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  height: 100%;
  border: 1px double hsl(0, 0%, 70%);
}

/* @ckeditor/ckeditor5-table/theme/table.css */
.ck-content .table table td,
.ck-content .table table th {
  min-width: 2em;
  padding: .4em;
  border: 1px solid hsl(0, 0%, 75%);
}

/* @ckeditor/ckeditor5-table/theme/table.css */
.ck-content .table table th {
  font-weight: bold;
  background: hsla(0, 0%, 0%, 5%);
}

/* @ckeditor/ckeditor5-table/theme/table.css */
.ck-content[dir="rtl"] .table th {
  text-align: right;
}

/* @ckeditor/ckeditor5-table/theme/table.css */
.ck-content[dir="ltr"] .table th {
  text-align: left;
}

/* @ckeditor/ckeditor5-page-break/theme/pagebreak.css */
.ck-content .page-break {
  position: relative;
  clear: both;
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* @ckeditor/ckeditor5-page-break/theme/pagebreak.css */
.ck-content .page-break::after {
  content: '';
  position: absolute;
  border-bottom: 2px dashed hsl(0, 0%, 77%);
  width: 100%;
}

/* @ckeditor/ckeditor5-page-break/theme/pagebreak.css */
.ck-content .page-break__label {
  position: relative;
  z-index: 1;
  padding: .3em .6em;
  display: block;
  text-transform: uppercase;
  border: 1px solid hsl(0, 0%, 77%);
  border-radius: 2px;
  font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
  font-size: 0.75em;
  font-weight: bold;
  color: hsl(0, 0%, 20%);
  background: hsl(0, 0%, 100%);
  box-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* @ckeditor/ckeditor5-media-embed/theme/mediaembed.css */
.ck-content .media {
  clear: both;
  margin: 0.9em 0;
  display: block;
  min-width: 15em;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list {
  list-style: none;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list li {
  position: relative;
  margin-bottom: 5px;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list li .todo-list {
  margin-top: 5px;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label>input {
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  width: var(--ck-todo-list-checkmark-size);
  height: var(--ck-todo-list-checkmark-size);
  vertical-align: middle;
  border: 0;
  left: -25px;
  margin-right: -15px;
  right: 0;
  margin-left: 0;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content[dir=rtl] .todo-list .todo-list__label>input {
  left: 0;
  margin-right: 0;
  right: -25px;
  margin-left: -15px;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label>input::before {
  display: block;
  position: absolute;
  box-sizing: border-box;
  content: '';
  width: 100%;
  height: 100%;
  border: 1px solid hsl(0, 0%, 20%);
  border-radius: 2px;
  transition: 250ms ease-in-out box-shadow;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label>input::after {
  display: block;
  position: absolute;
  box-sizing: content-box;
  pointer-events: none;
  content: '';
  left: calc(var(--ck-todo-list-checkmark-size) / 3);
  top: calc(var(--ck-todo-list-checkmark-size) / 5.3);
  width: calc(var(--ck-todo-list-checkmark-size) / 5.3);
  height: calc(var(--ck-todo-list-checkmark-size) / 2.6);
  border-style: solid;
  border-color: transparent;
  border-width: 0 calc(var(--ck-todo-list-checkmark-size) / 8) calc(var(--ck-todo-list-checkmark-size) / 8) 0;
  transform: rotate(45deg);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label>input[checked]::before {
  background: hsl(126, 64%, 41%);
  border-color: hsl(126, 64%, 41%);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label>input[checked]::after {
  border-color: hsl(0, 0%, 100%);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label .todo-list__label__description {
  vertical-align: middle;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox] {
  position: absolute;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>input,
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input {
  cursor: pointer;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover::before,
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover::before {
  box-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input {
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  width: var(--ck-todo-list-checkmark-size);
  height: var(--ck-todo-list-checkmark-size);
  vertical-align: middle;
  border: 0;
  left: -25px;
  margin-right: -15px;
  right: 0;
  margin-left: 0;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input {
  left: 0;
  margin-right: 0;
  right: -25px;
  margin-left: -15px;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input::before {
  display: block;
  position: absolute;
  box-sizing: border-box;
  content: '';
  width: 100%;
  height: 100%;
  border: 1px solid hsl(0, 0%, 20%);
  border-radius: 2px;
  transition: 250ms ease-in-out box-shadow;
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input::after {
  display: block;
  position: absolute;
  box-sizing: content-box;
  pointer-events: none;
  content: '';
  left: calc(var(--ck-todo-list-checkmark-size) / 3);
  top: calc(var(--ck-todo-list-checkmark-size) / 5.3);
  width: calc(var(--ck-todo-list-checkmark-size) / 5.3);
  height: calc(var(--ck-todo-list-checkmark-size) / 2.6);
  border-style: solid;
  border-color: transparent;
  border-width: 0 calc(var(--ck-todo-list-checkmark-size) / 8) calc(var(--ck-todo-list-checkmark-size) / 8) 0;
  transform: rotate(45deg);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]::before {
  background: hsl(126, 64%, 41%);
  border-color: hsl(126, 64%, 41%);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]::after {
  border-color: hsl(0, 0%, 100%);
}

/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox] {
  position: absolute;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ol {
  list-style-type: decimal;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ol ol {
  list-style-type: lower-latin;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ol ol ol {
  list-style-type: lower-roman;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ol ol ol ol {
  list-style-type: upper-latin;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ol ol ol ol ol {
  list-style-type: upper-roman;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ul {
  list-style-type: disc;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ul ul {
  list-style-type: circle;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ul ul ul {
  list-style-type: square;
}

/* @ckeditor/ckeditor5-list/theme/list.css */
.ck-content ul ul ul ul {
  list-style-type: square;
}

/* @ckeditor/ckeditor5-image/theme/imageresize.css */
.ck-content img.image_resized {
  height: auto;
}

/* @ckeditor/ckeditor5-image/theme/imageresize.css */
.ck-content .image.image_resized {
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}

/* @ckeditor/ckeditor5-image/theme/imageresize.css */
.ck-content .image.image_resized img {
  width: 100%;
}

/* @ckeditor/ckeditor5-image/theme/imageresize.css */
.ck-content .image.image_resized>figcaption {
  display: block;
}

/* @ckeditor/ckeditor5-image/theme/image.css */
.ck-content .image {
  display: table;
  clear: both;
  text-align: center;
  /* margin: 0.9em auto; */
  margin: 0 auto;
  display: grid;
  gap: 15px;
  min-width: 50px;
}

/* @ckeditor/ckeditor5-image/theme/image.css */
.ck-content .image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  min-width: 100%;
  height: auto;
}

/* @ckeditor/ckeditor5-image/theme/image.css */
.ck-content .image-inline {
  /*
     * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).;
     * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.
     * This strange behavior does not happen with inline-flex.
     */
  display: inline-flex;
  max-width: 100%;
  align-items: flex-start;
}

/* @ckeditor/ckeditor5-image/theme/image.css */
.ck-content .image-inline picture {
  display: flex;
}

/* @ckeditor/ckeditor5-image/theme/image.css */
.ck-content .image-inline picture,
.ck-content .image-inline img {
  flex-grow: 1;
  flex-shrink: 1;
  max-width: 100%;
}

/* @ckeditor/ckeditor5-image/theme/imagecaption.css */
.ck-content .image>figcaption {
  display: table-caption;
  caption-side: bottom;
  word-break: break-word;
  color: var(--ck-color-image-caption-text);
  background-color: var(--ck-color-image-caption-background);
  padding: .6em;
  font-size: .75em;
  outline-offset: -1px;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-block-align-left,
.ck-content .image-style-block-align-right {
  max-width: calc(100% - var(--ck-image-style-spacing));
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-align-left,
.ck-content .image-style-align-right {
  clear: none;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-side {
  float: right;
  margin-left: var(--ck-image-style-spacing);
  max-width: 50%;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-align-left {
  float: left;
  margin-right: var(--ck-image-style-spacing);
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-align-center {
  margin-left: auto;
  margin-right: auto;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-align-right {
  float: right;
  margin-left: var(--ck-image-style-spacing);
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-block-align-right {
  margin-right: 0;
  margin-left: auto;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content p+.image-style-align-left,
.ck-content p+.image-style-align-right,
.ck-content p+.image-style-side {
  margin-top: 0;
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-inline.image-style-align-left,
.ck-content .image-inline.image-style-align-right {
  margin-top: var(--ck-inline-image-style-spacing);
  margin-bottom: var(--ck-inline-image-style-spacing);
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-inline.image-style-align-left {
  margin-right: var(--ck-inline-image-style-spacing);
}

/* @ckeditor/ckeditor5-image/theme/imagestyle.css */
.ck-content .image-inline.image-style-align-right {
  margin-left: var(--ck-inline-image-style-spacing);
}

/* @ckeditor/ckeditor5-highlight/theme/highlight.css */
.ck-content .marker-yellow {
  background-color: var(--ck-highlight-marker-yellow);
}

/* @ckeditor/ckeditor5-highlight/theme/highlight.css */
.ck-content .marker-green {
  background-color: var(--ck-highlight-marker-green);
}

/* @ckeditor/ckeditor5-highlight/theme/highlight.css */
.ck-content .marker-pink {
  background-color: var(--ck-highlight-marker-pink);
}

/* @ckeditor/ckeditor5-highlight/theme/highlight.css */
.ck-content .marker-blue {
  background-color: var(--ck-highlight-marker-blue);
}

/* @ckeditor/ckeditor5-highlight/theme/highlight.css */
.ck-content .pen-red {
  color: var(--ck-highlight-pen-red);
  background-color: transparent;
}

/* @ckeditor/ckeditor5-highlight/theme/highlight.css */
.ck-content .pen-green {
  color: var(--ck-highlight-pen-green);
  background-color: transparent;
}

/* @ckeditor/ckeditor5-block-quote/theme/blockquote.css */
.ck-content blockquote {
  overflow: hidden;
  padding-right: 1.5em;
  padding-left: 1.5em;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  border-left: solid 5px hsl(0, 0%, 80%);
}

/* @ckeditor/ckeditor5-block-quote/theme/blockquote.css */
.ck-content[dir="rtl"] blockquote {
  border-left: 0;
  border-right: solid 5px hsl(0, 0%, 80%);
}

/* @ckeditor/ckeditor5-basic-styles/theme/code.css */
.ck-content code {
  background-color: hsla(0, 0%, 78%, 0.3);
  padding: .15em;
  border-radius: 2px;
}

/* @ckeditor/ckeditor5-font/theme/fontsize.css */
.ck-content .text-tiny {
  font-size: .7em;
}

/* @ckeditor/ckeditor5-font/theme/fontsize.css */
.ck-content .text-small {
  font-size: .85em;
}

/* @ckeditor/ckeditor5-font/theme/fontsize.css */
.ck-content .text-big {
  font-size: 1.4em;
}

/* @ckeditor/ckeditor5-font/theme/fontsize.css */
.ck-content .text-huge {
  font-size: 1.8em;
}

/* @ckeditor/ckeditor5-mention/theme/mention.css */
.ck-content .mention {
  background: var(--ck-color-mention-background);
  color: var(--ck-color-mention-text);
}

/* @ckeditor/ckeditor5-horizontal-line/theme/horizontalline.css */
.ck-content hr {
  margin: 15px 0;
  height: 4px;
  background: hsl(0, 0%, 87%);
  border: 0;
}

/* @ckeditor/ckeditor5-code-block/theme/codeblock.css */
.ck-content pre {
  padding: 1em;
  color: hsl(0, 0%, 20.8%);
  background: hsla(0, 0%, 78%, 0.3);
  border: 1px solid hsl(0, 0%, 77%);
  border-radius: 2px;
  text-align: left;
  direction: ltr;
  tab-size: 4;
  white-space: pre-wrap;
  font-style: normal;
  min-width: 200px;
}

/* @ckeditor/ckeditor5-code-block/theme/codeblock.css */
.ck-content pre code {
  background: unset;
  padding: 0;
  border-radius: 0;
}

@media print {

  /* @ckeditor/ckeditor5-page-break/theme/pagebreak.css */
  .ck-content .page-break {
    padding: 0;
  }

  /* @ckeditor/ckeditor5-page-break/theme/pagebreak.css */
  .ck-content .page-break::after {
    display: none;
  }
}




.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(232, 226, 216, 0.86);
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(18px);
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

/* 向上滚动时隐藏（带平滑动效），接近顶部时由 JS 移除该类保持显示 */
.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.site-header {
  height: 86px;
}

.site-header .section {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  height: 85px;
}

.brand-mark {
  /* width: clamp(154px, 18vw, 244px); */
  /* width: clamp(128px, 13vw, 190px); */
}

.brand-mark img {
  /* width: 100%;
  height: auto; */
  height: 55px;
}

.site-nav {
  justify-self: stretch;
  display: flex;
  align-items: center;
  /* justify-content: space-evenly;
  gap: clamp(10px, 1.2vw, 22px); */
  justify-content: flex-end;
  gap: clamp(36px, 5vw, 104px);
  color: rgba(21, 20, 17, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.site-nav .language {
  flex-shrink: 0;
  position: relative;
  padding: 12px 0;
  font-size: 18px;
}

.site-nav a::after,
.site-nav .language::after {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--warm);
  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .language:hover,
.site-nav .language:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .language:hover::after,
.site-nav .language:focus-visible::after {
  width: 100%;
}

.language {
  position: relative;
}

.language span {
  cursor: pointer;
}

.language .dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(calc(0% - 6px));
  width: 100%;
  box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 15%);
  background-color: #ffffff;
}

.language .dropdown a {
  display: block;
  text-align: center;
  font-weight: normal;
}

.language .dropdown a:hover {
  background: rgba(184, 134, 70, 0.20);
  color: var(--warm-dark);
}

.language .dropdown a::after {
  display: none;
}

.language:hover .dropdown {
  display: block;
}

.menu-toggle {
  display: none;
  justify-self: end;
  min-width: 58px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 253, 250, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 86px));
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 74px);
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  transition: opacity 800ms ease;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: transform 5000ms ease;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 16, 13, 0.72) 0%, rgba(18, 16, 13, 0.48) 42%, rgba(18, 16, 13, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.24));
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide.is-active::before {
  transform: scale(1);
}

.hero-content {
  width: min(680px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: capitalize;
}

.hero h1 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  word-break: keep-all;
  text-wrap: pretty;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 84px);
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.8;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--warm);
  background: var(--warm);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.button-quiet {
  color: #fff;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 52px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.hero-dots button.is-active {
  border-color: var(--warm);
  background: var(--warm);
  color: #fff;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
}

.signal-strip div {
  min-height: 92px;
  padding: 24px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
}

.section {
  /* max-width: var(--max); 
  padding: clamp(82px, 10vw, 136px) clamp(18px, 4vw, 0px);*/
  margin: 0 auto;
  padding: clamp(82px, 10vw, 136px) 0;
  padding-top: clamp(54px, 7vw, 70px);
  width: 92vw;
}

.section h2 {
  color: var(--charcoal);
  margin: 0;
  font-weight: 700;
  word-break: keep-all;
  text-wrap: pretty;
  font-size: clamp(30px, 3.5vw, 68px);
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin-bottom: clamp(22px, 5vw, 70px);
  text-transform: uppercase;
}

.current-location {
  padding-top: 25px;
  padding-bottom: 0;
}

/* .products-page .current-location-bg {
  position: sticky;
  top: 105px;
  z-index: 20;
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(18px);
}

.products-page .current-location {
  display: grid;
  grid-template-columns: minmax(200px, 13.5vw) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.product-detail-page .current-location {
  display: block;
}
 */

.about-copy p,
.news-list p,
.project-card p,
.contact-panel span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

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

.size-card {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.size-card:hover,
.size-card:focus-visible {
  transform: translateY(-6px);
  opacity: 0.92;
}

.tile-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  object-fit: cover;
  background-color: #efede8;
}

.size-meta {
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.size-card strong {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
  word-break: keep-all;
}

.size-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.project-section {
  padding-top: 28px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.project-card h3,
.news-list h3 {
  margin: 22px 0 8px;
  color: var(--charcoal);
  font-size: 22px;
  line-height: 1.35;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border: 1px solid var(--line);
}

.project-card span {
  display: block;
  margin-top: 18px;
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-section {
  border-top: 1px solid var(--line);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-list article {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.82);
}

.news-list time {
  color: var(--warm-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  border-top: 1px solid var(--line);
}

.about-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.4vw, 50px);
}

.showroom-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.showroom-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.showroom-gallery img:first-child {
  grid-row: span 2;
}


.contact-panel {
  display: grid;
  gap: 12px;
  align-content: center;
  padding-left: clamp(0px, 4vw, 46px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-panel a {
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  word-break: break-word;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.66);
}

.products-hero {
  position: relative;
  display: grid;
  align-items: end;
  /* min-height: 460px;
  padding: clamp(82px, 10vw, 128px) clamp(18px, 5vw, 74px) clamp(48px, 6vw, 72px); */
  min-height: 230px;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: #1d1a16;
}

.products-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  /* background:
    linear-gradient(90deg, rgba(20, 18, 15, 0.78), rgba(20, 18, 15, 0.3)),
    url("./assets/banner-unsplash-pattern-bath.jpg") center / cover; */
  background:
    linear-gradient(180deg, rgba(20, 18, 15, 0.08), rgba(20, 18, 15, 0.16)),
    url("./assets/banner-unsplash-pattern-bath.jpg") center / cover;
  transform: scale(1.02);
}

.products-hero::after {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  content: "";
  /* height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42)); */
  height: 100%;
  background: transparent;
}

.products-hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: #fff;
}

.products-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.98;
  text-wrap: pretty;
}

.products-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}

.favorite-hero::before {
  background:
    linear-gradient(180deg, rgba(20, 18, 15, 0.08), rgba(20, 18, 15, 0.16)),
    url("./assets/banner02.jpg") center / cover;
}







.catalog-search-band {
  position: relative;
  z-index: 4;
  padding: clamp(32px, 4vw, 54px) 0 0;
}

.product-search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 40px;
  margin-bottom: 20px;
}

.product-search {
  display: flex;
  width: min(410px, 100%);
  background: rgba(255, 253, 250, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(33, 27, 18, 0.08);
}

.product-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.product-search input,
.product-search button {
  min-height: 35px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
}

.product-search input {
  width: 100%;
  padding: 0 10px;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.product-search input::placeholder {
  color: rgba(21, 20, 17, 0.42);
}

.product-search button {
  flex-shrink: 0;
  padding: 0 10px;
  border-left: 1px solid var(--line);
  color: var(--warm-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-search button svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.product-search button:hover svg {
  color: var(--warm);
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(230px, 13.5vw) minmax(0, 1fr);
  gap: 40px;
  padding-top: clamp(40px, 5vw, 60px);
  min-width: 0;
}

.products-page .catalog-shell {
  /* padding-top: clamp(20px, 4vw, 50px); */
  padding-top: 10px;
}

.product-detail-page .catalog-shell {
  padding-top: 30px;
}

.product-detail {
  width: 80vw;
}
.catalog-sidebar{
  margin-top: 55px;
}
.catalog-sidebar nav {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.catalog-sidebar a {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-sidebar a:hover span,
.catalog-sidebar a:focus-visible span {
  color: var(--warm-dark);
}

.catalog-sidebar span {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.catalog-sidebar small,
.catalog-note span {
  color: var(--muted);
  font-size: 13px;
}

.catalog-note {
  display: grid;
  gap: 6px;
  flex-shrink: 0;
}


.catalog-note strong {
  font-size: 30px;
  line-height: 1;
  text-transform: capitalize;
}

.catalog-content {
  display: grid;
  gap: clamp(76px, 8vw, 112px);
}

.catalog-group {
  scroll-margin-top: 120px;
}

.catalog-group.is-hidden {
  display: none;
}

.catalog-group-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  align-items: end;
  gap: clamp(22px, 5vw, 70px);
  margin-bottom: 30px;
}

.catalog-group-heading h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.95;
}

.catalog-group-heading>p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
}

.catalog-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--porcelain);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.catalog-card:hover img,
.catalog-card:focus-visible img {
  opacity: 0.9;
  transform: translateY(-3px);
}

.catalog-card>span {
  margin-top: 8px;
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.16;
}

.catalog-card dl {
  display: grid;
  gap: 6px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.catalog-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.catalog-card dt {
  color: rgba(21, 20, 17, 0.48);
  font-weight: 700;
}

.catalog-card dd {
  margin: 0;
  text-align: right;
}

.products2-page {
  background:
    linear-gradient(180deg, #fffdfa 0%, #fff 30%, #f8f5ef 100%);
}

.products2-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(92px, 11vw, 148px) clamp(18px, 5vw, 74px) clamp(58px, 7vw, 86px);
  overflow: hidden;
  isolation: isolate;
  background: #151411;
}

.products2-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.8), rgba(12, 11, 10, 0.42) 48%, rgba(12, 11, 10, 0.12)),
    url("./assets/showroom-board-room.jpg") center / cover;
  transform: scale(1.02);
}

.products2-hero::after {
  position: absolute;
  inset: 11% 0 auto auto;
  z-index: -2;
  width: min(45vw, 660px);
  height: 72%;
  content: "";
  background: linear-gradient(135deg, rgba(184, 134, 70, 0.36), rgba(255, 253, 250, 0.04));
  clip-path: polygon(18% 0, 100% 0, 78% 100%, 0 100%);
}

.products2-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(230px, 0.38fr);
  align-items: end;
  gap: clamp(32px, 8vw, 120px);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.products2-hero-copy {
  color: #fff;
}

.products2-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6.6vw, 94px);
  font-weight: 700;
  line-height: 0.94;
  text-wrap: pretty;
}

.products2-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.8;
}

.products2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.products2-hero-panel {
  display: grid;
  align-content: end;
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.13), rgba(255, 253, 250, 0.06)),
    rgba(21, 20, 17, 0.16);
  color: #fff;
  backdrop-filter: blur(16px);
}

.products2-hero-panel span,
.products2-rail-note span,
.products2-card>div>span,
.products2-metrics span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.products2-hero-panel strong {
  margin-top: 38px;
  color: #d3a96b;
  font-size: clamp(76px, 8vw, 126px);
  line-height: 0.8;
}

.products2-hero-panel small {
  max-width: 210px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.products2-filter-band {
  position: relative;
  z-index: 5;
  padding: 0 clamp(18px, 4vw, 0px);
  background: #fffdfa;
}

.products2-filter-inner {
  display: grid;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 clamp(44px, 5vw, 68px);
  transform: translateY(-32px);
}

.products2-search {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(860px, 100%);
  margin: 0 auto;
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(184, 134, 70, 0.32);
  box-shadow: 0 24px 70px rgba(33, 27, 18, 0.12);
}

.products2-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.products2-search input,
.products2-search button {
  min-height: 66px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
}

.products2-search input {
  min-width: 0;
  padding: 0 24px;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.products2-search input::placeholder {
  color: rgba(21, 20, 17, 0.42);
}

.products2-search button {
  padding: 0 28px;
  border-left: 1px solid var(--line);
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.products2-metrics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--muted);
}

.products2-metrics strong {
  color: var(--warm-dark);
}

.products2-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(42px, 6vw, 86px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(18px, 4vw, 0px) clamp(96px, 11vw, 150px);
}

.products2-rail {
  position: sticky;
  top: 112px;
  align-self: start;
  min-width: 0;
}

.products2-rail nav {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.products2-rail nav a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.products2-rail nav span {
  grid-row: span 2;
  color: var(--warm-dark);
  font-size: 18px;
  font-weight: 800;
}

.products2-rail nav strong {
  color: var(--charcoal);
  font-size: 18px;
  line-height: 1.1;
}

.products2-rail nav small {
  color: var(--muted);
  font-size: 12px;
}

.products2-rail-note {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.products2-rail-note span {
  color: var(--warm-dark);
}

.products2-rail-note strong {
  color: var(--charcoal);
  font-size: 18px;
  line-height: 1.55;
}

.products2-content {
  display: grid;
  gap: clamp(82px, 9vw, 124px);
  min-width: 0;
}

.products2-group {
  position: relative;
  scroll-margin-top: 118px;
}

.products2-group.is-hidden {
  display: none;
}

.products2-group::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 128px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(184, 134, 70, 0.58), rgba(232, 226, 216, 0));
}

.products2-group-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.76fr) minmax(260px, 1fr);
  align-items: end;
  gap: clamp(26px, 5vw, 76px);
  margin-bottom: 34px;
}

.products2-group-heading span {
  display: block;
  margin-bottom: 20px;
  color: rgba(184, 134, 70, 0.34);
  font-size: clamp(64px, 7vw, 110px);
  font-weight: 700;
  line-height: 0.72;
}

.products2-group-heading h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
}

.products2-group-heading>p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

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

.products2-card {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.products2-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--porcelain);
}

.products2-card figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(21, 20, 17, 0.18));
  opacity: 0;
  transition: opacity 180ms ease;
}

.products2-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.products2-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.products2-card:hover img,
.products2-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.products2-card:hover figure::after,
.products2-card:focus-visible figure::after,
.products2-card:hover figcaption,
.products2-card:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.products2-card>div {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.products2-card>div>span {
  color: var(--warm-dark);
}

.products2-card h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.18;
}

.products2-card dl {
  display: grid;
  gap: 5px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.products2-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 5px;
  border-top: 1px solid rgba(232, 226, 216, 0.76);
}

.products2-card dt {
  color: rgba(21, 20, 17, 0.46);
  font-weight: 800;
}

.products2-card dd {
  margin: 0;
  text-align: right;
}

.products2-card small {
  margin-top: 4px;
  color: var(--cool);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.products3-page {
  background: #fffdfa;
}

.products3-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 86px));
  display: grid;
  align-items: end;
  padding: clamp(92px, 11vw, 154px) clamp(18px, 5vw, 74px) clamp(64px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
  background: #12110f;
}

.products3-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 13, 12, 0.86) 0%, rgba(14, 13, 12, 0.52) 42%, rgba(14, 13, 12, 0.14) 100%),
    url("./assets/banner-unsplash-marble-vanity.jpg") center / cover;
  transform: scale(1.03);
}

.products3-hero::after {
  position: absolute;
  left: clamp(18px, 5vw, 74px);
  right: clamp(18px, 5vw, 74px);
  bottom: 44px;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(211, 169, 107, 0.9), rgba(255, 255, 255, 0.08));
}

.products3-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(38px, 8vw, 132px);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.products3-hero-copy {
  color: #fff;
}

.products3-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(52px, 7.4vw, 108px);
  line-height: 0.9;
  text-wrap: pretty;
}

.products3-hero p:not(.eyebrow) {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
}

.products3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.products3-hero-stack {
  position: relative;
  min-height: 460px;
}

.products3-hero-stack img {
  position: absolute;
  width: min(72%, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
}

.products3-hero-stack img:nth-child(1) {
  right: 0;
  bottom: 0;
}

.products3-hero-stack img:nth-child(2) {
  left: 0;
  bottom: 68px;
  width: min(54%, 270px);
}

.products3-hero-stack img:nth-child(3) {
  right: 18%;
  top: 0;
  width: min(42%, 220px);
}

.products3-search-band {
  position: relative;
  z-index: 6;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 0px);
  transform: translateY(-42px);
}

.products3-search-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(184, 134, 70, 0.34);
  box-shadow: 0 24px 80px rgba(33, 27, 18, 0.13);
}

.products3-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.products3-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.products3-search input,
.products3-search button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
}

.products3-search input {
  min-width: 0;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.products3-search button {
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.products3-size-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.products3-size-tabs a {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 16px;
  background: #fffdfa;
}

.products3-size-tabs span,
.products3-count,
.products3-scene-copy dt,
.products3-feature-product span,
.products3-editorial-card span,
.products3-swatch-card span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.products3-size-tabs span,
.products3-count strong,
.products3-feature-product span,
.products3-editorial-card span,
.products3-swatch-card span {
  color: var(--warm-dark);
}

.products3-size-tabs strong {
  color: var(--charcoal);
  font-size: clamp(17px, 1.5vw, 22px);
}

.products3-count {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.products3-shell {
  max-width: var(--max);
  margin: -4px auto 0;
  padding: 0 clamp(18px, 4vw, 0px) clamp(96px, 11vw, 150px);
}

.products3-content {
  display: grid;
  gap: clamp(86px, 10vw, 150px);
}

.products3-chapter {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  scroll-margin-top: 118px;
}

.products3-chapter.is-hidden {
  display: none;
}

.products3-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.74fr);
  min-height: clamp(440px, 48vw, 680px);
  background: var(--charcoal);
  color: #fff;
}

.products3-variant-reverse .products3-scene {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.16fr);
}

.products3-variant-reverse .products3-scene-image {
  grid-column: 2;
}

.products3-variant-reverse .products3-scene-copy {
  grid-column: 1;
  grid-row: 1;
}

.products3-scene-image {
  min-height: 100%;
}

.products3-scene-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 46vw, 680px);
  object-fit: cover;
}

.products3-scene-copy {
  display: grid;
  align-content: end;
  padding: clamp(28px, 5vw, 64px);
}

.products3-scene-copy h2 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.9;
}

.products3-scene-copy>p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.products3-scene-copy dl {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.products3-scene-copy dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.products3-scene-copy dt {
  color: #d3a96b;
}

.products3-scene-copy dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.products3-composition {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 0.56fr) minmax(280px, 0.92fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.products3-feature-product {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: #181611;
  color: #fff;
}

.products3-feature-product>div {
  padding: clamp(22px, 3vw, 38px);
}

.products3-feature-product h3 {
  max-width: 330px;
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
}

.products3-feature-product p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.products3-feature-product img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.products3-editorial-strip {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.products3-editorial-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #fffdfa;
}

.products3-editorial-card img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
}

.products3-editorial-card div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.products3-editorial-card strong,
.products3-swatch-card strong {
  color: var(--charcoal);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.12;
}

.products3-editorial-card small,
.products3-swatch-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}

.products3-swatch-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.products3-swatch-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.products3-swatch-card:nth-child(2),
.products3-swatch-card:nth-child(4) {
  transform: translateY(34px);
}

.products3-swatch-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--porcelain);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.products3-feature-product,
.products3-editorial-card,
.products3-swatch-card {
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.products3-feature-product:hover,
.products3-feature-product:focus-visible,
.products3-editorial-card:hover,
.products3-editorial-card:focus-visible,
.products3-swatch-card:hover,
.products3-swatch-card:focus-visible {
  transform: translateY(-5px);
  opacity: 0.94;
}

.products3-swatch-card:hover img,
.products3-swatch-card:focus-visible img {
  transform: scale(1.025);
  filter: contrast(1.04) saturate(1.05);
}

.site-footer {
  display: grid;
  gap: 25px;
  align-items: start;
  /* background: #1f1c18; 
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.72);*/
  background: #f3f3f3;
  color: rgba(21, 20, 17, 0.48);
  font-size: 14px;
}

.site-footer .section {
  padding: clamp(44px, 6vw, 72px) 0;
}

.site-footer p {
  font-size: 18px;
  margin: 0;
  color: var(--charcoal);
}

.site-footer div {
  display: grid;
  gap: 5px;
  line-height: 150%;
}

.footer-logo {
  width: clamp(128px, 13vw, 190px);
  margin-bottom: 20px;
}

.site-footer a {
  font-size: 15px;
}


/* 右下角固定按钮 */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 70px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--warm);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  white-space: nowrap;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.action-btn span {
  width: 0;
  display: inline-block;
  transform: translateX(20px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn:hover {
  width: auto;
  padding: 12px 20px 12px 12px;
  justify-content: flex-start;
}

.action-btn:hover span {
  transform: translateX(0);
  opacity: 1;
  width: auto;
  padding-left: 8px;
}

.action-btn svg {
  flex-shrink: 0;
}

.favorite-btn.is-favorited {
  background: var(--warm-dark);
}

.favorite-btn.is-favorited svg {
  fill: currentColor;
}

.toast {
  position: fixed;
  z-index: 50;
  /* transform: translateX(20px);
  right: 20px;
  bottom: 195px; */
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  border: 1px solid rgba(184, 134, 70, 0.48);
  background: rgba(255, 253, 250, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  bottom: 50px;
  transform: translateX(-50%);
  opacity: 1;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 86px 0 auto 0;
    display: grid;
    justify-items: start;
    justify-content: stretch;
    gap: 0;
    padding: 18px 18px 55px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 250, 0.98);
    transform: translateY(-125%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .site-nav a::after {
    bottom: 0;
  }

  .site-nav .language {
    padding: 18px 0;
  }

  .site-nav .language::after {
    display: none;
  }

  .language {
    width: 100%;
  }

  .language .dropdown {
    display: flex;
    background: initial;
    box-shadow: initial;
    top: 110%;
  }

  .language .dropdown a {
    display: inline-block;
    width: initial;
    border: 0;
    padding: 0 15px;
  }

  .language .dropdown a:hover {
    background-color: initial;
  }

  .signal-strip,
  .about-section,
  .catalog-group-heading,
  .products2-hero-inner,
  .products2-shell,
  .products2-group-heading,
  .products3-hero-inner,
  .products3-scene,
  .products3-variant-reverse .products3-scene,
  .products3-composition {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin: 0;
    max-width: none;
    border-left: 0;
    border-right: 0;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .size-grid,
  .project-grid,
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .catalog-sidebar {
    position: static;
    margin-top: 0;
  }

  .catalog-sidebar nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-sidebar a {
    flex: 0 0 150px;
    padding-right: 22px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products2-hero {
    min-height: 680px;
  }

  .products2-hero-panel {
    min-height: 220px;
  }

  .products2-rail {
    position: static;
  }

  .products2-rail nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .products2-rail nav a {
    flex: 0 0 178px;
  }

  .products2-rail-note {
    display: none;
  }

  .products2-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products3-hero {
    min-height: 720px;
  }

  .products3-hero-stack {
    min-height: 320px;
  }

  .products3-size-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products3-variant-reverse .products3-scene-image,
  .products3-variant-reverse .products3-scene-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .products3-editorial-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products3-editorial-card {
    grid-template-columns: 1fr;
  }

  .products3-editorial-card img {
    width: 100%;
  }

  .products-page .current-location {
    grid-template-columns: auto;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-search-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .products-page .product-search {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 71px;
  }

  .site-header .section {
    height: 70px;
  }

  .brand-mark img {
    height: 45px;
  }

  .site-nav {
    inset: 71px 0 auto 0;
  }

  .hero {
    min-height: 690px;
  }

  .hero-slide {
    padding: 72px 18px 112px;
    align-items: end;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero-dots {
    left: 18px;
    right: auto;
    bottom: 28px;
  }

  /* .section {
    padding: 76px 18px;
  } */

  .size-grid,
  .project-grid,
  .news-list,
  .catalog-grid,
  .products2-grid,
  .products3-size-tabs,
  .products3-editorial-strip,
  .products3-swatch-field {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    font-size: 16px;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .products-hero {
    /* min-height: 520px; */
    min-height: 180px;
    padding: 78px 18px 42px;
    align-items: end;
  }

  .products-hero h1 {
    font-size: 42px;
  }

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

  .product-search input {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .product-search input,
  .product-search button {
    min-height: 46px;
  }

  .product-search button svg {
    width: 20px;
    height: 20px;
  }

  .products2-hero {
    min-height: 640px;
    padding: 78px 18px 46px;
  }

  .products2-hero h1 {
    font-size: 42px;
  }

  .products2-hero-panel {
    min-height: 188px;
    padding: 22px;
  }

  .products2-filter-band {
    padding: 0 18px;
  }

  .products2-filter-inner {
    transform: translateY(-24px);
  }

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

  .products2-search button {
    min-height: 46px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .products2-shell {
    padding: 28px 18px 86px;
  }

  .products2-group::before {
    top: 108px;
  }

  .products3-hero {
    min-height: 700px;
    padding: 78px 18px 52px;
  }

  .products3-hero h1 {
    font-size: 43px;
  }

  .products3-hero-stack {
    min-height: 260px;
  }

  .products3-search-band {
    padding: 0 18px;
    transform: translateY(-28px);
  }

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

  .products3-search button {
    border-bottom: 1px solid var(--line);
  }

  .products3-shell {
    padding: 0 18px 86px;
  }

  .products3-scene-copy {
    padding: 28px 20px;
  }

  .products3-scene-copy dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .products3-feature-product img {
    min-height: 230px;
  }

  .products3-swatch-card:nth-child(2),
  .products3-swatch-card:nth-child(4) {
    transform: none;
  }

  .size-card {
    min-height: 0;
  }

  .tile-preview {
    aspect-ratio: 1;
  }

  .showroom-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .showroom-gallery img:first-child {
    grid-row: auto;
  }

}

.home-page,
.products-page {
  --max: min(90vw, 1720px);
}

.home-page .hero {
  min-height: min(670px, calc(100vh - 86px));
}

.home-page .hero-slide {
  padding: 0;
}

.home-page .hero-slide::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12));
}

.home-product-head .product-search {
  margin: 0 auto 34px auto;
}

.home-product-search {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  width: min(680px, 100%);
  justify-self: center;
  border: 1px solid var(--line);
  background: #fffdfa;
  box-shadow: 0 18px 54px rgba(33, 27, 18, 0.08);
}

.home-product-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.home-product-search input,
.home-product-search button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
}

.home-product-search input {
  min-width: 0;
  padding: 0 20px;
  outline: none;
}

.home-product-search button {
  padding: 0 22px;
  border-left: 1px solid var(--line);
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.new-product-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
  position: relative;
}

.new-product-card .product-image {
  position: relative;
  width: 100%;
  /* 用 padding-bottom 撑出正方形，比 aspect-ratio 在 Safari 更可靠（避免被竖图撑破/偏移） */
  padding-bottom: 100%;
  background: var(--porcelain);
  background: #f3f3f3;
}

.new-product-card img {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  margin: auto;
  display: block;
  object-fit: contain;
  /* 限定在 padding 内容区内，保持比例完整显示，不溢出 <a> */
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  width: auto;
  height: auto;
  box-shadow: 0 5px 10px rgba(33, 27, 18, 0.3);
  transition: transform 180ms ease, opacity 180ms ease;
}

.new-product-card:hover img,
.new-product-card:focus-visible img {
  transform: translateY(-3px);
  opacity: 0.92;
}

.new-product-card span {
  margin-top: 7px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: capitalize;
}

/* .new-product-card strong {
  color: var(--charcoal);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.12;
}

.new-product-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.new-product-card span,
.new-product-card strong,
.new-product-card small {
  width: 100%;
  justify-self: center;
} */
.new-product-card dl {
  display: grid;
  gap: 6px;
  margin: 6px 0 0;
  color: var(--muted);
  color: var(--charcoal);
  color: rgba(21, 20, 17, 0.48);
  font-size: 14px;
  line-height: 1.4;
}

.new-product-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.new-product-card dt {
  color: rgba(21, 20, 17, 0.48);
  color: var(--charcoal);
}

.new-product-card dd {
  margin: 0;
  text-align: right;
}

/* .favorite-products a{
      box-shadow: 0 10px 30px rgba(33, 27, 18, 0.08);
}
.favorite-products span,.favorite-products dl,.favorite-products button{
  margin: 0 20px;
}
.favorite-products button{
  margin-bottom: 20px;
} */

.remove-favorite-btn {
  margin-top: 8px;
  padding: 15px;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--warm-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 180ms ease;
}

.remove-favorite-btn:hover {
  border-color: var(--warm);
  color: var(--warm);
}

.home-product-pages {
  display: flex;
  justify-content: center;
  gap: 9px;
  min-height: 18px;
  margin-top: 36px;
}

.home-product-pages a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid rgba(184, 134, 70, 0.36);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.home-product-pages a.prev svg,
.home-product-pages a.next svg {
  width: 28px;
  height: 28px;
}

.home-product-pages a:hover,
.home-product-pages a:focus-visible {
  border-color: var(--warm);
  color: var(--warm);
}

.home-product-pages a.is-active {
  border-color: var(--warm);
  background: var(--warm);
  color: #fff;
}





.catalog-title {
  display: flex;
  align-items: center;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: capitalize;
  margin-bottom: 5px;
  line-height: 1;
}

.catalog-filters-applied button {
  border: none;
  background: transparent;
  /* font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 160%;
  color: #8c8c8c; */
  font-family: "Helvetica Neue", sans-serif;
  margin: 20px 0 55px 0;
  text-transform: capitalize;
  cursor: pointer;
  padding: 0;
}

.catalog-filters-applied button:hover {
  color: var(--warm);
}

.catalog-filters-applied-content {
  display: grid;
  gap: 5px;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 160%;
  color: #8c8c8c;
  text-transform: capitalize;
}

.catalog-filters-applied-content dd {
  margin: 0;
}
.catalog-filters-applied-content dt {
  font-weight: 800;
}
.catalog-filters {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}

.catalog-filter-block {
  border: 1px solid var(--line);
  padding: 15px;
}

.catalog-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0;
  text-transform: capitalize;
  cursor: pointer;
}

.catalog-filter-title::after {
  content: "+";
  font-size: 26px;
}

.catalog-filter-block.open .catalog-filter-title::after {
  content: "-";
}

.catalog-filter-options {
  display: grid;
  gap: 15px;
  margin-top: 15px;
  display: none;
}

.catalog-filter-block.open .catalog-filter-options {
  display: grid;
}

.catalog-filter-options label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.catalog-filter-options span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.catalog-filter-options input {
  appearance: none;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(21, 20, 17, 0.2);
  background: #fff;
}

.catalog-filter-options input:checked {
  border-color: var(--warm);
  background: var(--warm);
  box-shadow: inset 0 0 0 4px #fff;
}

.catalog-filter-buttons {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 15px;
}

.catalog-filter-buttons button {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.catalog-filter-buttons button.cancel {
  position: relative;
}

.catalog-filter-buttons button.cancel::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0%;
  width: 100%;
  height: 1px;
  background: var(--ink);
}

.catalog-filter-buttons button.cancel:hover {
  color: var(--warm);
}

.catalog-filter-buttons button.cancel:hover::after {
  background: var(--warm);
}

.catalog-filter-buttons button.apply {
  background: var(--ink);
  color: #fff;
  border-radius: 50px;
  padding: 15px clamp(20px, 2vw, 60px);
  min-width: 140px;
}

.catalog-filter-buttons button.apply:hover {
  background: var(--warm);
}




.products-page .catalog-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 42px;
}

.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 44px 0;
  color: var(--muted);
  text-align: center;
}

/* .product-detail-page .catalog-shell {
  padding-top: clamp(58px, 6vw, 92px);
} */


.go-back {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 25px;
  border: 1px solid var(--warm);
  border-radius: 0;
  background: transparent;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.go-back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.go-back:hover {
  background: var(--warm);
  color: #fff;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

.detail-breadcrumb span:last-child {
  color: var(--ink);
  font-weight: 700;
}

.detail-breadcrumb a:hover {
  color: var(--warm);
}



.detail-main {
  display: grid;
  /* gap: clamp(82px, 10vw, 136px); */
  gap: 50px;
  min-width: 0;
}

.detail-product-content {
  display: grid;
  /* align-items: start; */
  grid-template-columns: clamp(200px, 50%, 700px) 1fr;
  gap: clamp(50px, 6vw, 120px);
}


.detail-product-figure {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 15px;
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* 用 padding-bottom 撑出正方形，比 aspect-ratio 在 Safari 更可靠（避免被竖图撑破/溢出） */
  padding-bottom: 100%;
  background: #f3f3f3;
}

.detail-main-image img {
  position: absolute;
  top: clamp(20px, 3.5vw, 50px);
  right: clamp(20px, 3.5vw, 50px);
  bottom: clamp(20px, 3.5vw, 50px);
  left: clamp(20px, 3.5vw, 50px);
  margin: auto;
  max-width: calc(100% - 2 * clamp(20px, 3.5vw, 50px));
  max-height: calc(100% - 2 * clamp(20px, 3.5vw, 50px));
  object-fit: contain;
  box-shadow: 0 5px 20px rgba(33, 27, 18, 0.3);
  transition: transform 180ms ease, opacity 180ms ease;
}

.detail-image-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.detail-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.25s ease;
}

.detail-nav-btn:hover {
  border-color: var(--warm);
  color: var(--warm);
  background: rgba(184, 134, 70, 0.08);
}

.detail-nav-btn:active {
  transform: scale(0.92);
}

.detail-nav-counter {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.detail-nav-current {
  color: var(--warm);
}



.detail-nav-total {
  color: var(--charcoal);
}

.detail-product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}

.detail-product-info .params {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.detail-product-info .remark {
  margin-top: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 76px;
}

.detail-product-info .eyebrow {
  font-size: 20px;
  margin-bottom: 20px;
}

.detail-product-info h1 {
  margin: 0;
  color: var(--charcoal);
  /* font-size: clamp(42px, 5vw, 76px); */
  font-size: clamp(30px, 2.5vw, 55px);
  text-transform: capitalize;
}

.detail-spec {
  position: relative;
  display: grid;
  margin-top: 45px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  gap: 10px;
}

.detail-spec div {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.detail-spec button {
  position: absolute;
  top: -45px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #f1e9dc;
  background: #f1e9dc;
  color: var(--warm);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
}

.detail-spec button:hover,
.detail-spec button.favorited {
  border-color: var(--warm);
  background: var(--warm);
  color: #fff;
}

.detail-spec dt {
  color: var(--charcoal);
  width: 80px;
  flex-shrink: 0;
}

.detail-spec dd {
  margin: 0;
  color: rgba(21, 20, 17, 0.46);
}

.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 15px;
}

.detail-spec-table tr {
  border-bottom: 1px solid var(--line);
}

.detail-spec-table th,
.detail-spec-table td {
  padding: 17px 0;
  text-align: left;
  vertical-align: top;
}

.detail-spec-table th {
  width: 34%;
  color: var(--charcoal);
  font-weight: 800;
}

.detail-product-info .buttons {
  display: flex;
  gap: 10px;

}

.favorite-button {
  flex: 1;
  max-width: 630px;
  height: 52px;
  padding: 0 1vw;
  border: 1px solid var(--warm);
  border-radius: 0;
  background: transparent;
  color: var(--warm);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.favorite-button:hover {
  background: transparent;
  border-color: var(--warm-dark);
  color: var(--warm-dark);
}

.favorite-button.is-favorited {
  background: var(--warm);
  color: #fff;
  border-color: var(--warm);
}

.share-button {
  flex-shrink: 0;
  height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 0;
  background: var(--warm);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-button svg {
  width: 20px;
  height: 20px;
}

.share-button:hover {
  background: var(--warm-dark);
}


.detail-scenes {
  display: grid;
  /* gap: clamp(34px, 5vw, 72px); */
  gap: 80px;
  border-top: 1px solid var(--line);
  padding-top: 50px;
}

.detail-scene-image,
.detail-scene-content {
  display: grid;
  gap: 20px;
}

.detail-scene-image h3,
.detail-scene-content h3 {
  background: transparent !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}





.detail-scenes article {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
}

.detail-scenes article:nth-child(even) img {
  grid-column: 2;
  grid-row: 1;
}

.detail-scenes img {
  width: 100%;
  /* aspect-ratio: 1.62; */
  /* aspect-ratio: 3; */
  object-fit: cover;
}

.detail-scenes span {
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-scenes h2 {
  margin: 0 0 28px 0;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1;
}

.detail-scenes p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}


.detail-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
}

.detail-related {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  /* padding 放在外层，避免影响 swiper 对 slide 宽度的计算（否则两侧露出） */
  padding: 0 48px;
}

.related-products {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  /* 关键：限制自身宽度，避免 swiper 在父级宽度为 0 时算出超大 slide 宽度 */
  display: block;
  overflow: hidden;
  /* 默认隐藏，待 swiper 初始化完成后再显示，避免图片 100% 宽度闪现 */
  visibility: hidden;
}

.related-products.swiper-initialized {
  visibility: visible;
}

.related-products .swiper-wrapper {
  align-items: stretch;
}

.related-products .swiper-slide {
  height: auto;
}

.related-products .swiper-slide .new-product-card {
  height: 100%;
}

.related-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.related-prev {
  left: 0;
}

.related-next {
  right: 0;
}

@media (max-width: 1400px) {
  .products-page .catalog-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .product-detail-page .detail-scenes {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 1280px) {
  .detail-product-content {
    grid-template-columns: 1fr;
  }

  .favorite-button {
    max-width: initial;
  }
}

@media (max-width: 980px) {
  .home-product-head {
    grid-template-columns: 1fr;
  }

  .new-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-scenes article:nth-child(even) img {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .home-page .hero {
    min-height: 430px;
  }

  .home-product-search,
  .new-product-grid {
    grid-template-columns: 1fr;
  }

  .home-product-search button {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .products-page .catalog-content {
    grid-template-columns: 1fr;
  }

  .detail-main-image img {
    box-shadow: 0 5px 10px rgba(33, 27, 18, 0.3);
  }

  .detail-spec div {
    gap: 20px;
  }
  .catalog-filters-applied button{
    margin: 30px 0 35px 0;
  }
}