:root {
  --cream: #F8F6F2;
  --peanut: #C88858;
  --light-cream: #F1EBE1;
  --green: #E7D8C5;
  --deep-green: #8C6A4A;
  --brown: #3E3A35;
  --light-brown: #A9967A;
  --white: #FFFDF8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.8;
}

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

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

/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 88px;
  padding: 0 6vw;
  background: rgba(255, 248, 234, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(62, 47, 34, 0.08);
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--brown);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--deep-green);
  transition: 0.3s;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 28px;
  color: var(--brown);
}

/* =========================
   Common
========================= */

.section {
  padding: 96px 6vw;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.alt-section {
  background: var(--light-cream);
}

.section-text h2,
.section h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.35;
  margin: 0 0 24px;
}

.section-text p {
  font-size: 17px;
}

.section-image img {
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(62, 47, 34, 0.12);
}

.section-label {
  color: var(--deep-green);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
  margin-bottom: 10px;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.loading-text {
  text-align: center;
  color: #7a5c3a;
  font-size: 16px;
  padding: 40px 0;
}

/* =========================
   Buttons
========================= */

.button-group {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s;
}

.btn.primary {
  background: var(--deep-green);
  color: var(--white);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(140, 106, 74, 0.22);
}

.btn.secondary {
  border: 1px solid var(--deep-green);
  color: var(--deep-green);
}

.btn.secondary:hover {
  background: var(--deep-green);
  color: var(--white);
}

.text-link {
  color: var(--deep-green);
  font-weight: 700;
}

.primary-link-btn {
  display: inline-block;
  background: #5c4634;
  color: #fffaf2;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.secondary-link-btn {
  display: inline-block;
  border: 1px solid #5c4634;
  color: #5c4634;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.secondary-link-btn:hover {
  background: #5c4634;
  color: #fffaf2;
}

/* =========================
   Home
========================= */

.hero-section {
  min-height: calc(100vh - 88px);
  padding: 80px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.2;
  margin: 12px 0 24px;
}

.hero-content p {
  max-width: 560px;
  font-size: 18px;
}

.hero-image img {
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(62, 47, 34, 0.16);
}

.feature-section,
.product-preview,
.story-section,
.notice-section,
.contact-section,
.order-preview {
  display: block;
}

.feature-section {
  background: var(--green);
}

.product-preview {
  background: var(--cream);
}

.order-preview {
  background: var(--light-cream);
}

.home-articles-preview {
  display: block;
  background: #fffaf2;
}

.home-articles-head {
  width: min(1120px, 100%);
  margin: 0 auto 34px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.home-articles-head h2 {
  margin: 0 0 12px;
}

.home-articles-head p {
  max-width: 640px;
  margin: 0;
  color: #5c4634;
  font-size: 17px;
  line-height: 1.85;
}

.home-article-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-article-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 70, 52, 0.12);
  box-shadow: 0 14px 34px rgba(92, 70, 52, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 106, 74, 0.28);
  box-shadow: 0 18px 42px rgba(92, 70, 52, 0.1);
}

.home-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: #9A7A58;
  font-size: 13px;
  font-weight: 700;
}

.home-article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(140, 106, 74, 0.1);
  color: var(--deep-green);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.home-article-card h3 {
  margin: 0 0 12px;
  color: #3f2f24;
  font-size: 22px;
  line-height: 1.45;
}

.home-article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-article-card h3 a:hover {
  color: var(--deep-green);
}

.home-article-card p {
  margin: 0 0 20px;
  color: #5c4634;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-article-link {
  margin-top: auto;
  color: #7a5427;
  font-weight: 900;
  text-decoration: none;
}

.home-article-link:hover {
  color: var(--deep-green);
}

.home-article-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: #7a5c3a;
  text-align: center;
}

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

.feature-card,
.step-card,
.contact-card,
.notice-box {
  background: rgba(255, 255, 255, 0.72);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(62, 47, 34, 0.08);
}

.feature-card h3,
.step-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.product-grid {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* =========================
   Page Hero
========================= */

.page-hero {
  padding: 110px 6vw 80px;
  text-align: center;
  background: var(--light-cream);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin: 8px 0 16px;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
}

/* =========================
   Products List
========================= */

.product-section {
  display: block;
  padding-top: 64px;
  padding-bottom: 80px;
}

#productList {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(92, 70, 52, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #f3eadb;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-subtitle {
  color: #8C6A4A;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 14px;
}

.product-card h2 {
  font-size: 24px;
  margin: 0 0 6px;
  color: #3f2f24;
}

.product-desc {
  color: #5c4634;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card-actions {
  margin-top: auto;
}

