/**
 * branded.be — homepage layout (Proforto-achtig, brand tokens).
 */

.branded-home {
  background: var(--brand-ivory, #fff7f1);
  color: var(--brand-carbon, #060606);
}

.branded-home a {
  color: var(--brand-orange, #f1861b);
}

.branded-home a:hover {
  color: var(--brand-rusty, #ba320b);
}

.bh-wrap {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 767px) {
  .bh-wrap {
    padding: 0 16px;
  }
}

.bh-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange, #f1861b);
}

.bh-section {
  padding: 64px 0;
}

.bh-section__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.bh-section__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--brand-carbon, #060606);
}

.bh-section__head p {
  margin: 0;
  color: var(--brand-steel, #605d5d);
  line-height: 1.5;
}

/* USP strip */
.bh-usps {
  background: #fff;
  border-bottom: 1px solid var(--color-border, #e8d9c8);
}

.bh-usps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.bh-usps__item {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--color-border, #e8d9c8);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bh-usps__item:last-child {
  border-right: 0;
}

.bh-usps__item strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-carbon, #060606);
}

.bh-usps__item span {
  font-size: 0.8rem;
  color: var(--brand-steel, #605d5d);
}

@media (max-width: 1024px) {
  .bh-usps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bh-usps__item:nth-child(2) {
    border-right: 0;
  }
  .bh-usps__item:nth-child(1),
  .bh-usps__item:nth-child(2) {
    border-bottom: 1px solid var(--color-border, #e8d9c8);
  }
}

@media (max-width: 560px) {
  .bh-usps__grid {
    grid-template-columns: 1fr;
  }
  .bh-usps__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-border, #e8d9c8);
  }
  .bh-usps__item:last-child {
    border-bottom: 0;
  }
}

/* Hero */
.bh-hero {
  background:
    linear-gradient(135deg, rgba(6, 6, 6, 0.35) 0%, rgba(85, 84, 52, 0.92) 45%, #555434 100%),
    #555434;
  color: #fff7f1;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.bh-hero__inner {
  max-width: 720px;
}

.bh-hero .bh-eyebrow {
  color: #f1861b;
}

.bh-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff7f1;
}

.bh-hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 247, 241, 0.86);
  max-width: 36rem;
}

.bh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bh-btn--primary {
  background: #f1861b !important;
  border-color: #f1861b !important;
  color: #fff !important;
}

.bh-btn--primary:hover {
  background: #d97412 !important;
  border-color: #d97412 !important;
  color: #fff !important;
}

.bh-btn--outline {
  background: transparent !important;
  border-color: #f1861b !important;
  color: #f1861b !important;
}

.bh-btn--outline:hover {
  background: #f1861b !important;
  color: #fff !important;
}

.bh-btn--outline-light {
  background: transparent !important;
  border-color: rgba(255, 247, 241, 0.75) !important;
  color: #fff7f1 !important;
}

.bh-btn--outline-light:hover {
  background: #fff7f1 !important;
  color: #060606 !important;
}

/* Categories */
.bh-cats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.bh-cat {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(53, 33, 19, 0.08);
  box-shadow: 0 1px 2px rgba(6, 6, 6, 0.04);
  border-radius: 4px;
  text-decoration: none !important;
  color: inherit !important;
  min-height: 160px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.bh-cat:nth-child(4),
.bh-cat:nth-child(5) {
  grid-column: span 3;
}

.bh-cat:hover {
  border-color: #f6c48a;
  transform: translateY(-2px);
  color: inherit !important;
}

.bh-cat__label {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-carbon, #060606);
}

.bh-cat__text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--brand-steel, #605d5d);
}

.bh-cat__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-orange, #f1861b);
}

@media (max-width: 900px) {
  .bh-cats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .bh-cat,
  .bh-cat:nth-child(4),
  .bh-cat:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .bh-cats__grid {
    grid-template-columns: 1fr;
  }
}

/* Products / empty */
.bh-empty {
  background: #fff;
  border: 1px dashed #e0d2c2;
  border-radius: 4px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.bh-empty p {
  margin: 0 0 1.25rem;
  color: var(--brand-steel, #605d5d);
}

.bh-products__grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Why */
.bh-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bh-why__card {
  background: #fff;
  border: 1px solid rgba(53, 33, 19, 0.08);
  box-shadow: 0 1px 2px rgba(6, 6, 6, 0.04);
  border-radius: 4px;
  padding: 1.35rem;
}

.bh-why__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.bh-why__card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--brand-steel, #605d5d);
}

@media (max-width: 1024px) {
  .bh-why__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bh-why__grid {
    grid-template-columns: 1fr;
  }
}

/* SEO */
.bh-seo__inner {
  max-width: 760px;
}

.bh-seo h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
}

.bh-seo p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--brand-chocolate, #352113);
}

/* CTA band */
.bh-cta {
  background: var(--brand-olive, #555434);
  color: #fff7f1;
  padding: 4rem 0;
}

.bh-cta__inner {
  text-align: center;
  max-width: 640px;
}

.bh-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: #fff7f1;
}

.bh-cta p {
  margin: 0 0 1.5rem;
  color: rgba(255, 247, 241, 0.82);
}

.bh-cta .bh-hero__actions {
  justify-content: center;
}

/* Reduce Allegro content-area chrome on home */
.home .branded-home.site-main,
.page-template-template-homepage .branded-home #main {
  margin: 0;
}

.page-template-template-homepage #content,
.page-template-template-homepage .site-content,
.home .site-content {
  padding-top: 0;
}

.page-template-template-homepage .content-area {
  width: 100%;
  max-width: none;
  float: none;
  margin: 0;
  padding: 0;
}
