/* Site-specific rules that are not part of the vendor template.
 *
 * Unlike style.css this file is hand-written, not generated: style.css comes
 * from style.source.css through tools/restyle_css.py and would lose anything
 * added to it. Put new components here.
 */

:root {
  /* WhatsApp's own brand green. Deliberately outside the site palette in
     tools/theme.py: the button is recognised by that colour, so it should not
     follow a rebrand. */
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
}

/* Floating contact button, bottom right on every page. Sits below the fixed
   navbar (z-index 999) and the preloader (9999). */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover,
.wa-float:focus {
  background: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.wa-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.wa-float .fa {
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 767px) {
  .wa-float {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
  .wa-float .fa {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: none;
  }
  .wa-float:hover,
  .wa-float:focus {
    transform: none;
  }
}

/* The template's footer columns sit flush against one another: .f-menu-content
   is a flex row with no gap at any width. The original labels were short enough
   to hide it, but longer ones run straight into the next column. */
.f-menu-content {
  gap: 28px;
}

/* Three columns will not fit a phone: at 320px the third one, which carries an
   unbreakable email address, is pushed off the viewport. Let them wrap two to a
   row instead, and allow the address itself to break. */
@media (max-width: 575px) {
  .f-menu-content {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .f-menu {
    flex: 1 1 40%;
  }

  .f-menu a {
    overflow-wrap: anywhere;
  }
}

/* ---------------------------------------------------------------------------
   Mobile repairs to the template
   --------------------------------------------------------------------------- */

/* The two phones in "What we build" are absolutely positioned inside a
   container the template fixes at 926px wide. Its mobile rules rescale and
   reposition the phones but never touch that width, so on a phone the container
   hangs 460px past the viewport and the second device is sliced off at the
   right edge. Sizing everything against the container instead keeps both inside
   at any width, and the aspect ratio gives the absolutely positioned children a
   real height to resolve their offsets against.

   The breakpoint is 991px, where the columns stack: the template's own mobile
   rules stop at 736px and left everything up to 991px on the desktop width. */
@media (max-width: 991px) {
  #why-choose .dashboard {
    position: relative;
    right: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    padding-bottom: 0;
  }

  #why-choose .mobile_1,
  #why-choose .mobile_2 {
    width: 62%;
  }

  #why-choose .dashboard img {
    width: 100%;
  }

  #why-choose .mobile_1 {
    left: 0;
    top: 0;
  }

  #why-choose .mobile_2 {
    left: 38%;
    top: 32%;
  }
}

/* The video thumbnail and its caption share one flex row. At 360px of content
   that leaves the text about twenty characters per line, so stack them. */
@media (max-width: 575px) {
  .payment-sections .video-box {
    display: block;
  }

  .payment-sections .video-box .video-img {
    margin: 0 0 18px;
  }
}

/* The app mockup in the download section is a full-width block that the
   template nudges sideways with `left: 40px`, so its box hangs past the
   viewport and at 320px the whole page scrolls horizontally. Centring the
   image achieves the same offset look without moving the box. */
@media (max-width: 991px) {
  .download .mobile_1 {
    left: 0;
    text-align: center;
  }
}

/* At the narrowest phones the template's hero device keeps a 275px width and a
   70px rightward nudge, which together push it past a 320px viewport and make
   the whole page scroll sideways. */
@media (max-width: 359px) {
  .laptop {
    right: 0;
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   Contact section
   ---------------------------------------------------------------------------
   Not part of the template, so it borrows the template's own vocabulary: the
   `.title` eyebrow-plus-heading pair, the `.rbtn` button, and the card shadow
   the payment cards use, on a white ground like the section it replaced. */

.contact-block {
  padding: 120px 0;
  background: #fff;
}

.contact-block .title {
  margin-bottom: 24px;
}

.contact-lead {
  max-width: 22em;
  margin-bottom: 34px;
}

/* Direct routes, for people who would rather not fill in a form. */
.contact-direct a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: #212529;
  transition: color 0.2s ease;
}

.contact-direct a:hover,
.contact-direct a:focus {
  color: #d9230f;
}

.contact-direct .fa {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: #fcedec;
  color: #d9230f;
  font-size: 19px;
  line-height: 44px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-direct a:hover .fa {
  background: #d9230f;
  color: #fff;
}

.contact-direct span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.45;
  color: #6c757d;
}

.contact-direct strong {
  font-weight: 500;
  font-size: 16px;
  color: inherit;
}

.contact-card {
  background: #fff;
  box-shadow: 1px 1px 18px #0000001a;
  padding: 44px 40px;
}

.contact-thankyou {
  text-align: center;
}

.contact-thankyou .fa-check-circle {
  display: block;
  font-size: 48px;
  color: #28a745;
  margin: 0 auto 16px;
}

.contact-thankyou .contact-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Name and email share a row until there is no longer space for two. */
.contact-row {
  display: flex;
  gap: 20px;
}

.contact-row .form-group {
  flex: 1 1 0;
  min-width: 0;
}

.contact-card .form-group {
  margin-bottom: 22px;
}

.contact-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #212529;
}

.contact-card .form-control {
  width: 100%;
  height: auto;
  padding: 13px 15px;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  background: #fff;
  color: #373a3c;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card .form-control:focus {
  border-color: #d9230f;
  box-shadow: 0 0 0 3px rgba(217, 35, 15, 0.14);
  outline: none;
}

.contact-card textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.contact-card .rbtn {
  margin-right: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 991px) {
  .contact-block {
    padding: 90px 0;
  }

  .contact-card {
    margin-top: 44px;
  }
}

@media (max-width: 575px) {
  .contact-card {
    padding: 30px 22px;
  }

  .contact-row {
    display: block;
  }

  .contact-card .rbtn {
    width: 100%;
    padding: 15px 20px;
  }
}

/* Bootstrap pins `select.form-control` to 38px with a selector specific enough
   to beat the rule above, and at that height this field's padding clips the
   option text. Matching its specificity lets the select size like the inputs. */
.contact-card select.form-control:not([size]):not([multiple]),
.dom-field select.form-control:not([size]):not([multiple]) {
  height: auto;
  line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------------------
   The template paints `.dropdown-menu` dark but never sets a colour on
   `.dropdown-item`, so Bootstrap's near-black default lands on it at a contrast
   ratio of 1.11:1 — the text is there but invisible. Its hover state pairs the
   same near-black with the brand red, which is no better. This affects the
   language selector too, not only the services menu. */
.navbar .dropdown-item {
  color: #fff;
  padding: 0.5rem 1.25rem;
}

.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background-color: #d9230f;
  color: #fff;
}

.navbar .dropdown-menu {
  border: 0;
  border-radius: 0;
  padding: 6px 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* A fifth item leaves the row too tight, and every label wraps onto a second
   line. Keeping the labels intact and tightening the gaps fits them back on
   one line. */
@media (min-width: 992px) {
  .navbar-nav.mr-auto .nav-item {
    margin: 0 0.85rem;
  }

  .navbar-nav.mr-auto .nav-link {
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------------------
   Desktop overflow the template leaves open
   ---------------------------------------------------------------------------
   The hero device is only given a width inside two windows — 768-1024px and
   1300-1440px. Everywhere else `.laptop` shrink-wraps its image at the natural
   1068px and the whole page scrolls sideways: 483px of it at 1280, one of the
   most common laptop widths there is. Extending the template's own approach
   (size the box, let the image fill it) closes the gap. */
@media (min-width: 1025px) {
  .laptop {
    width: 680px;
    max-width: calc(100% - 60px);
  }

  .laptop img {
    width: 100%;
  }
}

/* The call-to-action tablet is emitted at the template's original 1292px canvas
   and does not scale, so it pokes out of any viewport narrower than that. */
.call_to_action .tab img {
  max-width: 100%;
  height: auto;
}

/* Several decorative images are meant to bleed past the right edge — the phones
   in "What we build" most of all. At some widths something already clips them
   and at others nothing does, and the bleed then drags a horizontal scrollbar
   across the whole page. Clipping at the root settles it everywhere. Safe here:
   the only fixed element is the navbar, and there is nothing sticky. */
html,
body {
  overflow-x: hidden;
}

/* ---------------------------------------------------------------------------
   About section
   ---------------------------------------------------------------------------
   The dashboard screenshot is absolutely positioned on desktop, so it adds no
   height to its section and hangs 37px into the call to action below — a light
   screenshot poking onto the dark band, visible at every width from 1280 up.
   Below 1025px the template already solves this by putting it back in flow;
   this does the same above it, keeping the rightward bleed as a margin so the
   element still contributes its height. */
@media (min-width: 1025px) {
  #about .dashboard {
    position: relative;
    top: auto;
    right: auto;
    margin-right: -332px;
  }
}

/* ---------------------------------------------------------------------------
   The three steps
   ---------------------------------------------------------------------------
   The section's photographic background carries bright red particles that drift
   behind the step captions, dropping their local contrast to 1.21:1 in places
   even though the median across the band is a comfortable 8:1. A soft scrim
   gives the text a stable ground without flattening the image.

   Note the selector: `.progress-bar` is both this section's wrapper and, inside
   Bootstrap, the filled arc of each ring. `section >` picks out the wrapper. */
section > .progress-bar {
  position: relative;
}

section > .progress-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 11, 12, 0.5);
  pointer-events: none;
}

section > .progress-bar > .container {
  position: relative;
  z-index: 1;
}

