/* Shared service-page corrections. Loaded after Elementor's generated rules. */
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .cta-form-band-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 64px 0 !important;
  background: #04243d;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .container.cta-form-band-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 48px !important;
  width: calc(100% - 64px) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) :is(.cta-band-left, .cta-band-right) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  opacity: 1 !important;
  transform: none !important;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .cta-band-left .section-title {
  font-size: clamp(32px, 3.5vw, 48px) !important;
  line-height: 1.15 !important;
  max-width: 100% !important;
  margin: 16px 0 20px !important;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .cta-band-desc {
  font-size: 16px !important;
  line-height: 1.7 !important;
  max-width: 520px;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .consult-card-white {
  width: 100% !important;
  padding: 32px !important;
  border-radius: 20px;
  box-sizing: border-box;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .consult-form .form-control {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px;
  font-size: 16px !important;
  box-sizing: border-box;
  scroll-margin-bottom: 100px;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .consult-form .form-row-2col {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px;
}
body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .consult-form .btn-orange {
  white-space: normal;
  min-height: 48px;
  line-height: 1.4;
}

/* Keep the full consultation photo, including the person at its right edge. */
body:not(.elementor-editor-active) .elementor .page-import-export :is(.hero-2col-right, .hero-img-card-wrap, .hero-img-card-wrap .elementor-widget-image, .hero-img-card-wrap .elementor-widget-container) {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
body:not(.elementor-editor-active) .elementor .page-import-export .hero-img-card-wrap img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* Only checkboxes are hidden. Quantity fields remain editable. */
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-package-option input.ff-package-quantity {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 112px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 44px !important;
  font-size: 16px !important;
  box-sizing: border-box;
  scroll-margin-bottom: 100px;
}
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-package-option > input:focus-visible + span {
  outline: 2px solid #f05828;
  outline-offset: 3px;
}

/* The original quick links stay in the document at every viewport size. */
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-section:not(.is-compact) .ff-quicklinks-grid {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-items: stretch !important;
}
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-grid > .elementor-element {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-section:not(.is-compact) a.ff-quicklink-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 180px !important;
  padding: 22px 18px !important;
  box-sizing: border-box;
  transform: none !important;
}
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-section:not(.is-compact) :is(.ff-quicklink-title, .ff-quicklink-sub, .ff-quicklink-btn) {
  display: block !important;
}
body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-section:not(.is-compact) :is(.ff-quicklink-icon, .ff-quicklink-compact-label) {
  display: none !important;
}

/* Separate navigation avoids moving/re-sizing the source cards on scroll. */
.ff-shortcut-dock {
  position: fixed;
  z-index: 950;
  top: 50%;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}
.ff-shortcut-dock[hidden] { display: none !important; }
.ff-shortcut-dock a,
.ff-shortcut-dock .ff-shortcut-tracking {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #04243d;
  color: #fff;
  box-shadow: 0 4px 12px #04243d26;
}
.ff-shortcut-dock .ff-shortcut-tracking { display: none; padding: 0; border: 0; background: #f05828; }
.ff-shortcut-dock .ff-shortcut-tracking svg { width: 26px; height: 26px; }
.ff-shortcut-dock a:is(:hover, :focus-visible, [aria-current="location"]),
.ff-shortcut-dock .ff-shortcut-hub { background: #f05828; }
.ff-shortcut-dock a:focus-visible { outline: 3px solid #f05828; outline-offset: 3px; }
.ff-shortcut-dock .ff-quicklink-icon,
.ff-shortcut-dock .ff-quicklink-icon svg { display: block; width: 26px; height: 26px; }
.ff-shortcut-dock .ff-icon-accent { stroke: #ff9d70; }
.ff-shortcut-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  transform: translateY(-50%);
  width: max-content;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #04243d;
  color: #fff;
  font: 600 13px/1.4 Inter, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (hover: hover) {
  .ff-shortcut-dock a:hover .ff-shortcut-label { opacity: 1; visibility: visible; }
}
.ff-shortcut-dock a:focus-visible .ff-shortcut-label { opacity: 1; visibility: visible; }

@media (min-width: 1200px) {
  body:not(.elementor-editor-active) .elementor .page-fulfillment > section:not(.ff-hero-dark-section):not(.ff-quicklinks-section) > .container,
  body:not(.elementor-editor-active) .elementor .page-fulfillment #bang-gia-fulfillment > .container,
  body:not(.elementor-editor-active) .elementor .page-fulfillment #bang-gia-fulfillment ~ section > .container {
    padding-right: 96px !important;
    box-sizing: border-box;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment #bang-gia-fulfillment > .container > .e-con,
  body:not(.elementor-editor-active) .elementor .page-fulfillment #bang-gia-fulfillment ~ section > .container > .e-con {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-policy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-policy-header {
    grid-template-columns: 42px minmax(0, 1fr) 24px !important;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .container.cta-form-band-grid {
    padding-right: 64px !important;
  }
}
@media (max-width: 1199px) {
  body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .container.cta-form-band-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    width: calc(100% - 48px) !important;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-section:not(.is-compact) .ff-quicklinks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ff-shortcut-dock {
    top: auto;
    right: auto;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 6px;
    padding: 8px;
    border: 1px solid #d5dee8;
    border-radius: 18px;
    background: #fffffff5;
    transform: translateX(-50%);
    box-shadow: 0 5px 20px #04243d26;
  }
  .ff-shortcut-dock a,
  .ff-shortcut-dock .ff-shortcut-tracking { width: 44px; height: 44px; border-radius: 12px; }
  .ff-shortcut-dock .ff-shortcut-tracking { display: grid; }
  .ff-shortcut-label { display: none; }
  body:has(.page-fulfillment) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.ff-dock-visible .speego-track-fab { display: none !important; }
  body.ff-dock-in-contact .speego-track-fab,
  body.ff-dock-is-editing .speego-track-fab,
  body:has(#speego-cookie-consent:not([hidden])) .ff-shortcut-dock { display: none !important; }
}
@media (max-width: 600px) {
  body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .cta-form-band-section { padding: 40px 0 !important; }
  body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .container.cta-form-band-grid { width: calc(100% - 32px) !important; }
  body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .consult-card-white { padding: 24px !important; }
  body:not(.elementor-editor-active) .elementor :is(.page-fulfillment, .page-import-export) .consult-form .form-row-2col {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-quicklinks-section:not(.is-compact) .ff-quicklinks-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-policy-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }
  body:not(.elementor-editor-active) .elementor .page-fulfillment .ff-policy-heading > .elementor-widget {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}
