/* ==========================================================================
   WoodCraft — inner page polish (banner, empty states, trust strip, suggestions)
   Loaded on every storefront page after style.css.
   ========================================================================== */

/* ---------- Page banner: rich dark-wood header ---------- */
.page-banner {
  padding: 110px 0 120px; color: var(--beige); isolation: isolate;
  background-color: #3d2718;
}
.page-banner::before {
  z-index: -1;
  background:
    radial-gradient(900px 380px at 50% 120%, rgba(181, 138, 80, .35), transparent 65%),
    radial-gradient(600px 300px at 0% 0%, rgba(181, 138, 80, .16), transparent 70%),
    linear-gradient(180deg, rgba(46, 30, 19, .62) 0%, rgba(46, 30, 19, .5) 55%, rgba(46, 30, 19, .7) 100%);
}
/* breadcrumb banners are real photos (images/banners/breadcrumb-*.jpg) — no floating 3D props on top */
.page-banner { background-size: cover; background-position: center 60%; }
.page-banner .wc3d-ambient { display: none; }
/* soft curved bottom edge into the page */
.page-banner::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 46px; z-index: 0;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-banner > .container { z-index: 1; }
.page-banner h1 { color: var(--cream); font-weight: 500; letter-spacing: -.005em; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.page-banner h1::after {
  content: ""; display: block; width: 74px; height: 12px; margin: 18px auto 0;
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px) center / 12px 12px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left center / 28px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 28px 1px no-repeat;
}
.page-banner p { color: rgba(233, 221, 204, .82); font-size: 16.5px; margin-top: 14px; }
.page-banner .breadcrumb-wood {
  display: inline-flex; padding: 7px 18px; border-radius: 30px; margin-bottom: 22px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px);
}
.page-banner .breadcrumb-wood a { color: rgba(233, 221, 204, .75); }
.page-banner .breadcrumb-wood a:hover { color: var(--gold); }
.page-banner .breadcrumb-wood li:last-child { color: var(--gold); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-banner .wc3d-ambient { opacity: .55; z-index: 0; }
@media (max-width: 767px) {
  .page-banner { padding: 70px 0 80px; }
  .page-banner::after { height: 26px; }
  .page-banner p { font-size: 15px; }
  .page-banner .breadcrumb-wood { font-size: 11px; padding: 6px 14px; margin-bottom: 16px; }
}

/* ---------- Empty states ---------- */
.empty-state { padding: 60px 20px 70px; }
.empty-state > i {
  width: 112px; height: 112px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 22px;
  font-size: 40px; color: var(--gold); background: var(--cream); position: relative;
  box-shadow: 0 0 0 10px rgba(248, 244, 236, .6), 0 0 0 11px var(--line);
  animation: emptyFloat 4s ease-in-out infinite;
}
@keyframes emptyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.empty-state h4 { font-size: 30px; margin-bottom: 8px; }
.empty-state p { max-width: 440px; margin-left: auto; margin-right: auto; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- Product suggestions (empty cart / wishlist) ---------- */
.wc-suggest { margin-top: 10px; padding-top: 50px; border-top: 1px solid var(--line); }
.wc-suggest .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 28px; }
.wc-suggest .head h3 { font-size: clamp(26px, 3vw, 34px); margin: 4px 0 0; }

/* ---------- Trust strip above the footer (inner pages) ---------- */
.trust-strip { background: var(--cream); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.trust-strip::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(98deg, rgba(121, 84, 56, .03) 0 2px, transparent 2px 10px);
}
.trust-strip .container { position: relative; }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 34px 0; }
.trust-item .ic {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--gold); font-size: 21px; border: 1px solid var(--line);
  transition: all .4s var(--ease);
}
.trust-item:hover .ic { background: var(--brown); color: #fff; border-color: var(--brown); transform: rotate(-8deg) scale(1.05); }
.trust-item h6 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--brown); margin: 0 0 2px; }
.trust-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
@media (max-width: 991px) { .trust-item { padding: 20px 0; } }
@media (max-width: 575px) {
  .trust-item { flex-direction: column; text-align: center; gap: 10px; padding: 22px 4px; }
  .trust-item .ic { width: 48px; height: 48px; font-size: 18px; }
  .trust-item h6 { font-size: 13.5px; }
  .trust-item p { font-size: 12px; }
}

