/* --- PAGE HEADER --- */
.page-header {
  padding: 3rem 2.5rem 2rem;
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem;
  color: #e8e8e8;
  letter-spacing: 4px;
  text-shadow:
    0 4px 15px rgba(0,0,0,0.9),
    3px 3px 0px rgba(0,0,0,0.5);
}

/* --- SUPPLY SECTION --- */
.supply-section {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

/* Mobile: 375px and up */
/* 1. Override the grid for mobile (2 columns) */
.supply-grid {
  display: grid;
  /* Force 2 columns regardless of screen size */
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: 10px; /* Reduced gap for smaller screens */
}

/* 2. Desktop: 4 columns */
@media (min-width: 1024px) {
  .supply-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem; /* Back to original gap */
  }
}

/* 3. Ensure cards don't have fixed widths that block the grid */
.item-card {
  width: 100% !important; /* Forces cards to fill the grid column */
  min-width: 0 !important; /* Allows them to shrink if necessary */
}

/* Adjust font sizes for tight mobile space */
@media (max-width: 400px) {
  .item-name {
    font-size: 1rem;
  }
  .item-price {
    font-size: 0.9rem;
  }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .supply-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
/* --- ITEM CARD --- */
.item-card {
  background: #111;
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.8);
}

.item-card:hover .item-img-wrap img {
  transform: scale(1.06);
}

.item-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.item-info {
  padding: 1rem 1rem 1.25rem; /* Increased bottom padding from 0.5rem to 1.25rem */
  flex: 1;
}
/* Change this: */
.item-card:hover .item-info {
  transform: translateY(0); /* Remove any upward translate offsets */
}

.item-tag {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.item-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  color: #e0e0e0;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.item-spec {
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 1px;
}
/* Make sure the image wrap can anchor the absolute overlay */
.item-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
}

/* 1. Quick View Overlay Style (Hidden by default) */
.quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Let clicks pass through if needed, or handle via JS */
}

/* Styled text mimicking your minimalist Bebas/Barlow theme */
.quick-view-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 0.6rem 1.2rem;
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 2. Reveal on Hover */
.item-card:hover .quick-view-overlay {
  opacity: 1;
}

.item-card:hover .quick-view-overlay span {
  transform: translateY(0);
}

/* Optional: Add a slight blur to the image on hover */
.item-card:hover .item-img-wrap img {
  transform: scale(1.06);
  filter: blur(2px) brightness(0.7);
}

/* --- CARD BUTTONS --- */
.card-btns {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
}

