/* ===================== */
/* 🌿 ECO DESIGN SYSTEM */
/* ===================== */
.feature {
  --eco-green: #7BAE7F;
  --eco-green-dark: #4F7C57;
  --eco-green-soft: #EEF5EF;
  --eco-mint: #F4F8F4;
  --eco-washi: #F8F7F4;
--eco-border: #E6E2DA;
--eco-text: #2E2E2E;

  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  padding: 18px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background:#F8FAD2;
  border:2px solid #222;
  border-color:#27AE60;
  border-radius:16px;
}

/* TITLE */
.feature-title {
  font-size: 30px;
  color: #000;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--eco-green);
}

/* GROUP */
.feature-group {
  margin-bottom: 28px;
}

.feature-summary {
  border: 1px solid var(--eco-border);
  border-left: 4px solid var(--eco-green);
  padding: 14px 16px;
  font-size: 18px;
  color: #000!important;
  font-weight: 600;
  background: var(--eco-mint);
  margin-bottom: 2px;
  margin-top: 4px;
}

/* LAYOUT */
.feature-layout {
  display: flex;
  gap: 5px;
  padding: 10px 0;
}

.feature-main-img {
  flex: 0 0 200px; 
  max-width: 200px;
  padding: 0;
}

.feature-main-img img {
  margin: 0;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--eco-border);
}

/* TAB */
.tab-box {
  border-bottom: 1px solid var(--eco-border);
  padding: 6px auto;
  border-radius: 8px;
  transition: 0.25s;
  margin-bottom: 2px;
  background: #fff;
}

/* 🔥 HOVER EFFECT */
.tab-box:hover {
  background: var(--eco-green-soft);
  transform: translateY(-2px);
}

/* title */
.tab-title {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  color: #000!important;
  font-weight: 600;
}

.tab-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;

  border-left: 6px solid var(--eco-green);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* content */
.tab-inner {
  padding: 6px auto;
}

.feature-text {
  padding: 2px auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #000!important;
}

/* PRODUCT */
.product-item {
  margin-bottom: 10px;
}

.product-name {
  text-decoration: none;
  color: var(--eco-text);
}

.product-name:hover {
  color: var(--eco-green-dark);
}

/* BUTTON */
.more-wrap {
  text-align: right;
  margin-top: 10px;
  margin-bottom: 10px!important;
}

.more-btn {
  padding: 8px 16px;
  border: 1px solid var(--eco-green);
  border-radius: 20px;
  text-decoration: none;
  color: var(--eco-green);
  transition: 0.25s;
}

.more-btn:hover {
  background: var(--eco-green);
  color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
  .feature-layout {
    flex-direction: column;
  }
}
/* ===================== */
/* 🔒 FIX SÁT ẢNH - CONTENT (SCOPED) */
/* ===================== */

/* chỉ tác động trong section này */
.feature .feature-layout {
  gap: 10px;
  padding: 4px 0;
  align-items: flex-start;
}

/* bỏ border ảnh + bỏ height cứng */
.feature .feature-main-img img {
  border: none;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* kéo content sát ảnh */
.feature .feature-main-content {
  margin-top: -4px;
}

/* giảm spacing từng tab */
.feature .tab-box {
  padding: 4px 8px;
}

/* title sát hơn */
.feature .tab-title {
  padding-top: 2px;
  margin-bottom: 2px;
}

/* content sát */
.feature .tab-inner {
  padding-top: 2px;
}

/* ===================== */
/* 📱 MOBILE (SCOPED) */
/* ===================== */
@media (max-width: 768px) {

  .feature .feature-layout {
    gap: 6px;
  }

  .feature .feature-main-img {
    margin-bottom: 2px;
  }

  .feature .feature-main-content {
    margin-top: -6px;
  }
}
@media (max-width: 600px) {
  .feature-main-img {
  flex: 0 0 200px; 
  max-width: 200px;
}

.feature-main-img img {
  width: 100%;
  height: 120px;
   justify-content: center;
  object-fit: cover;
    padding: 2px auto;
 display: block;
  margin: 0 auto;
}