/* =============================================================
   Catalysis — WoodMart Handmade inspired UI overrides
   ============================================================= */

/* --- Color tokens --- */
:root {
  --cus-cream:       #faf8f4;
  --cus-warm-border: #e6e1d8;
  --cus-green:       #4a7c59;
  --cus-green-dark:  #1d3d28;
  --cus-charcoal:    #1e2520;
  --cus-text-muted:  #6b6b5f;
  --bs-primary:           #4a7c59;
  --bs-primary-rgb:       74, 124, 89;
  --bs-link-color:        #4a7c59;
  --bs-link-hover-color:  #35604a;
  --bs-body-bg:           #faf8f4;
  --bs-body-color:        #3a3a35;
  --bs-heading-color:     #1e2520;
  --bs-border-color:      #e6e1d8;
}

/* --- Serif headings --- */
h1, h2, h3, h4, h5,
.hero-title,
.promo-banner-title,
.display-1, .display-2, .display-3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.01em;
}

/* --- Body --- */
body { background-color: var(--cus-cream); }

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
  background-color: #1d3d28 !important;
}

/* ── Header above ────────────────────────────────────────────── */
.header-above {
  background-color: #faf8f4;
  border-bottom: 1px solid #e6e1d8;
  padding: 20px 0;
}

.header-above-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Left */
.ha-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.ha-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ha-social a {
  color: #6b6b5f;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.ha-social a:hover { color: #4a7c59; }

.ha-divider {
  width: 1px;
  height: 18px;
  background-color: #d4cfc7;
  display: block;
}

.ha-lang {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ha-lang-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8880;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 2px;
  transition: background-color 0.18s, color 0.18s;
}
.ha-lang-item:hover { color: #1e2520; background-color: #eee9e0; }

.ha-lang-active {
  color: #1e2520 !important;
  background-color: #e6e1d8;
  font-weight: 700;
}

/* Center */
.ha-center {
  flex: 0 0 auto;
  text-align: center;
}

.ha-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 6px;
}

.ha-tagline {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 12px;
  font-style: italic;
  color: #8a8880;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Right */
.ha-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.ha-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.ha-phone:hover { color: #4a7c59; }

.ha-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee9e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a7c59;
  flex-shrink: 0;
  transition: background-color 0.2s;
}
.ha-phone:hover .ha-phone-icon { background-color: #4a7c59; color: #fff; }

.ha-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ha-phone-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #1e2520;
  letter-spacing: 0.01em;
}

.ha-phone-text small {
  font-size: 11px;
  color: #8a8880;
  letter-spacing: 0.03em;
}

/* ── Main nav ─────────────────────────────────────────────────── */
.main-header.nav {
  background-color: #fff !important;
  border-bottom: 1px solid #e6e1d8;
}

.nav-link {
  color: #1e2520 !important;
  font-size: 13px !important;
  letter-spacing: 0.07em !important;
}
.nav-link:hover { color: #4a7c59 !important; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.btn-dark {
  background-color: #1e2520;
  border-color: #1e2520;
}
.btn-dark:hover, .btn-dark:focus {
  background-color: #4a7c59;
  border-color: #4a7c59;
}

.btn-primary {
  background-color: #4a7c59;
  border-color: #4a7c59;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #35604a;
  border-color: #35604a;
}

.btn-outline-primary {
  border-color: #4a7c59;
  color: #4a7c59;
}
.btn-outline-primary:hover {
  background-color: #4a7c59;
  border-color: #4a7c59;
  color: #fff;
}

.btn-hover-bg-primary:hover {
  background-color: #4a7c59 !important;
  border-color: #4a7c59 !important;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-title {
  font-weight: 600 !important;
  font-size: 64px !important;
  line-height: 1.12 !important;
}

/* ── Split hero (home-16 style) ─────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  min-height: 580px;
}
@media (max-width: 991px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-sidebar { display: none; }
}

.hero-split-main {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}

.hero-split-main .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}
.hero-split-main:hover .hero-bg { transform: scale(1.04); }

.hero-split-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,37,32,0.55) 0%, rgba(30,37,32,0.1) 70%);
}

.hero-split-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
@media (max-width: 575px) {
  .hero-split-content { padding: 60px 24px; }
}

.hero-split-eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b8d4c0;
  margin-bottom: 16px;
}

.hero-split-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 62px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
@media (max-width: 575px) {
  .hero-split-title { font-size: 44px; }
}

.hero-split-desc {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 400px;
}

.hero-split-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-cat-box {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  cursor: pointer;
  text-decoration: none;
}

.hero-cat-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-cat-box:hover img { transform: scale(1.06); }

.hero-cat-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,37,32,0.6) 0%, rgba(30,37,32,0.0) 60%);
  transition: opacity 0.3s;
}
.hero-cat-box:hover::after { opacity: 0.85; }

.hero-cat-label {
  position: relative;
  z-index: 2;
}

.hero-cat-label span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b8d4c0;
  margin-bottom: 4px;
}

.hero-cat-label strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.2;
}

/* ── Feature strip ───────────────────────────────────────────── */
.feature-strip {
  background-color: #fff;
  border-top: 1px solid #e6e1d8;
  border-bottom: 1px solid #e6e1d8;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid #e6e1d8;
}
.feature-strip-item:last-child { border-right: none; }

.feature-strip-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #4a7c59;
}

.feature-strip-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e2520;
  margin-bottom: 2px;
  display: block;
}