.btn-cart {
  flex: 1;
  background: transparent;
  color: #888;
  padding: 0.55rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart:hover {
  background: #333;
  color: #e0e0e0;
}

.btn-buy {
  flex: 1;
  background: #e8e8e8;
  color: #0d0d0d;
  padding: 0.55rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-buy:hover {
  background: #ccc;
  border-color: #ccc;
}

/* --- POPUP OVERLAY --- */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 100;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.popup-overlay.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.popup-box {
  background: #111;
  border: 1px solid #222;
  width: 100%;
  max-width: 680px;
  margin: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #555;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.popup-close:hover { color: #e0e0e0; }

/* --- POPUP IMAGE --- */
.popup-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
}

.popup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- POPUP BODY --- */
.popup-body {
  padding: 2rem;
}

.popup-tag {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.popup-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: #e8e8e8;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.popup-spec {
  font-size: 0.85rem;
  color: #555;
  letter-spacing: 1px;
}

.popup-divider {
  height: 1px;
  background: #222;
  margin: 1.5rem 0;
}

/* --- DESCRIPTION --- */
.popup-desc-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.popup-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

/* --- SIZES --- */
.sizes-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sizes-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.size-btn {
  background: transparent;
  color: #666;
  padding: 0.45rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  background: #e8e8e8;
  color: #0d0d0d;
  border-color: #e8e8e8;
}
/* --- COLOR SELECTOR --- */
#popup-color-container {
  margin-bottom: 1.5rem;
}

.popup-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.color-btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.color-btn {
  background: transparent;
  color: #666;
  padding: 0.45rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.color-btn:hover,
.color-btn.active {
  background: #e8e8e8;
  color: #0d0d0d;
  border-color: #e8e8e8;
}
/* --- POPUP BUTTONS --- */
.popup-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.popup-cart {
  flex: 1;
  background: transparent;
  color: #888;
  padding: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-cart:hover {
  background: #333;
  color: #e0e0e0;
}

.popup-buy {
  flex: 1;
  background: #e8e8e8;
  color: #0d0d0d;
  padding: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-buy:hover { background: #ccc; }

/* --- REVIEWS --- */
.reviews-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.review-card {
  border: 1px solid #1e1e1e;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.review-name {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.review-stars {
  color: #555;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  color: #e0e0e0;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.7rem;
  color: #555;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: #ccc; }

.footer-copy {
  font-size: 0.65rem;
  color: #333;
  letter-spacing: 2px;
  align-self: flex-end;
}
.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Shrunk from 50px to a sleek 26px */
  height: 26px;
  width: 26px;
  
  /* Keeps your glowing drop-shadows */
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.8))
          drop-shadow(0 0 10px rgba(255,255,255,0.5));
  transition: filter 0.3s;
  cursor: pointer;
}

/* Ensure the image inside scales to fit the wrapper perfectly */
.cart-icon-wrap img,
.cart-icon-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-icon-wrap:hover {
  filter: drop-shadow(0 0 8px rgba(255,255,255,1))
          drop-shadow(0 0 18px rgba(255,255,255,0.8));
}

.cart-badge {
  position: absolute;
  /* Adjusted position to sit perfectly on the corner of the smaller 26px icon */
  top: -5px;
  right: -7px;
  
  background: #e8e8e8;
  color: #0d0d0d;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.5rem; /* Marginally smaller font for the compact badge */
  font-weight: 700;
  
  /* Shrunk from 16px to 13px */
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
/* --- PAGE HEADER --- */
.page-header {
  padding: 3rem 2.5rem 2rem;
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem;
  color: #e8e8e8;
  letter-spacing: 4px;
  text-shadow:
    0 4px 15px rgba(0,0,0,0.9),
    3px 3px 0px rgba(0,0,0,0.5);
}

/* --- SUPPLY SECTION --- */
.supply-section {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* --- ITEM CARD --- */
.item-card {
  background: #111;
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.8);
}

.item-card:hover .item-img-wrap img {
  transform: scale(1.06);
}

.item-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.item-info {
  padding: 1rem 1rem 0.5rem;
  flex: 1;
}

.item-tag {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.item-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  color: #e0e0e0;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.item-spec {
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 1px;
}

.card-btns {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
}

.btn-cart {
  flex: 1;
  background: transparent;
  color: #888;
  padding: 0.55rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart:hover {
  background: #333;
  color: #e0e0e0;
}

.btn-buy {
  flex: 1;
  background: #e8e8e8;
  color: #0d0d0d;
  padding: 0.55rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-buy:hover {
  background: #ccc;
  border-color: #ccc;
}

/* --- POPUP --- */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 100;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.popup-overlay.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.popup-box {
  background: #111;
  border: 1px solid #222;
  width: 100%;
  max-width: 680px;
  margin: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #555;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.popup-close:hover { color: #e0e0e0; }

.popup-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
}

.popup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-body { padding: 2rem; }

.popup-tag {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.popup-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: #e8e8e8;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.popup-spec {
  font-size: 0.85rem;
  color: #555;
  letter-spacing: 1px;
}

.popup-divider {
  height: 1px;
  background: #222;
  margin: 1.5rem 0;
}

.popup-desc-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.popup-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.sizes-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sizes-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.size-btn {
  background: transparent;
  color: #666;
  padding: 0.45rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  background: #e8e8e8;
  color: #0d0d0d;
  border-color: #e8e8e8;
}

.popup-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.popup-cart {
  flex: 1;
  background: transparent;
  color: #888;
  padding: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-cart:hover {
  background: #333;
  color: #e0e0e0;
}

.popup-buy {
  flex: 1;
  background: #e8e8e8;
  color: #0d0d0d;
  padding: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-buy:hover { background: #ccc; }

.reviews-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.review-card {
  border: 1px solid #1e1e1e;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.review-name {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.review-stars {
  color: #555;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
}

/* --- TOAST --- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #e8e8e8;
  color: #0d0d0d;
  padding: 0.75rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show { opacity: 1; }
/* ---- POPUP IMAGE CAROUSEL ---- */
.carousel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  align-items: center;
}

.carousel-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #e0e0e0;
  border: 1px solid rgba(255,255,255,0.1);
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.85);
  color: #fff;
}

.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0.6rem 0 0.2rem;
  background: #111;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #e8e8e8;
  transform: scale(1.3);
}

/* Single image fallback (no carousel) */
#popup-img-container > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}
.eyebrow-reveal{
  color: white;
}
/* ── PRICE / POPUP (shop page) ── */
.item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 0.4rem;
}

.popup-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin: 0.5rem 0;
}

/* ── MODEL BANNER ── */
.model-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
  cursor: grab;
  user-select: none;
}

.model-banner:active {
  cursor: grabbing;
}

.model-banner-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.model-banner-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.model-banner-slide img {
  width: 100%;
  height: 90vh;
  max-height: 920px;
  min-height: 520px;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: filter 0.9s ease;
  filter: brightness(0.85);
}

.model-banner-slide.is-active img {
  filter: brightness(1);
}

/* Bottom overlay */
.model-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.18) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.4rem 2.8rem;
  pointer-events: none;
}

