
/* ============================================================
   Reference-site look (aliekspress.lv) rendered with the
   digital-1-1.0.0 theme's Bootstrap 5 code base.
   ============================================================ */
:root {
  --ae-red: #fc374e;
  --ae-dark: #1e293b;
  --ae-text: #67768e;
  --ae-light: #f8f9fa;
  --ae-border: #e6e9f0;
  --bs-primary: #fc374e;
  --bs-primary-rgb: 252, 55, 78;
}
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px; line-height: 1.55; color: #000; background: #fff;
}
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #000; }
h1 { font-size: 42px; line-height: 1.15; margin-bottom: 22px; }
h2 { font-size: 33px; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
p { margin-bottom: 1.2em; }
.ae-wrap { max-width: 960px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.ae-section { padding: 54px 0; }
.ae-home .ae-section h2 { text-align: center; }
.ae-section--light { background: var(--ae-light); }
.ae-lead { font-size: 19px; line-height: 1.55; color: #000; margin-bottom: 26px; }
.ae-intro { font-size: 19px; line-height: 1.55; margin-bottom: 26px; }
.ae-prose { max-width: 760px; }
.ae-prose--wide { max-width: 960px; }
.ae-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ae-btn-row--center { justify-content: center; }
.ae-btn {
  display: inline-block; background: var(--ae-red); color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600;
  line-height: 24px; padding: 10px 20px; border: 0; border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
}
.ae-btn:hover { background: #e0313f; color: #fff; transform: translateY(-1px); }
/* button colours copied from the reference site */
.ae-btn--red { background: #fc374e; }
.ae-btn--red:hover { background: #e0313f; }
.ae-btn--orange { background: #ff8f00; }
.ae-btn--orange:hover { background: #e07f00; }
.ae-btn--green { background: #006400; }
.ae-btn--green:hover { background: #005500; }
.ae-btn--navy { background: #00008b; }
.ae-btn--navy:hover { background: #00006f; }
.ae-btn--purple { background: #800080; }
.ae-btn--purple:hover { background: #6c006c; }
.ae-btn--lg { font-size: 19px; line-height: 24px; padding: 20px 40px; border-radius: 5px; }
.ae-btn--sm { font-size: 16px; padding: 8px 16px; }
.ae-btn--ghost { background: transparent; color: var(--ae-red); border: 1px solid var(--ae-red); }
.ae-btn--ghost:hover { background: var(--ae-red); color: #fff; }

/* hero */
.ae-hero { padding: 46px 0 54px; }
.ae-hero-img { max-width: 211px; height: auto; }
.ae-pagehero { background: var(--ae-light); padding: 44px 0; }
.ae-pagehero h1 { margin-bottom: 10px; }

/* icon cards (Kas jums nepieciešams) */
.ae-card { text-align: center; }
.ae-card img { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; }
.ae-card-title { display: block; font-size: 24px; font-weight: 700; color: #000; text-decoration: none; }
.ae-card-title:hover { color: var(--ae-red); }
.ae-card--icon { background: #fff; border: 1px solid var(--ae-border); border-radius: 6px; padding: 30px 24px; height: 100%; }
.ae-card--icon .fa { color: var(--ae-red); margin-bottom: 14px; }
.ae-card--icon p { font-size: 18px; line-height: 1.65; margin-bottom: 14px; }
.ae-card--icon h3 { font-size: 24px; }
.ae-card-arrow { display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--ae-red); color: #fff; }
.ae-card-arrow:hover { background: #e0313f; color: #fff; }
.ae-card--cat { background: #fff; border: 1px solid var(--ae-border); border-radius: 6px; padding: 26px 22px; height: 100%; text-align: center; }
.ae-cat-emoji { font-size: 34px; margin-bottom: 8px; }
.ae-card--cat p { font-size: 17px; line-height: 1.6; }
.ae-subcats { list-style: none; padding: 0; margin: 0 0 18px; font-size: 15px; color: var(--ae-text); }
.ae-subcats li { padding: 3px 0; border-bottom: 1px dashed var(--ae-border); }
.ae-subcats li:last-child { border-bottom: 0; }

/* accordion */
.ae-accordion .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--ae-border); }
.ae-accordion .accordion-button {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--ae-dark); background: transparent; padding: 15px 20px; box-shadow: none;
}
.ae-accordion .accordion-button::after { background-size: 14px; }
.ae-accordion .accordion-button:not(.collapsed) { color: var(--ae-red); background: transparent; }
.ae-accordion .accordion-body { padding: 0 20px 20px; font-size: 16px; line-height: 1.85; color: #000; }
.ae-faq-group { font-size: 21px; font-weight: 700; margin: 26px 0 10px; color: var(--ae-dark); }

/* carriers */
.ae-carrier { background: #fff; border: 1px solid var(--ae-border); border-radius: 6px; padding: 26px 22px; text-align: center; height: 100%; }
.ae-carrier-logo { height: 64px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; }
.ae-carrier-logo-img { display: block; height: 40px; width: auto; max-width: 78%;
  object-fit: contain; object-position: center; }
.ae-carrier-badge { display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; min-width: 180px; padding: 10px 16px;
  border: 1px solid var(--ae-border); border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 19px; color: var(--ae-dark); }
.ae-carrier p { font-size: 17px; line-height: 1.6; margin-bottom: 0; }

/* steps + tracking */
.ae-step { background: #fff; border: 1px solid var(--ae-border); border-radius: 6px; padding: 26px; height: 100%; }
.ae-step h3 { font-size: 24px; }
.ae-step p { font-size: 18px; line-height: 1.65; }
.ae-track-box { display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; }
.ae-track-box input { flex: 1 1 320px; padding: 11px 16px; font-size: 17px;
  border: 1px solid #d4d9e3; border-radius: 3px; font-family: 'Montserrat', sans-serif; }
.ae-track-box .ae-btn { cursor: pointer; }

/* header + footer (reference look) */
.ae-navbar { background: #fff; padding: 20px 0 15px; border-bottom: 1px solid #f0f2f6; }
.ae-nav-inner { display: flex; align-items: center; flex-wrap: wrap; width: 100%;
  max-width: 960px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.ae-navbar .navbar-brand img { height: 34px; width: auto; }
.ae-navbar .nav-link { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 500; color: #3a3e4a; padding-left: 16px; padding-right: 16px; }
.ae-navbar .nav-link:hover, .ae-navbar .nav-link.active { color: var(--ae-red); }
.ae-navbar .navbar-toggler { border: 1px solid var(--ae-border); }
.ae-nav-cta { margin-left: 12px; white-space: nowrap; }
@media (max-width: 991.98px) {
  .ae-nav-inner { flex-wrap: wrap; align-items: center; column-gap: 10px; }
  .ae-navbar .navbar-brand img { height: 30px; width: auto; }
  .ae-navbar .ae-nav-cta { order: 1; margin-left: auto; margin-right: 0;
    font-size: 14px; padding: 6px 12px; }
  .ae-navbar .ae-nav-cta .fa { display: none; }
  .ae-navbar .navbar-toggler { order: 2; }
  .ae-navbar .navbar-collapse { order: 3; flex-basis: 100%; }
}
.ae-footer { background: transparent; padding: 34px 0 40px; text-align: center; }
.ae-footer p { color: var(--ae-text); font-size: 18px; margin-bottom: 8px; }
.ae-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.ae-footer-nav a { color: var(--ae-text); font-size: 16px; margin: 0; text-decoration: none; }
.ae-footer-nav a:hover { color: var(--ae-red); }

/* neutralise agency-template decoration */
body > .container-xxl > #spinner { display: none; }
.bg-primary { background-color: var(--ae-red) !important; }
.section-title { display: none; }
.wow { visibility: visible !important; opacity: 1 !important; }
.fact, .newsletter { background: var(--ae-light) !important; }

/* mobile */
@media (max-width: 991.98px) {
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  .ae-card--icon h3, .ae-card-title { font-size: 21px; }
  body { font-size: 17px; }
  .ae-hero-img { max-width: 180px; }
  .ae-btn { font-size: 17px; padding: 9px 18px; }
  .ae-btn--lg { font-size: 18px; padding: 12px 24px; }
  .ae-btn-row .ae-btn { width: 100%; text-align: center; }
  .row { margin-left: 0 !important; margin-right: 0 !important; }
  .row > * { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 575.98px) {
  .ae-section { padding: 38px 0; }
  .ae-accordion .accordion-button { font-size: 18px; padding: 13px 14px; }
  .ae-accordion .accordion-body { padding: 0 14px 16px; font-size: 15px; }
}
