@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =============================
   Design Tokens
============================= */
:root {
  --color-primary: #3b5d50;
  --color-primary-dark: #314d43;
  --color-accent: #f9bf29;
  --color-accent-hover: #f8b810;
  --color-text: #2f2f2f;
  --color-text-light: #6a6a6a;
  --color-bg: #eff2f1;
  --color-surface: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-round: 30px;
  --shadow-sm: 0 2px 4px -1px rgba(0,0,0,.08),0 0 0 1px rgba(0,0,0,.02);
  --shadow-md: 0 6px 18px -4px rgba(0,0,0,.18);
  --shadow-lg: 0 20px 40px -8px rgba(0,0,0,.25);
  --transition-fast: .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.3,.07,.19,1);
}

/* Dark Theme */
body.dark-theme {
  --color-bg: #121715;
  --color-surface: #1d2422;
  --color-text: #e6eceb;
  --color-text-light: #a0b0ac;
  background-color: var(--color-bg);
  color: var(--color-text-light);
}
body.dark-theme .custom-navbar { background: #162320 !important; }
body.dark-theme .hero { background: linear-gradient(145deg,#162320,#243a33); }
body.dark-theme .footer-section { background: #1d2422; }
body.dark-theme .product-section .product-item:before { background:#20312c; }
body.dark-theme a { color: var(--color-text); }
body.dark-theme .btn.btn-primary { background: var(--color-primary-dark); }
body.dark-theme .testimonial-slider-wrap .tns-nav button:before { background:#324a44; }
body.dark-theme .testimonial-slider-wrap .tns-nav button.tns-nav-active:before { background: var(--color-accent); }
body.dark-theme .site-blocks-table tbody tr:first-child td { border-top: 1px solid var(--color-primary) !important; }
body.dark-theme .footer-section .border-top { border-color: #2c3d38; }
body.dark-theme .service .service-icon { background: var(--color-primary-dark); }

/* Smooth base transitions */
* { transition: background-color .3s ease, color .3s ease, border-color .3s ease; }

body {
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-text-light);
  font-size: 20px;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  -webkit-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
  color: var(--color-text);
  text-decoration: underline;
  position: relative;
}

a:hover {
  color: #2f2f2f;
  text-decoration: none;
}

a.more {
  font-weight: 600;
}

.custom-navbar {
  background: var(--color-primary) !important;
  padding-top: 14px;
  padding-bottom: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow .3s ease, padding .3s ease;
}
.nav-scrolled .custom-navbar { box-shadow: 0 4px 18px -6px rgba(0,0,0,.25); padding-top: 8px; padding-bottom: 8px; }

.custom-navbar .navbar-brand {
  font-size: 32px;
  font-weight: 600;
}

.custom-navbar .navbar-brand>span {
  opacity: .4;
}

.custom-navbar .navbar-toggler {
  border-color: transparent;
}

.custom-navbar .navbar-toggler:active,
.custom-navbar .navbar-toggler:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}

@media (min-width: 992px) {
  .custom-navbar .custom-navbar-nav li {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.custom-navbar .custom-navbar-nav li a {
  font-weight: 500;
  color: #ffffff !important;
  opacity: .5;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  position: relative;
}

@media (min-width: 768px) {
  .custom-navbar .custom-navbar-nav li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    background: #f9bf29;
    height: 5px;
    opacity: 1;
    visibility: visible;
    width: 0;
    -webkit-transition: .15s all ease-out;
    -o-transition: .15s all ease-out;
    transition: .15s all ease-out;
  }
}

.custom-navbar .custom-navbar-nav li a:hover {
  opacity: 1;
}

.custom-navbar .custom-navbar-nav li a:hover:before {
  width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-nav li.active a {
  opacity: 1;
}

.custom-navbar .custom-navbar-nav li.active a:before {
  width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-cta {
  margin-left: 0 !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

@media (min-width: 768px) {
  .custom-navbar .custom-navbar-cta {
    margin-left: 40px !important;
  }
}

.custom-navbar .custom-navbar-cta li {
  margin-left: 0px;
  margin-right: 0px;
}

.custom-navbar .custom-navbar-cta li:first-child {
  margin-right: 20px;
}

.hero {
  background: var(--color-primary);
  background-image: radial-gradient(circle at 20% 20%,rgba(255,255,255,.08),transparent 60%), radial-gradient(circle at 80% 40%,rgba(255,255,255,.05),transparent 70%);
  padding: calc(4rem - 30px) 0 0rem 0;
  position: relative;
  overflow: hidden;
}
.hero:after, .hero:before {
  content:"";
  position:absolute;
  width:600px; height:600px;
  background: radial-gradient(circle at center,rgba(255,255,255,.12),rgba(255,255,255,0));
  top:-200px; right:-200px;
  mix-blend-mode: overlay;
  opacity:.4;
  animation: heroFloat 18s linear infinite;
  pointer-events:none;
}
.hero:before { left:-220px; right:auto; top:-240px; animation-duration: 26s; }
@keyframes heroFloat { 0% { transform: rotate(0deg) translateY(0);} 50% { transform: rotate(180deg) translateY(20px);} 100% { transform: rotate(360deg) translateY(0);} }

@media (min-width: 768px) {
  .hero {
    padding: calc(4rem - 30px) 0 4rem 0;
  }
}

@media (min-width: 992px) {
  .hero {
    padding: calc(8rem - 30px) 0 8rem 0;
  }
}

.hero .intro-excerpt {
  position: relative;
  z-index: 4;
}

@media (min-width: 992px) {
  .hero .intro-excerpt {
    max-width: 450px;
  }
}

.hero h1 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
}

@media (min-width: 1400px) {
  .hero h1 {
    font-size: 54px;
  }
}

.hero p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
}

.hero .hero-img-wrap {
  position: relative;
}

.hero .hero-img-wrap img {
  position: relative;
  top: 0px;
  right: 0px;
  z-index: 2;
  /* max-width: 780px; */
  left: -20px;
}

@media (min-width: 768px) {
  .hero .hero-img-wrap img {
    right: 0px;
    left: -100px;
  }
}

@media (min-width: 992px) {
  .hero .hero-img-wrap img {
    left: 0px;
    top: -80px;
    position: absolute;
    right: -50px;
  }
}

@media (min-width: 1200px) {
  .hero .hero-img-wrap img {
    left: 20px;
    top: -80px;
    right: -100px;
  }
}

.hero .hero-img-wrap:after {
  content: "";
  position: absolute;
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-light.svg");
  background-size: contain;
  background-repeat: no-repeat;
  right: -100px;
  top: -0px;
}

@media (min-width: 1200px) {
  .hero .hero-img-wrap:after {
    top: -40px;
  }
}

.btn {
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--radius-round);
  color: #ffffff;
  background: #2f2f2f;
  border-color: #2f2f2f;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  transition: var(--transition-fast), box-shadow .4s ease;
}
.btn:after {
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at var(--x,50%) var(--y,50%),rgba(255,255,255,.35),transparent 60%);
  opacity:0; transition: .6s ease;
}
.btn:hover { box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); transform: translateY(-3px); }
.btn:hover:after { opacity:1; }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn:hover {
  color: #ffffff;
  background: #222222;
  border-color: #222222;
}

.btn:active,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn.btn-secondary {
  color: #2f2f2f;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn.btn-secondary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn.btn-white-outline {
  background: transparent;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn.btn-white-outline:hover {
  border-color: white;
  color: #ffffff;
}

.section-title {
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: .5px;
  position: relative;
}
.section-title:after {
  content:""; position:absolute; left:0; bottom:-10px; height:4px; width:64px; background: linear-gradient(90deg,var(--color-accent),var(--color-accent) 60%, transparent);
  border-radius: 2px;
}

.d-block {
  font-weight: bold;
}

.product-section {
  padding: 7rem 0;
}

.product-section .product-item {
  text-align: center;
  text-decoration: none;
  display: block;
  position: relative;
  padding-bottom: 0px;
  cursor: pointer;
}

.product-section .product-item .product-thumbnail {
  margin-bottom: 30px;
  position: relative;
  top: 0;
  -webkit-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
  will-change: transform;
}

.product-section .product-item h3 {
  font-weight: 600;
  font-size: 16px;
}

.product-section .product-item strong {
  font-weight: 800 !important;
  font-size: 18px !important;
}

.product-section .product-item h3,
.product-section .product-item strong {
  color: #2f2f2f;
  text-decoration: none;
}

.product-section .product-item .icon-cross {
  position: absolute;
  width: 35px;
  height: 35px;
  display: inline-block;
  background: #2f2f2f;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-bottom: -17.5px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.product-section .product-item .icon-cross img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.product-section .product-item:before {
  bottom: 0; left: 0; right: 0; position: absolute; content: ""; background: #dce5e4; height: 0%; z-index: -1; border-radius: 16px; -webkit-transition: var(--transition-fast); -o-transition: var(--transition-fast); transition: var(--transition-fast); box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.product-section .product-item { border-radius: 18px; }
.product-section .product-item:hover { filter: brightness(1.02); }
.product-section .product-item:hover:before { box-shadow: var(--shadow-md); }

.product-section .product-item:hover .product-thumbnail {
  top: -25px;
}

.product-section .product-item:hover .icon-cross {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}

.product-section .product-item:hover:before {
  height: 70%;
}

.why-choose-section {
  padding: 7rem 0;
}

.why-choose-section .img-wrap {
  position: relative;
}

.why-choose-section .img-wrap:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  /* background-image: url("../images/dots-yellow.svg"); */
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}

.why-choose-section .img-wrap img {
  border-radius: 20px;
}

.plantation-section {
  padding: 7rem 0;
}

.plantation-section .img-wrap {
  position: relative;
}

.plantation-section .img-wrap:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  /* background-image: url("../images/dots-yellow.svg"); */
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}

.plantation-section .img-wrap img {
  border-radius: 20px;
}

.feature {
  margin-bottom: 30px;
}

.feature .icon-img {
  width: 50px;
}

.feature .icon {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.feature .icon:before { content: ""; width: 33px; height: 33px; position: absolute; background: rgba(59, 93, 80, 0.2); border-radius: 50%; right: -8px; bottom: 0; transform: scale(.8); transition: var(--transition-fast); }
.feature:hover .icon:before { transform: scale(1); background: rgba(59,93,80,0.35); }

.feature h3 {
  font-size: 20px;
  color: #2f2f2f;
}

.feature p {
  font-size: 18px;
  line-height: 26px;
  color: #6a6a6a;
}

.we-help-section {
  padding: 7rem 0;
}

.we-help-section .imgs-grid {
  display: grid;
  grid-template-columns: repeat(27, 1fr);
  position: relative;
}

.we-help-section .imgs-grid:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-green.svg");
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}

.we-help-section .imgs-grid .grid {
  position: relative;
}

.we-help-section .imgs-grid .grid img {
  border-radius: 20px;
  max-width: 100%;
}

.we-help-section .imgs-grid .grid.grid-1 {
  -ms-grid-column: 1;
  -ms-grid-column-span: 18;
  grid-column: 1 / span 18;
  -ms-grid-row: 1;
  -ms-grid-row-span: 27;
  grid-row: 1 / span 27;
}

.we-help-section .imgs-grid .grid.grid-2 {
  -ms-grid-column: 19;
  -ms-grid-column-span: 27;
  grid-column: 19 / span 27;
  -ms-grid-row: 1;
  -ms-grid-row-span: 5;
  grid-row: 1 / span 5;
  padding-left: 20px;
}

.we-help-section .imgs-grid .grid.grid-3 {
  -ms-grid-column: 14;
  -ms-grid-column-span: 16;
  grid-column: 14 / span 16;
  -ms-grid-row: 6;
  -ms-grid-row-span: 27;
  grid-row: 6 / span 27;
  padding-top: 20px;
}

.custom-list {
  width: 100%;
}

.custom-list li {
  display: inline-block;
  width: calc(50% - 20px);
  margin-bottom: 12px;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.custom-list li:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #3b5d50;
  position: absolute;
  left: 0;
  top: 8px;
}

.popular-product {
  padding: 0 0 7rem 0;
}

.popular-product .product-item-sm h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2f2f2f;
}

.popular-product .product-item-sm a {
  text-decoration: none;
  color: #2f2f2f;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.popular-product .product-item-sm a:hover {
  color: rgba(47, 47, 47, 0.5);
}

.popular-product .product-item-sm p {
  line-height: 1.4;
  margin-bottom: 10px;
  font-size: 16px;
}

.popular-product .product-item-sm .thumbnail {
  margin-right: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 120px;
  flex: 0 0 120px;
  position: relative;
}

.popular-product .product-item-sm .thumbnail:before {
  content: "";
  position: absolute;
  border-radius: 20px;
  background: #dce5e4;
  width: 128px;
  height: 128px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.testimonial-section {
  padding: 3rem 0 7rem 0;
}

.testimonial-slider-wrap {
  position: relative;
}

.testimonial-slider-wrap .tns-inner {
  padding-top: 30px;
}

.testimonial-slider-wrap .item .testimonial-block blockquote {
  font-size: 16px;
}

@media (min-width: 768px) {
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    line-height: 32px;
    font-size: 18px;
  }
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
  margin-bottom: 20px;
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
  max-width: 80px;
  border-radius: 50%;
}

.testimonial-slider-wrap .item .testimonial-block .author-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0;
}

.testimonial-slider-wrap #testimonial-nav {
  position: absolute;
  top: 50%;
  z-index: 99;
  width: 100%;
  display: none;
}

@media (min-width: 768px) {
  .testimonial-slider-wrap #testimonial-nav {
    display: block;
  }
}