.banner-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.banner-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.banner-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s 0.15s ease, transform 0.55s 0.15s ease;
}

.banner-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: #fff;
  letter-spacing: 2px;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s 0.28s ease, transform 0.55s 0.28s ease;
}

.banner-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s 0.38s ease, transform 0.55s 0.38s ease;
}

.model-banner-slide.is-active .banner-eyebrow,
.model-banner-slide.is-active .banner-headline,
.model-banner-slide.is-active .banner-sub {
  opacity: 1;
  transform: translateY(0);
}

/* Slide counter */
.banner-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: auto;
}

.banner-counter-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
}

.banner-dots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.banner-dot {
  width: 3px;
  height: 20px;
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: background 0.35s, height 0.35s;
}

.banner-dot.active {
  background: #fff;
  height: 36px;
}

/* Progress bar */
.banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255,255,255,0.85);
  width: 0%;
  transition: width linear;
}

/* Arrow nav */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: background 0.25s, border-color 0.25s;
}

.banner-arrow:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.45);
}

.banner-arrow-prev { left: 1.2rem; }
.banner-arrow-next { right: 1.2rem; }
/* ==========================================================================
   SUPPLY / SHOP CARDS & USER DROPDOWN MASTER LAYOUT
   ========================================================================== */

/* --- MARKETPLACE PROFILE HEADER DROPDOWN STRUCTURE --- */
.cart-user-profile-bar {
    position: relative;
}

.profile-clickable-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.profile-bar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #333;
    background: #1a1a1a;
}

.profile-bar-info {
    display: flex;
    flex-direction: column;
}

.profile-bar-label {
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.profile-bar-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin: 0;
}

.profile-bar-login-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    color: #ff4d2c;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
}

.profile-bar-login-link:hover {
    text-decoration: underline;
}

/* Menu Popover Container Alignment Box */
.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: #1c1c1c;
    border: 1px solid #333;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000;
    display: none; 
    flex-direction: column;
}

.profile-dropdown-menu.active {
    display: flex;
}

/* Arrow Pointer Trim Indicator */
.profile-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 25px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #1c1c1c transparent;
}

.dropdown-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    transition: background 0.2s ease;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-link:hover {
    background: #292929;
    color: #ff4d2c;
}

.dropdown-link:not(:last-child) {
    border-bottom: 1px solid #262626;
}

/* --- PRODUCT DISPLAY DISPLAY MATRIX GRID --- */
.supply-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.supply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem 2rem;
}

.item-card {
    background: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.item-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0d0d0d;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.item-card:hover .item-img-wrap img {
    transform: scale(1.04);
}

/* Desktop Quick View Tap Sheet Reveal Overlay */
.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-view-overlay span {
    font-family: 'Barlow Condensed', sans-serif;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #fff;
    padding: 0.6rem 1.2rem;
}

@media (hover: hover) {
    .item-card:hover .quick-view-overlay {
        opacity: 1;
    }
}

/* Product Info Blocks */
.item-info {
    padding: 1rem 0;
}

.item-tag {
    font-size: 0.7rem;
    color: #ff4d2c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.2rem 0;
}

.item-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.2rem 0;
}

.item-spec {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.5rem 0;
}

.item-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Inline Desktop Quick Action Buttons Matrix */
.card-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 0.5rem;
}

.card-btns button {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-btns .btn-cart:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.card-btns .btn-buy:hover {
    background: #ff4d2c;
    color: #fff;
    border-color: #ff4d2c;
}

/* --- LIGHTBOX POPUP DETAIL SLIDER WINDOW --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.popup-box {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #666;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 10;
}

.popup-close:hover {
    color: #fff;
}

/* Carousel Control Trackers */
#popup-img-container {
    width: 100%;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    aspect-ratio: 1/1;
}

