/* =========================================================
   POPANDSMOKES — MARKETING PREFERENCES MY ACCOUNT
   Plugin frontend styles — v1.3.0
========================================================= */

/* Wrapper */
body.woocommerce-account .woocommerce-MyAccount-content .pns-marketing-preferences-v130,
body.woocommerce-account .pns-marketing-preferences-v130 {
  max-width: 860px !important;
}

/* Page title — smaller to match My Account pages */
html body.woocommerce-account .woocommerce-MyAccount-content h2.pns-marketing-preferences-title,
html body.woocommerce-account h2.pns-marketing-preferences-title,
html body .pns-marketing-preferences-wrap h2.pns-marketing-preferences-title {
  color: #0067b2 !important;
  font-size: clamp(2rem, 2.6vw, 2.55rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  margin: 0 0 24px !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
}

/* Shared light My Account card style */
body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-card,
body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-success-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%) !important;
  border: 1px solid rgba(22, 140, 255, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px rgba(0, 42, 80, 0.08) !important;
  color: #06182c !important;
}

/* Intro note — light card with blue left rule */
body.woocommerce-account .woocommerce-MyAccount-content .pns-marketing-preferences-v130 .pns-preference-note-card,
body.woocommerce-account .pns-marketing-preferences-v130 .pns-preference-note-card,
body.woocommerce-account .woocommerce-MyAccount-content .pns-preference-note-card,
body.woocommerce-account .pns-preference-note-card {
  background: #ffffff !important;
  background-image: none !important;
  color: #4b5563 !important;
  border: 1px solid rgba(22, 140, 255, 0.15) !important;
  border-left: 5px solid #168cff !important;
  border-radius: 14px !important;
  padding: 28px 32px !important;
  margin: 0 0 26px !important;
  box-shadow: 0 10px 30px rgba(0, 42, 80, 0.06) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .pns-marketing-preferences-v130 .pns-preference-note-card p,
body.woocommerce-account .pns-marketing-preferences-v130 .pns-preference-note-card p,
body.woocommerce-account .woocommerce-MyAccount-content .pns-preference-note-card p,
body.woocommerce-account .pns-preference-note-card p {
  color: #4b5563 !important;
  background: transparent !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  border-left: none !important;
  padding-left: 0 !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-success-card {
  padding: 18px 22px !important;
  margin: 0 0 22px !important;
  color: #0067b2 !important;
  font-weight: 900 !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-preferences-form {
  margin: 0 !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-card {
  padding: 26px 30px !important;
  margin: 0 0 24px !important;
}

/* Checkbox card */
body.woocommerce-account .pns-marketing-preferences-v130 .pns-marketing-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-marketing-checkbox-label input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin-top: 5px !important;
  accent-color: #168cff !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-marketing-checkbox-label span {
  color: #06182c !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

/* Last updated card */
body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-date-card {
  color: #06182c !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-date-card strong {
  color: #0067b2 !important;
  font-weight: 900 !important;
  margin-right: 6px !important;
}

/* Actions */
body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-actions-card {
  text-align: left !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-save-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #168cff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 15px 30px !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  box-shadow: 0 14px 30px rgba(22, 140, 255, 0.25) !important;
  transition: all 0.25s ease !important;
}

body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-save-button:hover {
  background: #0067b2 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
  body.woocommerce-account .pns-marketing-preferences-v130 {
    max-width: 100% !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content h2.pns-marketing-preferences-title,
  html body.woocommerce-account h2.pns-marketing-preferences-title,
  html body .pns-marketing-preferences-wrap h2.pns-marketing-preferences-title {
    font-size: 2rem !important;
    margin-bottom: 22px !important;
  }

  body.woocommerce-account .pns-marketing-preferences-v130 .pns-preference-note-card,
  body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-card,
  body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-success-card {
    padding: 22px 18px !important;
  }

  body.woocommerce-account .pns-marketing-preferences-v130 .pns-preference-note-card p,
  body.woocommerce-account .pns-marketing-preferences-v130 .pns-marketing-checkbox-label span {
    font-size: 1rem !important;
  }

  body.woocommerce-account .pns-marketing-preferences-v130 .pns-account-save-button {
    width: 100% !important;
  }
}
