/* 
   Agathe-Style: Brutalist & Minimalist Chic
   Inspiration: Agathe Clément
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  --bg-primary: #ffffff;
  --text-primary: #000000;
  --text-secondary: #333333;
  --accent: #10b981; /* Emerald green accent */
  --border-color: #000000;
  --shadow-color: rgba(0, 0, 0, 1);
  --border-subtle: rgba(0, 0, 0, 0.1);
}

body {
  background: var(--bg-primary);
  font-family: 'Outfit', sans-serif !important;
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
}

/* PREMIUM CINEMATIC PRELOADER */
#premium-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0a0a0a; /* Off-black minimal high-end background */
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: slideUpOut 0.9s cubic-bezier(0.85, 0, 0.15, 1) 2.2s forwards;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.05em;
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.95);
  animation: logoFocusReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.preloader-logo .logo-text {
  color: var(--accent); /* Emerald green */
}

/* Thin Elegant Progress/Separator Line */
.preloader-line-container {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0 1rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.6s forwards;
}

.preloader-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineProgress 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

.preloader-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
  opacity: 0;
  transform: translateY(8px);
  animation: subtitleReveal 1s cubic-bezier(0.25, 1, 0.5, 1) 0.9s forwards;
}

/* Skip preloader cases (sessionStorage cache) */
.skip-preloader #premium-preloader {
  display: none !important;
  animation: none !important;
}

@keyframes slideUpOut {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
    visibility: hidden;
  }
}

@keyframes logoFocusReveal {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.95);
    letter-spacing: -0.05em;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    letter-spacing: 0.05em;
  }
}