.carousel-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

#popup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 5;
}

.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.carousel-dot.active {
    background: #fff;
}

/* Modal Variant Body Details */
.popup-body {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.popup-tag {
    font-size: 0.75rem;
    color: #ff4d2c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0.5rem 0;
}

.popup-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.popup-spec {
    font-size: 0.95rem;
    color: #888;
    margin: 0 0 1rem 0;
}

.popup-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
}

.popup-divider {
    height: 1px;
    background: #1a1a1a;
    margin: 1.5rem 0;
}

.popup-desc-label, .sizes-label, .popup-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #444;
    margin: 0 0 0.5rem 0;
}

.popup-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #aaa;
    margin: 0 0 1.5rem 0;
}

/* Sizing Buttons Matrix */
.sizes-row, .color-btn-group {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.size-btn, .color-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    color: #fff;
    border: 1px solid #222;
    padding: 0.5rem 1rem;
    cursor: pointer;
    min-width: 45px;
    transition: all 0.2s ease;
}

.size-btn:hover, .color-btn:hover {
    border-color: #555;
}

.size-btn.active, .color-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Bottom Actions Control Elements */
.popup-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.popup-btns button {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.popup-cart {
    background: #fff;
    color: #000;
}

/* ==========================================================================
   TIGHTER DESCRIPTION SPACING + BUY NOW RECOLOR
   ========================================================================== */
.popup-desc {
  margin: 0 0 0.75rem 0;
  line-height: 1.45;
}

.popup-divider {
  margin: 0.9rem 0;
}

.popup-buy,
.btn-buy {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #e8e8e8;
}

.popup-buy:hover,
.btn-buy:hover {
  background: #e8e8e8 !important;
  color: #0d0d0d !important;
}

/* ==========================================================================
   SIZE CHART — empty placeholder, drop your own image in later
   ========================================================================== */
.size-chart-section {
  margin: 1rem 0 1.5rem 0;
}

.size-chart-placeholder {
  border: 1px dashed #333;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 1rem;
}

/* If/when an <img> is added inside .size-chart-placeholder, it fills the box */
.size-chart-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   WRITE A REVIEW — name, star picker, text, submit
   ========================================================================== */
.write-review-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #1a1a1a;
}

.write-review-box input[type="text"],
.write-review-box textarea {
  width: 100%;
  background: #111;
  border: 1px solid #262626;
  color: #e0e0e0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.6rem;
  resize: vertical;
}

.write-review-box input[type="text"]:focus,
.write-review-box textarea:focus {
  outline: none;
  border-color: #555;
}

.star-picker {
  display: flex;
  gap: 4px;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.star-picker span {
  cursor: pointer;
  color: #333;
  transition: color 0.15s ease;
}

.star-picker span.filled {
  color: #e8e8e8;
}

.submit-review-btn {
  background: #e8e8e8;
  color: #0d0d0d;
  border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}

.submit-review-btn:hover {
  background: #ccc;
}

.popup-btns button:active {
    transform: scale(0.98);
}

/* --- MOBILE COMPACTION RESPONSIVENESS OVERRIDES --- */
@media (max-width: 768px) {
    .popup-box {
        grid-template-columns: 1fr;
    }
    .popup-overlay {
        padding: 1rem;
    }
    .popup-body {
        padding: 2rem 1.5rem;
    }
    .supply-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
    .item-name {
        font-size: 1.1rem;
    }
    .card-btns {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 768px) {
  .model-banner-slide img { height: 56vh; }
  .model-banner-overlay { padding: 1.5rem; }
  .banner-arrow { display: none; }
}
/*=================drops===================*/
/* 1. Force the grid items to stretch equally in their row */
.drops-grid, 
.supply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch; /* Makes sure cards in the same row have identical heights */
  gap: 1rem;
}

/* 2. Turn the card into a flex column so we can manage internal spacing */
.item-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* Spans the full height of the grid row */
  background: #111; /* Or whatever your card background color is */
  border: 1px solid #222;
}

/* 3. Make the info container push everything else up, keeping the price locked at the bottom */
.item-info {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.5rem; /* Balanced padding */
  flex-grow: 1; /* Expands to fill remaining space */
}

/* 4. Keep the spec/description flexible, but push the price down */
.item-spec {
  margin-bottom: auto; /* This magic line pushes the price to the absolute bottom */
  padding-bottom: 1rem; /* Creates a clean gap above the price */
}

