/* ZUNO PROMOTION ENGINE — STYLING */

.sponsored-slot {
  margin: 22px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  animation: slideUpIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* LOADING STATE */
.sponsored-slot.loading {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 20px;
  min-height: 150px;
}

.skeleton {
  width: 100%;
  height: 120px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* HEADER */
.sponsored-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 92, 26, 0.08);
  border-bottom: 1px solid rgba(255, 92, 26, 0.15);
}

.sponsored-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  font-family: 'Syne', sans-serif;
}

.promoted-in {
  font-size: 12px;
  color: var(--white);
  font-weight: 800;
}

/* ADVERTISE BOARD */
.advert-board {
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.advert-content {
  padding: 20px 16px;
  text-align: center;
}

.advert-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.advert-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.3px;
}

.advert-content p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.advert-benefits {
  list-style: none;
  padding: 12px 0;
  margin-bottom: 16px;
  text-align: left;
}

.advert-benefits li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  line-height: 1.5;
}

/* ARTISAN PROMOTION */
.artisan-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.artisan-photo {
  position: relative;
  flex-shrink: 0;
}

.artisan-photo img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: #222;
  border: 2px solid rgba(255, 92, 26, 0.3);
}

.verified-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.artisan-info {
  flex: 1;
}

.artisan-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
}

.category {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}

.rating {
  font-size: 11px;
  color: #FFD700;
  font-weight: 700;
  margin-bottom: 6px;
}

.location {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* STATUS PROMOTION */
.status-card {
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.status-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.status-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
}

.status-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  padding: 14px 24px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255, 92, 26, 0.3);
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.cta-button:hover {
  background: #FF7A40;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 92, 26, 0.4);
}

.cta-button:active {
  transform: scale(0.98);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .artisan-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .artisan-photo img {
    width: 100px;
    height: 100px;
  }
  
  .sponsored-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* ADVERTISE CARD UPDATES */
.advert-subtitle {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-bottom: 16px !important;
}

.bullet-bold {
  font-weight: 700;
  color: var(--orange);
}

.advert-benefits li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  line-height: 1.6;
}

.sponsored-slot.advert-board {
  margin-bottom: 20px !important;
}

.cta-button {
  font-weight: 700 !important;
}

/* ARTISAN PROMOTION - V2 PREMIUM CARD LAYOUT */
.v2-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.v2-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1c1c1c;
  overflow: hidden;
}
.v2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.v2-verified-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.v2-avail-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.v2-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.v2-avail-offline .v2-avail-dot {
  background: #666;
}
.v2-avail-offline {
  color: rgba(255,255,255,0.6);
}
.v2-rating-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  line-height: 1.3;
}
.v2-rating-reviews {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.v2-rating-none {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 600;
}
.v2-body {
  padding: 16px;
}
.v2-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  margin-bottom: 2px;
}
.v2-category {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 6px;
}
.v2-location {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.v2-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.v2-btn-row {
  display: flex;
  gap: 10px;
}
.v2-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: var(--orange);
  color: white;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
}
.v2-btn-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
}
@media (max-width: 480px) {
  .v2-btn-row {
    flex-direction: column;
  }
}

/* ============================================
   FEATURED ARTISAN CAROUSEL (2+ active promotions)
   Appended -- does not modify any existing rule above.
   Reuses .v2-card etc. from the single-card styles as-is.
   ============================================ */

.promo-carousel-wrap {
  position: relative;
}

.promo-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 12px;
  padding: 0 4px;
}

.promo-carousel-track::-webkit-scrollbar {
  display: none;
}

.promo-carousel-slide {
  flex: 0 0 90%;
  scroll-snap-align: start;
}

@media (min-width: 641px) {
  .promo-carousel-slide {
    flex-basis: 45%;
  }
}

.promo-carousel-slide .v2-card {
  height: 100%;
}

.promo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 4px;
}

.promo-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.promo-carousel-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}
