:root {
  --text: #0e0d12;
  --body: #434f58;
  --muted: #7b858d;
  --line: #eceef0;
  --soft: #f3f3f3;
  --soft-2: #f7f7f7;
  --surface: #ffffff;
  --accent: #800020;
  --accent-dark: #540016;
  --accent-pale: #f8ecee;
  --max: 1240px;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 18px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.top-notice {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.top-notice button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  text-decoration: underline;
}

.top-notice.is-hidden {
  display: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  width: min(var(--max), calc(100% - 80px));
  min-height: 132px;
  margin: 0 auto;
}

.brand {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  min-width: 250px;
  padding-top: 8px;
  color: var(--text);
}

.brand-script {
  color: var(--accent);
  font-family: "Snell Roundhand", "Brush Script MT", "Kaiti SC", cursive;
  font-size: 72px;
  font-weight: 500;
  line-height: 0.9;
  transform: rotate(-7deg);
}

.brand-line {
  position: absolute;
  top: 50px;
  left: 55px;
  width: 118px;
  height: 34px;
  border-top: 2px solid var(--text);
  border-radius: 70% 30% 0 0;
  transform: rotate(-9deg);
}

.brand-name {
  grid-column: 1 / -1;
  margin-top: 3px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--text);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

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

.language-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #fff;
}

.lang-btn {
  min-width: 48px;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--body);
  cursor: pointer;
}

.lang-btn.active {
  background: var(--text);
  color: #fff;
}

.cart-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.category-hero {
  background: #efefef;
  border-bottom: 1px solid var(--line);
}

.category-inner {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 84px 0 82px;
  text-align: center;
}

.breadcrumbs,
.section-kicker,
.product-category,
.shop-toolbar > p {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumbs {
  margin: 0 0 20px;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Avenir Next", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.06;
}

.category-inner p:last-child {
  max-width: 820px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}

.shop-section {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.shop-toolbar p {
  margin: 0;
}

.sort-control {
  display: grid;
  gap: 7px;
}

.sort-control span {
  color: var(--muted);
  font-size: 12px;
}

.sort-control select {
  min-width: 220px;
  height: 48px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--body);
}

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

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

.product-photo {
  display: block;
  overflow: hidden;
  background: #f1f1f1;
}

.product-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 500ms ease, opacity 240ms ease;
}

.product-card:hover .product-photo img {
  opacity: 0.94;
  transform: scale(1.025);
}

.product-body {
  padding-top: 18px;
}

.product-category {
  margin-bottom: 9px;
  color: var(--muted);
}

.product-body h2 {
  min-height: 52px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
}

.product-body h2 a {
  color: inherit;
  transition: color 160ms ease;
}

.product-body h2 a:hover {
  color: var(--accent);
}

.price {
  margin-bottom: 8px;
  color: var(--body);
  font-size: 15px;
  font-weight: 700;
}

.rating {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.muted-rating {
  color: var(--muted);
  letter-spacing: 0.02em;
}

.details-section,
.info-strip,
.story-section,
.delivery-section,
.contact-section {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
}

.details-section {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 32px;
  padding: 0 0 92px;
}

.detail-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--soft-2);
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--accent);
}

.detail-panel h2,
.info-card h2,
.story-heading h2,
.contact-copy h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
}

.detail-panel p,
.info-card p,
.story-copy p,
.delivery-card p,
.contact-copy p {
  color: var(--body);
  font-size: 17px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec-list div {
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.spec-list dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.image-panel {
  padding: 0;
  background: #f1f1f1;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.info-strip {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: 32px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-card {
  max-width: 780px;
}

.small-note {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 14px !important;
}

.gift-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
}

.gift-options span {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-weight: 700;
  text-align: center;
}

.story-section {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 70px;
  padding: 92px 0;
}

.story-copy p {
  max-width: 700px;
}

.delivery-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 92px;
}

.delivery-card {
  padding: 28px;
  border: 1px solid var(--line);
}

.delivery-card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 58px;
  padding: 0 0 92px;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
}

.contact-form input {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.sort-control select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(128, 0, 32, 0.1);
}

.contact-form button {
  min-height: 50px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--accent-dark);
}

.contact-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.product-breadcrumbs,
.product-detail-section,
.product-tabs,
.assurance-row,
.related-products {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 58px 0 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-breadcrumbs a {
  color: #5d6670;
}

.product-breadcrumbs a:hover {
  color: var(--accent);
}

.product-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.74fr);
  gap: clamp(40px, 6vw, 74px);
  align-items: start;
  padding-bottom: 78px;
}

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

.product-main-image {
  margin: 0;
  overflow: hidden;
  background: #f1f1f1;
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(3, 86px);
  gap: 12px;
  margin-top: 14px;
}

