/* ===== Huma Traders theme (Bootstrap 5) ===== */
:root {
  --hm-gold: #b8863b;
  --hm-gold-dark: #8c6224;
  --hm-gold-light: #d8b26a;
  --hm-cream: #fdfaf4;
  --hm-cream-2: #f7f1e6;
  --hm-ink: #2b2318;
  --hm-muted: #6f6552;
  --hm-line: #ece2d2;
}

body {
  font-family: "Jost", system-ui, sans-serif;
  color: var(--hm-ink);
  background: #fff;
}

.hm-serif,
.hm h1,
.hm h2,
.hm h3,
.hm .h-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hm-gold { color: var(--hm-gold); }
.hm-bg-cream { background: var(--hm-cream); }
.hm-bg-cream-2 { background: var(--hm-cream-2); }
.hm-muted { color: var(--hm-muted); }
.hm-line { border-color: var(--hm-line) !important; }

.hm-topbar {
  background: var(--hm-cream);
  border-bottom: 1px solid var(--hm-line);
  font-size: 0.78rem;
  color: var(--hm-muted);
}
.hm-topbar i { color: var(--hm-gold); }

.hm-navbar { background: #fff; border-bottom: 1px solid var(--hm-line); }
.hm-nav .nav-link {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hm-ink);
  padding: .5rem .85rem;
}
.hm-nav .nav-link:hover { color: var(--hm-gold); }
.hm-nav .nav-link.active {
  color: var(--hm-gold);
  border-bottom: 2px solid var(--hm-gold);
}
.hm-icon-btn {
  color: var(--hm-ink);
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  position: relative;
}
.hm-icon-btn:hover { color: var(--hm-gold); }
.hm-cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--hm-gold);
  color: #fff;
  font-size: .6rem;
  border-radius: 999px;
  padding: 0 .32rem;
}

.hm-hero-banner {
  background: var(--hm-cream-2);
  overflow: hidden;
}
.hm-hero-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hm-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  color: var(--hm-gold-dark);
  letter-spacing: .01em;
}
.hm-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--hm-gold);
}
.hm-divider::before,
.hm-divider::after {
  content: "";
  height: 1px;
  background: var(--hm-gold-light);
  flex: 0 0 70px;
}
.hm-divider.center::before,
.hm-divider.center::after { flex: 1 1 auto; }

.btn-gold {
  background: linear-gradient(135deg, var(--hm-gold), var(--hm-gold-dark));
  color: #fff;
  border: 0;
  border-radius: 2px;
  letter-spacing: .14em;
  font-size: .78rem;
  text-transform: uppercase;
  padding: .8rem 1.5rem;
}
.btn-gold:hover { color: #fff; filter: brightness(1.07); }
.btn-outline-gold {
  border: 1px solid var(--hm-gold);
  color: var(--hm-gold-dark);
  border-radius: 2px;
  letter-spacing: .14em;
  font-size: .78rem;
  text-transform: uppercase;
  padding: .75rem 1.5rem;
  background: #fff;
}
.btn-outline-gold:hover { background: var(--hm-gold); color: #fff; }

.hm-trust {
  border-bottom: 1px solid var(--hm-line);
  background: #fff;
  overflow: hidden;
  padding: 1.2rem 0;
}
.hm-trust-row {
  width: 100%;
}
.hm-trust-track {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.hm-trust-item {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hm-trust-item + .hm-trust-item {
  border-left: 1px solid var(--hm-line);
}
.hm-trust-item .d-flex {
  max-width: 240px;
}
.marquee-clone {
  display: none;
}
.hm-trust i { font-size: 1.5rem; color: var(--hm-gold); }
.hm-trust h6 {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}
.hm-trust p { font-size: .74rem; color: var(--hm-muted); margin: 0; }

/* Mobile View: Marquee Animation */
@media (max-width: 991.98px) {
  .hm-trust-track {
    width: max-content;
    animation: hmMarquee 25s linear infinite;
    justify-content: flex-start;
  }
  .hm-trust-item {
    flex: 0 0 250px;
    justify-content: flex-start;
    border-left: none !important;
    border-right: 1px solid var(--hm-line);
  }
  .marquee-clone {
    display: flex;
  }
  .hm-trust-track:hover {
    animation-play-state: paused;
  }
}

@keyframes hmMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-1250px, 0, 0);
  }
}


.hm-section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hm-ink);
}

