:root {
  color-scheme: light;
  --black: #000;
  --white: #fff;
  --muted: rgba(0, 0, 0, .62);
  --border: rgba(0, 0, 0, .5);
  --page-width: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: 56px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--white); color: var(--black); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--white); color: var(--black); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--black);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.announcement {
  height: 43px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--black);
  background: var(--white);
}
.site-header { background: var(--white); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.header-inner {
  width: min(var(--page-width), 100%);
  min-height: 96px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.brand, .brand img { width: 75px; height: 75px; }
.brand img { object-fit: cover; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a, .primary-nav summary { text-decoration: none; cursor: pointer; white-space: nowrap; }
.primary-nav a:hover, .primary-nav summary:hover { text-decoration: underline; }
.primary-nav details { position: relative; }
.primary-nav summary { list-style: none; }
.primary-nav summary::-webkit-details-marker { display: none; }
.more-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: -18px;
  min-width: 170px;
  padding: 10px 0;
  border: 1px solid rgba(0, 0, 0, .16);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}
.more-menu a { display: block; padding: 8px 18px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--black);
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 24px;
  cursor: pointer;
}
.menu-toggle { display: none; }
.etsy-link, .product-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.etsy-link:hover, .product-cta:hover { background: #262626; }
.search-panel {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(0, 0, 0, .12);
}
.search-panel input { height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 0; }
.search-panel button { height: 44px; padding: 0 16px; border: 1px solid var(--black); background: var(--white); }

.preview-state { width: min(var(--page-width), 100%); margin: 0 auto; padding: 12px var(--gutter); border-bottom: 1px solid var(--black); }
.hero {
  position: relative;
  min-height: 356px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url("assets/shopify-horizon-hero.png") center / cover no-repeat;
  color: var(--white);
}

#home-sections, .catalog-view, .collection-heading { width: min(var(--page-width), 100%); margin: 0 auto; }
.home-collection { padding: var(--section-gap) var(--gutter) 0; }
.home-collection:last-child { padding-bottom: var(--section-gap); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 700; }
.section-heading a { font-size: 14px; }
.collection-row, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }

.product-card { min-width: 0; display: grid; align-content: start; background: transparent; border: 0; border-radius: 0; }
.product-image-link { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #f4f4f4; }
.product-image { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 180ms; }
.product-action {
  position: absolute;
  inset: auto 12px 12px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--white);
  background: rgba(0, 0, 0, .78);
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms, transform 160ms;
}
.product-card:hover .product-image { transform: scale(1.02); }
.product-card:hover .product-action, .product-image-link:focus-visible .product-action { opacity: 1; transform: none; }
.product-meta { padding-top: 10px; }
.product-title { display: block; font-size: 14px; line-height: 1.6; font-weight: 400; text-decoration: none; }
.product-title:hover { text-decoration: underline; }
.product-price { margin: 3px 0 0; font-size: 12px; line-height: 1.2; font-weight: 500; }

.collection-heading { padding: 54px var(--gutter) 24px; }
.collection-kicker, .eyebrow { margin: 0 0 6px; font-weight: 500; }
.collection-heading h1, .product-detail-body h1, .info-shell h1 { margin: 0; font-size: clamp(40px, 5.6vw, 56px); line-height: 1; }
.collection-heading > p:last-child { max-width: 700px; margin: 18px 0 0; color: var(--muted); }
.catalog-view { padding: 0 var(--gutter) 64px; }
.catalog-toolbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(0, 0, 0, .16); }
.catalog-toolbar p { margin: 0; color: var(--muted); }
.catalog-toolbar label { display: flex; align-items: center; gap: 10px; }
.catalog-toolbar select { height: 42px; padding: 0 34px 0 10px; border: 1px solid var(--border); border-radius: 0; background: var(--white); }
.empty-state { width: min(var(--page-width), 100%); margin: 0 auto; padding: 70px var(--gutter); }

.product-shell { width: min(var(--page-width), 100%); margin: 0 auto; padding: 54px var(--gutter) 72px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-detail > a { display: block; }
.product-detail img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.product-detail-body { position: sticky; top: 24px; padding-top: 10px; }
.product-detail-body .product-price { margin: 24px 0 0; font-size: 16px; font-weight: 700; }
.product-description-full { margin: 28px 0 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.product-detail-body .product-cta { width: 100%; margin-top: 24px; }

.site-footer { border-top: 1px solid rgba(0, 0, 0, .18); background: var(--white); }
.footer-inner { width: min(var(--page-width), 100%); margin: 0 auto; padding: 48px var(--gutter); display: grid; grid-template-columns: 1fr 280px; gap: 60px; }
.footer-brand p { max-width: 500px; margin: 12px 0 0; color: var(--muted); }
.footer-links { display: grid; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-utility { min-height: 66px; padding: 16px var(--gutter); border-top: 1px solid rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.info-shell { width: min(820px, 100%); margin: 0 auto; padding: 54px var(--gutter) 72px; }
.info-shell h1 { margin-bottom: 28px; }
.info-shell h2 { margin: 30px 0 8px; font-size: 24px; }
.info-shell p, .info-shell li { color: var(--muted); }

.analytics-consent { display: flex; gap: 16px; align-items: center; justify-content: space-between; width: 100%; padding: 14px var(--gutter); border-bottom: 1px solid rgba(0, 0, 0, .18); background: var(--white); }
.analytics-consent p { margin: 0; }
.analytics-consent div { display: flex; gap: 10px; flex-wrap: wrap; }
.analytics-consent button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--black); background: var(--black); color: var(--white); cursor: pointer; }
.analytics-consent button + button { background: var(--white); color: var(--black); }
:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 44px 1fr auto; min-height: 60px; padding-top: 0; padding-bottom: 0; }
  .menu-toggle { display: block; }
  .brand { justify-self: center; }
  .brand, .brand img { width: 42px; height: 42px; }
  .primary-nav { position: absolute; z-index: 30; top: 103px; left: 0; right: 0; display: none; padding: 18px 20px; border-top: 1px solid rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(0, 0, 0, .18); background: var(--white); flex-direction: column; align-items: flex-start; gap: 14px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav details { width: 100%; }
  .more-menu { position: static; margin-top: 8px; box-shadow: none; border: 0; padding-left: 10px; }
  .etsy-link { display: none; }
  .hero { min-height: 318px; }
  .collection-row, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-body { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; --section-gap: 32px; }
  .header-actions { gap: 0; }
  .icon-button { width: 40px; }
  .search-panel { grid-template-columns: 1fr auto; }
  .search-panel label { grid-column: 1 / -1; }
  .home-collection { padding-left: 16px; padding-right: 16px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 24px; }
  .collection-row, .product-grid { gap: 26px 8px; }
  .product-action { display: none; }
  .product-meta { padding-top: 8px; }
  .product-title { font-size: 13px; line-height: 1.35; }
  .collection-heading { padding-top: 38px; }
  .collection-heading h1 { font-size: 40px; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; }
  .product-shell { padding-top: 28px; }
  .product-detail-body h1 { font-size: 38px; }
  .analytics-consent { align-items: flex-start; flex-direction: column; }
  .footer-utility { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { scroll-behavior: auto !important; transition: none !important; }
}