.feature-strip-desc {
  font-size: 12px;
  color: #6b6b5f;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Products section heading ────────────────────────────────── */
.text-custom-1 {
  color: #df449b;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ── Category filter ─────────────────────────────────────────── */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 28px;
}

.category-filter .btn {
  padding: 8px 22px;
  font-size: 11px;
}

/* ── Product cards ───────────────────────────────────────────── */
.card-product {
  border-radius: 0 !important;
  transition: transform 0.3s ease;
}
.card-product:hover { transform: translateY(-5px); }

.card-product figure {
  background-color: #f0ece4;
  border-radius: 0 !important;
}

.badge-product-flash {
  border-radius: 2px !important;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.badge.on-sale.bg-primary {
  background-color: #4a7c59 !important;
}

.product-title a:hover { color: #4a7c59 !important; }

.btn-add-to-cart {
  background-color: #1e2520 !important;
  border-color: #1e2520 !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
  transition: background-color 0.2s;
}
.btn-add-to-cart:hover {
  background-color: #4a7c59 !important;
  border-color: #4a7c59 !important;
}

/* Stars */
.star { color: #4a7c59; }

/* ── Promo banners ───────────────────────────────────────────── */
.promo-banners { background-color: #faf8f4; }

.promo-banner {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.promo-banner img {
  width: 100%;
  display: block;
  transition: transform 0.55s ease;
}
.promo-banner:hover img { transform: scale(1.05); }

.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,37,32,0.52) 0%, rgba(30,37,32,0.05) 70%);
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.promo-banner-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b8d4c0;
  margin-bottom: 8px;
}

.promo-banner-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.promo-banner-cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  padding-bottom: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.promo-banner:hover .promo-banner-cta {
  color: #b8d4c0;
  border-color: #b8d4c0;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer.footer,
.bg-body-tertiary {
  background-color: #1d2921 !important;
  color: #c0bcb4;
}

footer.footer h3 {
  color: #f0ece4;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
}

footer.footer a.text-body {
  color: #9e9a93;
  text-decoration: none;
  transition: color 0.2s;
}
footer.footer a.text-body:hover { color: #f0ece4; }

footer.footer .border-top { border-color: #2a3630 !important; }
footer.footer .text-body-secondary { color: #7a7870 !important; }
footer.footer .text-body-emphasis { color: #f0ece4 !important; }

footer.footer .list-inline a {
  color: #9e9a93;
  transition: color 0.2s;
}
footer.footer .list-inline a:hover { color: #f0ece4; }

footer.footer p { color: #c0bcb4; }
