#announcement-bar,.announcement-bar{display:none!important;height:0!important;overflow:hidden!important;visibility:hidden!important;}
body.has-announcement #site-header{top:0!important;}

/* ============================================================
   PHASE 3  EXTRAS: WhatsApp, Newsletter, Animations, Mobile
   ============================================================ */

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-tooltip {
  background: var(--c-charcoal);
  color: var(--c-white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 480px) {
  .whatsapp-float { bottom: 20px; right: 16px; }
  .whatsapp-tooltip { display: none; }
}

/* NEWSLETTER POPUP */
.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(44, 37, 32, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.newsletter-popup.open {
  opacity: 1;
  visibility: visible;
}
.newsletter-popup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  width: 100%;
  background: var(--c-white);
  overflow: hidden;
  position: relative;
}
.newsletter-popup-img {
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=800&q=80') center/cover no-repeat;
  min-height: 380px;
}
.newsletter-popup-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter-popup-content .section-label { margin-bottom: 12px; }
.newsletter-popup-content h2 { font-size: 2rem; margin-bottom: 12px; }
.newsletter-popup-content p { font-size: 0.85rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 24px; }
.newsletter-input-row { display: flex; gap: 0; }
.newsletter-input-row input {
  flex: 1;
  border: 1px solid var(--c-border);
  border-right: none;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-input-row input:focus { border-color: var(--c-gold); }
.newsletter-input-row button {
  background: var(--c-charcoal);
  color: var(--c-white);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--c-charcoal);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-input-row button:hover { background: var(--c-gold); border-color: var(--c-gold); }
.newsletter-skip {
  font-size: 0.72rem;
  color: var(--c-muted);
  cursor: pointer;
  margin-top: 14px;
  display: inline-block;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1px;
  transition: var(--transition);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}
.newsletter-skip:hover { color: var(--c-charcoal); border-color: var(--c-charcoal); }
.newsletter-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--c-muted);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
}
.newsletter-close:hover { color: var(--c-charcoal); transform: rotate(90deg); }
/* Shown when a subscribe is refused - previously impossible, because the
   form claimed success unconditionally. */
.newsletter-error {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: #c0392b;
  text-align: center;
}

.newsletter-success {
  text-align: center;
  padding: 20px 0;
}
.newsletter-success i { font-size: 2.5rem; color: var(--c-gold); margin-bottom: 16px; display: block; }
.newsletter-success h3 { margin-bottom: 8px; }
.newsletter-success p { font-size: 0.85rem; color: var(--c-muted); }
@media (max-width: 640px) {
  .newsletter-popup-inner { grid-template-columns: 1fr; }
  .newsletter-popup-img { min-height: 180px; }
  .newsletter-popup-content { padding: 32px 24px; }
}

/* ANNOUNCEMENT BAR */








/* SIZE GUIDE MODAL */
.size-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(44,37,32,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.size-guide-modal.open { opacity: 1; visibility: visible; }
.size-guide-inner {
  background: var(--c-white);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}
.size-guide-inner h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.size-guide-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1rem;
  color: var(--c-muted);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
}
.size-guide-close:hover { color: var(--c-charcoal); transform: rotate(90deg); }
.size-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.size-table th {
  background: var(--c-surface);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
  padding: 12px 16px;
  text-align: center;
  border: 1px solid var(--c-border);
}
.size-table td {
  padding: 10px 16px;
  border: 1px solid var(--c-border);
  text-align: center;
  color: var(--c-text);
}
.size-table tr:hover td { background: var(--c-surface); }
.size-note { font-size: 0.78rem; color: var(--c-muted); margin-top: 16px; line-height: 1.7; }
.size-guide-trigger {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 2px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}
.size-guide-trigger:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* The .sticky-atc rules that were here are gone with the markup they
   styled: that second sticky bar was never rendered, and the product
   template draws its own (.product-sticky-bar, styled in product.css). */

/* RECENTLY VIEWED */
.recently-viewed { padding: 60px 0; border-top: 1px solid var(--c-border); }
.recently-viewed h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
  margin-bottom: 24px;
}
.rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  grid-auto-rows: 1fr;
}
.rv-card { display: block; transition: var(--transition); }
.rv-card:hover { transform: translateY(-3px); }
.rv-img { aspect-ratio: var(--ratio-tile); background-size: cover; background-position: center; margin-bottom: 10px; border-radius: var(--c-radius-card,14px); }
.rv-name { font-family: var(--font-display); font-size: 0.9rem; color: var(--c-charcoal); }
.rv-price { font-size: 0.78rem; color: var(--c-muted); }