.testimonial-slider-wrap #testimonial-nav>span {
  cursor: pointer;
  position: absolute;
  width: 58px;
  height: 58px;
  line-height: 58px;
  border-radius: 50%;
  background: rgba(59, 93, 80, 0.1);
  color: #2f2f2f;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.testimonial-slider-wrap #testimonial-nav>span:hover {
  background: #3b5d50;
  color: #ffffff;
}

.testimonial-slider-wrap #testimonial-nav .prev {
  left: -10px;
}

.testimonial-slider-wrap #testimonial-nav .next {
  right: 0;
}

.testimonial-slider-wrap .tns-nav {
  position: absolute;
  bottom: -50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.testimonial-slider-wrap .tns-nav button {
  background: none;
  border: none;
  display: inline-block;
  position: relative;
  width: 0 !important;
  height: 7px !important;
  margin: 2px;
}

.testimonial-slider-wrap .tns-nav button:active,
.testimonial-slider-wrap .tns-nav button:focus,
.testimonial-slider-wrap .tns-nav button:hover {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: none;
}

.testimonial-slider-wrap .tns-nav button:before {
  display: block;
  width: 7px;
  height: 7px;
  left: 0;
  top: 0;
  position: absolute;
  content: "";
  border-radius: 50%;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  background-color: #d6d6d6;
}

.testimonial-slider-wrap .tns-nav button:hover:before,
.testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
  background-color: #3b5d50;
}

