/* ========================================
   Front Page – 迋斯生技 Figma 首頁
   ======================================== */

.fp-main {
  margin-top: var(--header-height);
}

/* ---------- Section 共用 ---------- */
.fp-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fp-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.fp-section-title {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-wants-dark);
  text-align: center;
}

.fp-section-title-bar {
  display: block;
  width: 41px;
  height: 7px;
  margin: 12px auto 0;
}

/* ========================================
   1. Hero Banner
   ======================================== */
.fp-hero {
  position: relative;
  width: 100%;
  height: 624px;
  overflow: hidden;
}

.fp-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.fp-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 32px;
}

.fp-hero__title {
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
  margin: 0;
}

.fp-hero__title-zh {
  font-family: 'Noto Serif TC', 'Georgia', serif;
  font-size: 60px;
  font-weight: 400;
}

.fp-hero__title-en {
  font-family: 'Racing Sans One', cursive;
  font-size: 60px;
  font-weight: 400;
}

.fp-hero__subtitle {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin: 0;
  max-width: 589px;
}

.fp-hero__mobile-break {
  display: none;
}

.fp-hero__subtitle-break {
  display: none;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--color-wants-accent);
  border: none;
  border-radius: 100px;
  padding: 12px 68px;
  min-height: 50px;
  min-width: 200px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.fp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 63, 59, 0.35);
  background: #6f6858;
  opacity: 1;
}

#hero-cta {
  display: flex;
  width: 200px;
  height: 50px;
  padding: 12px 68px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: var(--0002, #5A8A94);
}

.fp-btn--oem {
  border-radius: 0;
  padding: 16px 76px;
}

/* ========================================
   2. 產品選購
   ======================================== */
.fp-top3 {
  background: var(--color-wants-cream);
  padding: 74px 0 80px;
}

.fp-top3__header {
  text-align: center;
  margin-bottom: 32px;
}

.fp-top3 .fp-section-title {
  color: var(--color-brand-orange);
}

.fp-top3__grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.fp-top3__pagination {
  display: none;
}

.fp-featured-stack__coffee-beans {
  display: none;
}

.fp-product-card {
  position: relative;
  width: 283px;
  text-align: left;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.fp-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.15);
}

.fp-product-card__image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.fp-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fp-product-card:hover .fp-product-card__image {
  transform: scale(1.03);
}

.fp-product-card__badge {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.fp-product-card__badge--1 { background: var(--color-wants-dark); }
.fp-product-card__badge--2 { background: #6d6d6d; }
.fp-product-card__badge--3 { background: #939393; }

.fp-product-card__body {
  padding: 22px 20px 24px;
}

.fp-product-card__name {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-wants-dark);
  margin-bottom: 4px;
}

.fp-product-card__desc {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  color: var(--color-wants-accent);
  margin-bottom: 10px;
}

.fp-product-card__price {
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-wants-dark);
}

.fp-product-card__price-mobile {
  display: none;
}

.fp-product-card__price-desktop {
  display: block;
}

/* ========================================
   3. OEM / ODM 代工服務
   ======================================== */
.fp-oem {
  position: relative;
  background-color: var(--color-wants-dark);
  background-image: url('../images/oem-odm-section-bg.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 20px;
  overflow: hidden;
}

.fp-oem::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.fp-oem__inner {
  display: grid;
  grid-template-columns: 504px 1fr;
  align-items: center;
  gap: 94px;
  max-width: 945px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fp-oem__image {
  width: 100%;
  max-width: 504px;
  height: 400px;
  object-fit: cover;
  display: block;
}

.fp-oem__label {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-wants-gold);
  margin-bottom: 10px;
}

.fp-oem__title {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-wants-cream);
  margin-bottom: 30px;
  line-height: 1.3;
}

.fp-oem__text {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 347px;
}

/* ========================================
   4. 顧客好評推薦
   ======================================== */
.fp-testimonials {
  background: var(--color-wants-cream);
  padding: 96px 0 80px;
}

.fp-testimonials__header {
  text-align: center;
  margin-bottom: 28px;
}

.fp-testimonials__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
}

.fp-testimonials__pagination {
  display: none;
}

