/* ══════════════════════════════════════════════════════
   LAGNA VASTRA — PRODUCT / COLLECTION PAGE STYLES
══════════════════════════════════════════════════════ */

/* ── Collection Hero ───────────────────────────────── */
.col-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.col-hero-bg { position: absolute; inset: 0; }
.col-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88);
  transition: transform 8s ease;
}
.col-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(28,26,23,0.9) 0%, rgba(28,26,23,0.3) 50%, transparent 100%),
    linear-gradient(to right, rgba(28,26,23,0.35) 0%, transparent 60%);
}
.col-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 80px 56px;
}
.col-hero-tag {
  display: block;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--gold-pale);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.col-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}
.col-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-pale);
}
.col-hero-sub {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold-pale);
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}
.col-hero-includes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.85s forwards;
}
.col-hero-includes span {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(250,247,242,0.75);
}
.ci-sep { color: var(--gold-pale); opacity: 0.5; }
.col-hero-content .btn-gold {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

/* ── Breadcrumb ────────────────────────────────────── */
.breadcrumb {
  padding: 14px 80px;
  background: var(--ivory);
  border-bottom: 1px solid var(--ivory-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--ink-light);
}
.breadcrumb a { color: var(--ink-light); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.bc-active { color: var(--ink); }

/* ── Filter Bar ────────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--ivory-deep);
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 72px;
  z-index: 50;
}
.filter-tabs { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.ftab {
  padding: 16px 18px;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.ftab:hover { color: var(--ink); }
.ftab.active { color: var(--gold); border-bottom-color: var(--gold); }
.filter-sort { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sort-label {
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--ink-light);
  text-transform: uppercase;
  white-space: nowrap;
}
.sort-select {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--ivory-deep);
  padding: 6px 28px 6px 12px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7268' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ── Products Grid ─────────────────────────────────── */
.products-section {
  background: var(--ivory);
  padding: 56px 80px 100px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1440px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.4s var(--ease);
}
.product-card:hover { box-shadow: 0 8px 40px rgba(28,26,23,0.12); }

.pc-img-wrap {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--ivory-deep);
}
.pc-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out);
}
.product-card:hover .pc-img { transform: scale(1.04); }

.pc-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .pc-actions { opacity: 1; transform: translateY(0); }
.pc-action-btn {
  padding: 11px 32px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  transition: background 0.3s, color 0.3s;
}
.pc-action-btn:hover { background: var(--gold); color: var(--white); }

.pc-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 12px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.pc-badge-new { background: var(--charcoal); }
.pc-badge-exclusive { background: var(--ink-mid); }

.pc-body { padding: 18px 20px 22px; border-top: 1px solid var(--ivory-deep); }
.pc-category {
  display: block;
  font-family: var(--display);
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  color: var(--ink-light);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pc-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 4px;
  line-height: 1.2;
}
.pc-desc {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 14px;
  line-height: 1.5;
}
.pc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pc-cta {
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 1px;
  transition: color 0.3s, letter-spacing 0.3s;
  white-space: nowrap;
}
.pc-cta:hover { color: #9A7820; letter-spacing: 0.24em; }

/* ── Complete Your Look Strip ──────────────────────── */
.cyl-strip {
  background: var(--ivory-mid);
  padding: 72px 80px;
  border-top: 1px solid var(--ivory-deep);
}
.cyl-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}
.cyl-strip-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cyl-strip-desc {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 28px;
}
.cyl-strip-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.cyl-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cyl-item img {
  width: 100%; height: 160px;
  object-fit: cover; object-position: center;
  filter: saturate(0.8);
  transition: filter 0.4s;
}
.cyl-item:hover img { filter: saturate(1); }
.cyl-item span {
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--ink-mid);
  text-transform: uppercase;
  text-align: center;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .col-hero-content { padding: 0 40px 48px; }
  .breadcrumb, .filter-bar, .products-section, .cyl-strip { padding-left: 40px; padding-right: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cyl-strip-inner { grid-template-columns: 1fr; gap: 40px; }
  .filter-bar { top: 70px; }
}
@media (max-width: 640px) {
  .col-hero-content { padding: 0 24px 36px; }
  .breadcrumb, .filter-bar, .products-section, .cyl-strip { padding-left: 24px; padding-right: 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .pc-img-wrap { height: 380px; }
  .cyl-strip-items { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* ══════════════════════════════════════════════════════
   IMAGE LIGHTBOX — COLLECTION PAGES
══════════════════════════════════════════════════════ */
.pc-img-wrap { cursor: zoom-in; }

.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.img-lightbox.open { opacity: 1; pointer-events: all; }

.img-lb-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,8,6,0.92);
  z-index: 2999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}
.img-lb-backdrop.open { opacity: 1; pointer-events: all; }

.img-lb-wrap {
  position: relative;
  z-index: 3001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.img-lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.img-lightbox.open .img-lb-img { transform: scale(1); }

.img-lb-caption {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(250,247,242,0.6);
  text-transform: uppercase;
  text-align: center;
}

.img-lb-close {
  position: fixed;
  top: 20px; right: 28px;
  z-index: 3002;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}
.img-lb-close:hover { background: var(--gold); border-color: var(--gold); }

.img-lb-prev, .img-lb-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  z-index: 3002;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.img-lb-prev:hover, .img-lb-next:hover { background: var(--gold); border-color: var(--gold); }
.img-lb-prev { left: 20px; }
.img-lb-next { right: 20px; }

.img-lb-counter {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3002;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(250,247,242,0.5);
  text-transform: uppercase;
}