/* Horizontal layout for testimonial block (消費者評價左右排列) */
.testimonial-block { display: flex; align-items: flex-start; gap: 32px; text-align: left; }
.testimonial-block blockquote { order: 2; flex: 1; margin: 0 0 12px; }
.testimonial-block .author-info { order: 1; width: 180px; text-align: center; }
.testimonial-block .author-info .author-pic { margin-bottom: 12px; }
@media (max-width: 767.98px) {
  .testimonial-block { flex-direction: column; text-align: center; }
  .testimonial-block blockquote { order: 1; }
  .testimonial-block .author-info { order: 2; width: 100%; }
}

/* =============================
  Testimonial Card Horizontal Scroll (改為卡片 & 可左右滑動)
============================= */
.testimonial-slider { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 12px 8px 6px; scrollbar-width: none; }
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-slider.dragging { cursor: grabbing; }
/* Scrollbar hidden (user request) */
.testimonial-slider .item { flex: 0 0 clamp(260px, 32%, 380px); scroll-snap-align: start; background: var(--color-surface); border: 1px solid rgba(0,0,0,.06); border-radius: 24px; padding: 28px 28px 34px; position: relative; box-shadow: var(--shadow-sm); transition: box-shadow .35s ease, transform .35s ease, background .35s ease; }
.testimonial-slider .item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-slider .item:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.testimonial-slider .item .testimonial-block { display: flex; flex-direction: column; gap: 16px; }
.testimonial-slider .item .testimonial-block .author-info { order: 2; width: auto; text-align: left; display: flex; align-items: center; gap: 16px; }
.testimonial-slider .item .testimonial-block .author-info .author-pic { margin: 0; }
.testimonial-slider .item .testimonial-block blockquote { order: 1; margin: 0; font-size: 15px; line-height: 1.6; }
.testimonial-slider .item .testimonial-block .author-info h3 { font-size: 16px; }
.testimonial-slider .item .testimonial-block .author-info .position { font-size: 12px; font-weight: 500; opacity: .75; margin-bottom: 0 !important; }
@media (min-width: 992px) { .testimonial-slider .item { flex: 0 0 360px; } }
@media (max-width: 575.98px){ .testimonial-slider { gap: 22px; } .testimonial-slider .item { flex: 0 0 82%; } }
body.dark-theme .testimonial-slider .item { background: #24322f; border-color: rgba(255,255,255,.06); }
body.dark-theme .testimonial-slider::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
body.dark-theme .testimonial-slider::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); }
/* Disable text/image selection inside testimonial cards to avoid drag interference */
.testimonial-slider, .testimonial-slider .item, .testimonial-slider .item * { -webkit-user-select: none; -moz-user-select: none; user-select: none; }

