/* ========================================
   HERO (Homepage)
   ======================================== */
.hero {
  border: var(--border-width) solid var(--color-blackened);
  border-top: none;
  padding: 72px 36px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.hero-lockup {
  text-align: center;
  margin-bottom: 48px;
}

/* Mobile hero icon (hidden on desktop) */
.hero-icon-mobile {
  display: none;
  width: 100%;
  max-width: 288px;
  margin: 0 auto -14px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-icon-mobile img {
  width: 100%;
  height: auto;
}

/* Wholesale CTA in hero */
.hero-wholesale-cta {
  display: flex;
  align-items: center;
  background: var(--color-cream);
  border: 1px solid var(--color-gilded);
  color: var(--color-blackened);
  text-decoration: none;
  margin-top: 24px;
  margin-right: 100px;
  max-width: 820px;
  position: relative;
  padding: 0;
  padding-left: 48px;
  padding-right: 40px;
  height: 44px;
  overflow: visible;
  transition: background-color 0.3s ease;
}

.hero-wholesale-cta-text {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.hero-wholesale-cta-icon {
  position: absolute;
  right: 0;
  top: 62%;
  transform: translate(100%, -50%);
}

.hero-wholesale-cta-icon img {
  height: 90px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
}

.hero-wholesale-cta:hover {
  background: var(--color-gilded);
}

.hero-wholesale-cta:hover .hero-wholesale-cta-text {
  color: var(--color-cream);
  -webkit-text-stroke: 1px var(--color-blackened);
  text-stroke: 1px var(--color-blackened);
}

.hero-wholesale-cta:hover .hero-wholesale-cta-icon img {
  filter: drop-shadow(0 0 8px var(--color-gilded));
}

.hero-cta {
  background: var(--color-cream);
  padding: calc(var(--checker-border-width) + 12px);
  position: relative;
  margin-bottom: 48px;
  width: 100%;
  max-width: 695px;
  height: 120px;
  box-sizing: border-box;
  transition: background-color 0.35s ease;
}

.hero-cta-inner {
  border: var(--border-width) solid var(--color-gilded);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}

.hero-cta-text {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 36px;
  color: var(--color-gilded);
  -webkit-text-stroke: 1px var(--color-blackened);
  letter-spacing: 2.7px;
  white-space: nowrap;
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}

.hero-cta:hover .hero-cta-inner {
  background-color: var(--color-gilded);
  border-color: var(--color-blackened);
}

.hero-cta:hover .hero-cta-text {
  color: var(--color-cream);
  -webkit-text-stroke-color: var(--color-blackened);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 35px;
  width: 100%;
  max-width: 1100px;
  align-items: start;
}

.hero-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  width: 348px;
}

.hero-text p {
  font-size: inherit;
  margin: 0;
}

.hero-text:first-child {
  justify-self: end;
}

.hero-text p+p {
  margin-top: 1em;
}

.hero-monogram {
  width: 171px;
  height: 216px;
  flex-shrink: 0;
}

.hero-monogram img {
  width: 100%;
  height: 100%;
}

/* ========================================
   HOMEPAGE CATEGORIES (Product Category Buttons)
   ======================================== */
.homepage-categories {
  border: var(--border-width) solid var(--color-blackened);
  border-top: none;
  position: relative;
  overflow: hidden;
}

.homepage-categories-bg {
  position: absolute;
  inset: 0;
  /* Default background - can be overridden via inline style from ACF */
  background-image: url('../images/pears.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Homepage block editor content */
.homepage-content {
  padding: 60px var(--page-padding);
  background: var(--color-cream);
}

.homepage-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.homepage-categories-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 464px);
  justify-content: center;
  gap: 0;
  padding: 108px 0;
}

.product-button {
  background: var(--color-cream-transparent);
  border: var(--border-width) solid var(--color-blackened);
  aspect-ratio: 464 / 456;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 60px;
  padding: 75px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

/* 2-column grid: even items (right column) have no left border */
.product-button:nth-child(2n) {
  border-left: none;
}

/* 2-column grid: rows 2+ have no top border */
.product-button:nth-child(n+3) {
  border-top: none;
}

.product-button::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: var(--border-width) solid var(--color-gilded);
  pointer-events: none;
}

.product-button:hover {
  background: var(--color-peach);
}

.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 140px;
}

.product-icon img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.product-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.product-button:has(.product-subtitle) .product-text {
  margin-top: -20px;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--color-gilded);
  -webkit-text-stroke: 1px var(--color-blackened);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-blackened);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}