/* 全站基础布局。品牌颜色看 theme.css；首屏视频横幅看 banner.css；商品样式看 catalog.css。 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');
/* ——— 品牌变量 ——— */
:root {
  --paper: #f6f3eb;
  --ink: #22221f;
  --red: #b52b36;
  --line: #d6d2c8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
.preview {
  padding: 10px 4%;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
}
.preview span {
  letter-spacing: 0.3px;
  color: #d6d2c8;
}
/* ——— 顶部导航 ——— */
header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 22px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -1px;
}
.logo > span {
  font-size: 28px;
}
.star {
  color: var(--red);
  margin-left: 6px;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.bag {
  background: none;
  border: 0;
  font-size: 13px;
}
.bag span {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-left: 8px;
}
/* ——— 原基础首屏布局（视频横幅由 banner.css 覆盖） ——— */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 665px;
}
.hero-copy {
  padding: 58px 10% 30px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 24px;
}
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(50px, 6.6vw, 96px);
  line-height: 1.03;
  letter-spacing: -4px;
  margin: 0 0 25px;
  font-weight: 600;
}
h1 em,
h2 em {
  color: var(--red);
  font-weight: 600;
}
.intro {
  font-size: 14px;
  line-height: 1.8;
  color: #625f57;
  margin-bottom: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: var(--ink);
  color: white;
  border: 0;
  padding: 18px 23px;
  font-size: 12px;
}
.button span {
  font-size: 20px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-top: 48px;
}
.hero-art {
  position: relative;
  overflow: hidden;
  background: #b8313b;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}
.hero-art:before {
  content: '';
  position: absolute;
  width: 570px;
  height: 570px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  transform: rotate(-20deg) scaleX(0.75);
}
.hero-art:after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  transform: rotate(35deg) scaleX(0.75);
}
#heroIllustration {
  width: 75%;
  max-width: 430px;
  z-index: 1;
  transform: rotate(-8deg);
  filter: drop-shadow(16px 28px 12px #3b07153d);
}
#heroIllustration svg {
  width: 100%;
  height: auto;
}
.orbit {
  position: absolute;
  right: 9%;
  top: 9%;
  font-size: 88px;
  color: #f5dbaa;
}
.art-label {
  position: absolute;
  left: 7%;
  top: 8%;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 2px;
  color: #fff4de;
  z-index: 2;
}
.art-caption {
  position: absolute;
  left: 7%;
  bottom: 30px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #f8e3d4;
  max-width: 70%;
}
.art-number {
  position: absolute;
  right: 7%;
  bottom: 26px;
  color: #fff4de;
  font-size: 17px;
  font-weight: 600;
}
.ticker {
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 20px;
  letter-spacing: 2px;
  word-spacing: 10px;
  text-align: center;
}
.ticker span {
  color: var(--red);
  padding: 0 30px;
}
/* ——— 商品集合 ——— */
.collection {
  padding: 80px 5%;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
}
.section-title p:last-child {
  font-size: 13px;
  line-height: 1.6;
}
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 0;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 12px;
}
.filters button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.collection-note {
  color: #767167;
  font-size: 11px;
  margin: 20px 0 26px;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  min-width: 0;
}
.product-art {
  border: 0;
  width: 100%;
  height: 370px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e3d8;
  overflow: hidden;
}
.product-art svg {
  height: 85%;
  width: 85%;
  transition: transform 0.35s;
}
.product-art:hover svg {
  transform: translateY(-7px) rotate(-4deg);
}
.product-art .tag {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.product-art .arrow {
  position: absolute;
  bottom: 15px;
  right: 18px;
  font-size: 26px;
}
.product-info {
  padding: 18px 0;
}
.product-info small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #78736a;
}
.product-info h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 8px 0;
}
.product-info p {
  font-size: 11px;
  color: #78736a;
  margin: 0;
}
/* ——— 品牌故事 ——— */
.story {
  background: var(--ink);
  color: var(--paper);
  padding: 68px 7%;
}
.story h2 {
  font-size: clamp(42px, 6.2vw, 84px);
  max-width: 900px;
}
.story h2 em {
  color: #e7787c;
}
.story-bottom {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
  border-top: 1px solid #ffffff30;
  padding-top: 32px;
}
.story-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  letter-spacing: -10px;
}
.story-mark span {
  font-size: 50px;
  color: #e7787c;
}
.story-bottom p {
  font-size: 13px;
  line-height: 1.8;
  color: #c8c5bb;
  max-width: 440px;
}
.story-bottom a {
  font-size: 12px;
}
/* ——— 配送说明 ——— */
.delivery {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 80px 7%;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
summary::after {
  content: '+';
}
details[open] summary::after {
  content: '−';
}
.faq p {
  font-size: 13px;
  color: #6b675e;
  line-height: 1.8;
  margin-bottom: 0;
}
/* ——— 页脚 ——— */
footer {
  padding: 40px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}
.footer-logo span {
  color: var(--red);
  margin-left: 10px;
}
footer p,
footer span {
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.6px;
}
.footer-note {
  max-width: 280px;
  color: #767167;
}
/* ——— 通用弹窗 ——— */
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 35px;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #111b;
  backdrop-filter: blur(3px);
}
.close {
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
}
.product-dialog > .close {
  position: absolute;
  right: 16px;
  top: 12px;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}