/* Hide old nav on mobile & adjust arrows for new scroll behavior */
#testimonial-nav { pointer-events: none; }
#testimonial-nav span { pointer-events: auto; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 767.98px){ #testimonial-nav { display: none !important; } }

.before-footer-section {
  padding: 7rem 0 12rem 0 !important;
}

.blog-section {
  padding: 7rem 0 12rem 0;
}

.blog-section .post-entry a {
  text-decoration: none;
}

.blog-section .post-entry .post-thumbnail {
  display: block;
  margin-bottom: 20px;
}

.blog-section .post-entry .post-thumbnail img {
  cursor: pointer;
  border-radius: 20px;
  -webkit-transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .4s ease;
  -o-transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .4s ease;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .4s ease;
  transform-origin: center center;
}
.blog-section .post-entry:hover .post-thumbnail img { transform: scale(1.06) rotate(.8deg); }

.blog-section .post-entry .post-content-entry {
  padding-left: 15px;
  padding-right: 15px;
}

.blog-section .post-entry .post-content-entry h3 {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: 600;
  margin-bottom: 7px;
}

.blog-section .post-entry .post-content-entry .meta {
  font-size: 14px;
}

.blog-section .post-entry .post-content-entry .meta a {
  font-weight: 600;
}

.blog-section .post-entry:hover .post-thumbnail img,
.blog-section .post-entry:focus .post-thumbnail img {
  opacity: .7;
}

