/* Customer accounts, checkout, overseas profiles, and numbered navigation. */
.customer-account-nav { white-space: nowrap; }
.customer-auth-section { min-height: 68vh; display: grid; align-items: center; }
.customer-auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.customer-auth-copy h1, .checkout-main h1 { font-size: clamp(42px, 5vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 14px 0 22px; }
.customer-auth-copy > p, .checkout-main > p { font-size: clamp(18px, 2vw, 22px); line-height: 1.75; max-width: 740px; color: var(--muted); }
.customer-auth-card { padding: clamp(28px, 4vw, 48px); border-radius: 30px; }
.customer-auth-card h2 { font-size: clamp(30px, 3vw, 42px); margin: 8px 0 24px; }
.customer-auth-card .field { margin-bottom: 18px; }
.customer-auth-card > p { text-align: center; margin: 22px 0 0; }
.customer-consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 24px; font-weight: 700; line-height: 1.55; }
.customer-consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; }
.customer-account-grid { display: grid; grid-template-columns: minmax(280px, .38fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.customer-account-card { padding: 30px; border-radius: 26px; position: sticky; top: 110px; }
.customer-account-card h2 { margin: 10px 0; font-size: 30px; }
.customer-account-card p { overflow-wrap: anywhere; color: var(--muted); }
.customer-account-card .button { margin-top: 12px; }
.customer-order-list { display: grid; gap: 16px; }
.customer-order-card { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px; border-radius: 22px; }
.customer-order-card h3 { margin: 5px 0; font-size: 25px; }
.customer-order-card p { margin: 0; color: var(--muted); }
.customer-order-card > div:last-child { display: grid; justify-items: end; gap: 8px; min-width: 120px; }
.order-status { border-radius: 999px; padding: 7px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: #e9eef7; }
.order-status.status-completed, .order-status.status-confirmed { background: #dff6e9; color: #12633b; }
.order-status.status-cancelled { background: #fde8eb; color: #8c2536; }
.checkout-section { padding-top: clamp(60px, 8vw, 110px); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .4fr); gap: 30px; align-items: start; }
.checkout-package, .checkout-form, .checkout-aside { padding: clamp(26px, 4vw, 42px); border-radius: 28px; }
.checkout-package { margin: 28px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; }
.checkout-package > span, .checkout-package > p { grid-column: 1 / -1; }
.checkout-package h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.checkout-package > strong { align-self: center; color: var(--accent); }
.checkout-form .field { margin-bottom: 18px; }
.checkout-aside { position: sticky; top: 110px; }
.checkout-aside h2 { font-size: 28px; margin: 10px 0; }
.checkout-aside hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.checkout-aside ol { padding-left: 22px; line-height: 1.8; }
.checkout-payment-preview { background: linear-gradient(180deg, rgba(219,234,250,.42), rgba(255,255,255,0)); }
.order-success-card { max-width: 900px; text-align: center; padding: clamp(40px, 7vw, 80px); border-radius: 34px; }
.order-success-card h1 { font-size: clamp(38px, 5vw, 64px); margin: 12px auto 20px; }
.order-success-card p { font-size: 19px; line-height: 1.7; max-width: 700px; margin: 0 auto 28px; }
.order-success-card > div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.order-success-icon { width: 70px; height: 70px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #daf5e6; color: #147142; font-size: 32px; font-weight: 900; }
.overseas-hero { padding: clamp(90px, 11vw, 160px) 0 80px; background: radial-gradient(circle at 80% 20%, rgba(92,179,255,.28), transparent 35%), linear-gradient(135deg, #061a35, #0a3971); color: #fff; }
.overseas-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: center; }
.overseas-hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -.055em; margin: 15px 0 22px; }
.overseas-hero h1 em { color: #9fd3ff; }
.overseas-hero p { max-width: 820px; font-size: 20px; line-height: 1.7; color: rgba(255,255,255,.84); }
.overseas-stat { padding: 34px; text-align: center; color: #10213a; border-radius: 30px; }
.overseas-stat strong { display: block; font-size: 64px; color: #0c61bd; }
.overseas-stat span { display: block; font-size: 20px; font-weight: 850; }
.overseas-stat small { display: block; margin-top: 12px; line-height: 1.5; }
.country-cloud { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 28px; scroll-snap-type: x proximity; }
.country-cloud > span { flex: 0 0 auto; min-width: 150px; padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; scroll-snap-align: start; }
.country-cloud strong, .country-cloud small { display: block; }
.country-cloud small { margin-top: 5px; color: var(--muted); }
.numbered-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 40px; }
.numbered-pagination a { min-width: 46px; min-height: 46px; display: grid; place-items: center; padding: 9px 14px; border: 1px solid var(--line); background: #fff; border-radius: 12px; font-weight: 850; text-decoration: none; }
.numbered-pagination a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, #2579ea, #073b7e); border-color: transparent; box-shadow: 0 10px 24px rgba(20,87,169,.24); }
.admin-table-card .admin-message-cell { min-width: 240px; white-space: normal; }
@media (max-width: 1000px) {
  .customer-auth-shell, .checkout-layout, .overseas-hero-grid { grid-template-columns: 1fr; }
  .customer-auth-copy { text-align: center; }
  .customer-auth-copy .check-list { display: inline-grid; text-align: left; }
  .checkout-aside, .customer-account-card { position: static; }
  .overseas-stat { max-width: 420px; }
}
@media (max-width: 760px) {
  .customer-account-grid { grid-template-columns: 1fr; }
  .customer-order-card { align-items: flex-start; flex-direction: column; }
  .customer-order-card > div:last-child { justify-items: start; }
  .checkout-package { grid-template-columns: 1fr; }
  .checkout-package > span, .checkout-package > p { grid-column: auto; }
  .overseas-hero { padding-top: 70px; }
  .overseas-hero h1 { font-size: clamp(42px, 13vw, 62px); }
}
/* 2026-09-28 readability fixes: compact language dropdown, lighter payments,
   and visible numbered pagination in every theme/language. */
.language-select.site-language-picker {
  min-width: 142px;
  padding: 5px 12px;
  border-radius: 13px;
  background: #fff;
}
.language-select.site-language-picker select {
  width: 100%;
  max-width: none;
  min-width: 118px;
  min-height: 38px;
  padding: 5px 30px 5px 8px;
  color: #10233f;
  background-color: transparent;
  font-family: var(--latin);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}
.hero-language-picker.language-select.site-language-picker {
  min-width: 190px;
}
.hero-language-picker.language-select.site-language-picker select {
  min-height: 46px;
  font-size: 16px;
}
.payment-slide .payment-card-heading div > span,
.payment-slide .payment-account > span {
  font-weight: 600;
}
.payment-slide .payment-card-heading h3 {
  font-weight: 750;
}
.payment-slide .payment-account strong {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .2px;
}
.payment-slide .payment-account b {
  font-size: 18px;
  font-weight: 600;
}
.payment-slide > p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
}
.payment-slide .copy-account {
  font-weight: 650;
}
.numbered-pagination a {
  color: #153a60;
  background: #fff;
  font-family: var(--latin);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.numbered-pagination a:visited {
  color: #153a60;
}
.numbered-pagination a:hover,
.numbered-pagination a:focus-visible {
  color: #083f82;
  border-color: #2d7bd4;
  background: #edf5ff;
}
.numbered-pagination a[aria-current="page"],
.numbered-pagination a[aria-current="page"]:visited {
  color: #fff;
}
@media (max-width: 900px) {
  .header-actions > .language-select.site-language-picker {
    display: none;
  }
  .mobile-language-picker .language-select.site-language-picker {
    display: block;
    min-width: 0;
  }
}
/* September 2026: premium dark navigation, overseas search, and signed-in proposals. */
html[data-theme] .site-header,
html[data-theme] .site-header.is-scrolled {
  color: #fff;
  background: linear-gradient(118deg, rgba(4, 20, 42, .98), rgba(8, 49, 91, .97) 56%, rgba(12, 63, 103, .96));
  border-bottom-color: rgba(167, 204, 244, .24);
  box-shadow: 0 14px 38px rgba(3, 18, 38, .2);
}
.site-header .brand-copy strong { color: #fff; }
.site-header .brand-copy small { color: rgba(225, 238, 253, .76); }
.site-header .brand-mark { filter: drop-shadow(0 7px 14px rgba(0, 0, 0, .28)) drop-shadow(0 0 10px rgba(255, 255, 255, .16)); }
html[data-theme] .site-header .desktop-nav .nav-link,
html[data-theme] .site-header .mobile-menu .nav-link {
  color: rgba(242, 248, 255, .92);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}
html[data-theme] .site-header .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .38);
}
html[data-theme] .site-header .nav-link.is-active,
html[data-theme] .site-header .nav-link.is-active:hover {
  color: #08284d;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .2);
}
.site-header .header-actions > .button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
}
.site-header .header-actions > .button-ghost:hover { background: rgba(255, 255, 255, .17); }
.site-header .header-actions > .button-primary {
  color: #082343;
  background: linear-gradient(135deg, #fff, #e3f0ff);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}
.site-header .header-actions > .button-primary:hover { background: #fff; }
.site-header .language-select.site-language-picker,
.site-header .theme-switcher { background: rgba(255, 255, 255, .96); border-color: rgba(255, 255, 255, .65); }
.site-header .menu-button { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.site-header .menu-button span { background: #fff; }
.country-cloud > a {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 15px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.country-cloud > a:hover,
.country-cloud > a:focus-visible { transform: translateY(-2px); border-color: var(--rose); box-shadow: 0 10px 24px rgba(15, 54, 99, .1); }
.overseas-search-panel { margin: 12px 0 clamp(38px, 5vw, 64px); padding: clamp(24px, 4vw, 42px); }
.overseas-search-panel .filters-heading > div > span { color: #0f5aa8; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.overseas-search-panel .filters-heading h2 { margin: 5px 0 0; }
.proposal-signin-prompt { display: grid; align-content: center; gap: 18px; min-width: 0; }
.proposal-signin-prompt > p { margin: 0; color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.7; }
.proposal-signin-prompt > div { display: flex; flex-wrap: wrap; gap: 12px; }
.proposal-signin-prompt .proposal-create-account { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .45); }
@media (max-width: 900px) {
  html[data-theme] .site-header .mobile-menu { background: linear-gradient(150deg, #06182e, #0b3768); border-color: rgba(255, 255, 255, .16); box-shadow: 0 22px 45px rgba(3, 18, 38, .32); }
  .site-header .mobile-language-picker > span,
  .site-header .mobile-theme-picker > span,
  .site-header .mobile-language-picker small { color: rgba(236, 245, 255, .84); }
}
@media (max-width: 600px) {
  .proposal-signin-prompt > div .button { width: 100%; }
  .overseas-search-panel { padding: 18px; }
}
@media (min-width: 1600px) and (max-width: 1749px) {
  .site-header,
  .site-header.is-scrolled { height: auto; min-height: 130px; padding-block: 12px; }
  .site-header .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; }
  .header-inner > .brand { justify-self: start; }
  .site-header .desktop-nav { grid-column: 1 / -1; grid-row: 2; }
  .header-inner > .header-actions { grid-column: 2; grid-row: 1; }
}