.thumbnail-btn {
  width: 86px;
  height: 86px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.thumbnail-btn.active {
  border-color: var(--accent);
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.product-summary h1 {
  margin: 10px 0 16px;
  color: var(--text);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
}

.product-review-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
}

.product-review-line span {
  color: var(--body);
}

.product-detail-price {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
}

.product-short-copy {
  margin-bottom: 22px;
  color: var(--body);
  font-size: 17px;
}

.product-points {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-points p {
  position: relative;
  margin: 0;
  padding-left: 26px;
  color: var(--body);
}

.product-points p::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✔";
}

.purchase-box {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  height: 50px;
  border: 1px solid var(--line);
}

.quantity-control button,
.quantity-control input {
  min-width: 0;
  border: 0;
  background: #fff;
  color: var(--text);
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-weight: 800;
}

.quantity-control input {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.add-cart-btn {
  height: 50px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 160ms ease;
}

.add-cart-btn:hover {
  background: var(--accent-dark);
}

.cart-feedback {
  min-height: 24px;
  margin: 0 0 22px;
  color: var(--accent);
  font-weight: 700;
}

.product-meta-list {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 14px;
}

.product-meta-list p {
  margin: 0;
}

.product-meta-list strong {
  color: var(--text);
}

.product-meta-list a {
  color: var(--accent);
}

.product-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 68px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tab-panel {
  min-width: 0;
}

.tab-panel h2,
.related-heading h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.14;
}

.tab-panel p {
  color: var(--body);
  font-size: 17px;
}

.product-info-table {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-info-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.product-info-table dt {
  color: var(--text);
  font-weight: 800;
}

.product-info-table dd {
  margin: 0;
}

.assurance-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 58px 0 74px;
}

.assurance-card {
  min-height: 190px;
  padding: 24px;
  background: var(--soft-2);
}

.assurance-card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 19px;
}

.assurance-card p {
  color: var(--body);
}

.related-products {
  padding-bottom: 92px;
}

.related-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

.related-heading a {
  color: var(--accent);
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 860px;
}

.checkout-hero {
  background: #efefef;
  border-bottom: 1px solid var(--line);
}

.checkout-hero-inner {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 68px;
  text-align: center;
}

.checkout-hero-inner p:last-child {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 44px;
  align-items: start;
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.checkout-form-panel,
.checkout-summary {
  border: 1px solid var(--line);
  background: #fff;
}

.checkout-form-panel {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 4vw, 42px);
}

.checkout-panel-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.16;
}

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

.checkout-form-panel label,
.wide-field,
.checkout-choice-block {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.checkout-form-panel input[type="text"],
.checkout-form-panel input[type="email"],
.checkout-form-panel input[type="tel"],
.checkout-form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
}

.checkout-form-panel input[type="text"],
.checkout-form-panel input[type="email"],
.checkout-form-panel input[type="tel"] {
  height: 48px;
  padding: 0 14px;
}

.checkout-form-panel textarea {
  resize: vertical;
  padding: 12px 14px;
}

.checkout-form-panel input:focus,
.checkout-form-panel textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(128, 0, 32, 0.1);
}

.checkout-form-panel.was-validated input:invalid,
.checkout-form-panel.was-validated textarea:invalid {
  border-color: var(--accent);
}

.field-label {
  margin: 0;
}

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

.choice-grid label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 54px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--soft-2);
  color: var(--body);
  font-weight: 600;
}

.choice-grid input {
  margin-top: 5px;
  accent-color: var(--accent);
}

.payment-note {
  padding: 18px;
  background: var(--accent-pale);
  color: var(--accent-dark);
}

.payment-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
}

.payment-note p {
  margin: 0;
}

.submit-order-btn,
.checkout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 160ms ease, transform 160ms ease;
}

.checkout-link {
  width: 100%;
  margin-bottom: 22px;
}

.submit-order-btn:hover,
.checkout-link:hover {
  background: var(--accent-dark);
}

.submit-order-btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.submit-order-btn:active,
.checkout-link:active,
.add-cart-btn:active,
.contact-form button:active {
  transform: translateY(1px);
}

.order-feedback {
  min-height: 24px;
  margin: -8px 0 0;
  color: var(--accent);
  font-weight: 700;
}

.checkout-summary {
  position: sticky;
  top: 24px;
  padding: 26px;
}