@keyframes lineProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes subtitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* MARQUEE (News Ticker) */
.marquee-container {
  width: 100%;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  z-index: 100;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  padding-right: 50px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* NAVIGATION */
.site-navbar {
  background-color: #f4f4f4 !important;
  padding: 1rem 0 !important;
  position: sticky !important;
  top: 0;
  z-index: 999 !important;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

/* Scrolled: subtle shadow — menu mobile reste au-dessus grâce au z-index plus élevé */
.site-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  background-color: rgba(244, 244, 244, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0 !important;
}

/* Le menu mobile passe TOUJOURS au-dessus de la barre */
.site-mobile-menu {
  z-index: 3000 !important;
  position: fixed !important;
}

/* ─── ANTI-SCROLL HORIZONTAL GLOBAL ─── */
/* overflow-x: hidden sur body/html bloque position: sticky — on utilise clip sur le wrapper */
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-wrap {
  overflow-x: clip;
}



.brand-text {
  font-size: 1.6rem !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none !important;
  text-transform: lowercase !important;
  font-family: 'Outfit', sans-serif !important;
  transition: opacity 0.2s ease;
}
.brand-text:hover { opacity: 0.7; }
.brand-text span { color: var(--accent); }

.site-navigation .site-menu > li > a {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: lowercase !important; /* Request: lowercase */
  color: #999 !important;
  text-decoration: none;
  letter-spacing: 0.12em;
  font-family: 'Outfit', sans-serif !important;
  padding: 8px 18px;
  position: relative;
  transition: all 0.3s ease;
}

.site-navigation .site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}


.site-navigation .site-menu > li > a:hover,
.site-navigation .site-menu > li.active > a {
  color: #111 !important;
  font-weight: 500;
}

/* Active dot indicator */
.site-navigation .site-menu > li.active > a::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

/* Hover underline */
.site-navigation .site-menu > li:not(.active) > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 16px;
  height: 1px;
  background: #ccc;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}
.site-navigation .site-menu > li:not(.active):hover > a::after {
  transform: translateX(-50%) scaleX(1);
}


/* Dropdown Menu - Brutalist */
.site-navigation .site-menu .has-children {
  position: relative;
}

.site-navigation .site-menu > li.nav-arts > a:hover   { color: #e8363a !important; } /* rouge */
.site-navigation .site-menu > li.nav-photo > a:hover  { color: #2563eb !important; } /* bleu */
/* Navigation States for specific items */
.nav-events > a:hover,
.nav-events.active > a {
    color: #111111 !important; /* noir */
}

/* Pure CSS Entrance Animation (for pages WITHOUT preloader) */
.site-wrap {
    opacity: 0;
    animation: siteFadeIn 0.8s ease 0.1s forwards;
}

/* Elegant camera zoom & fade reveal for pages WITH preloader */
.has-preloader .site-wrap {
    opacity: 0;
    transform: scale(1.03);
    animation: siteFocusReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) 2.2s forwards;
}

/* Skip preloader active cases: instant display of site content */
.skip-preloader.has-preloader .site-wrap {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

@keyframes siteFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes siteFocusReveal {
    0% {
        opacity: 0;
        transform: scale(1.03);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Exit effect (JS-triggered) */
body.is-leaving .site-wrap {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-transition-overlay {
    display: none;
}

/* Refined Dropdown */
.site-navigation .site-menu .dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 300;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

.site-navigation .site-menu .has-children:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-navigation .site-menu .dropdown > li > a {
  display: block;
  padding: 10px 24px;
  color: #777 !important;
  font-weight: 300;
  font-size: 0.8rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-navigation .site-menu .dropdown > li > a:hover {
  color: #111 !important;
  padding-left: 30px;
}


/* HERO SECTION */
.hero-section {
  padding: 6rem 0;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* GRIDS AND CARDS (Brutalist) */
.portfolio-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.premium-card {
  flex: 1;
  background: var(--bg-primary);
  border: 3px solid var(--text-primary);
  padding: 2.5rem 1.5rem;
  text-align: center;
  text-decoration: none !important;
  position: relative;
  transition: transform 0.2s ease;
  box-shadow: 12px 12px 0px var(--shadow-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.premium-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 16px 16px 0px var(--shadow-color);
}

/* Arts Card - Red */
.premium-card.card-arts:hover {
  box-shadow: 16px 16px 0px #ff0000;
  border-color: #ff0000;
}
.premium-card.card-arts:hover .card-icon,
.premium-card.card-arts:hover .card-title {
  color: #ff0000;
}

/* Photo Card - Blue */
.premium-card.card-photo:hover {
  box-shadow: 16px 16px 0px #0000ff;
  border-color: #0000ff;
}
.premium-card.card-photo:hover .card-icon,
.premium-card.card-photo:hover .card-title {
  color: #0000ff;
}

.card-icon {
  font-size: 4rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.card-title {
  font-size: 3rem;
  color: var(--text-primary);
  font-weight: 900;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* PHOTO GRID (Masonry / Strict) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.photo-card {
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--text-primary);
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1/1;
  box-shadow: 8px 8px 0px var(--shadow-color);
}

.photo-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--shadow-color);
}

.photo-card-content {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: all 0.3s ease;
}

/* Photo Page Theme */
.photo-page-wrap .hero-title {
  font-size: 1.1rem !important;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-bottom: 0;
}

.photo-page-wrap .hero-section {
  border-bottom: none !important;
  background-color: #f4f4f4 !important;
}

.photo-page-wrap .site-navbar {
  background-color: #f4f4f4 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.photo-page-wrap .site-navbar.scrolled {
  background-color: rgba(244, 244, 244, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
}

/* Milan Balog Style (Editorial Image Grid - Full Width) */
.milan-balog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 0;
}

.milan-balog .photo-card {
  background-color: #f4f4f4 !important;
  border: none !important;
  box-shadow: none !important;
  aspect-ratio: 3/4;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 991px) {
  .milan-balog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .milan-balog {
    grid-template-columns: 1fr;
  }
}

.milan-balog .photo-card:hover {
  transform: scale(1.01);
}

.milan-balog .photo-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4));
  opacity: 1; /* Permanent */
  transition: all 0.4s ease;
  padding: 1.5rem;
}

.milan-balog .photo-card:hover .photo-card-content {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6));
}

.milan-balog .photo-card-title {
  color: #fff !important;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  margin-top: auto;
  padding-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Category label on photo cards */
.photo-card-category {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  font-weight: 300;
  text-transform: uppercase;
  display: block;
  margin-top: auto;
  padding-bottom: 0.25rem;
}

/* Featured card (first one - full width landscape) */
.milan-balog .photo-card[data-featured] {
  grid-column: 1 / -1;
  aspect-ratio: 16/6;
}

/* Editorial Photo Hero */
.photo-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 2rem 3rem 1.5rem;
  background-color: #f4f4f4;
}

.photo-hero-count {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #999;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}

.photo-hero-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #111;
  font-family: 'Outfit', sans-serif;
  text-transform: none;
  margin: 0;
}

.photo-hero-year {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #999;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}

/* Photo Grid Styles */

/* Photo Page Footer */
.photo-footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 0.5rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #bbb;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  border-top: 1px solid #e0e0e0;
}

.photo-card-icon {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.photo-card-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.photo-card:hover .photo-card-icon,
.photo-card:hover .photo-card-title {
  color: var(--accent);
}

/* SOCIAL ICONS (Brutalist) */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--bg-primary);
  border: 3px solid var(--text-primary);
  color: var(--text-primary);
  font-size: 1.8rem;
  text-decoration: none !important;
  box-shadow: 6px 6px 0px var(--shadow-color);
  transition: all 0.2s ease;
  border-radius: 0; /* Square icons! */
}

.contact-icon:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--shadow-color);
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* MOBILE */
@media (max-width: 991.98px) {
  .site-navigation .site-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    border-bottom: 2px solid var(--text-primary);
    padding: 2rem 0;
    z-index: 99;
  }
  
  .site-navigation .site-menu.show {
    display: flex;
  }

  .site-navigation .site-menu .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--text-primary);
    margin-left: 20px;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .site-navigation .site-menu .has-children.active .dropdown {
    display: block;
  }

  /* Harmonisation Menu Mobile (Hamburger) */
  .site-mobile-menu {
    background: #ffffff !important;
  }
  .site-mobile-menu .site-nav-wrap > li > a {
    font-family: 'Outfit', sans-serif !important;
    text-transform: lowercase !important;
    font-size: 1.1rem !important;
    color: #999 !important;
    letter-spacing: 0.1em !important;
    font-weight: 300 !important;
  }
  .site-mobile-menu .site-nav-wrap > li.active > a,
  .site-mobile-menu .site-nav-wrap > li > a:hover {
    color: #111 !important;
    font-weight: 600 !important;
  }
  /* Active dot for mobile */
  .site-mobile-menu .site-nav-wrap > li.active > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
  }
  .site-mobile-menu .site-nav-wrap .dropdown > li > a {
    font-family: 'Outfit', sans-serif !important;
    text-transform: lowercase !important;
    font-size: 0.9rem !important;
    color: #aaa !important;
    letter-spacing: 0.1em !important;
    font-weight: 300 !important;
  }
  .site-mobile-menu .site-nav-wrap .dropdown > li > a:hover {
    color: #111 !important;
  }

  .hero-title {
    font-size: 3rem;
  }

  /* Responsive Photo Hero */
  .photo-hero {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 2rem 1rem !important;
  }
  .photo-hero-title {
    order: 1 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.4rem !important;
  }
  .photo-hero-year {
    order: 2 !important;
    font-size: 0.7rem !important;
  }
}