section > .progress-bar .box-text p {
  color: #e9ecef;
}

/* ---------------------------------------------------------------------------
   Footer brand column
   ---------------------------------------------------------------------------
   The logo is 65px wide inside a 285px column and the social row starts at the
   same left edge, which leaves the whole block hugging one side. Centring it
   balances the column against the menus beside it.

   Scoped to `.col-sm-4` because `.weight` is also the newsletter column, which
   should stay left-aligned with its form. */
.footer .col-sm-4 .weight {
  text-align: center;
}

.footer .col-sm-4 .weight .social-f {
  justify-content: center;
}

/* The template floats these icons left inside their fixed-width cells, which
   fights the centring. */
.footer .col-sm-4 .weight .social-f i {
  float: none;
}

/* ---------------------------------------------------------------------------
   Hero device alignment
   ---------------------------------------------------------------------------
   The template pins the device with a hardcoded `top` per breakpoint — 200px,
   230px, 330px — none of which relate to the headline beside it or to the hero's
   own height. The result is a device sitting up to 100px off the text's centre,
   and hanging past the bottom of the hero at 1440, 992, 768 and 390px.

   Anchoring it to 54% instead lines it up with the text at every width: the
   headline block's optical centre sits at 53-55% of the hero's height whether
   that hero is 700px or 1000px tall. */
@media (min-width: 737px) {
  .laptop {
    top: 54%;
    transform: translateY(-50%);
  }
}

/* Below 737px the template puts the device back in flow, where the leftover
   18px offset just pushes it out of the hero. */
@media (max-width: 736px) {
  .laptop {
    top: 0;
  }
}

/* ---------------------------------------------------------------------------
   Navbar breakpoint
   ---------------------------------------------------------------------------
   The horizontal menu does not fit below 1150px: logo, search box, five items
   and the two right-hand buttons together need more room than that, and the
   Spanish labels are the longer of the two languages. Between 992 and 1149px
   Bootstrap's `lg` breakpoint expanded it anyway, pushing the language selector
   and then the sign-in button off the right edge — silently, because the root
   `overflow-x: hidden` that tames the decorative bleed also hides this.

   The markup now uses `navbar-expand-xl`, so the menu collapses to the
   hamburger below 1200px, comfortably clear of the 1150px limit. Three template
   rules were keyed to the old class and are restated here for the new one. */
.navbar-expand-xl .navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  padding: 0.65rem 0;
  border-radius: 0;
  color: #ced4da;
}

.navbar-expand-xl .navbar-nav .nav-link:hover {
  color: #d9230f;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 1.4rem 0;
  }
}

/* The collapsed menu only got a background below 736px, so between there and
   the expand breakpoint it opened straight over the hero and the headline read
   through it. That gap existed before the breakpoint moved — it was just
   narrower. Styling the collapse itself rather than the list also covers the
   sign-in and language buttons, which live inside it. */
@media (max-width: 1199.98px) {
  .navbar .navbar-collapse {
    margin-top: 12px;
    padding: 10px 22px 18px;
    border-radius: 4px;
    background: #282d32;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  }
}

/* ---------------------------------------------------------------------------
   Catalogue: page header
   ---------------------------------------------------------------------------
   Inner pages need a banner, not the home hero. The template shipped one
   (`.insid-header`) but it depends on a background image that never existed, so
   this reuses the hero's own sky instead. */
.page-head {
  padding: 190px 0 90px;
  background: #212529 url("../images/slider.jpg") no-repeat center 0/cover;
  color: #fff;
  text-align: center;
}

.page-head h5 {
  margin-bottom: 14px;
  color: #ff6b5b;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.page-head h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.16;
}

.page-head p {
  max-width: 40em;
  margin: 20px auto 0;
  color: #ced4da;
}

.page-head-back {
  display: inline-block;
  margin-bottom: 26px;
  color: #ced4da;
  font-size: 14px;
  transition: color 0.2s ease;
}

.page-head-back:hover,
.page-head-back:focus {
  color: #fff;
}

/* ---------------------------------------------------------------------------
   Catalogue: the grid
   --------------------------------------------------------------------------- */
.catalogue {
  padding: 90px 0 100px;
  background: #fff;
}

.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dee2e6;
}

.cat-count {
  margin: 0;
  color: #6c757d;
  font-size: 15px;
}

.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-filters button {
  padding: 8px 16px;
  border: 1px solid #dee2e6;
  border-radius: 40px;
  background: #fff;
  color: #373a3c;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-filters button:hover {
  border-color: #adb5bd;
}

.cat-filters button.is-active {
  border-color: #d9230f;
  background: #d9230f;
  color: #fff;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.11);
}

.cat-shot {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f7f7f7;
}

.cat-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.cat-card:hover .cat-shot img {
  transform: scale(1.03);
}

.cat-body {
  flex: 1 1 auto;
  padding: 24px 26px 6px;
}

.cat-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 3px;
  background: #fcedec;
  color: #d9230f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cat-body h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}

.cat-body h3 a {
  color: #212529;
}

.cat-body h3 a:hover {
  color: #d9230f;
}

.cat-body p {
  margin: 0;
  font-size: 15px;
}

.cat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 26px 26px;
}

.cat-price {
  color: #6c757d;
  font-size: 13px;
}

.cat-price b {
  display: block;
  color: #212529;
  font-size: 19px;
  font-weight: 700;
}

.cat-foot .rbtn {
  margin-right: 0;
  padding: 11px 22px;
  font-size: 15px;
}

.cat-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: #6c757d;
  font-size: 16px;
}

.cat-card[hidden] {
  display: none;
}

/* ---------------------------------------------------------------------------
   Catalogue: what every site includes, and how it is paid for
   --------------------------------------------------------------------------- */
.included {
  padding: 100px 0;
  background: #f7f7f7;
}

.incl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px 40px;
  margin-top: 10px;
}

.incl-item .glyph-icon::before {
  display: inline-block;
  margin: 0 0 16px;
  color: #d9230f;
  font-size: 34px;
  line-height: 1;
}

.incl-item h4 {
  margin-bottom: 8px;
  color: #212529;
  font-size: 18px;
  font-weight: 500;
}

.incl-item p {
  margin: 0;
  font-size: 15px;
}

.payments {
  padding: 100px 0;
  background: #fff;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 10px;
}

.pay-card {
  padding: 34px 32px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 18px #0000000d;
}

.pay-card .fa {
  display: block;
  margin-bottom: 16px;
  color: #d9230f;
  font-size: 32px;
}

.pay-card h4 {
  margin-bottom: 8px;
  color: #212529;
  font-size: 19px;
  font-weight: 500;
}

.pay-card p {
  margin: 0;
  font-size: 15px;
}

.pay-note {
  margin: 28px 0 0;
  color: #6c757d;
  font-size: 14px;
  text-align: center;
}

.pay-note .fa {
  margin-right: 7px;
  color: #469408;
}

/* ---------------------------------------------------------------------------
   Detail page
   --------------------------------------------------------------------------- */
.detail {
  padding: 90px 0 100px;
  background: #fff;
}

