:root {
  --prk-cv4-primary: var(--prk-color-primary, #ff5b0e);
  --prk-cv4-primary-2: var(--prk-color-gradient-end, #ff402d);
  --prk-cv4-text: #242424;
  --prk-cv4-muted: #7b818c;
  --prk-cv4-border: #e6e7eb;
  --prk-cv4-soft: #fffaf8;
  --prk-cv4-surface: #ffffff;
  --prk-cv4-radius: 14px;
}

body.prk-checkout-v4 .payment_navigtions {
  display: none !important;
}

body.prk-checkout-v4 .woocommerce {
  color: var(--prk-cv4-text);
}

.prk-cv4-shell,
.prk-cv4-progress {
  width: min(100%, 1660px);
  margin-inline: auto;
  padding-inline: 16px;
}


.prk-cv4-progress {
  margin-top: var(--prk-page-current-gap, 26px);
  margin-bottom: 18px;
}

.prk-cv4-shell {
  margin-top: var(--prk-page-current-gap, 26px);
  margin-bottom: 36px;
}

.prk-cv4-progress__inner {
  min-height: 150px;
  border: 1px solid var(--prk-cv4-border);
  border-radius: var(--prk-cv4-radius);
  background: var(--prk-cv4-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.prk-cv4-progress__logo img,
.prk-cv4-progress__logo svg {
  max-height: 56px;
  width: auto;
}

.prk-cv4-progress__site-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--prk-cv4-primary);
}

.prk-cv4-progress__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 78px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.prk-cv4-progress__step {
  position: relative;
  color: var(--prk-color-primary-border, #ffae8f);
  font-size: 15px;
  font-weight: 600;
}

.prk-cv4-progress__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * clamp(56px, 4vw, 70px));
  width: clamp(44px, 4vw, 66px);
  height: 1px;
  background: currentColor;
  opacity: .8;
}

.prk-cv4-progress__step a,
.prk-cv4-progress__step span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.prk-cv4-progress__step i {
  font-size: 22px;
  font-weight: 400;
}

.prk-cv4-progress__step.is-active,
.prk-cv4-progress__step.is-done {
  color: var(--prk-cv4-primary);
}

.prk-cv4-shell {
  margin-bottom: 36px;
}

body.prk-checkout-v4 .woocommerce-message,
body.prk-checkout-v4 .woocommerce-info,
body.prk-checkout-v4 .woocommerce-error {
  border-radius: 12px;
  border: 1px solid #ecd36d;
  background: #fffdf4;
  color: #6b5b1f;
  padding: 14px 18px;
  margin-bottom: 18px;
  line-height: 2;
}

body.prk-checkout-v4 .woocommerce-error {
  border-color: #ffb6b6;
  background: #fff7f7;
  color: #c12b2b;
}

body.prk-checkout-v4 .woocommerce-cart-form,
body.prk-checkout-v4 .cart-collaterals,
body.prk-checkout-v4 form.checkout,

body.prk-checkout-v4 .prk_order_confirm,
body.prk-checkout-v4 .woocommerce-MyAccount-content .woocommerce-order-details {
  border: 1px solid var(--prk-cv4-border);
  border-radius: var(--prk-cv4-radius);
  background: var(--prk-cv4-surface);
}

body.prk-checkout-v4 .woocommerce-cart-form {
  padding: 10px 24px;
}

body.prk-checkout-v4 table.shop_table {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse;
  margin: 0;
}

body.prk-checkout-v4 table.shop_table th,
body.prk-checkout-v4 table.shop_table td {
  border: 0 !important;
  border-bottom: 1px solid #eff0f2 !important;
  padding: 22px 14px !important;
  vertical-align: middle;
}

body.prk-checkout-v4 table.shop_table tr:last-child td {
  border-bottom: 0 !important;
}

body.prk-checkout-v4 .woocommerce-cart-form__cart-item .product-thumbnail img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: 12px;
}

body.prk-checkout-v4 .woocommerce-cart-form__cart-item .product-name a,
body.prk-checkout-v4 table.shop_table .product-name a {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  line-height: 2;
}

body.prk-checkout-v4 .woocommerce-cart-form__cart-item .product-price,
body.prk-checkout-v4 .woocommerce-cart-form__cart-item .product-subtotal {
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

body.prk-checkout-v4 .quantity {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--prk-cv4-primary);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

body.prk-checkout-v4 .quantity input.qty {
  width: 48px !important;
  border: 0 !important;
  text-align: center;
  font-weight: 700;
  color: var(--prk-cv4-primary);
  box-shadow: none !important;
}

body.prk-checkout-v4 .product-remove a.remove {
  width: 72px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--prk-cv4-border);
  border-radius: 8px;
  color: #5f6673 !important;
  background: #fff;
  font-size: 0 !important;
}

body.prk-checkout-v4 .product-remove a.remove::before {
  content: "حذف";
  font-size: 13px;
  font-weight: 600;
}

body.prk-checkout-v4 .cart-collaterals {
  padding: 22px;
  margin-top: 18px;
}

body.prk-checkout-v4 .cart_totals h2 {
  font-size: 16px;
  margin: 0 0 16px;
}

body.prk-checkout-v4 .wc-proceed-to-checkout a.checkout-button,
body.prk-checkout-v4 #place_order,
body.prk-checkout-v4 .woocommerce button.button,
body.prk-checkout-v4 .woocommerce a.button {
  min-height: 44px;
  border-radius: 10px !important;
  border: 0 !important;
  background: linear-gradient(221.11deg, var(--prk-cv4-primary) 10.52%, var(--prk-cv4-primary-2) 93.97%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

body.prk-checkout-v4 form.checkout {
  padding: 28px 26px;
}

body.prk-checkout-v4 #customer_details,
body.prk-checkout-v4 #order_review {
  margin-top: 18px;
}

body.prk-checkout-v4 .woocommerce-billing-fields h3,
body.prk-checkout-v4 .woocommerce-additional-fields h3,
body.prk-checkout-v4 #order_review_heading {
  font-size: 16px;
  margin: 0 0 18px;
  font-weight: 800;
  color: var(--prk-cv4-text);
}

body.prk-checkout-v4 .form-row label {
  display: block;
  font-size: 13px;
  color: #2f333b;
  margin-bottom: 8px;
  font-weight: 700;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.prk-checkout-v4 .form-row .input-text,
body.prk-checkout-v4 .form-row select,
body.prk-checkout-v4 .form-row textarea,
body.prk-checkout-v4 .select2-container .select2-selection--single {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--prk-cv4-border) !important;
  border-radius: 10px !important;
  background: #fff;
  padding: 12px 14px;
  outline: 0;
  box-shadow: none !important;
  color: #111827;
}

body.prk-checkout-v4 .form-row textarea {
  min-height: 116px;
}

body.prk-checkout-v4 .form-row .input-text:focus,
body.prk-checkout-v4 .form-row select:focus,
body.prk-checkout-v4 .form-row textarea:focus,
body.prk-checkout-v4 .select2-container--open .select2-selection--single {
  border-color: var(--prk-cv4-primary) !important;
}

body.prk-checkout-v4 .prk-cv4-native-hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.prk-checkout-v4 #payment {
  background: transparent !important;
}

body.prk-checkout-v4 #payment ul.payment_methods {
  border: 0 !important;
  padding: 0 !important;
}

body.prk-checkout-v4 #payment ul.payment_methods li {
  border: 1px solid var(--prk-cv4-border);
  border-radius: 12px;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
  background: #fff;
}

body.prk-checkout-v4 #payment ul.payment_methods li.wc_payment_method input:checked + label {
  color: #111827;
  font-weight: 800;
}

body.prk-checkout-v4 #payment div.payment_box {
  background: #f7f7f8 !important;
  border-radius: 10px;
  color: #555;
  line-height: 2;
}


/* moved to component stylesheet */
.prk-cv4-cart-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 26px;
}

.prk-cv4-cart-tab {
  position: relative;
  min-height: 58px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #626975;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.prk-cv4-cart-tab span,
.prk-cv4-cart-tab small {
  font-family: inherit;
}

.prk-cv4-cart-tab small {
  color: #a1a6ac;
  font-size: 12px;
  font-weight: 700;
}

.prk-cv4-cart-tab.is-active {
  color: #111827;
}

.prk-cv4-cart-tab.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: #111827;
}

.prk-cv4-cart-more {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 23px;
}

.prk-cv4-cart-more:hover,
.prk-cv4-cart-more.is-active {
  background: #f3f4f6;
}

.prk-cv4-cart-bulk-menu {
  position: absolute;
  top: 46px;
  right: 20px;
  width: 280px;
  border: 1px solid #ebedf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
  z-index: 20;
  display: none;
  overflow: hidden;
}

.prk-cv4-cart-bulk-menu.is-open {
  display: block;
}

.prk-cv4-cart-bulk-menu button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid #eff0f2;
  background: #fff;
  color: #263047;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
}

.prk-cv4-cart-bulk-menu button:last-child {
  border-bottom: 0;
}

.prk-cv4-cart-bulk-menu button:hover {
  background: #f8fafc;
}

.prk-cv4-cart-panel__body {
  display: none;
  padding: 0 24px 24px;
}

.prk-cv4-cart-panel__body.is-active,
.prk-cv4-empty-card.is-active {
  display: block;
}

.prk-cv4-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) minmax(150px, 190px);
  grid-template-areas:
    "media content price"
    "media content actions"
    "insurance insurance insurance";
  gap: 14px 22px;
  padding: 26px 0 20px;
  border-bottom: 1px solid #eef0f2;
}

.prk-cv4-cart-item:last-child {
  border-bottom: 0;
}

.prk-cv4-cart-item__media {
  grid-area: media;
  align-self: start;
}

.prk-cv4-cart-item__media a,
.prk-cv4-cart-item__media img {
  display: block;
}

.prk-cv4-cart-item__media img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f6f8;
}

.prk-cv4-cart-item__content {
  grid-area: content;
  min-width: 0;
  padding-top: 6px;
}

.prk-cv4-cart-item__title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 2;
}

.prk-cv4-cart-item__title a {
  color: inherit;
  text-decoration: none;
}

.prk-cv4-cart-item__attrs,
.prk-cv4-cart-item__send,
.prk-cv4-cart-item__gifts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 9px;
  color: #626975;
  font-size: 12px;
  font-weight: 700;
}

.prk-cv4-cart-item__attrs span,
.prk-cv4-cart-item__send,
.prk-cv4-cart-item__gifts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prk-cv4-cart-item__attrs i {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--prk-cv4-swatch, #ddd);
  border: 1px solid rgba(0, 0, 0, .08);
}

.prk-cv4-cart-item__send i {
  color: #2563eb;
  font-size: 16px;
}

.prk-cv4-cart-item__pricebox {
  grid-area: price;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #111827;
}

.prk-cv4-sale-badge,
.prk-cv4-special-badge {
  min-width: 36px;
  height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  background: #ef174a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.prk-cv4-special-badge {
  background: #fff1f4;
  color: #ef174a;
  gap: 4px;
}

.prk-cv4-old-price {
  color: #b2b8c2;
  font-size: 12px;
  font-weight: 700;
}

.prk-cv4-price {
  color: #111827;
  font-size: 15px;
  font-weight: 1000;
}

.prk-cv4-cart-item__actions {
  grid-area: actions;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.prk-cv4-qty {
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.prk-cv4-qty button {
  width: 38px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #ef174a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.prk-cv4-qty input {
  width: 34px;
  height: 40px;
  border: 0;
  outline: 0;
  color: #ef174a;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  -moz-appearance: textfield;
}

.prk-cv4-qty input::-webkit-inner-spin-button,
.prk-cv4-qty input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.prk-cv4-save-next {
  min-height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.prk-cv4-save-next:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.prk-cv4-insurance {
  grid-area: insurance;
  min-height: 62px;
  border: 1px solid #e8ebef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  cursor: default;
}

.prk-cv4-insurance input {
  width: 18px;
  height: 18px;
  accent-color: #1f2a44;
}

.prk-cv4-insurance small {
  margin-inline-start: auto;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.prk-cv4-insurance b {
  min-width: 28px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ef174a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.prk-cv4-cart-summary {
  padding: 24px 24px 20px;
}

.prk-cv4-cart-summary h2 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 17px;
  font-weight: 1000;
}

.prk-cv4-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  color: #626975;
  font-size: 13px;
  font-weight: 800;
}

.prk-cv4-summary-row b {
  color: #111827;
  font-size: 14px;
  font-weight: 1000;
  white-space: nowrap;
}

.prk-cv4-summary-row--profit {
  margin-inline: -24px;
  padding-inline: 24px;
  background: #e3f4e9;
  color: #0f7a37;
}

.prk-cv4-summary-row--profit b,
.prk-cv4-summary-row--profit i {
  color: #0f8a3d;
}

.prk-cv4-summary-row--total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #eef0f2;
  color: #111827;
}

.prk-cv4-summary-row--total b {
  font-size: 17px;
}

.prk-cv4-checkout-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border-radius: 10px;
  background: #ef174a;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 1000;
  text-decoration: none !important;
}

.prk-cv4-checkout-btn:hover {
  filter: brightness(.96);
}

.prk-cv4-summary-note {
  margin: 16px 0 0;
  color: #626975;
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
  display: flex;
  gap: 6px;
}

.prk-cv4-side-banner {
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
}

.prk-cv4-side-banner a {
  min-height: 84px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px 12px;
  text-decoration: none !important;
}

.prk-cv4-side-banner span {
  color: #111827;
  font-size: 14px;
  font-weight: 1000;
}

.prk-cv4-side-banner small {
  color: #626975;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.prk-cv4-side-banner i {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 20px;
}

.prk-cv4-side-banner--plus {
  border-color: #ffd6f1;
  background: #fff3fb;
}

.prk-cv4-side-banner--plus i,
.prk-cv4-side-banner--plus a::before {
  color: #bf2bbf;
}

.prk-cv4-side-banner--charity {
  border-color: #bfeee5;
  background: #f0fffc;
}

.prk-cv4-side-banner--charity i,
.prk-cv4-side-banner--charity a::before {
  color: #079b85;
}

.prk-cv4-cart-below {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.prk-cv4-product-rail {
  padding: 28px 20px 20px;
  overflow: hidden;
}

.prk-cv4-product-rail header {
  margin-bottom: 18px;
  padding-inline: 6px;
}

.prk-cv4-product-rail h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 1000;
}

.prk-cv4-product-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  border: 1px solid #eef0f2;
  border-radius: 12px;
}

.prk-cv4-mini-product {
  min-width: 152px;
  border-left: 1px solid #eef0f2;
  background: #fff;
  padding-bottom: 12px;
}

.prk-cv4-mini-product:last-child {
  border-left: 0;
}

.prk-cv4-mini-product__image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f5f6f8;
  overflow: hidden;
}

.prk-cv4-mini-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.prk-cv4-mini-product h3 {
  min-height: 48px;
  margin: 10px 10px 6px;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 2;
}

.prk-cv4-mini-product h3 a {
  color: inherit;
  text-decoration: none;
}

.prk-cv4-mini-product__badge {
  margin-inline: 10px;
  height: 22px;
  border-radius: 999px;
  background: #fff1f4;
  color: #ef174a;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 900;
}

.prk-cv4-mini-product__price {
  margin: 8px 10px 0;
  color: #111827;
  font-size: 12px;
  font-weight: 1000;
}

.prk-cv4-next-empty,
.prk-cv4-empty-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #111827;
}

.prk-cv4-next-empty i,
.prk-cv4-empty-card__icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(221.11deg, var(--prk-cv4-primary) 10.52%, var(--prk-cv4-primary-2) 93.97%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin-bottom: 18px;
}

.prk-cv4-empty-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  margin-bottom: 16px;
}

.prk-cv4-empty-card h2,
.prk-cv4-next-empty strong {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 1000;
}

.prk-cv4-empty-card p,
.prk-cv4-next-empty p {
  margin: 0 0 18px;
  color: #626975;
  font-size: 14px;
  font-weight: 700;
}

.prk-cv4-empty-link {
  min-height: 42px;
  border: 1px solid #1d72ff;
  border-radius: 8px;
  color: #1d72ff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none !important;
  font-weight: 900;
}

.prk-cv4-next-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
}

.prk-cv4-next-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  padding: 12px;
}

.prk-cv4-next-item img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 10px;
  background: #f5f6f8;
}

.prk-cv4-next-item h3 {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 2;
  font-weight: 900;
}

.prk-cv4-next-item h3 a {
  color: inherit;
  text-decoration: none;
}

.prk-cv4-next-add,
.prk-cv4-next-delete {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.prk-cv4-next-add {
  border: 1px solid #ef174a;
  color: #ef174a;
}

.prk-cv4-next-delete {
  border: 1px solid #e5e7eb;
  color: #626975;
}

body.prk-cv4-cart-updating .prk-cv4-cart-layout {
  opacity: .62;
  pointer-events: none;
}

@media (max-width: 1199px) {
  .prk-cv4-cart-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "sidebar";
  }

  .prk-cv4-cart-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .prk-cv4-shell,
  .prk-cv4-progress {
    padding-inline: 10px;
  }

  .prk-cv4-cart-panel__head {
    padding-inline: 14px;
  }

  .prk-cv4-cart-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .prk-cv4-cart-panel__body {
    padding: 0 14px 16px;
  }

  .prk-cv4-cart-item {
    grid-template-columns: 106px minmax(0, 1fr);
    grid-template-areas:
      "media content"
      "price price"
      "actions actions"
      "insurance insurance";
    gap: 12px 14px;
  }

  .prk-cv4-cart-item__media img {
    width: 104px;
    height: 104px;
  }

  .prk-cv4-cart-item__pricebox {
    align-items: flex-end;
  }

  .prk-cv4-cart-item__actions {
    justify-content: space-between;
  }

  .prk-cv4-next-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .prk-cv4-next-add,
  .prk-cv4-next-delete {
    grid-column: 1 / -1;
  }
}

.prk-cv4-empty-card {
  display: none;
}

.prk-cv4-empty-card.is-active {
  display: flex;
}

body.prk-checkout-v4--cart-ui .prk_empty_cart,
body.prk-checkout-v4--cart-ui p.cart-empty,
body.prk-checkout-v4--cart-ui .return-to-shop {
  display: none !important;
}

body.prk-checkout-v4--cart-ui .woocommerce > .prk-cv4-cart-layout,
body.prk-checkout-v4--cart-ui .woocommerce > .prk-cv4-cart-below {
  width: min(100% - 32px, 1660px);
  margin-inline: auto;
}

/* Checkout V4 owns the cart UI. Keep WooCommerce hooks alive, but hide the legacy rendered form. */
body.prk-checkout-v4--cart-ui .woocommerce-cart-form,
body.prk-checkout-v4--cart-ui .cart-collaterals,
body.prk-checkout-v4--cart-ui .cart_totals,
body.prk-checkout-v4--cart-ui .woocommerce > form.woocommerce-cart-form,
body.prk-checkout-v4--cart-ui .woocommerce .cart-collaterals,
body.prk-checkout-v4--cart-ui .prk-shoppingcart-next-contain-links,
body.prk-checkout-v4--cart-ui .prk-next-shopping-cart-tab-content {
  display: none !important;
}

.prk-cv4-cart-item {
  position: relative;
  overflow: hidden;
}

.prk-cv4-item-transfer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(2px);
  color: #111827;
  text-align: center;
}

.prk-cv4-cart-item.is-moving-next .prk-cv4-item-transfer {
  display: flex;
}

.prk-cv4-item-transfer strong {
  font-size: 18px;
  font-weight: 1000;
}

.prk-cv4-item-transfer span {
  width: 110px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #ffd3dd;
  position: relative;
}

.prk-cv4-item-transfer span::before {
  content: "";
  position: absolute;
  inset-block: 0;
  right: -45%;
  width: 45%;
  border-radius: inherit;
  background: #ef174a;
  animation: prkCv4TransferBar 1s ease-in-out infinite;
}

.prk-cv4-item-transfer button {
  border: 0;
  background: transparent;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 900;
}

@keyframes prkCv4TransferBar {
  from { right: -45%; }
  to { right: 100%; }
}

.prk-cv4-save-modal {
  background: transparent;
  box-shadow: none;
}

.prk-cv4-save-modal__box {
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(17,24,39,.16);
}

