@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body.dp-start-checkout-interface {
  --dp-start-header-navy: #123247;
  --dp-start-header-accent: #228396;
  --dp-start-header-line: #d9e0e2;
  margin: 0;
  padding: 0;
  background: #f4f7f8;
  color: var(--dp-start-header-navy);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.dp-start-checkout-layout,
.dp-start-checkout-layout *,
.dp-start-checkout-layout *::before,
.dp-start-checkout-layout *::after {
  box-sizing: border-box;
}

.dp-start-checkout-layout {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.admin-bar .dp-start-checkout-layout {
  min-height: calc(100vh - 32px);
}

.dp-start-checkout-skip {
  position: fixed;
  top: 50px;
  left: 20px;
  z-index: 100001;
  transform: translateY(-250px);
  padding: 12px 20px;
  background: #fff;
  color: #123247;
}
.dp-start-checkout-skip:focus {
  transform: none;
}

body.dp-start-checkout-interface .dp-start-checkout-main {
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px 80px 72px;
  background: #f4f7f8;
}

.dp-start-checkout-title {
  margin: 0 0 32px;
  color: var(--dp-start-header-navy);
  font: 600 36px/1.2 "Poppins", Arial, sans-serif;
  letter-spacing: -0.025em;
}

body.dp-start-checkout-interface .dp-start-checkout-content,
body.dp-start-checkout-interface .dp-start-checkout-content > .woocommerce,
body.dp-start-checkout-interface .dp-start-checkout-content > .wp-block-woocommerce-cart,
body.dp-start-checkout-interface .dp-start-checkout-content > .wp-block-woocommerce-checkout {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.dp-start-checkout-interface .dp-start-checkout-main :is(p, li, small, address, dt, dd, td, th, input, select, textarea, .woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions, .wc-block-components-product-metadata, .wc-block-components-product-details, .wc-block-components-checkout-step__description, .wc-block-components-totals-item__description, .wc-block-components-radio-control__description, .wc-block-components-radio-control__secondary-description) {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px !important;
}

.dp-start-checkout-main :is(input, select, textarea, button, h2, h3, h4) {
  font-family: "Poppins", Arial, sans-serif;
}

.dp-start-checkout-main :is(h2, h3, h4) {
  color: var(--dp-start-header-navy);
  font-weight: 600;
}

.dp-start-checkout-main :is(a, .woocommerce-info::before, .woocommerce-message::before) {
  color: var(--dp-start-header-accent);
}

.dp-start-checkout-main :is(.woocommerce-info, .woocommerce-message) {
  border-top-color: var(--dp-start-header-accent);
}

body.dp-start-checkout-interface .dp-start-checkout-main :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea) {
  border: 1px solid #c9d3d8;
  border-radius: 4px;
  background-color: #fff;
  color: var(--dp-start-header-navy);
  min-height: 48px;
}

body.dp-start-checkout-interface .dp-start-checkout-main :is(button.button, a.button, input.button, .wc-block-components-button) {
  background: var(--dp-start-header-navy);
  color: #fff;
  border: 1px solid var(--dp-start-header-navy);
  border-radius: 4px;
  padding: 14px 24px;
  min-height: 48px;
  font: 500 16px/1.5 "Poppins", Arial, sans-serif;
  text-decoration: none;
  box-shadow: none;
}

body.dp-start-checkout-interface .dp-start-checkout-main :is(button.button, a.button, input.button, .wc-block-components-button):hover {
  background: #1c4560;
  color: #fff;
}

.dp-start-checkout-main :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--dp-start-header-accent);
  outline-offset: 3px;
}

.dp-start-checkout-main :is(.shop_table, .woocommerce-checkout-payment, .wc-block-components-sidebar) {
  border-radius: 6px;
  background-color: #fff;
}

.dp-start-checkout-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 84px;
  padding: 0 80px;
  background: #fff;
  border-bottom: 1px solid rgba(18, 50, 71, 0.09);
  color: var(--dp-start-header-navy);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

body.admin-bar .dp-start-checkout-header {
  top: 32px;
}

.dp-start-checkout-header *,
.dp-start-checkout-header *::before,
.dp-start-checkout-header *::after {
  box-sizing: border-box;
}

