:root {
  --red: #c1272d;
  --red-bright: #d23b32;
  --text: #3a3a3a;
  --heading: #1a1a1a;
  --cream: #fdf4ef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 1010px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ Header ============ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  color: var(--red);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.site-nav a:hover {
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 36.7vw;
  min-height: 240px;
  max-height: 660px;
  object-fit: cover;
  object-position: center;
}

/* ============ About ============ */
.about {
  padding: 70px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 70px;
  align-items: center;
}

.about h2 {
  color: var(--red);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 26px;
  line-height: 1.25;
}

.about p {
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 20px;
  max-width: 560px;
}

.about p:last-child {
  margin-bottom: 0;
}

.about-photo {
  border-radius: 18px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: auto;
}

/* ============ CTA ============ */
.cta {
  background: #fdf2ec url("images/10003.png") center / cover no-repeat;
  padding: 70px 0;
}

.cta .container {
  max-width: 1330px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.cta-illustration {
  display: flex;
  justify-content: center;
}

.cta-illustration img {
  width: 100%;
  max-width: 430px;
}

.cta h2 {
  color: var(--red-bright);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 34px;
}

.btn-shop {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 16px 40px;
  border-radius: 30px;
  transition: background 0.2s;
}

.btn-shop:hover {
  background: #a41f24;
}

/* ============ Footer ============ */
.site-footer {
  background: #fff;
  padding-top: 70px;
}

.footer-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 42px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 340px 360px 1fr;
  gap: 20px;
  padding-bottom: 60px;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 20px;
  font-size: 15px;
  color: #4a4a4a;
}

.footer-col li > a,
.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-col li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0;
}

.footer-col a {
  color: #4a4a4a;
}

.contact-list li {
  display: flex;
}

.legal-links a {
  text-decoration: underline;
}

.legal-links a:hover,
.contact-list a:hover {
  color: var(--red);
}

.contact-list a {
  text-decoration: underline;
}

.map-col a {
  display: block;
}

.map-col img {
  width: 210px;
  height: auto;
}

.footer-bottom {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 15px 20px;
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  background: var(--red);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 50;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* ============ Legal pages ============ */
.legal-page {
  background: var(--cream);
  padding: 55px 0 80px;
}

.legal-page .container {
  max-width: 1170px;
}

.legal-page h1 {
  color: var(--heading);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.3;
}

.legal-page h2 {
  color: var(--heading);
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

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

.legal-body {
  padding-left: 30px;
}

.legal-body p {
  font-size: 15px;
  color: #333;
  margin-bottom: 14px;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-body li {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.legal-intro {
  font-size: 15px;
  color: #333;
  margin-bottom: 30px;
}

.legal-note {
  margin-top: 45px;
  font-size: 15px;
  color: #333;
}

.legal-note p {
  margin-bottom: 14px;
}

strong {
  font-weight: 700;
}

/* Return policy table */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  text-align: center;
}

.policy-table th,
.policy-table td {
  border: 1px solid #e8b4b4;
  padding: 16px 14px;
  font-size: 15px;
}

.policy-table th {
  background: #fbe4e4;
  font-weight: 700;
  color: #1a1a1a;
}

.policy-table td {
  background: #fdf0f0;
  color: #333;
}

/* ============ Language switch ============ */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 4px 2px;
  color: var(--red);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.lang-btn svg {
  width: 12px;
  height: 12px;
  stroke: var(--red);
  transition: transform 0.2s;
}

.lang-switch.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 84px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 6px 0;
  display: none;
  z-index: 120;
}

.lang-switch.open .lang-menu {
  display: block;
}

.lang-menu button {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  background: none;
  border: 0;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  font-family: inherit;
}

.lang-menu button:hover {
  background: #faf0f0;
  color: var(--red);
}

.lang-menu button.active {
  color: var(--red);
  font-weight: 700;
}

/* ============ i18n ============ */
.t-zh {
  display: none;
}

html[lang="zh"] .t-en {
  display: none;
}

html[lang="zh"] .t-zh {
  display: revert;
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about p {
    max-width: none;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta h2 {
    font-size: 32px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .map-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 40;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 24px;
    border-top: 1px solid #f0e5e5;
    font-size: 17px;
  }

  .site-header {
    z-index: 100;
  }

  .header-inner {
    padding: 14px 20px;
  }

  .logo img {
    height: 28px;
  }

  .hero img {
    height: 55vw;
  }

  .about {
    padding: 45px 0 50px;
  }

  .about h2 {
    font-size: 27px;
  }

  .cta {
    padding: 50px 0;
  }

  .cta h2 {
    font-size: 27px;
    margin-bottom: 26px;
  }

  .site-footer {
    padding-top: 50px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 45px;
  }

  .footer-logo {
    height: 32px;
    margin-bottom: 30px;
  }

  .legal-page {
    padding: 35px 0 55px;
  }

  .legal-page h1 {
    font-size: 27px;
  }

  .legal-page h2 {
    font-size: 20px;
  }

  .legal-body {
    padding-left: 12px;
  }

  .policy-table th,
  .policy-table td {
    padding: 10px 8px;
    font-size: 13px;
  }

  .site-nav .lang-switch {
    padding: 8px 24px 14px;
  }

  .lang-menu {
    right: auto;
    left: 24px;
  }
}
