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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8f6f2;
  color: #111;
  line-height: 1.7;
}

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

a {
  text-decoration: none;
}

.section {
  padding: 100px 8%;
}

.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a7f72;
  margin-bottom: 16px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.75);
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  font-size: clamp(48px, 8vw, 92px);
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 22px;
}

p {
  font-size: 15px;
  color: #333;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.25);
  backdrop-filter: blur(10px);
}

.logo {
  color: #fff;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar nav a {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
  transition: 0.3s;
}

.navbar nav a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("https://images.pexels.com/photos/291762/pexels-photo-291762.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.35),
    rgba(10, 10, 10, 0.5)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.hero-content .tagline {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 28px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  transition: 0.3s ease;
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-light:hover {
  background: #fff;
  color: #111;
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-dark:hover {
  opacity: 0.88;
}

.btn-outline {
  border: 1px solid #111;
  color: #111;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
}

/* INTRO STRIP */
.intro-strip {
  padding: 36px 8%;
  background: #111;
  text-align: center;
}

.intro-strip p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 850px;
  margin: 0 auto;
  font-size: 15px;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  max-width: 600px;
  margin-bottom: 16px;
}

.about-image img {
  height: 680px;
  object-fit: cover;
  border-radius: 24px;
}

/* STYLE */
.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card {
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card.large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 640px;
}

.card.wide {
  grid-column: span 7;
  min-height: 280px;
}

.card:not(.large):not(.wide) {
  grid-column: span 5;
  min-height: 310px;
}

/* BANNER */
.banner {
  padding: 120px 8%;
  background:
    linear-gradient(rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.45)),
    url("https://images.pexels.com/photos/5709661/pexels-photo-5709661.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center/cover no-repeat;
  text-align: center;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.banner h2 {
  color: #fff;
  margin-bottom: 0;
}

/* CONTACT */
.contact {
  display: flex;
  justify-content: center;
}

.contact-box {
  width: 100%;
  max-width: 820px;
  background: #fff;
  padding: 60px 40px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact-text {
  max-width: 560px;
  margin: 0 auto 22px;
}

.contact-info {
  margin-bottom: 28px;
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar {
    padding: 16px 6%;
    flex-direction: column;
    gap: 10px;
  }

  .navbar nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 80px 6%;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 460px;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }

  .card.large,
  .card.wide,
  .card:not(.large):not(.wide) {
    grid-column: auto;
    min-height: 320px;
  }

  .contact-box {
    padding: 42px 24px;
  }
}

.products {
  background: #f3efe8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.product-card img {
  height: 360px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  margin-bottom: 8px;
}

.price {
  font-weight: 600;
  margin-bottom: 14px;
  color: #111;
}

.size-select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin: 8px 0 14px;
  font-size: 14px;
  background: #fff;
}

.add-cart-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

.add-cart-btn:hover {
  opacity: 0.88;
}

.cart-box {
  margin-top: 50px;
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.cart-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

#cart-total {
  margin-top: 20px;
  font-weight: 700;
  color: #111;
}

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

.checkout {
  background: #f8f6f2;
}

.checkout-box {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 30px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.checkout-text {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #111;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d8d3cc;
  border-radius: 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #fff;
}

.order-summary {
  margin-top: 30px;
  margin-bottom: 24px;
  padding: 20px;
  background: #f7f3ee;
  border-radius: 20px;
}

.order-summary h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  margin-bottom: 14px;
}

.checkout-btn {
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.submit-order-btn {
  border: none;
  cursor: pointer;
}

.success-message {
  display: none;
  margin-top: 20px;
  padding: 18px;
  background: #eef7ee;
  color: #1d5c2f;
  border-radius: 14px;
  font-size: 14px;
}

.checkout {
  display: none;
}

.checkout.show {
  display: block;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.checkout-modal.show {
  display: flex;
}

.checkout-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.checkout-modal-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 28px;
  padding: 40px 30px;
  z-index: 2;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.close-checkout {
  position: absolute;
  top: 16px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

.checkout-modal-box h2 {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .checkout-modal-box {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .close-checkout {
    font-size: 30px;
    top: 12px;
    right: 14px;
  }
}

.category-filter {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #d8d3cc;
  background: transparent;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
}

.filter-btn.active {
  background: #111;
  color: #fff;
}

#checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.remove-btn {
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #111;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.remove-btn:hover {
  background: #111;
  color: #fff;
}

.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}

.qty-btn,
.remove-btn {
  padding: 8px 14px;
  border: 1px solid #111;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.qty-btn:hover,
.remove-btn:hover {
  background: #111;
  color: #fff;
}

.cart-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cart-img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
}

.cart-info {
  flex: 1;
}

.cart-item {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.empty-cart {
  color: #666;
  font-size: 15px;
  padding: 20px 0;
}

.info-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  padding: 20px;
}

.info-modal.show {
  display: flex;
}

.info-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.info-modal-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 28px;
  padding: 36px 28px;
  z-index: 2;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.close-info-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: #111;
}

.info-modal-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  margin-bottom: 16px;
}

.info-modal-box h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 20px;
}

.info-modal-box p,
.info-modal-box li {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.info-modal-box ul {
  padding-left: 20px;
}

.footer {
  background: #000;
  color: #fff;
  padding: 60px 8%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
}

/* 左边品牌 */
.footer-left h3 {
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 14px;
  color: #aaa;
  margin: 4px 0;
}

/* 右边菜单 */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: #aaa;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.footer-links a:hover {
  opacity: 0.6;
  transform: translateX(3px);
}

.footer-bottom {
  width: 100%;
  margin-top: 40px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 90px; /* 在 whatsapp 上面 */
  right: 20px;
  width: 50px;
  height: 50px;
  background: black;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: 0.3s;
}

.back-to-top:hover {
  transform: scale(1.1);
}

.cart-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #444;
  background: #111;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.cart-btn:hover {
  background: white;
  color: black;
}

/* ===== CART MODAL ===== */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 4000;
}

.cart-modal.show {
  display: block;
}

.cart-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.cart-modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, calc(100% - 40px));
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 28px;
  padding: 30px;
  z-index: 4001;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
}

.close-cart-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}