.fp-review-card {
  background: #fff;
  border: 1px solid #eee;
  width: 300px;
  min-height: 200px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.fp-review-card:hover {
  transform: translateY(-4px);
}

.fp-review-card__stars {
  width: 98px;
  height: 18px;
  margin-bottom: 14px;
}

.fp-review-card__quote {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-wants-dark);
  margin-bottom: 10px;
}

.fp-review-card__text {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  color: var(--color-wants-dark);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.fp-review-card__divider {
  width: 100%;
  height: 1px;
  margin-bottom: 16px;
}

.fp-review-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-review-card__avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.fp-review-card__name {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 12px;
  color: #999;
}

/* ========================================
   5. 聯絡我們
   ======================================== */
.fp-contact {
  position: relative;
  min-height: 574px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
}

.fp-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.fp-contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 914px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.fp-contact__title {
  color: #fff;
  text-align: center;
  font-family: 'Swei Spring CJK TC', 'Noto Sans TC', sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.fp-contact__panel {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  backdrop-filter: blur(6.3px);
}

.fp-contact__panel picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.fp-contact__panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.fp-contact__text {
  position: relative;
  z-index: 1;
  max-width: 512px;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  font-family: Georgia, 'Noto Sans TC', serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.fp-contact__lead {
  font-weight: 400;
  margin-bottom: 8px;
}

.fp-contact__text p {
  margin: 0 0 4px;
}

/* ========================================
   Responsive – Tablet (≤ 960px)
   ======================================== */
@media (max-width: 960px) {
  .fp-hero {
    height: 480px;
  }

  .fp-hero__title-zh,
  .fp-hero__title-en {
    font-size: 44px;
  }

  .fp-hero__subtitle {
    font-size: 17px;
  }

  .fp-oem__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 504px;
  }

  .fp-oem__image {
    margin: 0 auto;
  }

  .fp-oem__content {
    text-align: center;
  }

  .fp-oem__text {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========================================
   Responsive – Mobile (≤ 768px)
   ======================================== */
/* ========================================
   Desktop combined ranking / event / review block
   ======================================== */
@media (min-width: 769px) {
  .fp-featured-stack {
    position: relative;
    box-sizing: border-box;
    min-height: calc(100vw * 6208 / 7680);
    padding: clamp(35px, 4.65vw, 67px) 20px clamp(29px, 3.75vw, 54px);
    background-color: #f6f1de;
    background-image: url('../images/front-page/home-rank-review-bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    overflow: hidden;
  }

  .fp-featured-stack__coffee-beans {
    display: none;
  }

  .fp-featured-stack .fp-section {
    position: relative;
    z-index: 2;
    overflow: visible;
    background: transparent;
  }

  .fp-featured-stack .fp-section-inner {
    max-width: 1200px;
    padding: 0;
  }

  .fp-featured-stack .fp-section-title {
    color: #d77350;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .fp-top3 {
    padding: 0;
    margin-top: clamp(24px, 3vw, 43px);
  }

  .fp-top3__watermark {
    display: none;
  }

  .fp-top3__header {
    margin-bottom: clamp(14px, 1.45vw, 21px);
  }

  .fp-top3 .fp-section-title-bar {
    width: clamp(24px, 3vw, 41px);
    height: auto;
    margin-top: 3px;
  }

  .fp-top3__grid {
    gap: clamp(18px, 2.15vw, 30px);
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .fp-product-card {
    flex: 0 0 clamp(210px, 24.55vw, 282.501px);
    width: clamp(210px, 24.55vw, 282.501px);
    height: clamp(238px, 27.85vw, 320px);
    border: 1px solid rgba(218, 213, 196, 0.72);
    border-radius: 3px;
    background: #fff;
    box-shadow: 3px 4px 7px rgba(61, 54, 40, 0.18);
    display: flex;
    flex-direction: column;
  }

  .fp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 7px 10px rgba(61, 54, 40, 0.2);
  }

  .fp-product-card__image-wrap {
    height: clamp(130px, 17.3vw, 199px);
    background: #f6efdf;
  }

  .fp-product-card__body {
    flex: 1;
    min-height: 0;
    padding: clamp(14px, 1.65vw, 19px) clamp(14px, 1.55vw, 18px);
  }

  .fp-product-card__badge {
    top: clamp(8px, 1vw, 12px);
    left: clamp(8px, 1vw, 12px);
    width: clamp(26px, 2.85vw, 33px);
    height: clamp(26px, 2.85vw, 33px);
    font-size: clamp(10px, 1vw, 12px);
  }

  .fp-product-card__badge--1 { background: #d77350; }
  .fp-product-card__badge--2 { background: #5a8a94; }
  .fp-product-card__badge--3 { background: #e5aa38; }

  .fp-product-card__name,
  .fp-product-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fp-product-card__name {
    -webkit-line-clamp: 1;
    color: #d77350;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: clamp(8px, 0.9vw, 10px);
  }

  .fp-product-card__desc {
    -webkit-line-clamp: 2;
    color: #3a3f3b;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(10px, 1vw, 12px);
    line-height: 1.35;
    margin-bottom: clamp(8px, 0.85vw, 10px);
  }

  .fp-product-card__price {
    color: #3a3f3b;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(12px, 1.25vw, 14px);
    font-weight: 600;
    line-height: 1.2;
  }

  .fp-oem {
    padding: clamp(3.5rem, calc(16.5vw - 5rem), 10.5rem) 0 0;
  }

  .fp-oem .fp-featured-stack__coffee-beans {
    display: block;
    position: absolute;
    right: calc((100% - min(67.2vw, 970px)) / 2 - clamp(104px, 9.6vw, 138px));
    bottom: clamp(-44px, -2.65vw, -30px);
    z-index: 4;
    width: 439px;
    height: 347px;
    aspect-ratio: 100 / 79;
    background: url('../images/front-page/coffee-beans-decoration.png') center / contain no-repeat;
    filter: drop-shadow(16px 13px 27.7px rgba(164, 136, 24, 0.25));
    transform: translate(clamp(10rem, 13vw, 14rem), 6.5rem);
    pointer-events: none;
  }

  .fp-oem::after {
    display: none;
  }

  .fp-oem__inner {
    box-sizing: border-box;
    width: min(87.36vw, 1261px);
    max-width: none;
    min-height: clamp(312px, 39vw, 562px);
    margin: 0 auto;
    padding: clamp(44px, 5.85vw, 85px) clamp(70px, 7.8vw, 112px);
    display: grid;
    grid-template-columns: clamp(274px, 34.32vw, 494px) 1fr;
    align-items: center;
    gap: clamp(52px, 6.5vw, 94px);
    background: #fff;
    box-shadow: 4px 7px 11px rgba(61, 54, 40, 0.13);
  }

  .fp-oem__image-col {
    width: 100%;
  }

  .fp-oem__image {
    width: 100%;
    max-width: none;
    height: clamp(218px, 27.3vw, 393px);
    object-fit: cover;
  }

  .fp-oem__content {
    max-width: clamp(273px, 39vw, 562px);
    text-align: left;
  }

  .fp-oem__label {
    color: #d77350;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(9px, 0.85vw, 12px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(6px, 0.65vw, 9px);
  }

  .fp-oem__title {
    color: #3a3f3b;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(14px, 1.55vw, 24px);
    line-height: 1.25;
    margin-bottom: clamp(14px, 1.75vw, 25px);
  }

  .fp-oem__text {
    color: #3a3f3b;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(8px, 0.85vw, 12px);
    line-height: 1.45;
    max-width: none;
    margin-bottom: clamp(10px, 1.2vw, 14px);
    white-space: pre-line;
  }

  .fp-oem__text:last-of-type {
    margin-bottom: clamp(24px, 3vw, 43px);
  }

  #oem-cta {
    width: clamp(83px, 10.4vw, 150px);
    min-width: 0;
    height: clamp(21px, 2.65vw, 38px);
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: #5a8a94;
    color: #fff;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    font-size: clamp(8px, 0.75vw, 11px);
    font-weight: 700;
    line-height: 1;
  }

  .fp-testimonials {
    padding: clamp(72px, 8.5vw, 122px) 0 0;
  }

  .fp-testimonials__header {
    margin-bottom: clamp(14px, 1.65vw, 24px);
  }

  .fp-testimonials__grid {
    max-width: min(51.5vw, 742px);
    gap: clamp(16px, 2vw, 29px);
    flex-wrap: nowrap;
  }

  .fp-review-card {
    box-sizing: border-box;
    flex: 0 0 clamp(126px, 15.8vw, 228px);
    width: clamp(126px, 15.8vw, 228px);
    min-height: clamp(84px, 10.55vw, 152px);
    padding: clamp(13px, 1.45vw, 21px) clamp(10px, 1.35vw, 19px);
    border: 1px solid rgba(229, 225, 212, 0.95);
    box-shadow: 3px 4px 8px rgba(61, 54, 40, 0.14);
  }

  .fp-review-card__stars {
    width: clamp(45px, 6.1vw, 88px);
    height: auto;
    margin-bottom: clamp(7px, 0.85vw, 12px);
  }

  .fp-review-card__quote,
  .fp-review-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
  }

  .fp-review-card__quote {
    -webkit-line-clamp: 1;
    font-size: clamp(8px, 0.85vw, 12px);
    line-height: 1.35;
    margin-bottom: clamp(4px, 0.5vw, 7px);
  }

  .fp-review-card__text {
    -webkit-line-clamp: 2;
    font-size: clamp(7px, 0.72vw, 10px);
    line-height: 1.45;
    margin-bottom: clamp(8px, 1vw, 14px);
  }

  .fp-review-card__divider {
    margin-bottom: clamp(8px, 1vw, 14px);
  }

  .fp-review-card__avatar {
    width: clamp(14px, 1.75vw, 25px);
    height: clamp(14px, 1.75vw, 25px);
  }

  .fp-review-card__name {
    font-size: clamp(7px, 0.72vw, 10px);
  }
}

@media (max-width: 768px) {
  .fp-featured-stack,
  .fp-top3,
  .fp-testimonials,
  .fp-oem {
    background-color: #F6F1DE;
    background-image: none;
  }

  .fp-hero {
    width: 100%;
    max-width: 100vw;
    height: clamp(232px, 56.6vw, 300px);
  }

  .fp-hero__image {
    object-position: center center;
  }

  .fp-hero__overlay {
    background: rgba(0, 0, 0, 0.2);
  }

  .fp-hero__content {
    justify-content: center;
    padding: 14px 22px 18px;
    gap: 10px;
  }

  #hero-cta {
    box-sizing: border-box;
    width: 132px;
    min-width: 132px;
    height: 34px;
    min-height: 34px;
    padding: 0 22px;
    border-radius: 999px;
    background: #5A8A94 !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.24);
    color: #fff !important;
    font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  .fp-hero__title {
    width: 100%;
    max-width: 320px;
    align-self: center;
    color: #fff !important;
    text-align: center;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.38);
    line-height: 1.13;
  }

  .fp-hero__title-zh {
    display: block;
    color: #fff !important;
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    font-size: clamp(25px, 5.85vw, 31px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0;
  }

  .fp-hero__title-en {
    color: #fff !important;
    font-family: 'Racing Sans One', cursive;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .fp-hero__mobile-break {
    display: block;
  }

  .fp-hero__subtitle-break {
    display: block;
  }

  .fp-hero__subtitle {
    width: 100%;
    max-width: 360px;
    color: #fff !important;
    text-align: center;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.36);
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    font-size: clamp(16px, 3.6vw, 18px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: 0;
  }

  .fp-btn {
    padding: 10px 40px;
    font-size: 14px;
    min-height: 44px;
    min-width: 160px;
  }

  .fp-section-title {
    font-size: 22px;
  }

  .fp-top3 {
    position: relative;
    overflow: hidden;
    padding: 32px 0 28px;
  }

  .fp-top3 .fp-section-title {
    align-self: stretch;
    color: var(--0003, #D77350);
    text-align: center;
    font-family: Inter, 'Noto Sans TC', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
  }

  .fp-top3__header {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
  }

  .fp-top3 .fp-section-title-bar {
    display: block;
    width: 41px;
    height: 6px;
    margin: 0 auto;
    object-fit: contain;
    opacity: 1;
  }

  .fp-top3__header::after {
    display: none;
  }

  .fp-product-card__badge--1 { background: #d77350; }
  .fp-product-card__badge--2 { background: #5a8a94; }
  .fp-product-card__badge--3 { background: #e5aa38; }

  .fp-product-card__badge {
    position: absolute;
    top: clamp(8px, 2.4vw, 10px);
    left: clamp(8px, 2.4vw, 10px);
    width: 18px;
    height: 18px;
    font-size: 11px;
    color: #fff;
    z-index: 3;
  }

  .fp-top3__grid {
    --fp-top3-card-width: clamp(148px, 39.2vw, 168px);
    --fp-top3-card-gap: clamp(12px, 3.2vw, 16px);
    --fp-top3-card-image-height: calc(var(--fp-top3-card-width) * 110 / 129);
    --fp-top3-card-min-height: calc(var(--fp-top3-card-width) * 217 / 129);
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--fp-top3-card-gap);
    margin: 0 -20px;
    padding: 0 calc((100vw - var(--fp-top3-card-width)) / 2) 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - var(--fp-top3-card-width)) / 2);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fp-top3__grid::-webkit-scrollbar {
    display: none;
  }

  .fp-product-card {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    flex: 0 0 var(--fp-top3-card-width);
    width: var(--fp-top3-card-width);
    min-height: var(--fp-top3-card-min-height);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #eeeeee;
    box-shadow: 0 2px 6px rgba(61, 54, 40, 0.12);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    overflow: hidden;
    text-decoration: none;
  }

  .fp-product-card:hover {
    transform: none;
    box-shadow: 0 2px 6px rgba(61, 54, 40, 0.12);
  }

  .fp-product-card__image-wrap {
    position: relative;
    box-sizing: border-box;
    height: var(--fp-top3-card-image-height);
    padding: 0;
    background: #f6efdf;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
  }

  .fp-product-card__image-wrap .fp-product-card__image {
    display: block;
    width: 100%;
    height: 100%;
  }

  .fp-product-card__image {
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }

  .fp-product-card:hover .fp-product-card__image {
    transform: none;
  }

  .fp-product-card__body {
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: clamp(8px, 2.4vw, 10px) clamp(7px, 2.1vw, 8px) clamp(10px, 2.8vw, 12px);
  }

  .fp-product-card__name {
    font-family: 'Georgia', 'Noto Serif TC', serif;
    font-size: clamp(11px, 2.9vw, 12px);
    font-weight: 700;
    color: #D77350;
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: clamp(3px, 1vw, 4px);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fp-product-card__desc {
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    font-size: clamp(10px, 2.6vw, 11px);
    font-weight: 400;
    color: #4A4A4A;
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: clamp(6px, 1.8vw, 8px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
  }

  .fp-product-card__price {
    margin: 0;
    margin-top: auto;
  }

  .fp-product-card__price-mobile {
    display: block;
    font-family: 'Georgia', 'Noto Serif TC', serif;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 700;
    color: #4A4A4A;
    line-height: 1.15;
  }

  .fp-product-card__price-desktop {
    display: none;
  }

  .fp-top3__pagination {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
  }

  .fp-top3__dot {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #aaa99f;
    cursor: pointer;
  }

  .fp-top3__dot.is-active {
    background: #3a3f3b;
  }

  .fp-testimonials {
    padding: 58px 0 54px;
  }

  .fp-testimonials__header {
    margin-bottom: 28px;
  }

  .fp-testimonials .fp-section-title {
    color: var(--color-brand-orange);
  }

  .fp-testimonials__grid {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 40px;
    max-width: none;
    margin: 0 -20px;
    padding: 0 calc((100vw - 280px) / 2) 5px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - 280px) / 2);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fp-testimonials__grid::-webkit-scrollbar {
    display: none;
  }

  .fp-review-card {
    box-sizing: border-box;
    flex: 0 0 280px;
    width: 280px;
    min-height: 252px;
    padding: 24px 22px;
    border: 1px solid #deded8;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .fp-review-card:hover {
    transform: none;
  }

  .fp-testimonials__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 25px;
  }

  .fp-testimonials__dot {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(132, 125, 107, 0.45);
    cursor: pointer;
  }

  .fp-testimonials__dot.is-active {
    background: var(--color-brand-orange);
  }

  .fp-oem {
    padding: clamp(12px, 4.1vw, 16px) 0 clamp(24px, 7.7vw, 30px);
    overflow: visible;
  }

  .fp-oem::after {
    display: none;
  }

  .fp-oem__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: min(82.933vw, 320px);
    max-width: none;
    margin: 0 auto;
    padding: clamp(14px, 4.1vw, 16px);
    background: #fff;
    box-shadow: 0 4px 11px rgba(61, 54, 40, 0.18);
  }

  .fp-oem__image-col {
    width: 100%;
  }

  .fp-oem__image {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1.09 / 1;
    margin: 0;
    object-fit: cover;
  }

  .fp-oem__content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(18px, 5.5vw, 24px) clamp(14px, 4.5vw, 22px) clamp(44px, 13vw, 52px);
    text-align: left;
  }

  .fp-oem__label {
    color: #D77350;
    font-family: 'Georgia', 'Noto Serif TC', serif;
    font-size: clamp(14px, 4.1vw, 16px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0 0 clamp(10px, 3.2vw, 14px);
  }

  .fp-oem__title {
    color: #4A4A4A;
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    font-size: clamp(15px, 4.35vw, 17px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    margin: 0 0 clamp(16px, 5.2vw, 24px);
  }

  .fp-oem__text {
    color: #5B5B5B;
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    font-size: clamp(15px, 4.35vw, 17px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    margin: 0 0 clamp(14px, 4.6vw, 22px);
    white-space: pre-line;
  }

  .fp-oem__text:last-of-type {
    margin-bottom: clamp(18px, 6vw, 28px);
  }

  #oem-cta {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    max-width: 225px;
    height: clamp(36px, 10.3vw, 40px);
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0 clamp(24px, 7vw, 42px);
    border-radius: 0;
    background: #5A8A94;
    color: #fff;
    font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
    font-size: clamp(16px, 4.6vw, 18px);
    font-weight: 700;
    line-height: 1;
    align-self: center;
  }

  .fp-oem .fp-featured-stack__coffee-beans {
    display: block;
    position: absolute;
    right: max(2px, calc((100vw - min(82.933vw, 320px)) / 2 - clamp(18px, 5.5vw, 24px)));
    bottom: clamp(2px, 1vw, 6px);
    z-index: 3;
    width: clamp(88px, 27vw, 116px);
    height: auto;
    aspect-ratio: 394 / 323;
    background: url('../images/front-page/coffee-beans-decoration.png') center / contain no-repeat;
    filter: drop-shadow(10px 8px 18px rgba(164, 136, 24, 0.24));
    pointer-events: none;
  }

  .fp-contact {
    box-sizing: border-box;
    height: min(calc(100vw * 547 / 722), 547px);
    min-height: 258px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .fp-contact__bg {
    content: url('../images/front-page/mobile/contact-bg-mobile.png');
    opacity: 1;
    object-fit: cover;
    object-position: center;
  }

  .fp-contact__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 14px);
    padding: clamp(22px, 6.5vw, 36px) clamp(16px, 5.2vw, 22px);
  }

  .fp-contact__title {
    position: static;
    width: min(90vw, 340px);
    margin: 0;
    color: #fff;
    text-align: center;
    font-family: 'Noto Serif TC', Georgia, serif;
    font-size: clamp(15px, 4.1vw, 19px);
    font-style: italic;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(60, 48, 36, 0.28);
  }

  .fp-contact__panel {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    box-sizing: border-box;
    width: min(80vw, 304px);
    min-height: 0;
    height: auto;
    padding: clamp(18px, 5vw, 26px) clamp(14px, 4vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .fp-contact__panel-bg {
    opacity: 1;
    object-fit: fill;
  }

  .fp-contact__text {
    max-width: none;
    width: 100%;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 4px rgba(60, 48, 36, 0.22);
    font-family: 'Noto Sans TC', Inter, sans-serif;
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .fp-contact__lead {
    font-weight: 400;
    margin-bottom: clamp(14px, 4vw, 20px);
    white-space: pre-line;
  }

  .fp-contact__text p {
    margin: 0;
    white-space: pre-line;
  }
}

/* ========================================
   Responsive – Small (≤ 480px)
   ======================================== */
@media (max-width: 480px) {
  .fp-hero {
    height: 214px;
  }

  .fp-contact {
    height: calc(100vw * 547 / 722);
    min-height: 258px;
  }
}
