/* ============================================================
   Bekely Crafts — shared styles
   Design tokens
   ============================================================ */

:root {
  --denim:        #0B3237;   /* deep teal — dark section background (derived from brand teal) */
  --denim-deep:   #072125;   /* darker teal for footer/shadows */
  --linen:        #FBF9F4;   /* card / light background */
  --linen-dim:    #F2ECDD;   /* slightly deeper cream for stripes */
  --ink:          #1E2225;   /* body text on light — passes AA (15:1+) */
  --rust:         #BA5510;   /* brand rust, minimally darkened for AA text/buttons on light bg (4.5:1+) */
  --mustard:      #EA711F;   /* brand rust, brightened for AA text/accents on dark teal bg (4.5:1+) */
  --sage:         #1B7D89;   /* brand teal, darkened for AA text/buttons on light bg (4.5:1+) */
  --cream-text:   #FBF9F4;   /* text on dark */
  --teal-brand:   #24A7B7;   /* exact brand teal — decorative fills only, always paired with --ink text */
  --rust-brand:   #C45911;   /* exact brand rust — large headings only (3:1), decorative fills */
  --holly:        #660000;   /* christmas red, darkened for AA text on the teal header (4.6:1+) */
  --holly-deep:   #4D0000;   /* darker red for the christmas link's hover/active state */
  --pine:         #163C2C;   /* christmas page only - deep pine green, dark section background */
  --pine-deep:    #0B2419;   /* christmas page only - darker green for footer/gradient */

  --font-display: 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
  --font-body:    'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
  --font-tag:     'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;

  --radius: 4px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .snow { display: none; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* -------------------- Keyboard focus -------------------- */
:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
  border-radius: 2px;
}

/* On dark sections, --sage (teal) doesn't have enough contrast against
   the dark teal background itself, so switch the focus ring to the
   brighter rust variant there instead. */
.site-header :focus-visible,
.hero :focus-visible,
.video-block :focus-visible,
.fairs-hero :focus-visible {
  outline-color: var(--mustard);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Stitch divider (signature motif) -------------------- */
.stitch {
  border: none;
  border-top: 2px dashed rgba(186, 85, 16, 0.55);
  margin: 0;
}

.stitch-box {
  border: 2px dashed rgba(186, 85, 16, 0.55);
  border-radius: var(--radius);
}

/* -------------------- Header -------------------- */
.site-header {
  background: var(--teal-brand);
  color: var(--denim);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px dashed rgba(234, 113, 31, 0.5);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--denim);
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: 44px;
  display: block;
  background: var(--linen);
  border-radius: 50%;
  padding: 5px;
  object-fit: contain;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.logo span {
  color: var(--denim);
  font-style: normal;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--denim);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--denim-deep);
  color: var(--denim-deep);
}

/* Seasonal Christmas nav link — red instead of the usual teal-on-denim,
   so it stands out as a limited-time addition. Comment the <li> in and
   out of the nav markup to switch it on/off for the season. */
nav.main-nav a.christmas-link {
  color: var(--holly);
}

nav.main-nav a.christmas-link:hover,
nav.main-nav a.christmas-link.active {
  color: var(--holly-deep);
  border-bottom-color: var(--holly-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--denim);
  color: var(--denim);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 1rem;
  cursor: pointer;
}

/* -------------------- Header dropdown (Our Makes) -------------------- */
.main-nav li.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-block;
  vertical-align: middle;
  background: none;
  border: none;
  font-family: inherit;
  color: var(--denim);
  font-size: 0.8rem;
  line-height: 1;
  padding: 0;
  margin: 0 0 0 2px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-toggle,
.has-dropdown.open .dropdown-toggle {
  transform: rotate(180deg);
}