.footer-section { padding: 80px 0; background: var(--color-surface); position: relative; }
.footer-section:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 10%,rgba(59,93,80,.08),transparent 60%); pointer-events:none; }

.footer-section .relative {
  position: relative;
}

.footer-section a {
  text-decoration: none;
  color: #2f2f2f;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.footer-section a:hover {
  color: rgba(47, 47, 47, 0.5);
}

.footer-section .subscription-form {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  margin-top: 100px;
}

@media (min-width: 992px) {
  .footer-section .subscription-form {
    margin-top: 0px;
    margin-bottom: 80px;
  }
}

.footer-section .subscription-form h3 {
  font-size: 18px;
  font-weight: 500;
  color: #3b5d50;
}

.footer-section .subscription-form .form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
}

.footer-section .subscription-form .form-control:active,
.footer-section .subscription-form .form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #3b5d50;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.footer-section .subscription-form .form-control::-webkit-input-placeholder {
  font-size: 14px;
}

.footer-section .subscription-form .form-control::-moz-placeholder {
  font-size: 14px;
}

.footer-section .subscription-form .form-control:-ms-input-placeholder {
  font-size: 14px;
}

.footer-section .subscription-form .form-control:-moz-placeholder {
  font-size: 14px;
}

.footer-section .subscription-form .btn {
  border-radius: 10px !important;
}

.footer-section .sofa-img {
  position: absolute;
  top: -200px;
  /* z-index: 1; */
  right: 0;
}