.detail-shot {
  margin-bottom: 44px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.detail-shot img {
  display: block;
  width: 100%;
}

.detail h3 {
  margin: 34px 0 14px;
  color: #212529;
  font-size: 22px;
  font-weight: 700;
}

.detail h3:first-of-type {
  margin-top: 0;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
}

.detail-list li::before {
  position: absolute;
  left: 0;
  color: #469408;
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 14px;
}

/* The purchase panel follows the reader down the long left column. */
.buy-panel {
  position: sticky;
  top: 110px;
  padding: 32px 30px 30px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 22px #00000014;
}

.buy-panel h1 {
  margin-bottom: 8px;
  color: #212529;
  font-size: 30px;
  font-weight: 700;
}

.buy-tagline {
  margin-bottom: 26px;
  font-size: 15px;
}

.buy-choose {
  margin-bottom: 14px;
  color: #212529;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.buy-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

/* Radios rather than script: the choice is a real form field (name="plan")
   submitted with the panel's button, and CSS carries the selected look on
   its own. */
.buy-option {
  margin: 0;
  cursor: pointer;
}

.buy-option > input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.buy-option-body {
  display: block;
  padding: 15px 17px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.buy-option:hover .buy-option-body {
  border-color: #adb5bd;
}

.buy-option > input[type="radio"]:checked + .buy-option-body {
  border-color: #d9230f;
  background: #fdf6f5;
}

.buy-option > input[type="radio"]:focus-visible + .buy-option-body {
  outline: 2px solid #d9230f;
  outline-offset: 2px;
}

.buy-option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.buy-option-name {
  color: #212529;
  font-weight: 500;
}

.buy-option-price {
  color: #212529;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.buy-option-price small {
  margin-right: 4px;
  color: #6c757d;
  font-size: 12px;
  font-weight: 400;
}

.buy-option-blurb {
  display: block;
  margin-top: 6px;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
}

.buy-accepted {
  margin-bottom: 12px;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.buy-panel .rbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 14px 18px;
  font-size: 15px;
}

.buy-talk {
  display: inline-block;
  margin-top: 8px;
  color: #d9230f;
  font-size: 15px;
}

.buy-talk:hover {
  color: #212529;
}

.buy-note {
  margin: 18px 0 0;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
}

.buy-note .fa {
  margin-right: 6px;
  color: #469408;
}

.related {
  padding: 100px 0;
  background: #f7f7f7;
}

@media (max-width: 991px) {
  .page-head {
    padding: 150px 0 70px;
  }

  .page-head h2 {
    font-size: 34px;
  }

  .buy-panel {
    position: static;
    margin-top: 44px;
  }
}

@media (max-width: 575px) {
  .cat-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cat-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cat-foot .rbtn {
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   Custom development page
   --------------------------------------------------------------------------- */
.areas {
  padding: 90px 0 100px;
  background: #fff;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 10px;
}

.area-card {
  padding: 38px 34px 34px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 18px #0000000d;
}

.area-card .glyph-icon::before {
  display: inline-block;
  margin: 0 0 18px;
  color: #d9230f;
  font-size: 38px;
  line-height: 1;
}

.area-card h3 {
  margin-bottom: 10px;
  color: #212529;
  font-size: 22px;
  font-weight: 700;
}

.area-card > p {
  margin-bottom: 24px;
  font-size: 15px;
}

.area-card h4 {
  margin-bottom: 12px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.area-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-card li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 22px;
  font-size: 15px;
}

.area-card li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: #d9230f;
  content: "\f105";
  font-family: FontAwesome;
}

/* The four project steps, numbered rather than ringed — the rings on the home
   page are the buying process, and these are a different thing. */
.how {
  padding: 100px 0;
  background: #f7f7f7;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px 36px;
  margin-top: 10px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #d9230f;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.step h4 {
  margin-bottom: 8px;
  color: #212529;
  font-size: 19px;
  font-weight: 500;
}

.step p {
  margin: 0;
  font-size: 15px;
}

.products {
  padding: 100px 0;
  background: #fff;
}

.products .title p {
  max-width: 40em;
  margin: 16px auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 10px;
}

.product-card {
  padding: 34px 32px;
  border: 1px solid #e9ecef;
  border-left: 3px solid #d9230f;
  border-radius: 4px;
  background: #fff;
}

.product-card h3 {
  margin-bottom: 10px;
  color: #212529;
  font-size: 24px;
  font-weight: 700;
}

.product-card p {
  margin-bottom: 16px;
  font-size: 15px;
}

.product-card a {
  color: #d9230f;
  font-weight: 500;
}

.product-card a:hover {
  color: #212529;
}

/* The honest steer back to the catalogue. Dark, so it reads as an aside rather
   than as another sales block. */
.steer {
  padding: 0 0 100px;
  background: #fff;
}

.steer-box {
  padding: 56px 50px;
  border-radius: 4px;
  background: #212529;
  color: #ced4da;
  text-align: center;
}

.steer-box h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.steer-box p {
  max-width: 44em;
  margin: 0 auto 30px;
}

.steer-alt {
  border-color: #6c757d;
  background: none;
  color: #fff;
}

.steer-alt:hover {
  border-color: #fff;
  background: #fff;
  color: #212529;
}

@media (max-width: 575px) {
  .steer-box {
    padding: 40px 24px;
  }

  .steer-box h2 {
    font-size: 26px;
  }

  .steer-box .rbtn {
    display: block;
    margin: 0 0 12px;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   Subscription plans
   ---------------------------------------------------------------------------
   The site is sold monthly, so the plan cards carry more than a price: the
   setup charge, what the tier adds, and who it is for. */
.cat-price b i,
.buy-option-price i {
  font-style: normal;
  font-size: 0.6em;
  font-weight: 400;
  color: #6c757d;
}

.buy-option-setup {
  display: block;
  margin-top: 2px;
  color: #6c757d;
  font-size: 13px;
}

.buy-option-inherits {
  display: block;
  margin-top: 14px;
  color: #212529;
  font-size: 13px;
  font-weight: 500;
}

.buy-option-features {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.buy-option-features li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 22px;
  color: #373a3c;
  font-size: 14px;
  line-height: 1.45;
}

.buy-option-features li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: #469408;
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 12px;
}

.buy-option-for {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.45;
}

/* The ownership option sits in the same radio group — it is another way to
   acquire the same site — but it is a purchase, not a plan, so it is marked
   out rather than reading as a fourth tier. */
.buy-option-own .buy-option-body {
  border-color: #ced4da;
  border-style: dashed;
  background: #fbfbfc;
}

.buy-option-own > input[type="radio"]:checked + .buy-option-body {
  border-style: solid;
  border-color: #212529;
  background: #f6f7f8;
}

.buy-option-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 3px;
  background: #212529;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* The "no updates" line is the one limitation a buyer must not miss. */
.buy-option-own .buy-option-features li:last-child {
  margin-top: 10px;
  padding-top: 10px;
  padding-left: 22px;
  border-top: 1px solid #e9ecef;
  color: #212529;
}

.buy-option-own .buy-option-features li:last-child::before {
  color: #d9831f;
  content: "\f06a";
}

/* One button opens the sign-up flow, so the accepted methods are no longer
   buttons themselves. They stay beside it as reassurance: seeing how you can
   pay before committing is what the two branded buttons used to provide. */
.buy-panel .buy-primary {
  margin-top: 4px;
  padding: 16px 20px;
  font-size: 16px;
  /* A <button> since the plan picker became a form: shrink-to-fit and an
     arrow cursor where the <a> stretched under display:flex. No border/font
     reset -- .rbtn owns its border (the hover swaps it) and Bootstrap's
     reboot already inherits the font. */
  width: 100%;
  cursor: pointer;
}

.buy-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #6c757d;
  font-size: 13px;
}

.buy-methods .fa {
  color: #adb5bd;
  font-size: 17px;
}

.buy-methods .fa + .fa {
  margin-left: -2px;
}

.buy-methods span {
  margin-left: 4px;
}

/* ---------------------------------------------------------------------------
   Order flow, step one: the domain
   ---------------------------------------------------------------------------
   Modelled on how a hosting provider opens an order, because that is what this
   is: every plan carries a .com, so the domain is settled before anything else. */
.page-head-order {
  padding: 180px 0 70px;
}

.order-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.order-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #868e96;
  font-size: 15px;
}

.order-steps li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #6c757d;
  border-radius: 50%;
  font-size: 13px;
}

.order-steps li.is-current {
  color: #fff;
  font-weight: 500;
}

.order-steps li.is-current span {
  border-color: #d9230f;
  background: #d9230f;
  color: #fff;
}

/* .signin merged in per the mockup's own note (iniciar-sesion.html's inline
   <style>): it repeated .order's padding/background exactly, so it is not
   a separate block. */
.order, .signin {
  padding: 80px 0 100px;
  background: #fff;
}

/* Ported from iniciar-sesion.html / sign-in-en.html's inline <style> (the
   two states the login screen's error banner needs: wrong password, and no
   account with that email), now approved for the real login screen. */
.signin-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 26px;
  padding: 14px 16px;
  border: 1px solid #e7776a;
  border-radius: 3px;
  background: #fcedec;
  color: #212529;
  font-size: 15px;
}

.signin-error i {
  margin-top: 3px;
  color: #d9230f;
}

.signin-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.signin-alt {
  margin: 24px 0 0;
  color: #6c757d;
  font-size: 15px;
  text-align: center;
}

.signin-alt a {
  color: #d9230f;
}

.signin-alt a:hover {
  text-decoration: underline;
}

.dom-choice {
  display: block;
  margin: 0 0 14px;
  cursor: pointer;
}

/* checkout.html's ACH card is a <div>, not a <label> (round-1 review
   finding M-2) — it has no click-to-select behaviour left to promise,
   so it should not carry the pointer affordance the other two cards'
   real <label> click target earns. */
.dom-choice:not(label) {
  cursor: default;
}

.dom-choice > input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dom-body {
  display: block;
  padding: 22px 24px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dom-choice:hover .dom-body {
  border-color: #adb5bd;
}

.dom-choice > input[type="radio"]:checked + .dom-body {
  border-color: #d9230f;
  background: #fdf6f5;
}

.dom-choice > input[type="radio"]:focus-visible + .dom-body {
  outline: 2px solid #d9230f;
  outline-offset: 2px;
}

.dom-name {
  display: block;
  color: #212529;
  font-size: 17px;
  font-weight: 500;
}

.dom-note {
  display: block;
  margin-top: 5px;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
}

/* The fields only matter once the option is picked, so they stay out of the way
   until then rather than presenting three live search boxes at once. */
.dom-field {
  display: none;
  gap: 10px;
  margin-top: 18px;
}

.dom-choice > input[type="radio"]:checked + .dom-body .dom-field {
  display: flex;
}

.dom-field .form-control {
  flex: 1 1 auto;
  min-width: 0;
  height: auto;
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  background: #fff;
  color: #373a3c;
  font: inherit;
}

.dom-field .form-control:focus {
  border-color: #d9230f;
  box-shadow: 0 0 0 3px rgba(217, 35, 15, 0.14);
  outline: none;
}

.dom-field .dom-tld {
  flex: 0 0 auto;
  width: auto;
  min-width: 108px;
}

.dom-field .rbtn {
  flex: 0 0 auto;
  margin-right: 0;
  padding: 12px 26px;
  border-radius: 3px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

/* .dom-field is display:none until a radio is checked (above) — the site
   search box has no radio, so it opts back into the row layout directly. */
.dom-field.is-static {
  display: flex;
  margin: 0;
}

@media (max-width: 575px) {
  .dom-field.is-static { flex-wrap: wrap; }
  .dom-field.is-static .rbtn { flex: 1 1 100%; }
}

.dom-results {
  margin: 26px 0 0;
  padding: 22px;
  border: 1px dashed #dee2e6;
  border-radius: 4px;
  color: #6c757d;
  font-size: 14px;
  text-align: center;
}

/* The ACH option on checkout.html nests a .contact-card form inside
   .dom-field for its field/label styling — but .contact-card's own padding
   and shadow are tuned for a standalone card on the home page, not for
   sitting inside .dom-body, which already has its own padding and border.
   Strip those, and stretch the form to fill .dom-field's flex row instead
   of shrinking to its content width. Ported from the mockup's
   assets/css/site.css (the ACH/payment-link note next to this rule there). */
.dom-field form.contact-card {
  flex: 1 1 100%;
  width: 100%;
  padding: 0;
  box-shadow: none;
  background: transparent;
}

/* checkout.html: PayPal and the payment-link request aren't wired to a real
   integration yet, so their dom-choice cards are shown for layout parity
   with the mockup but disabled — a "Coming soon" badge instead of a live
   option, same opacity treatment as .dom-result-row--taken above. */
.dom-choice--soon {
  cursor: not-allowed;
}

.dom-choice--soon .dom-body {
  opacity: 0.6;
}

.dom-choice--soon:hover .dom-body {
  border-color: #dee2e6;
}

.dom-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 40px;
  background: #f1f3f5;
  color: #6c757d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.order-summary {
  position: sticky;
  top: 110px;
  padding: 30px 30px 28px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 22px #00000014;
}

.order-summary h2 {
  margin-bottom: 22px;
  color: #212529;
  font-size: 21px;
  font-weight: 700;
}

.order-summary dl {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9ecef;
}

.order-summary dt {
  color: #6c757d;
  font-size: 13px;
  font-weight: 400;
}

.order-summary dd {
  margin: 0 0 14px;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
}

.order-summary dd:last-child {
  margin-bottom: 0;
}

.order-total,
.order-then {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.order-total {
  margin-bottom: 6px;
  color: #212529;
}

.order-total strong {
  font-size: 26px;
  font-weight: 700;
}

.order-then {
  margin-bottom: 24px;
  color: #6c757d;
  font-size: 14px;
}

.order-then strong {
  font-weight: 500;
}

.order-summary .rbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 15px 18px;
  font-size: 15px;
}

/* The Continue button is now a bare <form>, a direct child of <aside>,
   not the <a> it replaced -- the UA stylesheet's own margin-bottom
   would otherwise widen the gap to .order-back beneath it. */
.order-summary form {
  margin: 0;
}

.order-back {
  display: inline-block;
  margin-top: 14px;
  color: #6c757d;
  font-size: 14px;
}

.order-back:hover {
  color: #d9230f;
}

.order-note {
  margin: 16px 0 0;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
}

.order-note .fa {
  margin-right: 6px;
  color: #469408;
}

@media (max-width: 991px) {
  .page-head-order {
    padding: 150px 0 60px;
  }

  .order-summary {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 575px) {
  .dom-field {
    flex-wrap: wrap;
  }

  .dom-field .form-control,
  .dom-field .rbtn {
    flex: 1 1 100%;
  }
}

/* ---------------------------------------------------------------------------
   Order flow, step three: order placed / status (C4 phase 2 fidelity fix)
   ---------------------------------------------------------------------------
   Ported from the mockup's order-received-en.html (assets/css/site.css) —
   the 2026-08-27 home_v1 vendor snapshot predates that page, so unlike
   .dom-choice/.order-summary above these two rules were never carried over.
   The email-preview mock is deliberately not ported: C4 sends no
   transactional email yet (see the plan's "What C4 explicitly does not
   do"), so this page has no email to preview. */
.order-placed {
  padding: 150px 0 90px;
  text-align: center;
}

.order-ref {
  margin-bottom: 24px;
  color: #6c757d;
  font-size: 14px;
}

.order-ref strong {
  color: #212529;
  font-family: monospace;
  letter-spacing: 0.04em;
}

.order-placed .order-note {
  margin-top: 22px;
}

/* Live domain search results (register_new branch) — genuinely new, not in
   the mockup, since ordenar.html's own .dom-results is static placeholder
   text with nothing behind it. Reuses .dom-field's spacing/border language. */
.dom-result-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dom-result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 16px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.dom-result-row--taken {
  opacity: 0.6;
}

.dom-result-name {
  font-weight: 500;
  color: #212529;
}

.dom-result-status {
  color: #6c757d;
  font-size: 13px;
}

.dom-result-price {
  color: #212529;
  font-weight: 500;
  margin-left: auto;
}

.dom-result-price small {
  color: #6c757d;
  font-weight: 400;
}

/* Round-2 (visual-fidelity) review finding m-1: the search results and
   their "no results yet" placeholder live inside .dom-body, not inside
   .dom-field, so .dom-field's own :checked-gated display:none never
   touched them — they stayed visible even with the register card
   collapsed. One rule mirroring .dom-field's own gate. */
.dom-choice > input[type="radio"]:not(:checked) + .dom-body .dom-result-list,
.dom-choice > input[type="radio"]:not(:checked) + .dom-body .dom-results {
  display: none;
}

/* checkout.html's review card (round-2 review finding l-1) — plain
   .dom-body, not wrapped in .dom-choice, since there is nothing to choose
   on this screen; the cursor/hover affordance .dom-choice adds would be
   misleading on a non-interactive summary. */
.order-review-card {
  margin-bottom: 24px;
}

/* Flash messages above the order-flow content (round-2 review finding m-4). */
.order-messages {
  padding-top: 24px;
}

/* Severity-tagged flash message, e.g. Django's messages framework tags
   (info/success/warning/error) on top of .order-messages above. Colours
   reuse .ostate's own four-state palette (is-done/is-problem/is-you/
   is-us) rather than inventing a second one. Carried in from the
   cart-v2-migration branch (Phase 4, round 1's MIN-1 fix) rather than
   left as a merge-order dependency — domain_detail.html (Phase 6) needs
   the same component and must render correctly on its own branch. */
.order-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.5;
}

.order-alert:last-child {
  margin-bottom: 0;
}

.order-alert.is-info,
.order-alert.is-debug {
  background: #ebf7fb;
  color: #026a8f;
  border: 1px solid #62c0e1;
}

.order-alert.is-success {
  background: #f0f6eb;
  color: #326806;
  border: 1px solid #8cbd66;
}

.order-alert.is-warning {
  background: #fcf5ed;
  color: #94590f;
  border: 1px solid #e7b274;
}

.order-alert.is-error {
  background: #fcedec;
  color: #a11a0b;
  border: 1px solid #e7776a;
}

/* order_status.html's details block sits inside the centred .order-placed
   section (round-2 review finding m-4) — undoes .order-summary's own
   sticky positioning and .order-placed's centred text, both wrong once the
   summary is the page's own content instead of a sidebar. */
.order-placed .order-summary {
  position: static;
  margin: 0 auto;
  text-align: left;
}

/* Two ways into the details step — create an account or log into one — as a
   compact pill switch, reusing the catalogue filters' look (`.cat-filters
   button`) rather than the domain step's input-sized choice cards: this is a
   plain either/or with no fields of its own, so it should read as light as
   the filter pills, not as heavy as a card that holds a text field. Ported
   from the mockup's assets/css/site.css (lines 312-369) for the
   subscriptions details step. */
.acct-switch-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
}

.acct-switch-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #212529;
}