.dp-start-checkout-header__inner {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.dp-start-checkout-header__brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--dp-start-header-navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.dp-start-checkout-header__brand:hover,
.dp-start-checkout-header__brand:focus-visible,
.dp-start-checkout-header__actions a:hover,
.dp-start-checkout-header__actions a:focus-visible {
  color: var(--dp-start-header-accent);
}

.dp-start-checkout-header__brand:focus-visible,
.dp-start-checkout-header__actions a:focus-visible {
  outline: 2px solid var(--dp-start-header-accent);
  outline-offset: 5px;
}

.dp-start-checkout-header__logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
}

.dp-start-checkout-header__divider {
  width: 1px;
  height: 30px;
  flex: 0 0 1px;
  background: var(--dp-start-header-line);
}

.dp-start-checkout-header__name {
  white-space: nowrap;
}

.dp-start-checkout-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.dp-start-checkout-header__actions a {
  color: var(--dp-start-header-navy);
  text-decoration: none;
  transition: color 160ms ease;
}

.dp-start-checkout-header__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.dp-start-checkout-header__icon-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dp-start-checkout-header__icon-link svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dp-start-checkout-header__cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--dp-start-header-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.dp-start-checkout-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px 80px 24px;
  background: var(--dp-start-header-navy);
  color: #fff;
  font: 400 16px/1.65 "Poppins", Arial, sans-serif;
}

.dp-start-checkout-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 48px;
}

.dp-start-checkout-footer :is(a, p, li, address, span) {
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.dp-start-checkout-footer a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dp-start-checkout-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dp-start-checkout-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.dp-start-checkout-footer__brand img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.dp-start-checkout-footer__brand p {
  max-width: 360px;
  margin: 24px 0 0;
}

.dp-start-checkout-footer h2 {
  margin: 0 0 20px;
  color: #fff;
  font: 600 16px/1.5 "Poppins", Arial, sans-serif;
  letter-spacing: normal;
}

.dp-start-checkout-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dp-start-checkout-footer li {
  margin: 0;
}

.dp-start-checkout-footer address {
  display: grid;
  gap: 10px;
  margin: 0;
  font-style: normal;
}

.dp-start-checkout-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 25%);
}

.dp-start-checkout-footer__bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .dp-start-checkout-header,
  .dp-start-checkout-footer,
  body.dp-start-checkout-interface .dp-start-checkout-main {
    padding-right: 30px;
    padding-left: 30px;
  }
  .dp-start-checkout-header {
    min-height: 76px;
  }
  .dp-start-checkout-footer__main {
    gap: 32px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .dp-start-checkout-header {
    top: 46px;
  }
  body.admin-bar .dp-start-checkout-layout {
    min-height: calc(100vh - 46px);
  }
}

@media (max-width: 767px) {
  .dp-start-checkout-header,
  .dp-start-checkout-footer,
  body.dp-start-checkout-interface .dp-start-checkout-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dp-start-checkout-header {
    min-height: 70px;
  }

  body.dp-start-checkout-interface .dp-start-checkout-main {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .dp-start-checkout-title {
    font-size: 28px;
  }

  .dp-start-checkout-footer {
    padding-top: 48px;
  }

  .dp-start-checkout-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 36px;
  }

  .dp-start-checkout-header__inner {
    gap: 20px;
  }

  .dp-start-checkout-header__brand {
    gap: 12px;
  }

  .dp-start-checkout-header__logo {
    width: 142px;
  }

  .dp-start-checkout-header__divider {
    height: 25px;
  }

  .dp-start-checkout-header__actions {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .dp-start-checkout-header {
    position: relative;
    top: 0 !important;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .dp-start-checkout-header__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dp-start-checkout-header__brand {
    flex-basis: 100%;
  }

  .dp-start-checkout-header__logo {
    width: 136px;
  }

  .dp-start-checkout-header__actions {
    width: 100%;
  }

  .dp-start-checkout-header__back {
    min-height: 44px;
    margin-right: auto;
  }

  .dp-start-checkout-header__back span:last-child {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .dp-start-checkout-header__logo {
    width: 122px;
  }

  .dp-start-checkout-header__actions {
    gap: 10px;
  }
}