.prk-cv4-save-modal__box header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.prk-cv4-save-modal__box h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 1000;
  color: #111827;
}

.prk-cv4-save-modal__box header button {
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  cursor: pointer;
}

.prk-cv4-save-choice {
  padding: 15px 0;
  border-bottom: 1px solid #eef0f2;
}

.prk-cv4-save-choice label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  cursor: pointer;
  color: #111827;
  font-size: 15px;
  font-weight: 1000;
}

.prk-cv4-save-choice input {
  width: 18px;
  height: 18px;
  accent-color: #1d72ff;
}

.prk-cv4-save-choice small {
  display: block;
  margin-top: 8px;
  color: #626975;
  font-size: 12px;
  line-height: 1.9;
  font-weight: 700;
}

.prk-cv4-save-modal__submit {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #ef174a;
  color: #ef174a;
  background: #fff;
  font-weight: 1000;
  margin-top: 18px;
  cursor: pointer;
}

.prk-cv4-save-modal__submit.is-loading {
  opacity: .65;
  pointer-events: none;
}

.prk-cv4-save-modal__error {
  display: none;
  margin: 12px 0 0;
  color: #b2001a;
  font-size: 12px;
  font-weight: 800;
}

.prk-cv4-save-modal__error.is-visible {
  display: block;
}

.prk-cv4-next-item.is-loading {
  opacity: .6;
  pointer-events: none;
}

.prk-cv4-next-item__attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px;
}

.prk-cv4-next-item__attrs span {
  border-radius: 999px;
  background: #f5f6f8;
  color: #626975;
  font-size: 11px;
  padding: 2px 8px;
  font-weight: 800;
}

.prk-cv4-next-item__price {
  display: inline-flex;
  color: #111827;
  font-weight: 1000;
  font-size: 12px;
}

/* Strong legacy cart hiding for Checkout V4 cart page. */
body.prk-checkout-v4.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
body.prk-checkout-v4.woocommerce-cart .woocommerce-cart-form,
body.prk-checkout-v4.woocommerce-cart .woocommerce .cart-collaterals,
body.prk-checkout-v4.woocommerce-cart .cart-collaterals,
body.prk-checkout-v4.woocommerce-cart .cart_totals,
body.prk-checkout-v4.woocommerce-cart .prk-shoppingcart-next-contain-links,
body.prk-checkout-v4.woocommerce-cart .prk-next-shopping-cart-tab-content {
  display: none !important;
}

.prk-cv4-cart-item.is-moving-next {
  min-height: 285px;
}

.prk-cv4-cart-item.is-moving-next > :not(.prk-cv4-item-transfer) {
  opacity: .22;
}

.prk-cv4-item-transfer {
  background: rgba(255,255,255,.94);
  backdrop-filter: none;
}

.prk-cv4-item-transfer strong {
  color: #111827;
  letter-spacing: -.02em;
}

.prk-cv4-item-transfer span {
  width: 118px;
  height: 4px;
  background: #f2f3f5;
}

.prk-cv4-item-transfer span::before {
  background: #ef174a;
  width: 52%;
  right: -52%;
  animation: prkCv4TransferBar 820ms cubic-bezier(.45,0,.2,1) infinite;
}

.prk-cv4-next-item {
  position: relative;
  overflow: hidden;
}

.prk-cv4-next-item.is-loading {
  opacity: 1;
  pointer-events: none;
  min-height: 190px;
}

.prk-cv4-next-item.is-loading > * {
  opacity: .2;
}

.prk-cv4-next-item.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(255,255,255,.94);
}

.prk-cv4-next-item.is-loading::after {
  content: attr(data-loading-text);
  position: absolute;
  z-index: 6;
  inset-inline: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  color: #111827;
  font-weight: 1000;
  font-size: 15px;
  padding-bottom: 24px;
  background-image: linear-gradient(#ef174a,#ef174a), linear-gradient(#f1f2f4,#f1f2f4);
  background-size: 88px 4px, 118px 4px;
  background-position: center calc(100% - 2px), center calc(100% - 2px);
  background-repeat: no-repeat;
  border-radius: 999px;
}

.prk-cv4-confirm-modal {
  background: transparent;
  box-shadow: none;
}

.prk-cv4-confirm-modal__box {
  width: min(430px, calc(100vw - 32px));
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(17,24,39,.18);
}

.prk-cv4-confirm-modal__box header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.prk-cv4-confirm-modal__box h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 1000;
}

.prk-cv4-confirm-modal__box header button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  cursor: pointer;
}

.prk-cv4-confirm-modal__box p {
  margin: 0 0 20px;
  color: #626975;
  font-size: 13px;
  line-height: 2;
  font-weight: 700;
}

.prk-cv4-confirm-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prk-cv4-confirm-modal__actions button {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 1000;
  cursor: pointer;
}

.prk-cv4-confirm-modal__cancel {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #525a66;
}

.prk-cv4-confirm-modal__submit {
  border: 1px solid #ef174a;
  background: #ef174a;
  color: #fff;
}

.prk-cv4-confirm-modal__submit.is-loading {
  opacity: .65;
  pointer-events: none;
}

/* Checkout V4 cart polish: loader modes + mobile summary */
.prk-cv4-cart-item.is-progress-loading .prk-cv4-item-transfer span::before,
.prk-cv4-item-transfer[data-prk-cv4-loader-mode="progress"] span::before {
  right: 0;
  width: 0;
  animation: prkCv4TransferProgress 1250ms cubic-bezier(.2,.8,.2,1) forwards;
}

.prk-cv4-next-item.is-progress-loading::after {
  background-size: 0 4px, 118px 4px;
  animation: prkCv4NextProgress 1250ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes prkCv4TransferProgress {
  from { width: 0; }
  to { width: 118px; }
}

@keyframes prkCv4NextProgress {
  from { background-size: 0 4px, 118px 4px; }
  to { background-size: 118px 4px, 118px 4px; }
}

.prk-cv4-mobile-paybar,
.prk-cv4-mobile-benefits {
  display: none;
}

.prk-cv4-summary-details-modal,
.prk-cv4-save-modal,
.prk-cv4-confirm-modal {
  background: transparent;
  box-shadow: none;
}

.prk-cv4-summary-details-modal__box {
  width: min(430px, calc(100vw - 32px));
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 12px 32px rgba(17,24,39,.18);
}

.prk-cv4-summary-details-modal__box header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.prk-cv4-summary-details-modal__box h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 1000;
}

.prk-cv4-summary-details-modal__box header button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  cursor: pointer;
}

.prk-cv4-summary-details-modal__row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #626975;
  font-size: 13px;
  font-weight: 800;
}

.prk-cv4-summary-details-modal__row b {
  color: #111827;
  font-size: 14px;
  font-weight: 1000;
  white-space: nowrap;
}

.prk-cv4-summary-details-modal__row.is-profit {
  margin-inline: -18px;
  padding-inline: 18px;
  background: #e3f4e9;
  color: #0f7a37;
}

.prk-cv4-summary-details-modal__row.is-profit b {
  color: #0f8a3d;
}

.prk-cv4-summary-details-modal__row.is-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef0f2;
  color: #111827;
}

.prk-cv4-summary-details-modal__row.is-total b {
  font-size: 17px;
}

.prk-cv4-summary-details-modal__note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f6f8;
  color: #626975;
  font-size: 12px;
  line-height: 2;
  font-weight: 700;
}

.prk-cv4-summary-details-modal__ok {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid #111827;
  background: #fff;
  color: #111827;
  font-weight: 1000;
  cursor: pointer;
}

@media (max-width: 767px) {
  body.prk-checkout-v4--cart-ui {
    padding-bottom: calc(134px + env(safe-area-inset-bottom, 0px));
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-summary {
    display: none;
  }

  .prk-cv4-mobile-paybar {
    position: fixed;
    inset-inline: 0;
    bottom: calc(var(--prk-mobile-nav-height, 64px) + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(138px, 48%);
    gap: 10px;
    align-items: center;
    min-height: 72px;
    padding: 10px 14px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(15,23,42,.08);
  }

  .prk-cv4-mobile-paybar__details {
    min-width: 0;
    height: 52px;
    border: 0;
    background: transparent;
    color: #111827;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    justify-items: start;
    gap: 4px 6px;
    padding: 0;
    text-align: right;
    cursor: pointer;
  }

  .prk-cv4-mobile-paybar__details span {
    color: #626975;
    font-size: 12px;
    font-weight: 800;
  }

  .prk-cv4-mobile-paybar__details i {
    color: #626975;
    font-size: 17px;
  }

  .prk-cv4-mobile-paybar__details b {
    grid-column: 1 / -1;
    color: #111827;
    font-size: 15px;
    font-weight: 1000;
    line-height: 1.7;
  }

  .prk-cv4-mobile-paybar__submit {
    height: 52px;
    border-radius: 10px;
    background: #ef174a;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 1000;
    text-decoration: none !important;
  }

  .prk-cv4-cart-sidebar {
    gap: 12px;
  }

  .prk-cv4-cart-sidebar > .prk-cv4-side-banner {
    display: none;
  }

  .prk-cv4-mobile-benefits {
    display: block;
    width: 100%;
    overflow: visible;
    margin: 8px 0 0;
    padding: 2px 0 4px;
  }

  .prk-cv4-mobile-benefits:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .prk-cv4-mobile-benefits:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar {
    display: none;
  }

  .prk-cv4-mobile-benefits__slide {
    width: min(330px, calc(100vw - 42px));
    flex: 0 0 min(330px, calc(100vw - 42px));
    scroll-snap-align: center;
    border-radius: 14px;
    overflow: hidden;
  }

  .prk-cv4-mobile-benefits__slide a {
    min-height: 72px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 10px;
    text-decoration: none !important;
  }

  .prk-cv4-mobile-benefits__slide i {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
  }

  .prk-cv4-mobile-benefits__slide span {
    color: #111827;
    font-size: 13px;
    font-weight: 1000;
  }

  .prk-cv4-mobile-benefits__slide small {
    color: #626975;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.8;
  }

  .prk-cv4-mobile-benefits__slide em {
    grid-row: 1 / 3;
    color: inherit;
    font-size: 22px;
    font-style: normal;
  }

  .prk-cv4-mobile-benefits__slide--plus a {
    border: 1px solid #f5c7ed;
    background: #fff2fb;
  }

  .prk-cv4-mobile-benefits__slide--plus i,
  .prk-cv4-mobile-benefits__slide--plus em {
    color: #c026a9;
  }

  .prk-cv4-mobile-benefits__slide--charity a {
    border: 1px solid #b9ebe2;
    background: #effdfa;
  }

  .prk-cv4-mobile-benefits__slide--charity i,
  .prk-cv4-mobile-benefits__slide--charity em {
    color: #069681;
  }

  .prk-cv4-save-modal,
  .prk-cv4-confirm-modal,
  .prk-cv4-summary-details-modal {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .prk-cv4-save-modal__box,
  .prk-cv4-confirm-modal__box,
  .prk-cv4-summary-details-modal__box {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
  }

  .prk-cv4-item-transfer strong {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .prk-cv4-mobile-paybar {
    direction: ltr;
  }
  .prk-cv4-mobile-paybar__details,
  .prk-cv4-mobile-paybar__submit {
    direction: rtl;
  }
}

/* Checkout V4 cart desktop rail + price polish */
.prk-cv4-product-rail {
  border: 1px solid var(--prk-cv4-border);
  border-radius: 16px;
  background: #fff;
  padding: 26px 20px 20px;
  overflow: hidden;
}

.prk-cv4-product-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-inline: 6px;
}

.prk-cv4-product-rail__head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 1000;
}

.prk-cv4-product-rail__nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prk-cv4-product-rail__btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow .2s ease, color .2s ease, border-color .2s ease;
}

.prk-cv4-product-rail__btn:hover {
  color: #111827;
  border-color: #d1d5db;
  box-shadow: 0 6px 14px rgba(17,24,39,.08);
}

.prk-cv4-product-rail__btn.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

.prk-cv4-product-rail__viewport {
  overflow: hidden;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fff;
}

.prk-cv4-product-rail__track.swiper-wrapper {
  display: flex;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.prk-cv4-product-rail__slide.swiper-slide {
  height: auto;
  display: flex;
}

.prk-cv4-product-rail__viewport:not(.swiper-initialized) .prk-cv4-product-rail__track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  border: 0;
  border-radius: 0;
}

.prk-cv4-product-rail__viewport:not(.swiper-initialized) .prk-cv4-product-rail__slide {
  width: 184px;
  min-width: 184px;
  display: flex;
}

.prk-cv4-mini-product {
  width: 100%;
  min-width: 0;
  border-left: 1px solid #eef0f2;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}

.prk-cv4-product-rail__slide:last-child .prk-cv4-mini-product,
.prk-cv4-product-rail__track > .prk-cv4-mini-product:last-child {
  border-left: 0;
}

.prk-cv4-mini-product:hover {
  z-index: 2;
  box-shadow: 0 8px 20px rgba(17,24,39,.08);
}

.prk-cv4-mini-product__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 296px;
  padding: 6px 12px 12px;
  color: inherit;
  text-decoration: none !important;
}

.prk-cv4-mini-product__top {
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.prk-cv4-mini-product__image {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  background: #f5f6f8;
  border-radius: 10px;
  overflow: hidden;
}

.prk-cv4-mini-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.prk-cv4-mini-product h3 {
  min-height: 48px;
  margin: 12px 0 0;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prk-cv4-mini-product h3 a {
  color: inherit;
  text-decoration: none !important;
}

.prk-cv4-mini-product__meta {
  min-height: 20px;
  margin: 12px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.prk-cv4-mini-product__stock {
  color: #ef174a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
}

.prk-cv4-mini-product__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #535353;
  font-size: 11px;
  font-weight: 800;
}

.prk-cv4-mini-product__rating i {
  color: #f9bc00;
  font-size: 15px;
}

.prk-cv4-mini-product__badge {
  align-self: flex-start;
  min-height: 20px;
  margin-top: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff1f4;
  color: #ef174a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 900;
}

.prk-cv4-mini-product__badge--muted {
  background: #fff3e0;
  color: #fb8c00;
}

.prk-cv4-mini-product__price {
  margin-top: auto;
  padding-top: 10px;
  min-height: 42px;
}

.prk-cv4-mini-product__price .prk-digi-price-component,
.prk-cv4-next-item__price .prk-digi-price-component {
  width: 100%;
}

.prk-cv4-mini-product__price .discount-badge-box,
.prk-cv4-next-item__price .discount-badge-box {
  min-height: 20px;
  gap: 8px !important;
}

.prk-cv4-mini-product__price .final-price-box,
.prk-cv4-next-item__price .final-price-box {
  align-items: center !important;
  justify-content: flex-end !important;
}

.prk-cv4-mini-product__price .current-price,
.prk-cv4-next-item__price .current-price {
  color: #23254e !important;
  font-weight: 900 !important;
}

.prk-cv4-mini-product__price .old-price,
.prk-cv4-next-item__price .old-price {
  color: #c0c2c5 !important;
  font-weight: 500 !important;
}

.prk-cv4-next-item__price {
  display: block;
  margin-top: 8px;
  max-width: 180px;
}

.prk-cv4-next-item__attrs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  color: #626975;
  font-size: 11px;
  font-weight: 700;
}

.prk-cv4-next-item__attrs span {
  min-height: 24px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #626975;
  padding: 3px 10px;
}

.prk-cv4-next-item.is-loading {
  min-height: 176px;
}

.prk-cv4-next-item.is-loading::before {
  background: rgba(255,255,255,.96);
  backdrop-filter: none;
}

.prk-cv4-next-item.is-loading::after {
  inset-inline: 24px;
  top: 50%;
  color: #111827;
  font-size: 16px;
  font-weight: 1000;
  padding-bottom: 28px;
  background-size: 96px 4px, 128px 4px;
  background-position: center calc(100% - 3px), center calc(100% - 3px);
}

.prk-cv4-next-item.is-indeterminate-loading::after {
  background-size: 54px 4px, 128px 4px;
  animation: prkCv4NextIndeterminate 820ms cubic-bezier(.45,0,.2,1) infinite;
}

.prk-cv4-next-item.is-progress-loading::after {
  background-size: 0 4px, 128px 4px;
  animation: prkCv4NextProgressDesktop 1180ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes prkCv4NextIndeterminate {
  0% { background-position: calc(50% + 68px) calc(100% - 3px), center calc(100% - 3px); }
  100% { background-position: calc(50% - 68px) calc(100% - 3px), center calc(100% - 3px); }
}

@keyframes prkCv4NextProgressDesktop {
  from { background-size: 0 4px, 128px 4px; }
  to { background-size: 128px 4px, 128px 4px; }
}

@media (max-width: 767px) {
  .prk-cv4-product-rail {
    border-radius: 14px;
    padding: 22px 12px 14px;
  }

  .prk-cv4-product-rail__nav {
    display: none;
  }

  .prk-cv4-product-rail__viewport:not(.swiper-initialized) .prk-cv4-product-rail__slide {
    width: 66vw;
    min-width: 66vw;
  }

  .prk-cv4-mini-product__link {
    min-height: 280px;
  }
}

/* Cart desktop polish: DG-like rail arrows, fixed bulk menu direction, unified list loaders */
.prk-cv4-cart-bulk-menu {
  top: 52px;
  right: auto;
  left: 28px;
  width: 280px;
}

.prk-cv4-cart-bulk-menu button {
  justify-content: right;
}

.prk-cv4-product-rail {
  position: relative;
  overflow: hidden;
}

.prk-cv4-product-rail__head {
  position: static;
}

.prk-cv4-product-rail__nav {
  position: absolute;
  z-index: 8;
  inset-inline: 14px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.prk-cv4-product-rail__btn {
  width: 42px;
  height: 42px;
  border: 1px solid #e0e0e2;
  border-radius: 999px;
  background: #fff;
  color: #3f4652;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .12);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.prk-cv4-product-rail__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
}

.prk-cv4-product-rail__btn.swiper-button-disabled {
  opacity: .32;
  pointer-events: none;
}

.prk-cv4-product-rail__viewport.swiper {
  overflow: hidden;
  border: 1px solid #eef0f2;
  border-radius: 12px;
}

.prk-cv4-product-rail__viewport.swiper .prk-cv4-product-rail__track {
  display: flex;
  border: 0;
  border-radius: 0;
  overflow: visible;
  scrollbar-width: none;
}

.prk-cv4-product-rail__viewport.swiper .prk-cv4-product-rail__track::-webkit-scrollbar {
  display: none;
}

.prk-cv4-product-rail__viewport.swiper .prk-cv4-product-rail__slide {
  height: auto;
}

.prk-cv4-product-rail__viewport.swiper .prk-cv4-mini-product {
  height: 100%;
}

.prk-cv4-list-item-loader {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255,255,255,.96);
  color: #111827;
  text-align: center;
}

.prk-cv4-next-item.is-loading .prk-cv4-list-item-loader {
  display: flex;
}

.prk-cv4-next-item.is-loading > :not(.prk-cv4-list-item-loader) {
  opacity: .22;
}

.prk-cv4-list-item-loader strong {
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: -.02em;
}

.prk-cv4-list-item-loader span {
  position: relative;
  width: 128px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f2f4;
}

.prk-cv4-list-item-loader span::before {
  content: "";
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 54px;
  border-radius: inherit;
  background: #ef174a;
  animation: prkCv4ListLoaderSlide 820ms cubic-bezier(.45,0,.2,1) infinite;
}

.prk-cv4-next-item.is-progress-loading .prk-cv4-list-item-loader span::before,
.prk-cv4-list-item-loader[data-prk-cv4-loader-mode="progress"] span::before {
  width: 0;
  animation: prkCv4ListLoaderProgress 1180ms cubic-bezier(.2,.8,.2,1) forwards;
}


/* =========================================================
 * ParsKala Checkout V4 - Invoice Request
 * درخواست صدور فاکتور
 * ======================================================= */

.prk-cv4-invoice-mount {
    --prk-invoice-accent: var(--prk-primary-color, #ff4d2d);
    --prk-invoice-accent-rgb: 255, 77, 45;
    --prk-invoice-text: #232933;
    --prk-invoice-muted: #7b8493;
    --prk-invoice-border: #e7eaf0;
    --prk-invoice-bg: #ffffff;
    --prk-invoice-soft-bg: #f8f9fb;
    width: 100%;
}

.prk-cv4-invoice-mount .get_factor_field {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 16px;
    width: 100%;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--prk-invoice-border);
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(var(--prk-invoice-accent-rgb), 0.07),
            transparent 34%
        ),
        var(--prk-invoice-bg);
    box-shadow: 0 4px 18px rgba(25, 35, 50, 0.035);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.prk-cv4-invoice-mount .get_factor_field:hover {
    border-color: rgba(var(--prk-invoice-accent-rgb), 0.28);
    /* box-shadow: 0 8px 24px rgba(25, 35, 50, 0.065); */
}

/* عنوان صدور فاکتور */
.prk-cv4-invoice-mount .get_factor_field > h3 {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    color: var(--prk-invoice-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    display: none;
}

/* آیکن سند کاملاً CSS و بدون وابستگی */
/* .prk-cv4-invoice-mount .get_factor_field > h3::before {
    content: "";
    display: inline-flex;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-color: var(--prk-invoice-accent);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3.75H14.1L18 7.65V20.25H7V3.75Z' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M14 4V8H18' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9.5 12H15.5M9.5 15.5H14' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 19px;
    box-shadow: 0 6px 14px rgba(var(--prk-invoice-accent-rgb), 0.2);
} */

/* تاریخ ارسال */
.prk-cv4-invoice-mount .get_send_time {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    white-space: nowrap;
    color: #666f7d;
    border: 1px solid #e8eaf0;
    border-radius: 9px;
    background: #f7f8fa;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* ردیف اصلی چک‌باکس */
.prk-cv4-invoice-mount #getmyfactor_checkbox_field {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 0;
}

.prk-cv4-invoice-mount #getmyfactor_checkbox_field .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.prk-cv4-invoice-mount #getmyfactor_checkbox_field label.checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 10px 13px;
    overflow: hidden;
    color: #3b424d;
    /* border: 1px solid #e8eaf0; */
    border-radius: 12px;
    /* background: var(--prk-invoice-soft-bg); */
    cursor: pointer;
    user-select: none;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.8;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}



/* حذف کامل ظاهر پیش‌فرض و Inline Style افزونه */
.prk-cv4-invoice-mount #getmyfactor_checkbox {
    position: relative;
    display: grid !important;
    place-items: center;
    flex: 0 0 24px;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
    color: transparent;
    border: 2px solid #cfd4dc;
    border-radius: 8px;
    outline: none;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(20, 30, 45, 0.05),
        inset 0 0 0 0 var(--prk-invoice-accent);
    cursor: pointer;
    font-size: 0 !important;
    vertical-align: middle;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* تیک داخلی */
.prk-cv4-invoice-mount #getmyfactor_checkbox::after {
    content: "";
    width: 5px;
    height: 9px;
    margin-top: -2px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.3);
    transform-origin: center;
    transition:
        opacity 0.16s ease,
        transform 0.24s cubic-bezier(0.2, 1.5, 0.5, 1);
}

.prk-cv4-invoice-mount #getmyfactor_checkbox:checked::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.prk-cv4-invoice-mount #getmyfactor_checkbox:hover {
    border-color: var(--prk-invoice-accent);
    transform: scale(1.04);
}

