/* Base */
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 20px;
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 12px;
}

p {
  font-size: 20px;
  max-width: 60ch;
  margin: 0 0 20px;
}

.note {
  font-size: 14px;
  opacity: 0.75;
  margin: 0;
}

/* Buttons */
.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

a.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #111;
}

a.primary { background: #111; color: #fff; }
a.secondary { background: transparent; color: #111; }

/* Top bar */
header.topbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 10;
}

.topbar .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;          /* prevent stacking */
}

nav {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;          /* keep links on one line */
  overflow-x: auto;           /* allow horizontal scroll if needed */
  -webkit-overflow-scrolling: touch;
}

nav a {
  white-space: nowrap;        /* prevent link text wrapping */
}

.subnav {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;          /* force one line */
  overflow-x: auto;           /* scroll if screen is tight */
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 14px;
  margin: 8px 0 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.subnav a {
  white-space: nowrap;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 3px solid rgba(0,0,0,.12);
}

.subnav a:hover {
  background: rgba(0,0,0,.1);
}

/* Site background */
body {
  min-height: 100vh;
  background: url("assets/web%20assets/background.png") center / cover no-repeat fixed;
}

/* Readability overlay on top of the image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.25); /* adjust 0.70–0.90 */
  z-index: 0;
}

/* Keep actual page content above the overlay */
main, footer {
  position: relative;
  z-index: 1;
}
/* ---- Missing site component styles ---- */

/* Sections / separators */
.section { margin: 24px 0; }
hr { border: 0; border-top: 1px solid rgba(0,0,0,.10); margin: 24px 0; }

/* Active nav state */
.subnav a.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Make buttons work for BOTH <a> and <button> */
a.btn, button.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #111;
  font: inherit;
}

button.btn { cursor: pointer; }

a.primary, button.primary { background: #111; color: #fff; }
a.secondary, button.secondary { background: transparent; color: #111; }

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
  max-width: 560px;
}

label { font-size: 14px; }

input, select, textarea {
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.92);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Products grid/cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.product-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 16px;

  /* makes the buy area stick to the bottom */
  display: flex;
  flex-direction: column;
}

.product-card .price {
  font-weight: 650;
  margin-top: 10px;
}

.product-card .description {
  opacity: 0.92;
}

/* pushes the Buy block to the bottom of the card */
.product-card .buy {
  margin-top: auto;
  padding-top: 14px;
}

/* Buy button placeholder styling */
.product-card .buy .btn {
  width: 100%;
  text-align: center;
}

.product-card .buy .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.wholesale-note {
  margin: 8px 0 0;
  font-size: 13px;
  opacity: 0.8;
}
.sku {
  margin: 6px 0 0;
  font-size: 12px;
  opacity: 0.65;
}

.product-card .price { font-weight: 650; margin-top: 10px; }
.product-card .description { opacity: 0.92; }

/* Floating cart widget (placeholder) */
.cart-float {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
}

.cart-float-btn {
  border: 2px solid rgba(0,0,0,.22);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.90);
  font: inherit;
  cursor: not-allowed;
}

.cart-count {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.22);
  background: rgba(255,255,255,.95);
  font-weight: 700;
}

/* When Shopify is live, hide our placeholder cart button but keep the container */
body.shopify-live .cart-float-btn {
  display: none;
}


/* Position the Shopify toggle where your cart pill lives */
.shopify-buy-frame.shopify-buy-frame--toggle {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 9999 !important;
}

/* Style the toggle button to match your pill look (works when iframe is not used) */
.shopify-buy__cart-toggle {
  border: 2px solid rgba(0,0,0,.22) !important;
  border-radius: 999px !important;
  padding: 10px 12px !important;
  background: rgba(255,255,255,.90) !important;
  font: inherit !important;
  box-shadow: none !important;
}

/* Mobile: move floating cart down so it doesn't cover the top nav */
@media (max-width: 640px) {
  .cart-float {
    top: 72px; /* adjust if needed */
    right: 12px;
  }

  .shopify-buy-frame.shopify-buy-frame--toggle {
    top: 72px !important; /* keep Shopify toggle aligned to same spot */
    right: 12px !important;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.gallery-item {
  margin: 0;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px;
}

.gallery-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,.22);
  background: rgba(255,255,255,.55);
}

.gallery-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.85;
}
/* Make real gallery images behave like the placeholder box */
.gallery-item img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;                 /* no crop */
  background: rgba(0,0,0,.06);         /* fills empty space */
  border-radius: 12px;
  display: block;
}
/* Footer */
.site-footer{
  margin-top: 34px;
  padding: 22px 0 28px;
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-card{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 18px;
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.footer-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .2px;
}

.footer-text{
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-muted{
  opacity: .85;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-link{
  text-decoration: none;
  font-size: 13px;
  opacity: .92;
}

.footer-link:hover{
  text-decoration: underline;
  opacity: 1;
}

.footer-badge{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  font-size: 13px;
}

.footer-contact{
  margin-bottom: 12px;
}

.footer-label{
  font-size: 12px;
  opacity: .8;
  margin-bottom: 4px;
}

.footer-bottom{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.10);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  opacity: .9;
}

.footer-dot{
  margin: 0 8px;
  opacity: .7;
}
