/* ============================================================
   Cloud PR Wire — brand layer
   Sits on top of style.css / responsive.css. Adds the text logo,
   the dashboard auth-gate (math captcha + "now part of PRNow"
   reveal), shop/outlet helpers and the PRNow footer note.
   The template's navy palette is preserved; a cloud-blue accent
   is added for brand moments.
   ============================================================ */

:root {
  --cpw-navy: #001a57;
  --cpw-navy-dark: #000f32;
  --cpw-sky: #1b8bff;
  --cpw-sky-dark: #0f6fe0;
  --cpw-ink: #232323;
  --cpw-muted: #707d9e;
  --cpw-line: #e6e9f2;
  --cpw-bg-soft: #f5f8ff;
}

/* ---------- Text logo (replaces the template image logo) ---------- */
.cpw-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--cpw-navy);
  white-space: nowrap;
}
.cpw-logo:hover { color: var(--cpw-navy); }
.cpw-logo i { color: var(--cpw-sky); font-size: 26px; }
.cpw-logo__text { letter-spacing: -0.3px; }
.cpw-logo .cpw-logo__pr { color: var(--cpw-sky); }
.cpw-logo--light { color: #fff; }
.cpw-logo--sm { font-size: 21px; }
.cpw-logo--sm i { font-size: 21px; }

/* ---------- Header CTA buttons ---------- */
.cpw-nav-cta {
  display: inline-block;
  background: var(--cpw-sky);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 40px;
  padding: 0 22px;
  border-radius: 5px;
  transition: background .3s ease;
}
.cpw-nav-cta:hover { background: var(--cpw-sky-dark); color: #fff !important; }
.cpw-login-link {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.cpw-login-link:hover { color: var(--cpw-sky); }

/* Hero caption — template colours the heading navy, which is dark-on-dark over
   the branded gradient slides; force light text for contrast. */
#theme-main-banner .camera_caption h1 { color: #fff; }
#theme-main-banner .camera_caption p { color: rgba(255, 255, 255, .88); }
#theme-main-banner .camera_caption .theme-button-one { color: var(--cpw-navy); background: #fff; }
#theme-main-banner .camera_caption .theme-button-one:hover { color: #fff; background: var(--cpw-sky); }

/* CTA callout band sits on a navy background — the template has no heading
   colour here, so the default dark <h2> is invisible. Force it white. */
.callout-banner h2 { color: #fff; }
.callout-banner h2 a { color: #fff; }

/* ============================================================
   Dashboard auth-gate  (dashboard.html / signup.html / login.html)
   ============================================================ */
.cpw-auth { padding: 90px 0 110px; background: var(--cpw-bg-soft); }
.cpw-auth-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--cpw-line);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 26, 87, .08);
  padding: 46px 44px 40px;
}
.cpw-auth-head { text-align: center; margin-bottom: 26px; }
.cpw-auth-head h2 {
  font-size: 28px; font-weight: 800; color: var(--cpw-navy); margin: 0 0 8px;
}
.cpw-auth-head p { font-size: 16px; color: var(--cpw-muted); margin: 0; line-height: 1.6; }

.cpw-captcha__label {
  display: block; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--cpw-muted); margin-bottom: 12px;
}
.cpw-captcha__q {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 30px; font-weight: 800; color: var(--cpw-navy);
  background: var(--cpw-bg-soft); border: 1px solid var(--cpw-line);
  border-radius: 8px; padding: 16px 18px; user-select: none;
}
.cpw-captcha__q button {
  border: none; background: #fff; color: var(--cpw-sky);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--cpw-line); cursor: pointer; font-size: 14px;
  transition: all .25s ease;
}
.cpw-captcha__q button:hover { background: var(--cpw-sky); color: #fff; }
.cpw-captcha__input {
  width: 100%; margin-top: 16px; padding: 14px 18px;
  border: 1px solid var(--cpw-line); border-radius: 8px;
  font-size: 17px; color: var(--cpw-ink); outline: none; text-align: center;
  transition: border-color .25s ease;
}
.cpw-captcha__input:focus { border-color: var(--cpw-sky); }
.cpw-captcha__input.is-error { border-color: #e63329; }

.cpw-btn {
  width: 100%; margin-top: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--cpw-navy); color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  font-size: 15px; font-weight: 700; padding: 15px 22px;
  transition: background .25s ease;
}
.cpw-btn:hover { background: var(--cpw-navy-dark); }
.cpw-err { color: #e63329; font-size: 14px; margin: 12px 0 0; text-align: center; }
.cpw-auth-alt { text-align: center; font-size: 15px; color: var(--cpw-muted); margin: 20px 0 0; }
.cpw-auth-alt a { color: var(--cpw-sky); font-weight: 700; }

/* ---------- Reveal state (decoded only after the captcha is solved) ---------- */
.cpw-reveal-inner { text-align: center; padding: 6px 4px 4px; }
.cpw-badge {
  display: inline-block; background: #e8f3ff; color: var(--cpw-sky-dark);
  font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  padding: 7px 15px; border-radius: 30px; margin-bottom: 20px;
}
.cpw-reveal-inner h3 {
  font-size: 26px; font-weight: 800; color: var(--cpw-navy);
  margin: 0 0 14px; line-height: 1.25;
}
.cpw-reveal-inner p {
  font-size: 16px; color: #5a6378; line-height: 1.7;
  max-width: 430px; margin: 0 auto 26px;
}
.cpw-prnow-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cpw-sky); color: #fff !important;
  font-size: 16px; font-weight: 700; padding: 15px 30px; border-radius: 8px;
  transition: background .25s ease;
}
.cpw-prnow-btn:hover { background: var(--cpw-sky-dark); color: #fff !important; }
.cpw-prnow-btn span { opacity: .85; font-weight: 600; font-size: 14px; }
.cpw-redirect-note { font-size: 13px; color: #9aa3b8; margin: 18px 0 0; }
@keyframes cpw-spin { to { transform: rotate(360deg); } }
.cpw-spin { display: inline-block; animation: cpw-spin .8s linear infinite; }

/* ============================================================
   Shop / outlet helpers
   ============================================================ */
.cpw-tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 30px; margin-bottom: 10px;
}
.cpw-tag--single { background: #e8f3ff; color: var(--cpw-sky-dark); }
.cpw-tag--bundle { background: #eafaf1; color: #1c9c5b; }
.cpw-outlet-meta {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: var(--cpw-muted);
}
.cpw-outlet-meta li i { color: var(--cpw-sky); margin-right: 5px; }

/* Branded product imagery fills the card box edge-to-edge */
.shop-page .single-product .image-box { background: var(--cpw-navy); }
.shop-page .single-product .image-box img {
  width: 100%; height: 338px; object-fit: cover; display: block;
}
.product-preview img {
  width: 100%; height: auto; border-radius: 8px; display: block;
  box-shadow: 0 10px 26px rgba(0, 26, 87, .12);
}

/* Product card "from" pricing + checkout note */
.cpw-price-from { font-size: 13px; color: var(--cpw-muted); font-weight: 600; }
.cpw-checkout-note {
  background: var(--cpw-bg-soft); border: 1px solid var(--cpw-line);
  border-left: 3px solid var(--cpw-sky); border-radius: 6px;
  padding: 14px 18px; margin-top: 18px; font-size: 14px; color: #5a6378; line-height: 1.6;
}
.cpw-checkout-note i { color: var(--cpw-sky); margin-right: 6px; }

/* Outlet detail "what's included" list */
.cpw-incl { list-style: none; padding: 0; margin: 22px 0 0; }
.cpw-incl li {
  position: relative; padding: 0 0 14px 30px;
  font-size: 16px; color: #5a6378; line-height: 1.6;
}
.cpw-incl li i {
  position: absolute; left: 0; top: 3px; color: #1c9c5b; font-size: 16px;
}

/* ---------- Footer "Part of PRNow" note ---------- */
.cpw-prnow-note { color: #fff; opacity: .85; }
.cpw-prnow-note a { color: #fff; text-decoration: underline; }
.cpw-prnow-note a:hover { color: var(--cpw-sky); }

/* ---------- Small responsive tidy ---------- */
@media (max-width: 575px) {
  .cpw-auth-card { padding: 34px 22px 30px; }
  .cpw-auth-head h2 { font-size: 23px; }
  .cpw-captcha__q { font-size: 25px; }
  .cpw-logo { font-size: 22px; }
}