/* COOKIE NOTICE */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2800;
  background: var(--c-charcoal);
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  max-width: 380px;
  font-size: 0.82rem;
  line-height: 1.6;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 40px rgba(44,37,32,0.3);
}
.cookie-notice.open { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-notice p { margin-bottom: 16px; color: rgba(255,255,255,0.7); }
.cookie-notice a { color: var(--c-gold-light); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-accept {
  flex: 1;
  padding: 10px;
  background: var(--c-gold);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-accept:hover { background: var(--c-white); color: var(--c-charcoal); }
.cookie-decline {
  padding: 10px 16px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.cookie-decline:hover { color: var(--c-white); border-color: rgba(255,255,255,0.5); }

/* ============================================================
   HEADER NOTIFICATION BELL (Phase 5 item 6)
   ============================================================ */
.hdr-notif{position:relative;display:inline-flex;}
.hdr-notif-btn{position:relative;}
.hdr-notif-dot{
  position:absolute;top:-2px;right:-4px;min-width:16px;height:16px;padding:0 4px;
  background:var(--c-gold,#B89A6A);color:#fff;border-radius:9px;
  font-size:0.6rem;font-weight:600;line-height:16px;text-align:center;
}
.hdr-notif-dot.is-empty{display:none;}
.hdr-notif-menu{
  position:absolute;top:calc(100% + 10px);right:0;width:330px;max-width:calc(100vw - 32px);
  background:#fff;border:1px solid var(--c-border);border-top:2px solid var(--c-gold,#B89A6A);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:var(--transition);
  box-shadow:0 12px 36px rgba(44,37,32,0.14);z-index:1002;
}
.hdr-notif.is-open .hdr-notif-menu{opacity:1;visibility:visible;transform:translateY(0);}
.hdr-notif-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--c-border);}
.hdr-notif-head strong{font-size:0.76rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--c-charcoal);}
.hdr-notif-readall{background:none;border:none;cursor:pointer;font-size:0.68rem;color:var(--c-gold-text,#8a6d3b);letter-spacing:0.04em;}
.hdr-notif-readall:hover{text-decoration:underline;}
.hdr-notif-list{max-height:360px;overflow-y:auto;}
.hdr-notif-item{display:flex;gap:11px;padding:12px 16px;border-bottom:1px solid var(--c-border);text-decoration:none;color:inherit;}
.hdr-notif-item:last-child{border-bottom:none;}
a.hdr-notif-item:hover{background:var(--c-surface);}
.hdr-notif-item.is-unread{background:#fffdf8;}
.hdr-notif-ic{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--c-surface);color:var(--c-gold-text,#8a6d3b);display:flex;align-items:center;justify-content:center;font-size:0.8rem;}
.hdr-notif-body{display:flex;flex-direction:column;gap:2px;min-width:0;}
.hdr-notif-title{font-size:0.82rem;color:var(--c-charcoal);}
.hdr-notif-msg{font-size:0.74rem;color:var(--c-muted);overflow:hidden;text-overflow:ellipsis;}
.hdr-notif-time{font-size:0.68rem;color:var(--c-muted);}
.hdr-notif-empty{padding:22px 16px;text-align:center;font-size:0.78rem;color:var(--c-muted);margin:0;}
@media(max-width:520px){
  /* Anchor to the viewport rather than the icon so a 330px panel
     cannot hang off the right edge of a phone. */
  .hdr-notif{position:static;}
  .hdr-notif-menu{right:16px;left:16px;width:auto;max-width:none;}
}

/* ------------------------------------------------------------------
   Video embeds (Phase 7)
   ------------------------------------------------------------------
   One wrapper for every video source — YouTube iframe, native <video>,
   or an oEmbed provider — so they all stay 16:9 and never overflow
   their column on mobile.
   ------------------------------------------------------------------ */
.celasta-video {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
.celasta-video > iframe,
.celasta-video > video,
.celasta-video > iframe[src] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* wp_oembed_get() returns its own wrapper for some providers. */
.celasta-video > .wp-video,
.celasta-video > .wp-video video,
.celasta-video > figure { width: 100% !important; height: 100%; margin: 0; }

@supports not (aspect-ratio: 16 / 9) {
  .celasta-video { height: 0; padding-bottom: 56.25%; }
}
