/* Look based on the Shopify "Debut" theme the old shop used. */
:root {
  --text: #3d4246;
  --muted: #69727b;
  --border: #e8e9eb;
  --accent: #3d4246;
  --bg: #ffffff;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.page-width {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 55px;
}
@media (max-width: 749px) {
  .page-width { padding: 0 22px; }
}

/* Announcement bar */
.announcement-bar {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 10px 22px;
}
.announcement-bar p { margin: 0; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: none;
  padding-top: 15px;
  padding-bottom: 15px;
}
.site-header__logo img { width: 200px; height: auto; }
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0 200px 0 0;
}
.site-nav a {
  display: block;
  padding: 3px 10px;
  text-decoration: none;
  font-size: 16px;
}
.site-nav a:hover { color: var(--muted); }
.site-nav a[aria-current="page"] span { border-bottom: 1px solid currentColor; }
@media (max-width: 749px) {
  .site-header__inner { flex-direction: column; gap: 12px; padding-top: 18px; padding-bottom: 14px; }
  .site-header__logo img { width: 180px; }
  .site-nav { padding: 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #222 url("images/site/jigglyjag.jpg") center / cover no-repeat;
}
.hero__inner { position: relative; padding: 55px 22px; }
.mega-title {
  font-size: 35px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 8px;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.mega-title--large { font-size: 65px; }
.hero__subtitle {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 75%;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 749px) {
  .mega-title { font-size: 32px; }
  .mega-title--large { font-size: 34px; }
  .hero { min-height: 94px; }
  .hero__subtitle { font-size: 18px; max-width: none; }
}

/* Sections */
.section { padding: 55px 0; }
@media (max-width: 749px) { .section { padding: 35px 0; } }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h1, .section-header h2 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
}
@media (max-width: 749px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
}
.card { text-decoration: none; display: block; }
.card__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}
.card__image img {
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}
.card:hover .card__image img { opacity: 0.8; }
.card__title { margin: 0 0 4px; font-size: 16px; font-weight: 400; }
.card:hover .card__title span { border-bottom: 1px solid currentColor; }
.price { font-size: 14px; color: var(--muted); margin: 0; }
.price__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--text);
  color: #fff;
  border-radius: 2px;
  vertical-align: 1px;
}

/* Slideshow */
.slideshow {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #111;
}
@media (max-width: 749px) { .slideshow { height: 400px; } }
.slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.slide.is-active { opacity: 1; }
.slide .mega-title { position: relative; margin: 0; }
.slideshow__controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 2px;
}
.slideshow__dot, .slideshow__pause {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--text);
}
.slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--text);
}
.slideshow__dot[aria-current="true"] { background: var(--text); }
.slideshow__pause { font-size: 13px; width: 18px; }

/* Product page */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
}
@media (max-width: 749px) { .product { grid-template-columns: 1fr; gap: 25px; } }
.product__main-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product__main-image img { max-height: 100%; object-fit: contain; }
.product__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.product__thumbs button {
  padding: 2px;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product__thumbs button[aria-current="true"] { border-color: var(--text); }
.product__thumbs img { max-height: 100%; object-fit: contain; }
.product__title { font-size: 35px; font-weight: 600; line-height: 1.2; margin: 0 0 10px; }
.product__price { font-size: 18px; margin: 0 0 25px; }
.product__option label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.product__option select {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  margin-bottom: 25px;
}
.btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn:hover { background: #222; }
.product__description { margin-top: 30px; }
.product__description iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.product__description img { height: auto; }
.back-link { display: inline-block; margin-top: 45px; font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 45px 0;
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer small { color: var(--muted); font-size: 12px; }