.acct-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acct-pill {
  cursor: pointer;
}

.acct-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.acct-pill span {
  display: block;
  padding: 8px 16px;
  border: 1px solid #dee2e6;
  border-radius: 40px;
  background: #fff;
  color: #373a3c;
  font-size: 14px;
  transition: all 0.2s ease;
}

.acct-pill:hover span {
  border-color: #adb5bd;
}

.acct-pill input:checked + span {
  border-color: #d9230f;
  background: #d9230f;
  color: #fff;
}

.acct-pill input:focus-visible + span {
  outline: 2px solid #d9230f;
  outline-offset: 2px;
}

/* Now ported for real: the login screen's forgot-password link. */
.acct-forgot {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #d9230f;
}

.acct-forgot:hover {
  text-decoration: underline;
}

/* Phone field convention: a country-code select plus the number, always
   paired this way rather than one free-text input. Rendered as one joined
   control (shared border, outer corners rounded) so the pair reads as a
   single field. The mockup (assets/css/site.css:1866-1894) keeps the two
   apart with a gap and stacks them below a 400px viewport; this stacks by
   container width instead, because the same viewport gives a ~268px cell
   on /subscriptions/details/ and a ~173px one on single-column /login/.

   The code select keeps its intrinsic width (``flex: 0 0 auto``) so the
   label — "GT +502", "US +1" — is never clipped: a "+502" clipped to
   "+50" turns four options into one and silently picks the wrong dial
   code. When the cell cannot fit the select plus a usable number
   (128px + 120px), the pair stacks full width instead of shrinking the
   select. The number's 120px basis makes a browser without @container
   support wrap at that same width; the query only fixes the corners. */
.phone-field {
  display: flex;
  flex-wrap: wrap;
  container-type: inline-size;
}

.phone-field .form-control {
  width: auto;
}

.phone-field .form-control:focus {
  position: relative;
  z-index: 1;
}

.contact-card .phone-field .phone-code {
  flex: 0 0 auto;
  padding-left: 12px;
  padding-right: 8px;
  border-radius: 3px 0 0 3px;
  background-color: #f8f9fa;
}