.main-nav .dropdown {
  list-style: none;
  display: block;
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  margin: 0;
  padding: 6px 0;
  gap: 0;
  min-width: 190px;
  background: var(--teal-brand);
  border: 2px dashed rgba(234, 113, 31, 0.5);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 16px 28px rgba(7, 33, 37, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown li {
  border-bottom: 1px dashed rgba(11, 50, 55, 0.25);
}

.main-nav .dropdown li:last-child {
  border-bottom: none;
}

.main-nav .dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  border-bottom: none;
  white-space: nowrap;
  color: var(--denim);
}

.main-nav .dropdown a:hover,
.main-nav .dropdown a:focus-visible {
  background: rgba(11, 50, 55, 0.12);
  color: var(--denim-deep);
}

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--denim);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px dashed var(--denim);
  border-radius: 20px;
  padding: 5px 12px;
}
.fb-link:hover { background: rgba(11, 50, 55, 0.1); }

/* -------------------- Hero -------------------- */
.hero {
  background: var(--denim);
  color: var(--cream-text);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-tag);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  color: var(--mustard);
  margin: 0 0 4px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 600;
}

.hero h1 em {
  color: var(--mustard);
  font-style: italic;
}

.hero p {
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(251, 249, 244, 0.85);
  margin-bottom: 32px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--rust);
  color: var(--linen);
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}

/* .btn-outline is written for a LIGHT background by default (most of the
   page). Sections with a dark background (hero, video-block, fairs-hero)
   override it below to swap to light-on-dark colours automatically - so
   this one class is safe to use anywhere, and you never have to remember
   a separate "-light" or "-dark" variant. */
.btn-outline {
  background: transparent;
  color: var(--denim);
  border: 2px solid var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--linen);
}

/* Buttons sitting on dark sections (hero, video-block, fairs-hero) need
   inverted colours: a solid rust-safe button doesn't have enough contrast
   against the dark teal background to be reliably perceivable (WCAG
   1.4.11), so .btn-primary swaps to a light pill with dark rust text, and
   .btn-outline swaps to a mustard border with cream text. */
.hero .btn-primary,
.video-block .btn-primary,
.fairs-hero .btn-primary {
  background: var(--linen);
  color: var(--rust);
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
}

.hero .btn-outline,
.video-block .btn-outline,
.fairs-hero .btn-outline {
  color: var(--cream-text);
  border-color: var(--mustard);
}
.hero .btn-outline:hover,
.video-block .btn-outline:hover,
.fairs-hero .btn-outline:hover {
  background: var(--mustard);
  color: var(--denim-deep);
}

/* Hero swatch photo card */
.swatch-card {
  background: var(--linen);
  padding: 12px 12px 44px;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transform: rotate(-3deg);
  position: relative;
}

.swatch-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1px;
}

.swatch-card::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-family: var(--font-tag);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

/* -------------------- Sections -------------------- */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  font-family: var(--font-tag);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rust);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 2px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.section-head p {
  color: #52606c;
  margin: 0;
}

/* Category grid — "swatch tag" cards */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tag-card {
  background: #fff;
  border: 2px dashed rgba(27, 125, 137, 0.4);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.tag-card:nth-child(even) { transform: rotate(0.6deg); }
.tag-card:nth-child(odd)  { transform: rotate(-0.6deg); }

.tag-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 58, 74, 0.18);
  border-color: var(--rust);
}

.tag-card .tag-hole {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--linen);
  border: 2px solid var(--sage);
  z-index: 2;
}

.tag-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.tag-card .tag-body {
  padding: 16px 18px 20px;
}

.tag-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.tag-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #52606c;
}

/* -------------------- About section (homepage) -------------------- */
.about-grid {
  display: block;
}

.about-text {
  margin: 0 0 40px;
}

.about-text p { margin-bottom: 16px; }

.media-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.media-photo {
  flex: 0 0 440px;
  width: 440px;
}

.media-photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.media-video {
  flex: 0 0 214px;
  width: 214px;
  margin: 0;
}

@media (max-width: 860px) {
  .media-row {
    flex-direction: column;
    align-items: center;
  }
  .media-photo, .media-video {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
}


.about-photos .photo-item img { aspect-ratio: 1/1; }

.video-placeholder {
  border: 2px dashed rgba(186, 85, 16, 0.55);
  border-radius: var(--radius);
  background: var(--linen-dim);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-inner {
  text-align: center;
  color: var(--denim);
  padding: 0 24px;
}

.video-placeholder .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--linen);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.video-placeholder p {
  margin: 0;
  font-size: 0.9rem;
  color: #52606c;
}

.video-embed-portrait {
  border: 2px dashed rgba(27, 125, 137, 0.4);
  border-radius: var(--radius);
  overflow: hidden;
}

/* -------------------- Callout strip -------------------- */
.callout {
  background: var(--linen-dim);
  border-top: 2px dashed rgba(186,85,16,0.4);
  border-bottom: 2px dashed rgba(186,85,16,0.4);
  padding: 40px 0;
  text-align: center;
}

.callout p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--denim);
}