.prk-cv4-invoice-mount #getmyfactor_checkbox:focus-visible {
    border-color: var(--prk-invoice-accent);
    box-shadow:
        0 0 0 4px rgba(var(--prk-invoice-accent-rgb), 0.13),
        inset 0 0 0 0 var(--prk-invoice-accent);
}

/* حالت انتخاب‌شده */
.prk-cv4-invoice-mount #getmyfactor_checkbox:checked {
    border-color: var(--prk-invoice-accent);
    background: var(--prk-invoice-accent);
    box-shadow:
        0 0 0 4px rgba(var(--prk-invoice-accent-rgb), 0.1),
        0 5px 12px rgba(var(--prk-invoice-accent-rgb), 0.2);
    animation: prkInvoiceCheckboxPop 0.38s cubic-bezier(0.2, 1.45, 0.5, 1);
}

.prk-cv4-invoice-mount #getmyfactor_checkbox:checked::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

/* زنده شدن کل ردیف هنگام انتخاب */
.prk-cv4-invoice-mount
#getmyfactor_checkbox_field
label.checkbox:has(#getmyfactor_checkbox:checked) {
    color: #292f38;
    /* border-color: rgba(var(--prk-invoice-accent-rgb), 0.42); */
    background:
        linear-gradient(
            90deg,
            rgba(var(--prk-invoice-accent-rgb), 0.025),
            rgba(var(--prk-invoice-accent-rgb), 0.085)
        ),
        #fff;
 
}

/* درخشش بسیار نرم هنگام انتخاب */
.prk-cv4-invoice-mount
#getmyfactor_checkbox_field
label.checkbox:has(#getmyfactor_checkbox:checked)::after {
    content: "";
    position: absolute;
    inset: -50%;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        transparent 38%,
        rgba(255, 255, 255, 0.75) 50%,
        transparent 62%
    );
    transform: translateX(70%);
    animation: prkInvoiceShine 0.75s ease forwards;
}

/* کلمه اختیاری */
.prk-cv4-invoice-mount #getmyfactor_checkbox_field .optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin-right: auto;
    padding: 2px 8px;
    color: var(--prk-invoice-muted);
    /* border: 1px solid #e4e7ec; */
    border-radius: 999px;
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.prk-cv4-invoice-mount
#getmyfactor_checkbox_field
label.checkbox:has(#getmyfactor_checkbox:checked)
.optional {
    color: var(--prk-invoice-accent);
    border-color: rgba(var(--prk-invoice-accent-rgb), 0.18);
    background: rgba(var(--prk-invoice-accent-rgb), 0.075);
}

/* انیمیشن‌ها */
@keyframes prkInvoiceCheckboxPop {
    0% {
        transform: scale(0.78);
    }

    55% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes prkInvoiceShine {
    from {
        transform: translateX(70%);
    }

    to {
        transform: translateX(-70%);
    }
}

/* موبایل */
@media (max-width: 575px) {
    .prk-cv4-invoice-mount .get_factor_field {
        gap: 10px;
        padding: 13px;
        border-radius: 13px;
    }

    .prk-cv4-invoice-mount .get_factor_field > h3 {
        font-size: 12.5px;
    }

    .prk-cv4-invoice-mount .get_factor_field > h3::before {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        border-radius: 9px;
        background-size: 18px;
    }

    .prk-cv4-invoice-mount .get_send_time {
        min-height: 28px;
        padding-inline: 8px;
        font-size: 10px;
    }

    .prk-cv4-invoice-mount #getmyfactor_checkbox_field label.checkbox {
        min-height: 50px;
        padding: 9px 11px;
        font-size: 11.5px;
    }

    .prk-cv4-invoice-mount #getmyfactor_checkbox {
        flex-basis: 23px;
        width: 23px !important;
        min-width: 23px !important;
        height: 23px !important;
        min-height: 23px !important;
        border-radius: 7px;
    }

    .prk-cv4-invoice-mount #getmyfactor_checkbox_field .optional {
        padding-inline: 7px;
        font-size: 9px;
    }
}

/* احترام به کاربران حساس به انیمیشن */
@media (prefers-reduced-motion: reduce) {
    .prk-cv4-invoice-mount *,
    .prk-cv4-invoice-mount *::before,
    .prk-cv4-invoice-mount *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}





.leaflet-control-attribution.leaflet-control{
  display: none !important;
}



/* Disable the older pseudo-loader so the visual starts from the beginning, not the center. */
.prk-cv4-next-item.is-loading::before,
.prk-cv4-next-item.is-loading::after {
  display: none !important;
  content: none !important;
}

@keyframes prkCv4ListLoaderSlide {
  0% { right: 0; transform: translateX(80px); }
  100% { right: 100%; transform: translateX(0); }
}

@keyframes prkCv4ListLoaderProgress {
  from { width: 0; }
  to { width: 128px; }
}

.prk-cv4-next-item--wishlist .prk-cv4-next-delete {
  border-color: #e5e7eb;
  color: #525a66;
}

.prk-cv4-bulk-mobile-modal {
  background: transparent;
  box-shadow: none;
}

.prk-cv4-bulk-mobile-modal__box {
  width: min(430px, calc(100vw - 24px));
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 18px 20px 10px;
}

.prk-cv4-bulk-mobile-modal__box header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eff0f2;
}

.prk-cv4-bulk-mobile-modal__box h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 1000;
}

.prk-cv4-bulk-mobile-modal__box header button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  cursor: pointer;
}

.prk-cv4-bulk-mobile-modal__box > button:not(header button) {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid #eff0f2;
  background: #fff;
  color: #263047;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.prk-cv4-bulk-mobile-modal__box > button:last-child {
  border-bottom: 0;
  color: #ef174a;
}

@media (max-width: 767px) {
  .prk-cv4-cart-bulk-menu {
    display: none !important;
  }

  .prk-cv4-product-rail__nav {
    inset-inline: 8px;
  }

  .prk-cv4-product-rail__btn {
    width: 38px;
    height: 38px;
  }
}

.prk-cv4-next-item.is-loading .prk-cv4-list-item-loader {
  opacity: 1 !important;
}