.footer-section .sofa-img img { width: 260px; max-width: calc(vw * 0.4); height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.15)); animation: floatCup 8s ease-in-out infinite; }
@keyframes floatCup { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

.footer-section .links-wrap {
  margin-top: 0px;
}

@media (min-width: 992px) {
  .footer-section .links-wrap {
    margin-top: 54px;
  }
}

.footer-section .links-wrap ul li {
  margin-bottom: 10px;
}

.footer-section .footer-logo-wrap .footer-logo {
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
  color: #3b5d50;
}

.footer-section .custom-social li {
  margin: 2px;
  display: inline-block;
}

.footer-section .custom-social li a {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  display: inline-block;
  background: #dce5e4;
  color: #3b5d50;
  border-radius: 50%;
}

.footer-section .custom-social li a:hover {
  background: #3b5d50;
  color: #ffffff;
}

.footer-section .border-top {
  border-color: #dce5e4;
}

.footer-section .border-top.copyright {
  font-size: 14px !important;
}

.untree_co-section {
  padding: 7rem 0;
}

.form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
}

.form-control:active,
.form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #3b5d50;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.form-control::-webkit-input-placeholder {
  font-size: 14px;
}

.form-control::-moz-placeholder {
  font-size: 14px;
}

.form-control:-ms-input-placeholder {
  font-size: 14px;
}

.form-control:-moz-placeholder {
  font-size: 14px;
}

.service {
  line-height: 1.5;
}

.service .service-icon {
  border-radius: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50px;
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #3b5d50;
  margin-right: 20px;
  color: #ffffff;
}

textarea {
  height: auto !important;
}

.site-blocks-table {
  overflow: auto;
}

.site-blocks-table .product-thumbnail {
  width: 200px;
}

.site-blocks-table .btn {
  padding: 2px 10px;
}

.site-blocks-table thead th {
  padding: 30px;
  text-align: center;
  border-width: 0px !important;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0.8);
  font-size: 18px;
}

.site-blocks-table td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0.8);
}

.site-blocks-table tbody tr:first-child td {
  border-top: 1px solid #3b5d50 !important;
}

.site-blocks-table .btn {
  background: none !important;
  color: #000000;
  border: none;
  height: auto !important;
}

.site-block-order-table th {
  border-top: none !important;
  border-bottom-width: 1px !important;
}

.site-block-order-table td,
.site-block-order-table th {
  color: #000000;
}

.couponcode-wrap input {
  border-radius: 10px !important;
}

.text-primary {
  color: #3b5d50 !important;
}

.thankyou-icon {
  position: relative;
  color: #3b5d50;
}

.thankyou-icon:before { position: absolute; content: ""; width: 50px; height: 50px; border-radius: 50%; background: rgba(59, 93, 80, 0.2); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity:.6;} 50% { transform: scale(1); opacity:.25;} 100% { transform: scale(.6); opacity:.6;} }

.video_container {
  display: flex;
  /* 啟用 flexbox 布局 */
  justify-content: center;
  /* 水平置中 */
}

#intro-video { width: 90%; border-radius: 20px; box-shadow: var(--shadow-md); position: relative; }
#intro-video:hover { box-shadow: var(--shadow-lg); }


#overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.72); display: none; justify-content: center; align-items: center; z-index: 9999; backdrop-filter: blur(2px); }

#full-image { display: block; max-width: 86%; max-height: 86%; box-shadow: 0 20px 50px -10px rgba(0,0,0,.55); border-radius: 16px; opacity:0; transform: scale(.9); transition: .5s ease; }
#overlay.open #full-image { opacity:1; transform: scale(1); }

.a-canvas { width: 100% !important; height: 100% !important; position: absolute; }

/* =============================
   Scroll Reveal Base
============================= */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform .8s var(--transition-slow); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity:1; transform:none; }
  .btn, .product-section .product-item .product-thumbnail, .blog-section .post-entry .post-thumbnail img { transition: none; }
  .hero:before, .hero:after, .footer-section .sofa-img img { animation: none; }
}

/* Theme Toggle Button */
.theme-toggle-btn { background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.4); color:#fff; width:42px; height:42px; border-radius: 50%; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; font-size:18px; transition: var(--transition-fast); }
.theme-toggle-btn:hover { background: rgba(255,255,255,.25); }
body.dark-theme .theme-toggle-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
body.dark-theme .theme-toggle-btn:hover { background: rgba(255,255,255,.18); }

/* Utility */
.shadow-hover { transition: box-shadow .4s ease, transform .4s ease; }
.shadow-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

/* Active nav underline subtle animation on hover already present; add focus style */
.custom-navbar .custom-navbar-nav li a:focus-visible { outline: 2px dashed var(--color-accent); outline-offset:4px; }