/* -------------------- Fairs / timeline page -------------------- */
.fair-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px dashed rgba(186, 85, 16, 0.5);
}

.fair-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 2px dashed rgba(186, 85, 16, 0.5);
}

.fair-date {
  font-family: var(--font-tag);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--rust);
  line-height: 1.1;
}

.fair-info h3 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.fair-info .fair-address {
  color: #52606c;
  font-size: 0.9rem;
  margin: 0 0 2px;
}

.fair-info .fair-time {
  color: #52606c;
  font-size: 0.9rem;
}

.fair-map-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  border: 2px solid var(--sage);
  border-radius: 20px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.fair-map-link:hover { background: var(--sage); color: var(--linen); }

.fairs-hero {
  background: var(--denim);
  color: var(--cream-text);
  padding: 56px 0;
  text-align: center;
}

.fairs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 12px;
}

.fairs-hero p {
  color: rgba(251,249,244,0.85);
  max-width: 50ch;
  margin: 0 auto;
}

/* -------------------- Category gallery pages -------------------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--rust);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.back-link:hover { text-decoration: underline; }

.category-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  color: #52606c;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.photo-item {
  background: #fff;
  border: 2px dashed rgba(27, 125, 137, 0.4);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.photo-item .photo-caption {
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #52606c;
  text-align: center;
}

.category-copy {
  max-width: 700px;
  margin: 0 auto;
}

.category-copy p { margin-bottom: 16px; }

/* -------------------- Homewares product showcase -------------------- */
/* One full-width row per product, image one side / text the other,
   alternating left-right (via .reverse) and alternating stripe
   background (via .alt) so six items in a row don't read as one
   long repetitive list. */
.product-row {
  padding: 56px 0;
  border-bottom: 2px dashed rgba(186, 85, 16, 0.35);
}

.product-row:last-of-type {
  border-bottom: none;
}

.product-row.alt {
  background: var(--linen-dim);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-grid .product-photos { order: 1; }
.product-grid .product-info   { order: 2; }
.product-grid.reverse .product-photos { order: 2; }
.product-grid.reverse .product-info   { order: 1; }

/* Photo carousel — used inside .product-photos. Degrades to a plain
   static image automatically (JS removes the arrows/dots) when a
   product only has one photo. */
.product-photos {
  overflow: hidden;
  background: #fff;
  border: 2px dashed rgba(27, 125, 137, 0.4);
  border-radius: var(--radius);
}

.carousel-viewport {
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Tooltip showing the current slide's alt text - appears on hover or
   keyboard focus, rather than sitting permanently over the photo. */
.carousel-tooltip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 50, 55, 0.72);
  color: var(--cream-text);
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 46px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.carousel-viewport:hover .carousel-tooltip,
.carousel-viewport:focus-within .carousel-tooltip {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 50, 55, 0.55);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.carousel-btn:hover,
.carousel-btn:focus-visible { background: rgba(11, 50, 55, 0.85); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(11, 50, 55, 0.35);
  background: rgba(11, 50, 55, 0.15);
  cursor: pointer;
}
.carousel-dot.active { background: var(--rust); border-color: var(--rust); }

/* Lightbox — click a carousel photo to see it full size.
   The dialog itself is built by the script at the bottom of each page. */
.carousel-slide img { cursor: zoom-in; }

.carousel-enlarge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 50, 55, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.carousel-enlarge:hover,
.carousel-enlarge:focus-visible { background: rgba(11, 50, 55, 0.85); }

body.lightbox-open { overflow: hidden; }

.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox::backdrop { background: rgba(7, 33, 37, 0.95); }

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  display: block;
  max-width: 88vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.lightbox-caption {
  color: var(--cream-text);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  padding-top: 10px;
}

.lightbox-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(251, 249, 244, 0.18);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-btn:hover,
.lightbox-btn:focus-visible { background: rgba(251, 249, 244, 0.35); }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 16px; right: 16px; font-size: 1.8rem; }
.lightbox-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lightbox-img { max-width: 100vw; border-radius: 0; }
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: 16px; transform: none; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--denim);
  margin: 0 0 12px;
}

