/* Treflyn Barn — premium icon system v2.4.1 */

.tb-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.tb-ico-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* —— Trust bar —— */
.trust-bar .tb-icon,
.trust-bar .tb-ico {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.55rem;
  color: var(--champagne-soft, #e0c49a);
  opacity: 1;
  border-radius: 12px;
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid rgba(201, 166, 107, 0.28);
  padding: 7px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, box-shadow 0.3s;
}

.trust-bar .tb-item:hover .tb-icon,
.trust-bar .tb-item:hover .tb-ico {
  transform: translateY(-3px) scale(1.06);
  background: rgba(201, 166, 107, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  color: #f0d7b0;
}

/* —— Promise cards —— */
.promise-card .promise-icon,
.promise-card .tb-ico.promise-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  padding: 12px;
  color: #a8874f;
  background: linear-gradient(145deg, rgba(201, 166, 107, 0.2), rgba(201, 166, 107, 0.06));
  border: 1px solid rgba(201, 166, 107, 0.3);
  box-shadow: 0 8px 20px rgba(15, 20, 16, 0.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, color 0.3s, box-shadow 0.35s;
}

.promise-card:hover .promise-icon {
  transform: translateY(-4px) scale(1.05);
  color: #0f1c16;
  background: linear-gradient(145deg, #e0c49a, #c9a66b);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(201, 166, 107, 0.35);
}

/* —— Checklist —— */
.check-item .check-mark,
.check-item .tb-ico.check-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 6px;
  color: #0f1c16;
  background: linear-gradient(145deg, rgba(201, 166, 107, 0.35), rgba(201, 166, 107, 0.12));
  border: 1px solid rgba(201, 166, 107, 0.4);
  font-size: 0; /* hide text ✓ if any */
  transition: transform 0.35s, background 0.3s, color 0.3s;
}

.check-item:hover .check-mark {
  transform: scale(1.08);
  background: #0f1c16;
  color: #f0d7b0;
  border-color: #0f1c16;
}

/* —— Feature list —— */
.feature-list .icon,
.feature-list .tb-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  padding: 5px;
  border: 1.5px solid #c9a66b;
  color: #a8874f;
  background: rgba(201, 166, 107, 0.1);
  margin-right: 0.15rem;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.feature-list li:hover .icon,
.feature-list li:hover .tb-ico {
  background: #c9a66b;
  color: #0f1c16;
  transform: scale(1.08);
}

/* —— Amenity category —— */
.cat-icon,
.cat-head .tb-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  padding: 10px;
  color: #2d4a3c;
  background: #faf7f2;
  border: 1px solid rgba(15, 28, 22, 0.1);
  transition: transform 0.35s, background 0.3s, color 0.3s, border-color 0.3s;
}

.amenity-cat:hover .cat-icon,
.amenity-cat:hover .cat-head .tb-ico {
  background: #0f1c16;
  color: #f0d7b0;
  border-color: #0f1c16;
  transform: rotate(-4deg) scale(1.05);
}

/* —— Location points —— */
.location-point .num {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important; /* prefer icon */
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(201, 166, 107, 0.22), rgba(201, 166, 107, 0.08)) !important;
  border: 1px solid rgba(201, 166, 107, 0.35);
  color: #a8874f !important;
}

.location-point .num .tb-ico {
  width: 22px;
  height: 22px;
  position: absolute;
  inset: 0;
  margin: auto;
}

.location-point:hover .num {
  background: #0f1c16 !important;
  color: #f0d7b0 !important;
  border-color: #0f1c16;
}

/* —— Rule cards —— */
.rule-card .rule-icon,
.rule-card .tb-ico.rule-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  padding: 11px;
  margin-bottom: 0.9rem;
  color: #a8874f;
  background: linear-gradient(145deg, #fffcf8, #f0ebe3);
  border: 1px solid rgba(15, 28, 22, 0.08);
  transition: transform 0.35s, background 0.3s, color 0.3s;
}

.rule-card:hover .rule-icon {
  background: #0f1c16;
  color: #f0d7b0;
  transform: scale(1.06);
  border-color: #0f1c16;
}

/* —— Book reasons —— */
.book-reason .tb-ico {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.65rem;
  border-radius: 12px;
  padding: 9px;
  color: #a8874f;
  background: rgba(201, 166, 107, 0.14);
  border: 1px solid rgba(201, 166, 107, 0.28);
  transition: transform 0.35s, background 0.3s, color 0.3s;
}

.book-reason:hover .tb-ico {
  transform: translateY(-3px);
  background: #0f1c16;
  color: #f0d7b0;
  border-color: #0f1c16;
}

/* —— Buttons —— */
.btn .btn-ico,
.btn .tb-ico {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .btn-ico,
.btn:hover .tb-ico {
  transform: translateX(3px);
}

/* —— Gallery zoom —— */
.gallery-zoom .tb-ico,
.gallery-zoom svg {
  width: 14px;
  height: 14px;
}

/* —— Season cards —— */
.season-card .tb-ico {
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  color: #a8874f;
  opacity: 0.9;
}

/* —— Aside reply —— */
.aside-reply .tb-ico {
  width: 16px;
  height: 16px;
  color: #6dcea0;
}

/* —— Mobile —— */
@media (max-width: 700px) {
  .trust-bar .tb-icon,
  .trust-bar .tb-ico {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .promise-card .promise-icon {
    width: 48px;
    height: 48px;
    padding: 11px;
  }
}