.hm-card {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 3px;
  transition: box-shadow .25s ease, transform .25s ease;
  height: 100%;
}
.hm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(140, 98, 36, .55);
}
.hm-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fff, var(--hm-cream));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hm-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
}
.hm-card-body {
  border-top: 1px solid var(--hm-line);
  padding: 1rem 0.5rem;
}
.hm-cat-name {
  color: var(--hm-gold-dark);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
}
.hm-cat-desc { font-size: .76rem; color: var(--hm-muted); }

.hm-badge {
  position: absolute;
  top: .5rem; left: .5rem;
  background: var(--hm-cream-2);
  border: 1px solid var(--hm-gold-light);
  color: var(--hm-gold-dark);
  font-size: .55rem;
  letter-spacing: .1em;
  padding: .18rem .4rem;
  text-transform: uppercase;
}
.hm-product-name {
  font-size: .82rem;
  border-top: 1px solid var(--hm-line);
  padding: .4rem;
  margin: 0;
}

.hm-ribbon {
  background: var(--hm-cream-2);
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
}
.hm-ribbon h3 {
  color: var(--hm-gold-dark);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  line-height: 1.5;
}
.hm-years {
  width: 96px; height: 96px;
  border: 2px solid var(--hm-gold-light);
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--hm-gold-dark);
}

.hm-eyebrow {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--hm-gold);
}
.hm-about-img { width: 100%; border-radius: 3px; object-fit: cover; }

.hm-footer { background: var(--hm-cream); border-top: 1px solid var(--hm-line); }
.hm-footer h6 {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hm-gold-dark);
}
.hm-footer a {
  color: var(--hm-muted);
  text-decoration: none;
  font-size: .82rem;
  display: block;
  padding: .18rem 0;
}
.hm-footer a:hover { color: var(--hm-gold); }
.hm-social {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hm-gold);
  color: #fff !important;
  display: grid !important;
  place-content: center;
  padding: 0 !important;
}
.hm-social:hover { background: var(--hm-gold-dark); color: #fff !important; }
.hm-footer-bottom {
  border-top: 1px solid var(--hm-line);
  font-size: .76rem;
  color: var(--hm-muted);
}

/* Bootstrap vs Tailwind class-name conflicts (collapse / container / table / border) */
.collapse.navbar-collapse { visibility: visible; }
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  max-width: none;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Logo image */
.hm-logo-img { width: auto; object-fit: contain; max-width: 100%; }

/* Hero on tablet/mobile: text first, shorter image */
@media (max-width: 991.98px) {
  .hm-hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
}
@media (max-width: 575.98px) {
  .hm-logo-img { height: 2.6rem !important; }
}

/* ---- Products page ---- */
.hm-chip {
  border: 1px solid var(--hm-line);
  background: #fff;
  color: var(--hm-muted);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .78rem;
  letter-spacing: .04em;
  transition: all .2s ease;
}
.hm-chip:hover { border-color: var(--hm-gold-light); color: var(--hm-gold-dark); }
.hm-chip.active {
  background: linear-gradient(135deg, var(--hm-gold), var(--hm-gold-dark));
  border-color: var(--hm-gold-dark);
  color: #fff;
}
.hm-select {
  border: 1px solid var(--hm-line);
  background: #fff;
  color: var(--hm-ink);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .78rem;
}
.hm-select:focus { outline: none; border-color: var(--hm-gold); }
.hm-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hm-gold-dark);
}
.hm-mrp {
  font-size: .78rem;
  color: var(--hm-muted);
  text-decoration: line-through;
  font-family: "Jost", sans-serif;
}
