/* ═══════════════════════════════════════════
   LA PERGOLA — shop.css
═══════════════════════════════════════════ */

/* ─── Variables ───────────────────────────── */
:root {
  --shop-blue:   #1A3CFF;
  --shop-blue-dk:#0d2299;
  --shop-bg:     #faf9f6;
  --shop-card:   #ffffff;
  --shop-border: #e8e5de;
  --shop-text:   #1a1a1a;
  --shop-muted:  #6b6660;
}

/* ─── Fond global ─────────────────────────── */
.page-shop {
  background: var(--shop-bg);
}

/* ─── Hero ────────────────────────────────── */
.shop-hero {
  position: relative;
  height: 56vh;
  min-height: 380px;
  max-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}
.shop-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .72;
}
.shop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 55%);
}
.shop-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.shop-hero-eyebrow {
  display: block;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
  font-weight: 500;
}
.shop-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .95;
  color: #fff;
  margin: 0;
}
.shop-hero-title span {
  color: rgba(255,255,255,.45);
}

/* ─── Conteneur principal ─────────────────── */
.shop-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

/* ─── Intro ───────────────────────────────── */
.shop-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}
.shop-intro-label {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--shop-blue);
  font-weight: 600;
  margin-bottom: .75rem;
}
.shop-intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--shop-text);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.shop-intro-divider {
  width: 48px;
  height: 3px;
  background: var(--yellow, #FFB81C);
  margin: 0 auto 1.25rem;
}
.shop-intro-text {
  font-size: 1rem;
  color: var(--shop-muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ─── Grille produits ─────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ─── Carte produit ───────────────────────── */
.shop-card {
  /* pas de cursor: pointer — article non cliquable */
  cursor: default;
}

.shop-card-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ede9e2;
  margin-bottom: 1rem;
}

/* Photo principale */
.shop-card-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .4s ease;
  opacity: 1;
}

/* Photo secondaire (hover) — même fichier pour l'instant,
   prête à recevoir une deuxième image si elle est fournie plus tard */
.shop-card-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .4s ease;
  opacity: 0;
}

.shop-card-media:hover .shop-card-img-main { opacity: 0; }
.shop-card-media:hover .shop-card-img-hover { opacity: 1; }

/* Badge "NOUVEAUTÉ" optionnel */
.shop-card-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--shop-blue);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  z-index: 2;
}

/* Infos produit */
.shop-card-info {
  padding: 0 .1rem;
}
.shop-card-name {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--shop-text);
  line-height: 1.35;
  margin: 0 0 .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.shop-card-price {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--shop-blue);
}

/* ─── Bande déco bas de page ──────────────── */
.shop-strip {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 2rem;
}
.shop-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: .6;
  display: block;
}
.shop-strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250,249,246,.55);
}
.shop-strip-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
}
.shop-strip-label {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--shop-blue);
  font-weight: 700;
}
.shop-strip-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  color: var(--shop-text);
  font-weight: 400;
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .shop-hero-content { padding: 0 1.25rem 2rem; }
  .shop-main { padding: 3rem 1.25rem 4rem; }
  .shop-grid { gap: 1rem; }
  .shop-strip { height: 200px; }
}