.product-card-bottom {
  border-top: 1px dashed rgba(92, 70, 52, 0.22);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-card-bottom strong {
  display: block;
  font-size: 24px;
  color: #5c4634;
  margin: 0;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #5c4634;
  border-radius: 999px;
  padding: 9px 16px;
  color: #5c4634;
  text-decoration: none;
  font-weight: 700;
}

.product-btn:hover {
  background: #5c4634;
  color: #fffaf2;
}

/* =========================
   Product Detail New Layout
========================= */

.product-detail-page {
  padding: 58px 6vw 82px;
}

.product-top-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  background: #fffaf2;
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(92, 70, 52, 0.08);
}

.product-top-image {
  background: #f7ead1;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-top-image img {
  width: 100%;
  max-width: 460px;
  max-height: 360px;
  object-fit: contain;
  border-radius: 22px;
}

.product-top-info h1 {
  font-size: clamp(38px, 4.5vw, 54px);
  line-height: 1.15;
  margin: 10px 0 12px;
  color: #3f2f24;
}

.product-detail-subtitle {
  color: #8C6A4A;
  font-weight: 900;
  margin-bottom: 14px;
}

.product-detail-desc {
  font-size: 19px;
  line-height: 1.9;
  color: #5c4634;
  margin-bottom: 20px;
  max-width: 460px;
}

.product-detail-price {
  font-size: 42px;
  font-weight: 900;
  color: #5c4634;
  margin-bottom: 18px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.quantity-control button {
  width: 44px;
  height: 44px;
  border: 1px solid #5c4634;
  border-radius: 50%;
  background: transparent;
  color: #5c4634;
  font-size: 22px;
  cursor: pointer;
}

.quantity-control span {
  font-size: 20px;
  font-weight: 900;
}

.add-cart-btn {
  border: none;
  background: #5c4634;
  color: #fffaf2;
  padding: 17px 38px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.add-cart-btn:hover {
  background: #7c6146;
}

.product-info-panel {
  width: min(1120px, 100%);
  margin: 28px auto 0;
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 26px;
  padding: 10px 34px;
  box-shadow: 0 14px 34px rgba(92, 70, 52, 0.06);
}

.product-info-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px dashed rgba(92, 70, 52, 0.18);
}

.product-info-section:last-child {
  border-bottom: 0;
}

.product-info-section h2 {
  font-size: 26px;
  color: #3f2f24;
  margin: 0;
}

.product-info-section p,
.product-info-section li {
  color: #5c4634;
  line-height: 1.9;
  margin-top: 0;
}

.product-info-section ul {
  margin: 0;
  padding-left: 20px;
}

.product-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 30px;
}

.product-not-found {
  background: #fffaf2;
  padding: 48px;
  border-radius: 24px;
  text-align: center;
}

/* =========================
   Process / Timeline
========================= */

.timeline {
  margin: 44px auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.timeline div {
  background: var(--white);
  padding: 18px 10px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(62, 47, 34, 0.08);
}

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

.step-card span {
  color: var(--deep-green);
  font-size: 32px;
  font-weight: 800;
}

.notice-box {
  max-width: 760px;
  margin: 32px auto 0;
}

.contact-section {
  background: var(--cream);
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
}

.contact-list {
  margin-top: 28px;
}

/* =========================
   Cart Page
========================= */

.cart-page {
  display: block;
  padding-top: 80px;
  padding-bottom: 90px;
}

.cart-heading {
  text-align: center;
  margin-bottom: 42px;
}

#cartContent {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr 140px 140px;
  gap: 20px;
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(92, 70, 52, 0.07);
}

.cart-item-image {
  width: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #f3eadb;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h2 {
  font-size: 22px;
  margin: 0 0 6px;
  color: #3f2f24;
}

.cart-item-info p {
  margin: 0 0 8px;
  color: #8C6A4A;
  font-weight: 800;
}

.cart-item-info strong {
  color: #5c4634;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cart-item-quantity button {
  width: 36px;
  height: 36px;
  border: 1px solid #5c4634;
  border-radius: 50%;
  background: transparent;
  color: #5c4634;
  font-size: 18px;
  cursor: pointer;
}

.cart-item-quantity button:hover {
  background: #5c4634;
  color: #fffaf2;
}

.cart-item-quantity span {
  font-weight: 800;
  font-size: 18px;
}

.cart-item-subtotal {
  text-align: right;
}

.cart-item-subtotal strong {
  display: block;
  margin-bottom: 10px;
  color: #5c4634;
  font-size: 18px;
}

.cart-item-subtotal button {
  border: none;
  background: transparent;
  color: #9A7A58;
  cursor: pointer;
  text-decoration: underline;
}

.cart-summary {
  position: sticky;
  top: 110px;
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(92, 70, 52, 0.08);
}

.cart-summary h2 {
  margin: 0 0 24px;
  color: #3f2f24;
}

.cart-summary-row,
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(92, 70, 52, 0.22);
}

