/* === NannyShared WooCommerce Button Styles === */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page .button {
    background-color: #F71156 !important;  /* NannyShared Updated Pink */
    color: #ffffff !important;             /* White text */
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: bold;
    text-transform: uppercase;
}

/* === Hover State === */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #c80042 !important;   /* Slightly darker pink for hover */
    color: #ffffff !important;
}

/* === Price Text === */
.woocommerce .price {
    color: #F71156 !important;
    font-weight: bold;
}

/* === Sale Badge === */
.woocommerce span.onsale {
    background-color: #F71156 !important;
    color: #ffffff !important;
    border-radius: 50%;
    padding: 0.5em 1em;
    font-weight: bold;
}

/* === WooCommerce Notices === */
.woocommerce-message {
    border-top-color: #4CAF50 !important; /* Green success */
}
.woocommerce-error {
    border-top-color: #f44336 !important; /* Red error */
}
.woocommerce-info {
    border-top-color: #2196F3 !important; /* Blue info */
}

/* === HIDE SHOP PAGE BANNER (STRONG TARGETING) === */
body.woocommerce.archive .page-header,
body.woocommerce.archive .page-title,
body.woocommerce.archive .entry-header,
body.woocommerce.archive .breadcrumbs,
body.woocommerce.archive .banner,
body.woocommerce.archive .hero-section,
body.woocommerce.archive .site-banner,
body.woocommerce.archive .title-wrapper,
body.woocommerce.archive .listing-title,
body.woocommerce.archive .woocommerce-breadcrumb {
    display: none !important;
}
/* Hide 'Business' and '1 listing' in Directorist search dropdown */
.dspb-ac-suggestion span,
.dspb-ac-suggestion small,
.atbd_ac_listing .atbd_cat,
.atbd_ac_listing .atbd_listing_type {
  display: none !important;
}

/* Optional: hide 'Business' headings on homepage only */
body.home h2:contains("Business"),
body.home h3:contains("Business") {
  display: none !important;
}
/* Hide "business 1 listing" line in search dropdown suggestion box */
.dspb-ac-suggestion small,
.dspb-ac-suggestion .atbd_listing_type {
    display: none !important;
}
/* === NannyShared Pink Button: Learn More (Homepage) === */
.nannyshared-pink-button {
  background-color: #f71156; /* Brand Pink */
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.nannyshared-pink-button:hover {
  background-color: #c5003c; /* Hover Pink */
  transform: scale(1.05);
}
/* === BEGIN: Ultra-Thin Scrolling Banner === */
.scrolling-banner {
  background-color: #f71156;       /* Brand pink */
  color: white;                    /* White text */
  padding: 0.5px 0;                /* Ultra thin */
  font-size: 9px;                  /* Small font */
  font-weight: normal;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;                   /* On top of everything */
  overflow: hidden;
  line-height: 0.9;
  transition: top 0.3s ease-in-out; /* Smooth slide on scroll */
}

.scrolling-banner p {
  display: inline-block;
  white-space: nowrap;
  animation: scrollBanner 15s linear infinite;
  margin: 0;
  padding-left: 100%;
}

@keyframes scrollBanner {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* === END: Ultra-Thin Scrolling Banner === */
/* ===== NannyShared Learn Button Styles ===== */
.learn-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #f71156, #ff5e99);
  color: white !important;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 12px rgba(247, 17, 86, 0.3);
  transition: all 0.3s ease-in-out;
}

.learn-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(247, 17, 86, 0.4);
  color: white !important;
}

@media screen and (max-width: 600px) {
  .learn-btn {
    font-size: 16px;
    padding: 14px 30px;
    width: 100%;
    max-width: 280px;
  }
}
/* ===== End Learn Button Styles ===== */

/* START Subscribe CSS */
.subscribe-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #fef6f8; /* Updated to match review box */
  border-radius: 20px;
  margin: 40px auto;
  max-width: 700px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.subscribe-box h2 {
  font-size: 26px;
  color: #f71156;
  margin-bottom: 10px;
  font-weight: 700;
}

.subscribe-box p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.subscribe-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  animation: fadeIn 1s ease-in-out;
}

.subscribe-box input[type="email"] {
  padding: 12px 20px;
  border: 2px solid #f71156;
  border-radius: 30px;
  font-size: 16px;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
}

.subscribe-box input[type="email"]:focus {
  outline: none;
  border-color: #ff5e99;
  box-shadow: 0 0 8px rgba(247, 17, 86, 0.2);
}

