/* ═══════════════════════════════════════════════════
   EURO POLO · products.css
   Shared stylesheet for all product collection pages
═══════════════════════════════════════════════════ */

/* ════════════════════════════════════
   PAGE HERO (shorter than homepage)
════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #060e07 0%, #0c1c0f 50%, #163320 100%);
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, #fff 0px, #fff 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(-45deg, #fff 0px, #fff 1px, transparent 1px, transparent 60px);
}
.page-hero__watermark {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: var(--font-serif);
  font-size: 22vw;
  font-weight: 600;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-top: var(--nav-h);
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  animation: fadeUp 0.9s var(--ease-out) 0.1s both;
}
.page-hero__title em { font-style: italic; color: var(--gold-light); }
.page-hero__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 520px;
  animation: fadeUp 0.9s var(--ease-out) 0.25s both;
}

/* ════════════════════════════════════
   BREADCRUMB
════════════════════════════════════ */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem clamp(1.25rem, 4vw, 3rem);
}
.breadcrumb__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.breadcrumb a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--gold); font-size: 0.65rem; }
.breadcrumb__current {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ════════════════════════════════════
   FILTER BAR
════════════════════════════════════ */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.filter-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }
.filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
}
.filter-tab:hover { color: var(--charcoal); }
.filter-tab--active {
  color: var(--prestige);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ════════════════════════════════════
   PRODUCTS SECTION
════════════════════════════════════ */
.products-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.products-count {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.products-count span { color: var(--charcoal); font-weight: 600; }

/* ── Bags Grid: 3 columns ── */
.products-grid {
  display: grid;
  gap: var(--gap);
}
.products-grid--bags   { grid-template-columns: repeat(3, 1fr); }
.products-grid--small  { grid-template-columns: repeat(4, 1fr); }
.products-grid--luggage { grid-template-columns: repeat(2, 1fr); }

/* ── Extended Product Card (inherits from style.css) ── */
.product-card--page {
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.product-card--page:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.product-card--page .product-card__img {
  height: 280px;
}
.product-card--luggage-img {
  height: 340px !important;
}
.product-card--wallet-img {
  height: 220px !important;
}

/* Product gradient swatches for page cards */
.pc-img--b1 { background: linear-gradient(145deg, #0c1c0f, #163320); }
.pc-img--b2 { background: linear-gradient(145deg, #1a1208, #2e2010); }
.pc-img--b3 { background: linear-gradient(145deg, #141414, #242424); }
.pc-img--b4 { background: linear-gradient(145deg, #0a0e0a, #1f4229); }
.pc-img--b5 { background: linear-gradient(145deg, #16100a, #2a1e12); }
.pc-img--b6 { background: linear-gradient(145deg, #080e09, #132015); }

.pc-img--w1 { background: linear-gradient(145deg, #1a1a1a, #2d2d2d); }
.pc-img--w2 { background: linear-gradient(145deg, #0c1c0f, #163320); }
.pc-img--w3 { background: linear-gradient(145deg, #1a1208, #2e2010); }
.pc-img--w4 { background: linear-gradient(145deg, #14100c, #261e14); }
.pc-img--belt1 { background: linear-gradient(145deg, #0c1c0f, #0f2413); }
.pc-img--belt2 { background: linear-gradient(145deg, #1a1208, #2e2010); }
.pc-img--belt3 { background: linear-gradient(145deg, #101010, #1e1e1e); }

.pc-img--l1 { background: linear-gradient(145deg, #060e07, #0c1c0f); }
.pc-img--l2 { background: linear-gradient(145deg, #0a1208, #1a2010); }
.pc-img--l3 { background: linear-gradient(145deg, #040806, #0c1c0f); }
.pc-img--l4 { background: linear-gradient(145deg, #0c1c0f, #1f4229); }

/* Ghost watermark text on product image placeholders */
.product-card__img[data-label]::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.1em;
  padding: 1rem;
  text-align: center;
  line-height: 1.3;
}

/* Product specs list */
.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.product-card__specs li {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}
.product-card__specs li::before {
  content: '· ';
  color: var(--gold);
}

/* Wishlist icon */
.product-card__wishlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.25s;
  z-index: 3;
}
.product-card__wishlist:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* Hidden cards (filtered out) */
.product-card--hidden { display: none !important; }

/* ════════════════════════════════════
   CTA STRIP
════════════════════════════════════ */
.cta-strip {
  background: var(--prestige);
  padding: 4rem clamp(1.25rem, 4vw, 3rem);
}
.cta-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip__text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-strip__text h3 em { font-style: italic; color: var(--gold-light); }
.cta-strip__text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* ════════════════════════════════════
   WHATSAPP FLOATING BUTTON (all pages)
════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.65); opacity: 0; }
}
.whatsapp-float svg { position: relative; z-index: 1; }
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--prestige);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--prestige);
  border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ════════════════════════════════════
   NAV ACTIVE STATE on product pages
════════════════════════════════════ */
.nav__links a[aria-current="page"] {
  color: var(--gold-light) !important;
}

/* ════════════════════════════════════
   RESPONSIVE — Product Pages
════════════════════════════════════ */
@media (max-width: 1024px) {
  .products-grid--bags   { grid-template-columns: repeat(2, 1fr); }
  .products-grid--small  { grid-template-columns: repeat(2, 1fr); }
  .products-grid--luggage { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { height: 340px; padding-bottom: 2.5rem; }
  .page-hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .products-grid--bags   { grid-template-columns: 1fr; }
  .products-grid--small  { grid-template-columns: repeat(2, 1fr); }
  .products-grid--luggage { grid-template-columns: 1fr; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
}
@media (max-width: 480px) {
  .products-grid--small { grid-template-columns: 1fr; }
}
