/* =====================================================
   Laaj Jewelry — CMS storefront styles
   (Admin-side overrides live in admin.css; this file only
   carries rules used by the public site.)
   ===================================================== */

/* ---------- Announcement bar ---------- */
.announcement-bar {
  width: 100%;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  position: relative;
}
.announcement-text { text-align: center; flex: 1; }
.announcement-close {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  opacity: .8;
}
.announcement-close:hover { opacity: 1; }

/* ---------- Logo image (when uploaded) ---------- */
.logo-img { max-height: 44px; width: auto; display: block; }

/* ---------- Popup banner ---------- */
.cms-popup-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
}
.cms-popup-backdrop.is-visible { display: flex; }
.cms-popup-card {
  background: #fff;
  max-width: 460px;
  width: 100%;
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  text-align: center;
  animation: cmsPopIn .35s ease;
}
@keyframes cmsPopIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cms-popup-image {
  max-width: 100%;
  max-height: 220px;
  margin-bottom: 14px;
  border-radius: 8px;
  object-fit: cover;
}
.cms-popup-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading, 'Playfair Display'), serif;
  color: var(--color-primary, #8B0000);
  font-size: 1.6rem;
}
.cms-popup-card p { margin: 0; color: #444; line-height: 1.6; }
.cms-popup-close {
  position: absolute;
  top: 8px; right: 12px;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  color: #777;
  line-height: 1;
}
.cms-popup-close:hover { color: var(--color-primary, #8B0000); }

/* ---------- Current-page nav highlight ---------- */
.site-nav a.is-current { color: var(--color-primary, #8B0000); font-weight: 600; }

/* ---------- Footer social ---------- */
.footer-social { margin-top: 10px; display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: #fff;
  transition: background .2s;
}
.footer-social a:hover { background: var(--color-gold, #C9A84C); color: #111; }
