/* =========================
   YALF UI (Frontend)
   Mobile-first
========================= */

:root{
  --yalf-accent:#ff6b00;
  --yalf-bg:#f6f6f6;
  --yalf-text:#111;
  --yalf-muted:#666;
  --yalf-border:rgba(0,0,0,.08);
  --yalf-card:#fff;
  --yalf-radius:16px;
}

.yalf-container{
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
  color: var(--yalf-text);
}

.yalf-card, .yalf-hero, .yalf-panel{
  background: var(--yalf-card);
  border: 1px solid var(--yalf-border);
  border-radius: var(--yalf-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 18px;
}

.yalf-hero{ margin-bottom: 12px; }
.yalf-hero h1{ margin:0 0 6px; font-size:22px; line-height:1.2; }
.yalf-muted{ margin:0; color:var(--yalf-muted); font-size:14px; line-height:1.4; }

.yalf-form{ margin-top: 12px; }
.yalf-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.yalf-field label{ font-size:13px; color:#444; }

.yalf-input, .yalf-select, .yalf-form input, .yalf-form select{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: #fff;
}

.yalf-form input:focus, .yalf-form select:focus{
  outline: none;
  border-color: var(--yalf-accent);
  box-shadow: 0 0 0 3px rgba(255,107,0,.15);
}

.yalf-help{ font-size:12px; color:#777; margin-top:4px; }

.yalf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration:none;
  border: 1px solid #ddd;
  background:#fff;
  color:#111;
  cursor:pointer;
  font-weight: 700;
}

.yalf-btn-primary{
  width:100%;
  padding: 14px 16px;
  background: var(--yalf-accent);
  border-color: var(--yalf-accent);
  color:#fff;
  font-size: 16px;
}

.yalf-divider{ height:1px; background: var(--yalf-border); margin:14px 0; }

.yalf-alert{ padding:12px; border-radius:12px; margin: 0 0 12px; font-size:14px; }
.yalf-success{ background:#ecfff3; border:1px solid #b7f0c8; color:#1a7f3c; padding:12px; border-radius:12px; }
.yalf-error{ background:#fff2f2; border:1px solid #ffd1d1; color:#b42318; padding:12px; border-radius:12px; }

.yalf-toolbar{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between; margin: 10px 0; }

.yalf-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap:10px; }
.yalf-thumb{ border:1px solid #eee; background:#fafafa; border-radius:14px; overflow:hidden; padding:0; cursor:pointer; }
.yalf-thumb img{ width:100%; height:140px; object-fit:cover; display:block; }

.yalf-feed{ display:flex; flex-direction:column; gap:14px; }
.yalf-post{ border:1px solid #e8e8e8; border-radius:14px; overflow:hidden; background:#fff; }
.yalf-post-head{ padding:10px 12px; display:flex; justify-content:space-between; color:#666; font-size:13px; }
.yalf-post img{ width:100%; max-height:78vh; object-fit:contain; background:#000; display:block; }

@media (min-width: 860px){
  .yalf-container{ max-width: 760px; }
}
.yalf-gallery{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap:10px;
}

.yalf-photo{
  border-radius:12px;
  overflow:hidden;
  aspect-ratio: 1 / 1;
  background:#f3f3f3;
}

.yalf-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* Galería tipo feed / cuadrícula */
.yalf-gallery{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

/* Cada miniatura */
.yalf-photo{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
}

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

/* Estado vacío */
.yalf-empty{
  text-align: center;
  color: #777;
  margin: 24px 0;
}

/* Mensajes */
.yalf-success{ color:#1a7f37; }
.yalf-error{ color:#b42318; }
.yalf-muted{ color:#6b7280; }

/* Opcional: hover sutil */
.yalf-photo:hover img{
  transform: scale(1.03);
  transition: transform .2s ease;
}

/* =========================
   YALF extras (panel)
========================= */

.yalf-btn-secondary{
  background:#f3f3f3;
  border-color:#e5e5e5;
  color:#333;
}
.yalf-btn-secondary:hover{ background:#ebebeb; }

.yalf-btn-danger{
  background:#fff;
  border-color:#ffd1d1;
  color:#b42318;
}
.yalf-btn-danger:hover{
  background:#fff2f2;
}

/* Woo thank you event link */
.yalf-thankyou-event{
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--yalf-border);
  border-radius: var(--yalf-radius);
  background: var(--yalf-card);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.yalf-thankyou-event h2{
  margin: 0 0 6px;
  font-size: 20px;
}

.yalf-thankyou-event .yalf-btn{
  margin-top: 8px;
}

/* Chip de código (copiar) */
.yalf-code-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  background:#f1f1f1;
  border:1px solid #e5e5e5;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  user-select:none;
}
.yalf-code-chip:hover{ background:#eaeaea; }
.yalf-code-icon{ font-size:14px; opacity:.75; }


/* =========================
   YALF Gallery Views
========================= */

.yalf-gallery-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:12px 0 8px;
}

.yalf-tab{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #e6e6e6;
  background:#fff;
  color:#222;
  font-weight:700;
  cursor:pointer;
}

.yalf-tab.is-active{
  background:var(--yalf-accent);
  border-color:var(--yalf-accent);
  color:#fff;
}

.yalf-view-panel{
  display:none;
  margin:10px 0 14px;
}

.yalf-view-panel.is-active{
  display:block;
}

.yalf-product-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.yalf-product-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #e6e6e6;
  background:#fff;
  font-weight:700;
  cursor:pointer;
}

.yalf-product-chip span{
  font-size:12px;
  color:#666;
}

.yalf-product-chip.is-active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.yalf-gallery{
  margin-top: 12px;
}

.yalf-gallery--grid{
  column-count:2;
  column-gap:12px;
}

@media (min-width: 680px){
  .yalf-gallery--grid{ column-count:3; }
}

@media (min-width: 1020px){
  .yalf-gallery--grid{ column-count:4; }
}

.yalf-gallery--feed{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.yalf-gallery--grid .yalf-photo{
  display:inline-block;
  width:100%;
  margin:0 0 12px;
  break-inside: avoid;
}

.yalf-photo{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:#f3f3f3;
}

.yalf-photo img{
  width:100%;
  height:auto;
  display:block;
}

.yalf-gallery--feed .yalf-photo img{
  max-height: 80vh;
  object-fit: contain;
  background:#000;
}

.yalf-photo.is-hidden{ display:none; }

.yalf-photo.is-selected{
  outline:3px solid var(--yalf-accent);
  outline-offset:-3px;
}

.yalf-fav-btn{
  position:absolute;
  top:8px;
  right:8px;
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.15);
  background:rgba(255,255,255,.9);
  color:#333;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.yalf-photo.is-fav .yalf-fav-btn{
  background:var(--yalf-accent);
  border-color:var(--yalf-accent);
  color:#fff;
}

/* =========================
   YALF Event Gallery Enhancements
========================= */

.yalf-event-page{
  position: relative;
  padding-bottom: 108px;
}

.yalf-upload-fab{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  display:grid;
  place-items:center;
  z-index: 80;
  cursor:pointer;
  color: #0f0f0f;
}

.yalf-upload-fab.is-loading{
  opacity: .7;
  pointer-events: none;
}

.yalf-like-heart{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  color: #fff;
  font-size: 64px;
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
  pointer-events: none;
}

.yalf-photo.is-like-anim .yalf-like-heart{
  animation: yalf-like-burst 0.9s ease;
}

@keyframes yalf-like-burst{
  0%{ opacity:0; transform:translate(-50%,-50%) scale(0.4); }
  20%{ opacity:1; transform:translate(-50%,-50%) scale(1.1); }
  55%{ opacity:1; transform:translate(-50%,-50%) scale(1); }
  100%{ opacity:0; transform:translate(-50%,-50%) scale(0.9); }
}

.yalf-gallery--grid .yalf-photo{
  cursor: pointer;
}

/* Compact owner controls */
.yalf-owner-actions{
  display:flex;
  gap:8px;
  margin: 0 0 10px;
}

.yalf-btn-soft{
  background: #fff;
  border-color: rgba(0,0,0,.1);
  min-height: 42px;
  padding: 10px 14px;
}

.yalf-hidden-upload-form{
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.yalf-hidden-submit{
  display:none;
}

.yalf-upload-note{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 92px;
  background: rgba(20,20,20,.86);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  z-index: 90;
}

.yalf-upload-note:empty{
  display:none;
}

/* Cleaner gallery controls */
.yalf-gallery-tabs{
  position: sticky;
  top: 68px;
  z-index: 30;
  background: linear-gradient(to bottom, #f6f6f6 72%, rgba(246,246,246,0));
  padding: 8px 0 10px;
}

.yalf-tab{
  min-height: 42px;
  border-color: rgba(0,0,0,.12);
  padding: 10px 14px;
}

/* Real grid view (not masonry) */
.yalf-gallery--grid{
  column-count: initial;
  column-gap: 0;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.yalf-gallery--grid .yalf-photo{
  margin:0;
  display:block;
  break-inside: initial;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.yalf-gallery--grid .yalf-photo img{
  height:100%;
  object-fit: cover;
}

.yalf-gallery--feed{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.yalf-gallery--feed .yalf-photo{
  border-radius: 14px;
}

@media (min-width: 760px){
  .yalf-gallery--grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================
   Event Dark Layout (IG-like)
========================= */

.yalf-event-page.yalf-container{
  max-width: 100%;
  padding: 14px 0 112px;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(255,255,255,.08), transparent 50%), #07090c;
  color: #fff;
}

.yalf-event-page .yalf-hero,
.yalf-event-page .yalf-owner-actions,
.yalf-event-page .yalf-gallery-tabs,
.yalf-event-page .yalf-view-panel,
.yalf-event-page .yalf-success,
.yalf-event-page .yalf-error{
  margin-left: 16px;
  margin-right: 16px;
}

.yalf-event-page .yalf-hero{
  background: #121419;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
}

.yalf-event-page .yalf-hero h1{
  color: #fff;
}

.yalf-event-page .yalf-hero .yalf-muted{
  color: rgba(255,255,255,.78);
}

.yalf-event-page .yalf-owner-actions{
  margin-top: 10px;
  margin-bottom: 10px;
}

.yalf-event-page .yalf-btn-soft{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

.yalf-event-page .yalf-gallery-tabs{
  top: 62px;
  background: linear-gradient(to bottom, #07090c 68%, rgba(7,9,12,0));
}

.yalf-event-page .yalf-tab{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}

.yalf-event-page .yalf-tab.is-active{
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0b0c;
}

.yalf-event-page .yalf-view-panel{
  min-height: 0;
  margin-top: 2px;
  margin-bottom: 8px;
}

.yalf-event-page .yalf-favs-help{
  color: rgba(255,255,255,.72);
}

.yalf-event-page .yalf-gallery{
  width: 100%;
  margin: 0;
}

.yalf-event-page .yalf-gallery--grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.yalf-event-page .yalf-gallery--grid .yalf-photo{
  border-radius: 0;
  aspect-ratio: 1 / 1;
}

.yalf-event-page .yalf-gallery--grid .yalf-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yalf-event-page .yalf-gallery--feed{
  gap: 10px;
}

.yalf-event-page .yalf-gallery--feed .yalf-photo{
  border-radius: 0;
}

.yalf-event-page .yalf-gallery--feed .yalf-photo img{
  max-height: none;
  object-fit: cover;
}

/* Grid: no favorite button */
.yalf-event-page [data-gallery][data-mode="grid"] .yalf-fav-btn{
  display: none;
}

/* Feed/Favorites: heart button visible */
.yalf-event-page [data-gallery][data-mode="feed"] .yalf-fav-btn,
.yalf-event-page [data-gallery][data-mode="favorites"] .yalf-fav-btn{
  display: inline-flex;
  width: 34px;
  height: 34px;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.38);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo.is-fav .yalf-fav-btn,
.yalf-event-page [data-gallery][data-mode="favorites"] .yalf-photo.is-fav .yalf-fav-btn{
  background: #fff;
  border-color: #fff;
  color: #e11d48;
}

.yalf-event-page .yalf-upload-fab{
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.26);
  background: #ffffff;
  box-shadow: 0 18px 30px rgba(0,0,0,.42);
}

/* ==========================================
   Event Feed/Like overrides (latest)
========================================== */

.yalf-event-page .yalf-gallery-tabs{
  position: relative !important;
  top: auto !important;
  z-index: 10;
  background: transparent !important;
  padding: 0;
}

.yalf-event-page [data-gallery][data-mode="grid"]{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.yalf-event-page [data-gallery][data-mode="grid"] .yalf-fav-btn{
  display: none !important;
}

.yalf-event-page [data-gallery][data-mode="feed"]{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 12px;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo{
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #121418;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo img{
  order: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #000;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-fav-btn{
  position: static !important;
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 10px 0 12px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  align-self: flex-start;
}

.yalf-event-page .yalf-heart-icon{
  width: 26px;
  height: 26px;
  fill: transparent !important;
  stroke: #0f0f0f;
  stroke-width: 1.8;
  transition: transform .18s ease, fill .18s ease, stroke .18s ease;
}

.yalf-event-page .yalf-fav-btn.is-fav-active .yalf-heart-icon{
  fill: #e11d48 !important;
  stroke: #0f0f0f;
}

.yalf-event-page .yalf-photo.is-like-anim .yalf-fav-btn .yalf-heart-icon{
  transform: scale(1.18);
}

.yalf-event-page [data-gallery][data-mode="favorites"]{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.yalf-event-page [data-gallery][data-mode="favorites"] .yalf-fav-btn{
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.32);
}

.yalf-event-page .yalf-photo.is-hidden{
  display: none !important;
}

/* Feed fallback in case data-mode is stale */
.yalf-event-page .yalf-gallery--feed .yalf-fav-btn{
  position: static !important;
  display: inline-flex;
  align-self: flex-start;
  margin: 10px 0 12px 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

/* ==========================================
   YALF Store Page
========================================== */

.yalf-store-page{
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.yalf-store-back{
  display:inline-flex;
  margin-bottom: 10px;
}

.yalf-store-counter{
  margin-top: 8px;
  font-size: 14px;
}

.yalf-store-feedback{
  min-height: 22px;
  margin: 6px 0 10px;
}

.yalf-store-tools{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom: 14px;
}

.yalf-store-products h3,
.yalf-store-gallery-wrap h3{
  margin: 0 0 10px;
}

.yalf-store-product-list{
  display:grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

@media (min-width: 700px){
  .yalf-store-product-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px){
  .yalf-store-product-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.yalf-store-product{
  background: var(--yalf-card);
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 12px;
}

.yalf-store-product-image{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f3f3;
  margin-bottom: 8px;
}

.yalf-store-product h4{
  margin: 0 0 6px;
  font-size: 18px;
}

.yalf-store-price{
  font-weight: 700;
  margin: 0 0 6px;
}

.yalf-store-gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

@media (min-width: 900px){
  .yalf-store-gallery{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.yalf-store-photo{
  position:relative;
  border:0;
  padding:0;
  margin:0;
  border-radius: 10px;
  overflow: hidden;
  background:#f2f2f2;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.yalf-store-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.yalf-store-photo-check{
  position:absolute;
  top:8px;
  right:8px;
  width:22px;
  height:22px;
  border-radius:999px;
  border:2px solid #fff;
  background:rgba(0,0,0,.28);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.yalf-store-photo.is-selected{
  outline: 3px solid var(--yalf-accent);
  outline-offset: -3px;
}

.yalf-store-photo.is-selected .yalf-store-photo-check{
  background: var(--yalf-accent);
  border-color: #fff;
}

/* ==========================================
   YALF Store v2 (Woo look + sticky selector)
========================================== */

.yalf-store-page{
  max-width: 1180px;
  padding: 14px 12px 50px;
}

.yalf-store-sticky{
  position: sticky;
  top: 66px;
  z-index: 45;
  background: linear-gradient(to bottom, rgba(7,9,12,.98), rgba(7,9,12,.92));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}

.yalf-store-sticky__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.yalf-store-selected-pill{
  color:#fff;
  font-weight:700;
  font-size:14px;
  white-space: nowrap;
}

.yalf-store-selected-pill strong{
  font-size:18px;
  margin-left: 4px;
}

.yalf-store-page .yalf-hero{
  background: #121419;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.yalf-store-page .yalf-hero .yalf-muted{
  color: rgba(255,255,255,.78);
}

.yalf-store-page .yalf-store-feedback{
  margin-top: 10px;
}

.yalf-store-page .yalf-store-tools{
  margin-top: 10px;
}

.yalf-store-page .yalf-store-tools .yalf-btn{
  min-height: 40px;
}

.yalf-store-page .yalf-store-products h3,
.yalf-store-page .yalf-store-gallery-wrap h3{
  color: #fff;
}

.yalf-store-page .yalf-store-product-list.products{
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 680px){
  .yalf-store-page .yalf-store-product-list.products{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.yalf-store-page .yalf-store-product-list.products li.product{
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  background: #101318;
}

.yalf-store-page .yalf-store-product-list.products li.product .woocommerce-LoopProduct-link{
  display:block;
  text-decoration:none;
}

.yalf-store-page .yalf-store-product-list.products li.product img{
  margin: 0 0 8px;
  border-radius: 0;
}

.yalf-store-page .yalf-store-product-list.products li.product .woocommerce-loop-product__title{
  color:#fff;
  padding: 0 12px;
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
}

.yalf-store-page .yalf-store-product-list.products li.product .price{
  padding: 0 12px;
  margin: 0 0 6px;
  display:block;
  color: #facc15;
  font-weight: 800;
}

.yalf-store-page .yalf-store-product-list.products li.product .price del{
  opacity: .55;
  margin-right: 6px;
}

.yalf-store-page .yalf-store-required{
  padding: 0 12px;
  margin: 0 0 10px;
  color: rgba(255,255,255,.76);
}

.yalf-store-page .yalf-buy-btn.button.alt{
  margin: 0 12px;
  width: calc(100% - 24px);
  border-radius: 12px;
  border: 0;
  min-height: 46px;
  font-size: 18px;
  font-weight: 800;
}

.yalf-store-page .yalf-store-gallery{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

@media (min-width: 900px){
  .yalf-store-page .yalf-store-gallery{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.yalf-store-page .yalf-store-photo{
  border-radius: 6px;
}

/* ==========================================
   YALF Visual System Refresh (Global)
========================================== */

:root{
  --yalf-accent-blue:#3A8DFF;
  --yalf-accent-purple:#7A4DFF;
  --yalf-accent-pink:#FF4DA6;
  --yalf-accent-gradient: linear-gradient(135deg, var(--yalf-accent-blue) 0%, var(--yalf-accent-purple) 55%, var(--yalf-accent-pink) 100%);
  --yalf-accent: var(--yalf-accent-purple);
  --yalf-bg:#0F1115;
  --yalf-bg-deep:#0B0E13;
  --yalf-card:#1A1D24;
  --yalf-border:#2A2F3A;
  --yalf-text:#FFFFFF;
  --yalf-muted:#A0A6B3;
  --yalf-shadow-card:0 4px 12px rgba(0,0,0,.25);
  --yalf-shadow-primary:0 6px 18px rgba(122,77,255,.35);
}

.yalf-container{
  color: var(--yalf-text);
  background: radial-gradient(1000px 500px at 50% -200px, rgba(58,141,255,.2), transparent 58%), var(--yalf-bg);
  border: 1px solid var(--yalf-border);
  border-radius: 18px;
  box-shadow: var(--yalf-shadow-card);
}

.yalf-card,
.yalf-hero,
.yalf-panel,
.yalf-store-page .yalf-store-product-list.products li.product{
  background: var(--yalf-card);
  border-color: var(--yalf-border);
  box-shadow: var(--yalf-shadow-card);
}

.yalf-muted{
  color: var(--yalf-muted);
}

.yalf-form input,
.yalf-form select,
.yalf-input,
.yalf-select,
.yalf-profileForm input[type="text"],
.yalf-profileForm input[type="file"]{
  border: 1px solid var(--yalf-border);
  background: rgba(255,255,255,.04);
  color: var(--yalf-text);
}

.yalf-form input:focus,
.yalf-form select:focus,
.yalf-input:focus,
.yalf-select:focus{
  border-color: rgba(122,77,255,.8);
  box-shadow: 0 0 0 3px rgba(122,77,255,.3);
}

.yalf-btn,
.yalf-btn-soft,
.yalf-btn-secondary,
.yalf-tab,
.yalf-product-chip,
.yalf-code-chip,
.yalf-organizer-panel .yalf-btn,
.yalf-organizer-panel .yalf-quickBtn{
  border: 1px solid var(--yalf-border);
  background: rgba(255,255,255,.04);
  color: var(--yalf-text);
  box-shadow: none;
}

.yalf-btn-primary,
.yalf-btn--primary,
.yalf-tab.is-active,
.yalf-organizer-panel .yalf-btn--primary,
.yalf-organizer-panel .yalf-cta,
.yalf-store-page .yalf-buy-btn.button.alt{
  background: var(--yalf-accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--yalf-shadow-primary);
}

.yalf-btn-primary:hover,
.yalf-btn--primary:hover,
.yalf-organizer-panel .yalf-btn--primary:hover,
.yalf-organizer-panel .yalf-cta:hover,
.yalf-store-page .yalf-buy-btn.button.alt:hover{
  filter: brightness(1.06);
}

.yalf-success{
  background: rgba(58,141,255,.12);
  border: 1px solid rgba(58,141,255,.45);
  color: #cfe1ff;
}

.yalf-error{
  background: rgba(255,77,166,.14);
  border: 1px solid rgba(255,77,166,.45);
  color: #ffd0e8;
}

.yalf-empty{
  color: var(--yalf-muted);
}

.yalf-photo,
.yalf-thumb,
.yalf-store-photo{
  background: #141821;
}

.yalf-event-page.yalf-container,
.yalf-store-page{
  background: radial-gradient(1200px 700px at 50% -260px, rgba(122,77,255,.25), transparent 58%),
              radial-gradient(1000px 520px at 90% -140px, rgba(255,77,166,.18), transparent 55%),
              var(--yalf-bg-deep);
}

.yalf-event-page.yalf-container{
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.yalf-event-page .yalf-gallery-tabs{
  background: transparent !important;
}

.yalf-upload-fab{
  border: 1px solid rgba(255,255,255,.2);
  background: var(--yalf-accent-gradient);
  color: #fff;
  box-shadow: var(--yalf-shadow-primary);
}

.yalf-store-photo-check{
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(15,17,21,.65);
}

.yalf-store-photo.is-selected{
  outline: 3px solid #7A4DFF;
}

.yalf-store-photo.is-selected .yalf-store-photo-check{
  background: var(--yalf-accent-gradient);
}

.yalf-organizer-panel .yalf-eventCard,
.yalf-organizer-panel .yalf-modal__card{
  border-color: var(--yalf-border);
  box-shadow: var(--yalf-shadow-card);
}

.yalf-store-sticky{
  border-color: var(--yalf-border);
  box-shadow: var(--yalf-shadow-card);
}

.yalf-store-selected-pill{
  color: var(--yalf-text);
}

.yalf-store-page .yalf-store-required{
  color: var(--yalf-muted);
}

/* Guest purchase permissions */
.yalf-guest-buy-select{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.yalf-guest-buy-list{
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.yalf-guest-buy-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--yalf-border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}

.yalf-guest-buy-item--requested{
  border-color: rgba(58,141,255,.5);
  background: rgba(58,141,255,.08);
}

.yalf-guest-buy-item input{
  accent-color: #7A4DFF;
}

.yalf-guest-buy-meta{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yalf-guest-buy-name{
  color: var(--yalf-text);
  font-weight: 700;
  font-size: 14px;
}

.yalf-guest-buy-email{
  color: var(--yalf-muted);
  font-size: 12px;
}

/* Icon system (single tint + active accent support) */
.yalf-icon{
  --yalf-icon-size:20px;
  width: var(--yalf-icon-size);
  height: var(--yalf-icon-size);
  display: inline-block;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: var(--yalf-icon);
  mask-image: var(--yalf-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.yalf-icon--sm{ --yalf-icon-size:16px; }
.yalf-icon--lg{ --yalf-icon-size:24px; }

.yalf-icon--send{ --yalf-icon:url('../icons/enviar-icon.png'); }
.yalf-icon--qr{ --yalf-icon:url('../icons/qr-icon.png'); }
.yalf-icon--store{ --yalf-icon:url('../icons/tienda-icon.png'); }
.yalf-icon--upload{ --yalf-icon:url('../icons/subir-foto-icon.png'); }
.yalf-icon--camera{ --yalf-icon:url('../icons/tomar-foto-icon.png'); }
.yalf-icon--trash{ --yalf-icon:url('../icons/borrar-icono.png'); }
.yalf-icon--settings{ --yalf-icon:url('../icons/configuracion-perfil-icono.png'); }
.yalf-icon--heart-outline{ --yalf-icon:url('../icons/favorito-vacio-icon.png'); }
.yalf-icon--heart-filled{ --yalf-icon:url('../icons/favorito-relleno-icon.png'); }
.yalf-icon--event-boda{ --yalf-icon:url('../icons/boda-icon.png'); }
.yalf-icon--event-xv{ --yalf-icon:url('../icons/Fiesta-xv-icon.png'); }
.yalf-icon--event-cumple{ --yalf-icon:url('../icons/cumple-icon.png'); }
.yalf-icon--event-comunion{ --yalf-icon:url('../icons/comunion-icon.png'); }

.yalf-btn .yalf-icon,
.yalf-tab .yalf-icon,
.yalf-quickBtn .yalf-icon{
  margin-right: 0;
}

.yalf-cta .yalf-icon{
  margin-right: 8px;
}

.yalf-quickBtn .yalf-icon{
  color: #fff;
  --yalf-icon-size:19px;
}

.yalf-heart-icon{
  --yalf-icon-size:22px;
  color: #fff;
  fill: unset !important;
  stroke: unset !important;
}

.yalf-fav-btn.is-fav-active .yalf-heart-icon,
.yalf-photo.is-fav .yalf-heart-icon{
  --yalf-icon:url('../icons/favorito-relleno-icon.png');
  color: #FF4DA6;
}

.yalf-fav-btn:not(.is-fav-active) .yalf-heart-icon{
  --yalf-icon:url('../icons/favorito-vacio-icon.png');
  color: #fff;
}

.yalf-icon--grid{ --yalf-icon:url('../icons/cuadricula-icon.png'); }
.yalf-icon--feed{ --yalf-icon:url('../icons/feed-icon.png'); }
.yalf-icon--grid-fallback{ --yalf-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.yalf-icon--feed-fallback{ --yalf-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Crect x='3' y='4' width='18' height='4' rx='1'/%3E%3Crect x='3' y='10' width='18' height='4' rx='1'/%3E%3Crect x='3' y='16' width='18' height='4' rx='1'/%3E%3C/svg%3E"); }

/* ==========================================
   Event Screen Floating Header + Dual Photo FAB
========================================== */

.yalf-event-page{
  --yalf-event-header-top: 10px;
  --yalf-event-header-width: min(560px, calc(100vw - 24px));
  scroll-padding-top: 176px;
}

.yalf-event-page.yalf-container{
  padding-top: 0;
  padding-bottom: 124px;
}

body.admin-bar .yalf-event-page{
  --yalf-event-header-top: 42px;
}

@media (max-width: 782px){
  body.admin-bar .yalf-event-page{
    --yalf-event-header-top: 56px;
  }
}

.yalf-event-page .yalf-event-floatHeader{
  position: fixed;
  top: var(--yalf-event-header-top);
  left: 50%;
  transform: translateX(-50%);
  width: var(--yalf-event-header-width);
  z-index: 96;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 10px;
  background:
    radial-gradient(450px 140px at 4% 0%, rgba(58,141,255,.22), transparent 60%),
    radial-gradient(420px 130px at 100% 0%, rgba(255,77,166,.2), transparent 62%),
    rgba(12,15,21,.92);
  box-shadow: 0 18px 34px rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
}

.yalf-event-page .yalf-event-floatHeader__top{
  display: flex;
  align-items: center;
  gap: 8px;
}

.yalf-event-page .yalf-event-floatHeader__meta{
  flex: 1;
  min-width: 0;
}

.yalf-event-page .yalf-event-floatHeader__meta h1{
  margin: 0;
  font-size: clamp(20px, 5.6vw, 28px);
  line-height: 1.05;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yalf-event-page .yalf-event-floatHeader__meta .yalf-muted{
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.yalf-event-page .yalf-event-floatHeader__spacer{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.yalf-event-page .yalf-event-backBtn{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 38px;
  line-height: .55;
  font-weight: 600;
}

.yalf-event-page .yalf-event-backBtn--ghost{
  opacity: 0;
}

.yalf-event-page .yalf-gallery-tabs--floating{
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  margin: 10px 0 0;
  padding: 0;
  background: transparent !important;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
}

.yalf-event-page .yalf-tab--iconOnly{
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  flex: 0 0 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yalf-event-page .yalf-tab--iconOnly .yalf-icon{
  --yalf-icon-size: 20px;
}

.yalf-event-page .yalf-tab--iconOnly.is-active{
  border-color: transparent;
  background: var(--yalf-accent-gradient);
  color: #fff;
  box-shadow: var(--yalf-shadow-primary);
}

.yalf-event-page .yalf-tab--shop{
  margin-left: auto;
  text-decoration: none;
}

.yalf-event-page .yalf-event-header-space{
  height: 160px;
}

.yalf-event-page .yalf-success,
.yalf-event-page .yalf-error,
.yalf-event-page .yalf-view-panel{
  margin-left: 16px;
  margin-right: 16px;
}

.yalf-event-page .yalf-trial-banner{
  margin: 8px 16px 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(122,77,255,.6);
  background:
    linear-gradient(135deg, rgba(58,141,255,.18) 0%, rgba(122,77,255,.20) 55%, rgba(255,77,166,.18) 100%),
    rgba(15,17,21,.82);
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
  color: #fff;
}

.yalf-event-page .yalf-trial-banner__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.yalf-event-page .yalf-trial-banner__head strong{
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .2px;
}

.yalf-event-page .yalf-trial-banner__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(15,17,21,.55);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.yalf-event-page .yalf-trial-banner p{
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.95);
}

.yalf-event-page .yalf-trial-banner__cta{
  margin-top: 10px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.25);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.yalf-event-page .yalf-trial-banner__cta:hover{
  background: rgba(255,255,255,.12);
}

.yalf-event-page .yalf-gallery{
  margin-top: 0;
}

.yalf-event-page .yalf-upload-fab--dual{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 240px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.9);
  box-shadow: 0 20px 32px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 8px;
  z-index: 98;
}

.yalf-event-page .yalf-upload-fab__action{
  width: 104px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.yalf-event-page .yalf-upload-fab__action .yalf-icon{
  --yalf-icon-size: 26px;
}

.yalf-event-page .yalf-upload-fab__label{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.9);
}

.yalf-event-page .yalf-upload-fab__action.is-loading,
.yalf-event-page .yalf-upload-fab__action:disabled{
  opacity: .45;
  pointer-events: none;
}

.yalf-event-page .yalf-upload-fab__divider{
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.36);
  border-radius: 999px;
}

.yalf-event-page .yalf-trash-actions{
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.yalf-event-page .yalf-trash-empty-btn{
  font-size: 12px;
  padding: 8px 12px;
}

.yalf-event-page .yalf-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4,6,10,.72);
  backdrop-filter: blur(5px);
}

.yalf-event-page .yalf-modal.is-open{
  display: flex;
}

.yalf-event-page .yalf-modal__card{
  width: min(420px, 100%);
  background: #151923;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--yalf-shadow-card);
  padding: 18px;
  position: relative;
}

.yalf-event-page .yalf-upload-modal{
  text-align: center;
}

.yalf-event-page .yalf-upload-spinner{
  width: 46px;
  height: 46px;
  margin: 6px auto 12px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: #7A4DFF;
  animation: yalf-spin 1s linear infinite;
}

.yalf-event-page .yalf-upload-progress{
  margin: 0 0 6px;
  color: #fff;
  font-weight: 800;
}

@keyframes yalf-spin{
  to { transform: rotate(360deg); }
}

.yalf-event-page .yalf-modal__card h3{
  margin: 0 0 12px;
  color: #fff;
}

.yalf-event-page .yalf-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.yalf-event-page #yalfQrImage{
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #fff;
}

.yalf-event-page .yalf-modal__actions{
  display: grid;
  gap: 8px;
}

/* ==========================================
   Event Feed Author + Actions + Native Ratio
========================================== */

.yalf-event-page .yalf-photo-meta,
.yalf-event-page .yalf-photo-actions{
  display: none;
}

.yalf-event-page .yalf-photo-actions:empty{
  display: none !important;
}

.yalf-event-page .yalf-photo-meta{
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #151923;
}

.yalf-event-page .yalf-photo-meta__avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  color: #fff;
}

.yalf-event-page .yalf-photo-meta__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yalf-event-page .yalf-photo-meta__name{
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.yalf-event-page .yalf-photo-actions{
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #151923;
}

.yalf-event-page .yalf-photo-action-btn{
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.yalf-event-page .yalf-photo-action-btn .yalf-icon{
  --yalf-icon-size: 21px;
}

.yalf-event-page .yalf-photo-action-btn.is-loading,
.yalf-event-page .yalf-photo-action-btn:disabled{
  opacity: .45;
  pointer-events: none;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo,
.yalf-event-page [data-gallery][data-mode="trash"] .yalf-photo{
  display: block !important;
  aspect-ratio: auto !important;
  border-radius: 14px;
  overflow: hidden;
  background: #12161e;
  border: 1px solid rgba(255,255,255,.08);
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo-meta,
.yalf-event-page [data-gallery][data-mode="trash"] .yalf-photo-meta{
  display: flex;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo-actions,
.yalf-event-page [data-gallery][data-mode="trash"] .yalf-photo-actions{
  display: flex;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo img,
.yalf-event-page [data-gallery][data-mode="trash"] .yalf-photo img{
  width: 100%;
  height: auto !important;
  max-height: min(78vh, 980px);
  object-fit: contain !important;
  background: #0b0e13;
  display: block;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo-meta{
  padding-right: 52px;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo-actions{
  justify-content: flex-start;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo-actions .yalf-fav-btn{
  position: static !important;
  margin: 0 !important;
  top: auto !important;
  right: auto !important;
  box-shadow: none;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-delete-photo-btn{
  position: absolute;
  top: 10px;
  right: 10px;
  margin-left: 0;
  z-index: 2;
}

.yalf-event-page [data-gallery][data-mode="trash"] .yalf-restore-photo-btn{
  width: auto;
  min-width: 110px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  border-radius: 10px;
}

.yalf-event-page [data-gallery][data-mode="trash"] .yalf-photo-actions{
  justify-content: flex-end;
  gap: 8px;
}

.yalf-event-page [data-gallery][data-mode="trash"] .yalf-delete-photo-btn[data-hard-delete-photo]{
  width: auto;
  min-width: 110px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  border-radius: 10px;
  border-color: rgba(255,77,166,.45);
  background: rgba(255,77,166,.18);
}
.yalf-load-more {
  display: block;
  margin: 12px auto 0;
}

.yalf-qr-box {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto 12px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yalf-qr-box canvas,
.yalf-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.yalf-event-configBtn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yalf-event-configBtn .yalf-icon{
  --yalf-icon-size: 18px;
}

.yalf-event-config-top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 18px;
}

.yalf-event-config-title h1{
  margin: 0 0 4px;
  font-size: 22px;
  color: #fff;
}

.yalf-event-config-title .yalf-muted{
  margin: 0;
}

.yalf-guest-buy-request{
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo.is-hidden,
.yalf-event-page [data-gallery][data-mode="trash"] .yalf-photo.is-hidden{
  display: none !important;
}

.yalf-event-page [data-gallery][data-mode="feed"] .yalf-photo{
  position: relative;
}

.yalf-event-page .yalf-upload-fab--single{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.9);
  box-shadow: 0 20px 32px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
}

.yalf-event-page .yalf-upload-fab--single .yalf-upload-fab__action{
  width: 64px;
  height: 64px;
}
