/*
Theme Name: Scotzin Bros Block Theme
Theme URI: https://scotzinbros.com/
Author: Scotzin Bros
Description: A warm, heritage-inspired Gutenberg block theme for Scotzin Bros. Designed to pair with the Ecwid WordPress plugin.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: scotzin-bros
*/

:root {
  --scotzin-green: #005b34;
  --scotzin-green-dark: #003f25;
  --scotzin-gold: #c58a16;
  --scotzin-cream: #fbf7ef;
  --scotzin-paper: #f4eddf;
  --scotzin-ink: #1f2a25;
  --scotzin-border: #dfcda9;
}

html { scroll-behavior: smooth; }
body { background: var(--scotzin-cream); }

.wp-site-blocks { overflow: clip; }

.scotzin-announcement a { color: inherit; }
.scotzin-announcement { box-shadow: inset 0 -1px rgba(255,255,255,.08); }

.scotzin-header {
  border-bottom: 1px solid rgba(197,138,22,.2);
  background: rgba(251,247,239,.97);
  backdrop-filter: blur(8px);
}

.scotzin-header .wp-block-site-logo img,
.scotzin-footer .wp-block-site-logo img {
  width: auto;
  height: auto;
  object-fit: contain;
}

.scotzin-nav .wp-block-navigation-item__content {
  text-transform: uppercase;
  letter-spacing: .035em;
  font-weight: 700;
  text-decoration: none;
}
.scotzin-nav .wp-block-navigation-item__content:hover { color: var(--scotzin-gold); }

.scotzin-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--scotzin-border);
  background:
    radial-gradient(circle at 84% 40%, rgba(197,138,22,.12), transparent 32%),
    linear-gradient(110deg, #fffdf8 0%, #f8f0e2 60%, #efe2cc 100%);
}
.scotzin-hero::before,
.scotzin-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0,91,52,.08);
  border-radius: 50%;
  pointer-events: none;
}
.scotzin-hero::before { width: 420px; height: 420px; right: -180px; top: -120px; }
.scotzin-hero::after { width: 320px; height: 320px; right: 30px; bottom: -210px; }

.scotzin-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--scotzin-gold);
  font-weight: 800;
}
.scotzin-display {
  text-transform: uppercase;
  letter-spacing: .015em;
  text-wrap: balance;
}

.scotzin-button .wp-block-button__link,
.wp-element-button {
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.scotzin-button .wp-block-button__link:hover,
.wp-element-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,63,37,.14);
}

.scotzin-category-strip {
  background: #fffaf2;
  border-top: 1px solid var(--scotzin-border);
  border-bottom: 1px solid var(--scotzin-border);
}
.scotzin-category-card {
  height: 100%;
  border-right: 1px solid var(--scotzin-border);
}
.scotzin-category-card:last-child { border-right: 0; }
.scotzin-category-card .wp-block-heading { margin-bottom: .3rem; }
.scotzin-category-card a { color: var(--scotzin-green); font-weight: 800; }
.scotzin-category-icon {
  width: 62px;
  height: 62px;
  border: 1px solid var(--scotzin-gold);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

.scotzin-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.scotzin-section-heading::before,
.scotzin-section-heading::after {
  content: "";
  height: 1px;
  background: var(--scotzin-border);
  flex: 1;
}

.scotzin-notice {
  border: 1px solid var(--scotzin-border);
  background: #fffaf2;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(78,54,18,.05);
}

.scotzin-content-card {
  background: #fffdf9;
  border: 1px solid var(--scotzin-border);
  border-radius: 10px;
}

.scotzin-footer {
  position: relative;
  background: var(--scotzin-green-dark);
  color: #fff;
  border-top: 4px solid var(--scotzin-gold);
}
.scotzin-footer a { color: #fff; }
.scotzin-footer a:hover { color: #f4c55f; }
.scotzin-footer .wp-block-heading { color: #fff; }

/* Keeps embedded Ecwid from feeling squeezed; Ecwid-specific CSS will be added separately. */
.scotzin-store-shell { width: 100%; }
.scotzin-store-shell .wp-block-shortcode { width: 100%; }

@media (max-width: 781px) {
  .scotzin-header-main { gap: 14px !important; }
  .scotzin-hero { text-align: center; }
  .scotzin-hero .wp-block-buttons { justify-content: center; }
  .scotzin-category-card { border-right: 0; border-bottom: 1px solid var(--scotzin-border); }
  .scotzin-category-card:last-child { border-bottom: 0; }
}
