/*
Theme Name: 雅玩阁
Theme URI: https://example.com/yawange
Description: 雅玩阁概念体验站，Storefront 子主题。
Author: 雅玩阁
Version: 0.1.0
Template: storefront
Text Domain: yawange
*/

:root {
  --yw-ink: #1c1b18;
  --yw-ink-soft: #34312b;
  --yw-paper: #f3efe5;
  --yw-paper-deep: #e8e0d2;
  --yw-white: #fcfaf5;
  --yw-red: #8b3228;
  --yw-red-dark: #66231d;
  --yw-jade: #829589;
  --yw-gold: #ad8a57;
  --yw-line: rgba(28, 27, 24, 0.16);
  --yw-muted: #746f66;
  --yw-radius: 2px;
  --yw-container: min(1240px, calc(100vw - 48px));
  --yw-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --yw-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--yw-paper);
  color: var(--yw-ink);
  font-family: var(--yw-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body::before {
  background-image: radial-gradient(rgba(28, 27, 24, 0.05) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: fixed;
  z-index: 9999;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

.site {
  overflow: clip;
}

.site-content {
  margin: 0;
  padding: 0;
}

.col-full {
  margin-inline: auto;
  max-width: none;
  padding: 0;
  width: var(--yw-container);
}

.screen-reader-text:focus {
  background: var(--yw-white);
  color: var(--yw-ink);
}

.yw-container {
  margin-inline: auto;
  width: var(--yw-container);
}

.yw-kicker {
  color: var(--yw-red);
  font-family: var(--yw-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.yw-kicker--light {
  color: #d8b999;
}

.yw-section-heading {
  align-items: flex-end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2.4rem;
}

.yw-section-heading h2,
.yw-page-heading h1 {
  font-family: var(--yw-serif);
  font-size: clamp(2rem, 3vw, 3.45rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.18;
  margin: 0;
}

.yw-text-link {
  border-bottom: 1px solid currentColor;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-bottom: 0.2rem;
  text-decoration: none;
}

.yw-button,
body .button,
body button.button,
body input.button,
body #respond input#submit,
body .wc-block-components-button {
  align-items: center;
  background: var(--yw-red);
  border: 1px solid var(--yw-red);
  border-radius: var(--yw-radius);
  box-shadow: none;
  color: #fffaf2;
  display: inline-flex;
  font-family: var(--yw-sans);
  font-size: 0.78rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.12em;
  line-height: 1.2;
  min-height: 48px;
  padding: 0.95rem 1.55rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.yw-button:hover,
body .button:hover,
body button.button:hover,
body input.button:hover,
body .wc-block-components-button:hover {
  background: var(--yw-red-dark);
  border-color: var(--yw-red-dark);
  color: white;
  transform: translateY(-1px);
}

.yw-button--ghost {
  background: transparent;
  border-color: rgba(255, 250, 242, 0.55);
  color: #fffaf2;
}

.yw-button--ghost:hover {
  background: #fffaf2;
  border-color: #fffaf2;
  color: var(--yw-ink);
}

.yw-demo-notice {
  background: var(--yw-ink);
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.48rem 1rem;
  text-align: center;
}

.yw-demo-notice strong {
  color: #fffaf2;
  font-weight: 600;
}

.yw-header {
  background: rgba(243, 239, 229, 0.94);
  border-bottom: 1px solid var(--yw-line);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar .yw-header {
  top: 32px;
}

.yw-header__inner {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(420px, 1.6fr) minmax(160px, 0.8fr);
  min-height: 86px;
}

.yw-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.78rem;
  justify-self: start;
  text-decoration: none;
}

.yw-brand__seal {
  align-items: center;
  background: var(--yw-red);
  color: #fff8ed;
  display: inline-flex;
  font-family: var(--yw-serif);
  font-size: 0.72rem;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.yw-brand__name {
  display: block;
  font-family: var(--yw-serif);
  font-size: 1.36rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.yw-brand__roman {
  color: var(--yw-muted);
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  line-height: 1.4;
  margin-top: 0.28rem;
}

.yw-nav {
  justify-self: center;
}

.yw-nav ul {
  align-items: center;
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.7rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.yw-nav a {
  color: var(--yw-ink-soft);
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.75rem 0;
  position: relative;
  text-decoration: none;
}

.yw-nav a::after {
  background: var(--yw-red);
  bottom: 0.4rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
  width: calc(100% - 0.08em);
}

.yw-nav a:hover::after,
.yw-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.yw-header__actions {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-self: end;
}

.yw-icon-link,
.yw-menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--yw-ink);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  text-decoration: none;
  width: 42px;
}

.yw-icon-link svg,
.yw-menu-toggle svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 20px;
}

.yw-cart-count {
  align-items: center;
  background: var(--yw-red);
  border-radius: 999px;
  color: white;
  display: flex;
  font-size: 0.58rem;
  height: 16px;
  justify-content: center;
  position: absolute;
  right: 1px;
  top: 3px;
  width: 16px;
}

.yw-menu-toggle {
  display: none;
}

.yw-hero {
  background-color: #29251f;
  background-position: center;
  background-size: cover;
  color: #fffaf2;
  min-height: min(760px, calc(100vh - 116px));
  position: relative;
}

.yw-hero::before {
  background: linear-gradient(90deg, rgba(22, 20, 17, 0.88) 0%, rgba(22, 20, 17, 0.56) 37%, rgba(22, 20, 17, 0.06) 69%);
  content: "";
  inset: 0;
  position: absolute;
}

.yw-hero__inner {
  align-items: center;
  display: flex;
  min-height: inherit;
  position: relative;
  z-index: 1;
}

.yw-hero__copy {
  max-width: 640px;
  padding: 5rem 0 7rem;
}

.yw-hero h1 {
  color: #fffaf2;
  font-family: var(--yw-serif);
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.04;
  margin: 0 0 1.4rem;
}

.yw-hero__lead {
  color: rgba(255, 250, 242, 0.86);
  font-family: var(--yw-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
}

.yw-hero__text {
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin: 0;
  max-width: 500px;
}

.yw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.yw-hero__mark {
  bottom: 2.6rem;
  color: rgba(255, 250, 242, 0.45);
  font-family: var(--yw-serif);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  position: absolute;
  right: 0;
  writing-mode: vertical-rl;
}

.yw-intro {
  background: var(--yw-white);
  border-bottom: 1px solid var(--yw-line);
  padding: 5.5rem 0;
}

.yw-intro__grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 8vw, 9rem);
  grid-template-columns: 0.78fr 1.22fr;
}

.yw-intro h2 {
  font-family: var(--yw-serif);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.35;
  margin: 0;
}

.yw-intro__copy {
  color: var(--yw-muted);
  max-width: 620px;
}

.yw-intro__copy p:first-child {
  color: var(--yw-ink-soft);
  font-family: var(--yw-serif);
  font-size: 1.16rem;
  line-height: 1.9;
  margin-top: 0;
}

.yw-collections {
  padding: 7rem 0;
}

.yw-collection-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.yw-collection-card {
  aspect-ratio: 0.74;
  color: white;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.yw-collection-card::before {
  background: linear-gradient(180deg, transparent 43%, rgba(16, 15, 13, 0.86) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.yw-collection-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
  width: 100%;
}

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

.yw-collection-card__content {
  bottom: 0;
  left: 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  position: absolute;
  right: 0;
  z-index: 2;
}

.yw-collection-card__index {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

.yw-collection-card h3 {
  color: white;
  font-family: var(--yw-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.55rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0.6rem 0 0.35rem;
}

.yw-collection-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin: 0;
}

.yw-products {
  background: var(--yw-white);
  border-block: 1px solid var(--yw-line);
  padding: 7rem 0 7.5rem;
}

.woocommerce ul.products,
ul.products {
  display: grid;
  gap: 3.4rem 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
ul.products li.product {
  float: none;
  margin: 0;
  padding: 0;
  text-align: left;
  width: auto;
}

.woocommerce-page .site-main ul.products li.product {
  width: 100%;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1.12;
  background: var(--yw-paper-deep);
  margin: 0 0 1.25rem;
  object-fit: cover;
  transition: filter 240ms ease, transform 240ms ease;
  width: 100%;
}

.woocommerce ul.products li.product:hover img {
  filter: saturate(0.92) contrast(1.03);
  transform: translateY(-3px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--yw-ink);
  font-family: var(--yw-serif);
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--yw-red);
  font-family: var(--yw-serif);
  font-size: 0.94rem;
  margin: 0.45rem 0 0;
}

.woocommerce ul.products li.product .button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--yw-ink);
  color: var(--yw-ink);
  margin-top: 1rem;
  min-height: auto;
  padding: 0 0 0.2rem;
}

.woocommerce ul.products li.product .button:hover {
  background: transparent;
  border-color: var(--yw-red);
  color: var(--yw-red);
  transform: none;
}

.yw-private {
  background: var(--yw-ink);
  color: rgba(255, 250, 242, 0.75);
  padding: 7.5rem 0;
}

.yw-private__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 1.05fr 0.95fr;
}

.yw-private__image {
  min-height: 580px;
  object-fit: cover;
  width: 100%;
}

.yw-private h2 {
  color: #fffaf2;
  font-family: var(--yw-serif);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.22;
  margin: 0 0 1.7rem;
}

.yw-private p {
  max-width: 520px;
}

.yw-private__steps {
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  list-style: none;
  margin: 2.2rem 0 2.5rem;
  padding: 0;
}

.yw-private__steps li {
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  display: grid;
  font-size: 0.84rem;
  gap: 1rem;
  grid-template-columns: 42px 1fr;
  padding: 0.95rem 0;
}

.yw-private__steps span {
  color: #d8b999;
  font-family: var(--yw-serif);
}

.yw-notes {
  padding: 7rem 0;
}

.yw-notes-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.yw-note {
  border-top: 1px solid var(--yw-line);
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.6rem 2.2rem 2rem 0;
  text-decoration: none;
}

.yw-note + .yw-note {
  border-left: 1px solid var(--yw-line);
  padding-left: 2.2rem;
}

.yw-note__date {
  color: var(--yw-muted);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.yw-note h3 {
  font-family: var(--yw-serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.45;
  margin: 1.8rem 0 0.8rem;
}

.yw-note p {
  color: var(--yw-muted);
  font-size: 0.86rem;
  margin: 0;
}

.yw-note__arrow {
  color: var(--yw-red);
  margin-top: auto;
  padding-top: 1.7rem;
}

.yw-principles {
  background: var(--yw-paper-deep);
  border-top: 1px solid var(--yw-line);
  padding: 4rem 0;
}

.yw-principles__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}

.yw-principle {
  border-left: 1px solid var(--yw-line);
  padding-left: 1.3rem;
}

.yw-principle strong {
  display: block;
  font-family: var(--yw-serif);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.yw-principle span {
  color: var(--yw-muted);
  display: block;
  font-size: 0.74rem;
  margin-top: 0.45rem;
}

.yw-page {
  padding: 4.5rem 0 7rem;
}

.yw-page-heading {
  border-bottom: 1px solid var(--yw-line);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
}

.yw-page-heading p {
  color: var(--yw-muted);
  margin: 0.8rem 0 0;
}

.yw-page-content {
  font-family: var(--yw-serif);
  font-size: 1.04rem;
  margin: 0 auto;
  max-width: 860px;
}

.yw-page-content h2,
.yw-page-content h3 {
  font-family: var(--yw-serif);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.yw-page-content h2 {
  font-size: 2rem;
  margin-top: 3.5rem;
}

.yw-page-content p,
.yw-page-content li {
  color: var(--yw-ink-soft);
  line-height: 2;
}

.yw-page-content .yw-page-lead {
  color: var(--yw-ink);
  font-size: 1.28rem;
  line-height: 1.9;
}

.yw-page-content .yw-callout {
  background: var(--yw-white);
  border-left: 3px solid var(--yw-red);
  margin: 2.5rem 0;
  padding: 1.7rem 2rem;
}

.yw-inquiry-form {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
}

.yw-inquiry-form label {
  color: var(--yw-muted);
  display: block;
  font-family: var(--yw-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.yw-inquiry-form label:last-of-type {
  grid-column: 1 / -1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--yw-line);
  border-radius: 0;
  box-shadow: none;
  color: var(--yw-ink);
  margin-top: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

textarea {
  min-height: 130px;
}

.yw-inquiry-form .yw-button {
  justify-self: start;
}

.yw-shop-shell,
.storefront-full-width-content .site-main,
.woocommerce-page .site-main {
  margin: 0;
}

.site-content > .col-full {
  margin-inline: auto;
  max-width: none;
  padding-inline: 0;
  width: var(--yw-container);
}

.woocommerce-page .content-area {
  float: none;
  margin: 0;
  width: 100%;
}

.woocommerce-page .site-content > .col-full,
.woocommerce .site-content > .col-full {
  padding-bottom: 7rem;
  padding-top: 4rem;
}

.woocommerce-products-header {
  border-bottom: 1px solid var(--yw-line);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.woocommerce-products-header__title.page-title,
.woocommerce div.product .product_title,
.cart_totals h2,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading,
.woocommerce-account h2 {
  font-family: var(--yw-serif);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.storefront-sorting {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.storefront-sorting::before,
.storefront-sorting::after {
  display: none;
}

.woocommerce-result-count,
.woocommerce-ordering {
  color: var(--yw-muted);
  float: none;
  font-size: 0.78rem;
  margin: 0;
}

.woocommerce-ordering select {
  margin: 0;
  min-height: 40px;
  width: auto;
}

.woocommerce-breadcrumb {
  color: var(--yw-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.woocommerce div.product {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}

.woocommerce div.product::before,
.woocommerce div.product::after {
  display: none;
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary {
  float: none;
  margin: 0;
  width: auto;
}

.woocommerce div.product .woocommerce-product-gallery img {
  background: var(--yw-paper-deep);
}

.woocommerce div.product .product_title {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.woocommerce div.product p.price {
  color: var(--yw-red);
  font-family: var(--yw-serif);
  font-size: 1.3rem;
}

.yw-dossier {
  border-block: 1px solid var(--yw-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
}

.yw-dossier__item {
  padding: 0.5rem 0.7rem 0.5rem 0;
}

.yw-dossier__label {
  color: var(--yw-muted);
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.yw-dossier__value {
  display: block;
  font-family: var(--yw-serif);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.yw-private-cta {
  background: var(--yw-white);
  border: 1px solid var(--yw-line);
  margin: 2rem 0;
  padding: 1.5rem;
}

.yw-private-cta p {
  color: var(--yw-muted);
  font-size: 0.82rem;
  margin: 0 0 1rem;
}

.woocommerce div.product form.cart {
  align-items: stretch;
  display: flex;
  gap: 0.65rem;
}

.woocommerce .quantity .qty {
  margin: 0;
  min-height: 48px;
  width: 72px;
}

.product_meta {
  color: var(--yw-muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  padding-top: 3rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--yw-line);
  display: flex;
  gap: 2rem;
  margin: 0 0 2rem;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--yw-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0 0 0.75rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 1px solid var(--yw-red);
  color: var(--yw-ink);
}

.woocommerce div.product .related.products {
  grid-column: 1 / -1;
  padding-top: 3rem;
}

.storefront-product-pagination {
  display: none;
}

.woocommerce table.shop_table,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-form-login,
.woocommerce-form-coupon {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--yw-line);
  border-radius: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--yw-line);
  padding: 1rem;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background: var(--yw-jade);
  border-left: 0;
  color: white;
}

.woocommerce-error {
  background: var(--yw-red);
}

.yw-footer {
  background: #171613;
  color: rgba(255, 250, 242, 0.65);
  padding: 5rem 0 1.5rem;
}

.yw-footer__top {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
}

.yw-footer .yw-brand__name,
.yw-footer h3,
.yw-footer a {
  color: #fffaf2;
}

.yw-footer__intro p {
  font-size: 0.8rem;
  max-width: 340px;
}

.yw-footer h3 {
  font-family: var(--yw-serif);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0 0 1.2rem;
}

.yw-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yw-footer li {
  margin-bottom: 0.55rem;
}

.yw-footer li a {
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.76rem;
  text-decoration: none;
}

.yw-footer li a:hover {
  color: white;
}

.yw-subscribe {
  display: flex;
  margin-top: 1rem;
}

.yw-subscribe input {
  background: transparent;
  border-color: rgba(255, 250, 242, 0.24);
  color: white;
  margin: 0;
  min-width: 0;
}

.yw-subscribe button {
  background: #fffaf2;
  border: 1px solid #fffaf2;
  color: var(--yw-ink);
  flex: 0 0 52px;
  font-size: 1rem;
}

.yw-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  display: flex;
  font-size: 0.66rem;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 1.3rem;
}

.yw-toast {
  background: var(--yw-ink);
  bottom: 1.5rem;
  color: white;
  font-size: 0.78rem;
  left: 50%;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  padding: 0.85rem 1.2rem;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 10000;
}

.yw-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  :root {
    --yw-container: min(100% - 32px, 920px);
  }

  .yw-header__inner {
    display: flex;
    min-height: 74px;
  }

  .yw-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .yw-header__actions {
    margin-left: 0.25rem;
  }

  .yw-header__actions .yw-account-link {
    display: none;
  }

  .yw-nav {
    background: var(--yw-paper);
    border-bottom: 1px solid var(--yw-line);
    display: none;
    left: 0;
    padding: 1rem 16px 1.5rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .yw-nav.is-open {
    display: block;
  }

  .yw-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .yw-nav a {
    border-bottom: 1px solid var(--yw-line);
    font-size: 0.9rem;
    padding: 0.9rem 0;
  }

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

  .yw-hero::before {
    background: linear-gradient(90deg, rgba(22, 20, 17, 0.86) 0%, rgba(22, 20, 17, 0.48) 58%, rgba(22, 20, 17, 0.12) 100%);
  }

  .yw-intro__grid,
  .yw-private__grid {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .yw-private__image {
    min-height: 440px;
  }

  .yw-collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yw-collection-card:last-child {
    aspect-ratio: 1.5;
    grid-column: 1 / -1;
  }

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

  .yw-principles__grid,
  .yw-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce div.product {
    gap: 2.5rem;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --yw-container: calc(100% - 28px);
  }

  .admin-bar .yw-header {
    top: 46px;
  }

  .yw-demo-notice {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .yw-brand__seal {
    height: 34px;
    width: 34px;
  }

  .yw-brand__name {
    font-size: 1.15rem;
  }

  .yw-brand__roman {
    display: none;
  }

  .yw-icon-link {
    height: 38px;
    width: 38px;
  }

  .yw-header__actions .yw-search-link {
    display: none;
  }

  .yw-hero {
    background-position: 66% center;
    min-height: 640px;
  }

  .yw-hero::before {
    background: linear-gradient(180deg, rgba(22, 20, 17, 0.48) 0%, rgba(22, 20, 17, 0.3) 28%, rgba(22, 20, 17, 0.88) 100%);
  }

  .yw-hero__inner {
    align-items: flex-end;
  }

  .yw-hero__copy {
    padding: 7rem 0 4rem;
  }

  .yw-hero h1 {
    font-size: 3.65rem;
  }

  .yw-hero__lead {
    font-size: 1rem;
  }

  .yw-hero__mark {
    display: none;
  }

  .yw-button {
    min-height: 46px;
  }

  .yw-intro,
  .yw-collections,
  .yw-products,
  .yw-private,
  .yw-notes {
    padding-block: 4.5rem;
  }

  .yw-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .yw-collection-grid,
  .woocommerce ul.products,
  ul.products,
  .yw-notes-grid,
  .yw-principles__grid,
  .yw-footer__top,
  .yw-inquiry-form {
    grid-template-columns: 1fr;
  }

  .yw-collection-card,
  .yw-collection-card:last-child {
    aspect-ratio: 0.86;
    grid-column: auto;
  }

  .yw-private__image {
    min-height: 360px;
  }

  .yw-note {
    min-height: 240px;
    padding: 1.5rem 0;
  }

  .yw-note + .yw-note {
    border-left: 0;
    padding-left: 0;
  }

  .yw-principle {
    padding-block: 0.3rem;
  }

  .yw-page {
    padding: 3rem 0 5rem;
  }

  .woocommerce-page .site-content > .col-full,
  .woocommerce .site-content > .col-full {
    padding-bottom: 5rem;
    padding-top: 3rem;
  }

  .storefront-sorting {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .woocommerce div.product {
    display: block;
  }

  .woocommerce div.product .summary {
    margin-top: 2rem;
  }

  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related.products {
    margin-top: 3rem;
  }

  .yw-dossier {
    grid-template-columns: 1fr;
  }

  .yw-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

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