/* 5. Clean, consistent price styling */
.item-price {
  margin-top: auto;
  font-weight: bold;
}
/*================mobile addons================*/
/* Buttons stay visible and contained inside the card on mobile too
   (grid-template-columns: 1fr rule above stacks them full-width) */

/* Wrapper for the always-visible face of the card: photo, tag, name, price */
.card-outer {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ==========================================================================
   POPUP LAYOUT — HORIZONTAL PHOTO + CUSTOM SCROLLING TEXT PANEL
   The photo now stretches to fill the image column horizontally at a
   fixed landscape height (not squeezed tall, not leaving empty space).
   Only the text/details column scrolls if content overflows, using a
   slim custom scrollbar instead of the browser's default one.
   ========================================================================== */
.popup-box {
  align-items: stretch;
  max-height: 85vh;
  overflow: hidden;
}

#popup-img-container,
.popup-body {
  min-width: 0;
}

#popup-img-container {
  height: 100%;
  aspect-ratio: unset;
  position: relative;
  overflow: hidden;
}

.carousel-wrap,
.carousel-wrap img,
#popup-img,
#popup-img-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-body {
  max-height: 85vh;
  overflow-y: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #ccc #1a1a1a;
}

/* Custom scrollbar (Chrome, Edge, Safari) */
.popup-body::-webkit-scrollbar {
  width: 6px;
}
.popup-body::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.popup-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.popup-body::-webkit-scrollbar-thumb:hover {
  background: #e8e8e8;
}

@media (max-width: 768px) {
  .popup-box {
    max-height: 90vh;
    overflow-y: auto;
  }
  #popup-img-container {
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .popup-body {
    max-height: none;
    overflow-y: visible;
  }
}
.discount-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 6;
  background: #e8e8e8;
  color: #0d0d0d;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.2rem 0.5rem;
}

/* --- SOLD OUT (driven by the admin dashboard) --- */
.sold-out-ribbon {
  position: absolute;
  top: 0.9rem;
  left: -2.2rem;
  z-index: 7;
  width: 9rem;
  transform: rotate(-40deg);
  background: #ff3b3b;
  color: #fff;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  pointer-events: none;
}

.item-card.is-sold-out .item-img-wrap img {
  filter: grayscale(0.6) brightness(0.55);
}

.popup-soldout-badge {
  display: inline-block;
  background: #ff3b3b;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin: 0.3rem 0 0.6rem;
}

.popup-sold-out-msg {
  font-size: 0.8rem;
  color: #ff6b6b;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: -0.75rem 0 1.5rem;
}

.popup-cart.is-disabled,
.popup-buy.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.sizes-row.is-disabled .size-btn {
  opacity: 0.4;
  cursor: not-allowed;
}

.size-chart-empty,
.reviews-empty,
.reviews-loading {
  font-size: 0.8rem;
  color: #555;
  letter-spacing: 0.5px;
}

.video-play-icon {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  z-index: 4;
}

.badge-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.badge-preferred {
  background: #e8e8e8;
  color: #0d0d0d;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
}

.badge-deal {
  background: transparent;
  color: #999;
  border: 1px solid #444;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.sold-count {
  font-size: 0.7rem;
  color: #666;
  white-space: nowrap;
}

/* ==========================================================================
   POPUP: SPECIFICATIONS TABLE
   ========================================================================== */
.specs-table {
  margin-bottom: 1.5rem;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.85rem;
}

.specs-label {
  color: #666;
  flex-shrink: 0;
}

.specs-value {
  color: #ccc;
  text-align: right;
}

/* ==========================================================================
   CARD BUTTONS — HOVER REVEAL
   The card's "outer" face is always just the photo, tag, name, and price.
   The Add to Cart / Buy Now buttons live tucked "inside" and only slide
   up into view on hover — same idea as the Quick View overlay on the image.
   ========================================================================== */
.item-card {
  position: relative;
  overflow: hidden; /* keeps the buttons contained within the card's border */
}

.card-btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 0.75rem 1rem 1rem;
  background: linear-gradient(to top, rgba(17,17,17,0.97) 55%, rgba(17,17,17,0));
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.item-card:hover .card-btns {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Touch devices can't hover — keep buttons visible and in normal flow there */
@media (hover: none) {
  .card-btns {
    position: static;
    opacity: 1;
    transform: none;
    background: none;
    pointer-events: auto;
  }
  .item-card {
    overflow: visible;
  }
}