.contact-card .phone-field .phone-number {
  flex: 1 1 120px;
  min-width: 0;
  margin-left: -1px;
  border-radius: 0 3px 3px 0;
}

@container (max-width: 249px) {
  .contact-card .phone-field .phone-code,
  .contact-card .phone-field .phone-number {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .contact-card .phone-field .phone-code {
    border-radius: 3px 3px 0 0;
  }

  .contact-card .phone-field .phone-number {
    margin-top: -1px;
    border-radius: 0 0 3px 3px;
  }
}

/* Signed in: an identity strip replaces the "New account / Log in" switch.
   Same 12px uppercase label and 40px pill radius as .acct-switch-row, so the
   row it stands in for keeps its weight in the layout. Ported from
   tus-datos-logueado.html's own inline <style> block (marked "PROPOSAL
   ONLY" there — approved into this file by the subscriptions details step). */
.acct-signed {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #f7f7f7;
}

.acct-avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d9230f;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.acct-identity {
  flex: 1 1 auto;
  min-width: 0;
}

.acct-signed-label {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c757d;
}

.acct-name {
  display: block;
  color: #212529;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acct-email {
  display: block;
  color: #6c757d;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A ghost-button pill rather than a plain gray link: the mockup drew this
   as unstyled inline text the same size/color as .acct-email right above
   it, which reads as another data field, not an action. The border gives
   it the same affordance as .acct-avatar's circle in the same row. */
.acct-signout {
  padding: 8px 16px;
  border: 1px solid #dee2e6;
  border-radius: 40px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.acct-signout:hover,
.acct-signout:focus-visible {
  border-color: #d9230f;
  color: #d9230f;
  text-decoration: none;
}

/* customers/_acct_signed.html renders this control as a real <button>
   inside a POST form, because CustomerLogoutView cannot accept GET, and
   only when its include passes `signout` — which only /dashboard/orders/
   does; /cart/ and /subscriptions/details/ draw no sign-out control at
   all. font/cursor reset only — the pill chrome above already
   covers padding/border/background for the <button>. The form, not the
   button, is the flex item of .acct-signed, so the <= 575px rules that
   put the control on its own row target .acct-signout-form. */
.acct-signout-form {
  flex: 0 0 auto;
  margin: 0;
}

button.acct-signout {
  font: inherit;
  cursor: pointer;
}

/* The details on file, read before they are reused — not re-typed. */
.acct-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.acct-review-head h3 {
  margin: 0;
  color: #212529;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Borrows .acct-pill's unchecked look so edit reads as the same family of
   control as the switch it replaced. */
.acct-edit {
  padding: 7px 16px;
  border: 1px solid #dee2e6;
  border-radius: 40px;
  background: #fff;
  color: #373a3c;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acct-edit:hover {
  border-color: #adb5bd;
}

.acct-edit:focus-visible {
  outline: 2px solid #d9230f;
  outline-offset: 2px;
}

.acct-review-note {
  margin: 0 0 20px;
  color: #6c757d;
  font-size: 14px;
}

.acct-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid #e9ecef;
}

.acct-review dt {
  margin-bottom: 5px;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.acct-review dd {
  margin: 0;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.acct-review .is-wide {
  grid-column: 1 / -1;
}

/* Nothing on file yet — the account exists but has never registered a
   domain, so there is no registrant to review. Shown in place of the list. */
.acct-review-empty {
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 15px;
}

.acct-edit-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.acct-edit-actions .rbtn {
  cursor: pointer;
}

.acct-cancel {
  border: 0;
  background: none;
  color: #6c757d;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.acct-cancel:hover {
  color: #d9230f;
  text-decoration: underline;
}

@media (max-width: 575px) {
  .acct-signed {
    flex-wrap: wrap;
  }

  .acct-identity {
    flex-basis: 0;
  }

  .acct-signout-form {
    flex-basis: 100%;
    margin-top: 8px;
  }

  .acct-signout {
    width: 100%;
  }

  .acct-review {
    grid-template-columns: 1fr;
  }

  /* From mis-pedidos.html's own 575px block — its other two rules are
     the .acct-* ones already above. */
  .ocard-head {
    padding: 16px 18px;
  }

  .ocard-body {
    padding: 20px 18px 22px;
  }
}

/* ===================================================================
   /dashboard/orders/ — the customer's order list (E2, GitHub #17)
   Ported value-for-value from D2Projects/test/v2/mis-pedidos.html's
   inline <style>, minus two omissions:
     - .acct-signed and its children already live above (shipped by
       a4d5027, the subscriptions "your details" step). The mockup's
       own index warns that block is duplicated between two proposals
       and must end up as one copy; this is that copy.
     - .job-steps* is not ported: the component it styles is not built
       (the steps restate the state pill, and nothing records a blocked
       deploy). Dead CSS would be the only thing it added.
   The mockup's @media (max-width: 575px) rules for .ocard-head and
   .ocard-body go into the existing 575px block further up rather than
   opening a second identical query.
   =================================================================== */

.orders{
  padding: 80px 0 100px;
  background: #fff;
}

/* --- One order --- */
.ocard{
  margin-bottom: 20px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 18px #0000000f;
}

/* The state is also a left edge, so the list can be read down the margin
   without parsing five pills. */
.ocard-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 18px 24px;
  border-bottom: 1px solid #e9ecef;
  border-left: 4px solid #dee2e6;
  border-radius: 4px 4px 0 0;
}

.ocard-ident{
  min-width: 0;
}

.ocard-what{
  display: block;
  color: #212529;
  font-size: 17px;
  font-weight: 500;
}

.ocard-meta{
  display: block;
  margin-top: 3px;
  color: #6c757d;
  font-size: 13px;
}

.ocard-body{
  padding: 22px 24px 24px;
}

/* Colour says who the order is waiting on, not how far along it is: amber is
   "in verification" and "being built" are both us, and share blue on purpose. */
.ostate{
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.ostate.is-you{ background: #fcf5ed; color: #94590f; border: 1px solid #e7b274; }

.ostate.is-us{ background: #ebf7fb; color: #026a8f; border: 1px solid #62c0e1; }

.ostate.is-done{ background: #f0f6eb; color: #326806; border: 1px solid #8cbd66; }

.ostate.is-problem{ background: #fcedec; color: #a11a0b; border: 1px solid #e7776a; }

.ostate.is-off{ background: #eeeeee; color: #6c757d; border: 1px solid #dee2e6; }

.ocard.is-you .ocard-head{ border-left-color: #d9831f; }

.ocard.is-us .ocard-head{ border-left-color: #029acf; }

.ocard.is-done .ocard-head{ border-left-color: #469408; }

.ocard.is-problem .ocard-head{ border-left-color: #d9230f; }

.ocard.is-off .ocard-head{ border-left-color: #adb5bd; }

/* --- The facts, same dt/dd treatment as the registrant review --- */
.ocard-facts{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 20px;
  margin: 0;
}

.ocard-facts dt{
  margin-bottom: 4px;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ocard-facts dd{
  margin: 0;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* --- What the customer can do about it --- */
.ocard-act{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.ocard-act .rbtn{
  margin-right: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 500;
}

.ocard-note{
  flex: 1 1 240px;
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

.ocard-note i{
  margin-right: 6px;
}

.ocard-note.is-warning{
  color: #a11a0b;
}

.ocard-link{
  color: #d9230f;
  font-size: 14px;
}

.ocard-link:hover{
  text-decoration: underline;
}

/* --- Nothing ordered yet --- */
.orders-empty{
  padding: 60px 30px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #f7f7f7;
  text-align: center;
}

.orders-empty h3{
  margin: 0 0 10px;
  color: #212529;
  font-size: 21px;
  font-weight: 700;
}

.orders-empty p{
  max-width: 34em;
  margin: 0 auto 24px;
  color: #6c757d;
}

.orders-empty p:last-child {
  margin-bottom: 0;
}

.orders-help{
  margin: 34px 0 0;
  padding: 22px 24px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #f7f7f7;
  color: #6c757d;
  font-size: 14px;
}

.orders-help strong{
  display: block;
  margin-bottom: 4px;
  color: #212529;
  font-size: 15px;
}

/* --- Refund status / renewal-token landing pages
   (orders/refund_status.html, orders/renewal_token_{already_used,
   expired,invalid}.html) --- */
.status {
  padding: 70px 0 100px;
  background: #f7f7f7;
}

.status-card {
  padding: 44px 40px 40px;
  text-align: center;
}

.status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #f7f7f7;
  color: #6c757d;
  font-size: 34px;
}

/* The icon's tint follows .ostate's own meaning of each colour. */
.status-icon.is-done { background: #f0f6eb; color: #469408; }
.status-icon.is-us { background: #ebf7fb; color: #029acf; }
.status-icon.is-you { background: #fcf5ed; color: #d9831f; }
.status-icon.is-problem { background: #fcedec; color: #d9230f; }

.status-card .ostate {
  margin-bottom: 14px;
}

.status-card h3 {
  margin: 0 0 12px;
  color: #212529;
  font-size: 24px;
  font-weight: 700;
}

.status-card p {
  max-width: 30em;
  margin: 0 auto 26px;
  color: #6c757d;
  font-size: 16px;
}

/* Facts, when there are any: the dt/dd pairs, in rows. */
.status-facts {
  margin: 0 0 28px;
  padding: 6px 20px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  text-align: left;
}

.status-facts div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 0;
}

.status-facts div + div {
  border-top: 1px solid #e9ecef;
}

.status-facts dt {
  color: #6c757d;
  font-size: 14px;
  font-weight: 400;
}

.status-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
}

.status-facts .is-ref {
  font-family: monospace;
  letter-spacing: 0.04em;
}

.status-card .rbtn {
  margin: 0;
}

/* The "Back to your orders" secondary link (issue #26) — not part of the
   mockup's own card, so it needs its own, smaller spacing rather than
   inheriting .status-card p's 26px paragraph margin. */
.status-card p.status-back {
  margin: 14px 0 0;
}

.status-help {
  margin: 22px 0 0;
  color: #6c757d;
  font-size: 14px;
  text-align: center;
}

.status-help a {
  color: #d9230f;
}

.status-help a:hover {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .status-card { padding: 34px 20px 30px; }
}

/* --- 400 / 500 system error pages (config/templates/400.html,
   500.html) --- .status/.status-card/.status-icon above are reused
   verbatim; only the static brand-only chrome is new. --- */
.navbar.syserr-bar,
.navbar.syserr-bar.fixed-top {
  top: 0;
  padding: 12px 0;
  background: #212529;
  box-shadow: 0 1px 0 #ffffff14;
}

.syserr-bar .container-fluid {
  display: flex;
  align-items: center;
  padding: 0 30px;
}

/* The hero sits under a 64px bar here, not the public navbar's 100px+. */
.page-head.is-syserr {
  padding: 140px 0 70px;
}

/* The status code, small and quiet: useful when the visitor quotes it to
   support, not the headline. */
.syserr-code {
  display: block;
  margin: 0 0 8px;
  color: #adb5bd;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.syserr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
}

.syserr-alt {
  color: #212529;
  font-size: 15px;
  font-weight: 500;
}

.syserr-alt .fa {
  margin-right: 6px;
}

.syserr-alt:hover,
.syserr-alt:focus {
  color: #d9230f;
}

/* Footer cut to the brand and the copyright: the full footer's links and
   newsletter form come from the same DB-backed partial as the navbar. */
.footer.is-syserr {
  padding: 40px 0 30px;
  text-align: center;
}

.footer.is-syserr .copy-right {
  margin-top: 16px;
}

@media (max-width: 575px) {
  .syserr-bar .container-fluid { padding: 0 16px; }
  .page-head.is-syserr { padding: 120px 0 56px; }
}

/* --- maintenance.html (503, MaintenanceModeMiddleware) --- reuses
   .status-card/.status-icon.is-us/.syserr-code above verbatim; only
   the full-viewport shell and its two-paragraph card content are new. --- */
.maint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 16px;
  background: #212529 url("../images/slider.jpg") no-repeat center 0/cover;
}

.maint-brand {
  margin: 0 0 34px;
}

.maint .status-card {
  width: 100%;
  max-width: 540px;
  margin: 0;
}

/* Two paragraphs here: the closure, then the signed-in way through. The
   second one is the lead-in to the button, so it sits closer to it. */
.status-card p.maint-lead {
  margin-bottom: 14px;
}

.status-card p.maint-customer {
  color: #212529;
  font-weight: 500;
}

.maint-foot {
  margin: 26px 0 0;
  color: #ced4da;
  font-size: 14px;
}

/* --- Cart (cart:cart) --- */
/* .cart-line reuses .contact-card for its card shell and form-group/
   form-control styling (both already defined above); only the parts
   .contact-card doesn't cover are added here. */
.cart-line {
  padding: 32px 34px;
}

.cart-line-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e9ecef;
}

.cart-kind {
  display: block;
  margin-bottom: 4px;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-domain {
  display: block;
  overflow-wrap: anywhere;
  color: #212529;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
}

.cart-domain b {
  font-weight: 700;
}

.cart-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-line-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px 34px;
  align-items: start;
  padding-top: 24px;
}

.cart-line-body .form-group {
  margin: 0;
}

/* The live years × unit-price breakdown. */
.cart-calc {
  margin: 0;
  padding: 16px 18px;
  border-radius: 4px;
  background: #f7f7f7;
}

.cart-calc div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  color: #6c757d;
  font-size: 14px;
}

.cart-calc dd {
  margin: 0;
  color: #373a3c;
  font-weight: 500;
}

.cart-calc .is-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #dee2e6;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
}

.cart-calc .is-total dd {
  color: #212529;
  font-size: 17px;
  font-weight: 700;
}

.cart-line-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e9ecef;
}

.cart-remove {
  padding: 0;
  border: 0;
  background: none;
  color: #6c757d;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.cart-remove:hover,
.cart-remove:focus {
  color: #d9230f;
  text-decoration: underline;
}

.cart-remove .fa {
  margin-right: 6px;
}

/* Three trust signals, in the icon + two-line shape of .incl-item. */
.cart-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.cart-trust li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.cart-trust .fa {
  flex: 0 0 auto;
  width: 22px;
  margin-top: 2px;
  color: #469408;
  font-size: 20px;
  text-align: center;
}

.cart-trust strong {
  display: block;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
}

.cart-trust span {
  display: block;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.45;
}

.cart-summary .order-total {
  margin-bottom: 24px;
}

/* Guest nudge: said before the click, not after it. */
.cart-guest {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 3px;
  background: #ebf7fb;
  color: #373a3c;
  font-size: 13px;
  line-height: 1.5;
}

.cart-guest .fa {
  margin-top: 2px;
  color: #029acf;
}

/* A direct-child icon above the heading — opt-in per usage, matches
   nothing in .orders-empty's existing consumers (customers/orders.html
   has no such child) so this is purely additive there. */
.orders-empty > .fa {
  display: block;
  margin-bottom: 18px;
  color: #adb5bd;
  font-size: 44px;
}

@media (max-width: 767px) {
  .cart-line { padding: 26px 20px; }
  .cart-line-body { grid-template-columns: 1fr; }
  .cart-trust { grid-template-columns: 1fr; }
}
/* --- Small utilities, shared beyond this section --- */
.muted {
  color: #6c757d;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Signed-in workspace topbar (dashboard.html, domain_detail.html —
   workspace_base.html's only two extenders). Replaces the public navbar
   entirely rather than sitting above it: solid from the first pixel,
   since there is no hero photo under it to read through. --- */
.navbar.acct-bar,
.navbar.acct-bar.fixed-top {
  top: 0;
  padding: 12px 0;
  background: #212529;
  box-shadow: 0 1px 0 #ffffff14;
}

.acct-bar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
}

.acct-bar-user {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Named .acct-bar-avatar, not .acct-avatar: that name is already
   the signed-in badge's in-page identity card avatar (46px, white card),
   a different component in a different context. */
.acct-bar-avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d9230f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.acct-bar-id {
  min-width: 0;
  line-height: 1.3;
}

.acct-bar-id strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.acct-bar-id span {
  display: block;
  overflow: hidden;
  color: #adb5bd;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acct-bar-out-form {
  margin: 0 0 0 6px;
  padding-left: 18px;
  border-left: 1px solid #ffffff26;
}

.acct-bar-out {
  padding: 0;
  border: 0;
  background: none;
  color: #ced4da;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.acct-bar-out:hover,
.acct-bar-out:focus {
  color: #fff;
}

.acct-bar-out .fa {
  margin-right: 7px;
}

/* The hero sits under a 64px bar here, not the public navbar's 100px+. */
.page-head.is-acct {
  padding: 140px 0 70px;
}

@media (max-width: 575px) {
  .acct-bar .container-fluid { padding: 0 16px; }
  .acct-bar-id { display: none; }
  .acct-bar-out span { display: none; }
  .page-head.is-acct { padding: 120px 0 56px; }
}

/* --- A titled white panel, shared by dashboard.html and
   domain_detail.html: .order-summary's frame without the stickiness. --- */
.dash-panel {
  margin-bottom: 30px;
  padding: 28px 30px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 22px #00000014;
}

.dash-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  margin-bottom: 20px;
}

.dash-panel h3 {
  margin: 0;
  color: #212529;
  font-size: 21px;
  font-weight: 700;
}

.dash-panel-sub {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

@media (max-width: 575px) {
  .dash-panel { padding: 24px 18px; }
}

/* --- Dashboard (customers:dashboard) --- */
.dash {
  padding: 60px 0 100px;
  background: #f7f7f7;
}

/* Three numbers. The accent is the left rule, one colour per stat. */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid #e9ecef;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  background: #fff;
}

/* One modifier per stat card rather than an inline style="--accent: …" —
   a v2 template hard-codes no colour outside a stylesheet. */
.stat.is-domains { --accent: #469408; }
.stat.is-pending { --accent: #d9831f; }
.stat.is-currency { --accent: #029acf; }

.stat > .fa {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f7f7f7;
  color: var(--accent);
  font-size: 21px;
}

.stat-value {
  display: block;
  color: #212529;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: #6c757d;
  font-size: 14px;
}

/* Orders panel: two ways out, no list — the list itself lives on
   /dashboard/orders/ (orders.html, already v2). */
.dash-orders p {
  margin: 0 0 22px;
  color: #6c757d;
  font-size: 15px;
}

.dash-orders .rbtn {
  display: block;
  margin: 0 0 14px;
  padding: 13px 20px;
  font-size: 15px;
  text-align: center;
}

.dash-link {
  color: #d9230f;
  font-size: 15px;
  font-weight: 500;
}

.dash-link:hover {
  color: #212529;
}

.dash-link .fa {
  margin-right: 6px;
}

/* Domains panel: one row each, the whole row is the link. */
.dom-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dom-list li + li {
  border-top: 1px solid #e9ecef;
}

.dom-row {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 4px;
  color: inherit;
}

.dom-row:hover .dom-row-name {
  color: #d9230f;
}

.dom-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.dom-row-name {
  display: block;
  overflow-wrap: anywhere;
  color: #212529;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dom-row-exp {
  display: block;
  color: #6c757d;
  font-size: 14px;
}

.dom-row > .fa {
  color: #adb5bd;
  font-size: 20px;
}

/* Getting-started guide, zero-orders state only — reuses .product-card/
   .product-grid as-is (already defined above). */
.dash-guide-title {
  margin: 0 0 6px;
  color: #212529;
  font-size: 24px;
  font-weight: 700;
}

.dash-guide > p {
  margin: 0 0 22px;
  color: #6c757d;
}

.dash-guide .product-card > .fa {
  display: block;
  margin-bottom: 14px;
  color: #d9230f;
  font-size: 26px;
}

.dash-guide .product-card h3 {
  font-size: 20px;
}

/* catalog/currency_selector.html embedded in the "Choose your
   currency" guide card (round-1 LOW-1) — the shared partial itself
   carries no classes to hook, so its two controls are styled here,
   scoped to this one context rather than touched globally. */
.dash-guide .product-card .currency-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-guide .product-card .currency-selector select {
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
}

.dash-guide .product-card .currency-selector button {
  padding: 8px 14px;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .stat-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* --- Domain detail (customers:domain_detail) --- */
.ddetail {
  padding: 60px 0 100px;
  background: #f7f7f7;
}

.page-head .ddetail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin: 18px auto 0;
  color: #ced4da;
}

.page-head .ddetail-meta .fa {
  margin-right: 6px;
}

/* The domain is the page's title and can be long; let it wrap anywhere. */
.page-head h2.ddetail-name {
  overflow-wrap: anywhere;
}

/* A .contact-card form flattened into the panel — the same trick
   site.css already uses for .dom-field form.contact-card. */
.dash-panel form.contact-card {
  padding: 0;
  box-shadow: none;
}

.ns-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.ns-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.ns-actions .rbtn {
  padding: 12px 28px;
}

.ns-actions p {
  flex: 1 1 220px;
  margin: 0;
  color: #6c757d;
  font-size: 13px;
}

/* "Temporarily unavailable" stands where the panel's content would be:
   informational blue, since nothing is wrong with the customer's domain. */
.panel-unavailable {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #62c0e1;
  border-radius: 3px;
  background: #ebf7fb;
  color: #373a3c;
  font-size: 15px;
}

.panel-unavailable .fa {
  margin-top: 3px;
  color: #029acf;
}

.panel-unavailable strong {
  display: block;
  color: #212529;
}

.panel-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed #dee2e6;
  border-radius: 4px;
  color: #6c757d;
  font-size: 15px;
  text-align: center;
}

/* WHOIS: label/value pairs, the dt/dd treatment of .ocard-facts. */
.kv-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px 24px;
  margin: 0;
}

.kv-table dt {
  margin-bottom: 4px;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kv-table dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #212529;
  font-size: 15px;
  font-weight: 500;
}

/* Renewal history */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th {
  padding: 0 14px 10px;
  border-bottom: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid #e9ecef;
  color: #212529;
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .is-ref {
  font-family: monospace;
  letter-spacing: 0.04em;
}

.data-table .is-num,
.data-table th.is-num {
  text-align: right;
}

.data-table a {
  color: #d9230f;
  white-space: nowrap;
}

.data-table a:hover {
  text-decoration: underline;
}

.data-table a .fa {
  margin-right: 6px;
}

/* --- Site search (search) --- */
.ssearch {
  padding: 70px 0 100px;
  background: #fff;
}

.ssearch-form {
  margin-bottom: 34px;
}

.ssearch-count {
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 15px;
}

.ssearch-count strong {
  color: #212529;
}

.ssearch-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssearch-results li {
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
}

.ssearch-results h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
}

.ssearch-results h3 a {
  color: #212529;
}

.ssearch-results h3 a:hover {
  color: #d9230f;
  text-decoration: underline;
}

.ssearch-results p {
  margin: 6px 0 0;
  color: #6c757d;
  font-size: 15px;
}

.ssearch-start {
  color: #6c757d;
  text-align: center;
}

/* Previous / next only — no page numbers. */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.pager-status {
  color: #6c757d;
  font-size: 14px;
}

.pager a,
.pager .is-disabled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  color: #373a3c;
  font-size: 15px;
}

.pager a:hover {
  border-color: #d9230f;
  color: #d9230f;
}

.pager .is-disabled {
  color: #adb5bd;
  cursor: default;
}

@media (max-width: 575px) {
  .ns-row { grid-template-columns: 1fr; }
}

/* --- Domain search (home) ---
   .contact-card, .dom-field.is-static, .ostate, .orders-empty and
   .order-alert are the existing site-wide components (cart/register/
   dashboard/search phases); only the classes below are new to this page. */
.dsearch {
  padding: 70px 0 100px;
  background: #fff;
}

/* Straddles the .page-head hero so the search box reads as part of the
   heading's promise rather than the first thing under it. */
.dsearch-box {
  position: relative;
  margin-top: -110px;
  margin-bottom: 44px;
  padding: 30px 32px;
}

.dsearch-box label {
  margin-bottom: 12px;
}

.dsearch-hint {
  margin: 12px 0 0;
  color: #6c757d;
  font-size: 14px;
}

.dsearch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 16px;
}

.dsearch-head h3 {
  margin: 0;
  color: #212529;
  font-size: 21px;
  font-weight: 700;
}

.dsearch-head p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

/* One row per TLD checked: name, status, price, action. A grid rather
   than a table so it can fold to two lines on a phone. */
.dres-list {
  margin: 0;
  padding: 0;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  list-style: none;
}

.dres {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 150px 210px;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 22px;
  border-top: 1px solid #e9ecef;
}

.dres:first-child {
  border-top: 0;
}

.dres.is-taken {
  background: #fafafa;
}

.dres-name {
  overflow-wrap: anywhere;
  color: #212529;
  font-size: 18px;
}

.dres-name b {
  font-weight: 700;
}

.dres.is-taken .dres-name {
  color: #868e96;
}

.dres-price {
  color: #212529;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}

.dres-price i {
  margin-left: 2px;
  color: #6c757d;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

.dres.is-taken .dres-price {
  color: #adb5bd;
  text-decoration: line-through;
}

.dres-act {
  text-align: right;
}

.dres-act .rbtn {
  margin: 0;
  padding: 9px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.dres-none {
  color: #adb5bd;
  font-size: 14px;
}

.dsearch-note {
  margin: 18px 0 0;
  color: #6c757d;
  font-size: 13px;
}

.dsearch-note .fa {
  margin-right: 6px;
  color: #469408;
}

@media (max-width: 767px) {
  .dsearch-box { margin-top: -80px; padding: 24px 20px; }
  .dres { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
  .dres-price { text-align: left; }
}

/* --- Pricing reference (cms) ---
   .cat-grid/.cat-card/.cat-body/.cat-foot are the existing webtemplates
   catalogue components; .tld-grid/.tld-card/.tld-ext/.tld-prices are
   this page's own additions on top of them (no screenshot, so no
   .cat-shot). .orders-empty is the existing empty-state component
   (cart/search/domain-search phases). */
.pricing {
  padding: 80px 0 100px;
  background: #fff;
}

.pricing-currency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 15px;
}

.pricing-currency .fa {
  color: #029acf;
}

.pricing-currency strong {
  color: #212529;
}

.cat-grid.tld-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.tld-card .cat-body {
  padding-top: 28px;
}

.tld-ext {
  margin-bottom: 18px;
  color: #d9230f;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tld-prices {
  margin: 0;
}

.tld-prices div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e9ecef;
}

.tld-prices dt {
  color: #6c757d;
  font-size: 14px;
  font-weight: 400;
}

.tld-prices dd {
  margin: 0;
  color: #212529;
  font-size: 18px;
  font-weight: 700;
}

.tld-prices dd i {
  margin-left: 2px;
  color: #6c757d;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

/* The button is the card's only action, so it takes the full width. */
.tld-card .cat-foot .rbtn {
  flex: 1 1 auto;
  text-align: center;
}

/* --- Blog (cms) ---
   .page-head-back and .orders-empty (plus its > .fa icon) are the
   existing site-wide components (dashboard/webtemplates and cart/
   search/domain-search phases); everything below is new to this page.
   .rich is shared by the index's intro and the post's body — both are
   RichTextField output, so one prose stylesheet covers both. */
.rich {
  color: #373a3c;
  font-size: 17px;
  line-height: 1.75;
}

.rich > :first-child {
  margin-top: 0;
}

.rich h2 {
  margin: 44px 0 14px;
  color: #212529;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
}

.rich h3 {
  margin: 34px 0 12px;
  color: #212529;
  font-size: 21px;
  font-weight: 700;
}

.rich p,
.rich ul,
.rich ol {
  margin: 0 0 20px;
}

.rich ul,
.rich ol {
  padding-left: 1.4em;
}

/* The theme strips list markers site-wide; body copy needs them back. */
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }

.rich li {
  margin-bottom: 8px;
}

.rich a {
  color: #d9230f;
  text-decoration: underline;
}

.rich a:hover {
  color: #212529;
}

.rich blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #d9230f;
  color: #212529;
  font-size: 19px;
}

.rich code {
  padding: 2px 6px;
  border-radius: 3px;
  background: #f1f3f5;
  color: #212529;
  font-size: 0.9em;
}

.blog {
  padding: 80px 0 100px;
  background: #fff;
}

.blog-intro {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dee2e6;
}

.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A post card: the date as the eyebrow, the title as the link. */
.post-card {
  display: block;
  margin-bottom: 22px;
  padding: 28px 30px;
  border: 1px solid #e9ecef;
  border-left: 3px solid #d9230f;
  border-radius: 4px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}

.post-date {
  display: block;
  margin-bottom: 8px;
  color: #d9230f;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.post-card h3 a {
  color: #212529;
}

.post-card h3 a:hover {
  color: #d9230f;
}

.post-card p {
  margin: 10px 0 0;
  color: #6c757d;
  font-size: 16px;
}

@media (max-width: 575px) {
  .post-card { padding: 22px 18px; }
}

.post {
  padding: 70px 0 100px;
  background: #fff;
}

.page-head .post-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.post-back {
  display: inline-block;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid #dee2e6;
  color: #d9230f;
  font-weight: 500;
}

.post-back:hover {
  color: #212529;
}

.post-back .fa {
  margin-right: 6px;
}


/* ═══════════════════════════════════════════════════════════════════
   Plan 2026-10-01 Phase 4 — deposit_instructions.html & order_status.html

   The mockup at ~/D2Projects/test/v2/pago.html defines its vocabulary here.
   All classes below are site-wide so the order_status page (Phase 5) and
   any future payment-bearing page inherit the same shapes.

   The values below are literal — the v2 stack has its own colour palette
   (`#d9230f` accent red, `#212529` body, `#6c757d` muted, `#dee2e6` border,
   `#f8f9fa` muted bg). They come from the mockup directly and keep the
   page readable without the v1 tokens (`--space-*`, `--color-fg`, etc.)
   that lived in the previous stack.

   Three `.pay-method` cards inside `.pay-methods`: ACH `checked` and
   open; PayPal and "request a link" disabled as `.dom-choice--soon`
   placeholders with a `.dom-badge` "Coming soon". The deposit page
   only carries the form-on-page under ACH; the other two never get a
   form, so they never submit.

   `.bank-card` / `.bank-card-head` — native `<details name="bank-account">`
   accordion. Each `.bank-card` is `<li><details><summary class="bank-card-head">…</summary>…</details></li>`.
   The chevron rotates via `details[open] .bank-card-toggle`.

   `.copy-btn` — every copyable value on the page gets one. The label
   swaps to a localised `data-copy-done` value on click; the icon swaps
   from `fa fa-clone` to `fa fa-check` via `.copy-btn.is-copied .fa::before`
   content rule. Both cues together so confirmation does not rest on
   colour alone (plan §5, Open questions).

   `.order-code` — the reference-code block at the top of the summary.
   `.order-deadline` — the expiry notice (three-case rule: None omitted,
   REJECTED omitted, AWAITING_PAYMENT shows future or past copy).

   The Phase 4 page composes these on top of the existing `.page-head`,
   `.order-summary`, `.contact-card`, `.form-group`, `.form-control`,
   `.rbtn`, `.dom-choice`, and `.dom-choice--soon` already in this file.
   ═══════════════════════════════════════════════════════════════════ */

/* ── pay-methods radio group ────────────────────────────────────── */
.pay-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pay-method {
    margin: 0 0 14px;
}

.pay-method > input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pay-body {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pay-method:hover .pay-body {
    border-color: #adb5bd;
}

.pay-method > input[type="radio"]:checked + .pay-body {
    border-color: #d9230f;
    background: #fdf6f5;
}

.pay-method > input[type="radio"]:focus-visible + .pay-body {
    outline: 2px solid #d9230f;
    outline-offset: 2px;
}

.pay-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
}

.pay-radio {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 3px #fff;
}

.pay-method > input[type="radio"]:checked + .pay-body .pay-radio {
    border-color: #d9230f;
}

.pay-method > input[type="radio"]:checked + .pay-body .pay-icon {
    color: #d9230f;
}

.pay-title {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pay-icon {
    flex: 0 0 auto;
    width: 22px;
    color: #6c757d;
    font-size: 18px;
    text-align: right;
}

.pay-panel {
    padding: 0 16px 16px;
}

/* ── pay-steps + pay-step ────────────────────────────────────────── */
.pay-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pay-step + .pay-step {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(33, 37, 41, 0.1);
}

.pay-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #212529;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.pay-step-num {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d9230f;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.pay-step-hint,
.pay-step-lead {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.pay-step-hint {
    color: #6c757d;
}

.pay-step-lead {
    margin: 20px 0 10px;
    color: #212529;
}

/* ── fact-list / fact-row / fact-label / fact-value ───────────────── */
.fact-list {
    margin: 0;
    padding: 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    list-style: none;
}

.fact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding: 10px 14px;
}

.fact-row + .fact-row {
    border-top: 1px solid #e9ecef;
}

.fact {
    min-width: 0;
}

.fact-label {
    display: block;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
}

.fact-value {
    display: block;
    color: #212529;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.fact-value.is-code,
.fact-value--code,
.order-code-value {
    font-family: monospace;
    letter-spacing: 0.04em;
}

/* ── copy-btn — icon + label, both swap on copy ──────────────────── */
.copy-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background: #fff;
    color: #212529;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
    border-color: #d9230f;
    color: #d9230f;
}

.copy-btn:focus-visible {
    outline: 2px solid #d9230f;
    outline-offset: 2px;
}

/* Confirmed in place: the label and the icon both change for a moment,
   so confirmation does not rest on colour alone (plan §5). */
.copy-btn.is-copied,
.copy-btn.is-copied:hover {
    border-color: #8cbd66;
    color: #326806;
}

.copy-btn.is-copied .fa::before {
    content: "\f00c";
}

/* ── bank-list + bank-card + bank-card-head + bank-card-toggle ───── */
.bank-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bank-list__empty {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 24px 0;
}

.bank-card {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
}

/* The head IS the <summary>, so the whole row is the tap target. */
.bank-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 4px;
    list-style: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bank-card-head::-webkit-details-marker {
    display: none;
}

.bank-card-head:hover {
    background: #f8f9fa;
}

.bank-card-head:focus-visible {
    outline: 2px solid #d9230f;
    outline-offset: 2px;
}

/* [open] is on the inner <details>, never on the <li>. */
.bank-card details[open] > .bank-card-head {
    border-bottom: 1px solid #e9ecef;
    border-radius: 4px 4px 0 0;
}

.bank-card-head .fa {
    color: #6c757d;
    font-size: 15px;
}

.bank-card-head .bank-card-toggle {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.bank-card details[open] .bank-card-toggle {
    color: #d9230f;
    transform: rotate(180deg);
}

.bank-card-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #212529;
    font-size: 15px;
    font-weight: 700;
}

.bank-card-currency {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 40px;
    background: #f1f3f5;
    color: #495057;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.bank-card .fact-list {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.bank-card-note {
    margin: 0;
    padding: 10px 14px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

/* ── order-summary, order-code, order-deadline ───────────────────── */
.order-pay {
    padding: 30px 0 60px;
}

.order-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 18px 20px;
}

.order-summary h2 {
    margin: 0 0 14px;
    color: #212529;
    font-size: 18px;
    font-weight: 700;
}

.order-summary dl {
    margin: 14px 0 0;
    border-top: 1px solid #dee2e6;
}

.order-summary dt {
    float: left;
    clear: left;
    width: 130px;
    padding: 8px 0;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
}

.order-summary dd {
    margin-left: 130px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #212529;
    font-size: 14px;
    font-weight: 500;
}

.order-summary dd:last-child {
    border-bottom: 0;
}

.order-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.order-code-label {
    display: block;
    color: #6c757d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-code-value {
    display: block;
    color: #212529;
    font-size: 16px;
    font-weight: 700;
}

.order-deadline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 12px 14px;
    background: #fff8e1;
    border: 1px solid #f5e6a8;
    border-radius: 4px;
    color: #212529;
    font-size: 14px;
    line-height: 1.4;
}

.order-deadline p {
    margin: 0;
}

.order-deadline .fa-clock-o {
    color: #d9230f;
    margin-top: 2px;
}

.order-total,
.order-then {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 0;
    padding: 12px 0;
    border-top: 1px solid #dee2e6;
}

.order-total strong,
.order-then strong {
    color: #212529;
    font-size: 22px;
    font-weight: 700;
}

.order-note {
    margin: 12px 0 0;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
}

/* ── contact-card / form-control / form-error / form-help ─────────── */
.contact-card__alert {
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    font-size: 14px;
    line-height: 1.4;
}

.form-help {
    display: block;
    margin-top: 6px;
    color: #6c757d;
    font-size: 12px;
}

.form-error {
    margin: 6px 0 0;
    color: #d9230f;
    font-size: 13px;
}

/* ── state-badge (Phase 5 — order_status.html / _proof_summary.html) ── */
.state-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    background: #e9ecef;
    color: #212529;
}
.state-badge--ok {
    background: #d1e7dd;
    color: #0a3622;
}
.state-badge--warn {
    background: #f8d7da;
    color: #721c24;
}
.state-badge--review {
    background: #fff8e1;
    color: #6b5400;
}