.summary-product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.summary-product img {
  width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.summary-product h2 {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.32;
}

.summary-product p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.summary-lines {
  display: grid;
  gap: 0;
  padding: 18px 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line span {
  color: var(--muted);
}

.summary-line strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.total-line {
  border-bottom: 0;
  font-size: 18px;
}

.summary-back-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
}

.policy-hero {
  background: #efefef;
  border-bottom: 1px solid var(--line);
}

.policy-hero-inner {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 68px;
  text-align: center;
}

.policy-hero-inner p:last-child {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  width: min(1080px, calc(100% - 80px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.policy-layout.single-policy {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

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

.policy-index-card {
  display: grid;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.policy-index-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.policy-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 0;
  align-self: start;
  border: 1px solid var(--line);
  background: #fff;
}

.policy-nav a {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
}

.policy-nav a:last-child {
  border-bottom: 0;
}

.policy-nav a:hover {
  color: var(--accent);
}

.policy-content {
  display: grid;
  gap: 22px;
}

.policy-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background: #fff;
  scroll-margin-top: 24px;
}

.policy-card h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.16;
}

.policy-card p {
  max-width: 760px;
  color: var(--body);
  font-size: 17px;
}

.policy-card ul {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.policy-card li {
  color: var(--body);
}

.status-hero {
  display: grid;
  min-height: 640px;
  background: #efefef;
  border-bottom: 1px solid var(--line);
}

.status-hero-inner {
  display: grid;
  place-items: center;
  align-content: center;
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 92px 0;
  text-align: center;
}

.status-hero-inner p:last-of-type {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 18px;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.status-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
}

.status-actions a:first-child {
  background: var(--accent);
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px max(40px, calc((100vw - var(--max)) / 2));
  background: var(--text);
  color: #fff;
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links a[aria-current="page"],
.site-footer > a[aria-current="page"] {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .header-inner,
  .shop-section,
  .details-section,
  .info-strip,
  .story-section,
  .delivery-section,
  .contact-section,
  .product-breadcrumbs,
  .product-detail-section,
  .product-tabs,
  .assurance-row,
  .related-products,
  .checkout-layout,
  .policy-layout {
    width: min(var(--max), calc(100% - 48px));
  }

  .header-inner {
    grid-template-columns: auto auto;
    min-height: 122px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-tools {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-tools {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
  }

  .site-header.nav-open .site-nav a {
    padding: 15px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .header-tools {
    align-items: stretch;
    justify-content: space-between;
    padding: 12px 0 6px;
  }

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

  .details-section,
  .info-strip,
  .story-section,
  .contact-section,
  .product-detail-section,
  .product-tabs,
  .checkout-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .policy-nav a {
    display: grid;
    place-items: center;
    min-height: 54px;
    padding: 12px;
    text-align: center;
  }

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

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

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .top-notice {
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .header-inner,
  .shop-section,
  .details-section,
  .info-strip,
  .story-section,
  .delivery-section,
  .contact-section,
  .product-breadcrumbs,
  .product-detail-section,
  .product-tabs,
  .assurance-row,
  .related-products,
  .checkout-layout,
  .policy-layout {
    width: min(100% - 30px, var(--max));
  }

  .header-inner {
    min-height: 100px;
  }

  .brand {
    min-width: 180px;
  }

  .brand-script {
    font-size: 55px;
  }

  .brand-line {
    top: 38px;
    left: 42px;
    width: 82px;
  }

  .brand-name {
    font-size: 17px;
  }

  .category-inner {
    width: min(100% - 30px, 900px);
    padding: 58px 0;
  }

  .checkout-hero-inner {
    width: min(100% - 30px, 900px);
    padding: 52px 0;
  }

  .policy-hero-inner {
    width: min(100% - 30px, 900px);
    padding: 52px 0;
  }

  .category-inner p:last-child {
    font-size: 16px;
  }

  .shop-section {
    padding: 48px 0 68px;
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-control select {
    width: 100%;
  }

  .product-grid,
  .spec-list,
  .gift-options,
  .delivery-section,
  .assurance-row,
  .related-grid,
  .policy-index-grid,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 38px;
  }

  .product-body h2 {
    min-height: 0;
  }

  .details-section,
  .story-section,
  .delivery-section,
  .contact-section {
    padding-bottom: 68px;
  }

  .detail-panel {
    min-height: auto;
    padding: 28px 20px;
  }

  .image-panel img {
    min-height: auto;
  }

  .info-strip {
    padding: 52px 0;
  }

  .contact-form {
    padding: 22px;
  }

  .product-breadcrumbs {
    padding: 34px 0 24px;
  }

  .product-detail-section {
    gap: 28px;
    padding-bottom: 52px;
  }

  .thumbnail-row {
    grid-template-columns: repeat(3, 72px);
  }

  .thumbnail-btn {
    width: 72px;
    height: 72px;
  }

  .purchase-box {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    max-width: 154px;
  }

  .product-tabs {
    padding: 48px 0;
  }

  .checkout-layout {
    gap: 24px;
    padding: 48px 0 68px;
  }

  .policy-layout {
    gap: 22px;
    padding: 48px 0 68px;
  }

  .checkout-form-panel,
  .checkout-summary,
  .policy-card {
    padding: 22px;
  }

  .policy-nav {
    grid-template-columns: 1fr 1fr;
  }

  .status-hero {
    min-height: 560px;
  }

  .status-hero-inner {
    width: min(100% - 30px, 900px);
    padding: 64px 0;
  }

  .summary-product {
    grid-template-columns: 82px 1fr;
  }

  .summary-product img {
    width: 82px;
  }

  .product-info-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .assurance-row {
    padding: 44px 0 58px;
  }

  .assurance-card {
    min-height: auto;
  }

  .related-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
