.hero { position: relative; border-radius: 0; margin: 0; min-height: calc(100vh - var(--brandbar-h)); padding: 0; overflow: visible; background: none; width: var(--viewport-w); margin-left: calc(50% - (var(--viewport-w)/2)); }
.hero::before { content:none; }
.hero-content { position: relative; z-index: 0; color: inherit; display:flex; justify-content:center; min-height: inherit; }
.hero-grid { display:grid; grid-template-columns: 1fr auto; gap:16px; align-items:center; }
.hero-left { display:flex; flex-direction:column; gap:10px; }
.brand-title { font-family:'Playfair Display', serif; font-weight:700; font-size: 28px; letter-spacing:.3px; }
.text-carousel { display:flex; gap:8px; align-items:center; min-height: 28px; }
.tc-item { opacity:0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; font-weight:600; }
.tc-item.active { opacity:1; transform: translateY(0); }
.hero-chips { display:flex; gap:8px; flex-wrap:wrap; }
.hero-right { display:flex; justify-content:flex-end; }
.image-stack { position:relative; --stack-w: 280px; --stack-h: 200px; --offset: 22px; --rot1: -5deg; --rot2: -9deg; --rot3: -13deg; --rot4: -17deg; width: var(--stack-w); height: var(--stack-h); }
.stack-card { position:absolute; right:0; top:0; width: var(--stack-w); height: var(--stack-h); border-radius:20px; box-shadow: 0 10px 20px rgba(0,0,0,.15); background: #eee; border:1px solid rgba(255,255,255,.6); transform-origin: right center; transition: transform .5s ease, opacity .5s ease; overflow:hidden; }
.stack-card::after { content:""; position:absolute; inset:0; background: radial-gradient(120% 120% at 80% 20%, rgba(0,0,0,.08), transparent 40%); pointer-events:none; }
.stack-card img { width:100%; height:100%; object-fit: cover; display:block; }
.stack-card:nth-child(1) { transform: translateX(0) rotate(0deg); z-index: 5; }
.stack-card:nth-child(2) { transform: translateX(calc(var(--offset) * 1)) rotate(var(--rot1)); z-index: 4; }
.stack-card:nth-child(3) { transform: translateX(calc(var(--offset) * 2)) rotate(var(--rot2)); z-index: 3; }
.stack-card:nth-child(4) { transform: translateX(calc(var(--offset) * 3)) rotate(var(--rot3)); z-index: 2; }
.stack-card:nth-child(5) { transform: translateX(calc(var(--offset) * 4)) rotate(var(--rot4)); z-index: 1; }
.stack-card.active { box-shadow: 0 16px 30px rgba(43,29,29,.25); }
.brand-underline { width: 220px; height: 4px; background: linear-gradient(90deg, #7b1e2b, #b44b5c); border-radius: 2px; }
@media (max-width: 480px) { .image-stack { --stack-w: 220px; --stack-h: 160px; } .brand-title { font-size: 24px; } .slide-title { font-size: 18px; } }
@media (min-width: 768px) { .image-stack { --stack-w: 260px; --stack-h: 190px; } }
@media (min-width: 1024px) { .image-stack { --stack-w: 320px; --stack-h: 220px; } .brand-title { font-size: 34px; } }
.hero h1 { font-size: 22px; letter-spacing:.3px; }
.hero p { opacity:.9; }
.hero-actions { display:flex; gap:10px; margin-top:6px; flex-wrap: wrap; }
.cta-primary { background:#fff; color: var(--accent); padding:10px 14px; border-radius:12px; text-decoration:none; box-shadow: var(--shadow); }
.cta-secondary { background: transparent; border:1px solid #fff; color:#fff; padding:10px 14px; border-radius:12px; }

.catalog-layout { display:grid; grid-template-columns: 1fr; gap: 12px; padding: 0 8px; }
.filters-desktop { display:none; position:sticky; top:72px; align-self:start; background: var(--surface); border: 1px solid var(--chip-border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.filters-desktop .desktop { margin-top: 6px; }
.products-section { min-height: 400px; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 8px 16px; }
.card-row { display:flex; gap:12px; padding: 8px 16px; overflow-x:auto; scroll-snap-type: x mandatory; }
.card-row .card { flex: 0 0 auto; width: 260px; scroll-snap-align: start; }
.row-wrap { position: relative; }
.row-chevron { position:absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 17px; display:flex; align-items:center; justify-content:center; background: rgba(252,250,248,.95); border: 1px solid var(--chip-border); box-shadow: var(--shadow); color: var(--text); }
.row-chevron { cursor: pointer; }
.row-chevron.hidden { display:none; }
.section-header .see-all { cursor: pointer; }
.card { display:flex; flex-direction:column; background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; position: relative; transform: translateY(10px); opacity:0; animation: cardIn .5s ease forwards; border: 1px solid var(--chip-border); transition: transform .25s ease, box-shadow .25s ease; }
.image-wrap { position: relative; height: 320px; overflow: hidden; }
.card img { width:100%; height: 320px; object-fit: cover; display:block; transition: transform 2.5s ease-out, filter 1.8s ease; }
.card img { cursor: pointer; transform-origin: center center; }
.card:hover img { 
  transform: scale(1.06) perspective(500px) translateZ(10px); 
  filter: saturate(1.1) contrast(1.05); 
}
.card:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 25px 50px rgba(43, 29, 29, 0.25); z-index: 20; border-color: rgba(123, 30, 43, 0.15); }
.card.partner-product { border-color: #8B5A2B; box-shadow: 0 18px 36px rgba(64, 34, 12, 0.28); }
.card.partner-product:hover { border-color: #8B5A2B; box-shadow: 0 24px 48px rgba(64, 34, 12, 0.34); }
.card-row .card { transition: transform .3s ease, margin .3s ease, box-shadow .3s ease; }
.card-row .card:hover { margin: 0 10px; }
.image-wrap::before { content:""; position:absolute; left:-150%; top:0; width:50%; height:100%; background: linear-gradient(60deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.0) 100%); transform: skewX(-20deg); }
.image-wrap:hover::before { animation: shine 1.2s ease; }
@keyframes shine { to { left: 120%; } }
.image-wrap::after { content:none; }
.skeleton { position:absolute; inset:0; background: linear-gradient(90deg, #efe7e3 25%, #fcfaf8 50%, #efe7e3 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.fav-overlay { position:absolute; right:10px; top:10px; width:36px; height:36px; border-radius:18px; display:flex; align-items:center; justify-content:center; background: rgba(255,255,255,.85); color: var(--muted); box-shadow: var(--shadow); backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease, color .2s ease; border: 1px solid rgba(0,0,0,.06); }
.fav-overlay { cursor: pointer; }
.fav-overlay:hover { transform: scale(1.06); }
.fav-overlay.active { background: linear-gradient(135deg, rgba(123,30,43,.95), rgba(52,26,22,.95)); color:#fff; }
.fav-overlay.active i { color:#fff; }
.fav-overlay.active::before { content:""; position:absolute; inset:0; border-radius:inherit; animation: favPulse 1.6s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(123,30,43,.28); }
@keyframes favPulse { 0%{ box-shadow: 0 0 0 0 rgba(123,30,43,.28);} 70%{ box-shadow: 0 0 0 10px rgba(123,30,43,0);} 100%{ box-shadow: 0 0 0 0 rgba(123,30,43,0);} }
.fav-overlay.fav-bounce { animation: favBounce .5s ease; }
@keyframes favBounce { 0%{ transform: scale(1); } 30%{ transform: scale(1.18); } 60%{ transform: scale(0.95); } 100%{ transform: scale(1); } }
.badge-promo { position:absolute; left:10px; top:10px; background: #b00020; color:#fff; padding:6px 10px; border-radius: 999px; font-size: 12px; box-shadow: var(--shadow); display:flex; align-items:center; gap:6px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(176,0,32,0.6);} 70%{ transform: scale(1.05); box-shadow: 0 0 0 12px rgba(176,0,32,0);} 100%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(176,0,32,0);} }
.type-pill { position: static; background: #fff; backdrop-filter: blur(8px); color: #000; padding:6px 10px; border-radius: 999px; font-size: 12px; box-shadow: var(--shadow); display:flex; align-items:center; gap:6px; border: 1px solid #800020; }
.type-pill i { color: #800020; }
.type-pill.champagne { border: 1px solid #c48a2f; color: #000; background: #fff; }
.type-pill.champagne i { color: #c48a2f; }
.pill-row { position:absolute; left:10px; right:10px; bottom:10px; display:flex; align-items:center; justify-content: space-between; pointer-events:none; }
.stock-badge { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); color: var(--text); padding:6px 10px; border-radius: 999px; font-size: 12px; box-shadow: var(--shadow); border: 1px solid var(--chip-border); display:flex; align-items:center; gap:6px; position: relative; }
.stock-badge:hover::after {
  content: "Quantité en stock";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pill-row .stock-badge { pointer-events:auto; cursor: pointer; }
.stock-badge.low { background: #fff0f3; color: #b00020; border-color: #b00020; }
.info { padding: 12px; display:flex; flex-direction:column; gap:8px; flex: 1 1 auto; }
.info { position: relative; perspective: 800px; }
.info-inner { position: relative; transform-style: preserve-3d; transition: transform .5s ease; height: 100%; }
.card.show-details .info-inner { transform: rotateY(180deg); }
.face { backface-visibility: hidden; }
.face.front { display:flex; flex-direction:column; height: 100%; }
.face.back { position:absolute; inset:0; transform: rotateY(180deg); display:flex; flex-direction:column; gap:12px; justify-content: center; align-items: center; }
.desc { font-size: 12px; color: var(--muted); line-height: 1.5; text-align: center; max-width: 90%; }
.back-actions { display:flex; justify-content:center; }
.return-btn { background:#b00020; color:#fff; border:none; padding:8px 14px; border-radius:10px; box-shadow: var(--shadow); }
.name { font-family: 'Playfair Display', serif; font-size: 16px; line-height: 1.25; display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; }
.name { cursor: pointer; }
.name::after { content:""; display:block; width: 0%; height: 2px; background: linear-gradient(90deg, #7b1e2b, #b44b5c); transition: width .25s ease; border-radius: 2px; margin-top: 4px; }
.card:hover .name::after { width: 26%; }
.partner-label { margin-top: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #8B5A2B; font-weight: 600; }
.meta { display:grid; grid-template-columns: minmax(0,1fr) auto; align-items:center; gap:8px; margin-top: auto; border-top: 1px solid var(--chip-border); padding-top: 10px; }
.price { font-size: 14px; color: #000; font-weight: 700; white-space: nowrap; font-family: 'Playfair Display', serif; }
.price-wrap { display:flex; gap:8px; align-items:center; white-space: nowrap; min-width:0; overflow:hidden; text-overflow: ellipsis; }
.price { min-width:0; overflow:hidden; text-overflow: ellipsis; }
.price-new { color: #137a3a; font-weight: 800; font-size: 16px; font-family: 'Playfair Display', serif; }
.price-old { color: #b00020; font-weight: 400; font-style: italic; font-size: 13px; text-decoration: line-through; font-family: 'Playfair Display', serif; }
.add-btn { border:none; background: var(--accent); color:#fff; padding:8px 10px; border-radius:10px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.add-btn { justify-self: end; min-width: 36px; height: 32px; display:flex; align-items:center; justify-content:center; }
.add-btn { cursor: pointer; }
.add-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 24px rgba(0,0,0,.2); background: linear-gradient(135deg, #7b1e2b, #b44b5c); }

.card.partner-product .fav-overlay { border-color: #8B5A2B; color: #8B5A2B; }
.card.partner-product .fav-overlay.active { background: linear-gradient(135deg, #8B5A2B, #5A3A1A); }
.card.partner-product .fav-overlay.active::before { box-shadow: 0 0 0 0 rgba(139,90,43,.28); }
.card.partner-product .return-btn { background: #8B5A2B; }
.card.partner-product .name::after { background: #8B5A2B; }
.card.partner-product .tag-more { background: #8B5A2B; border-color: #8B5A2B; }
.card.partner-product .add-btn { background: #8B5A2B; }
.card.partner-product .add-btn:hover { background: #8B5A2B; }
.add-btn { position: relative; overflow: hidden; }
.add-btn.ripple::after { content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; background: rgba(255,255,255,.6); border-radius:50%; transform: translate(-50%, -50%); animation: ripple .6s ease-out; }
@keyframes ripple { from { opacity:.7; transform: translate(-50%, -50%) scale(.5);} to { opacity:0; transform: translate(-50%, -50%) scale(3);} }
.card { border: 1px solid transparent; }
.card:hover { box-shadow: 0 16px 30px rgba(43,29,29,.20); }
@keyframes cardIn { from { transform: translateY(10px); opacity:0; } to { transform: translateY(0); opacity:1; } }

.tooltip-bubble { position:absolute; transform: translateX(-50%); background: rgba(252,250,248,.95); border:1px solid var(--chip-border); color: var(--text); padding:4px 8px; border-radius:10px; box-shadow: var(--shadow); white-space: nowrap; opacity:0; pointer-events:none; transition: opacity .2s ease, transform .2s ease; z-index: 12; font-size: 11px; font-style: italic; }
.tooltip-bubble.show { opacity:1; transform: translateX(-50%) translateY(-6px);}

/* =========================================
   REMASTERED PRODUCT DETAIL OVERLAY
   High-End, Responsive, Polished
   ========================================= */

.product-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Mobile default: slide up from bottom */
  pointer-events: none;
  font-family: 'Inter', sans-serif; /* Fallback/Base */
}

.product-detail-overlay.active {
  pointer-events: auto;
}

/* Backdrop */
.pdo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-detail-overlay.active .pdo-backdrop {
  opacity: 1;
}

/* Modal Container */
.pdo-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-height: 90vh;
  height: 90vh; /* Consistent height on mobile */
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
}

.product-detail-overlay.active .pdo-modal {
  transform: translateY(0);
}

/* =========================================
   DESKTOP LAYOUT (Landscape / Large Screens)
   ========================================= */
@media (min-width: 1024px) {
  .product-detail-overlay {
    align-items: center; /* Center on screen */
    padding: 20px;
  }

  .pdo-modal {
    width: 1100px;
    max-width: 95vw;
    height: 650px; /* Fixed height for elegance */
    max-height: 90vh;
    border-radius: 20px;
    flex-direction: row; /* Side by side */
    transform: scale(0.95) translateY(20px);
    opacity: 0;
  }

  .product-detail-overlay.active .pdo-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* =========================================
   VISUAL SECTION (Left/Top)
   ========================================= */
.pdo-visual {
  position: relative;
  background: #F9F9F9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Mobile Visual */
.pdo-visual {
  width: 100%;
  height: 45%; /* Increased for better fit */
  flex-shrink: 0;
}

/* Desktop Visual */
@media (min-width: 1024px) {
  .pdo-visual {
    width: 45%;
    height: 100%;
    border-right: 1px solid rgba(0,0,0,0.05);
  }
}

.pdo-main-img {
  max-width: 80%;
  max-height: 95%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.pdo-visual:hover .pdo-main-img {
  transform: scale(1.05) rotate(-2deg);
}

/* Badges on Image */
.pdo-visual-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge-stock-low {
  background: #ffecb3;
  color: #d84315;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Close Button */
.pdo-close-fab {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  color: #333;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.pdo-close-fab:hover {
  background: #fff;
  transform: rotate(90deg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
@media (max-width: 767px) {
  .pdo-close-fab {
    display: none;
  }
}

/* =========================================
   DETAILS SECTION (Right/Bottom)
   ========================================= */
.pdo-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.pdo-details-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  scrollbar-width: none;
}

.pdo-details-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (min-width: 1024px) {
  .pdo-content-col {
    width: 55%;
    height: 100%;
  }
  
  .pdo-details-scroll {
    padding: 40px;
  }
}

/* Header Content */
.pdo-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pdo-category-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b00020;
  background: rgba(176, 0, 32, 0.08);
  padding: 6px 12px;
  border-radius: 100px;
}

.pdo-partner-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8B5A2B;
  background: rgba(139, 90, 43, 0.08);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(139, 90, 43, 0.4);
}

.pdo-rating-static {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #ffb400;
}

.pdo-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.2;
  color: #111;
  margin: 0 0 4px 0;
  font-weight: 700;
}

.pdo-subtitle {
  font-size: 15px;
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
}

/* Price Section */
.pdo-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.pdo-price-current {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  font-family: 'Playfair Display', serif;
}
.pdo-price-current small {
  font-size: 16px;
  font-weight: 500;
  color: #777;
  font-family: 'Inter', sans-serif;
}

.pdo-price-old {
  font-size: 16px;
  text-decoration: line-through;
  color: #999;
}

.pdo-discount-badge {
  background: #d32f2f;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  transform: translateY(-2px);
}

/* Specs Grid */
.pdo-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.spec-item {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.2s;
}
.spec-item:hover {
  background: #fcfcfc;
  border-color: #ddd;
}

.spec-icon {
  font-size: 18px;
  color: #b00020;
  margin-bottom: 6px;
}
.spec-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #888;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.spec-val {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* Description */
.pdo-description-section h3, .pdo-tags-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', serif;
}

.pdo-description-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 24px 0;
}

/* Tags */
.pdo-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pdo-tag {
  font-size: 12px;
  color: #555;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.pdo-tag:hover {
  border-color: #ddd;
  background: #eee;
}

/* Spacer for scrolling content so it doesn't hit bottom edge directly */
.pdo-spacer {
  height: 20px;
}

/* =========================================
   BOTTOM BAR (Sticky Action)
   ========================================= */
.pdo-bottom-bar {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 16px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.03);
  z-index: 5;
}

/* Quantity Control */
.qty-control {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 12px;
  height: 48px;
  padding: 4px;
}

.qty-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover { background: rgba(0,0,0,0.05); }

.qty-val {
  width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

/* Add Button */
.pdo-add-btn {
  flex: 1;
  height: 48px;
  background: #b00020;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(176, 0, 32, 0.3);
}

.pdo-add-btn:hover {
  background: #90001a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 0, 32, 0.4);
}
.pdo-add-btn:active {
  transform: translateY(0);
}

.pdo-add-btn .sep {
  opacity: 0.4;
  font-weight: 300;
}

/* =========================================
   RESPONSIVE TWEAKS
   ========================================= */
@media (max-width: 480px) {
  .pdo-title { font-size: 24px; }
  .pdo-price-current { font-size: 26px; }
  .pdo-bottom-bar { padding: 12px 16px; gap: 10px; }
  .pdo-add-btn { font-size: 14px; }
  .qty-control { height: 44px; }
  .pdo-add-btn { height: 44px; }
}


@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .image-wrap { height: 360px; } .card img { height: 360px; } .name { font-size: 18px; } .price { font-size: 15px; } .price-new { font-size: 17px; } .price-old { font-size: 14px; } }
@media (max-width: 480px) { .catalog-layout { padding:0; } .card-grid { padding: 0 4px 8px; gap:8px; } .price-wrap { flex-direction: column; align-items: flex-start; gap: 2px; } .price-new { font-size: 15px; } .price-old { font-size: 12px; } }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 1fr; } .filters-desktop { display:none; } .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card:focus-within { box-shadow: 0 0 0 3px rgba(123,30,43,.18), 0 16px 30px rgba(43,29,29,.20); }
.rating { display:flex; align-items:center; gap:6px; color: #c48a2f; }
.rating i { color: #c48a2f; position: relative; }
.rating i { cursor: pointer; transition: transform .15s ease; }
.rating i::after { content:"\f005"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; left:0; top:0; width: var(--fill, 0%); overflow:hidden; color: #c48a2f; transition: width .3s ease; }
.rating i.pop { animation: starPop .25s ease; }
@keyframes starPop { from { transform: scale(0.85); } to { transform: scale(1); } }
.rating i.gold-anim { color: #FFD700 !important; animation: starBounce .35s ease; }
.rating i.gold-anim::after { color: #FFD700; }
@keyframes starBounce { 0%{ transform: scale(0.85); } 60%{ transform: scale(1.15); } 100%{ transform: scale(1); } }
.rating .rating-value { color: var(--muted); font-size: 12px; }

.pdo-rating i { position: relative; }
.pdo-rating i::after { content:"\f005"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; left:0; top:0; width: var(--fill, 0%); overflow:hidden; color: #FFD700; transition: width .3s ease; }
.tags { display:flex; gap:6px; flex-wrap: wrap; margin-top: 6px; margin-bottom: 10px; }
.tag { padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border: 1px solid var(--chip-border); color: var(--muted); font-size: 11px; }
.tag-more { background: #b00020; color:#fff; border-color: #b00020; }
.tag-more { cursor: pointer; }
.return-btn { cursor: pointer; }
.image-stack { position:relative; --stack-w: 280px; --stack-h: 200px; width: var(--stack-w); height: var(--stack-h); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.carousel-slide { position:absolute; inset:0; opacity:0; transition: opacity .6s ease; }
.carousel-slide.active { opacity:1; }
.carousel-slide img { width:100%; height:100%; object-fit: cover; display:block; }
.slide-overlay { position:absolute; left:16px; bottom:16px; right:16px; background: rgba(0,0,0,.35); color:#fff; padding:12px; border-radius: 12px; backdrop-filter: blur(4px); }
.slide-title { font-family:'Playfair Display', serif; font-weight:700; font-size: 20px; }
.slide-desc { margin-top:4px; font-size: 13px; opacity:.9; }
.carousel-dots { position:absolute; left:16px; bottom:12px; display:flex; gap:6px; }
.carousel-dots .dot { width:8px; height:8px; border-radius:50%; background: rgba(255,255,255,.6); }
.carousel-dots .dot.active { background: #fff; }
.c-item { position:absolute; inset:0; border-radius: 20px; overflow:hidden; box-shadow: 0 12px 24px rgba(0,0,0,.15); transition: transform .5s ease, opacity .5s ease; }
.c-item img { width:100%; height:100%; object-fit: cover; display:block; }
.c-item.center { transform: translateX(0) scale(1); opacity: 1; z-index:3; }
.c-item.left { transform: translateX(-42%) scale(.88); opacity:.85; z-index:2; }
.c-item.right { transform: translateX(42%) scale(.88); opacity:.85; z-index:2; }
.c-item.off { transform: translateX(0) scale(.72); opacity:0; z-index:1; pointer-events:none; }
.c-arrow { position:absolute; top:50%; transform: translateY(-50%); width:34px; height:34px; border-radius:17px; display:flex; align-items:center; justify-content:center; background: rgba(255,255,255,.85); border:1px solid rgba(0,0,0,.08); box-shadow: var(--shadow); }
.c-arrow.prev { left:-14px; }
.c-arrow.next { right:-14px; }
@media (max-width: 480px) { .c-item.left { transform: translateX(-40%) scale(.86); } .c-item.right { transform: translateX(40%) scale(.86); } .c-arrow { width:30px; height:30px; border-radius:15px; } .c-arrow.prev { left:-10px; } .c-arrow.next { right:-10px; } }
.carousel-container{ width:var(--viewport-w); height:calc(100vh - var(--brandbar-h)); max-width:none; margin:0; position:relative; z-index:0; border-radius:0; overflow:hidden; box-shadow:none; transform:translateZ(0); }

@supports (width: 100dvw) {
  .hero { width: var(--viewport-w); margin-left: calc(50% - (var(--viewport-w)/2)); }
  .carousel-container { width: var(--viewport-w); }
}

.loader-overlay{ position:absolute; inset:0; display:grid; place-items:center; background: rgba(0,0,0,.15); z-index:5; }
.spinner{ width:36px; height:36px; border-radius:50%; border:3px solid rgba(255,255,255,.6); border-top-color: #7b1e2b; animation: spin 1s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }


.carousel-track{ display:flex; will-change:transform; transition:transform 1.4s cubic-bezier(0.19, 1, 0.22, 1); }
.slide{ position:relative; min-width:100%; height: var(--hero-slide-h, calc(100vh - var(--brandbar-h))); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.slide img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform-origin:center; backface-visibility:hidden; z-index:1; filter: brightness(0.9); }

@keyframes kenBurns {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}

.slide.active img{ animation: kenBurns 12s ease-out forwards; filter: brightness(1); transition: filter 1.5s ease; }

.slide::before{ content:''; position:absolute; inset:0; background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.1) 0%,
  rgba(0,0,0,0.0) 30%,
  rgba(0,0,0,0.2) 60%,
  rgba(0,0,0,0.6) 100%
); pointer-events:none; z-index:2; }

.glass{ position:absolute; left:24px; right:24px; bottom:80px; z-index:4; width:auto; padding:0; border-radius:0; background: transparent; border: none; box-shadow: none; display:flex; flex-direction: column; align-items:flex-start; justify-content:flex-end; gap:12px; pointer-events: none; }
.glass > * { pointer-events: auto; }

.glass h2 { 
  margin:0; font-size: clamp(2rem, 5vw, 4rem); line-height:1.1; letter-spacing:-0.5px; color:#fff; font-family:'Playfair Display', serif; font-weight:700;
  text-shadow: 0 0 10px rgba(255,255,255,0.7);
  opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide.active .glass h2 { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }

.glass p { 
  margin:0; font-size: clamp(1rem, 2vw, 1.4rem); color:rgba(255,255,255,0.9); max-width: 600px; line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide.active .glass p { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

.glass .cta { 
  display: flex; gap: 12px; margin-top: 8px;
  opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide.active .glass .cta { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

.glass .badge { background: rgba(0,0,0,0.35); color: #fff; padding: 4px 10px; border-radius: 6px; font-weight: 500; font-size: 0.8rem; letter-spacing: 0; text-transform: none; box-shadow: none; }
.glass .link { color: #fff; text-decoration: none; padding-bottom: 2px; font-size: 1rem; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.7); }
.badge{ padding:6px 10px; border-radius:999px; background: linear-gradient(90deg, #ff5a2b, #ff824d); font-weight:600; color:#fff; font-size:0.88rem; box-shadow:0 6px 18px rgba(255,90,43,0.18); }
.controls{ 
  position:absolute; left:50%; transform: translateX(-50%); 
  bottom: calc(24px + env(safe-area-inset-bottom, 0px)); 
  display:flex; align-items:center; gap:16px; z-index:5; pointer-events:none; 
}

.dots{ 
  display:flex; gap:8px; align-items:center; justify-content:center; pointer-events:auto; 
  padding: 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.25); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.dots.show{ opacity: 1; transform: translateY(0); }

.dot{ 
  width:6px; height:6px; border-radius:999px; 
  background: rgba(255,255,255,0.4); 
  border: none; padding: 0; margin: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
}

.dot:hover{ background: rgba(255,255,255,0.8); transform: scale(1.2); }

.dot.active{ 
  width: 24px; 
  background: #ff5a2b;
  box-shadow: 0 0 12px rgba(255,90,43,0.5);
}

.arrow{ pointer-events:auto; display:flex; gap:8px; align-items:center; }
.arrow button{ height:36px; width:36px; border-radius:999px; border:none; background:rgba(255,255,255,0.10); color:#fff; backdrop-filter:blur(6px); cursor:pointer; display:inline-grid; place-items:center }
.arrow button:hover{ transform:translateY(-2px) }
@media (max-width:720px){
  .hero{ min-height: 100vh; width: var(--viewport-w); margin-left: calc(50% - (var(--viewport-w)/2)); margin-top: 0; padding-top: 0; }
  .carousel-container{ height: calc(100vh - var(--bottom-nav-h) - var(--bottom-nav-extra) - env(safe-area-inset-bottom, 0px)); width: var(--viewport-w); }
  .slide{ height: var(--hero-slide-h, calc(100vh - var(--bottom-nav-h) - var(--bottom-nav-extra) - env(safe-area-inset-bottom, 0px))); }
  .glass{ left:16px; right:16px; bottom:120px; } /* Raised slightly for mobile bottom nav visibility */
  .glass h2{ font-size: clamp(2.2rem, 6vw, 3rem); }
  .glass p{ font-size: clamp(1rem, 4vw, 1.2rem); }
  .card-row { padding-right: 25vw; } /* Fix for mobile scroll snap jitter on last item */
}

@supports (height: 98svh) {
  @media (max-width:720px){
    .hero{ min-height: 98svh; }
    .carousel-container{ height: calc(98svh - var(--bottom-nav-h) - var(--bottom-nav-extra) - env(safe-area-inset-bottom, 0px)); }
    .slide{ height: var(--hero-slide-h, calc(98svh - var(--bottom-nav-h) - var(--bottom-nav-extra) - env(safe-area-inset-bottom, 0px))); }
  }
}

.events-section {
  padding: 18px 16px 6px;
}

.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.events-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 0.2px;
  margin: 0;
}

.events-hint {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.events-row-wrap {
  position: relative;
}

.events-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px 0 20px;
}

.events-row::-webkit-scrollbar {
  height: 10px;
}

.events-row::-webkit-scrollbar-thumb {
  background: rgba(123, 30, 43, 0.22);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

.event-card {
  flex: 0 0 auto;
  width: 340px;
  height: 210px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(123, 30, 43, 0.14);
  box-shadow: 0 18px 40px rgba(43, 29, 29, 0.16);
  transform: translateY(10px);
  opacity: 0;
  animation: eventCardIn 0.55s ease forwards;
  background: #fff;
  cursor: pointer;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 120% at 80% 20%, rgba(255,255,255,0.2), transparent 45%),
              radial-gradient(120% 120% at 10% 90%, rgba(123,30,43,0.26), transparent 48%),
              linear-gradient(0deg, rgba(10,5,5,0.62), rgba(10,5,5,0));
  z-index: 2;
  pointer-events: none;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 60px rgba(43, 29, 29, 0.22);
  border-color: rgba(123, 30, 43, 0.26);
}

.event-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s ease, filter 1.2s ease;
  filter: saturate(1.05) contrast(1.05);
}

.event-card:hover .event-card-img {
  transform: scale(1.12);
  filter: saturate(1.15) contrast(1.08);
}

.event-card-body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-desc {
  font-size: 12px;
  opacity: 0.92;
  line-height: 1.45;
  max-width: 95%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-chip {
  align-self: flex-start;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-card-chip i {
  opacity: 0.95;
}

.event-empty-card {
  background: linear-gradient(135deg, rgba(123,30,43,0.10), rgba(255,255,255,0.70));
  border: 1px solid rgba(123,30,43,0.18);
}

.event-empty-card::before {
  background: radial-gradient(110% 120% at 80% 20%, rgba(255,255,255,0.35), transparent 45%),
              radial-gradient(120% 120% at 10% 90%, rgba(123,30,43,0.22), transparent 52%);
}

.event-empty-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  color: #1b0f10;
}

.event-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(123,30,43,0.16);
  box-shadow: 0 18px 40px rgba(43, 29, 29, 0.10);
  color: #7b1e2b;
  margin-bottom: 12px;
  animation: eventEmptyPulse 1.8s ease-in-out infinite;
}

.event-empty-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
}

.event-empty-desc {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.85;
  max-width: 360px;
  line-height: 1.5;
}

@keyframes eventEmptyPulse {
  0% { transform: scale(1); box-shadow: 0 18px 40px rgba(43, 29, 29, 0.10); }
  60% { transform: scale(1.04); box-shadow: 0 26px 60px rgba(43, 29, 29, 0.14); }
  100% { transform: scale(1); box-shadow: 0 18px 40px rgba(43, 29, 29, 0.10); }
}

.events-chevron {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(252,250,248,.95);
  border: 1px solid var(--chip-border);
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.events-chevron.hidden {
  opacity: 0;
  pointer-events: none;
}

.events-chevron:hover {
  transform: translateY(-50%) scale(1.05);
}

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

.event-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.event-detail-overlay.active {
  pointer-events: auto;
}

.edo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 5, 0.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.event-detail-overlay.active .edo-backdrop {
  opacity: 1;
}

.edo-modal {
  position: relative;
  width: 100%;
  height: 92vh;
  max-height: 92vh;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  box-shadow: 0 -18px 70px rgba(0,0,0,0.35);
  overflow: hidden;
  transform: translateY(110%);
  transition: transform 0.42s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}

.event-detail-overlay.active .edo-modal {
  transform: translateY(0);
}

.edo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 21px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,5,5,0.44);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.edo-close:hover {
  transform: rotate(90deg);
  background: rgba(10,5,5,0.54);
}

.edo-media {
  flex: 0 0 56%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(900px 340px at 20% 0%, rgba(199,161,90,0.22), transparent 60%),
    radial-gradient(900px 340px at 90% 0%, rgba(123,30,43,0.22), transparent 55%),
    rgba(10, 5, 5, 0.42);
}

.edo-media-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.06) contrast(1.04);
}

.edo-img.slide-out-left { animation: edoSlideOutLeft 0.28s ease forwards; }
.edo-img.slide-out-right { animation: edoSlideOutRight 0.28s ease forwards; }
.edo-img.slide-in-left { animation: edoSlideInLeft 0.34s ease forwards; }
.edo-img.slide-in-right { animation: edoSlideInRight 0.34s ease forwards; }

@keyframes edoSlideOutLeft { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-26px); } }
@keyframes edoSlideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(26px); } }
@keyframes edoSlideInLeft { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes edoSlideInRight { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: translateX(0); } }

.edo-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.edo-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,5,5,0.44);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.edo-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(10,5,5,0.54);
}

.edo-count {
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,5,5,0.38);
  backdrop-filter: blur(10px);
}

.edo-thumbs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 10px;
  border-radius: 16px;
  background: rgba(10,5,5,0.20);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.edo-thumb {
  width: 64px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 30px rgba(0,0,0,0.20);
  flex: 0 0 auto;
  cursor: pointer;
  opacity: 0.86;
  transform: translateY(0);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.edo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edo-thumb.active {
  opacity: 1;
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-2px);
}

.edo-content {
  flex: 1;
  padding: 18px 16px 22px;
  overflow: auto;
  color: rgba(15, 23, 42, 0.92);
  position: relative;
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.edo-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding-right: 56px;
  color: rgba(15, 23, 42, 0.92);
}

.edo-desc {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.6;
  white-space: pre-wrap;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}

.edo-contact {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.edo-contact-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  opacity: 0.95;
  color: rgba(15, 23, 42, 0.88);
}

.edo-contact-items {
  display: grid;
  gap: 10px;
}

.edo-contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(15, 23, 42, 0.92);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.edo-contact-item:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
}

.edo-contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: rgba(123, 30, 43, 0.92);
}

.edo-contact-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.edo-contact-k {
  font-weight: 850;
  font-size: 12px;
  opacity: 0.88;
}

.edo-contact-v {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.98;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edo-content .edo-close {
  top: 14px;
  right: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.88);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.edo-content .edo-close:hover {
  background: rgba(15, 23, 42, 0.10);
}

.event-detail-overlay.single .edo-thumbs,
.event-detail-overlay.single .edo-controls {
  display: none;
}

.event-detail-overlay.single .edo-media {
  flex: 0 0 48%;
}

@media (min-width: 1024px) {
  .event-detail-overlay {
    align-items: center;
    padding: 18px;
  }
  .edo-modal {
    width: 1100px;
    max-width: 96vw;
    height: 700px;
    max-height: 92vh;
    border-radius: 24px;
    flex-direction: row;
    transform: scale(0.96) translateY(18px);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.32s ease;
  }
  .event-detail-overlay.active .edo-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  .edo-media {
    flex: 0 0 56%;
    height: 100%;
  }
  .edo-content {
    height: 100%;
    padding: 26px 22px 26px;
    border-top: 0;
    border-left: 1px solid rgba(15, 23, 42, 0.10);
  }
}

@media (max-width: 1023px) {
  .edo-content {
    padding-top: 66px;
  }
}

@media (max-width: 420px) {
  .event-card { width: 310px; height: 200px; }
}
