.pn-cf {
  --pn-teal: #07544f;
  --pn-red: #c92d24;
  --pn-border: #dfe5ea;
  --pn-muted: #5e6b78;
  --pn-soft: #f7f8fa;
  color: #061820;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pn-cf * {
  box-sizing: border-box;
}

.pn-cf-header {
  align-items: center;
  background: var(--pn-teal);
  color: #fff;
  display: flex;
  gap: 14px;
  margin: 0 0 18px;
  min-height: 58px;
  padding: 14px 18px;
}

.pn-cf-header h1 {
  color: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.pn-cf-back-link {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.pn-cf-badge {
  background: #ffc414;
  border-radius: 999px;
  color: #061820;
  font-size: 13px;
  font-weight: 800;
  margin-left: auto;
  padding: 7px 12px;
}

.pn-cf-steps {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 18px;
}

.pn-cf-step {
  border: 1px solid var(--pn-border);
  border-radius: 999px;
  color: var(--pn-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
}

.pn-cf-step.is-active {
  background: var(--pn-teal);
  border-color: var(--pn-teal);
  color: #fff;
}

.pn-cf-shell {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 350px;
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 38px 64px;
}

.pn-cf-main {
  min-width: 0;
}

.pn-cf-section-title {
  align-items: center;
  color: #061820;
  display: flex;
  font-size: 19px;
  gap: 8px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.pn-cf-title-icon {
  color: var(--pn-red);
  display: inline-block;
  flex: 0 0 auto;
  height: 22px;
  line-height: 1;
  width: 22px;
}

.pn-cf-title-icon svg,
svg.pn-cf-title-icon {
  display: block;
}

.pn-cf-card {
  background: #fff;
  border: 1px solid var(--pn-border);
  border-radius: 8px;
}

.pn-cf-cart-items {
  display: grid;
  gap: 10px;
}

.pn-cf-cart.is-updating {
  cursor: progress;
}

.pn-cf-toast {
  align-items: center;
  background: #061820;
  border-radius: 8px;
  bottom: 18px;
  color: #fff;
  display: flex;
  gap: 12px;
  left: 50%;
  max-width: calc(100% - 24px);
  padding: 12px 14px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 99999;
}

.pn-cf-toast-text {
  font-size: 13px;
  font-weight: 600;
}

.pn-cf-toast-undo {
  background: transparent;
  border: 0;
  color: #ffc414;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 8px;
}

.pn-cf-toast-undo:disabled {
  opacity: 0.6;
  cursor: default;
}

.pn-cf-cart-item {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 58px minmax(0, 1fr) 78px 72px 18px;
  min-height: 74px;
  padding: 13px 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.pn-cf-cart-item.has-save-later {
  grid-template-columns: 58px minmax(0, 1fr) 78px 72px 22px 18px;
}

.pn-cf-thumb img {
  aspect-ratio: 1;
  border-radius: 6px;
  display: block;
  height: 45px;
  object-fit: cover;
  width: 45px;
}

.pn-cf-thumb {
  align-items: center;
  background: var(--pn-soft);
  border-radius: 7px;
  display: flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.pn-cf-item-copy h3 {
  color: #061820;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 3px;
}

.pn-cf-item-copy p {
  color: var(--pn-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.pn-cf-qty {
  align-items: center;
  border: 1px solid var(--pn-border);
  border-radius: 7px;
  display: flex;
  height: 28px;
  justify-self: end;
  overflow: hidden;
}

.pn-cf-qty button,
.pn-cf-qty input {
  align-items: center;
  background: #fff !important;
  border: 0 !important;
  color: #061820;
  display: flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  line-height: 26px;
  margin: 0;
  min-height: 0;
  padding: 0 !important;
  text-align: center;
}

.pn-cf-qty input {
  appearance: textfield;
  border-left: 1px solid var(--pn-border);
  border-right: 1px solid var(--pn-border);
  min-width: 0;
  width: 30px;
}

.pn-cf-qty button {
  box-shadow: none !important;
  cursor: pointer;
  flex: 0 0 24px;
  min-width: 24px;
}

.pn-cf-qty input {
  flex: 0 0 30px;
}

.pn-cf-qty button:hover,
.pn-cf-qty button:focus {
  background: #fff !important;
  color: #061820;
}

.pn-cf-qty input::-webkit-inner-spin-button,
.pn-cf-qty input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.pn-cf-line-price {
  align-self: center;
  color: #064e4b;
  font-size: 13px;
  font-weight: 900;
  justify-self: end;
  line-height: 1;
  text-align: right;
}

.pn-cf-line-price .amount,
.pn-cf-line-price .woocommerce-Price-amount,
.pn-cf-line-price .woocommerce-Price-currencySymbol {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.pn-cf-save-later,
.pn-cf-remove,
.pn-cf-remove-saved {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  color: #7c8792 !important;
  cursor: pointer;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  justify-self: end;
  line-height: 0;
  margin: 0;
  min-height: 0;
  outline: 0;
  padding: 0 !important;
  width: 18px;
}

.pn-cf-save-later {
  color: #5d6a75 !important;
  width: 22px;
}

.pn-cf-remove-saved {
  width: 18px;
}

.pn-cf-save-later:hover,
.pn-cf-save-later:focus,
.pn-cf-remove:hover,
.pn-cf-remove:focus,
.pn-cf-remove-saved:hover,
.pn-cf-remove-saved:focus {
  background: transparent !important;
  color: #5f6b76 !important;
}

.pn-cf-save-later svg,
.pn-cf-remove svg,
.pn-cf-remove-saved svg {
  display: block;
  height: 16px;
  stroke: currentColor;
  width: 16px;
}

.pn-cf-saved {
  margin-top: 24px;
}

.pn-cf-saved-title {
  color: #061820;
  font-size: 18px;
  margin-bottom: 12px;
}

.pn-cf-saved-title .pn-cf-title-icon {
  color: var(--pn-teal);
  height: 18px;
  width: 18px;
}

.pn-cf-saved-items {
  display: grid;
  gap: 10px;
}

.pn-cf-saved-item {
  align-items: center;
  display: grid;
  border-style: dashed;
  gap: 14px;
  grid-template-columns: 58px minmax(0, 1fr) max-content max-content 18px;
  min-height: 68px;
  padding: 10px 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.pn-cf-cart-item.is-removing,
.pn-cf-saved-item.is-removing {
  opacity: 0;
  transform: translateX(10px);
}

.pn-cf-cart-item.is-added,
.pn-cf-saved-item.is-added {
  animation: pn-cf-fade-in 420ms ease-out both;
}

@keyframes pn-cf-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pn-cf-cart-item,
  .pn-cf-saved-item {
    animation: none !important;
    transition: none !important;
  }
}

.pn-cf-saved-item .pn-cf-line-price {
  justify-self: end;
  min-width: 52px;
  width: auto;
}

.pn-cf-saved-item.is-unavailable {
  opacity: 0.72;
}

.pn-cf-saved-status {
  color: var(--pn-red) !important;
  font-weight: 700 !important;
}

.pn-cf-move-saved {
  background: #fff !important;
  border: 1px solid var(--pn-border) !important;
  border-radius: 7px;
  box-shadow: none !important;
  color: #061820 !important;
  font-size: 12px;
  font-weight: 500;
  gap: 7px;
  height: 32px;
  line-height: 1;
  min-height: 32px;
  padding: 0 12px !important;
  text-transform: capitalize !important;
  white-space: nowrap;
}

.pn-cf-move-saved svg {
  flex: 0 0 14px;
  height: 14px;
  margin-right: 8px;
  stroke: currentColor;
  width: 14px;
}

.pn-cf-move-saved:hover,
.pn-cf-move-saved:focus {
  background: #F8B31A !important;
  border-color: #F8B31A !important;
  color: #061820 !important;
}

.pn-cf-move-saved:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pn-cf-empty-inline {
  margin-bottom: 18px;
  padding: 22px;
}

.pn-cf-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 13px;
}

.pn-cf-button {
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 32px;
  padding: 8px 14px;
  text-decoration: none;
}

.pn-cf-button-primary {
  background: var(--pn-red);
  border: 1px solid var(--pn-red);
  color: #fff;
}

.pn-cf-button-ghost {
  background: #fff;
  border: 1px solid var(--pn-border);
  color: #061820;
}

.pn-cf-summary {
  min-width: 0;
}

.pn-cf-summary-card {
  padding: 20px 17px 18px;
  position: sticky;
  top: 28px;
}

.pn-cf-summary-card h2 {
  border-bottom: 1px solid var(--pn-border);
  font-size: 14px;
  margin: 0 0 12px;
  padding-bottom: 12px;
}

.pn-cf-summary-row,
.pn-cf-summary-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.pn-cf-summary-row span {
  color: var(--pn-muted);
  font-weight: 500;
}

.pn-cf-summary-total {
  border-top: 1px solid var(--pn-border);
  font-size: 18px;
  font-weight: 900;
  margin-top: 10px;
  padding-top: 14px;
}

.pn-cf-summary-total strong {
  color: var(--pn-teal);
}

.pn-cf-free-note {
  color: #e1a400;
  font-size: 13px;
  font-weight: 700;
  margin: 2px 0 10px;
}

.pn-cf-trust {
  color: var(--pn-muted);
  display: grid;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}

.pn-cf-trust li {
  align-items: center;
  display: flex;
  gap: 8px;
}

.pn-cf-trust svg {
  color: var(--pn-teal);
  flex: 0 0 16px;
  height: 16px;
  stroke: currentColor;
  width: 16px;
}

.pn-cf-visually-hidden {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.pn-cf-empty {
  padding: 32px;
  text-align: center;
}

@media (max-width: 900px) {
  .pn-cf-shell {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .pn-cf-summary-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .pn-cf-header {
    margin-left: -10px;
    margin-right: -10px;
  }

  .pn-cf-steps {
    gap: 6px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 12px 6px;
  }

  .pn-cf-step {
    flex: 0 0 auto;
  }

  .pn-cf-cart .pn-cf-cart-item {
    align-items: center !important;
    display: grid !important;
    gap: 8px;
    grid-template-areas:
      "thumb copy qty remove"
      "thumb copy price remove";
    grid-template-columns: 46px minmax(0, 1fr) 78px 16px !important;
    min-height: 78px;
    padding: 12px;
  }

  .pn-cf-cart .pn-cf-cart-item.has-save-later {
    grid-template-areas:
      "thumb copy qty save remove"
      "thumb copy price save remove";
    grid-template-columns: 46px minmax(0, 1fr) 70px 18px 16px !important;
  }

  .pn-cf-thumb {
    grid-area: thumb;
    height: 46px;
    width: 46px;
  }

  .pn-cf-thumb img {
    height: 36px;
    width: 36px;
  }

  .pn-cf-item-copy {
    grid-area: copy;
    min-width: 0;
  }

  .pn-cf-item-copy h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pn-cf-qty {
    grid-area: qty;
    grid-column: auto;
    width: 70px;
  }

  .pn-cf-qty button {
    flex-basis: 22px;
    min-width: 22px;
  }

  .pn-cf-qty input {
    flex-basis: 26px;
    width: 26px;
  }

  .pn-cf-line-price {
    grid-area: price;
    grid-column: auto;
    font-size: 12px;
    margin-top: 6px;
    justify-self: end;
    text-align: center;
    white-space: nowrap;
    width: 70px;
  }

  .pn-cf-remove {
    grid-area: remove;
    grid-column: auto;
    align-self: start;
    width: 16px;
  }

  .pn-cf-save-later {
    align-self: start;
    grid-area: save;
    grid-column: auto;
    width: 18px;
  }

  .pn-cf-save-later svg,
  .pn-cf-remove svg {
    height: 14px;
    width: 14px;
  }

  .pn-cf-saved {
    margin-top: 22px;
  }

  .pn-cf-saved-item {
    gap: 8px;
    grid-template-areas:
      "thumb copy remove"
      "thumb price remove"
      "thumb move remove";
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    min-height: 92px;
    padding: 12px;
  }

  .pn-cf-saved-item .pn-cf-thumb {
    grid-area: thumb;
  }

  .pn-cf-saved-item .pn-cf-item-copy {
    grid-area: copy;
  }

  .pn-cf-saved-item .pn-cf-line-price {
    grid-area: price;
    justify-self: start;
    margin-top: 0;
    text-align: left;
    width: auto;
  }

  .pn-cf-move-saved {
    grid-area: move;
    justify-self: start;
    max-width: 100%;
  }

  .pn-cf-remove-saved {
    align-self: start;
    grid-area: remove;
    justify-self: end;
  }

  .pn-cf-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