.cart-summary-total {
  font-size: 20px;
  font-weight: 900;
  border-bottom: none;
  margin-top: 8px;
  margin-bottom: 24px;
}

.checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #5c4634;
  color: #fffaf2;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 14px;
}

.checkout-btn:hover {
  background: #7c6146;
}

.continue-shopping {
  display: block;
  text-align: center;
  color: #5c4634;
  font-weight: 800;
  text-decoration: none;
}

.empty-cart {
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 28px;
  text-align: center;
  padding: 64px 24px;
  box-shadow: 0 16px 40px rgba(92, 70, 52, 0.08);
}

.empty-cart h2 {
  margin-bottom: 12px;
}

.empty-cart p {
  margin-bottom: 24px;
}

/* =========================
   Checkout Page
========================= */

.checkout-page {
  padding-top: 80px;
  padding-bottom: 90px;
  display: block;
}

.checkout-heading {
  text-align: center;
  margin-bottom: 42px;
}

.checkout-steps {
  max-width: 720px;
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

.checkout-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: rgba(92, 70, 52, 0.2);
  z-index: 0;
}

.checkout-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.checkout-step span {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid rgba(92, 70, 52, 0.28);
  background: #fbf3e5;
  color: #9A7A58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.checkout-step p {
  font-size: 14px;
  color: #9A7A58;
  font-weight: 700;
}

.checkout-step.done span,
.checkout-step.active span {
  background: #5c4634;
  color: #fffaf2;
  border-color: #5c4634;
}

.checkout-step.done p,
.checkout-step.active p {
  color: #5c4634;
}

.checkout-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(92, 70, 52, 0.08);
}

.checkout-form {
  padding: 36px;
}

.checkout-form-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px dashed rgba(92, 70, 52, 0.22);
}

.checkout-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 22px;
}

.checkout-form-section h2 {
  font-size: 24px;
  color: #3f2f24;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkout-form label {
  display: block;
  margin-bottom: 18px;
  color: #5c4634;
  font-weight: 700;
}

.checkout-form label span {
  color: #9A7A58;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  border: 1px solid rgba(92, 70, 52, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #3f2f24;
  font-size: 16px;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: #8C6A4A;
  box-shadow: 0 0 0 3px rgba(107, 142, 61, 0.12);
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-submit-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  background: #5c4634;
  color: #fffaf2;
  padding: 18px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.checkout-submit-btn:hover {
  background: #7c6146;
}

.checkout-message {
  margin-top: 16px;
  color: #8C6A4A;
  font-weight: 800;
  text-align: center;
}

.checkout-summary {
  position: sticky;
  top: 100px;
  padding: 30px;
}

.checkout-summary-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.checkout-summary-header h2 {
  color: #3f2f24;
  font-size: 24px;
}

.checkout-summary-header a {
  color: #8C6A4A;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(92, 70, 52, 0.18);
}

.checkout-summary-item strong {
  color: #3f2f24;
}

.checkout-summary-item p {
  margin-top: 5px;
  color: #8C6A4A;
  font-size: 14px;
  font-weight: 700;
}

.checkout-summary-row,
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(92, 70, 52, 0.22);
}

.checkout-summary-total {
  font-size: 20px;
  font-weight: 900;
  border-bottom: none;
  margin-top: 8px;
}

.checkout-summary-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f3eadb;
  color: #7c6146;
  font-size: 14px;
  line-height: 1.7;
}

.checkout-empty a {
  color: #5c4634;
  font-weight: 800;
}

/* =========================
   Thank You Page
========================= */

.thank-you-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 6vw;
}

.thank-you-card {
  max-width: 720px;
  width: 100%;
  background: #fffaf2;
  border: 1px solid rgba(92, 70, 52, 0.12);
  border-radius: 32px;
  text-align: center;
  padding: 60px 36px;
  box-shadow: 0 18px 50px rgba(92, 70, 52, 0.08);
}

.thank-you-card h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 12px 0 18px;
  color: #3f2f24;
}

.thank-you-card p {
  color: #5c4634;
}

.order-number-box {
  margin: 32px auto;
  padding: 20px;
  background: #f3eadb;
  border-radius: 18px;
}

.order-number-box strong {
  display: block;
  font-size: 26px;
  color: #5c4634;
  margin-top: 6px;
}
/* =========================
   Product Detail Page Force Fix
========================= */

#productDetail {
  width: 100%;
  display: block;
}

#productDetail .product-detail-page {
  width: 100%;
  display: block !important;
}

#productDetail .product-top-card {
  width: min(1120px, calc(100% - 80px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 900px) {
  #productDetail .product-top-card {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .home-articles-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-article-list {
    grid-template-columns: 1fr;
  }

  .home-article-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .home-articles-preview {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-article-card {
    padding: 22px;
    border-radius: 22px;
  }

  .home-article-card h3 {
    font-size: 20px;
  }
}