.detail-art {
  background: #e8e3d8;
}
.detail-art svg {
  width: 100%;
}
.detail h2 {
  font-size: 34px;
}
.detail p {
  font-size: 13px;
  line-height: 1.8;
}
.muted {
  color: #767167;
  font-size: 12px;
}
.sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0 24px;
}
.sizes button {
  border: 1px solid var(--line);
  background: none;
  padding: 9px 12px;
}
.sizes button.selected {
  background: var(--ink);
  color: white;
}
.bag-dialog {
  max-width: 560px;
}
.bag-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.bag-heading h2 {
  font-size: 34px;
}
.bag-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.bag-row h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.bag-row p {
  font-size: 11px;
  color: #767167;
  margin: 0;
}
.bag-row button {
  background: none;
  border: 0;
  text-decoration: underline;
  font-size: 11px;
}
.checkout-info {
  padding: 25px 0;
  font-size: 12px;
  line-height: 1.7;
}
.checkout-info p {
  color: #767167;
}
.empty-bag {
  padding: 40px 0;
  color: #767167;
}
.detail .button {
  gap: 20px;
  width: 100%;
}
@media (min-width: 1500px) {
  body {
    max-width: 1680px;
    margin: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .product-art svg {
    transition: none;
  }
}
/* ——— 平板适配 ——— */
@media (max-width: 800px) {
  header {
    height: 90px;
  }
  nav {
    gap: 15px;
    font-size: 11px;
  }
  .hero-copy {
    padding: 42px 8%;
  }
  h1 {
    font-size: 62px;
    letter-spacing: -3px;
  }
  .hero {
    min-height: 0;
  }
  .hero-art {
    min-height: 570px;
  }
  .hero-bottom {
    flex-direction: column;
  }
  .products {
    gap: 15px;
  }
  .product-art {
    height: 280px;
  }
  .story-bottom {
    grid-template-columns: 1fr 2fr;
  }
  .story-bottom a {
    grid-column: 2;
  }
  .delivery {
    gap: 30px;
  }
  .preview span {
    max-width: 60%;
    text-align: right;
  }
  .detail {
    gap: 20px;
  }
}
/* ——— 手机适配 ——— */
@media (max-width: 580px) {
  .preview {
    font-size: 8px;
    padding: 10px 5%;
    gap: 15px;
  }
  .preview span {
    font-size: 8px;
  }
  header {
    height: 88px;
  }
  .logo {
    font-size: 17px;
  }
  .logo > span {
    font-size: 22px;
  }
  nav a:nth-child(n + 2) {
    display: none;
  }
  nav {
    margin-left: auto;
    margin-right: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 45px 6% 30px;
  }
  h1 {
    font-size: 69px;
  }
  .hero-bottom {
    flex-direction: row;
    margin-top: 30px;
  }
  .hero-art {
    min-height: 430px;
  }
  #heroIllustration {
    width: 65%;
    max-width: 300px;
  }
  .orbit {
    font-size: 60px;
  }
  .ticker {
    font-size: 12px;
    padding: 16px 0;
  }
  .ticker span {
    padding: 0 14px;
  }
  .collection {
    padding: 50px 6%;
  }
  .section-title {
    align-items: start;
    gap: 20px;
  }
  .section-title p:last-child {
    font-size: 11px;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .product-art {
    height: 390px;
  }
  .product-info {
    padding-bottom: 28px;
  }
  .filters button {
    padding: 9px 14px;
  }
  .story {
    padding: 48px 6%;
  }
  .story-bottom {
    gap: 20px;
    margin-top: 30px;
  }
  .story-mark {
    font-size: 60px;
  }
  .story-mark span {
    font-size: 30px;
  }
  .delivery {
    grid-template-columns: 1fr;
    padding: 50px 6%;
    gap: 30px;
  }
  footer {
    align-items: start;
    flex-direction: column;
    padding: 32px 6%;
    gap: 10px;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .detail-art {
    max-height: 270px;
    text-align: center;
  }
  .detail-art svg {
    height: 260px;
  }
  .product-dialog {
    padding: 30px 22px;
  }
  .bag-dialog {
    padding: 30px 22px;
  }
}
