@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,700;0,9..144,900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --alpine-green: #1C2A1E;
  --alpine-orange: #E8763A;
  --alpine-cream: #F5F1EA;
  --alpine-sand: #C9A96E;
  --alpine-charcoal: #3A3A3A;
}

body, .entry-content, .wp-block-post-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 400;
  color: var(--alpine-charcoal);
  background: var(--alpine-cream);
}

h1, h2, h3, h4, .wp-block-heading, .entry-title, .product_title, .woocommerce-loop-product__title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 700;
  font-variation-settings: 'opsz' 128, 'SOFT' 50;
  letter-spacing: -0.02em;
  color: var(--alpine-green);
}

h1, .entry-title { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }

/* Buttons: soft shadow + subtle lift on hover */
.wp-block-button__link, button.single_add_to_cart_button, .woocommerce button.button {
  background: var(--alpine-green) !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(28,42,30,0.12), 0 1px 3px rgba(28,42,30,0.08);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-transform: none;
}
.wp-block-button__link:hover, button.single_add_to_cart_button:hover, .woocommerce button.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28,42,30,0.18), 0 2px 6px rgba(28,42,30,0.10);
  background: var(--alpine-orange) !important;
}

/* Product cards — premium feel */
.woocommerce ul.products li.product, .wc-block-grid__product {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
  box-shadow: 0 1px 4px rgba(28,42,30,0.04);
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(28,42,30,0.12), 0 4px 12px rgba(28,42,30,0.06);
}
.woocommerce ul.products li.product img {
  border-radius: 10px;
  transition: transform 0.6s;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.03); }

/* Price display */
.woocommerce .price, .price { color: var(--alpine-green); font-weight: 700; }

/* Header — tighter, more premium */
header.site-header, .ct-header {
  background: var(--alpine-cream) !important;
  border-bottom: 1px solid rgba(28,42,30,0.08);
}

/* Hero section helpers */
.alpine-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: 8vh 6vw 10vh;
  overflow: hidden;
  background: linear-gradient(135deg, #1C2A1E 0%, #2d4838 60%, #3d5a44 100%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  margin-bottom: 4rem;
}
.alpine-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 75%, rgba(232,118,58,0.25), transparent 55%),
                    radial-gradient(circle at 75% 25%, rgba(201,169,110,0.2), transparent 50%);
  pointer-events: none;
}
.alpine-hero__content { position: relative; z-index: 2; max-width: 760px; }
.alpine-hero h1 { color: #fff; font-size: clamp(3rem, 7vw, 6rem) !important; margin-bottom: 1.2rem; }
.alpine-hero p.lead { color: rgba(255,255,255,0.88); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 540px; margin-bottom: 2rem; }

/* Bento grid */
.alpine-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
  padding: 0 6vw;
  margin-bottom: 5rem;
}
.alpine-bento .cell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28,42,30,0.05);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  min-height: 260px;
}
.alpine-bento .cell:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(28,42,30,0.12); }
.alpine-bento .cell::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,42,30,0) 40%, rgba(28,42,30,0.88) 100%);
  pointer-events: none;
  z-index: 1;
}
.alpine-bento .cell .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
.alpine-bento .cell:hover .bg { transform: scale(1.05); }
.alpine-bento .cell > * { position: relative; z-index: 2; }
.alpine-bento .cell h3 { color: #fff !important; font-size: 1.5rem; margin: 0 0 0.4rem; }
.alpine-bento .cell p { color: rgba(255,255,255,0.88); font-size: 0.95rem; margin: 0; }

.alpine-bento .cell.c-harness  { grid-column: span 6; grid-row: span 2; min-height: 420px; }
.alpine-bento .cell.c-leash    { grid-column: span 3; }
.alpine-bento .cell.c-toy      { grid-column: span 3; }
.alpine-bento .cell.c-bowl     { grid-column: span 3; }
.alpine-bento .cell.c-collar   { grid-column: span 3; }
.alpine-bento .cell.c-cool     { grid-column: span 6; }
@media (max-width: 900px) {
  .alpine-bento .cell { grid-column: span 6 !important; grid-row: auto !important; min-height: 220px; }
}
@media (max-width: 600px) {
  .alpine-bento .cell { grid-column: span 12 !important; }
}

/* USP section */
.alpine-usp { background: var(--alpine-green); color: #fff; padding: 5rem 6vw; border-radius: 32px; margin: 0 6vw 4rem; }
.alpine-usp h2 { color: #fff !important; text-align: center; margin-bottom: 3rem; }
.alpine-usp .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.alpine-usp .grid h3 { color: var(--alpine-sand) !important; font-size: 1.25rem; }
.alpine-usp .grid p { color: rgba(255,255,255,0.82); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Custom cursor dot — desktop only */
@media (hover: hover) and (pointer: fine) {
  body.alpine-cursor::after {
    content: "";
    position: fixed;
    top: var(--cursor-y, 0); left: var(--cursor-x, 0);
    width: 10px; height: 10px;
    background: var(--alpine-orange);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: multiply;
    transition: width 0.2s, height 0.2s;
  }
}

/* Scroll-reveal helper */
.alpine-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.alpine-reveal.in-view { opacity: 1; transform: translateY(0); }