/* ---------- Small shared polish ---------- */
.contact-card, .info-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact-card:hover, .info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ==========================================================================
   Gahan banners (images/banners/breadcrumb-1..8.jpg)
   ========================================================================== */

/* Breadcrumb banner: soften the photo so the title reads clearly */
.page-banner::before { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }

/* Home hero photo slides — text on the side opposite the product */
.hero-photo .hero-bg { background-position: center; }
.hero-photo .hero-overlay { background: linear-gradient(90deg, rgba(46, 30, 19, .88) 0%, rgba(46, 30, 19, .62) 38%, rgba(46, 30, 19, 0) 62%); }
.hero-photo.hero-text-right .hero-overlay { background: linear-gradient(270deg, rgba(46, 30, 19, .88) 0%, rgba(46, 30, 19, .62) 38%, rgba(46, 30, 19, 0) 62%); }
.hero-photo.hero-text-right .hero-content .inner { margin-left: auto; }
@media (max-width: 767px) {
  .hero-photo .hero-overlay,
  .hero-photo.hero-text-right .hero-overlay { background: linear-gradient(180deg, rgba(46, 30, 19, .85) 0%, rgba(46, 30, 19, .7) 60%, rgba(46, 30, 19, .3) 100%); }
  .hero-photo.hero-text-right .hero-content .inner { margin-left: 0; }
}

/* Export hero: 8 banners cross-fading behind the text (6s each, 48s loop) */
.export-hero-slides { position: absolute; inset: 0; z-index: 0; }
.export-hero-slides span {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: gw-xfade 48s linear infinite;
}
.export-hero-slides span:nth-child(1) { animation-delay: 0s; }
.export-hero-slides span:nth-child(2) { animation-delay: 6s; }
.export-hero-slides span:nth-child(3) { animation-delay: 12s; }
.export-hero-slides span:nth-child(4) { animation-delay: 18s; }
.export-hero-slides span:nth-child(5) { animation-delay: 24s; }
.export-hero-slides span:nth-child(6) { animation-delay: 30s; }
.export-hero-slides span:nth-child(7) { animation-delay: 36s; }
.export-hero-slides span:nth-child(8) { animation-delay: 42s; }
.export-hero-slides span:first-child { opacity: 1; } /* visible before the animation starts */
@keyframes gw-xfade { 0% { opacity: 0; } 3% { opacity: 1; } 12.5% { opacity: 1; } 16% { opacity: 0; } 100% { opacity: 0; } }
.export-hero::before { z-index: 1; background: linear-gradient(90deg, rgba(31, 21, 14, .9) 0%, rgba(46, 31, 21, .72) 45%, rgba(46, 31, 21, .2) 100%); }
.export-hero::after { z-index: 1; }
.export-hero .hero-chip { z-index: 2; }
@media (max-width: 991px) { .export-hero { padding-bottom: 70px; } .export-hero::before { background: rgba(31, 21, 14, .74); } }
@media (prefers-reduced-motion: reduce) { .export-hero-slides span { animation: none; } }

/* Category page hero: category illustration (images/category/*.png) instead of the 3D model */
.cat-hero-img { display: grid; place-items: center; padding: 28px; height: 100%; }
.cat-hero-img img { width: min(100%, 300px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 18px 40px rgba(46, 30, 19, .18); }

/* Home hero photo slides: slight blur so the heading reads clearly.
   The layer is pushed 14px past each edge so the blur never shows soft borders. */
.hero-photo .hero-bg { inset: -14px; filter: blur(3px); }