/* ═══ MENU BURGER — FIX DÉFINITIF ═══ */

/* Desktop : tout cacher */
@media (min-width: 992px) {
  .site-menu-toggle-wrapper,
  .site-menu-toggle,
  .js-menu-toggle,
  .icon-menu,
  .d-inline-block.d-lg-none {
    display: none !important;
    visibility: hidden !important;
  }
  .site-mobile-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Mobile/Tablette : burger à droite, propre */
@media (max-width: 991.98px) {
  /* Masquer la nav horizontale */
  .site-navbar .site-menu.js-clone-nav.d-none.d-lg-flex {
    display: none !important;
  }

  /* Aligner le bouton burger à droite */
  .site-navbar .col-6.col-md-10 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .d-inline-block.d-lg-none {
    display: flex !important;
    float: none !important;
    margin-left: auto;
  }

  .js-menu-toggle.text-black {
    display: flex !important;
    align-items: center;
    color: #111 !important;
    font-size: 1.4rem;
    padding: 8px;
  }
}

/* GLOBAL CART STYLES */
.cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0; right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-panel.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
}
.cart-close {
  cursor: pointer;
  font-size: 1.5rem;
  color: #000;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty-msg {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f4f4f4;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 1rem;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.3rem 0;
  color: #000;
}
.cart-item-price {
  font-size: 0.85rem;
  color: #777;
}
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.qty-btn {
  background: #f4f4f4;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  color: #000;
}
.qty-val {
  font-size: 0.85rem;
  min-width: 20px;
  text-align: center;
  color: #000;
}
.remove-btn {
  background: transparent;
  border: none;
  color: #cc0000;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  background: #fcfcfc;
  overflow-y: auto;
  max-height: 50vh;
  flex-shrink: 0;
}
#paypal-button-container {
  min-height: 150px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #000;
}

/* Cart count badge pill */
#cartCountBadge {
  display: none; /* hidden by default, shown via JS when > 0 */
  background: #fd6041;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  line-height: 18px; /* Correspond à height pour centrer verticalement */
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  position: relative;
  top: -2px;
  box-shadow: 0 2px 6px rgba(253, 96, 65, 0.45);
  animation: badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badge-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ==========================================================================
   Photo Page - Editorial Redesign (Marriage/Events)
   ========================================================================== */

.editorial-section {
  padding: 5rem 0;
  background-color: #f4f4f4;
  overflow: hidden;
}

.editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Vertical orange/gold line for editorial titles */
.editorial-heading-wrap {
  border-left: 2px solid #c5a880; /* Elegant gold vertical line */
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.editorial-heading-wrap.dark-line {
  border-left-color: #111;
}

.editorial-title {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  text-transform: uppercase;
}

.editorial-subtitle {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #888;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

/* Text card matching media__1781467613909.png */
.editorial-card {
  background: #ffffff;
  padding: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 10;
}

.editorial-card-title {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 1.5rem;
}

.editorial-card-divider {
  width: 60px;
  height: 2px;
  background-color: #c5a880; /* Gold */
  margin-bottom: 2rem;
}

.editorial-card p, .editorial-text p {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.editorial-text strong {
  font-weight: 600;
  color: #111;
}

/* Overlapping images container */
.overlap-img-container {
  position: relative;
  width: 100%;
  height: 480px;
}

.overlap-img-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 90%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.overlap-img-fg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 70%;
  object-fit: cover;
  border: 10px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlap-img-container:hover .overlap-img-bg {
  filter: grayscale(0%);
}

.overlap-img-container:hover .overlap-img-fg {
  transform: translateY(-8px);
}

/* Offset photo layout */
.offset-img-wrap {
  position: relative;
  padding-top: 2rem;
}

.offset-img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.offset-img-wrap:hover .offset-img {
  transform: scale(1.02);
}

/* Clean bordered buttons */
.editorial-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.editorial-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid #111;
  background: transparent;
  color: #111 !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
}

.editorial-btn:hover {
  background: #111;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.editorial-btn.btn-dark-bg {
  background: #111;
  color: #fff !important;
}

.editorial-btn.btn-dark-bg:hover {
  background: transparent;
  color: #111 !important;
}

/* Step Process section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .overlap-img-container {
    height: 380px;
  }
}

.step-card {
  background: transparent;
}

.step-number {
  font-family: 'Outfit', sans-serif !important;
  font-size: 2.5rem;
  font-weight: 300;
  color: #111;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: block;
}

.step-title {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600;
  font-size: 1rem;
  color: #111;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-text {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
}

/* Enlarged 2-image overlapping container (No cropping) */
.overlap-two-container {
  position: relative;
  width: 100%;
  height: 520px;
}

.overlap-two-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: auto;
  filter: grayscale(100%);
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.overlap-two-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 62%;
  height: auto;
  border: 10px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlap-two-container:hover .overlap-two-1 {
  filter: grayscale(0%);
}

.overlap-two-container:hover .overlap-two-2 {
  transform: translateY(-8px);
}

@media (max-width: 991px) {
  .overlap-two-container {
    height: 440px;
  }
}

@media (max-width: 576px) {
  .overlap-two-container {
    height: 340px;
  }
}

/* Custom Prestations Section Layout (Matching card height, no image cropping) */
.prestations-text-col {
  display: flex;
  flex-direction: column;
}

.prestations-card {
  background: #ffffff;
  padding: 3rem 2.5rem; /* Elegant padding */
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prestations-img-col {
  display: flex;
  align-items: center; /* Center the image wrapper vertically */
  justify-content: flex-end; /* Align the image wrapper to the right */
  padding-left: 0 !important;
}

.prestations-big-img-wrap {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.prestations-big-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Aspect ratios match exactly, so no cropping occurs */
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.prestations-big-img-wrap:hover .prestations-big-img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .prestations-text-col {
    margin-right: -80px; /* Overlap effect */
    z-index: 5;
  }
  .prestations-big-img-wrap {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    aspect-ratio: 3 / 2 !important;
  }
}

@media (max-width: 767.98px) {
  .prestations-big-img-wrap {
    margin-top: 2rem;
  }
}

/* Card subtitle styles for Milan Balog grid */
.milan-balog .photo-card-title:has(+ .photo-card-subtitle) {
  padding-bottom: 0.2rem;
}
.milan-balog .photo-card-subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  padding-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  display: block;
  text-transform: none;
}

/* Enlarged 3-image overlapping container */
.overlap-three-container {
  position: relative;
  width: 100%;
  height: 580px;
}

.overlap-three-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 75%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.overlap-three-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52%;
  height: 58%;
  object-fit: cover;
  border: 8px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlap-three-3 {
  position: absolute;
  top: 25%;
  left: 35%;
  width: 44%;
  height: 50%;
  object-fit: cover;
  border: 8px solid #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlap-three-container:hover .overlap-three-1 {
  filter: grayscale(0%);
}

.overlap-three-container:hover .overlap-three-2 {
  transform: translateY(-6px) rotate(-1deg);
}

.overlap-three-container:hover .overlap-three-3 {
  transform: translateY(-10px) scale(1.02);
}

@media (max-width: 991px) {
  .overlap-three-container {
    height: 480px;
  }
}

@media (max-width: 576px) {
  .overlap-three-container {
    height: 380px;
  }
  .overlap-three-3 {
    left: 40%;
    width: 45%;
  }
}