.subscribe-btn {
  background: linear-gradient(135deg, #f71156, #ff5e99);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 12px rgba(247, 17, 86, 0.3);
}

.subscribe-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(247, 17, 86, 0.4);
}

.confirmation-message {
  margin-top: 20px;
  color: #f71156;
  font-weight: 600;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* END Subscribe CSS */
h1.archive-title, 
header.page-header, 
.page-header, 
.bbp-header, 
.bbp-template-notice,
.archive .entry-header {
  display: none !important;
}
/* Ensure Report button stays visible */
.atbd_listing_action.report {
    position: relative;
    z-index: 99;
}

/* Optional: adjust padding to push content down */
.listing-thumb, .atbd_listing-thumbnail {
    margin-bottom: 20px; /* or increase as needed */
}
/* Floating chat button */
#nannyshared-chat-btn {
  position: fixed;
  bottom: 20px; right: 20px;
  background: #f71156; color: #fff;
  border: 0; border-radius: 50%;
  width: 60px; height: 60px; font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  transition: all .3s ease;
  z-index: 9999;
}
#nannyshared-chat-btn:hover { background:#d50e4a; transform:scale(1.05); }

/* Chat window */
#nannyshared-chat-box {
  position: fixed; bottom: 90px; right: 20px;
  width: 320px; max-height: 500px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  display: none; flex-direction: column; overflow: hidden;
  font-family: 'Poppins', sans-serif; z-index: 9999;
}

/* Header */
#nannyshared-chat-header{
  display:flex; align-items:center; gap:6px;
  background: linear-gradient(90deg,#f71156,#ff5f88);
  color:#fff; padding:12px 16px; font-weight:600; font-size:16px;
}
/* Persona badge — force white text */
#ns-persona-badge{
  padding:2px 8px; font-size:12px; font-weight:700;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  border-radius:999px; color:#fff;
}

/* Messages */
#nannyshared-chat-messages{
  flex:1; padding:10px; overflow-y:auto; font-size:14px; line-height:1.4;
}

/* Persona picker */
.ns-pill{
  border:1px solid #ffc1d3; background:#ffeaf1; color:#c40d44;
  padding:8px 12px; border-radius:999px; font-weight:600; cursor:pointer; flex:1; text-align:center;
}
.ns-pill:hover{ filter:brightness(.98); }
.ns-link{ background:transparent; border:0; color:#c40d44; text-decoration:underline; cursor:pointer; font-size:14px; }

/* Input row */
#nannyshared-chat-input{ display:flex; border-top:1px solid #eee; }
#nannyshared-chat-input input{
  flex:1; border:0; padding:10px; font-size:14px;
}
#nannyshared-chat-input button{
  background:#f71156; color:#fff; border:0;
  padding:0 16px; font-weight:600; border-radius:20px; cursor:pointer;
}

/* Typing indicator */
.ns-typing{
  display:flex; align-items:center; gap:4px;
  font-style:italic; color:#888; padding:8px; border-radius:10px;
  background:#f6f6f6; align-self:flex-start;
}
.ns-dot{ width:6px; height:6px; background:#aaa; border-radius:50%; animation:ns-bounce 1.4s infinite ease-in-out; }
.ns-dot:nth-child(2){ animation-delay:.2s; } .ns-dot:nth-child(3){ animation-delay:.4s; }
@keyframes ns-bounce{ 0%,80%,100%{ transform:scale(0);} 40%{ transform:scale(1);} }

/* Suggestions */
.ns-suggestions{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.ns-suggest{
  border:1px solid #ffc1d3; background:#fff6f8;
  padding:4px 10px; border-radius:999px; font-size:13px; cursor:pointer;
}
.ns-suggest:hover{ background:#ffeaf1; }

/* Mobile */
@media (max-width:600px){
  #nannyshared-chat-box{ right:12px; width:min(92vw,360px); }
}
/* Make sure the chat window sits ABOVE the floating button */
#nannyshared-chat-box { z-index: 10010; }
#nannyshared-chat-btn { z-index: 10000; }

/* Clickable links inside bot messages */
#nannyshared-chat-messages a {
  color: #c40d44;
  text-decoration: underline;
  pointer-events: auto;
}

/* CTA chips look & feel */
.ns-chip {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 10px;
  border: 1px solid #ffc1d3;
  background: #ffeaf1;
  color: #c40d44;
  border-radius: 999px;
  font-weight: 600;
}
.ns-chip:hover { filter: brightness(0.98); }