/* ============================================================
   YESHILAY — Real photography layer
   All images from Unsplash (free for demo use)
   Overrides .ph placeholders with actual photography
   ============================================================ */

/* ── helper: hide placeholder tags once image is loaded ── */
.has-img .ph__tag { display: none !important; }
.has-img {
  background-image: var(--img) !important;
  background-size: cover !important;
  background-position: center !important;
  /* strip the striped pattern */
  background-blend-mode: normal !important;
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE — Yeshilay v2.html
══════════════════════════════════════════════════════════════ */

/* Hero: semi-opaque pour shot behind the green atmosphere */
.hero__photo-layer {
  position: absolute; inset: 0; z-index: 0;
  background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  opacity: .16;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

/* Origin grove */
.origin__img-wrap .ph {
  --img: url('https://images.unsplash.com/photo-1474552226712-ac0f0961a954?auto=format&fit=crop&w=1600&h=2000&q=88');
  background-image: var(--img) !important;
  background-size: cover !important; background-position: center !important;
}
.origin__img-wrap .ph .ph__tag { display: none; }

/* Gift image — single bottle in box */
.gift__grid .gift__img.ph,
.gift .gift__img.ph {
  --img: url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=900&h=900&q=88');
  background-image: var(--img) !important;
  background-size: cover !important; background-position: center !important;
}
.gift__grid .gift__img .ph__tag,
.gift .gift__img .ph__tag { display: none; }

/* Instagram grid — 4 distinct food/nature shots */
.gram__grid .gram__cell:nth-child(1) {
  background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=600&h=600&q=82') center/cover no-repeat !important;
  border: 0 !important;
}
.gram__grid .gram__cell:nth-child(2) {
  background: url('https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&w=600&h=600&q=82') center/cover no-repeat !important;
  border: 0 !important;
}
.gram__grid .gram__cell:nth-child(3) {
  background: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=600&h=600&q=82') center/cover no-repeat !important;
  border: 0 !important;
}
.gram__grid .gram__cell:nth-child(4) {
  background: url('https://images.unsplash.com/photo-1502082553048-f009c37129b9?auto=format&fit=crop&w=600&h=600&q=82') center/cover no-repeat !important;
  border: 0 !important;
}
.gram__grid .gram__cell .ph__tag { display: none; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT PAGE — Yeshilay Product.html
══════════════════════════════════════════════════════════════ */

/* Main gallery image — hero pour shot */
.pd-main.ph,
#pdMain.ph {
  background: url('https://images.unsplash.com/photo-1546548970-71785318a17b?auto=format&fit=crop&w=1200&h=1500&q=88') center/cover no-repeat !important;
  border: 0 !important;
}
.pd-main .ph__tag, #pdMain .ph__tag { display: none; }

/* Thumbnails */
.pd-thumb:nth-child(1) {
  background: url('https://images.unsplash.com/photo-1546548970-71785318a17b?auto=format&fit=crop&w=300&h=300&q=80') center/cover no-repeat !important;
  border-color: var(--gold) !important;
}
.pd-thumb:nth-child(2) {
  background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=300&h=300&q=80') center/cover no-repeat !important;
}
.pd-thumb:nth-child(3) {
  background: url('https://images.unsplash.com/photo-1547592166-23ac45744acd?auto=format&fit=crop&w=300&h=300&q=80') center/cover no-repeat !important;
}
.pd-thumb:nth-child(4) {
  background: url('https://images.unsplash.com/photo-1474552226712-ac0f0961a954?auto=format&fit=crop&w=300&h=300&q=80') center/cover no-repeat !important;
}
.pd-thumb .ph__tag { display: none; }

/* ══════════════════════════════════════════════════════════════
   STORY PAGE — Yeshilay Story.html
══════════════════════════════════════════════════════════════ */

.st-hero-img .ph {
  background: url('https://images.unsplash.com/photo-1474552226712-ac0f0961a954?auto=format&fit=crop&w=1920&h=1280&q=88') center 40%/cover no-repeat !important;
  border: 0 !important;
}
.st-hero-img .ph .ph__tag { display: none; }

.st-region-img .ph {
  background: url('https://images.unsplash.com/photo-1462275646964-a0e3386b89fa?auto=format&fit=crop&w=1600&h=1200&q=88') center 35%/cover no-repeat !important;
  border: 0 !important;
}
.st-region-img .ph .ph__tag { display: none; }

/* ══════════════════════════════════════════════════════════════
   GIFT PAGE — Yeshilay Gift.html
══════════════════════════════════════════════════════════════ */

/* Gift option cards */
.gp-card:nth-child(1) .gp-card-img.ph {
  background: url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=800&h=600&q=85') center/cover no-repeat !important;
  border: 0 !important;
}
.gp-card:nth-child(2) .gp-card-img.ph {
  background: url('https://images.unsplash.com/photo-1607344645866-009c320b63e0?auto=format&fit=crop&w=800&h=600&q=85') center/cover no-repeat !important;
  border: 0 !important;
}
.gp-card:nth-child(3) .gp-card-img.ph {
  background: url('https://images.unsplash.com/photo-1512909006721-3d6018887383?auto=format&fit=crop&w=800&h=600&q=85') center/cover no-repeat !important;
  border: 0 !important;
}
.gp-card .gp-card-img .ph__tag { display: none; }

/* Corporate section image */
.gp-corp-grid > div:last-child .ph--dark {
  background: url('https://images.unsplash.com/photo-1578922746465-3a80a228f223?auto=format&fit=crop&w=900&h=900&q=85') center/cover no-repeat !important;
  border: 0 !important;
}
.gp-corp-grid > div:last-child .ph__tag { display: none; }

/* Why section image */
.gp-why-grid .reveal:first-child + .reveal .ph,
.gp-why-grid .ph {
  background: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=900&h=900&q=85') center/cover no-repeat !important;
  border: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE — Yeshilay Contact.html
══════════════════════════════════════════════════════════════ */

/* Map placeholder */
.ct-map-inner .ph {
  background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1600&h=500&q=80') center 60%/cover no-repeat !important;
  border: 0 !important;
  filter: saturate(.7) brightness(.85);
}
.ct-map-inner .ph .ph__tag { display: none; }

/* Corporate section */
.ct-corp-grid > div:last-child .ph--dark {
  background: url('https://images.unsplash.com/photo-1578922746465-3a80a228f223?auto=format&fit=crop&w=900&h=900&q=85') center/cover no-repeat !important;
  border: 0 !important;
}
.ct-corp-grid > div:last-child .ph__tag { display: none; }

/* ══════════════════════════════════════════════════════════════
   CATALOG — Yeshilay Catalog.html
══════════════════════════════════════════════════════════════ */

/* Cover page */
.cover__visual .ph {
  background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=1400&h=1600&q=90') center/cover no-repeat !important;
  border: 0 !important;
}
.cover__visual .ph .ph__tag { display: none; }

/* Intro spread */
.intro__img .ph {
  background: url('https://images.unsplash.com/photo-1474552226712-ac0f0961a954?auto=format&fit=crop&w=900&h=1200&q=88') center/cover no-repeat !important;
  border: 0 !important;
}
.intro__img .ph .ph__tag { display: none; }

/* Product visual backgrounds (250ml / 500ml pages) */
.prod-visual .ph {
  background: url('https://images.unsplash.com/photo-1546548970-71785318a17b?auto=format&fit=crop&w=900&h=1200&q=85') center/cover no-repeat !important;
  border: 0 !important; opacity: .38;
}
.prod-visual .ph .ph__tag { display: none; }

/* Gift spread */
.gift-img .ph {
  background: url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=900&h=1200&q=88') center/cover no-repeat !important;
  border: 0 !important;
}
.gift-img .ph .ph__tag { display: none; }

/* Origin landscape */
.origin-img .ph {
  background: url('https://images.unsplash.com/photo-1462275646964-a0e3386b89fa?auto=format&fit=crop&w=1600&h=800&q=88') center 35%/cover no-repeat !important;
  border: 0 !important;
}
.origin-img .ph .ph__tag { display: none; }

/* Catalog page viewer — thumbnail rail */
.cat-thumb:nth-child(1) { background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(2) { background: url('https://images.unsplash.com/photo-1474552226712-ac0f0961a954?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(3) { background: url('https://images.unsplash.com/photo-1546548970-71785318a17b?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(4) { background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(5) { background: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(6) { background: url('https://images.unsplash.com/photo-1546548970-71785318a17b?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; filter:brightness(.7); }
.cat-thumb:nth-child(7) { background: url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(8) { background: url('https://images.unsplash.com/photo-1462275646964-a0e3386b89fa?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; }
.cat-thumb:nth-child(9) { background: url('https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=200&h=280&q=70') center/cover !important; filter:brightness(.4); }
.cat-thumb .cat-thumb-label { display: none; }
