/* Panthera Prowl — Global Stylesheet */
/* Nature & Stealth: Minimal. Silent. Intentional. */

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes shake {
  0%,100%{transform:translateX(0);}
  20%{transform:translateX(-6px);}
  40%{transform:translateX(6px);}
  60%{transform:translateX(-4px);}
  80%{transform:translateX(4px);}
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes prowl-pulse {
  0%,100%{ opacity:0.4; transform:scaleX(1); }
  50%{ opacity:1; transform:scaleX(1.04); }
}

/* ── Product Card — Uniform 3:4 Aspect Ratio ───────────────────────────── */
/* Applied globally so every page's product grid is consistent */
.product-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Hover Image Swap (Front → Back on Desktop) ─────────────────────────── */
.img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1);
}
.img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1);
}
.product:hover .img-hover { opacity: 1; }
.product:hover .img-main  { opacity: 0; }
@media (hover: none) {
  .img-hover { display: none; }
  .img-main  { position: relative; inset: unset; }
}

/* ── Color Swatches ─────────────────────────────────────────────────────── */
.color-swatches {
  display: flex;
  gap: 7px;
  margin: 10px 0 0;
  align-items: center;
}
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  flex-shrink: 0;
}
.swatch:hover { transform: scale(1.18); }
.swatch.active {
  border-color: #c99a5b;
  box-shadow: 0 0 0 2px rgba(201,154,91,0.3);
}
.swatch-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8c9382;
  text-transform: uppercase;
  margin-left: 4px;
}

/* ── Stock / Preorder Badge ─────────────────────────────────────────────── */
.stock-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-top: 7px;
  display: inline-block;
  border-radius: 2px;
  line-height: 1.5;
}
.stock-badge.preorder {
  background: rgba(201,154,91,0.10);
  border: 1px solid rgba(201,154,91,0.28);
  color: #c99a5b;
}
.stock-badge.in-stock {
  background: rgba(82,183,136,0.10);
  border: 1px solid rgba(82,183,136,0.28);
  color: #52b788;
}

/* ── Size Note Labels (inside size buttons) ─────────────────────────────── */
.size-note {
  display: block;
  font-size: 7.5px;
  line-height: 1.1;
  color: #8c9382;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}
.size-note.popular { color: #c99a5b; }
.size-note.low     { color: #e07070; }
.size-btn { width: auto !important; padding: 7px 10px !important; min-width: 36px; }

/* ── Mobile Sticky Bottom Bar ───────────────────────────────────────────── */
#mobileStickyBar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: #0a0c08;
  border-top: 1px solid rgba(201,154,91,0.3);
  padding: 12px 20px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.55);
  animation: fadeUp 0.3s ease;
}
#mobileStickyBar.visible { display: flex; }
@media (min-width: 901px) {
  #mobileStickyBar { display: none !important; }
}
.sticky-bar-info {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #8c9382;
  letter-spacing: 0.06em;
}
.sticky-bar-info strong { color: #ece7d8; }
.sticky-bar-cta {
  background: #c99a5b;
  color: #0a0c08;
  border: none;
  padding: 11px 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sticky-bar-cta:hover { background: #e7bd82; }

/* ── Nature-Inspired Section Divider ────────────────────────────────────── */
.nature-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  height: 36px;
  overflow: hidden;
  position: relative;
}
.nature-divider svg {
  opacity: 0.18;
  width: 100%;
  max-width: 900px;
}

/* ── Cart Drawer — Delivery Estimate & Trust ────────────────────────────── */
.cart-delivery-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #8c9382;
  letter-spacing: 0.05em;
  padding: 11px 0;
  border-top: 1px solid rgba(236,231,216,0.12);
  margin-bottom: 14px;
  line-height: 1.5;
}
.cart-delivery-row strong { color: #ece7d8; }
.cart-trust-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(236,231,216,0.08);
}
.cart-trust-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  color: #8c9382;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Free Shipping Progress Bar ─────────────────────────────────────────── */
.shipping-progress-wrap {
  margin-bottom: 16px;
  padding: 12px 0 0;
}
.shipping-progress-header {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  color: #8c9382;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.shipping-progress-track {
  background: rgba(236,231,216,0.1);
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
}
.shipping-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c99a5b, #e7bd82);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}
.shipping-progress-msg {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: #52b788;
  margin-top: 5px;
  letter-spacing: 0.04em;
}

/* ── Modal View Link ────────────────────────────────────────────────────── */
.modal-view-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #8c9382;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(236,231,216,0.12);
  padding-top: 14px;
  transition: color 0.2s;
  text-decoration: none;
}
.modal-view-link:hover { color: #c99a5b; }

/* ── Continue Shopping Link ─────────────────────────────────────────────── */
.continue-shopping {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #c99a5b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.continue-shopping:hover { color: #e7bd82; }

/* ── Mobile Body Padding (prevents sticky bar overlap) ───────────────────── */
@media (max-width: 900px) {
  body.has-sticky-bar main,
  body.has-sticky-bar footer { padding-bottom: 68px; }
}

/* ── Manifesto Image — accessible <img> version ─────────────────────────── */
.manifesto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
