.header-logo-bar {
  background-color: #fff;
  padding: 1.5rem 0;
  border-bottom: 3px solid #7b2d82;
  text-align: center;
}
.header-logo-bar .site-logo-img {
  max-height: 120px;
  max-width: 100%;
  width: auto;
}
@media (max-width: 576px) {
  .header-logo-bar {
    padding: 1rem 0;
  }
  .header-logo-bar .site-logo-img {
    max-height: 70px;
  }
}
.site-navbar {
  background-color: #3d6b8e;
  padding: 0;
}
.site-navbar .navbar-nav .nav-link,
.site-navbar .nav-link,
.site-navbar a.nav-link {
  color: #fff !important;
  padding: 1rem 1.25rem;
}
.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .nav-link:hover,
.site-navbar a.nav-link:hover {
  color: #e0d0f0 !important;
  background-color: #2d5070;
}
.site-navbar .menu--account a,
.site-navbar .menu--secondary a {
  color: #fff !important;
  padding: 0.5rem 0.75rem;
}
.site-navbar .menu--account a:hover,
.site-navbar .menu--secondary a:hover {
  color: #e0d0f0 !important;
}
.site-navbar .menu--account a.lpp-signup-link,
.site-navbar .menu--account a[data-drupal-link-system-path="user/register"] {
  background-color: #7b2d82 !important;
  border-radius: 4px;
  padding: 0.4rem 1rem !important;
  margin-left: 0.5rem;
}
.site-navbar .menu--account a.lpp-signup-link:hover,
.site-navbar .menu--account a[data-drupal-link-system-path="user/register"]:hover {
  background-color: #5e2264 !important;
  color: #fff !important;
}
.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
.site-navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-primary {
  background-color: #3d6b8e;
  border-color: #3d6b8e;
}
.btn-primary:hover {
  background-color: #2d5070;
  border-color: #2d5070;
}
.btn-secondary {
  background-color: #7b2d82;
  border-color: #7b2d82;
}
.btn-secondary:hover {
  background-color: #5e2264;
  border-color: #5e2264;
}
h1.title,
h1.page-title {
  color: #3d6b8e;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.site-footer {
  background-color: #3d6b8e;
  color: #fff;
  margin-top: 3rem;
}
.site-footer a {
  color: #e0d0f0;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}
.site-footer .footer-col p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.site-footer .site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  opacity: 0.85;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.service-card:hover {
  box-shadow: 0 4px 16px rgba(61, 107, 142, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
  color: #3d6b8e;
}
.service-card .service-icon {
  font-size: 2.5rem;
  color: #3d6b8e;
}
.service-card.featured {
  border-color: #7b2d82;
  border-width: 2px;
}
.service-card.featured .service-icon {
  color: #7b2d82;
}
.service-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: #3d6b8e;
  line-height: 1;
}
/* Cards with an action button: title link covers the whole card; button floats above it */
.service-card--photo strong a,
.service-card--doc strong a,
.service-card--passport strong a {
  color: inherit;
  text-decoration: none;
}
.service-card--photo strong a::after,
.service-card--doc strong a::after,
.service-card--passport strong a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 8px;
}
.service-card--photo .btn,
.service-card--doc .btn,
.service-card--passport .btn {
  position: relative;
  z-index: 2;
}
.service-detail {
  padding-top: 1rem;
}
.service-detail__header {
  margin-bottom: 1.5rem;
}
.service-detail__description {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.service-detail__pricing {
  margin-bottom: 2rem;
}
.service-detail__pricing h2 {
  color: #3d6b8e;
  border-bottom: 2px solid #7b2d82;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.service-detail__pricing h4 {
  color: #3d6b8e;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.service-detail__pricing--contact {
  background: #f4f6f8;
  border-left: 4px solid #7b2d82;
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
}
.service-detail__cta {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #dee2e6;
}
.pricing-page h2 {
  color: #3d6b8e;
  border-bottom: 2px solid #7b2d82;
  padding-bottom: 0.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.pricing-page h2 a {
  color: #333;
  text-decoration: none;
}
.pricing-page h2 a:hover {
  text-decoration: none;
}
.pricing-page .table-dark th {
  background-color: #3d6b8e;
  border-color: #2d5070;
}
.pricing-page table {
  font-size: 0.9rem;
}
#user-register-form .lpp-section-label,
.user-form .lpp-section-label {
  font-size: 1rem;
  font-weight: 600;
  color: #3d6b8e;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}
#user-register-form .js-form-item-lpp-edit-primary-email,
.user-form .js-form-item-lpp-edit-primary-email,
#user-register-form .js-form-type-email.form-item-lpp-edit-primary-email,
.user-form .js-form-type-email.form-item-lpp-edit-primary-email {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px 4px 0 0;
  border-bottom: none;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0;
}
#user-register-form .field--name-field-extra-emails > .paragraphs-widget-table,
.user-form .field--name-field-extra-emails > .paragraphs-widget-table {
  margin-top: 0;
  border-top: 1px solid #dee2e6;
}
#user-register-form .js-form-item-lpp-primary-email,
.user-form .js-form-item-lpp-primary-email,
#user-register-form .js-form-type-email.form-item-lpp-primary-email,
.user-form .js-form-type-email.form-item-lpp-primary-email {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.5rem;
}
#user-register-form .field--name-field-phones,
.user-form .field--name-field-phones,
#user-register-form .field--name-field-extra-emails,
.user-form .field--name-field-extra-emails {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}
#user-register-form .field--name-field-phones table,
.user-form .field--name-field-phones table,
#user-register-form .field--name-field-extra-emails table,
.user-form .field--name-field-extra-emails table {
  margin-bottom: 0;
  border-bottom: none;
}
#user-register-form .field--name-field-phones > div:last-child,
.user-form .field--name-field-phones > div:last-child,
#user-register-form .field--name-field-extra-emails > div:last-child,
.user-form .field--name-field-extra-emails > div:last-child,
#user-register-form .field--name-field-phones > .clearfix:last-child,
.user-form .field--name-field-phones > .clearfix:last-child,
#user-register-form .field--name-field-extra-emails > .clearfix:last-child,
.user-form .field--name-field-extra-emails > .clearfix:last-child {
  padding: 0.5rem 0.75rem;
}
#user-register-form .field--name-field-phones .tabledrag-handle,
.user-form .field--name-field-phones .tabledrag-handle,
#user-register-form .field--name-field-extra-emails .tabledrag-handle,
.user-form .field--name-field-extra-emails .tabledrag-handle,
#user-register-form .field--name-field-phones .tabledrag-toggle-weight-wrapper,
.user-form .field--name-field-phones .tabledrag-toggle-weight-wrapper,
#user-register-form .field--name-field-extra-emails .tabledrag-toggle-weight-wrapper,
.user-form .field--name-field-extra-emails .tabledrag-toggle-weight-wrapper,
#user-register-form .field--name-field-phones .paragraphs-icon-button-collapse,
.user-form .field--name-field-phones .paragraphs-icon-button-collapse,
#user-register-form .field--name-field-extra-emails .paragraphs-icon-button-collapse,
.user-form .field--name-field-extra-emails .paragraphs-icon-button-collapse,
#user-register-form .field--name-field-phones td.field-multiple-drag,
.user-form .field--name-field-phones td.field-multiple-drag,
#user-register-form .field--name-field-extra-emails td.field-multiple-drag,
.user-form .field--name-field-extra-emails td.field-multiple-drag,
#user-register-form .field--name-field-phones td.delta-order,
.user-form .field--name-field-phones td.delta-order,
#user-register-form .field--name-field-extra-emails td.delta-order,
.user-form .field--name-field-extra-emails td.delta-order {
  display: none !important;
}
#user-register-form .field--name-field-phones .paragraphs-subform,
.user-form .field--name-field-phones .paragraphs-subform,
#user-register-form .field--name-field-extra-emails .paragraphs-subform,
.user-form .field--name-field-extra-emails .paragraphs-subform {
  padding: 0.75rem 1rem;
}
/* Account Switcher */
.account-switcher__toggle {
  color: #fff !important;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  background: none;
  border: none;
}
.account-switcher__toggle:hover,
.account-switcher__toggle:focus {
  color: #e0d0f0 !important;
  box-shadow: none;
}
.account-switcher__toggle::after {
  vertical-align: middle;
}
.account-switcher__menu {
  min-width: 13rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 0.4rem 0;
}
.account-switcher__menu .dropdown-item {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: #333;
}
.account-switcher__menu .dropdown-item:hover {
  background-color: #f0f4f8;
  color: #3d6b8e;
}
.account-switcher__signout {
  color: #888;
}
.account-switcher__signout:hover {
  color: #3d6b8e !important;
}
.hero-banner {
  background: linear-gradient(135deg, #3d6b8e 0%, #7b2d82 100%);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.hero-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-banner p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* ── Cart icon ────────────────────────────────────────────────────────────── */
.lpp-cart-nav-icon {
  color: #fff;
  font-size: 1.35rem;
  padding: 0.5rem 0.6rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.lpp-cart-nav-icon:hover {
  color: #e0d0f0;
}
.lpp-cart-badge {
  position: absolute;
  top: 2px;
  right: -2px;
  background-color: #7b2d82;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 1.25em;
  height: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 0.25em;
}

/* ── Navbar dropdowns (Staff menu + account switcher) ─────────────────────── */
.site-navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-top: 3px solid #3d6b8e;
  border-radius: 0 0 .375rem .375rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  min-width: 12rem;
  padding: .375rem 0;
  margin-top: 0;    /* flush under the toggle */
}

/* account switcher: dropdown-item on the <a> */
/* main menu (Barrio): dropdown-item on the <li>, plain <a> inside */
.site-navbar .dropdown-item,
.site-navbar li.dropdown-item > a {
  display: block;
  color: #2c3e50;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus,
.site-navbar li.dropdown-item > a:hover,
.site-navbar li.dropdown-item > a:focus {
  background-color: #3d6b8e;
  color: #fff;
}

.site-navbar .dropdown-item.active,
.site-navbar .dropdown-item:active,
.site-navbar li.dropdown-item.active > a,
.site-navbar li.dropdown-item > a:active {
  background-color: #2d5370;
  color: #fff;
}

/* ── Login / Register two-column SSO layout ────────────────────────────────── */

.lpp-login-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 1.5rem;
}

.lpp-login-col {
  flex: 1;
}

/* Vertical OR divider */
.lpp-login-or {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  gap: 0.6rem;
  flex-shrink: 0;
}
.lpp-login-or__line {
  flex: 1;
  width: 1px;
  background-color: #dee2e6;
}
.lpp-login-or__text {
  color: #adb5bd;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* SSO column: centre the button vertically and horizontally */
.lpp-login-col--sso {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Style the "Log in with Google" button */
.lpp-google-sso-btn.lpp-google-sso-btn {
  background-color: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  transition: background-color 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
}
.lpp-google-sso-btn::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3Cpath fill='none' d='M0 0h48v48H0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.lpp-google-sso-btn:hover,
.lpp-google-sso-btn:focus {
  background-color: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  color: #3c4043;
}

/* Collapse to stacked on narrow screens */
@media (max-width: 600px) {
  .lpp-login-layout {
    flex-direction: column;
  }
  .lpp-login-or {
    flex-direction: row;
    padding: 1.25rem 0;
  }
  .lpp-login-or__line {
    flex: 1;
    width: auto;
    height: 1px;
  }
}

/* ── Login / Register intro block + tabs ───────────────────────────────────── */

/* Space between the intro block and the tabs below it */
#block-lpp-theme-login-intro {
  margin-bottom: 1.75rem;
}

/* Scoped to user pages so these rules don't bleed elsewhere */
.path-user nav.tabs {
  border-bottom: 3px solid #3d6b8e;
  margin-bottom: 1.5rem;
}

/* Remove Bootstrap's default 1 px bottom border from the <ul> itself
   (the 3 px rule on the <nav> replaces it) */
.path-user nav.tabs .nav-tabs {
  border-bottom: none;
  gap: 0.25rem;
}

/* Inactive tabs */
.path-user nav.tabs .nav-link {
  color: #3d6b8e;
  background-color: #f0f4f8;
  border: 1px solid #c8d8e8;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
  margin-bottom: 0;
}

.path-user nav.tabs .nav-link:hover,
.path-user nav.tabs .nav-link:focus {
  background-color: #dce9f5;
  color: #2d5070;
  border-color: #a0c0d8;
  border-bottom: none;
}

/* Active tab */
.path-user nav.tabs .nav-link.active {
  background-color: #3d6b8e;
  color: #fff;
  border-color: #3d6b8e;
}