/* Cart V4 mobile structure polish: compact Digikala-like cart items + fixed paybar */
@media (max-width: 767px) {
  body.prk-checkout-v4--cart-ui {
    padding-bottom: calc(146px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-shell--cart,
  body.prk-checkout-v4--cart-ui .woocommerce > .prk-cv4-cart-layout,
  body.prk-checkout-v4--cart-ui .woocommerce > .prk-cv4-cart-below {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
  }

  .prk-cv4-progress {
    width: 100%;
    padding-inline: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .prk-cv4-progress__inner {
    min-height: 58px;
    border-radius: 12px;
    gap: 0;
    padding: 0 8px;
  }

  .prk-cv4-progress__logo {
    display: none;
  }

  .prk-cv4-progress__steps {
    width: 100%;
    gap: 0;
    justify-content: space-around;
  }

  .prk-cv4-progress__step {
    font-size: 12px;
  }

  .prk-cv4-progress__step i {
    font-size: 18px;
  }

  .prk-cv4-progress__step:not(:last-child)::after {
    display: none;
  }

  .prk-cv4-cart-layout {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    direction: rtl;
  }

  .prk-cv4-cart-main,
  .prk-cv4-cart-sidebar {
    width: 100%;
    min-width: 0;
  }

  .prk-cv4-cart-sidebar {
    position: static !important;
    order: 2;
    padding-inline: 10px;
  }

  .prk-cv4-cart-main {
    order: 1;
    padding-inline: 10px;
  }

  .prk-cv4-cart-panel {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
  }

  .prk-cv4-cart-panel__head {
    min-height: 56px;
    padding-inline: 10px 8px;
    gap: 6px;
    align-items: stretch;
  }

  .prk-cv4-cart-more {
    width: 36px;
    height: 56px;
    min-width: 36px;
    border-radius: 10px;
    order: 2;
  }

  .prk-cv4-cart-tabs {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100vw - 78px);
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    order: 1;
  }

  .prk-cv4-cart-tabs::-webkit-scrollbar {
    display: none;
  }

  .prk-cv4-cart-tab {
    min-height: 56px;
    flex: 0 0 auto;
    gap: 5px;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .prk-cv4-cart-tab small {
    font-size: 10px;
  }

  .prk-cv4-cart-tab.is-active::after {
    height: 3px;
  }

  .prk-cv4-cart-panel__body {
    padding: 0 !important;
  }

  .prk-cv4-cart-item {
    grid-template-columns: 106px minmax(0, 1fr);
    grid-template-areas:
      "media content"
      "price price"
      "actions actions"
      "insurance insurance";
    gap: 10px 12px;
    padding: 16px 12px 14px;
    border-bottom: 6px solid #f1f2f4;
    direction: rtl;
  }

  .prk-cv4-cart-item:last-child {
    border-bottom: 0;
  }

  .prk-cv4-cart-item__media {
    align-self: start;
  }

  .prk-cv4-cart-item__media img {
    width: 104px;
    height: 104px;
    border-radius: 10px;
    background: #f6f7f9;
  }

  .prk-cv4-cart-item__content {
    padding-top: 0;
    min-width: 0;
  }

  .prk-cv4-cart-item__title {
    margin: 0 0 7px;
    font-size: 12.5px;
    line-height: 1.9;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .prk-cv4-cart-item__attrs {
    gap: 6px;
    margin-top: 5px;
  }

  .prk-cv4-cart-item__attrs span {
    min-height: 24px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #626975;
    padding: 2px 9px;
    font-size: 11px;
  }

  .prk-cv4-cart-item__attrs i {
    width: 13px;
    height: 13px;
  }

  .prk-cv4-cart-item__send,
  .prk-cv4-cart-item__gifts {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.8;
  }

  .prk-cv4-cart-item__pricebox {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    gap: 4px 8px;
    padding-top: 2px;
    direction: ltr;
    text-align: left;
  }

  .prk-cv4-cart-item__pricebox > * {
    direction: rtl;
  }

  .prk-cv4-sale-badge,
  .prk-cv4-special-badge {
    min-width: 32px;
    height: 20px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .prk-cv4-old-price {
    font-size: 10px;
    justify-self: start;
  }

  .prk-cv4-price {
    grid-column: 1 / -1;
    font-size: 13.5px;
    justify-self: start;
  }

  .prk-cv4-cart-item__actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 2px;
    direction: ltr;
  }

  .prk-cv4-cart-item__actions > * {
    direction: rtl;
  }

  .prk-cv4-qty {
    height: 40px;
    min-width: 116px;
    border-radius: 999px;
  }

  .prk-cv4-qty button {
    width: 36px;
    height: 38px;
    font-size: 17px;
  }

  .prk-cv4-qty input {
    width: 32px;
    height: 38px;
    font-size: 14px;
  }

  .prk-cv4-save-next {
    min-height: 40px;
    border-radius: 10px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .prk-cv4-insurance {
    min-height: 54px;
    padding: 9px 10px;
    grid-template-columns: 22px minmax(0, 1fr) auto auto;
    gap: 6px;
    border-radius: 10px;
  }

  .prk-cv4-insurance span {
    font-size: 12px;
    line-height: 1.7;
  }

  .prk-cv4-insurance small {
    font-size: 10px;
  }

  .prk-cv4-insurance b {
    min-width: 30px;
    height: 18px;
    font-size: 10px;
  }

  .prk-cv4-next-list {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .prk-cv4-next-item {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "image content"
      "actions actions";
    gap: 10px 12px;
    padding: 12px;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    background: #fff;
  }

  .prk-cv4-next-item > a:first-child {
    grid-area: image;
  }

  .prk-cv4-next-item img {
    width: 86px;
    height: 86px;
    border-radius: 10px;
  }

  .prk-cv4-next-item__content {
    grid-area: content;
    min-width: 0;
  }

  .prk-cv4-next-item h3 {
    margin: 0 0 6px;
    font-size: 12.5px;
    line-height: 1.9;
    -webkit-line-clamp: 3;
  }

  .prk-cv4-next-item__price {
    max-width: 100%;
    margin-top: 4px;
  }

  .prk-cv4-next-add,
  .prk-cv4-next-delete {
    grid-area: auto;
    min-height: 40px;
    border-radius: 10px;
    font-size: 12px;
  }

  .prk-cv4-next-add {
    grid-column: 1 / 2;
  }

  .prk-cv4-next-delete {
    grid-column: 2 / 3;
  }

  .prk-cv4-next-empty {
    min-height: 220px;
    margin: 12px;
    border-radius: 12px;
  }

  .prk-cv4-mobile-paybar {
    bottom: 0 !important;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 52%);
    min-height: 68px;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .prk-cv4-mobile-paybar__details {
    order: 1;
    justify-self: stretch;
    justify-items: start;
    text-align: left;
    direction: ltr;
  }

  .prk-cv4-mobile-paybar__details span,
  .prk-cv4-mobile-paybar__details b,
  .prk-cv4-mobile-paybar__details i {
    direction: rtl;
  }

  .prk-cv4-mobile-paybar__details span {
    font-size: 11px;
  }

  .prk-cv4-mobile-paybar__details b {
    font-size: 13.5px;
  }

  .prk-cv4-mobile-paybar__submit {
    order: 2;
    height: 50px;
    border-radius: 11px;
    font-size: 14px;
  }

  .prk-cv4-mobile-benefits {
    margin-top: 10px;
    padding-inline: 0;
  }

  .prk-cv4-cart-below {
    padding-inline: 10px !important;
  }

  .prk-cv4-product-rail {
    margin-top: 10px;
  }
}

/* Cart V4 final mobile/list polish: compact actions, stable benefit slider, list attrs, clean confirm sheet */
.prk-cv4-next-item__attrs {
  flex-wrap: wrap;
}

.prk-cv4-next-item__attrs i {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--prk-cv4-swatch, #d1d5db);
  border: 1px solid rgba(0,0,0,.08);
  flex: 0 0 auto;
}

.prk-cv4-next-add,
.prk-cv4-next-delete {
  min-height: 34px;
  height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.prk-cv4-next-item--wishlist .prk-cv4-next-add {
  min-width: 96px;
}

.prk-cv4-mobile-benefits {
  contain: layout paint;
  min-height: 88px;
  overflow: hidden;
}

.prk-cv4-mobile-benefits .swiper-wrapper {
  align-items: stretch;
  transition-timing-function: cubic-bezier(.2,.8,.2,1) !important;
}

.prk-cv4-mobile-benefits__slide {
  backface-visibility: hidden;
}

@media (max-width: 767px) {
  body.woocommerce-cart .prk-cv4-cart-summary,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-sidebar .prk-cv4-cart-summary {
    display: none !important;
  }

  .prk-cv4-cart-item__actions {
    direction: rtl !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-right: 0;
    padding-left: 0;
  }

  .prk-cv4-cart-item__actions > * {
    direction: rtl !important;
  }

  .prk-cv4-qty {
    order: 1;
  }

  .prk-cv4-save-next {
    order: 2;
  }

  .prk-cv4-next-add,
  .prk-cv4-next-delete {
    min-height: 36px;
    height: 36px;
    padding-inline: 10px;
    font-size: 11.5px;
    border-radius: 9px;
  }

  .prk-cv4-next-item--wishlist .prk-cv4-next-add {
    min-width: auto;
  }

  .prk-cv4-next-item__attrs {
    gap: 5px;
    margin-top: 5px;
  }

  .prk-cv4-next-item__attrs span {
    min-height: 22px;
    padding: 2px 8px;
    font-size: 10.5px;
  }

  .prk-cv4-next-item__attrs i {
    width: 12px;
    height: 12px;
  }

  .prk-modal.prk-cv4-confirm-modal {
    width: calc(100vw - 24px) !important;
    max-width: 430px !important;
    margin-inline: auto !important;
    margin-bottom: 12px !important;
    border-radius: 18px !important;
    overflow: hidden;
  }

  .prk-cv4-confirm-modal__box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 18px !important;
    padding: 16px 18px 18px !important;
    box-shadow: 0 12px 32px rgba(17,24,39,.18) !important;
  }

  .prk-cv4-confirm-modal__box header {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eff0f2;
  }

  .prk-cv4-confirm-modal__box h3 {
    font-size: 15px !important;
  }

  .prk-cv4-confirm-modal__box p {
    margin-bottom: 14px;
    font-size: 12.5px;
    line-height: 2;
  }

  .prk-cv4-confirm-modal__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .prk-cv4-confirm-modal__actions button {
    min-height: 42px;
    border-radius: 10px;
  }

  .prk-cv4-mobile-benefits {
    min-height: 86px;
  }
}

/* Cart V4: final requested polish - DG-like rails, full-width mobile sheet, 3D benefits */
.prk-cv4-product-rail {
  border: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  padding: 18px 0 10px !important;
  overflow: hidden;
}

.prk-cv4-product-rail__head {
  padding-inline: 0 4px !important;
  margin-bottom: 18px !important;
}

.prk-cv4-product-rail__viewport,
.prk-cv4-product-rail__viewport.swiper,
.prk-cv4-product-rail__viewport:not(.swiper-initialized) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

.prk-cv4-product-rail__track.swiper-wrapper,
.prk-cv4-product-rail__viewport.swiper .prk-cv4-product-rail__track,
.prk-cv4-product-rail__viewport:not(.swiper-initialized) .prk-cv4-product-rail__track {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.prk-cv4-product-rail__slide,
.prk-cv4-product-rail__slide.swiper-slide {
  height: auto;
  border-left: 1px solid #f0f0f1 !important;
  display: flex;
  box-sizing: border-box;
}

.prk-cv4-product-rail__slide:last-child {
  border-left: 0 !important;
}

.prk-cv4-mini-product,
.prk-cv4-product-rail__viewport.swiper .prk-cv4-mini-product {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: none !important;
}

.prk-cv4-mini-product:hover {
  box-shadow: none !important;
  transform: none !important;
}

.prk-cv4-mini-product__link {
  min-height: 292px !important;
  padding: 0 0 0 30px !important;
}

.prk-cv4-mini-product__image {
  max-width: 200px !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin-inline: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.prk-cv4-mini-product__image img,
.prk-cv4-mini-product__image .prk-rel-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 90% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin-inline: auto !important;
}

.prk-cv4-mini-product h3,
.prk-cv4-mini-product .pars-rel-name {
  min-height: 42px !important;
  margin: 8px 0 0 !important;
  color: #292d32 !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  font-weight: 700 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.prk-cv4-mini-product__spacer {
  margin-top: auto;
}

.prk-cv4-mini-product__meta {
  min-height: 18px !important;
  margin: 10px 0 6px !important;
}

.prk-cv4-mini-product__price,
.prk-cv4-mini-product .pars-rel-price {
  margin-top: 4px !important;
  padding-top: 0 !important;
  min-height: 40px !important;
}

.prk-cv4-product-rail__nav {
  inset-inline: 0 !important;
}

.prk-cv4-product-rail__btn {
  width: 40px !important;
  height: 40px !important;
  background: #fff !important;
  border: 1px solid #e0e0e2 !important;
  box-shadow: 0 2px 8px rgba(35, 37, 78, .12) !important;
}

@media (max-width: 767px) {
  .prk-modal.prk-cv4-bulk-mobile-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
  }

  .prk-cv4-bulk-mobile-modal__box {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 18px 20px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-sidebar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-sidebar .prk-cv4-cart-summary,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-sidebar > .prk-cv4-side-banner,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-sidebar > section.prk-cv4-cart-summary {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .prk-cv4-mobile-benefits {
    overflow: visible !important;
    contain: none !important;
    min-height: 102px !important;
    padding: 6px 14px 8px !important;
  }

  .prk-cv4-mobile-benefits .swiper-wrapper {
    align-items: stretch;
  }

  .prk-cv4-mobile-benefits__slide {
    backface-visibility: hidden;
    overflow: visible !important;
    border-radius: 14px;
  }

  .prk-cv4-mobile-benefits.swiper-3d,
  .prk-cv4-mobile-benefits.swiper-cards {
    overflow: visible !important;
  }

  .prk-cv4-mobile-benefits.swiper-cards .swiper-slide,
  .prk-cv4-mobile-benefits.swiper-3d .swiper-slide {
    overflow: visible !important;
    transform-origin: center bottom;
  }

  .prk-cv4-mobile-benefits .swiper-slide-shadow,
  .prk-cv4-mobile-benefits .swiper-slide-shadow-cards {
    display: none !important;
  }

  .prk-cv4-product-rail {
    padding-inline: 0 !important;
  }

  .prk-cv4-product-rail__slide,
  .prk-cv4-product-rail__slide.swiper-slide {
    border-left: 1px solid #f0f0f1 !important;
  }

  .prk-cv4-mini-product__link {
    min-height: 274px !important;
    padding-left: 18px !important;
  }
}

/* Cart V4 - mobile DG-like item grid + compact qty controls */
.prk-cv4-qty {
  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;
  width: auto;
  min-width: 102px;
  height: 30px;
  overflow: hidden;
  border: 1px solid #e7e7e9;
  border-radius: 12px;
  background: #fff;
  color: #6e6d7a;
}

.prk-cv4-qty__btn,
.prk-cv4-qty button {
  width: 30px;
  min-width: 30px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #ef174a;
  padding: 0;
  transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.prk-cv4-qty__btn--plus,
.prk-cv4-qty [data-prk-cv4-qty-plus] {
  border-left: 1px solid #e7e7e9;
}

.prk-cv4-qty__btn--minus,
.prk-cv4-qty [data-prk-cv4-qty-minus] {
  border-right: 1px solid #e7e7e9;
}

.prk-cv4-qty__btn:hover,
.prk-cv4-qty button:hover {
  background: #f3f3f4;
}

.prk-cv4-qty__btn:disabled,
.prk-cv4-qty button:disabled {
  opacity: .55;
  cursor: wait;
}

.prk-cv4-qty__center {
  width: 38px;
  min-width: 38px;
  height: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.prk-cv4-qty input {
  width: 100%;
  height: 15px;
  min-height: 15px;
  max-height: 15px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center;
  color: #252438;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  opacity: 1;
  -webkit-text-fill-color: #252438;
}

.prk-cv4-qty__maxhint {
  display: block;
  color: #c0c2c5;
  font-size: 9px;
  line-height: 8px;
  margin-top: 1px;
  font-weight: 500;
}

.prk-cv4-qty__loader {
  width: 17px;
  height: 17px;
  display: none;
  border: 2px solid #e5e7eb;
  border-top-color: #ef174a;
  border-radius: 999px;
  animation: prkCv4Spin .72s linear infinite;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.prk-cv4-qty.is-loading input,
.prk-cv4-qty.is-loading .prk-cv4-qty__maxhint {
  opacity: 0;
}

.prk-cv4-qty.is-loading .prk-cv4-qty__loader {
  display: block;
}

.prk-cv4-cart-item.is-removing-cart-item {
  opacity: .78;
}

@keyframes prkCv4Spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 767px) {
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-panel,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-panel__body {
    overflow: hidden;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-panel__body {
    padding: 0 !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item {
    display: grid !important;
    direction: rtl;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-areas:
      "media content"
      "media price"
      "actions actions"
      "insurance insurance" !important;
    column-gap: 12px !important;
    row-gap: 10px !important;
    padding: 14px 12px 16px !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 8px solid #f1f2f4 !important;
    box-shadow: none !important;
    background: #fff !important;
    min-height: auto !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__media {
    grid-area: media !important;
    width: 112px !important;
    height: 112px !important;
    align-self: start !important;
    justify-self: end !important;
    background: #f7f7f8;
    border-radius: 10px;
    overflow: hidden;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__media a,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__media img {
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__media img {
    object-fit: contain !important;
    padding: 8px;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__content {
    grid-area: content !important;
    min-width: 0;
    padding: 0 !important;
    align-self: start !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__title {
    margin: 0 !important;
    color: #232933 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__attrs {
    margin-top: 7px !important;
    gap: 6px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__attrs span {
    min-height: 22px;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: #f3f3f4 !important;
    color: #62666d !important;
    font-size: 10.5px !important;
    line-height: 16px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__send,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__gifts {
    margin-top: 7px !important;
    font-size: 10.5px !important;
    line-height: 18px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__pricebox {
    grid-area: price !important;
    align-self: end !important;
    justify-self: start !important;
    text-align: right !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px 6px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__pricebox .prk-cv4-sale-badge,
  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__pricebox .prk-cv4-special-badge {
    order: 1;
    font-size: 10px !important;
    min-width: 30px;
    height: 19px;
    padding: 2px 6px;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__pricebox .prk-cv4-old-price {
    order: 2;
    font-size: 10px !important;
    color: #c0c2c5 !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__pricebox .prk-cv4-price {
    order: 3;
    width: 100%;
    color: #23254e !important;
    font-size: 13px !important;
    line-height: 22px !important;
    font-weight: 800 !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__actions {
    grid-area: actions !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    margin-top: 2px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__actions .prk-cv4-qty {
    grid-column: 1;
    justify-self: center !important;
    align-self: center !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-cart-item__actions .prk-cv4-save-next {
    grid-column: 2;
    justify-self: start !important;
    min-width: 98px !important;
    width: auto !important;
    height: 36px !important;
    padding: 0 14px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance {
    grid-area: insurance !important;
    margin-top: 0 !important;
    min-height: 44px !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
    font-size: 11.5px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance small {
    font-size: 10px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance b {
    font-size: 9.5px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-item-transfer {
    border-radius: 0 !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-next-item__attrs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-next-item__attrs span {
    min-height: 22px;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: #f3f3f4 !important;
    color: #62666d !important;
    font-size: 10.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-next-item__attrs i {
    width: 12px !important;
    height: 12px !important;
    border-radius: 999px !important;
    background: var(--prk-cv4-swatch, #d1d5db) !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    display: inline-block !important;
  }
}

/* Cart V4 insurance toggle + next-list swatch fix */
.prk-cv4-insurance {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.prk-cv4-insurance__check {
  width: 44px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  cursor: pointer;
}

.prk-cv4-insurance__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.prk-cv4-insurance__check span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #c7cbd1;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.prk-cv4-insurance__check span::after {
  content: '';
  width: 9px;
  height: 5px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform .18s ease;
}

.prk-cv4-insurance__check input:checked + span {
  border-color: #1f6feb;
  background: #1f6feb;
  box-shadow: 0 0 0 3px rgba(31,111,235,.08);
}

.prk-cv4-insurance__check input:checked + span::after {
  transform: rotate(45deg) translate(-1px, -1px) scale(1);
}

.prk-cv4-insurance__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  flex: 1 1 auto;
}

.prk-cv4-insurance__title {
  font-size: 13px;
  line-height: 1.7;
  color: #111827;
  font-weight: 900;
}

.prk-cv4-insurance__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.prk-cv4-insurance__meta small {
  margin: 0 !important;
  color: #23254e;
  font-size: 12px;
  font-weight: 900;
}

.prk-cv4-insurance__meta em {
  font-style: normal;
  color: #424750;
  font-size: 10px;
  font-weight: 700;
}

.prk-cv4-insurance__meta del {
  color: #c0c2c5;
  font-size: 10px;
  text-decoration: line-through;
}

.prk-cv4-insurance__meta b {
  min-width: 30px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

.prk-cv4-insurance__details {
  border: 0;
  background: transparent;
  color: #42b0ff;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 0;
}

.prk-cv4-insurance__arrow {
  color: #111827;
  margin-inline-start: auto;
}

.prk-cv4-insurance__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(1px);
}

.prk-cv4-insurance__loader::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 3px solid rgba(0,0,0,.12);
  border-top-color: #7b8794;
  animation: prk-cv4-spin .7s linear infinite;
}

.prk-cv4-insurance.is-loading .prk-cv4-insurance__loader {
  display: flex;
}

.prk-cv4-next-item__attrs i {
  background: var(--prk-cv4-swatch, #d1d5db) !important;
}

@media (max-width: 767px) {
  body.prk-checkout-v4--cart-ui .prk-cv4-insurance {
    padding: 0 8px !important;
    min-height: 54px !important;
    gap: 6px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance__check {
    width: 34px !important;
    flex-basis: 34px !important;
    min-height: 52px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance__title {
    font-size: 11.5px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance__meta small {
    font-size: 10px !important;
  }
}

/* Cart V4 insurance box: match product insurance/mini-cart structure */
body.prk-checkout-v4--cart-ui .prk-cv4-insurance.prk-ins-box {
  grid-area: insurance;
  min-height: 80px;
  padding: 0 !important;
  gap: 0 !important;
  background: #fff;
  overflow: hidden;
  cursor: default;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance.prk-ins-box.is-loading {
  opacity: .68;
  pointer-events: none;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .insurance-checkbox-container {
  flex: 0 0 43px;
  width: 43px;
  height: 78px;
  min-height: 78px;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .round-check,
body.prk-checkout-v4--cart-ui .prk-cv4-insurance .upload-option-checkbox {
  position: relative;
  width: 20px;
  height: 20px;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .insurance-checkbox {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .upload-option-lbl {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid #c0c2c5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  cursor: pointer;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .upload-option-lbl::after {
  content: '';
  width: 9px;
  height: 5px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform .18s ease;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .insurance-checkbox:checked + .upload-option-lbl {
  border-color: #1f6feb;
  background: #1f6feb;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .08);
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .insurance-checkbox:checked + .upload-option-lbl::after {
  transform: rotate(45deg) translate(-1px, -1px) scale(1);
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .prk-ins-left {
  min-width: 0;
  height: 80px;
  border-right: 1px solid #e0e0e2;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .pars-ins-title {
  color: #060825;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .discount-badge-box {
  min-height: 20px;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .prk-ins-price .current-price {
  color: #23254e;
  font-size: 14px;
  font-weight: 800;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance .pars-ins-details {
  color: #42b0ff;
}

body.prk-checkout-v4--cart-ui .prk-cv4-insurance__loader {
  display: none !important;
}

@media (max-width: 767px) {
  body.prk-checkout-v4--cart-ui .prk-cv4-insurance.prk-ins-box {
    min-height: 72px !important;
    margin-top: 10px !important;
    margin-inline: 0 !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance .insurance-checkbox-container {
    height: 70px !important;
    min-height: 70px !important;
    flex-basis: 40px;
    width: 40px;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance .prk-ins-left {
    height: 72px;
    padding-inline: 10px;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance .pars-ins-title {
    font-size: 11.5px !important;
  }

  body.prk-checkout-v4--cart-ui .prk-cv4-insurance .prk-ins-price .current-price {
    font-size: 12px !important;
  }
}

/* Checkout V4 layout polish - no WooCommerce template override */
body.prk-checkout-v4--checkout-ui form.checkout[data-prk-cv4-checkout-form] {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout {
  display: grid;
  grid-template-columns: 405px minmax(0, 1fr);
  grid-template-areas: "side main";
  gap: 16px;
  align-items: start;
  direction: ltr;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side {
  direction: rtl;
  min-width: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side {
  grid-area: side;
  position: sticky;
  top: 120px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-address:empty,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-fields:empty {
  display: none;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-review-card {
  border: 1px solid var(--prk-cv4-border);
  border-radius: 16px;
  background: #fff;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-address .prk-cv4-address-book {
  margin: 0;
  border: 0;
  border-radius: 16px;
  padding: 20px;
}

body.prk-checkout-v4--checkout-ui #customer_details {
  margin: 0 !important;
  padding: 22px;
  border: 0 !important;
  border-radius: 16px;
  background: #fff;
}

body.prk-checkout-v4--checkout-ui #customer_details .col-1,
body.prk-checkout-v4--checkout-ui #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
}

body.prk-checkout-v4--hide-native-fields #customer_details,
body.prk-checkout-v4--hide-native-fields .woocommerce-billing-fields,
body.prk-checkout-v4--hide-native-fields .woocommerce-shipping-fields,
body.prk-checkout-v4--hide-native-fields .woocommerce-additional-fields {
  display: none !important;
}

body.prk-checkout-v4--hide-native-fields .prk-cv4-native-hidden-field,
body.prk-checkout-v4--checkout-ui .prk-cv4-native-hidden-field {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui #order_review_heading.prk-cv4-checkout-hidden-heading {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui #order_review.prk-cv4-checkout-review-card {
  margin: 0 !important;
  padding: 18px;
  border: 1px solid var(--prk-cv4-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #111827;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title i {
  font-size: 22px;
  color: #69707d;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title strong {
  font-size: 16px;
  font-weight: 900;
  color: #111827;
}

body.prk-checkout-v4--checkout-ui #order_review table.shop_table {
  border: 0 !important;
  margin: 0 !important;
}

body.prk-checkout-v4--checkout-ui #order_review table.shop_table th,
body.prk-checkout-v4--checkout-ui #order_review table.shop_table td {
  padding: 14px 0 !important;
  border-bottom: 1px solid #f0f0f1 !important;
  font-size: 13px;
}

body.prk-checkout-v4--checkout-ui #order_review table.shop_table th {
  color: #5f6673;
  font-weight: 700;
}

body.prk-checkout-v4--checkout-ui #order_review table.shop_table td {
  text-align: left;
  color: #111827;
  font-weight: 800;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-shipping-title-row td {
  padding-top: 20px !important;
  padding-bottom: 4px !important;
  border-bottom: 0 !important;
  text-align: right !important;
}

body.prk-checkout-v4--checkout-ui #order_review ul#shipping_method,
body.prk-checkout-v4--checkout-ui #order_review ul.woocommerce-shipping-methods {
  display: grid;
  gap: 8px;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  list-style: none;
}

body.prk-checkout-v4--checkout-ui #order_review ul#shipping_method li,
body.prk-checkout-v4--checkout-ui #order_review ul.woocommerce-shipping-methods li {
  margin: 0 !important;
}

body.prk-checkout-v4--checkout-ui #order_review ul#shipping_method label,
body.prk-checkout-v4--checkout-ui #order_review ul.woocommerce-shipping-methods label {
  min-height: 56px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--prk-cv4-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
}

body.prk-checkout-v4--checkout-ui #order_review ul#shipping_method input:checked + label,
body.prk-checkout-v4--checkout-ui #order_review ul.woocommerce-shipping-methods input:checked + label,
body.prk-checkout-v4--checkout-ui #order_review ul#shipping_method li:has(input:checked) label,
body.prk-checkout-v4--checkout-ui #order_review ul.woocommerce-shipping-methods li:has(input:checked) label {
  border-color: var(--prk-cv4-primary);
  background: #fffaf8;
}

body.prk-checkout-v4--checkout-ui #payment.prk-cv4-checkout-payment-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f1;
}

body.prk-checkout-v4--checkout-ui #payment ul.payment_methods li.wc_payment_method {
  position: relative;
  border: 1px solid var(--prk-cv4-border) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin: 0 0 10px !important;
  background: #fff !important;
}

body.prk-checkout-v4--checkout-ui #payment ul.payment_methods li.wc_payment_method:has(input.input-radio:checked) {
  border-color: var(--prk-cv4-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 91, 14, .06);
}

body.prk-checkout-v4--checkout-ui #payment ul.payment_methods li.wc_payment_method label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  line-height: 1.8;
}

body.prk-checkout-v4--checkout-ui #payment div.payment_box {
  margin: 12px 0 0 !important;
  padding: 12px !important;
  background: #f6f7f9 !important;
  border-radius: 10px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-summary-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 0 0;
  color: #69707d;
  font-size: 12px;
  line-height: 2;
  text-align: right;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-summary-hint i {
  font-size: 16px;
  margin-top: 4px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  direction: rtl;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps button {
  min-height: 42px;
  border: 1px solid var(--prk-cv4-border);
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  padding: 0 18px;
  font-weight: 800;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps button.is-active {
  color: var(--prk-cv4-primary);
  border-color: var(--prk-cv4-primary);
  background: #fffaf8;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps span {
  width: 56px;
  height: 1px;
  background: #e5e7eb;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-step-note {
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-step-note strong {
  font-size: 15px;
  font-weight: 900;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-step-note span {
  font-size: 12px;
  color: #6b7280;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-step-actions {
  margin-top: 14px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-next,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-back {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  cursor: pointer;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-next {
  color: #fff;
  background: linear-gradient(221.11deg, var(--prk-cv4-primary) 10.52%, var(--prk-cv4-primary-2) 93.97%);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-back {
  margin-bottom: 12px;
  border: 1px solid var(--prk-cv4-border);
  color: #374151;
  background: #fff;
}

body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-steps {
  display: flex;
}

body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-payment-step .prk-cv4-checkout-main {
  display: none;
}

body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-payment-step {
  grid-template-columns: minmax(0, 720px);
  grid-template-areas: "side";
  justify-content: center;
}

body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-payment-step .prk-cv4-checkout-side {
  position: static;
}

body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-details-step #payment,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-details-step .prk-cv4-checkout-section-title--payment,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-details-step #place_order,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-details-step .place-order {
  display: none !important;
}

@media (max-width: 991px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-payment-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side {
    position: static;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-address .prk-cv4-address-book,
  body.prk-checkout-v4--checkout-ui #customer_details,
  body.prk-checkout-v4--checkout-ui #order_review.prk-cv4-checkout-review-card {
    padding: 14px;
    border-radius: 14px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps {
    order: -5;
    justify-content: stretch;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps button {
    flex: 1;
    padding: 0 8px;
    font-size: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps span {
    width: 24px;
  }
}

/* Checkout V4 stage 2: server-side hook layout, independent from WooCommerce template override */
body.prk-checkout-v4--checkout-ui form.checkout.woocommerce-checkout,
body.prk-checkout-v4--checkout-ui form.checkout[data-prk-cv4-checkout-form] {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout {
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(320px, 405px) minmax(0, 1fr);
  grid-template-areas:
    "steps steps"
    "side main";
  gap: 16px;
  align-items: start;
  direction: ltr;
  clear: both;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps {
  grid-area: steps;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main {
  grid-area: main;
  direction: rtl;
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side {
  grid-area: side;
  direction: rtl;
  min-width: 0;
  position: sticky;
  top: 120px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone {
  min-width: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone:not(:empty),
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side > .prk-cv4-checkout-zone:not(:empty) > #order_review,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side > .prk-cv4-checkout-zone:not(:empty) > .prk-cv4-checkout-review-card {
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-address:empty,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-fields:empty {
  display: none !important;
}

/* address card/tabs styles moved to checkout-v4-address.css */

/* delivery date/time styles moved to checkout-v4-delivery.css */
body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list input[type="radio"] {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #424750;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list input[type="radio"]:checked {
  border-color: var(--prk-cv4-checkout-primary);
  background:
    radial-gradient(circle, var(--prk-cv4-checkout-primary) 0 4px, transparent 4.5px),
    #fff;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list label {
  min-height: 86px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px;
  border: 1px solid var(--prk-cv4-checkout-line) !important;
  border-radius: 12px !important;
  padding: 16px 48px 16px 16px !important;
  background: #fff !important;
  color: #323232  !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list li:has(input:checked) label {
  border-color: var(--prk-cv4-checkout-primary) !important;
  /* background: #fff7f5 !important; */
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items {
  position: relative;
  overflow: hidden;
  padding-inline: 4px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item {
  min-height: 142px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border-left: 1px solid #f0f0f1;
  padding: 8px 10px;
  text-align: center;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item figure,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item figure {
  margin: 0;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item img,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item__body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  color: #23254e;
  font-size: 11px;
  line-height: 1.7;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item__variation {
  display: none;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item__body span {
  display: inline-flex;
  margin-top: 6px;
  color: #81858b;
  font-size: 11px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--prk-cv4-checkout-line);
  border-radius: 50%;
  background: #fff;
  color: #3f4064;
  transform: translateY(-50%);
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav--prev { right: 4px; }
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav--next { left: 4px; }

body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-mount textarea,
body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-field textarea {
  width: 100% !important;
  min-height: 94px !important;
  border: 1px solid var(--prk-cv4-checkout-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 12px 14px !important;
  color: #23254e !important;
  font-size: 13px !important;
  line-height: 2 !important;
  resize: vertical;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-mount label:not(.screen-reader-text) {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-mount {
  margin-top: 12px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-field,
body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #f0f0f1;
  border-radius: 11px;
  padding: 10px 12px;
  background: #fafafa;
}
#getmyfactor_checkboxP


body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-field h3,
body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-field .get_send_time {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-step-actions {
  margin: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-next {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(221.11deg, var(--prk-cv4-checkout-primary) 10.52%, var(--prk-cv4-checkout-primary-2) 93.97%);
  font-size: 15px;
  font-weight: 900;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--payment-methods > .prk-cv4-checkout-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--payment-methods > .prk-cv4-checkout-card__head .prk-cv4-checkout-section-title {
  min-width: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--payment-methods > .prk-cv4-checkout-card__head .prk-cv4-checkout-back {
  flex: 0 0 auto;
  margin: 0 !important;
  white-space: nowrap;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods {
  display: grid;
  gap: 12px;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods li.wc_payment_method {
  min-height: 74px;
  border: 1px solid var(--prk-cv4-checkout-line) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin: 0 !important;
  background: #fff !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods li.wc_payment_method:has(input.input-radio:checked) {
  border-color: #1a73e8 !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods li.wc_payment_method label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #23254e;
  font-size: 14px;
  font-weight: 900;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment div.payment_box {
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: #f8f8f9 !important;
  color: #81858b !important;
  font-size: 12px !important;
  line-height: 2 !important;
}

/* Keep WooCommerce checkout consent fields visible. Only the native submit button
 * is visually hidden because Checkout V4 triggers it through its own payment buttons. */
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #place_order,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #place_order {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .place-order,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .place-order {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  border: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper {
  display: block !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--prk-cv4-border) !important;
  color: var(--prk-cv4-text);
  font-size: 13px;
  line-height: 2;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-privacy-policy-text,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-privacy-policy-text {
  margin: 0 0 14px;
  color: var(--prk-cv4-muted);
  font-size: 12px;
  line-height: 2;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-privacy-policy-text p,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-privacy-policy-text p {
  margin: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions {
  max-height: 210px !important;
  margin: 0 0 14px !important;
  padding: 14px 16px !important;
  overflow: auto !important;
  border: 1px solid var(--prk-cv4-border) !important;
  border-radius: 12px !important;
  background: #f8f8f9 !important;
  color: #565b66 !important;
  font-size: 12px !important;
  line-height: 2 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper > .form-row,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper > .form-row {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper label.checkbox,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper label.checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  color: #424750 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.9 !important;
  cursor: pointer !important;
  justify-content: flex-start;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount input#terms,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount input#terms {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  display: inline-block !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #a1a3a8 !important;
  border-radius: 6px !important;
  outline: none !important;
  background: #fff center / 13px 13px no-repeat !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount input#terms:checked,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount input#terms:checked {
  border-color: var(--prk-cv4-primary) !important;
  background-color: var(--prk-cv4-primary) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.2 3.1 3.1L13 4.7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount input#terms:focus-visible,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount input#terms:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 91, 14, .14) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper a,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper a {
  color: var(--prk-cv4-primary) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper a:hover,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper a:hover {
  text-decoration: underline !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper abbr.required,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-terms-and-conditions-wrapper abbr.required {
  color: #d92d20 !important;
  text-decoration: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .woocommerce-invalid input#terms,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .woocommerce-invalid input#terms {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, .1) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount .checkout-inline-error-message,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount .checkout-inline-error-message {
  display: block !important;
  margin: 8px 29px 0 0 !important;
  color: #d92d20 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-back {
  width: auto !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--prk-cv4-checkout-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #3f4064 !important;
  padding: 0 12px !important;
  margin: 0 0 12px !important;
  font-size: 12px;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card--coupon,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text strong {
  display: block;
  color: #0c0c0c;
  font-size: 15px;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text span {
  display: block;
  margin-top: 5px;
  color: #81858b;
  font-size: 12px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f0f0f1;
  color: #3f4064;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 400;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-items {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #23254e;
  font-size: 11px;
  line-height: 1.7;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item span {
  color: #81858b;
  font-size: 11px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary {
  padding: 16px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__head strong {
  font-family: prk-title, prk-font, sans-serif !important;
  color: #0c0c0c;
  font-size: 16px;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #f0f0f1;
  color: #81858b;
  font-size: 12px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row b {
  color: #3f4064;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row.is-total {
  border-bottom: 0;
  padding-top: 6px;
  color: #0c0c0c;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row.is-total b {
  color: #0c0c0c;
  font-size: 16px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  margin-top: 12px;
  background: linear-gradient(221.11deg, var(--prk-cv4-checkout-primary) 10.52%, var(--prk-cv4-checkout-primary-2) 93.97%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: #81858b;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__hint span {
  font-size: 12px;
  line-height: 1.6;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__hint i {
  font-size: 16px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side #order_review,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side #order_review table.shop_table,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side #order_review .prk-cv4-checkout-section-title--summary,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side #order_review .prk-cv4-checkout-summary-hint-row,
body.prk-checkout-v4--checkout-ui .prk-cv4-native-shipping-title-moved,
body.prk-checkout-v4--checkout-ui .prk-cv4-native-shipping-row-moved,
body.prk-checkout-v4--checkout-ui #order_review_heading {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui form.checkout_coupon {
  max-width: 760px;
  margin: 12px auto !important;
  border: 1px solid var(--prk-cv4-checkout-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  padding: 16px !important;
}

@media (max-width: 1199px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-payment-step {
    grid-template-columns: minmax(270px, 310px) minmax(0, 1fr) !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-address-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-shell--checkout {
    padding-inline: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout.is-payment-step {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side {
    order: 10;
    position: static !important;
    width: 100%;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-address-grid,
  body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list {
    grid-template-columns: 1fr;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone-address,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card,
  body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps button {
    min-width: max-content;
    padding-inline: 14px;
    font-size: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps span {
    width: 30px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--coupon {
    flex-direction: column;
    align-items: stretch;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-items {
    gap: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item {
    width: calc(50% - 6px);
  }
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-step-actions {
  display: none !important;
}



/* Checkout V4: button-only transition between multi-step checkout panels */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout {
  position: relative;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn.is-loading,
body.prk-checkout-v4--checkout-ui button[data-prk-cv4-checkout-next].is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  height: 52px;
  cursor: wait;
  pointer-events: none;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn.is-loading .prk-cv4-button-loading,
body.prk-checkout-v4--checkout-ui button[data-prk-cv4-checkout-next].is-loading .prk-cv4-button-loading {
  width: 38px;
  height: 28px;
  min-height: 0;
  margin: 0 auto;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main.is-step-entering,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side.is-step-entering {
  animation: prk-cv4-step-panel-enter .22s ease both;
}

@keyframes prk-cv4-step-panel-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Checkout V4: Woo review update + order processing loader */
body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--shipping {
    position: relative;
    overflow: hidden;
}

/* لایه روشن هنگام آپدیت اطلاعات و محاسبه حمل‌ونقل */
body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-updating-checkout
.prk-cv4-side-summary::before,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-updating-checkout
.prk-cv4-checkout-card--shipping::before,

/* لایه روشن هنگام ثبت نهایی سفارش */
body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-processing-order
.prk-cv4-side-summary::before,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-processing-order
.prk-cv4-checkout-card--shipping::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* اسپینر مشابه blockUI موردنظر */
body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-updating-checkout
.prk-cv4-side-summary::after,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-updating-checkout
.prk-cv4-checkout-card--shipping::after,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-processing-order
.prk-cv4-side-summary::after,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-processing-order
.prk-cv4-checkout-card--shipping::after {
    content: "";
    display: inline-block;
    position: absolute;
    opacity: 1;
    top: 50%;
    left: 50%;
    z-index: 21;

    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;

    box-sizing: border-box;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #333;
    border-left: 1px solid #efefef;
    border-right: 1px solid #333;
    border-radius: 50%;

    -webkit-animation: prk-cv4-checkout-spin 0.5s linear infinite;
    animation: prk-cv4-checkout-spin 0.5s linear infinite;
}

/* جلوگیری از کلیک هنگام آپدیت یا ثبت سفارش */
body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-updating-checkout
.prk-cv4-side-summary > *,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-updating-checkout
.prk-cv4-checkout-card--shipping > *,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-processing-order
.prk-cv4-side-summary > *,

body.prk-checkout-v4--checkout-ui
.prk-cv4-checkout-layout.is-processing-order
.prk-cv4-checkout-card--shipping > * {
    pointer-events: none;
}

@-webkit-keyframes prk-cv4-checkout-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes prk-cv4-checkout-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

/* Checkout V4: pickup receive mode + locked items swiper */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout.is-pickup-receive .prk-cv4-checkout-card--shipping {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items-card.is-swiper-locked .prk-cv4-checkout-items__nav,
body.prk-checkout-v4--checkout-ui [data-prk-cv4-checkout-items-card].is-swiper-locked .prk-cv4-checkout-items__nav,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav.is-locked {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav.is-disabled,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav.swiper-button-disabled {
  opacity: .36;
  pointer-events: none;
  box-shadow: none;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row span,
body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row b,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-steps button,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-items__nav {
  font-family: prk-font, sans-serif !important;
}

/* Checkout V4: configurable title icons */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon svg,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon--image {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon svg {
  max-width: 100%;
  max-height: 100%;
}

/* Checkout V4: custom coupon/order summary dropdowns */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--coupon {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-collapse-toggle {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #23254e;
  padding: 0;
  cursor: pointer;
  text-align: right;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-collapse-toggle i {
  font-size: 20px;
  color: #1a73e8;
  transition: transform .22s ease;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-collapse-toggle.is-open i {
  transform: rotate(180deg);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__toggle {
  color: #1a73e8;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text small {
  color: #1a73e8;
  font-size: 12px;
  font-weight: 600;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-collapse-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .28s ease, opacity .2s ease, padding-top .22s ease, margin-top .22s ease;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-collapse-panel.is-open {
  max-height: 520px;
  opacity: 1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--prk-cv4-checkout-line);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__panel.is-open {
  max-height: 260px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__placeholder {
  color: #81858b;
  font-size: 12px;
}

body.prk-checkout-v4--checkout-ui .woocommerce-form-coupon-toggle,
body.prk-checkout-v4--checkout-ui .woocommerce-info .showcoupon {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__panel form.checkout_coupon,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__panel form.woocommerce-form-coupon,
body.prk-checkout-v4--checkout-ui form.checkout_coupon.prk-cv4-coupon-form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: block !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form p:first-child {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form .form-row,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__row {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form input[name="coupon_code"],
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-code] {
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid var(--prk-cv4-checkout-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #23254e !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  box-shadow: none !important;
  outline: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form input[name="coupon_code"]:focus,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-code]:focus {
  border-color: var(--prk-cv4-primary) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form button[name="apply_coupon"],
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply] {
  min-width: 92px;
  min-height: 44px;
  height: 44px;
  max-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 1;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff4d2f)) !important;
  color: #fff !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-order-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-order-summary-head .prk-cv4-checkout-card__head {
  margin: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-order-summary__toggle {
  width: auto;
  min-height: 32px;
  justify-content: flex-end;
  color: #81858b;
  font-size: 12px;
  white-space: nowrap;
  gap: 6px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-panel.is-open {
  max-height: 640px;
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form .form-row,
  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__row {
    flex-direction: column;
    align-items: stretch;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form button[name="apply_coupon"],
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply] {
    width: 100%;
  }
}


body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response {
  min-height: 18px;
  margin-top: 10px;
  color: #81858b;
  font-size: 12px;
  line-height: 1.8;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-message,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-error,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-info {
  margin: 0 !important;
  border-radius: 10px !important;
  padding: 12px !important;
  font-size: 13px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-message li,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-error li,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-info li {
  font-size: 13px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-message::before,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-error::before,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response .woocommerce-info::before {
  font-size: 24px !important;
  margin: 0 0 0 6px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response.is-error {
  color: #ef394e;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__response.is-success {
  color: #00a049;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply].is-loading {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: .72;
  cursor: wait;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply].is-loading .prk-cv4-button-loading {
  width: 100%;
  height: 24px;
  min-height: 24px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply].is-loading .prk-cv4-button-loading svg {
  width: 33px !important;
  height: 24px !important;
  max-width: 33px !important;
  max-height: 24px !important;
  display: block;
  flex: 0 0 auto;
}

/* Checkout V4: keep configurable font icons visible even when prk-font is applied */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon--font {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #69707d;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon--parsfont {
  font-family: 'parsfont' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon--remixicon {
  font-family: 'remixicon' !important;
  font-style: normal;
  font-weight: normal;
}

/* Checkout V4: hard-safe glyph wrapper for configurable title icons */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  font-size: 22px;
  line-height: 1;
  font-style: normal;
  color: inherit;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__head i {
  color: #69707d !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph::before {
  line-height: 1;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph--parsfont,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph--parsfont::before {
  font-family: 'parsfont' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph--remixicon,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph--remixicon::before {
  font-family: 'remixicon' !important;
  font-style: normal;
  font-weight: normal;
}

/* Checkout V4 Address Map Modal */

/* address book/map styles moved to checkout-v4-address.css */

/* Checkout V4 shared loading / searchable custom select */
.prk-cv4-button-loading {
  width: 100%;
  height: 100%;
  min-height: 24px;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
}

.prk-cv4-submit-address.is-loading,
.prk-cv4-btn-secondary.is-loading,
.prk-cv4-coupon-apply.is-loading,
button[data-prk-cv4-confirm-map].is-loading,
button[data-prk-cv4-confirm-address-details].is-loading,
button[data-prk-cv4-confirm-delete-address].is-loading,
button[data-prk-cv4-address-picker-confirm].is-loading,
button[data-prk-cv4-coupon-apply].is-loading {
  position: relative;
  cursor: wait;
  pointer-events: none;
}

select.prk-cv4-native-select--customized {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.prk-cv4-custom-select {
  position: relative;
  width: 100%;
  direction: rtl;
  z-index: 1;
}

.prk-cv4-custom-select.is-open {
  z-index: 80;
}

.prk-cv4-custom-select__toggle {
  width: 100%;
  min-height: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  cursor: pointer;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.prk-cv4-custom-select.is-open .prk-cv4-custom-select__toggle,
.prk-cv4-custom-select__toggle:focus {
  border-color: var(--prk-color-gradient-end, #ff6a00);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .10);
}

.prk-cv4-field.is-invalid .prk-cv4-custom-select__toggle,
.woocommerce-invalid .prk-cv4-custom-select__toggle {
  border-color: #d32f2f;
}

.prk-cv4-custom-select__label {
  display: block;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prk-cv4-custom-select__arrow {
  flex: 0 0 24px;
  transition: transform .18s ease;
}

.prk-cv4-custom-select.is-open .prk-cv4-custom-select__arrow {
  transform: rotate(180deg);
}

.prk-cv4-custom-select__panel {
  position: absolute;
  z-index: 90;
  top: calc(100% + 4px);
  inset-inline: 0;
  width: 100%;
  display: none;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.prk-cv4-custom-select.is-open .prk-cv4-custom-select__panel {
  display: block;
}

.prk-cv4-custom-select__search-wrap {
  padding: 8px;
  border-bottom: 1px solid #f0f0f1;
}

.prk-cv4-custom-select__search {
  width: 100%;
  height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0 12px;
  color: #1f2937;
  font-size: 13px;
  outline: 0;
}

.prk-cv4-custom-select__search:focus {
  border-color: var(--prk-color-gradient-end, #ff6a00);
  background: #fff;
}

.prk-cv4-custom-select__options {
  width: 100%;
  max-height: 140px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  overflow-y: auto;
  background: #fff;
}

.prk-cv4-custom-select__option,
.prk-cv4-custom-select__empty {
  padding: 8px 12px;
  color: #374151;
  font-size: 14px;
  line-height: 1.8;
}

.prk-cv4-custom-select__option {
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.prk-cv4-custom-select__option:hover,
.prk-cv4-custom-select__option.is-selected {
  background: #f3f4f6;
}

.prk-cv4-custom-select__option.is-selected {
  color: var(--prk-color-primary, #ff5b0e);
  font-weight: 800;
}

.prk-cv4-custom-select__option.is-disabled {
  color: #a1a3a8;
  cursor: not-allowed;
  background: #fff;
}

.prk-cv4-custom-select__empty {
  color: #81858b;
  cursor: default;
}

/* Checkout V4: configurable purchase progress header */
body.prk-checkout-v4 .prk-cv4-progress {
  margin-top: 22px;
  margin-bottom: 18px;
}

body.prk-checkout-v4 .prk-cv4-progress__inner {
  min-height: 118px;
  padding: 22px 28px;
  border: 1px solid #e6e7eb;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

body.prk-checkout-v4 .prk-cv4-progress__logo img,
body.prk-checkout-v4 .prk-cv4-progress__logo svg {
  max-height: 48px;
  width: auto;
}

body.prk-checkout-v4 .prk-cv4-progress__steps {
  width: min(100%, 940px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  direction: rtl;
}

body.prk-checkout-v4 .prk-cv4-progress__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
}

body.prk-checkout-v4 .prk-cv4-progress__step::after {
  display: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress__step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 26px;
  left: calc(-50% + 31px);
  width: calc(100% - 62px);
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-done:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress__step.is-active:not(:last-child)::before {
  background: linear-gradient(90deg, rgba(255, 91, 14, .25), var(--prk-cv4-primary, #ff5b0e));
}

body.prk-checkout-v4 .prk-cv4-progress__link {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  text-align: center;
  cursor: default;
  font: inherit;
}

body.prk-checkout-v4 a.prk-cv4-progress__link,
body.prk-checkout-v4 button.prk-cv4-progress__link {
  cursor: pointer;
}

body.prk-checkout-v4 button.prk-cv4-progress__link:focus-visible,
body.prk-checkout-v4 a.prk-cv4-progress__link:focus-visible {
  outline: 2px solid rgba(255, 91, 14, .25);
  outline-offset: 4px;
  border-radius: 14px;
}

body.prk-checkout-v4 .prk-cv4-progress__marker {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  color: #9ca3af;
  box-shadow: 0 8px 18px rgba(3, 10, 22, .04);
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.prk-checkout-v4 .prk-cv4-progress__glyph {
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
}

body.prk-checkout-v4 .prk-cv4-progress__number {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

body.prk-checkout-v4 .prk-cv4-progress__number::first-letter {
  color: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress__custom-icon--image,
body.prk-checkout-v4 .prk-cv4-progress__custom-icon--svg svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

body.prk-checkout-v4 .prk-cv4-progress__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

body.prk-checkout-v4 .prk-cv4-progress__copy b {
  color: #62666d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.8;
  transition: color .2s ease;
}

body.prk-checkout-v4 .prk-cv4-progress__copy small {
  max-width: 180px;
  color: #a1a3a8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-active,
body.prk-checkout-v4 .prk-cv4-progress__step.is-done {
  color: var(--prk-cv4-primary, #ff5b0e);
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-active .prk-cv4-progress__marker {
  border-color: rgba(255, 91, 14, .45);
  background: #fff7f2;
  color: var(--prk-cv4-primary, #ff5b0e);
  box-shadow: 0 10px 24px rgba(255, 91, 14, .12);
  transform: translateY(-1px);
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-done .prk-cv4-progress__marker {
  border-color: rgba(255, 91, 14, .28);
  background: #fff;
  color: var(--prk-cv4-primary, #ff5b0e);
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-active .prk-cv4-progress__copy b,
body.prk-checkout-v4 .prk-cv4-progress__step.is-done .prk-cv4-progress__copy b {
  color: var(--prk-cv4-primary, #ff5b0e);
}

/* Style 1: ParsKala default */
body.prk-checkout-v4 .prk-cv4-progress--parsline .prk-cv4-progress__inner {
  background: linear-gradient(180deg, #fff, #fffaf8);
}

/* Style 2: numbered pill tabs */
body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__inner {
  min-height: 86px;
  padding: 18px;
  background: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__steps {
  width: min(100%, 850px);
  gap: 8px;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__step::before {
  display: none;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__link {
  min-height: 46px;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f7f7f8;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__marker {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  box-shadow: none;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__glyph {
  font-size: 15px;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__copy small {
  display: none;
}

body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__step.is-active .prk-cv4-progress__link {
  border-color: rgba(255, 91, 14, .48);
  background: #fff7f2;
}

/* Style 3: icon timeline */
body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__inner {
  min-height: 126px;
  border-color: transparent;
  border-radius: 0;
  background: #fff;
  box-shadow: inset 0 -1px 0 #f0f0f1;
}

body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step:not(:last-child)::before {
  top: 27px;
  height: 3px;
  background: #e5e7eb;
}

body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__marker {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step.is-active .prk-cv4-progress__marker,
body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step.is-done .prk-cv4-progress__marker {
  border-color: rgba(34, 197, 94, .35);
  color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .1);
}

body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step.is-active:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step.is-done:not(:last-child)::before {
  background: linear-gradient(90deg, rgba(22, 163, 74, .25), #16a34a);
}

body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step.is-active .prk-cv4-progress__copy b,
body.prk-checkout-v4 .prk-cv4-progress--timeline .prk-cv4-progress__step.is-done .prk-cv4-progress__copy b {
  color: #16a34a;
}

/* Style 4: compact */
body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__inner {
  min-height: 76px;
  padding: 12px 16px;
  border-radius: 14px;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__steps {
  width: min(100%, 820px);
  gap: 10px;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__step::before {
  display: none;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__link {
  min-height: 52px;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__marker {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: none;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__glyph {
  font-size: 17px;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__copy small {
  display: none;
}

body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__step.is-active .prk-cv4-progress__link {
  border-bottom-color: var(--prk-cv4-primary, #ff5b0e);
}

/* Style 5: minimal */
body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__inner {
  min-height: 58px;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__steps {
  width: auto;
  gap: 18px;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__step::before {
  display: none;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__step:not(:last-child) .prk-cv4-progress__link::after {
  content: "‹";
  margin-inline-start: 12px;
  color: #d0d5dd;
  font-size: 20px;
  line-height: 1;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__link {
  flex-direction: row;
  gap: 6px;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__marker {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__glyph {
  font-size: 18px;
}

body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__copy small {
  display: none;
}

@media (max-width: 767px) {
  body.prk-checkout-v4 .prk-cv4-progress {
    width: 100%;
    padding-inline: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__inner {
    min-height: 64px;
    padding: 10px;
    border-radius: 12px;
    gap: 0;
  }

  body.prk-checkout-v4 .prk-cv4-progress__logo {
    display: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress__steps {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress__steps::-webkit-scrollbar {
    display: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress__step {
    flex: 0 0 auto;
    width: 96px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__step:not(:last-child)::before {
    top: 20px;
    left: -28px;
    width: 44px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__marker {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__glyph {
    font-size: 19px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__copy b {
    font-size: 11px !important;
  }

  body.prk-checkout-v4 .prk-cv4-progress__copy small {
    display: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress--pill .prk-cv4-progress__step,
  body.prk-checkout-v4 .prk-cv4-progress--compact .prk-cv4-progress__step {
    width: 128px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--minimal .prk-cv4-progress__step {
    width: auto;
  }
}

body.prk-checkout-v4 .prk-cv4-progress__number {
  background: #d0d5dd;
  color: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-active .prk-cv4-progress__number,
body.prk-checkout-v4 .prk-cv4-progress__step.is-done .prk-cv4-progress__number {
  background: currentColor;
  color: #fff;
}

/* Checkout V4 progress header marketplace models */
body.prk-checkout-v4 .prk-cv4-progress {
  --prk-cv4-progress-accent: var(--prk-cv4-primary, #ff5b0e);
  --prk-cv4-progress-muted: #a1a3a8;
  --prk-cv4-progress-border: #e0e0e2;
  width: min(100%, 1180px);
  margin: 18px auto 18px;
  padding-inline: 0;
}

body.prk-checkout-v4 .prk-cv4-progress__inner {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

body.prk-checkout-v4 .prk-cv4-progress__top {
  min-height: 40px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

body.prk-checkout-v4 .prk-cv4-progress__logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  text-decoration: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress__logo img,
body.prk-checkout-v4 .prk-cv4-progress__logo svg {
  max-height: 38px;
  width: auto;
}

body.prk-checkout-v4 .prk-cv4-progress__site-name {
  color: #23254e;
  font-size: 18px;
  font-weight: 1000;
}

body.prk-checkout-v4 .prk-cv4-progress__back {
  grid-column: 3;
  justify-self: end;
  min-height: 34px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #424750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color .18s ease, opacity .18s ease;
}

body.prk-checkout-v4 .prk-cv4-progress__back.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.prk-checkout-v4 .prk-cv4-progress__back i {
  font-size: 18px;
  line-height: 1;
}

body.prk-checkout-v4 .prk-cv4-progress__back:hover {
  color: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress__steps {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  direction: rtl;
  gap: 0;
  overflow: visible;
}

body.prk-checkout-v4 .prk-cv4-progress__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  color: var(--prk-cv4-progress-muted);
  font-size: 12px;
  font-weight: 700;
}

body.prk-checkout-v4 .prk-cv4-progress__step::after {
  display: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress__link {
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none !important;
  text-align: center;
  cursor: default;
  font: inherit;
}

body.prk-checkout-v4 a.prk-cv4-progress__link,
body.prk-checkout-v4 button.prk-cv4-progress__link {
  cursor: pointer;
}

body.prk-checkout-v4 .prk-cv4-progress__marker {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .18s ease, transform .18s ease, background .18s ease, border-color .18s ease;
}

body.prk-checkout-v4 .prk-cv4-progress__glyph,
body.prk-checkout-v4 .prk-cv4-progress__custom-icon--svg svg,
body.prk-checkout-v4 .prk-cv4-progress__custom-icon--image {
  font-size: 24px;
  width: 25px;
  height: 25px;
  object-fit: contain;
  line-height: 1;
}

body.prk-checkout-v4 .prk-cv4-progress__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 1px;
}

body.prk-checkout-v4 .prk-cv4-progress__copy b {
  max-width: 150px;
  color: #62666d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.prk-checkout-v4 .prk-cv4-progress__copy small {
  max-width: 160px;
  color: #a1a3a8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.prk-checkout-v4 .prk-cv4-progress__number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

body.prk-checkout-v4 .prk-cv4-progress__number::first-letter {
  color: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-active,
body.prk-checkout-v4 .prk-cv4-progress__step.is-done,
body.prk-checkout-v4 .prk-cv4-progress__step.is-active .prk-cv4-progress__copy b,
body.prk-checkout-v4 .prk-cv4-progress__step.is-done .prk-cv4-progress__copy b {
  color: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress__step.is-active .prk-cv4-progress__marker {
  transform: translateY(-1px);
}

/* ParsKala default: clean line-card, flexible and neutral */
body.prk-checkout-v4 .prk-cv4-progress--parskala {
  --prk-cv4-progress-accent: var(--prk-cv4-primary, #ff5b0e);
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__inner {
  padding: 18px 24px 16px;
  border: 1px solid #e7e7ea;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fffaf8);
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__steps {
  width: min(100%, 920px);
  margin-inline: auto;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(-50% + 34px);
  width: calc(100% - 68px);
  height: 2px;
  border-radius: 999px;
  background: #e0e0e2;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step.is-active:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step.is-done:not(:last-child)::before {
  background: linear-gradient(90deg, rgba(255, 91, 14, .24), var(--prk-cv4-progress-accent));
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__marker {
  width: 44px;
  height: 44px;
  border: 1px solid #e4e6eb;
  border-radius: 15px;
  background: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .is-active .prk-cv4-progress__marker,
body.prk-checkout-v4 .prk-cv4-progress--parskala .is-done .prk-cv4-progress__marker {
  border-color: rgba(255, 91, 14, .38);
  background: #fff7f2;
}

/* Digikala model: slim white header, red active line and back action */
body.prk-checkout-v4 .prk-cv4-progress--digikala {
  --prk-cv4-progress-accent: #ef394e;
  width: 100%;
  margin-top: 0;
  margin-bottom: 18px;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__inner {
  min-height: 118px;
  padding: 16px 24px 14px;
  border-bottom: 1px solid #f0f0f1;
  background: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__top {
  width: min(100%, 1060px);
  margin-inline: auto;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__steps {
  width: min(100%, 760px);
  margin-inline: auto;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(-50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: #d7d7dc;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__step.is-active:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__step.is-done:not(:last-child)::before {
  background: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__marker {
  width: 42px;
  height: 42px;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__glyph {
  font-size: 27px;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__copy b {
  font-size: 12px;
  color: #81858b;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .is-active .prk-cv4-progress__copy b,
body.prk-checkout-v4 .prk-cv4-progress--digikala .is-done .prk-cv4-progress__copy b {
  color: var(--prk-cv4-progress-accent);
}

/* Basalam model: boxed orange timeline with right-side back/title feeling */
body.prk-checkout-v4 .prk-cv4-progress--basalam {
  --prk-cv4-progress-accent: var(--prk-color-primary, #ff5b0e);
}

body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__inner {
  min-height: 112px;
  padding: 18px 28px 16px;
  border: 1px solid #e0e0e2;
  border-radius: 14px;
  background: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__steps {
  width: min(100%, 820px);
  margin-inline: auto;
}

body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(-50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: #d8dbe1;
}

body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__step.is-active:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__step.is-done:not(:last-child)::before {
  background: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__marker {
  width: 44px;
  height: 44px;
}

body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__glyph {
  font-size: 25px;
}

/* Banimode model: minimal centered green icon line with logo support */
body.prk-checkout-v4 .prk-cv4-progress--banimode {
  --prk-cv4-progress-accent: #009b63;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 22px;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__inner {
  min-height: 132px;
  padding: 18px 24px 12px;
  border-bottom: 1px solid #f0f0f1;
  background: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__top {
  margin-bottom: 14px;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__steps {
  width: min(100%, 720px);
  margin-inline: auto;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(-50% + 34px);
  width: calc(100% - 68px);
  height: 2px;
  background: #e5e7eb;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__step.is-active:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__step.is-done:not(:last-child)::before {
  background: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__marker {
  width: 46px;
  height: 46px;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__glyph {
  font-size: 28px;
}

body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__copy b {
  font-size: 12px;
}

/* Mobit model: numbered tab progress */
body.prk-checkout-v4 .prk-cv4-progress--mobit {
  --prk-cv4-progress-accent: #377dff;
  width: min(100%, 900px);
  margin-top: 18px;
  margin-bottom: 18px;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__inner {
  padding: 0;
  background: transparent;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__steps {
  gap: 4px;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step::before {
  display: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__link {
  min-height: 44px;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d9dce2;
  border-radius: 7px;
  background: #f7f7f8;
  color: #0c0c0c;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__marker {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #e6e7eb;
  color: #62666d;
  font-size: 12px;
  font-weight: 900;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__marker > * {
  display: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__marker::before {
  content: attr(data-progress-number);
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__copy b {
  color: #111827;
  font-size: 12px;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__copy small {
  display: none;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step.is-active .prk-cv4-progress__link {
  border-color: var(--prk-cv4-progress-accent);
  background: #f0f6ff;
  color: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step.is-active .prk-cv4-progress__marker,
body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step.is-done .prk-cv4-progress__marker {
  background: var(--prk-cv4-progress-accent);
  color: #fff;
}

body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step.is-active .prk-cv4-progress__copy b,
body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step.is-done .prk-cv4-progress__copy b {
  color: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress.no-subtitles .prk-cv4-progress__copy small {
  display: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress:not(.has-back) .prk-cv4-progress__top {
  grid-template-columns: 1fr auto 1fr;
}

@media (max-width: 767px) {
  body.prk-checkout-v4 .prk-cv4-progress {
    width: 100%;
    padding-inline: 10px;
    margin-top: 10px;
    margin-bottom: 12px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__inner,
  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__inner,
  body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__inner,
  body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__inner,
  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__inner {
    min-height: 0;
    padding: 10px 5px 12px;
    border-radius: 12px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__inner,
  body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__inner {
    border: 1px solid #f0f0f1;
  }

  body.prk-checkout-v4 .prk-cv4-progress__top {
    min-height: 32px;
    margin-bottom: 8px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__logo {
    display: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress__back {
    font-size: 11px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__steps,
  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__steps,
  body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__steps,
  body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__steps,
  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__steps {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress__steps::-webkit-scrollbar {
    display: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress__step {
    flex: 0 0 auto;
    width: 96px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--mobit .prk-cv4-progress__step {
    width: 128px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__step:not(:last-child)::before,
  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__step:not(:last-child)::before,
  body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__step:not(:last-child)::before,
  body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__step:not(:last-child)::before,
  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step:not(:last-child)::before {
    top: 20px;
    left: -28px;
    width: 46px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__marker,
  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__marker,
  body.prk-checkout-v4 .prk-cv4-progress--basalam .prk-cv4-progress__marker,
  body.prk-checkout-v4 .prk-cv4-progress--banimode .prk-cv4-progress__marker,
  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__marker {
    width: 38px;
    height: 38px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__glyph {
    font-size: 20px;
  }

  body.prk-checkout-v4 .prk-cv4-progress__copy b {
    font-size: 11px !important;
  }

  body.prk-checkout-v4 .prk-cv4-progress__copy small {
    display: none !important;
  }
}


/* Checkout V4 progress exact model correction: Digikala + ParsKala default */
body.prk-checkout-v4 .prk-cv4-progress--parskala {
  --prk-cv4-progress-accent: var(--prk-cv4-primary, #ff5b0e);
  width: 100%;
  margin: 70px auto 18px;
  padding: 0 24px;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__inner {
  min-height: 128px;
  padding: 16px 24px 15px;
  border: 0;
  border-radius: 0;
  /* border-bottom: 1px solid #f0f0f1; */
  background: #fff;
  box-shadow: none;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__top {
  width: min(100%, 980px);
  min-height: 34px;
  margin: 0 auto 7px;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__logo img,
body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__logo svg {
  max-height: 42px;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__steps {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 0;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step {
  color: #a1a3a8;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step:not(:last-child)::before {
  top: 22px;
  left: calc(-50% + 34px);
  width: calc(100% - 68px);
  height: 2px;
  background: #d7d8de;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step.is-active:not(:last-child)::before,
body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step.is-done:not(:last-child)::before {
  background: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__marker,
body.prk-checkout-v4 .prk-cv4-progress--parskala .is-active .prk-cv4-progress__marker,
body.prk-checkout-v4 .prk-cv4-progress--parskala .is-done .prk-cv4-progress__marker {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: currentColor;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__glyph {
  font-size: 27px;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__copy b {
  color: #81858b;
  font-size: 12px;
  font-weight: 900;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__copy small {
  color: #a1a3a8;
  font-size: 11px;
  font-weight: 600;
}

body.prk-checkout-v4 .prk-cv4-progress--parskala .is-active .prk-cv4-progress__copy b,
body.prk-checkout-v4 .prk-cv4-progress--parskala .is-done .prk-cv4-progress__copy b {
  color: var(--prk-cv4-progress-accent);
}

body.prk-checkout-v4 .prk-cv4-progress--digikala {
  --prk-cv4-progress-accent: #ef4056;
  width: min(100% - 48px, 1180px);
  margin: 14px auto 12px;
  padding: 0;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__inner {
  min-height: 53px;
  padding: 0 18px;
  border: 1px solid #e0e0e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  display: block;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__top {
  width: 100%;
  min-height: 53px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__logo {
  grid-column: 2;
  min-width: 104px;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__logo img,
body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__logo svg {
  max-height: 34px;
  width: auto;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__back {
  grid-column: 3;
  justify-self: end;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0c0c0c;
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 7px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__back i {
  order: 2;
  font-size: 22px;
  line-height: 1;
  color: #424750;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__back span {
  order: 1;
  color: inherit;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__back:hover {
  color: #0c0c0c;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__steps {
  display: none !important;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala.no-logo .prk-cv4-progress__top {
  grid-template-columns: 1fr;
}

body.prk-checkout-v4 .prk-cv4-progress--digikala.no-logo .prk-cv4-progress__back {
  grid-column: 1;
}

@media (max-width: 767px) {
  body.prk-checkout-v4 .prk-cv4-progress--parskala {
    width: 100%;
    padding-inline: 10px;
    margin: 8px auto 12px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__inner {
    min-height: 74px;
    padding: 10px 5px 12px;
    border: 0;
    /* border-bottom: 1px solid #f0f0f1; */
    border-radius: 0;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__top {
    display: none;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__steps {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step {
    flex: 0 0 auto;
    width: 80px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__step:not(:last-child)::before {
    top: 19px;
    left: -19px;
    width: 34px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__marker,
  body.prk-checkout-v4 .prk-cv4-progress--parskala .is-active .prk-cv4-progress__marker,
  body.prk-checkout-v4 .prk-cv4-progress--parskala .is-done .prk-cv4-progress__marker {
    width: 38px;
    height: 38px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--parskala .prk-cv4-progress__glyph {
    font-size: 22px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--digikala {
    width: calc(100% - 20px);
    margin: 8px auto 10px;
    padding: 0;
  }

  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__inner {
    min-height: 48px;
    padding: 0 12px;
    border-radius: 8px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__top {
    min-height: 48px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__back {
    min-height: 36px;
    font-size: 13px;
  }

  body.prk-checkout-v4 .prk-cv4-progress--digikala .prk-cv4-progress__back i {
    font-size: 20px;
  }
}


/* Checkout V4: stable one-page / two-column flow */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two {
  grid-template-columns: minmax(290px, 330px) minmax(0, 1fr) !important;
  grid-template-areas:
    "side main" !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-main {
  grid-area: main !important;
  display: flex !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-side {
  grid-area: side !important;
  display: block !important;
  position: sticky !important;
  top: 122px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-payment-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-step-actions,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-payment-summary-meta,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two [data-prk-cv4-payment-back] {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-card--payment-methods {
  scroll-margin-top: 120px;
}

@media (max-width: 991px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-side {
    position: static !important;
    order: 20;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-main {
    order: 10;
  }
}

/* Checkout V4: native WooCommerce fields as address section when address book is disabled */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-zone-address {
  padding: 20px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-zone-fields {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-card {
  width: 100%;
  padding: 18px !important;
  border: 1px solid var(--prk-cv4-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .col-1,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-billing-fields > h3,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-shipping-fields > h3,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-additional-fields > h3 {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-billing-fields__field-wrapper,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-shipping-fields__field-wrapper,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-additional-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-wide {
  grid-column: 1 / -1;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-first {
  grid-column: 1 / 2;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-last {
  grid-column: 2 / 3;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details label {
  display: block;
  margin: 0 0 7px;
  color: #424750;
  font-size: 12px;
  font-weight: 800;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .input-text,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details select,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea {
  min-height: 92px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-shipping-fields,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-additional-fields {
  margin-top: 14px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-form__label-for-checkbox,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .checkbox {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-zone-address,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-card {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-billing-fields__field-wrapper,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-shipping-fields__field-wrapper,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Checkout V4: native fields + multi-step payment layout hard fix */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi .prk-cv4-checkout-payment-main {
  grid-area: payment;
  direction: rtl;
  min-width: 0;
  display: none !important;
  flex-direction: column;
  gap: 14px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-details-step .prk-cv4-checkout-payment-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-details-step [data-prk-cv4-payment-main] {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step {
  grid-template-columns: minmax(290px, 330px) minmax(0, 720px) !important;
  grid-template-areas: "side payment" !important;
  justify-content: center !important;
  align-items: start !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step [data-prk-cv4-checkout-main] {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-payment-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step [data-prk-cv4-payment-main] {
  display: flex !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-side {
  grid-area: side !important;
  position: sticky !important;
  top: 122px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-card--payment-methods,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-card--coupon,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-card--order-summary {
  width: 100%;
  padding: 18px !important;
  border: 1px solid var(--prk-cv4-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two .prk-cv4-checkout-payment-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two [data-prk-cv4-payment-main] {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn,
body.prk-checkout-v4--checkout-ui button.prk-cv4-side-summary__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  height: 52px;
  border: 0 !important;
  border-radius: 10px !important;
  margin-top: 12px !important;
  background: linear-gradient(221.11deg, var(--prk-cv4-checkout-primary, #ff5b0e) 10.52%, var(--prk-cv4-checkout-primary-2, #ff7a1a) 93.97%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn.is-payment,
body.prk-checkout-v4--checkout-ui button.prk-cv4-side-summary__btn.is-payment {
  background: linear-gradient(221.11deg, var(--prk-cv4-checkout-primary, #ff5b0e) 10.52%, var(--prk-cv4-checkout-primary-2, #ff7a1a) 93.97%) !important;
  color: #fff !important;
  border: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn.is-delivery-required,
body.prk-checkout-v4--checkout-ui button.prk-cv4-side-summary__btn.is-delivery-required {
  background: #fff !important;
  color: var(--prk-cv4-checkout-primary, #ff5b0e) !important;
  border: 1px solid var(--prk-cv4-checkout-primary, #ff5b0e) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn.is-loading {
  color: transparent !important;
}

@media (max-width: 991px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-payment-main {
    order: 10;
    width: 100%;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step .prk-cv4-checkout-side {
    order: 20;
    position: static !important;
    width: 100%;
  }
}

/* Checkout V4: address-book + multi-step payment grid hard fix */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two),
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) {
  display: grid !important;
  grid-template-areas: "side payment" !important;
  gap: 16px !important;
  align-items: start !important;
  justify-content: center !important;
  direction: ltr !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > [data-prk-cv4-checkout-main],
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-main,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > [data-prk-cv4-checkout-main] {
  display: none !important;
  grid-area: unset !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-side,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-side {
  grid-area: side !important;
  position: sticky !important;
  top: 122px !important;
  align-self: start !important;
  direction: rtl !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-payment-main,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > [data-prk-cv4-payment-main],
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-payment-main,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > [data-prk-cv4-payment-main] {
  grid-area: payment !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-self: start !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  direction: rtl !important;
}

@media (max-width: 991px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two),
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-payment-main,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > [data-prk-cv4-payment-main],
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-payment-main,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > [data-prk-cv4-payment-main] {
    order: 10 !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-side,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-checkout-layout--multi.is-payment-step:not(.prk-cv4-checkout-layout--two) > .prk-cv4-checkout-side {
    order: 20 !important;
    position: static !important;
  }
}

/* Checkout V4 payment methods: visual list like gateway selector */
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment.prk-cv4-checkout-payment-card,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment.prk-cv4-checkout-payment-card {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item {
  position: relative !important;
  min-height: 92px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item:hover,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item:hover,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item.is-selected,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item.is-selected,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item:has(input.input-radio:checked),
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item:has(input.input-radio:checked) {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item.is-prk-cv4-collapsed,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item.is-prk-cv4-collapsed {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio {
  position: absolute !important;
  top: 26px !important;
  right: 10px !important;
  z-index: 3 !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #424750 !important;
  border-radius: 999px !important;
  outline: none !important;
  background: #fff !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio::before {
  display: none !important;
  content: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio:checked,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio:checked {
  border-color: #1976d2 !important;
  background:
    radial-gradient(circle, #1976d2 0 5px, transparent 5.5px),
    #fff !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment label.prk-cv4-payment-method,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment label.prk-cv4-payment-method {
  width: 100% !important;
  min-height: 92px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  direction: rtl !important;
  margin: 0 !important;
  padding: 22px 56px 18px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #23254e !important;
  line-height: normal !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: -1px !important;
  color: #a1a3a8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment li.is-selected .prk-cv4-payment-method__icon,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment li.is-selected .prk-cv4-payment-method__icon,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment li:has(input.input-radio:checked) .prk-cv4-payment-method__icon,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment li:has(input.input-radio:checked) .prk-cv4-payment-method__icon {
  color: #1976d2 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon::before {
  content: "";
  width: 28px;
  height: 28px;
  display: block;
  background: currentColor;
  -webkit-mask: url("icons/cardCredit.svg") center / contain no-repeat;
  mask: url("icons/cardCredit.svg") center / contain no-repeat;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon.has-image::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon.has-image::before {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--wallet::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--wallet::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2H18a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2v10a3 3 0 0 1-3 3H5a4 4 0 0 1-4-4V5.5h3ZM3 5.5V17a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1V8H5.5A2.5 2.5 0 0 1 3 5.5ZM5.5 6H18V4H7.5A1.5 1.5 0 0 0 6 5.5c0 .276-.224.5-.5.5ZM17 13.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2H18a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2v10a3 3 0 0 1-3 3H5a4 4 0 0 1-4-4V5.5h3ZM3 5.5V17a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1V8H5.5A2.5 2.5 0 0 1 3 5.5ZM5.5 6H18V4H7.5A1.5 1.5 0 0 0 6 5.5c0 .276-.224.5-.5.5ZM17 13.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z'/%3E%3C/svg%3E");
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--cash::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--cash::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 2v10h18V7H3Zm9 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm-7 1h3v2H5v-2Zm11 2h3v2h-3v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 2v10h18V7H3Zm9 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm-7 1h3v2H5v-2Zm11 2h3v2h-3v-2Z'/%3E%3C/svg%3E");
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--check::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--check::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 6.3 9.5 18.5 2.3 11.3l1.4-1.4 5.8 5.8L20.3 4.9l1.4 1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 6.3 9.5 18.5 2.3 11.3l1.4-1.4 5.8 5.8L20.3 4.9l1.4 1.4Z'/%3E%3C/svg%3E");
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--paypal::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__icon--paypal::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.6 3h7.15c3.32 0 5.25 1.92 4.77 4.88-.58 3.56-3.05 5.37-6.76 5.37h-2.2L10.78 18H6.9L8.6 3Zm3.58 3-.5 4.25h2.3c1.54 0 2.45-.75 2.65-2.13.2-1.36-.55-2.12-2.03-2.12h-2.42ZM6.8 8h3.83L9.25 21H5.1L6.8 8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.6 3h7.15c3.32 0 5.25 1.92 4.77 4.88-.58 3.56-3.05 5.37-6.76 5.37h-2.2L10.78 18H6.9L8.6 3Zm3.58 3-.5 4.25h2.3c1.54 0 2.45-.75 2.65-2.13.2-1.36-.55-2.12-2.03-2.12h-2.42ZM6.8 8h3.83L9.25 21H5.1L6.8 8Z'/%3E%3C/svg%3E");
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__img,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  opacity: .58;
  filter: grayscale(1);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment li.is-selected .prk-cv4-payment-method__img,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment li.is-selected .prk-cv4-payment-method__img,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment li:has(input.input-radio:checked) .prk-cv4-payment-method__img,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment li:has(input.input-radio:checked) .prk-cv4-payment-method__img {
  opacity: 1;
  filter: none;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__body,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__body {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: right;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__title,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__title {
  display: block;
  max-width: 100%;
  color: #23254e !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__desc,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__desc {
  display: block;
  max-width: 100%;
  color: #81858b !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment div.payment_box.prk-cv4-payment-native-box,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment div.payment_box.prk-cv4-payment-native-box {
  margin: 0 56px 16px 12px !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f7f7f8 !important;
  color: #69707d !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment div.payment_box.prk-cv4-payment-native-box::before,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment div.payment_box.prk-cv4-payment-native-box::before {
  display: none !important;
  content: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment div.payment_box.prk-cv4-payment-box--only-description,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment div.payment_box.prk-cv4-payment-box--only-description {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-more,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-more {
  width: 100% !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-top: 1px solid #f0f0f1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #69707d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-more i,
body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-more i {
  color: #81858b !important;
  font-size: 19px !important;
  line-height: 1 !important;
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment ul.payment_methods.prk-cv4-payment-methods-list li.wc_payment_method.prk-cv4-payment-method-item {
    min-height: 86px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment label.prk-cv4-payment-method,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment label.prk-cv4-payment-method {
    min-height: 86px !important;
    padding: 19px 50px 16px 8px !important;
    gap: 11px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio,
  body.prk-checkout-v4--checkout-multi_step .prk-cv4-payment-methods-mount #payment .prk-cv4-payment-method__radio {
    right: 8px !important;
    top: 24px !important;
  }
}

/* Checkout V4: mobile/tablet fixed payment bar + summary details bottom sheet */
body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar--checkout {
  display: none;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__rows {
  display: flex;
  flex-direction: column;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__note.is-hidden {
  display: none !important;
}

@media (max-width: 1023px) {
  .prk-cv4-checkout-items__nav {
    display: none !important;
  }
  
  body.prk-checkout-v4--checkout-ui {
    padding-bottom: calc(110px + var(--prk-mobile-nav-height, 64px) + env(safe-area-inset-bottom, 0px));
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side > .prk-cv4-checkout-zone-side > .prk-cv4-side-summary {
    display: none !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-side {
    position: static !important;
    display: none !important;
  }
  
  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar--checkout {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 999;
    width: 100%;
    min-height: 76px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, .10);
    direction: ltr;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar--checkout > * {
    direction: rtl;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details {
    min-width: 0;
    display: flex;    
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    cursor: pointer;
  }
  
  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__text {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details span {
    color: #626975;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details i {
    color: #626975;
    font-size: 18px;
    line-height: 1;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details b {
    max-width: 100%;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit {
    width: 50%;
    height: 54px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(221.11deg, var(--prk-cv4-checkout-primary, #ff5b0e) 10.52%, var(--prk-cv4-checkout-primary-2, #ff7a1a) 93.97%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 1000;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit.is-delivery-required {
    border: 1px solid var(--prk-cv4-checkout-primary, #ff5b0e);
    background: #fff;
    color: var(--prk-cv4-checkout-primary, #ff5b0e) !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit.is-loading,
  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit:disabled {
    cursor: wait;
    opacity: .75;
    pointer-events: none;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__box {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 18px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__box header {
    flex: 0 0 auto;
    margin-bottom: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__box h3 {
    font-size: 16px;
    font-weight: 700;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__rows {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-inline: 1px;
    scrollbar-width: thin;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__row {
    min-height: 42px;
    border-bottom: 1px solid #f0f0f1;
    font-size: 13px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__row b {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__row.is-total {
    position: sticky;
    bottom: 0;
    z-index: 2;
    min-height: 50px;
    margin-top: 4px;
    padding-top: 10px;
    border: 0;
    background: #fff;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__row.is-total b {
    font-size: 15px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__note {
    flex: 0 0 auto;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.9;
    font-weight: 400;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__ok {
    flex: 0 0 auto;
    min-height: 44px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
  }
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui {
    padding-bottom: calc(102px + var(--prk-mobile-nav-height, 64px) + env(safe-area-inset-bottom, 0px));
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar--checkout {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 46%);
    gap: 9px;
    padding: 9px 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details,
  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit {
    height: 52px;
    min-height: 52px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details span {
    font-size: 11.5px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details b {
    font-size: 14px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit {
    border-radius: 10px;
    font-size: 13px;
  }

  body.prk-checkout-v4--checkout-ui .prk-modal.prk-cv4-summary-details-modal {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-summary-details-modal__box {
    border-radius: 18px 18px 0 0 !important;
    max-height: min(78vh, 620px);
  }
}

@media (max-width: 380px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar--checkout {
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 8px;
    padding-inline: 10px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__details b {
    font-size: 13px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-mobile-paybar__submit {
    font-size: 12px;
    padding-inline: 10px;
  }
}

/* Checkout V4: native WooCommerce address fallback parity with address-book UI */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone-address,
body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary {
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone-address {
  padding: 18px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-zone-fields {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card__head,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-zone-address > .prk-cv4-checkout-section-title {
  margin: 0 0 14px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  color: var(--prk-cv4-checkout-text, #0c0c0c) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title i {
  color: var(--prk-cv4-checkout-primary, #ff5b0e) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title strong {
  font-family: prk-title, prk-font, sans-serif !important;
  color: var(--prk-cv4-checkout-text, #0c0c0c) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.9 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary {
  padding: 16px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__head {
  margin: 0 0 10px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__head-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--prk-cv4-checkout-primary, #ff5b0e);
  font-size: 22px;
  line-height: 1;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__head strong {
  font-family: prk-title, prk-font, sans-serif !important;
  color: #0c0c0c !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row {
  min-height: 42px !important;
  border-bottom: 1px solid #f0f0f1 !important;
  color: #81858b !important;
  font-size: 12px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row b {
  color: #3f4064 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row.is-total {
  border-bottom: 0 !important;
  padding-top: 6px !important;
  color: #0c0c0c !important;
  font-weight: 600 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row.is-total b {
  color: #0c0c0c !important;
  font-size: 16px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__btn,
body.prk-checkout-v4--checkout-ui button.prk-cv4-side-summary__btn {
  min-height: 52px !important;
  border-radius: 10px !important;
  margin-top: 12px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-checkout-zone-address {
  overflow: visible !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .col-1,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-billing-fields > h3,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-shipping-fields > h3,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-additional-fields > h3 {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-billing-fields__field-wrapper,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-shipping-fields__field-wrapper,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-additional-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 10px !important;
  overflow: visible !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-wide {
  grid-column: 1 / -1 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-first {
  grid-column: 1 / 2 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-last {
  grid-column: 2 / 3 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
  display: block !important;
  margin: 0 0 8px !important;
  color: #374151 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 2.15 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details label .required,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details label abbr.required {
  color: #ef233c !important;
  font-style: normal !important;
  margin-right: 4px !important;
  text-decoration: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .input-text,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input[type="text"],
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input[type="email"],
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input[type="tel"],
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input[type="number"],
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input[type="password"],
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details select,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  border: 1px solid #cfd3da !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #23254e !important;
  padding: 10px 14px !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea {
  min-height: 96px !important;
  resize: vertical !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .input-text:focus,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input:focus,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details select:focus,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea:focus,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .select2-container .select2-selection--single:focus {
  border-color: #19bfd3 !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-invalid .input-text,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-invalid select,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-invalid textarea,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-invalid .prk-cv4-custom-select__toggle {
  border-color: #d32f2f !important;
  caret-color: #d32f2f !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address select.prk-cv4-native-select--customized + .select2,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address select.prk-cv4-native-select--customized + .select2-container,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .select2-container--default.select2-container--open:not(.prk-cv4-custom-select) {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .prk-cv4-custom-select__toggle,
body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__toggle {
  min-height: 48px !important;
  height: 48px !important;
  border: 1px solid #cfd3da !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #23254e !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select.is-open .prk-cv4-custom-select__toggle,
body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__toggle:focus {
  border-color: #19bfd3 !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__panel {
  z-index: 1000 !important;
  border-color: #e0e0e2 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__search {
  height: 40px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__option,
body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__empty {
  font-size: 13px !important;
  line-height: 1.9 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-shipping-fields,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-additional-fields {
  margin-top: 18px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #ship-to-different-address,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #ship-to-different-address label,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-form__label-for-checkbox,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .checkbox {
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #3f4064 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input[type="checkbox"],
body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  accent-color: var(--prk-cv4-checkout-primary, #ff5b0e);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list input[type="radio"] {
  position: absolute !important;
  top: 20px !important;
  right: 18px !important;
  z-index: 2 !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 2px solid #424750 !important;
  border-radius: 999px !important;
  background: #fff !important;
  cursor: pointer !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list input[type="radio"]:checked {
  border-color: var(--prk-cv4-checkout-primary, #ff5b0e) !important;
  background: radial-gradient(circle, var(--prk-cv4-checkout-primary, #ff5b0e) 0 4px, transparent 4.5px), #fff !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list label {
  width: 100% !important;
  min-height: 86px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2) !important;
  border-radius: 12px !important;
  padding: 16px 48px 16px 16px !important;
  background: #fff !important;
  color: #23254e !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
  cursor: pointer !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list li:has(input:checked) label {
  border-color: var(--prk-cv4-checkout-primary, #ff5b0e) !important;
  /* background: #fff7f5 !important; */
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--cart-items,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--note,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--coupon,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--order-summary,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--shipping,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--delivery-date {
  overflow: hidden;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-mount textarea,
body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-field textarea {
  min-height: 96px !important;
  border: 1px solid #cfd3da !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__toggle,
body.prk-checkout-v4--checkout-ui .prk-cv4-order-summary__toggle {
  color: #1a73e8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text strong {
  color: #0c0c0c !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text small,
body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text span {
  color: #81858b !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-code] {
  min-height: 44px !important;
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2) !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply] {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 10px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item {
  min-width: 0 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item__body strong,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item strong,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-item__body span,
body.prk-checkout-v4--checkout-ui .prk-cv4-payment-summary-item span,
body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row span,
body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary__row b {
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--two,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--multi.is-payment-step {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-payment-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone-address,
  body.prk-checkout-v4--checkout-ui .prk-cv4-side-summary {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title {
    gap: 9px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title strong {
    font-size: 14px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__icon,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title__glyph,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-section-title i {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: 20px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-billing-fields__field-wrapper,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-shipping-fields__field-wrapper,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-first,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row-last {
    grid-column: 1 / -1 !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .input-text,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details input,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details select,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea,
  body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__toggle {
    min-height: 44px !important;
    height: 44px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details textarea,
  body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-mount textarea,
  body.prk-checkout-v4--checkout-ui .prk-cv4-order-note-field textarea {
    min-height: 84px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list label {
    min-height: 72px !important;
    padding: 13px 44px 13px 13px !important;
    font-size: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-shipping-methods__list input[type="radio"] {
    top: 14px !important;
    right: 14px !important;
    width: 17px !important;
    height: 17px !important;
  }
  
  .prk-cv4-shell, .prk-cv4-progress {
    padding-inline: 0;
  }
  
  body.prk-checkout-v4--checkout-ui .continer {
    width: 98% !important;
  }
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-shell--checkout {
    padding-inline: 10px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card,
  body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-main > .prk-cv4-checkout-zone-address {
    padding: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply] {
    width: 100% !important;
  }
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address select.prk-cv4-native-select--customized ~ .select2,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address select.prk-cv4-native-select--customized ~ .select2-container {
  display: none !important;
}

/* Checkout V4: robust native state/city custom select click layer */
body.prk-checkout-v4--checkout-ui .prk-cv4-form-row-has-custom-select,
body.prk-checkout-v4--checkout-ui .prk-cv4-form-row-has-custom-select .woocommerce-input-wrapper {
  position: relative !important;
  overflow: visible !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select {
  position: relative !important;
  z-index: 30 !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select-field-open,
body.prk-checkout-v4--checkout-ui .prk-cv4-form-row-has-custom-select.prk-cv4-custom-select-field-open {
  z-index: 1005 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select.is-open {
  z-index: 1010 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__toggle,
body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__panel,
body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__search,
body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__option {
  pointer-events: auto !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-custom-select__panel {
  z-index: 1020 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address select.prk-cv4-native-select--customized ~ .select2,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address select.prk-cv4-native-select--customized ~ .select2-container,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address .prk-cv4-custom-select2-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------------------------
 * Checkout V4 - Native WooCommerce fields grid clear node fix
 * WooCommerce still prints <div class="clear"></div> inside billing/shipping
 * field wrappers. In the native-address grid layout this node becomes a real
 * grid item and pushes the first/last name fields out of order, so we hide it
 * only inside the Checkout V4 native fields wrappers.
 * -------------------------------------------------------------------------- */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-billing-fields__field-wrapper > .clear,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-shipping-fields__field-wrapper > .clear,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-additional-fields__field-wrapper > .clear,
.prk-checkout-v4.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-billing-fields__field-wrapper > .clear,
.prk-checkout-v4.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-shipping-fields__field-wrapper > .clear,
.prk-checkout-v4.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-additional-fields__field-wrapper > .clear {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clear: none !important;
  float: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden !important;
  visibility: hidden !important;
}


/* --------------------------------------------------------------------------
 * Checkout V4 - wpautop / editor compatibility
 * بعضی صفحه‌سازها خروجی شورتکد Checkout را دوباره wpautop می‌کنند و
 * <p></p> یا <p><br></p> را به‌عنوان آیتم واقعی Grid وارد می‌کنند.
 * JS این گره‌ها را حذف می‌کند و این بلوک از اولین فریم جلوی خراب شدن چیدمان را می‌گیرد.
 * -------------------------------------------------------------------------- */
body.prk-checkout-v4--checkout-ui [data-prk-checkout-v4-shell] p:empty,
body.prk-checkout-v4--checkout-ui form.checkout.woocommerce-checkout p:empty,
body.prk-checkout-v4--checkout-ui #customer_details p:empty,
body.prk-checkout-v4--checkout-ui .woocommerce-billing-fields__field-wrapper > p:empty,
body.prk-checkout-v4--checkout-ui .woocommerce-shipping-fields__field-wrapper > p:empty,
body.prk-checkout-v4--checkout-ui .woocommerce-additional-fields__field-wrapper > p:empty,
#prk-cv4-address-modal p:empty {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
 * Checkout V4 - Login required gate
 * فرم واقعی ورود از تنظیمات هدر (پیامکی یا ووکامرس) داخل مودال مرکزی باز می‌شود.
 * -------------------------------------------------------------------------- */
body.prk-checkout-v4--login-required .woocommerce-form-login-toggle,
body.prk-checkout-v4--login-required form.woocommerce-form-login.login {
  display: none !important;
}

.prk-cv4-shell--login-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(560px, 68vh);
}

.prk-cv4-login-gate {
  width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-inline: auto;
  padding: 34px 28px;
  text-align: center;
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(35, 41, 51, 0.07);
}

.prk-cv4-login-gate__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
  background: rgba(255, 91, 14, 0.09);
  background: color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 10%, #fff);
}

.prk-cv4-login-gate__icon i {
  font-size: 28px;
}

.prk-cv4-login-gate__content h1 {
  margin: 0 0 8px;
  color: #232933;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
}

.prk-cv4-login-gate__content p {
  max-width: 440px;
  margin: 0;
  color: #727780;
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
}

.prk-cv4-login-gate__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 48px;
  margin-top: 4px;
  padding: 10px 24px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.prk-cv4-login-gate__button.br{
  display: none;
}
.prk-cv4-login-gate__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 91, 14, 0.18);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 24%, transparent);
}

.prk-cv4-login-gate__button:focus-visible {
  outline: 3px solid rgba(255, 91, 14, 0.2);
  outline: 3px solid color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 25%, transparent);
  outline-offset: 3px;
}

@media (max-width: 575px) {
  .prk-cv4-shell--login-required {
    min-height: 58vh;
  }

  .prk-cv4-login-gate {
    padding: 28px 18px;
    border-radius: 14px;
  }

  .prk-cv4-login-gate__content h1 {
    font-size: 16px;
  }

  .prk-cv4-login-gate__button {
    width: 100%;
  }
}

/* =========================================================
 * Checkout V4: unified guest login prompt
 * جایگزین فرم قدیمی ورود ووکامرس در تمام حالت‌های Checkout
 * ======================================================= */
body.prk-checkout-v4--checkout-ui
.prk-cv4-shell--checkout > .woocommerce-form-login-toggle,
body.prk-checkout-v4--checkout-ui
.prk-cv4-shell--checkout > form.woocommerce-form-login.login {
  display: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2);
  border-radius: 14px;
  background:
    linear-gradient(
      110deg,
      color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 7%, #fff),
      #fff 48%
    );
  box-shadow: 0 5px 18px rgba(27, 35, 48, 0.035);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
  background: color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 10%, #fff);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__icon i {
  font-size: 21px;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__content strong {
  color: #232933;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__content span {
  color: #7a818c;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.8;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 22%, transparent);
  border-radius: 10px;
  color: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
  background: #fff;
  box-shadow: 0 3px 10px rgba(27, 35, 48, 0.04);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__button:hover {
  color: #fff;
  border-color: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
  background: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e));
  transform: translateY(-1px);
}

body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 20%, transparent);
  outline-offset: 2px;
}

/* =========================================================
 * Checkout V4: unified retail coupon card
 * ظاهر یکسان در multi_step و two_column
 * ======================================================= */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-card--coupon {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--prk-cv4-checkout-line, #e0e0e2) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(27, 35, 48, 0.025);
}





body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text {
  gap: 2px !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text strong {
  color: #232933 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.8 !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__text small {
  color: #858b95 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

/* body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__panel {
  margin: 0 !important;
  padding: 0 15px !important;
  border-top: 0 !important;
  background: #fafbfc;
} */

/* body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__panel.is-open {
  max-height: 280px !important;
  margin: 0 !important;
  padding: 14px 15px 16px !important;
  border-top: 1px solid var(--prk-cv4-checkout-line, #e0e0e2) !important;
} */

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: stretch !important;
  gap: 9px !important;
  width: 100% !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-code] {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 13px !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #232933 !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-code]:focus {
  border-color: var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff5b0e)) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--prk-cv4-checkout-primary, #ff5b0e) 10%, transparent) !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply] {
  width: 108px !important;
  min-width: 108px !important;
  min-height: 46px !important;
  height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* =========================================================
 * Checkout V4 - Native WooCommerce Coupon Form
 * فرم اصلی کد تخفیف ووکامرس
 * ======================================================= */

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: min(
        calc(100% - (var(--prk-page-gap-checkout-desktop, 26px) * 2)),
        var(--prk-page-shell-max-width, 1180px)
    );
    margin: 0 auto 16px !important;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(25, 35, 50, 0.045);
}

/*
 * وقتی فرم توسط ووکامرس نمایش داده شود grid می‌شود.
 * inline display:none ووکامرس همچنان اولویت دارد و فرم مخفی می‌ماند.
 */
body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon:not([style*="display: none"]) {
    display: grid;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
.form-row {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
.form-row-first {
    min-width: 0;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
.form-row-last {
    flex: 0 0 auto;
}

/* ورودی کد تخفیف */
body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
#coupon_code {
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 46px;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box;
    color: #292d35;
    border: 1px solid #dfe2e7;
    border-radius: 10px;
    outline: none;
    background: #fafbfc;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 46px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
#coupon_code::placeholder {
    color: #979eaa;
    opacity: 1;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
#coupon_code:hover {
    border-color: #cfd4dc;
    background: #fff;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
#coupon_code:focus {
    border-color: var(
        --prk-cv4-checkout-primary,
        var(--prk-cv4-primary, #ff5b0e)
    );
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 91, 14, 0.1);
}

/* دکمه اعمال کد */
body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
button[name="apply_coupon"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 46px;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 18px !important;
    box-sizing: border-box;
    white-space: nowrap;
    color: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: none;
    background: var(
        --prk-cv4-checkout-primary,
        var(--prk-cv4-primary, #ff5b0e)
    ) !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
button[name="apply_coupon"]:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(25, 35, 50, 0.1) !important;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
button[name="apply_coupon"]:active {
    transform: translateY(0);
}

/* پاک‌سازی عناصر قدیمی ووکامرس */
body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
.clear {
    display: none !important;
}

body.prk-checkout-v4--checkout-ui
form#woocommerce-checkout-form-coupon.checkout_coupon
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* موبایل */
@media (max-width: 575px) {
    body.prk-checkout-v4--checkout-ui
    form#woocommerce-checkout-form-coupon.checkout_coupon {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        width: calc(
            100% - (var(--prk-page-gap-checkout-mobile, 16px) * 2)
        );
        margin-bottom: 12px !important;
        padding: 12px;
        border-radius: 12px;
    }

    body.prk-checkout-v4--checkout-ui
    form#woocommerce-checkout-form-coupon.checkout_coupon
    button[name="apply_coupon"] {
        width: 100%;
        min-width: 0;
    }
}



@media (max-width: 700px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__icon {
    width: 40px;
    height: 40px;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-login-prompt__button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__toggle {
    min-height: 62px !important;
    padding: 10px 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-card__panel.is-open {
    padding: 12px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form__row {
    grid-template-columns: 1fr !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-coupon-form [data-prk-cv4-coupon-apply] {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ==========================================================================
 * Checkout V4 — Order Pay / Review before gateway
 * بازطراحی هماهنگ با ساختار کلاسیک پارس کالا، بدون تغییر مارکاپ/فرم درگاه
 * ========================================================================== */

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui {
  --prk-order-pay-primary: var(--prk-color-primary, var(--prk-cv4-checkout-primary, var(--prk-cv4-primary, #ff4d2f)));
  --prk-order-pay-on-primary: var(--prk-color-on-primary, var(--prk-color-on-gradient, #fff));
  --prk-order-pay-text: var(--prk-color-text, #232933);
  --prk-order-pay-muted: var(--prk-color-text-muted, #81858f);
  --prk-order-pay-border: #e3e5e8;
  --prk-order-pay-icon: #dedfe2;
  --prk-order-pay-surface: var(--prk-color-surface, #fff);
}

/* خود ووکامرس در order-pay فقط notices + order_details + فرم درگاه را چاپ می‌کند. */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 285px);
  grid-template-areas:
    "notice notice"
    "details payment";
  align-items: stretch;
  gap: 0 28px;
  width: 100%;
  margin: 60px auto 56px;
  padding: 20px 22px;
  box-sizing: border-box;
  border: 1px solid var(--prk-order-pay-border);
  border-radius: 12px;
  background: var(--prk-order-pay-surface);
  box-shadow: 0 3px 14px rgba(31, 35, 48, 0.025);
  direction: rtl;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > .woocommerce-notices-wrapper {
  grid-area: notice;
  min-width: 0;
}

/* خلاصه سفارش — همان حس نسخه قدیمی: آیکن بزرگ + متن زیر آن */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details {
  grid-area: details;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details::before,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 180px;
  margin: 0 !important;
  padding: 12px 20px !important;
  float: none !important;
  clear: none !important;
  color: var(--prk-order-pay-text);
  border: 0 !important;
  border-left: 1px dashed #dfe1e5 !important;
  text-align: center;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
  white-space: normal;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li:last-child {
  border-left: 0 !important;
}

/* سری آیکن رسمی ParsKala / parsfont */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 2px auto 13px;
  color: var(--prk-order-pay-icon);
  font-family: 'parsfont' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 72px;
}

/* prk-receipt-text */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.order::before { content: "\eb9c"; }

/* prk-calendar-2 */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.date::before { content: "\e990"; }

/* prk-wallet-money */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.total::before { content: "\ec7a"; }

/* prk-card-pos */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.method::before { content: "\e9a9"; }

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li strong {
  display: block !important;
  max-width: 100%;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: #30333a !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  overflow-wrap: anywhere;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.total strong,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.total strong *,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.total .woocommerce-Price-amount,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.total .woocommerce-Price-currencySymbol {
  color: #30333a !important;
  font-size: 13px;
  font-weight: 700;
}

/* فرم خام افزونه درگاه — action/name/value بدون تغییر می‌ماند. */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) {
  grid-area: payment;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 18px 4px !important;
  box-sizing: border-box;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) input[type="submit"],
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) button[type="submit"],
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 175px);
  min-width: 150px;
  min-height: 56px;
  margin: 8px 0 !important;
  padding: 13px 28px !important;
  box-sizing: border-box;
  color: var(--prk-order-pay-on-primary) !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  outline: 0;
  background: var(--prk-order-pay-primary) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) input[type="submit"]:hover,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) button[type="submit"]:hover,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) .button:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(30, 34, 48, .08) !important;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > form:not(.checkout_coupon) .cancel {
  color: var(--prk-order-pay-primary) !important;
  border-color: var(--prk-order-pay-primary) !important;
  background: #fff !important;
}

body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > .clear { display: none !important; }

/* اگر نسخه آزمایشی قبلی در کش مانده بود، تزئینات آن مزاحم نشوند. */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .prk-cv4-order-pay__hero,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .prk-cv4-order-pay__gateway-head,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .prk-cv4-order-pay__secure-note,
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .prk-cv4-order-pay__submit-icon {
  display: none !important;
}

@media (max-width: 1024px) {
  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 0 18px;
    padding: 18px;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details > li {
    min-height: 160px;
    padding-inline: 12px !important;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details > li::before {
    width: 64px;
    height: 64px;
    font-size: 60px;
  }
}

@media (max-width: 767px) {
  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "notice"
      "details"
      "payment";
    gap: 14px;
    margin: 16px auto 34px;
    padding: 14px;
    border-radius: 12px;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #eceef1 !important;
    border-radius: 10px;
    overflow: hidden;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details > li {
    min-height: 138px;
    padding: 12px 8px !important;
    border-left: 1px solid #eceef1 !important;
    border-bottom: 1px solid #eceef1 !important;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details > li:nth-child(2n) {
    border-left: 0 !important;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details > li:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > ul.order_details > li::before {
    width: 52px;
    height: 52px;
    margin-bottom: 9px;
    font-size: 48px;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > form:not(.checkout_coupon) {
    padding: 2px 0 0 !important;
  }

  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > form:not(.checkout_coupon) input[type="submit"],
  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > form:not(.checkout_coupon) button[type="submit"],
  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui .continer > .woocommerce > form:not(.checkout_coupon) .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
  }
}

/* روش پرداخت در نسخه کلاسیک به‌عنوان آیتم فعال برجسته می‌شود. */
body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
.continer > .woocommerce > ul.order_details > li.method::before {
  color: var(--prk-order-pay-on-primary);
  background: var(--prk-order-pay-primary);
  border-radius: 50%;
  font-size: 46px;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--prk-order-pay-primary) 22%, transparent);
}

@supports not (background: color-mix(in srgb, #000 50%, #fff)) {
  body.woocommerce-order-pay.prk-checkout-v4--checkout-ui
  .continer > .woocommerce > ul.order_details > li.method::before {
    box-shadow: 0 5px 14px rgba(31, 35, 48, .08);
  }
}

/* --------------------------------------------------------------------------
 * Checkout V4 - provider-owned state/city, ParsKala visual adapter
 * Keep WooCommerce/Persian WooCommerce as the data owner while preventing
 * SelectWoo/body dropdowns or grid min-content from creating horizontal scroll.
 * -------------------------------------------------------------------------- */
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .form-row,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .woocommerce-input-wrapper,
body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .prk-cv4-custom-select,
#prk-cv4-address-modal .prk-cv4-field,
#prk-cv4-address-modal .prk-cv4-custom-select {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .prk-cv4-custom-select__panel,
#prk-cv4-address-modal .prk-cv4-custom-select__panel {
  inset-inline: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .prk-cv4-custom-select__search,
#prk-cv4-address-modal .prk-cv4-custom-select__search {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-checkout-layout--native-address #customer_details .prk-cv4-custom-select__options,
#prk-cv4-address-modal .prk-cv4-custom-select__options {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* =========================================================
 * Checkout V4 - Invoice fallback parity
 * Keep the server-side fallback visually identical to the
 * native WooCommerce invoice checkbox when the native block
 * is not available yet.
 * ======================================================= */
body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 10px 13px !important;
  overflow: hidden;
  color: #3b424d;
  border: 1px solid #f0f0f1;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.8;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback__label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback .optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-right: auto;
  padding: 2px 8px;
  color: var(--prk-invoice-muted, #7b8493);
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback
.prk-cv4-invoice-fallback__checkbox {
  position: relative;
  display: grid !important;
  place-items: center;
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 2px solid #cfd4dc !important;
  border-radius: 8px !important;
  outline: none;
  background: #fff !important;
  box-shadow:
    0 1px 2px rgba(20, 30, 45, 0.05),
    inset 0 0 0 0 var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e));
  cursor: pointer;
  font-size: 0 !important;
  vertical-align: middle;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback
.prk-cv4-invoice-fallback__checkbox::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.3);
  transform-origin: center;
  transition:
    opacity 0.16s ease,
    transform 0.24s cubic-bezier(0.2, 1.5, 0.5, 1);
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback
.prk-cv4-invoice-fallback__checkbox:hover {
  border-color: var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) !important;
  transform: scale(1.04);
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback
.prk-cv4-invoice-fallback__checkbox:focus-visible {
  border-color: var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 13%, transparent);
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback
.prk-cv4-invoice-fallback__checkbox:checked {
  border-color: var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) !important;
  background: var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) !important;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 10%, transparent),
    0 5px 12px color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 20%, transparent);
  animation: prkInvoiceCheckboxPop 0.38s cubic-bezier(0.2, 1.45, 0.5, 1);
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback
.prk-cv4-invoice-fallback__checkbox:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback:has(.prk-cv4-invoice-fallback__checkbox:checked) {
  color: #292f38;
  border-color: color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 18%, #f0f0f1);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 2.5%, transparent),
      color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 8.5%, transparent)
    ),
    #fff;
}

body.prk-checkout-v4--checkout-ui
.prk-cv4-invoice-fallback:has(.prk-cv4-invoice-fallback__checkbox:checked)
.optional {
  color: var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e));
  background: color-mix(in srgb, var(--prk-invoice-accent, var(--prk-cv4-checkout-primary, #ff5b0e)) 7.5%, #fff);
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  body.prk-checkout-v4--checkout-ui
  .prk-cv4-invoice-fallback
  .prk-cv4-invoice-fallback__checkbox:focus-visible {
    box-shadow: 0 0 0 4px rgba(255, 91, 14, 0.13);
  }

  body.prk-checkout-v4--checkout-ui
  .prk-cv4-invoice-fallback
  .prk-cv4-invoice-fallback__checkbox:checked {
    box-shadow: 0 0 0 4px rgba(255, 91, 14, 0.1), 0 5px 12px rgba(255, 91, 14, 0.2);
  }
}

@media (max-width: 575px) {
  body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback {
    min-height: 48px;
    gap: 9px !important;
    padding: 9px 11px !important;
    font-size: 12px;
  }

  body.prk-checkout-v4--checkout-ui
  .prk-cv4-invoice-fallback
  .prk-cv4-invoice-fallback__checkbox {
    flex-basis: 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    border-radius: 7px !important;
  }

  body.prk-checkout-v4--checkout-ui .prk-cv4-invoice-fallback .optional {
    min-height: 20px;
    padding-inline: 6px;
    font-size: 9.5px;
  }
}