.product-info > p {
  margin: 0 0 18px;
}

.product-specs {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  background: #fff;
  border: 2px dashed rgba(27, 125, 137, 0.4);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.product-specs li {
  padding: 6px 0;
}

.product-specs li:not(:last-child) {
  border-bottom: 1px dashed rgba(11, 50, 55, 0.15);
}

.product-specs strong {
  color: var(--rust);
  font-weight: 700;
  margin-right: 6px;
}

/* -------------------- Video / tour block -------------------- */
.video-block {
  background: var(--denim);
  color: var(--cream-text);
  padding: 64px 0;
}

.video-block .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.video-block h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 16px;
}

.video-block p {
  color: rgba(251,249,244,0.85);
}

.video-frame {
  position: relative;
  padding-top: 75%;
  border-radius: 4px;
  overflow: hidden;
  border: 2px dashed rgba(27, 125, 137, 0.4);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* -------------------- Contact form -------------------- */
.bot-field-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 16px 0 6px;
  color: var(--denim);
}

.contact-form label:first-of-type { margin-top: 0; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px dashed rgba(27, 125, 137, 0.5);
  border-radius: var(--radius);
  background: var(--linen);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: #fff;
}

.contact-form button {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

/* -------------------- Footer -------------------- */
footer.site-footer {
  background: var(--denim-deep);
  color: rgba(251,249,244,0.8);
  padding: 40px 0;
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a { color: var(--mustard); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* -------------------- Responsive -------------------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .swatch-card { max-width: 380px; margin: 0 auto; }
  .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .video-block .wrap { grid-template-columns: 1fr; }
  .fair-item { grid-template-columns: 1fr; text-align: left; gap: 8px; }
  .fair-map-link { justify-self: start; }
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-grid .product-photos,
  .product-grid .product-info,
  .product-grid.reverse .product-photos,
  .product-grid.reverse .product-info {
    order: initial;
  }
}

@media (max-width: 620px) {
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  nav.main-nav {
    order: 3;
    flex-basis: 100%;
  }
  nav.main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
  .main-nav .dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.open .dropdown {
    transform: translateX(-50%) translateY(0);
  }
  .tag-grid { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   Christmas page theme — everything below is scoped to
   body.christmas-page, so it only affects christmas.html and
   never leaks onto the shared .fairs-hero / .photo-item / footer
   styles used by the rest of the site.
   ============================================================ */

body.christmas-page .fairs-hero {
  background: linear-gradient(160deg, var(--pine) 0%, var(--denim) 100%);
  border-bottom: 2px dashed var(--holly);
}

body.christmas-page .festive-eyebrow {
  font-family: var(--font-tag);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  color: var(--mustard);
  margin: 0 0 6px;
}

body.christmas-page .photo-item {
  border-color: rgba(102, 0, 0, 0.45);
}

body.christmas-page .back-link {
  color: var(--holly);
}
body.christmas-page .back-link:hover {
  color: var(--holly-deep);
}

body.christmas-page footer.site-footer {
  background: var(--pine-deep);
}

/* Falling snow - pure CSS, no JS. Fixed so it drifts over the whole
   page as you scroll; pointer-events:none keeps it from blocking
   clicks. Turned off automatically for prefers-reduced-motion above. */
.snow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 40;
}

.snow span {
  position: absolute;
  top: -10vh;
  left: var(--x);
  font-size: var(--size);
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 4px rgba(11, 50, 55, 0.25);
  animation: snow-fall var(--duration) linear var(--delay) infinite;
  user-select: none;
}

@keyframes snow-fall {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 0.9; }
  100% { transform: translateY(115vh) translateX(24px); opacity: 0.3; }
}
