/* Product-card ordering controls, shared by the homepage and shop grids. */
.jet-listing-grid__item[data-lolopet-card-order-ready="1"] .jet-engine-listing-overlay-link { display: none !important; pointer-events: none !important; }
.lolopet-card-order, .lolopet-card-order * { pointer-events: auto !important; }
.lolopet-card-order-host { position: relative !important; z-index: 20 !important; }
.lolopet-card-order-host,
.lolopet-native-card-order-host,
.lolopet-card-order,
.lolopet-card-qty,
.lolopet-card-order-submit {
  visibility: visible !important;
  opacity: 1 !important;
}
.lolopet-card-order-host,
.lolopet-native-card-order-host { position: relative !important; z-index: 30 !important; }
.codzan-home-products--sale .codzan-home-sale-banner__copy h3,
.codzan-home-products--sale .codzan-home-sale-banner__copy p,
.codzan-home-products--sale .codzan-sale-countdown__item strong,
.codzan-home-products--sale .codzan-sale-countdown__item span {
  font-family: "CodzanDisplay", "CodzanPersian", Tahoma, Arial, sans-serif !important;
  font-synthesis: none !important;
}

/* Give the primary header menu the larger display scale from the reference
 * layout without changing header icons or utility text. */
body .wd-nav-main > li > a,
body .wd-nav-main > li > a .nav-link-text,
body .wd-header-main-nav .nav-link-text {
  font-family: "CodzanDisplay", "CodzanPersian", Tahoma, Arial, sans-serif !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  font-synthesis: none !important;
}

@media (max-width: 760px) {
  body .wd-nav-main > li > a,
  body .wd-nav-main > li > a .nav-link-text,
  body .wd-header-main-nav .nav-link-text {
    font-size: 1rem !important;
  }
}

.lolopet-card-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.lolopet-card-qty {
  width: 128px;
  height: 44px;
  display: grid;
  grid-template-columns: 34px minmax(32px, 1fr) 34px;
  align-items: center;
  gap: 4px;
  padding: 4px;
  direction: ltr;
  justify-self: center;
  background: linear-gradient(145deg, #fff7fb, #f7eef8);
  border: 1px solid rgba(112, 65, 153, .18);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(56, 32, 77, .06), 0 4px 12px rgba(56, 32, 77, .07);
  font-family: "CodzanPersian", Tahoma, Arial, sans-serif !important;
}
.lolopet-card-qty button.lolopet-card-qty-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-grid;
  place-items: center;
  padding: 0;
  margin: 0 !important;
  border-radius: 50% !important;
  font: inherit;
  font-family: "CodzanPersian", Tahoma, Arial, sans-serif !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.lolopet-card-qty .lolopet-card-qty-minus { color: #704199 !important; background: #fff !important; border: 1px solid rgba(112, 65, 153, .2) !important; box-shadow: 0 2px 7px rgba(56, 32, 77, .08); }
.lolopet-card-qty .lolopet-card-qty-plus { color: #fff !important; background: linear-gradient(135deg, #704199, #ed2290) !important; border: 1px solid transparent !important; box-shadow: 0 4px 11px rgba(237, 34, 144, .28); }
.lolopet-card-qty button.lolopet-card-qty-btn svg { display: block !important; width: 17px !important; height: 17px !important; min-width: 17px !important; min-height: 17px !important; padding: 0 !important; margin: 0 !important; fill: none !important; stroke: currentColor !important; stroke-width: 2.4 !important; stroke-linecap: round !important; }
.lolopet-card-qty button.lolopet-card-qty-btn:hover:not(:disabled) { transform: translateY(-1px) scale(1.06); }
.lolopet-card-qty button.lolopet-card-qty-minus:hover:not(:disabled) { color: #fff !important; background: #704199 !important; border-color: #704199 !important; }
.lolopet-card-qty button.lolopet-card-qty-btn:active:not(:disabled) { transform: scale(.93); }
.lolopet-card-qty button.lolopet-card-qty-btn:disabled { opacity: .28 !important; cursor: not-allowed; box-shadow: none; filter: grayscale(.25); }
.lolopet-card-qty button.lolopet-card-qty-btn:focus-visible, .lolopet-card-order-submit:focus-visible { outline: 2px solid #ed2290 !important; outline-offset: 2px; }
.lolopet-card-qty .lolopet-card-qty-value { display: block !important; min-width: 32px !important; color: #261632 !important; background: transparent !important; font-family: "CodzanPersian", Tahoma, Arial, sans-serif !important; font-size: 1rem !important; font-weight: 900 !important; line-height: 1 !important; text-align: center !important; font-variant-numeric: tabular-nums; }
.lolopet-card-order-submit {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 13px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #704199, #ed2290) !important;
  box-shadow: 0 8px 20px rgba(112, 65, 153, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(56, 32, 77, .22);
  font-family: "CodzanPersian", Tahoma, Arial, sans-serif !important;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, filter .18s, opacity .18s;
}
.lolopet-card-order-submit span {
  font-family: "CodzanPersian", Tahoma, Arial, sans-serif !important;
  font-weight: 900 !important;
}
.lolopet-card-order-submit::before { content: ''; position: absolute; z-index: -1; top: -90%; right: -22%; width: 62%; height: 240%; background: rgba(255, 255, 255, .1); transform: rotate(24deg); transition: transform .28s ease; }
.lolopet-card-order-submit svg { display: block !important; width: 20px !important; height: 20px !important; min-width: 20px !important; min-height: 20px !important; flex: 0 0 auto; fill: currentColor !important; color: inherit !important; padding: 3px !important; margin: 0 !important; border-radius: 6px; background: rgba(255, 255, 255, .16) !important; box-sizing: content-box; }
.lolopet-card-order-submit:hover:not(:disabled) { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 11px 24px rgba(237, 34, 144, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lolopet-card-order-submit:hover:not(:disabled)::before { transform: translateX(-32%) rotate(24deg); }
.lolopet-card-order-submit:active:not(:disabled) { transform: translateY(0) scale(.99); }
.lolopet-card-order-submit:disabled { color: #8f8198 !important; background: #eeeaf1 !important; border-color: #e4dce9 !important; text-shadow: none; opacity: 1; cursor: not-allowed; box-shadow: inset 0 1px 2px rgba(56, 32, 77, .04); }
.lolopet-card-order-submit:disabled svg { color: #9e8fa8 !important; background: rgba(112, 65, 153, .08) !important; }
.lolopet-card-order-submit.is-loading { color: transparent; pointer-events: none; }
.lolopet-card-order-submit.is-loading::after { content: ''; position: absolute; width: 17px; height: 17px; border: 2px solid rgba(112,65,153,.22); border-top-color: #704199; border-radius: 50%; animation: lolopet-card-order-spin .7s linear infinite; }
.lolopet-card-order-toast { position: fixed; right: 22px; bottom: 22px; z-index: 99999; max-width: min(360px, calc(100vw - 32px)); padding: 11px 14px; border-radius: 10px; color: #fff; background: #173b5c; box-shadow: 0 10px 28px rgba(23,59,92,.22); font-size: .82rem; font-weight: 800; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.lolopet-card-order-toast.is-visible { opacity: 1; transform: translateY(0); }
@keyframes lolopet-card-order-spin { to { transform: rotate(360deg); } }

/* Keep the card's existing horizontal inset and move the complete white
 * image/details panel slightly below the navy outer card edge. */
#codzan-native-home-fallback .wd-product .product-wrapper,
#codzan-native-shop-fallback .wd-product .product-wrapper {
  padding-top: 8px !important;
}

/* Jilipet-style frontend order summary after adding a product. */
.lolopet-front-order-bar {
  position: fixed !important;
  left: 18px !important;
  bottom: 18px !important;
  z-index: 99998 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: min(430px, calc(100vw - 36px)) !important;
  min-height: 56px !important;
  padding: 8px 10px 8px 14px !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg,#704199,#ed2290) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(56,32,77,.25) !important;
  direction: rtl !important;
  opacity: 0 !important;
  transform: translateY(24px) !important;
  pointer-events: none !important;
  transition: opacity .24s ease, transform .28s cubic-bezier(.2,.8,.2,1) !important;
}
.lolopet-front-order-bar.is-visible { opacity: 1 !important; transform: translateY(0) !important; pointer-events: auto !important; }
body.woocommerce-cart .lolopet-front-order-bar,
body.woocommerce-checkout .lolopet-front-order-bar,
body.page-id-8 .lolopet-front-order-bar,
body.lp-dashboard .lolopet-front-order-bar { display: none !important; }
.lolopet-front-order-summary { flex: 1 !important; min-width: 0 !important; font: 800 .84rem/1.55 "CodzanPersian",Tahoma,sans-serif !important; }
.lolopet-front-order-summary strong { color: #fff !important; font: 900 1rem/1.4 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; }
.lolopet-front-order-checkout { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 38px !important; padding: 0 13px !important; border-radius: 9px !important; background: #fff !important; color: #704199 !important; font: 900 .75rem/1 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; white-space: nowrap !important; text-decoration: none !important; transition: transform .18s ease,background .18s ease !important; }
.lolopet-front-order-checkout:hover { background: #f8f2fb !important; color: #5a3280 !important; transform: translateY(-1px) !important; }

/* Replace the parent theme's dense cart/checkout geometry with the rounded
 * card structure used by the reference site. */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce { width: min(1180px, calc(100% - 32px)) !important; margin: 28px auto 48px !important; direction: rtl !important; }
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review { padding: 24px !important; border: 1px solid #eadcf0 !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 8px 28px rgba(56,32,77,.08) !important; }
body.woocommerce-cart .woocommerce-cart-form { margin-bottom: 18px !important; }
body.woocommerce-cart table.shop_table,
body.woocommerce-checkout table.shop_table { border: 0 !important; border-collapse: separate !important; border-spacing: 0 8px !important; background: transparent !important; }
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td { border: 0 !important; padding: 12px !important; font-family: "CodzanPersian",Tahoma,Arial,sans-serif !important; }
body.woocommerce-cart table.shop_table thead th { border: 1px solid #e2e8f0 !important; text-align: center !important; vertical-align: middle !important; }
body.woocommerce-cart table.shop_table tbody td { border: 1px solid #e2e8f0 !important; vertical-align: middle !important; }
body.woocommerce-cart table.shop_table thead th,
body.woocommerce-checkout table.shop_table thead th { color: #704199 !important; font-weight: 900 !important; background: #f8f2fb !important; }
body.woocommerce-cart table.shop_table thead th.product-remove,
body.woocommerce-cart table.shop_table thead th.product-thumbnail { font-size: .9rem !important; line-height: 1.4 !important; }
body.woocommerce-cart table.shop_table thead th,
body.woocommerce-cart table.shop_table tbody td,
body.woocommerce-cart table.shop_table tbody td a,
body.woocommerce-cart table.shop_table tbody td .amount { color: #043b59 !important; font: 700 .9rem/1.6 "CodzanPersian",Tahoma,Arial,sans-serif !important; }
body.woocommerce-cart table.shop_table tbody td.product-name a { font-weight: 700 !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity { display: inline-flex !important; align-items: stretch !important; justify-content: center !important; height: 42px !important; min-width: 116px !important; overflow: hidden !important; border: 1px solid #cbd5e1 !important; border-radius: 10px !important; background: #fff !important; vertical-align: middle !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .minus,
body.woocommerce-cart table.shop_table .product-quantity .quantity .plus { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 36px !important; min-width: 36px !important; height: 40px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #043b59 !important; color: #fff !important; font: 900 1.05rem/1 "CodzanPersian",Tahoma,sans-serif !important; cursor: pointer !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .qty { width: 44px !important; min-width: 44px !important; height: 40px !important; padding: 0 !important; border: 0 !important; border-inline: 1px solid #e2e8f0 !important; border-radius: 0 !important; background: #f8fafc !important; color: #043b59 !important; text-align: center !important; font: 800 .9rem/1 "CodzanPersian",Tahoma,sans-serif !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .minus:hover,
body.woocommerce-cart table.shop_table .product-quantity .quantity .plus:hover { background: #075477 !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table .product-quantity .quantity .qty::-webkit-inner-spin-button { margin: 0 !important; -webkit-appearance: none !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .qty { -moz-appearance: textfield !important; }
body.woocommerce-cart table.shop_table thead th.product-quantity,
body.woocommerce-cart table.shop_table tbody td.product-quantity { width: 86px !important; min-width: 86px !important; padding-inline: 4px !important; }
body.woocommerce-cart table.shop_table tbody td.product-name { width: auto !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity { min-width: 86px !important; height: 36px !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .minus,
body.woocommerce-cart table.shop_table .product-quantity .quantity .plus { width: 26px !important; min-width: 26px !important; height: 34px !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .minus { width: 26px !important; min-width: 26px !important; height: 34px !important; }
body.woocommerce-cart table.shop_table .product-quantity .quantity .qty { width: 34px !important; min-width: 34px !important; height: 34px !important; }
body.woocommerce-cart table.shop_table tbody tr,
body.woocommerce-checkout table.shop_table tbody tr { background: #fcfbfd !important; }
body.woocommerce-cart .product-name a,
body.woocommerce-checkout .product-name { color: #173b5c !important; font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; font-weight: 800 !important; }
body.woocommerce-cart .product-thumbnail img { width: 72px !important; height: 72px !important; border-radius: 10px !important; object-fit: contain !important; }
body.woocommerce-cart .product-remove a { color: #b4235d !important; font-size: 0 !important; }
body.woocommerce-cart table.shop_table td.product-remove a { color: #dc2626 !important; font-size: 0 !important; line-height: 0 !important; }
body.woocommerce-cart table.shop_table td.product-remove a::before { color: #dc2626 !important; font-size: 1.15rem !important; line-height: 1 !important; }
body.woocommerce-cart .product-remove a.remove:not(:first-child) { display: none !important; }
body.woocommerce-cart .cart_totals h2,
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading { margin: 0 0 16px !important; color: #38214c !important; font: 900 1.15rem/1.6 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; }
body.woocommerce-cart .cart-collaterals { margin-top: 0 !important; }
body.woocommerce-cart .cart-collaterals .cart_totals { float: none !important; width: 100% !important; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 46px !important; width: 100% !important; border: 0 !important; border-radius: 11px !important; background: linear-gradient(135deg,#704199,#ed2290) !important; color: #fff !important; font: 900 .9rem/1 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover { background: linear-gradient(135deg,#5a3280,#c41c77) !important; }
body.woocommerce-cart .coupon input.input-text,
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select { min-height: 42px !important; border: 1px solid #ded2e6 !important; border-radius: 9px !important; background: #fff !important; font-family: "CodzanPersian",Tahoma,sans-serif !important; }
body.woocommerce-cart .cart-empty { padding: 42px 20px !important; border: 1px dashed #d9c6e2 !important; border-radius: 16px !important; background: #fff !important; color: #704199 !important; font: 800 1rem/1.8 "CodzanPersian",Tahoma,sans-serif !important; text-align: center !important; }
@media (min-width: 901px) { body.woocommerce-cart .cart-collaterals { display: grid !important; grid-template-columns: minmax(0, 1fr) 390px !important; gap: 18px !important; } body.woocommerce-checkout form.checkout { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 24px !important; } body.woocommerce-checkout #customer_details { width: 100% !important; margin: 0 0 24px !important; } body.woocommerce-checkout .checkout-order-review { width: 100% !important; margin: 0 !important; } }
@media (max-width: 600px) { .lolopet-front-order-bar { left: 10px !important; bottom: 10px !important; width: calc(100vw - 20px) !important; min-height: 52px !important; padding: 7px 9px !important; gap: 7px !important; border-radius: 11px !important; } .lolopet-front-order-summary { font-size: .76rem !important; } .lolopet-front-order-summary strong { font-size: .9rem !important; } .lolopet-front-order-checkout { min-height: 36px !important; padding-inline: 10px !important; font-size: .7rem !important; } body.woocommerce-cart .woocommerce, body.woocommerce-checkout .woocommerce { width: min(100% - 20px, 1180px) !important; margin-top: 16px !important; } body.woocommerce-cart .woocommerce-cart-form, body.woocommerce-cart .cart-collaterals .cart_totals, body.woocommerce-checkout #customer_details, body.woocommerce-checkout #order_review { padding: 14px !important; border-radius: 13px !important; } }

/* Product-card heart, replacing the quick-view magnifier. */
.codzan-card-wishlist-host {
  position: absolute !important;
  z-index: 25 !important;
  top: 10px !important;
  right: 10px !important;
  width: 38px !important;
  height: 38px !important;
}
.wrap-wishlist-button .codzan-card-wishlist-host {
  position: static !important;
  width: auto !important;
  height: auto !important;
}
.codzan-card-order-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 44px !important;
  direction: ltr !important;
}
.codzan-card-order-tools .codzan-card-wishlist-host {
  position: static !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
}
.codzan-card-order-tools .lolopet-card-qty {
  flex: 0 0 128px !important;
  justify-self: auto !important;
  margin: 0 !important;
}
.codzan-card-wishlist {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(112,65,153,.14) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.95) !important;
  color: #704199 !important;
  cursor: pointer !important;
  box-shadow: 0 5px 16px rgba(50,19,79,.12) !important;
  pointer-events: auto !important;
  transition: color .18s ease, background .18s ease, transform .18s ease !important;
}
.codzan-card-wishlist:hover,
.codzan-card-wishlist:focus-visible,
.codzan-card-wishlist.is-active {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}
.codzan-card-wishlist svg { width: 20px !important; height: 20px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; }
.codzan-card-wishlist.is-active svg { fill: currentColor !important; }

/* Header wishlist panel, with the same direct-order action used by cards. */
/* Dedicated wishlist page. The page uses the same saved product IDs as the
 * catalogue hearts and keeps removal available even for out-of-stock items. */
html body .lolopet-wishlist-page { width: min(1180px, calc(100% - 32px)); margin: 28px auto 60px; direction: rtl; }
html body .lolopet-wishlist-page__header { margin-bottom: 16px; padding: 13px 22px; border: 1px solid #eadcf0; border-radius: 16px; background: linear-gradient(135deg,#fff4fb,#f2edff); text-align: right; }
html body .lolopet-wishlist-page__eyebrow { color: #ed2290; font: 800 .78rem/1.5 "CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page__header h1 { margin: 4px 0 3px; color: #38214c; font: 900 1.55rem/1.6 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page__header p { margin: 0; color: #704199; font: 600 .9rem/1.8 "CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page .lolopet-wishlist-body { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; max-height: none; overflow: visible; padding: 0; }
html body .lolopet-wishlist-page .lolopet-wishlist-loading,
html body .lolopet-wishlist-page .lolopet-wishlist-empty { grid-column: 1/-1; padding: 64px 20px; border: 1px solid #eee5f2; border-radius: 18px; background: #fff; color: #6b7280; text-align: center; font: 700 .95rem/1.9 "CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page .lolopet-wishlist-item { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; padding: 14px; border: 1px solid #eee5f2; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(61,31,82,.07); }
html body .lolopet-wishlist-page .lolopet-wishlist-item-link { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-link > img { width: 100%; height: 180px; border-radius: 13px; object-fit: contain; background: #f8f7fa; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-copy { display: grid; gap: 5px; min-width: 0; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-copy strong { overflow: hidden; color: #173b5c; font: 800 .95rem/1.65 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif; text-overflow: ellipsis; white-space: nowrap; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-copy > span:not(.lolopet-wishlist-item-status) { color: #704199; font: 800 .9rem/1.5 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-status { color: #c4434d; font: 800 .78rem/1.7 "CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page .lolopet-wishlist-item.is-unavailable .lolopet-wishlist-item-link > img { filter: grayscale(1); opacity: .62; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions input { width: 58px; height: 36px; padding: 0 6px; border: 1px solid #ded2e6; border-radius: 9px; text-align: center; font: 800 .85rem "CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: linear-gradient(135deg,#704199,#ed2290); color: #fff; font: 800 .75rem "CodzanDisplay","CodzanPersian",Tahoma,sans-serif; cursor: pointer; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions button[data-wishlist-remove] { background: #f3edf5; color: #704199; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions button[data-wishlist-remove] { flex: 0 0 100%; width: 100%; margin-top: 3px; }
html body.page-id-12,
html body.page-id-12 .wd-page-content,
html body.page-id-12 #main-content,
html body.page-id-12 #main-content > .wd-content-area,
html body.page-id-12 .lolopet-wishlist-page,
html body.page-id-12 .lolopet-wishlist-page .lolopet-wishlist-body { height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions button.lolopet-wishlist-remove { background: #fff0f2; border: 1px solid #f0a1aa; color: #c52f43; font-weight: 900; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions button.lolopet-wishlist-remove:hover { background: #c52f43; border-color: #c52f43; color: #fff; }

/* Out-of-stock shop cards remain clickable, but are visibly muted and announce
 * their status on hover/focus. */
html body #codzan-native-shop-fallback .wd-products .wd-product.outofstock,
html body #codzan-native-shop-fallback .wd-products .wd-product:has(.outofstock),
html body .woocommerce-shop .wd-products .wd-product.outofstock,
html body .woocommerce-shop .wd-products .wd-product:has(.outofstock),
html body.woocommerce-shop ul.products .wd-product.outofstock,
html body.woocommerce-shop ul.products .wd-product:has(.outofstock) {
	filter: grayscale(1) !important;
	opacity: .72 !important;
	position: relative !important;
	cursor: pointer !important;
}
html body #codzan-native-shop-fallback .wd-products .wd-product.outofstock:hover,
html body #codzan-native-shop-fallback .wd-products .wd-product.outofstock:focus-within,
html body #codzan-native-shop-fallback .wd-products .wd-product:has(.outofstock):hover,
html body #codzan-native-shop-fallback .wd-products .wd-product:has(.outofstock):focus-within,
html body .woocommerce-shop .wd-products .wd-product.outofstock:hover,
html body .woocommerce-shop .wd-products .wd-product.outofstock:focus-within,
html body .woocommerce-shop .wd-products .wd-product:has(.outofstock):hover,
html body .woocommerce-shop .wd-products .wd-product:has(.outofstock):focus-within {
	opacity: .86 !important;
}
html body.woocommerce-shop ul.products .wd-product.outofstock:hover,
html body.woocommerce-shop ul.products .wd-product.outofstock:focus-within,
html body.woocommerce-shop ul.products .wd-product:has(.outofstock):hover,
html body.woocommerce-shop ul.products .wd-product:has(.outofstock):focus-within {
	opacity: .86 !important;
}
html body #codzan-native-shop-fallback .wd-products .wd-product.outofstock::after,
html body #codzan-native-shop-fallback .wd-products .wd-product:has(.outofstock)::after,
html body .woocommerce-shop .wd-products .wd-product.outofstock::after,
html body .woocommerce-shop .wd-products .wd-product:has(.outofstock)::after {
	content: 'ناموجود' !important;
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	z-index: 8 !important;
	padding: 5px 10px !important;
	border-radius: 8px !important;
	background: #6b7280 !important;
	color: #fff !important;
	font: 800 .75rem/1.5 "CodzanPersian",Tahoma,sans-serif !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translateY(-4px) !important;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}
html body.woocommerce-shop ul.products .wd-product.outofstock::after,
html body.woocommerce-shop ul.products .wd-product:has(.outofstock)::after {
	content: 'ناموجود' !important;
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	z-index: 8 !important;
	padding: 5px 10px !important;
	border-radius: 8px !important;
	background: #6b7280 !important;
	color: #fff !important;
	font: 800 .75rem/1.5 "CodzanPersian",Tahoma,sans-serif !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity .2s ease, visibility .2s ease !important;
}
html body.woocommerce-shop ul.products .wd-product.outofstock:hover::after,
html body.woocommerce-shop ul.products .wd-product.outofstock:focus-within::after,
html body.woocommerce-shop ul.products .wd-product:has(.outofstock):hover::after,
html body.woocommerce-shop ul.products .wd-product:has(.outofstock):focus-within::after {
	opacity: 1 !important;
	visibility: visible !important;
}
html body #codzan-native-shop-fallback .wd-products .wd-product.outofstock:hover::after,
html body #codzan-native-shop-fallback .wd-products .wd-product.outofstock:focus-within::after,
html body #codzan-native-shop-fallback .wd-products .wd-product:has(.outofstock):hover::after,
html body #codzan-native-shop-fallback .wd-products .wd-product:has(.outofstock):focus-within::after,
html body .woocommerce-shop .wd-products .wd-product.outofstock:hover::after,
html body .woocommerce-shop .wd-products .wd-product.outofstock:focus-within::after,
html body .woocommerce-shop .wd-products .wd-product:has(.outofstock):hover::after,
html body .woocommerce-shop .wd-products .wd-product:has(.outofstock):focus-within::after {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions .lolopet-wishlist-qty-btn { width: 32px; min-width: 32px; padding: 0; border: 1px solid #d9cce3; background: #fff; color: #704199; font: 900 1.05rem/1 "CodzanPersian",Tahoma,sans-serif; }
html body .lolopet-wishlist-page .lolopet-wishlist-item-actions input[data-wishlist-qty] { direction: ltr; color: #173b5c; font-family: "CodzanPersian",Tahoma,sans-serif; }
html body.page-id-12 .wd-wishlist-content { display: none !important; }
html body.page-id-12 #main-content > .wd-content-area { grid-column: 1 / -1 !important; --wd-col-lg: 12 !important; width: 100% !important; }
html body.page-id-12 #main-content > .wd-sidebar { display: none !important; }
@media (max-width: 900px) { html body .lolopet-wishlist-page .lolopet-wishlist-body { grid-template-columns: repeat(2,minmax(0,1fr)); } html body .lolopet-wishlist-page .lolopet-wishlist-item-link > img { height: 165px; } }
@media (max-width: 600px) { html body .lolopet-wishlist-page { width: min(100% - 20px, 520px); margin-top: 18px; } html body .lolopet-wishlist-page__header { padding: 11px 16px; } html body .lolopet-wishlist-page__header h1 { font-size: 1.25rem; } html body .lolopet-wishlist-page .lolopet-wishlist-body { grid-template-columns: 1fr; } html body .lolopet-wishlist-page .lolopet-wishlist-item-link > img { height: 190px; } }

.lolopet-wishlist-modal { position: fixed !important; inset: 0 !important; z-index: 100000 !important; display: none !important; direction: rtl !important; }
.lolopet-wishlist-modal.is-open { display: block !important; }
.lolopet-wishlist-backdrop { position: absolute !important; inset: 0 !important; background: rgba(23,19,35,.54) !important; backdrop-filter: blur(3px); }
.lolopet-wishlist-dialog { position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%,-50%) !important; width: min(650px, calc(100vw - 28px)) !important; max-height: min(760px, calc(100vh - 32px)) !important; overflow: hidden !important; border: 1px solid #eadcf0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: 0 24px 70px rgba(31,18,45,.25) !important; }
.lolopet-wishlist-dialog > header { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; padding: 17px 20px !important; border-bottom: 1px solid #f0e8f3 !important; background: linear-gradient(135deg,#fce4f3,#eee4f8) !important; }
.lolopet-wishlist-dialog h2 { margin: 0 !important; color: #38214c !important; font: 800 1.15rem/1.6 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; }
.lolopet-wishlist-close { width: 34px !important; height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 9px !important; background: rgba(255,255,255,.7) !important; color: #704199 !important; font: 400 25px/1 Tahoma,sans-serif !important; cursor: pointer !important; }
.lolopet-wishlist-body { display: grid !important; gap: 10px !important; max-height: calc(min(760px, 100vh - 32px) - 75px) !important; overflow: auto !important; padding: 15px !important; }
.lolopet-wishlist-loading,.lolopet-wishlist-empty { padding: 42px 18px !important; color: #6b7280 !important; text-align: center !important; font: 700 .9rem/1.9 "CodzanPersian",Tahoma,sans-serif !important; }
.lolopet-wishlist-item { display: flex !important; align-items: center !important; gap: 12px !important; min-width: 0 !important; padding: 10px !important; border: 1px solid #eee5f2 !important; border-radius: 14px !important; background: #fff !important; }
.lolopet-wishlist-item > img { width: 82px !important; height: 82px !important; flex: 0 0 82px !important; border-radius: 10px !important; object-fit: contain !important; background: #f8f7fa !important; }
.lolopet-wishlist-item-copy { min-width: 0 !important; flex: 1 !important; display: grid !important; gap: 6px !important; }
.lolopet-wishlist-item-copy strong { overflow: hidden !important; color: #173b5c !important; font: 800 .9rem/1.65 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.lolopet-wishlist-item-copy > span { color: #704199 !important; font: 800 .82rem/1.5 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; }
.lolopet-wishlist-item-actions { display: flex !important; align-items: center !important; gap: 6px !important; flex-wrap: wrap !important; }
.lolopet-wishlist-item-actions input { width: 58px !important; height: 34px !important; padding: 0 6px !important; border: 1px solid #ded2e6 !important; border-radius: 8px !important; text-align: center !important; font: 800 .85rem "CodzanPersian",Tahoma,sans-serif !important; }
.lolopet-wishlist-item-actions button { min-height: 34px !important; padding: 0 10px !important; border: 0 !important; border-radius: 8px !important; background: linear-gradient(135deg,#704199,#ed2290) !important; color: #fff !important; font: 800 .72rem "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; cursor: pointer !important; }
.lolopet-wishlist-item-actions button[data-wishlist-remove] { background: #f3edf5 !important; color: #704199 !important; }
@media (max-width: 600px) { .lolopet-wishlist-item > img { width: 64px !important; height: 64px !important; flex-basis: 64px !important; } .lolopet-wishlist-item-copy strong { font-size: .78rem !important; } }
@media (max-width: 600px) {
  .lolopet-card-qty { grid-template-columns: 32px minmax(28px, 1fr) 32px; gap: 3px; }
  .lolopet-card-qty button.lolopet-card-qty-btn { width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; }
  .lolopet-card-order-submit { height: 44px; font-size: .82rem; padding: 0 12px; }
  .lolopet-card-order-toast { right: 16px; bottom: 16px; }

  /* Keep the quantity and wishlist controls inside narrow product cards. */
  .lolopet-card-order { width: 100% !important; min-width: 0 !important; overflow: hidden !important; padding-inline: 2px !important; }
  .codzan-card-order-tools { width: 100% !important; gap: 4px !important; min-height: 30px !important; max-width: 100% !important; min-width: 0 !important; flex-wrap: nowrap !important; overflow: hidden !important; box-sizing: border-box !important; }
  .codzan-card-order-tools .lolopet-card-qty { flex: 0 1 78px !important; width: 78px !important; max-width: calc(100% - 30px) !important; height: 28px !important; min-width: 0 !important; grid-template-columns: 21px minmax(16px, 1fr) 21px !important; gap: 1px !important; padding: 2px !important; box-sizing: border-box !important; }
  .codzan-card-order-tools .lolopet-card-qty button.lolopet-card-qty-btn { width: 21px !important; height: 21px !important; min-width: 21px !important; min-height: 21px !important; }
  .codzan-card-order-tools .lolopet-card-qty button.lolopet-card-qty-btn svg { width: 11px !important; height: 11px !important; min-width: 11px !important; min-height: 11px !important; }
  .codzan-card-order-tools .lolopet-card-qty .lolopet-card-qty-value { min-width: 16px !important; font-size: .78rem !important; }
  .codzan-card-order-tools .codzan-card-wishlist-host { flex: 0 0 26px !important; width: 26px !important; height: 26px !important; min-width: 26px !important; }
  .codzan-card-order-tools .codzan-card-wishlist { width: 26px !important; height: 26px !important; min-width: 26px !important; min-height: 26px !important; box-sizing: border-box !important; }
  .codzan-card-order-tools .codzan-card-wishlist svg { width: 14px !important; height: 14px !important; }
}

/* LoloPet card parity with Jilipet: the card itself stays still. Only the
 * product image may change on hover, while quantity controls remain usable. */
.codzan-home-products--sale .lolopet-card-order-host,
.codzan-home-products--sale .lolopet-native-card-order-host,
.codzan-home-products--sale .lolopet-card-order {
  display: block !important;
}
.codzan-home-products--sale .lolopet-card-order {
  display: grid !important;
}
.codzan-home-products--sale .lolopet-card-order-host,
.codzan-home-products--sale .lolopet-native-card-order-host {
  visibility: visible !important;
  opacity: 1 !important;
}
.codzan-home-products--sale .wd-product:hover,
.codzan-home-products--sale .wd-product:focus-within,
.codzan-home-products--sale .wd-products.codzan-sale-carousel > .wd-product:hover,
.codzan-home-products--sale .wd-products.codzan-sale-carousel > .wd-product:focus-within {
  transform: none !important;
}
.wd-products .wd-product:hover,
.wd-products .wd-product:focus-within {
  transform: none !important;
}
.wd-products .wd-product:hover .product-image-link > img:not(.codzan-product-hover-image),
.wd-products .wd-product:focus-within .product-image-link > img:not(.codzan-product-hover-image) {
  transform: none !important;
  filter: none !important;
}
.wd-products .wd-product .product-image-link > img.codzan-product-hover-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
  transition: opacity .25s ease !important;
}
.wd-products .wd-product .product-image-link:has(> img.codzan-product-hover-image) {
  position: relative !important;
  overflow: hidden !important;
}
@media (hover: hover) and (min-width: 768px) {
  .wd-products .wd-product .product-image-link:has(> img.codzan-product-hover-image):hover > img:not(.codzan-product-hover-image) {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .wd-products .wd-product .product-image-link:has(> img.codzan-product-hover-image):hover > img.codzan-product-hover-image {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Final narrow-card guard: let the quantity control shrink with the card
 * instead of keeping a fixed row wider than the card content. */
@media (max-width: 767px) {
  .wd-product .lolopet-card-order,
  .jet-listing-grid__item .lolopet-card-order { width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow: hidden !important; }
  .wd-product .codzan-card-order-tools,
  .jet-listing-grid__item .codzan-card-order-tools { width: min(124px, calc(100% - 16px)) !important; max-width: calc(100% - 16px) !important; min-width: 0 !important; margin-inline: auto !important; justify-content: center !important; gap: 4px !important; overflow: hidden !important; }
  .wd-product .codzan-card-order-tools .lolopet-card-qty,
  .jet-listing-grid__item .codzan-card-order-tools .lolopet-card-qty { flex: 0 1 92px !important; width: 92px !important; max-width: calc(100% - 30px) !important; min-width: 0 !important; height: 30px !important; grid-template-columns: 24px minmax(18px, 1fr) 24px !important; gap: 2px !important; padding: 3px !important; }
  .wd-product .codzan-card-order-tools .lolopet-card-qty button.lolopet-card-qty-btn,
  .jet-listing-grid__item .codzan-card-order-tools .lolopet-card-qty button.lolopet-card-qty-btn { width: 24px !important; height: 24px !important; min-width: 24px !important; min-height: 24px !important; }
  .wd-product .codzan-card-order-tools .codzan-card-wishlist-host,
  .jet-listing-grid__item .codzan-card-order-tools .codzan-card-wishlist-host { flex: 0 0 26px !important; width: 26px !important; min-width: 26px !important; height: 26px !important; }
  .wd-product .codzan-card-order-tools .codzan-card-wishlist,
  .jet-listing-grid__item .codzan-card-order-tools .codzan-card-wishlist { width: 26px !important; min-width: 26px !important; max-width: 26px !important; height: 26px !important; min-height: 26px !important; }
  .wd-product .codzan-card-order-tools .codzan-card-wishlist svg,
  .jet-listing-grid__item .codzan-card-order-tools .codzan-card-wishlist svg { width: 15px !important; height: 15px !important; }
}

/* The cart page is a full-width WooCommerce page: no archive sidebar and no
 * mobile bottom toolbar/sidebar trigger should be shown here. */
body.woocommerce-cart .wd-sidebar,
body.woocommerce-cart .wd-toolbar,
body.woocommerce-cart .wd-toolbar-sidebar {
  display: none !important;
}
body.woocommerce-cart .wd-checkout-steps {
  display: none !important;
}
body.woocommerce-cart .wd-content-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Product-card controls: keep the order button and quantity control in one
 * stable row on both desktop and mobile cards. */
.wd-product .lolopet-card-order,
.jet-listing-grid__item .lolopet-card-order {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.wd-product .codzan-card-order-tools,
.jet-listing-grid__item .codzan-card-order-tools {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  gap: 5px !important;
}

.wd-product .lolopet-card-qty,
.jet-listing-grid__item .lolopet-card-qty {
  flex: 0 0 92px !important;
  width: 92px !important;
  max-width: 92px !important;
  height: 34px !important;
  min-height: 34px !important;
  grid-template-columns: 24px minmax(18px, 1fr) 24px !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

.wd-product .lolopet-card-qty button.lolopet-card-qty-btn,
.jet-listing-grid__item .lolopet-card-qty button.lolopet-card-qty-btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
}

.wd-product .lolopet-card-order-submit,
.jet-listing-grid__item .lolopet-card-order-submit {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 0 9px !important;
  border-radius: 9px !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  .wd-product .codzan-card-wishlist-host,
  .jet-listing-grid__item .codzan-card-wishlist-host {
    display: none !important;
  }

  .wd-product .lolopet-card-order,
  .jet-listing-grid__item .lolopet-card-order {
    gap: 6px !important;
    padding-inline: 0 !important;
  }

  .wd-product .codzan-card-order-tools,
  .jet-listing-grid__item .codzan-card-order-tools {
    flex: 0 0 auto !important;
    gap: 0 !important;
  }

  .wd-product .lolopet-card-qty,
  .jet-listing-grid__item .lolopet-card-qty {
    flex-basis: 76px !important;
    width: 76px !important;
    max-width: 76px !important;
    height: 30px !important;
    min-height: 30px !important;
    grid-template-columns: 21px minmax(16px, 1fr) 21px !important;
    gap: 1px !important;
    padding: 2px !important;
    border-radius: 9px !important;
  }

  .wd-product .lolopet-card-qty button.lolopet-card-qty-btn,
  .jet-listing-grid__item .lolopet-card-qty button.lolopet-card-qty-btn {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
  }

  .wd-product .lolopet-card-order-submit,
  .jet-listing-grid__item .lolopet-card-order-submit {
    height: 36px !important;
    padding-inline: 7px !important;
    font-size: .73rem !important;
    letter-spacing: 0 !important;
  }

  .wd-product .price,
  .jet-listing-grid__item .price {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 2px 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    white-space: normal !important;
  }

  .wd-product .price del,
  .wd-product .price ins,
  .jet-listing-grid__item .price del,
  .jet-listing-grid__item .price ins {
    display: inline-flex !important;
    align-items: baseline !important;
    flex: 0 1 auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
  }

  .wd-product .price del .amount,
  .wd-product .price ins .amount,
  .jet-listing-grid__item .price del .amount,
  .jet-listing-grid__item .price ins .amount {
    max-width: 100% !important;
    white-space: nowrap !important;
    font-size: .82em !important;
  }
}

/* Final card control sizing: the action button must match the quantity
 * control height, with a compact label and icon. */
.wd-product .lolopet-card-order-submit,
.jet-listing-grid__item .lolopet-card-order-submit {
  height: 34px !important;
  min-height: 34px !important;
  padding-inline: 8px !important;
  gap: 5px !important;
  font-size: .72rem !important;
  line-height: 1 !important;
}

.wd-product .lolopet-card-order-submit span,
.jet-listing-grid__item .lolopet-card-order-submit span {
  font-size: inherit !important;
  line-height: 1 !important;
}

.wd-product .lolopet-card-order-submit svg,
.jet-listing-grid__item .lolopet-card-order-submit svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  padding: 2px !important;
  border-radius: 4px !important;
}

/* The unit is useful on standalone prices, but it crowds discounted card
 * prices. Hide it only inside del/ins prices, never on regular prices. */
.wd-product .price del .woocommerce-Price-currencySymbol,
.wd-product .price ins .woocommerce-Price-currencySymbol,
.jet-listing-grid__item .price del .woocommerce-Price-currencySymbol,
.jet-listing-grid__item .price ins .woocommerce-Price-currencySymbol {
  display: none !important;
}

@media (max-width: 767px) {
  .wd-product .lolopet-card-order-submit,
  .jet-listing-grid__item .lolopet-card-order-submit {
    height: 30px !important;
    min-height: 30px !important;
    padding-inline: 6px !important;
    gap: 4px !important;
    font-size: .68rem !important;
  }

  .wd-product .lolopet-card-order-submit svg,
  .jet-listing-grid__item .lolopet-card-order-submit svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    padding: 1px !important;
  }
}
body.woocommerce-cart .wd-content-area {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-cart .wd-content-area > .entry-content {
  width: min(1180px, calc(100% - 30px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
  border: 1px solid #eadcf0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(56, 32, 77, .07) !important;
}
body.woocommerce-cart .woocommerce-cart-form {
  overflow: hidden !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 20px !important;
}
body.woocommerce-cart .woocommerce-cart-form .quantity {
  direction: ltr !important;
}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty {
  direction: rtl !important;
}

/* Checkout follows the same single-column page structure as the cart. The
 * guest gate remains visible so a visitor can sign in before purchasing. */
body.woocommerce-checkout .wd-sidebar,
body.woocommerce-checkout .wd-toolbar,
body.woocommerce-checkout .wd-toolbar-sidebar,
body.woocommerce-checkout .wd-checkout-steps {
  display: none !important;
}
body.woocommerce-checkout .wd-content-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.woocommerce-checkout .wd-content-area {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wd-content-area > .entry-content {
  width: min(1180px, calc(100% - 30px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}
body.woocommerce-checkout .woocommerce {
  width: 100% !important;
  margin: 24px auto 48px !important;
}
body.woocommerce-checkout form.checkout {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}
body.woocommerce-checkout form.checkout > *,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  width: 100% !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}
body.woocommerce-checkout .lolopet-checkout-auth-required,
body.woocommerce-checkout .lolopet-checkout-login-required {
  width: 100% !important;
  max-width: 720px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout .lolopet-checkout-auth-required {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 18px 22px !important;
  border: 1px solid #eadcf0 !important;
  border-radius: 16px !important;
  background: #fff8fd !important;
  color: #40234e !important;
  text-align: right !important;
}
body.woocommerce-checkout .lolopet-checkout-auth-required strong {
  color: #b71983 !important;
  font-size: 17px !important;
}
body.woocommerce-checkout .lolopet-checkout-auth-required span {
  color: #6e5a78 !important;
  font-size: 14px !important;
}
body.woocommerce-checkout .lolopet-checkout-login-required {
  padding: 22px !important;
  border: 1px solid #eadcf0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(56, 32, 77, .07) !important;
}
body.woocommerce-checkout .lolopet-checkout-login-required .woocommerce-form-login {
  display: block !important;
  margin: 0 !important;
}
body.woocommerce-checkout .lolopet-checkout-login-required .form-row-first,
body.woocommerce-checkout .lolopet-checkout-login-required .form-row-last {
  width: 100% !important;
  float: none !important;
}

@media (max-width: 767px) {
  body.woocommerce-checkout .wd-content-area > .entry-content {
    width: calc(100% - 20px) !important;
  }
  body.woocommerce-checkout .woocommerce {
    margin-top: 16px !important;
  }
  body.woocommerce-checkout .lolopet-checkout-login-required,
  body.woocommerce-checkout .lolopet-checkout-auth-required {
    padding: 16px !important;
  }
}

/* The theme's mobile sticky toolbar is 55px tall. Keep the cart summary
 * above it instead of covering the toolbar. */
@media (max-width: 767px) {
  body.sticky-toolbar-on .lolopet-front-order-bar { bottom: calc(55px + env(safe-area-inset-bottom) + 10px) !important; }
}

@media (max-width: 767px) {
  .wd-products .wd-product .product-image-link.codzan-hover-active > img:not(.codzan-product-hover-image) {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .wd-products .wd-product .product-image-link.codzan-hover-active > img.codzan-product-hover-image {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .jet-listing-grid__item .jet-listing-dynamic-image__link.codzan-has-hover-image.codzan-hover-active::after {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Keep product images stable: reveal the second image without zooming it. */
.wd-products .wd-product:hover .product-image-link > img,
.wd-products .wd-product:focus-within .product-image-link > img,
.wd-products .wd-product .product-image-link.codzan-hover-active > img,
.wd-products .wd-product .product-image-link.codzan-hover-active > img.codzan-product-hover-image,
.jet-listing-grid__item .jet-listing-dynamic-image:has(> img.codzan-product-hover-image):hover > img.codzan-product-hover-image,
.jet-listing-grid__item .jet-listing-dynamic-image:has(> img.codzan-product-hover-image):focus-within > img.codzan-product-hover-image {
  transform: none !important;
}

/* Do not lift, zoom, or move the product card on hover. Only the optional
 * second product image is allowed to fade in below. */
.wd-products .wd-product .product-wrapper,
.wd-products .wd-product:hover .product-wrapper,
.wd-products .wd-product:focus-within .product-wrapper,
.jet-listing-grid__item,
.jet-listing-grid__item:hover,
.jet-listing-grid__item:focus-within {
  transform: none !important;
  transition: none !important;
}

/* The base theme's fade hover creates an extra white rectangle around the card.
 * Keep the card in its normal geometry and let only the second image fade. */
.wd-products .wd-product .content-product-imagin,
.wd-products .wd-product:hover .content-product-imagin,
.wd-products .wd-product:focus-within .content-product-imagin {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* The native shop fallback has a later global image rule. Keep the second
 * image hidden until the image area itself is active. */
#codzan-native-shop-fallback .wd-product .product-image-link > img.codzan-product-hover-image {
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (hover: hover) and (min-width: 768px) {
  #codzan-native-shop-fallback .wd-product .product-image-link:has(> img.codzan-product-hover-image):hover > img:not(.codzan-product-hover-image) {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  #codzan-native-shop-fallback .wd-product .product-image-link:has(> img.codzan-product-hover-image):hover > img.codzan-product-hover-image {
    opacity: 1 !important;
    visibility: visible !important;
  }
}
@media (max-width: 767px) {
  #codzan-native-shop-fallback .wd-product .product-image-link.codzan-hover-active > img:not(.codzan-product-hover-image) {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  #codzan-native-shop-fallback .wd-product .product-image-link.codzan-hover-active > img.codzan-product-hover-image {
    opacity: 1 !important;
    visibility: visible !important;
  }
  #codzan-native-shop-fallback .wd-product .product-image-link:not(.codzan-hover-active):has(> img.codzan-product-hover-image) > img.codzan-product-hover-image {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Final no-zoom rule for every product-card layer. */
.wd-products .wd-product,
.wd-products .wd-product:hover,
.wd-products .wd-product:focus-within,
.wd-products .wd-product .product-image-link,
.wd-products .wd-product .product-image-link:hover,
.wd-products .wd-product .wd-product-grid-slider,
.wd-products .wd-product .product-image-link img,
.wd-products .wd-product .product-image-link img:hover,
.jet-listing-grid__item .jet-listing-dynamic-image,
.jet-listing-grid__item .jet-listing-dynamic-image img {
  transform: none !important;
}

/* Premium checkout form: icon-led labels, polished fields and a clear
 * purchase action while retaining WooCommerce's native markup and validation. */
body.woocommerce-checkout {
  --lp-checkout-ink: #173b5c;
  --lp-checkout-muted: #71849a;
  --lp-checkout-border: #dce7ef;
  --lp-checkout-accent: #704199;
  --lp-checkout-pink: #ed2290;
  background: linear-gradient(180deg, #fbfcff 0, #fff 48%, #fbf9fd 100%) !important;
}
body.woocommerce-checkout .woocommerce { max-width: 1120px !important; margin-top: 20px !important; }
body.woocommerce-checkout form.checkout { gap: 22px !important; }
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
  position: relative !important; overflow: hidden !important; padding: clamp(22px, 3vw, 34px) !important;
  border: 1px solid rgba(112, 65, 153, .14) !important; border-radius: 24px !important;
  background: rgba(255,255,255,.96) !important; box-shadow: 0 18px 55px rgba(34,48,76,.09) !important;
}
body.woocommerce-checkout #customer_details::before,
body.woocommerce-checkout #order_review::before {
  content: "" !important; position: absolute !important; inset: 0 0 auto !important; height: 4px !important;
  background: linear-gradient(90deg, var(--lp-checkout-pink), var(--lp-checkout-accent), #06a6bd) !important;
}
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
  display: flex !important; align-items: center !important; gap: 11px !important; margin: 0 0 27px !important;
  color: var(--lp-checkout-ink) !important; font: 900 clamp(1.15rem,2vw,1.4rem)/1.5 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
}
body.woocommerce-checkout #order_review_heading { transform: none !important; margin-bottom: 27px !important; }
body.woocommerce-checkout #customer_details h3::before,
body.woocommerce-checkout #order_review_heading::before {
  display: inline-grid !important; place-items: center !important; width: 38px !important; height: 38px !important; flex: 0 0 38px !important;
  border-radius: 13px !important; background: linear-gradient(135deg,#f5e7f5,#e8f7fb) !important; color: var(--lp-checkout-accent) !important;
  font: 900 19px/1 Tahoma,sans-serif !important;
}
body.woocommerce-checkout #customer_details h3::before,
body.woocommerce-checkout #customer_details .lp-address-card-title::before,
html body.woocommerce-checkout .lp-address-card-title::before {
  display: none !important;
  content: none !important;
}
body.woocommerce-checkout #order_review_heading::before { content: "▤" !important; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 16px 18px !important; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column: 1/-1 !important; }
body.woocommerce-checkout form .form-row label {
  display: flex !important; align-items: center !important; gap: 8px !important; min-height: 24px !important; margin: 0 0 8px !important;
  color: var(--lp-checkout-ink) !important; font: 800 .82rem/1.5 "CodzanPersian",Tahoma,sans-serif !important;
}
body.woocommerce-checkout form .form-row label::before {
  content: "•" !important; display: inline-grid !important; place-items: center !important; width: 24px !important; height: 24px !important; flex: 0 0 24px !important;
  border-radius: 8px !important; background: #f3eafa !important; color: var(--lp-checkout-accent) !important; font: 900 16px/1 Tahoma,sans-serif !important;
}
body.woocommerce-checkout form .form-row label[for="billing_first_name"]::before,
body.woocommerce-checkout form .form-row label[for="billing_last_name"]::before,
body.woocommerce-checkout form .form-row label[for="shipping_first_name"]::before,
body.woocommerce-checkout form .form-row label[for="shipping_last_name"]::before { content: "♙" !important; }
body.woocommerce-checkout form .form-row label[for="billing_phone"]::before { content: "⌕" !important; }
body.woocommerce-checkout form .form-row label[for="billing_email"]::before { content: "@" !important; }
body.woocommerce-checkout form .form-row label[for="billing_state"]::before,
body.woocommerce-checkout form .form-row label[for="billing_city"]::before,
body.woocommerce-checkout form .form-row label[for="shipping_state"]::before,
body.woocommerce-checkout form .form-row label[for="shipping_city"]::before { content: "⌖" !important; }
body.woocommerce-checkout form .form-row label[for="billing_postcode"]::before,
body.woocommerce-checkout form .form-row label[for="shipping_postcode"]::before { content: "▦" !important; }
body.woocommerce-checkout form .form-row label[for="billing_address_1"]::before,
body.woocommerce-checkout form .form-row label[for="shipping_address_1"]::before { content: "⌂" !important; }
body.woocommerce-checkout form .form-row .optional { color: #9aa9b8 !important; font-size: .72em !important; font-weight: 700 !important; }
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select {
  box-sizing: border-box !important; width: 100% !important; min-height: 50px !important; padding: 0 15px !important;
  border: 1px solid var(--lp-checkout-border) !important; border-radius: 13px !important; background: #fbfdff !important; color: var(--lp-checkout-ink) !important;
  font: 700 .86rem/1.7 "CodzanPersian",Tahoma,sans-serif !important; box-shadow: inset 0 1px 2px rgba(18,59,92,.025) !important;
  transition: border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease !important;
}
body.woocommerce-checkout form .form-row textarea { min-height: 118px !important; padding-top: 13px !important; resize: vertical !important; }
body.woocommerce-checkout form .form-row select { cursor: pointer !important; appearance: auto !important; }
body.woocommerce-checkout form .form-row input.input-text:hover,
body.woocommerce-checkout form .form-row textarea:hover,
body.woocommerce-checkout form .form-row select:hover { border-color: #c5a9d7 !important; background: #fff !important; }
body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row textarea:focus,
body.woocommerce-checkout form .form-row select:focus { border-color: var(--lp-checkout-accent) !important; outline: 0 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(112,65,153,.11),0 8px 20px rgba(112,65,153,.06) !important; transform: translateY(-1px) !important; }
body.woocommerce-checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce-invalid select,
body.woocommerce-checkout .woocommerce-invalid textarea { border-color: #e34f7e !important; box-shadow: 0 0 0 4px rgba(227,79,126,.09) !important; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 22px 0 8px !important; padding: 14px 16px !important; border: 1px solid #e9e1f0 !important; border-radius: 13px !important; background: #fcf9fe !important; color: var(--lp-checkout-muted) !important; font-size: .78rem !important; }
body.woocommerce-checkout #payment { margin-top: 20px !important; padding: 16px !important; border: 1px solid #e8e2ee !important; border-radius: 16px !important; background: #faf8fc !important; }
body.woocommerce-checkout .lp-delivery-choice { display:flex !important; flex-direction:column !important; align-items:stretch !important; gap:12px !important; width:100% !important; box-sizing:border-box !important; margin:0 0 16px !important; padding:16px 18px !important; border:1px solid #eadcf1 !important; border-radius:16px !important; background:linear-gradient(135deg,#fff,#faf5ff) !important; box-shadow:0 7px 22px rgba(112,65,153,.07) !important; }
body.woocommerce-checkout .lp-delivery-choice-legacy { display:none !important; }
body.woocommerce-checkout .lp-delivery-choice { gap:0 !important; padding:0 !important; overflow:hidden !important; }
body.woocommerce-checkout .lp-delivery-choice { margin-top:16px !important; }
html body.woocommerce-checkout #customer_details > .lp-delivery-choice {
  margin-top: 16px !important;
  margin-bottom: 38px !important;
}
html body.woocommerce-checkout #customer_details > #lp-address-card-wrapper {
  margin-top: 38px !important;
}
body.woocommerce-checkout .lp-delivery-choice-title { display:none !important; }
body.woocommerce-checkout .lp-delivery-choice:not(.is-open) .lp-delivery-options,
body.woocommerce-checkout .lp-delivery-choice:not(.is-open) .lp-delivery-address-note { display:none !important; }
body.woocommerce-checkout .lp-delivery-choice.is-open .lp-delivery-options { padding:14px 18px 0 !important; }
body.woocommerce-checkout .lp-delivery-choice.is-open .lp-delivery-address-note { margin:12px 18px 16px !important; width:calc(100% - 36px) !important; }
body.woocommerce-checkout .lp-delivery-selector-heading { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:10px !important; width:100% !important; margin:0 !important; padding:14px 17px !important; border:0 !important; border-radius:0 !important; background:linear-gradient(135deg,#fce4f3,#eee4f8) !important; color:#704199 !important; font:900 13px/1.5 "CodzanPersian",Tahoma,sans-serif !important; cursor:pointer !important; user-select:none !important; }
body.woocommerce-checkout .lp-delivery-choice.is-open .lp-payment-selector-arrow { transform:rotate(180deg) !important; }
body.woocommerce-checkout .lp-delivery-options { display:flex !important; flex-wrap:wrap !important; gap:10px 18px !important; }
body.woocommerce-checkout .lp-delivery-option { display:inline-flex !important; align-items:center !important; gap:8px !important; margin:0 !important; color:#475569 !important; font:800 .8rem/1.5 "CodzanPersian",Tahoma,sans-serif !important; cursor:pointer !important; }
body.woocommerce-checkout .lp-delivery-option input { appearance:none !important; width:18px !important; height:18px !important; margin:0 !important; border:2px solid #cdb9dd !important; border-radius:50% !important; background:#fff !important; }
body.woocommerce-checkout .lp-delivery-option input:checked { border-color:#704199 !important; box-shadow:inset 0 0 0 4px #fff !important; background:#704199 !important; }
html body.woocommerce-checkout .lp-delivery-address-note { display:inline-flex !important; align-items:center !important; gap:8px !important; width:100% !important; min-height:0 !important; box-sizing:border-box !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:#334155 !important; font:700 .92rem/1.8 "CodzanPersian",Tahoma,sans-serif !important; }
body.woocommerce-checkout .lp-delivery-address-note.is-hidden { display:none !important; }
html body.woocommerce-checkout .lp-delivery-address-note-icon { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:34px !important; height:34px !important; min-width:34px !important; flex:0 0 34px !important; border-radius:10px !important; background:linear-gradient(135deg,#f5e7f5,#e8f7fb) !important; color:#704199 !important; font-size:16px !important; line-height:1 !important; }
@media (max-width: 768px) {
  html body.woocommerce-checkout .lp-delivery-address-note { gap:6px !important; font-size:.84rem !important; line-height:1.65 !important; }
  html body.woocommerce-checkout .lp-delivery-address-note-icon { width:32px !important; height:32px !important; min-width:32px !important; flex-basis:32px !important; }
}
body.woocommerce-checkout #lp-address-card-main-row.is-pickup { opacity:.46 !important; filter:grayscale(.65) !important; pointer-events:none !important; }
body.woocommerce-checkout #lp-address-card-wrapper.is-pickup { display:none !important; }
body.woocommerce-checkout #lp-address-card-main-row.is-pickup .lp-address-edit-btn { cursor:not-allowed !important; }
body.woocommerce-checkout .lp-pickup-summary { display:none !important; }
body.woocommerce-checkout .lp-payment-collapsible { width:100% !important; margin:0 0 14px !important; padding:0 !important; border:1px solid #eadcf1 !important; border-radius:16px !important; background:#fff !important; overflow:hidden !important; box-shadow:0 7px 22px rgba(112,65,153,.07) !important; }
body.woocommerce-checkout .lp-payment-selector-heading { list-style:none !important; display:flex !important; align-items:center !important; justify-content:space-between !important; gap:10px !important; width:100% !important; margin:0 !important; padding:14px 17px !important; border:0 !important; border-radius:0 !important; background:linear-gradient(135deg,#fce4f3,#eee4f8) !important; color:#704199 !important; font:900 13px/1.5 "CodzanPersian",Tahoma,sans-serif !important; cursor:pointer !important; user-select:none !important; }
body.woocommerce-checkout .lp-payment-selector-label { display:inline-flex !important; align-items:center !important; gap:10px !important; color:#704199 !important; }
body.woocommerce-checkout .lp-payment-selector-icon { flex:0 0 auto !important; color:#704199 !important; }
body.woocommerce-checkout .lp-payment-selector-arrow { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:14px !important; height:14px !important; color:#704199 !important; font-size:18px !important; line-height:1 !important; transition:transform .25s ease !important; }
body.woocommerce-checkout .lp-payment-collapsible.is-open .lp-payment-selector-arrow { transform:rotate(180deg) !important; }
body.woocommerce-checkout .lp-payment-selector-heading.is-disabled { opacity:.55 !important; cursor:not-allowed !important; }
body.woocommerce-checkout .lp-payment-collapsible.is-disabled { opacity:.58 !important; }
body.woocommerce-checkout .lp-payment-gateways-panel { min-width:0 !important; margin:0 !important; padding:12px 8px 0 !important; border:0 !important; }
body.woocommerce-checkout .lp-payment-gateways-panel.is-disabled { opacity:.48 !important; pointer-events:none !important; }
/* Payment Methods List */
body.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
  position: relative !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1.5px solid #e4d7ee !important;
  border-radius: 13px !important;
  background: #fff !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
  cursor: pointer !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
  border-color: #c4acd8 !important;
  background: #fdfaff !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method.is-selected,
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input[name="payment_method"]:checked) {
  border-color: #704199 !important;
  background: linear-gradient(135deg, #fbf7fe 0%, #fff 100%) !important;
  box-shadow: 0 4px 14px rgba(112, 65, 153, 0.08) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-method-label {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  cursor: pointer !important;
  font: 800 .86rem/1.4 "CodzanPersian", Tahoma, sans-serif !important;
  color: #123b60 !important;
  width: 100% !important;
}

/* Styled Checkbox / Radio Selector (always visible, even with only 1 gateway) */
body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-radio {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
  border: 2px solid #bca3d2 !important;
  border-radius: 6px !important;
  background: #fff !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  transition: all .2s ease !important;
  flex-shrink: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:hover,
body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-radio:hover {
  border-color: #704199 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked,
body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-radio:checked {
  border-color: #704199 !important;
  background: linear-gradient(135deg, #704199, #ed2290) !important;
  box-shadow: 0 2px 7px rgba(112, 65, 153, 0.25) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked::after,
body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-radio:checked::after {
  content: "✓" !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  gap: 8px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-title {
  color: #123b60 !important;
  font-weight: 800 !important;
  font-size: .88rem !important;
}

body.woocommerce-checkout #payment ul.payment_methods li .lp-payment-icon img,
body.woocommerce-checkout #payment ul.payment_methods li img {
  max-height: 28px !important;
  width: auto !important;
  vertical-align: middle !important;
}

/* Remove "پذیرنده کلیه کارتهای بانکی" notice under gateway */
body.woocommerce-checkout #payment .payment_box.payment_method_pa_samankish,
body.woocommerce-checkout #payment .payment_method_pa_samankish .payment_box {
  display: none !important;
}

body.woocommerce-checkout #payment .payment_box { border-radius: 11px !important; background: #f1eafa !important; color: #5f4b70 !important; }
body.woocommerce-checkout #payment #place_order {
  position: relative !important; min-height: 56px !important; margin-top: 12px !important; border: 0 !important; border-radius: 15px !important;
  background: linear-gradient(110deg,#704199 0%,#b82a9c 48%,#ed2290 100%) !important; color: #fff !important;
  font: 900 1rem/1 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important; box-shadow: 0 12px 25px rgba(183,42,156,.25) !important;
  transition: transform .2s ease,box-shadow .2s ease,filter .2s ease !important;
}
body.woocommerce-checkout #payment #place_order::before { content: "✓" !important; display: inline-block !important; margin-inline-end: 9px !important; font-size: 1.2em !important; }
body.woocommerce-checkout #payment #place_order:hover { filter: saturate(1.08) brightness(1.03) !important; transform: translateY(-2px) !important; box-shadow: 0 16px 30px rgba(183,42,156,.32) !important; }
@media (max-width: 700px) {
  body.woocommerce-checkout .woocommerce { margin-top: 20px !important; }
  body.woocommerce-checkout #customer_details, body.woocommerce-checkout #order_review { padding: 19px 15px !important; border-radius: 18px !important; }
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper, body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr !important; gap: 13px !important; }
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide, body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column: auto !important; }
  body.woocommerce-checkout #customer_details h3, body.woocommerce-checkout #order_review_heading { margin-bottom: 20px !important; font-size: 1.05rem !important; }
  body.woocommerce-checkout #customer_details h3::before, body.woocommerce-checkout #order_review_heading::before { width: 33px !important; height: 33px !important; flex-basis: 33px !important; }
}

/* Guest checkout: keep copy and the Persian cat art in one equal two-column row. */
body.woocommerce-checkout .woocommerce > .lolopet-checkout-guest-card {
  width: min(100%, 900px) !important;
  margin: 24px auto 12px !important;
  padding: 24px !important;
  border: 1px solid rgba(21, 151, 197, .18) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, #fff 0%, #f7fcfd 100%) !important;
  box-shadow: 0 16px 36px rgba(23, 59, 92, .09) !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-layout {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 30px !important;
  width: 100% !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-copy,
body.woocommerce-checkout .lolopet-checkout-guest-art {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-copy { text-align: center !important; }
body.woocommerce-checkout .lolopet-checkout-guest-art {
  position: relative !important;
  display: grid !important;
  min-height: 245px !important;
  place-items: center !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 16px 16px 12px !important;
  border: 1px solid rgba(21, 151, 197, .18) !important;
  border-radius: 22px !important;
  background: radial-gradient(circle at 50% 28%, #fff 0 18%, transparent 19%), linear-gradient(145deg, #e9f9fb, #f6effb 58%, #fff7ed) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px rgba(23,59,92,.08) !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-cat {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: min(100%, 225px) !important;
  height: 225px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: drop-shadow(0 10px 9px rgba(23, 59, 92, .14)) !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-art figcaption {
  position: relative !important;
  z-index: 2 !important;
  margin-top: -3px !important;
  color: #477086 !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-art__orb {
  position: absolute !important;
  display: block !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.62) !important;
  box-shadow: 0 8px 18px rgba(21,151,197,.08) !important;
}
body.woocommerce-checkout .lolopet-checkout-guest-art__orb--one { top: 24px !important; right: 24px !important; width: 28px !important; height: 28px !important; }
body.woocommerce-checkout .lolopet-checkout-guest-art__orb--two { bottom: 50px !important; left: 25px !important; width: 16px !important; height: 16px !important; }
@media (max-width: 700px) {
  body.woocommerce-checkout .lolopet-checkout-guest-card { padding: 16px !important; }
  body.woocommerce-checkout .lolopet-checkout-guest-layout { grid-template-columns: 1fr !important; gap: 18px !important; }
  body.woocommerce-checkout .lolopet-checkout-guest-art { grid-row: 1 !important; min-height: 188px !important; }
  body.woocommerce-checkout .lolopet-checkout-guest-cat { width: 165px !important; height: 165px !important; }
}

/* Invoice-style order summary */
body.woocommerce-checkout #order_review {
  padding: 0 !important;
  background: #fff !important;
}
body.woocommerce-checkout #order_review::before { height: 5px !important; }
body.woocommerce-checkout #order_review .shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  direction: rtl !important;
  background: #fff !important;
}
body.woocommerce-checkout #order_review .shop_table thead {
  display: table-header-group !important;
}
body.woocommerce-checkout #order_review .shop_table thead th {
  padding: 25px 26px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #eef0f5 !important;
  background: #fff !important;
  color: #8491a3 !important;
  font: 800 .72rem/1.5 "CodzanPersian",Tahoma,sans-serif !important;
  letter-spacing: .01em !important;
}
body.woocommerce-checkout #order_review .shop_table thead th.product-name { text-align: right !important; }
body.woocommerce-checkout #order_review .shop_table thead th.product-total { text-align: left !important; }
body.woocommerce-checkout #order_review .shop_table tbody tr {
  background: #fff !important;
  box-shadow: none !important;
}
body.woocommerce-checkout #order_review .shop_table tbody td {
  padding: 17px 26px !important;
  border: 0 !important;
  border-bottom: 1px solid #f0f2f6 !important;
  background: #fff !important;
  color: #234361 !important;
  font: 800 .82rem/1.7 "CodzanPersian",Tahoma,sans-serif !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .shop_table tbody td.product-name {
  text-align: right !important;
  font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
}
body.woocommerce-checkout #order_review .shop_table tbody td.product-name .product-quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 33px !important;
  min-height: 24px !important;
  margin-inline-start: 8px !important;
  padding: 0 7px !important;
  border-radius: 7px !important;
  background: #f3eafa !important;
  color: #704199 !important;
  font: 900 .75rem/1 "CodzanPersian",Tahoma,sans-serif !important;
  direction: rtl !important;
}
body.woocommerce-checkout #order_review .shop_table tbody td.product-total {
  text-align: left !important;
  white-space: nowrap !important;
  color: #173b5c !important;
  font-weight: 900 !important;
}
body.woocommerce-checkout #order_review .shop_table tfoot tr th,
body.woocommerce-checkout #order_review .shop_table tfoot tr td {
  padding: 13px 26px !important;
  border: 0 !important;
  color: #63758a !important;
  background: #fff !important;
  font: 800 .8rem/1.6 "CodzanPersian",Tahoma,sans-serif !important;
}
body.woocommerce-checkout #order_review .shop_table tfoot tr th { text-align: right !important; }
body.woocommerce-checkout #order_review .shop_table tfoot tr td { text-align: left !important; white-space: nowrap !important; }
body.woocommerce-checkout #order_review .shop_table tfoot tr.cart-subtotal th::before { content: "◈" !important; }
body.woocommerce-checkout #order_review .shop_table tfoot tr.shipping th::before { content: "⌁" !important; }
body.woocommerce-checkout #order_review .shop_table tfoot tr.tax-total th::before { content: "%" !important; }
body.woocommerce-checkout #order_review .shop_table tfoot tr th::before {
  display: inline-grid !important;
  place-items: center !important;
  width: 23px !important;
  height: 23px !important;
  margin-inline-end: 7px !important;
  border-radius: 7px !important;
  background: #f5f0f8 !important;
  color: #704199 !important;
  font: 900 .72rem/1 Tahoma,sans-serif !important;
}
body.woocommerce-checkout #order_review .shop_table tfoot tr.tax-total th,
body.woocommerce-checkout #order_review .shop_table tfoot tr.tax-total td {
  color: #704199 !important;
  background: #fcf8fd !important;
}
body.woocommerce-checkout #order_review .shop_table tfoot tr.order-total th,
body.woocommerce-checkout #order_review .shop_table tfoot tr.order-total td {
  padding-top: 20px !important;
  padding-bottom: 22px !important;
  border-top: 1px solid #eadcf0 !important;
  background: linear-gradient(180deg,#fcf9fe,#fff) !important;
  color: #173b5c !important;
  font-size: .98rem !important;
  font-weight: 900 !important;
}
body.woocommerce-checkout #order_review .shop_table tfoot tr.order-total th::before { content: "✓" !important; background: #e8f7f5 !important; color: #078b88 !important; }
body.woocommerce-checkout #order_review .shop_table tfoot tr.order-total td strong { color: #c51b79 !important; font-size: 1.05rem !important; }
body.woocommerce-checkout #order_review .includes_tax { display: block !important; margin-top: 3px !important; color: #9aa9b8 !important; font-size: .68rem !important; font-weight: 700 !important; }
body.woocommerce-checkout #order_review .woocommerce-Price-amount,
body.woocommerce-checkout #order_review .woocommerce-Price-currencySymbol { font-family: "CodzanPersian",Tahoma,sans-serif !important; }
@media (max-width: 700px) {
  body.woocommerce-checkout #order_review .shop_table thead th { padding: 20px 16px 12px !important; }
  body.woocommerce-checkout #order_review .shop_table tbody td { padding: 14px 16px !important; }
  body.woocommerce-checkout #order_review .shop_table tfoot tr th,
  body.woocommerce-checkout #order_review .shop_table tfoot tr td { padding: 11px 16px !important; }
}

body.woocommerce-checkout #order_review .lp-checkout-invoice {
  min-width: 760px !important;
}
body.woocommerce-checkout #order_review:has(.lp-checkout-invoice) {
  overflow-x: visible !important;
}
body.woocommerce-checkout .lp-checkout-invoice .invoice-row-number {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 4px !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  color: #8a98a8 !important;
}
body.woocommerce-checkout .lp-checkout-invoice .invoice-product-code {
  width: 100px !important;
  text-align: center !important;
  direction: ltr !important;
  color: #704199 !important;
  font-family: "CodzanPersian",Tahoma,sans-serif !important;
}
body.woocommerce-checkout .lp-checkout-invoice .invoice-product-image {
  width: 70px !important;
  padding-inline: 12px !important;
  text-align: center !important;
}
body.woocommerce-checkout .lp-checkout-invoice .invoice-product-image img {
  display: inline-block !important;
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  border: 1px solid #e8e1ef !important;
  border-radius: 11px !important;
  background: #fff !important;
}
body.woocommerce-checkout .lp-checkout-invoice .product-name {
  min-width: 190px !important;
  color: #173b5c !important;
  font-weight: 900 !important;
}
body.woocommerce-checkout .lp-checkout-invoice .invoice-product-qty {
  width: 64px !important;
  text-align: center !important;
  color: #704199 !important;
  font-size: .9rem !important;
  font-weight: 900 !important;
}
body.woocommerce-checkout .lp-checkout-invoice .invoice-product-price,
body.woocommerce-checkout .lp-checkout-invoice .product-total {
  min-width: 100px !important;
  text-align: left !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout .lp-checkout-invoice thead th.invoice-product-qty,
body.woocommerce-checkout .lp-checkout-invoice thead th.product-total {
  white-space: nowrap !important;
  text-align: center !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-price .woocommerce-Price-currencySymbol,
body.woocommerce-checkout #order_review .lp-checkout-invoice .product-total .woocommerce-Price-currencySymbol {
  display: none !important;
}
body.woocommerce-checkout .lp-checkout-invoice .product-total { color: #c51b79 !important; }
body.woocommerce-checkout .lp-checkout-invoice .cart-discount th,
body.woocommerce-checkout .lp-checkout-invoice .cart-discount td { color: #168a79 !important; }
body.woocommerce-checkout .lp-checkout-invoice .cart-discount td a { color: #c51b79 !important; font-weight: 900 !important; }

/* Collapsible Checkout Coupon (placed above payment gateways) */
body.woocommerce-checkout .lp-checkout-coupon-collapsible {
  width: 100% !important;
  margin: 0 0 16px !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .lp-coupon-toggle-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 11px 16px !important;
  border: 1px solid #e5daf0 !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg,#fce4f3,#eee4f8) !important;
  color: #704199 !important;
  font: 900 13px/1.5 "CodzanPersian", Tahoma, sans-serif !important;
  text-align: right !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .lp-coupon-toggle-btn:hover {
  background: linear-gradient(135deg,#f8d8ec,#e7ddf5) !important;
  border-color: #d1bde3 !important;
}

body.woocommerce-checkout .lp-coupon-toggle-btn.is-open {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background: linear-gradient(135deg,#fce4f3,#eee4f8) !important;
  border-color: #e5daf0 !important;
}

body.woocommerce-checkout .lp-coupon-toggle-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #704199 !important;
  font: inherit !important;
}

body.woocommerce-checkout .lp-coupon-icon {
  flex-shrink: 0 !important;
  stroke: #704199 !important;
}

body.woocommerce-checkout .lp-coupon-toggle-arrow { color:#704199 !important; }

body.woocommerce-checkout .lp-coupon-toggle-btn.is-open .lp-coupon-toggle-arrow {
  transform: rotate(180deg) !important;
}

body.woocommerce-checkout .lp-coupon-collapse-panel {
  margin-top: 6px !important;
  padding: 14px 16px !important;
  border: 1px solid #e5daf0 !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(56, 32, 77, 0.05) !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .lp-coupon-fields-inline {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.woocommerce-checkout .lp-coupon-input {
  flex: 1 1 auto !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid #dcd1e5 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #333 !important;
  font: 700 .84rem "CodzanPersian", Tahoma, sans-serif !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .lp-coupon-input:focus {
  border-color: #704199 !important;
  box-shadow: 0 0 0 3px rgba(112, 65, 153, 0.12) !important;
  outline: none !important;
}

body.woocommerce-checkout .lp-coupon-apply-btn {
  flex: 0 0 auto !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #704199, #ed2290) !important;
  color: #fff !important;
  font: 800 .82rem "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  transition: transform .15s ease, opacity .15s ease, filter .15s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .lp-coupon-apply-btn:hover {
  filter: brightness(1.06) !important;
}

body.woocommerce-checkout .lp-coupon-apply-btn:active {
  transform: scale(0.98) !important;
}

body.woocommerce-checkout .lp-coupon-apply-btn.is-loading {
  opacity: .7 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

body.woocommerce-checkout .lp-coupon-msg {
  margin-top: 10px !important;
  padding: 9px 13px !important;
  border-radius: 9px !important;
  font: 700 .78rem/1.5 "CodzanPersian", Tahoma, sans-serif !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .lp-coupon-msg.is-error {
  display: block !important;
  background: #fff3f6 !important;
  color: #be185d !important;
  border: 1px solid #fecdd3 !important;
}

body.woocommerce-checkout .lp-coupon-msg.is-success {
  display: block !important;
  background: #effdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

@media (max-width: 600px) {
  body.woocommerce-checkout .lp-coupon-toggle-btn {
    padding: 10px 12px !important;
    font-size: .8rem !important;
  }
  body.woocommerce-checkout .lp-coupon-fields-inline {
    gap: 8px !important;
  }
  body.woocommerce-checkout .lp-coupon-apply-btn {
    padding: 0 14px !important;
    font-size: .78rem !important;
  }
}
body.woocommerce-checkout #order_review .lp-checkout-invoice th,
body.woocommerce-checkout #order_review .lp-checkout-invoice td {
  border: 1px solid #dfe6ee !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
  border-color: #d5dfe9 !important;
  background: #f3f7fb !important;
  color: #234361 !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td {
  border-color: #e3e9ef !important;
  background: #fff !important;
  text-align: center !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr:nth-child(even) td {
  background: #fbfdff !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name { text-align: right !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot th,
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot td {
  border-color: #dfe6ee !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-row-number { width: 58px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-code { width: 112px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-image { width: 88px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-qty { width: 72px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-price,
body.woocommerce-checkout #order_review .lp-checkout-invoice .product-total { width: 135px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td,
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot th,
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot td {
  text-align: right !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-image img {
  display: block !important;
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-qty,
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-price,
body.woocommerce-checkout #order_review .lp-checkout-invoice .product-total {
  text-align: right !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice {
  table-layout: fixed !important;
  min-width: 860px !important;
  border: 1px solid #d8e2eb !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-row { width: 58px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-code { width: 105px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-image { width: 85px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-name { width: auto !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-qty { width: 110px !important; min-width: 110px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-price { width: 120px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-total { width: 130px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice th,
body.woocommerce-checkout #order_review .lp-checkout-invoice td {
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
  height: 54px !important;
  padding: 0 14px !important;
  border-color: #315675 !important;
  background: linear-gradient(135deg,#173b5c,#245f80) !important;
  color: #fff !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  text-align: right !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td {
  height: 82px !important;
  padding: 12px 14px !important;
  border-color: #dfe7ee !important;
  color: #234361 !important;
  text-align: right !important;
  white-space: normal !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr:hover td { background: #f6fbfd !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-image img {
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  border: 1px solid #d8e4ec !important;
  border-radius: 10px !important;
  background: #fff !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice .product-name {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot th,
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot td {
  height: 45px !important;
  padding: 10px 14px !important;
  text-align: right !important;
}
/* Compact, aligned invoice geometry: reserve the wide column for the name. */
body.woocommerce-checkout #order_review .lp-checkout-invoice {
  min-width: 820px !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-row { width: 5% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-code { width: 10% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-image { width: 9% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-name { width: 43% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-qty { width: 8% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-price { width: 12.5% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-total { width: 12.5% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
  height: 46px !important;
  padding: 0 8px !important;
  text-align: center !important;
  vertical-align: middle !important;
  font-size: .72rem !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td {
  height: 64px !important;
  padding: 8px !important;
  vertical-align: middle !important;
  line-height: 1.45 !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-row-number,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-code,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-qty {
  text-align: center !important;
  white-space: nowrap !important;
  font-size: .78rem !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-image {
  text-align: center !important;
  padding: 6px !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-image img {
  width: 42px !important;
  height: 42px !important;
  margin-inline: auto !important;
  border-radius: 8px !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name {
  min-width: 0 !important;
  padding-inline: 12px !important;
  text-align: right !important;
  font-size: .78rem !important;
  line-height: 1.55 !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-price {
  min-width: 0 !important;
  text-align: left !important;
  white-space: nowrap !important;
  font-size: .76rem !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total {
  min-width: 0 !important;
  text-align: left !important;
  white-space: nowrap !important;
  font-size: .76rem !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td,
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot th,
body.woocommerce-checkout #order_review .lp-checkout-invoice tfoot td {
  color: #173b5c !important;
  font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
  color: #173b5c !important;
  background: #f3f7fb !important;
  font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(1),
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(2),
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(3),
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(5) {
  text-align: center !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(4),
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(6),
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(7) {
  text-align: right !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr {
  height: 62px !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td > * {
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name {
  line-height: 1.45 !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name dl {
  margin: 3px 0 0 !important;
  line-height: 1.3 !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name dt,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name dd {
  display: inline !important;
  margin: 0 3px !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total .woocommerce-Price-amount,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total .woocommerce-Price-currencySymbol {
  color: #173b5c !important;
  font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
}

/* Final clean invoice skin. Keep this block last so the table has one
 * predictable visual system instead of inheriting earlier generic table rules. */
body.woocommerce-checkout #order_review:has(.lp-checkout-invoice),
body.woocommerce-checkout #order_review {
  padding: 18px !important;
  overflow-x: visible !important;
  background: #fff !important;
}
body.woocommerce-checkout #order_review .lp-checkout-review-wrap {
  width: 100% !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout #order_review .lp-checkout-table-scroll {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice {
  width: 100% !important;
  min-width: 820px !important;
  margin: 0 !important;
  table-layout: fixed !important;
  border: 1px solid #d5e0e8 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}

/* The review table already has its own structure; remove the redundant outer
 * checkout frame so the invoice can use the full available width. */
html body.woocommerce-checkout #order_review:has(.lp-checkout-invoice),
html body.woocommerce-checkout #order_review {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}
html body.woocommerce-checkout #order_review .lp-checkout-review-wrap,
html body.woocommerce-checkout #order_review .lp-checkout-table-scroll {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.woocommerce-checkout #order_review::before,
html body.woocommerce-checkout .checkout-order-review::before {
  content: none !important;
  display: none !important;
}
html body.woocommerce-checkout #order_review .lp-checkout-invoice {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.woocommerce-checkout .checkout-order-review,
html body.woocommerce-checkout .checkout-order-review > #order_review,
html body.woocommerce-checkout .checkout-order-review > .woocommerce-checkout-review-order {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-row { width: 58px !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-code { width: 11% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-image { width: 10% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-name { width: 38% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-qty { width: 8% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-price { width: 12.5% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-total { width: 13.5% !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
  height: 48px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-bottom: 2px solid #0e314d !important;
  background: #173b5c !important;
  color: #fff !important;
  font: 900 .78rem/1.2 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  text-align: right !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-row-number {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 4px !important;
  text-align: center !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(3),
body.woocommerce-checkout #order_review .lp-checkout-invoice thead th:nth-child(5),
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-image,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-qty { text-align: center !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td {
  height: 62px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3eaf0 !important;
  background: #fff !important;
  color: #173b5c !important;
  font: 900 .78rem/1.45 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  text-align: right !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr:nth-child(even) td { background: #f8fbfd !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr:last-child td { border-bottom: 0 !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: normal !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-row-number {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 4px !important;
  text-align: center !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-code,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-qty {
  white-space: nowrap !important;
  text-align: center !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-image img {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 auto !important;
  border: 1px solid #d7e2ea !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-price,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total {
  white-space: nowrap !important;
  color: #173b5c !important;
  font: 900 .78rem/1.45 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  text-align: left !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total span.woocommerce-Price-amount,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total bdi {
  display: inline-block !important;
  text-align: left !important;
  direction: ltr !important;
}

body.woocommerce-checkout #order_review_heading {
  display: none !important;
}

/* Review totals table (desktop view: seamless continuation of invoice) */
body.woocommerce-checkout #order_review .lp-checkout-totals {
  width: 100% !important;
  min-width: 820px !important;
  margin: 0 !important;
  border: 1px solid #d5e0e8 !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff !important;
  table-layout: fixed !important;
  overflow: hidden !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals th,
body.woocommerce-checkout #order_review .lp-checkout-totals td {
  min-height: 42px !important;
  padding: 9px 14px !important;
  border: 0 !important;
  border-top: 1px solid #dce6ed !important;
  background: #fff !important;
  color: #173b5c !important;
  font: 900 .78rem/1.45 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  text-align: right !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals th.lp-total-label,
body.woocommerce-checkout #order_review .lp-checkout-totals tr th {
  width: 86.5% !important;
  text-align: right !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals td.lp-total-value,
body.woocommerce-checkout #order_review .lp-checkout-totals tr td {
  width: 13.5% !important;
  text-align: left !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th,
body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td {
  background: #eef8f8 !important;
  color: #173b5c !important;
  font-size: .84rem !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th {
  display: table-cell !important;
  width: 86.5% !important;
  text-align: right !important;
  vertical-align: middle !important;
  padding: 9px 14px !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th .lp-shipping-heading {
  font-weight: 900 !important;
  color: #173b5c !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th .lp-shipping-method-name {
  font-weight: 800 !important;
  color: #173b5c !important;
  margin-right: 6px !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td {
  display: table-cell !important;
  width: 13.5% !important;
  text-align: left !important;
  padding: 9px 14px !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td ul#shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td ul#shipping_method li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td ul#shipping_method li label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font: 900 .78rem/1.45 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  color: #173b5c !important;
  white-space: nowrap !important;
  text-align: left !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .lp-shipping-method-title {
  display: none !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .lp-shipping-method-price,
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .woocommerce-Price-amount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  color: #173b5c !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .woocommerce-Price-amount bdi {
  display: inline-flex !important;
  align-items: center !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  gap: 4px !important;
  white-space: nowrap !important;
}
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol {
  order: 2 !important;
  margin: 0 !important;
  direction: rtl !important;
}

/* Mobile responsive layout for checkout review invoice and totals */
.lp-mobile-only { display: none !important; }
.lp-desktop-only { display: inline !important; }
.lp-table-swipe-hint { display: none !important; }

@media (max-width: 767px) {
  .lp-desktop-only { display: none !important; }
  .lp-mobile-only { display: inline !important; }

  /* Eliminate wasteful side margins so checkout spans full width of mobile screen cleanly */
  html body.woocommerce-checkout,
  html body.woocommerce-checkout .wd-page-wrapper,
  html body.woocommerce-checkout .website-wrapper,
  html body.woocommerce-checkout .main-page-wrapper,
  html body.woocommerce-checkout .wd-page-content,
  html body.woocommerce-checkout #main-content,
  html body.woocommerce-checkout #main-content.container,
  html body.woocommerce-checkout .content-layout-wrapper,
  html body.woocommerce-checkout .container,
  html body.woocommerce-checkout .container-fluid,
  html body.woocommerce-checkout .site-content,
  html body.woocommerce-checkout .wd-content-area,
  html body.woocommerce-checkout .entry-content,
  html body.woocommerce-checkout article.page,
  html body.woocommerce-checkout article#post-9,
  html body.woocommerce-checkout .wd-content-area > .entry-content,
  html body.woocommerce-checkout .wd-content-area > #post-9,
  html body.woocommerce-checkout .site-content > .container,
  html body.woocommerce-checkout .wd-content-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-inline: 0 !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Maximize screen usage: card has only 4px margin from phone screen edges */
  html body.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 16px !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
  }

  html body.woocommerce-checkout form.checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  html body.woocommerce-checkout #order_review,
  html body.woocommerce-checkout #order_review:has(.lp-checkout-invoice),
  html body.woocommerce-checkout .checkout-order-review,
  html body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-x: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body.woocommerce-checkout .lp-checkout-review-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  html body.woocommerce-checkout #order_review::before,
  html body.woocommerce-checkout #order_review::after,
  html body.woocommerce-checkout .checkout-order-review::before,
  html body.woocommerce-checkout .checkout-order-review::after,
  html body.woocommerce-checkout #order_review_heading {
    display: none !important;
    content: none !important;
  }

  /* Table swipe hint banner */
  .lp-table-swipe-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 7px 12px !important;
    margin-bottom: 8px !important;
    border: 1px dashed #b8dceb !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #f0f8fd, #e5f3fa) !important;
    color: #0f587d !important;
    font: 900 .78rem/1.3 "CodzanPersian", Tahoma, sans-serif !important;
    text-align: center !important;
  }
  .lp-table-swipe-hint .lp-swipe-icon {
    font-size: 1.05rem !important;
    display: inline-block !important;
    animation: lpSwipeAnimation 1.6s infinite ease-in-out !important;
  }
  .lp-table-swipe-hint .lp-swipe-arrow {
    font-weight: 900 !important;
    font-size: .95rem !important;
    color: #1597c5 !important;
  }
  @keyframes lpSwipeAnimation {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
  }

  /* Scrollable product table card */
  html body.woocommerce-checkout #order_review .lp-checkout-table-scroll {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid #d5e0e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(23,59,92,.05) !important;
    scrollbar-width: thin !important;
    scrollbar-color: #1597c5 #eef5f9 !important;
    box-sizing: border-box !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-table-scroll::-webkit-scrollbar {
    height: 6px !important;
    display: block !important;
    background: #eef5f9 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-table-scroll::-webkit-scrollbar-track {
    background: #edf4f8 !important;
    border-radius: 6px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-table-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #1597c5, #173b5c) !important;
    border-radius: 6px !important;
  }

  /* Table layout and columns */
  html body.woocommerce-checkout #order_review .lp-checkout-invoice {
    width: 100% !important;
    min-width: 470px !important;
    border: none !important;
    border-radius: 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-row {
    width: 52px !important;
    min-width: 52px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-code {
    width: 52px !important;
    min-width: 52px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-image {
    width: 44px !important;
    min-width: 44px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-name {
    min-width: 130px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-qty {
    width: 78px !important;
    min-width: 78px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-price {
    width: 74px !important;
    min-width: 74px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-total {
    width: 82px !important;
    min-width: 82px !important;
  }

  /* Table Header cells */
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
    display: table-cell !important;
    height: 48px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-bottom: 2px solid #0e314d !important;
    background: #173b5c !important;
    color: #fff !important;
    font: 900 .78rem/1.2 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-row-number {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    padding: 0 2px !important;
    text-align: center !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-product-code {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    padding: 0 2px !important;
    text-align: center !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-product-image {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 2px !important;
    text-align: center !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.product-name {
    min-width: 130px !important;
    padding: 0 8px !important;
    text-align: right !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-product-qty {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    padding: 0 2px !important;
    text-align: center !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: .84rem !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-product-price {
    width: 74px !important;
    min-width: 74px !important;
    padding: 0 4px !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: .84rem !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.product-total {
    width: 82px !important;
    min-width: 82px !important;
    padding: 0 4px !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: .84rem !important;
  }

  /* Table Body cells */
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td {
    display: table-cell !important;
    height: 64px !important;
    padding: 6px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #e3eaf0 !important;
    background: #fff !important;
    color: #173b5c !important;
    font: 900 .82rem/1.4 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
    text-align: center !important;
    vertical-align: middle !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr:nth-child(even) td {
    background: #f8fbfd !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr:last-child td {
    border-bottom: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-row-number {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    padding: 0 2px !important;
    text-align: center !important;
    font-size: .88rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-code {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    padding: 0 2px !important;
    text-align: center !important;
    font-size: .85rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-image {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 4px 2px !important;
    text-align: center !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-image img {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 auto !important;
    border: 1px solid #d7e2ea !important;
    border-radius: 8px !important;
    object-fit: contain !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name {
    min-width: 140px !important;
    padding: 8px 8px !important;
    text-align: right !important;
    font-size: .84rem !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: normal !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-qty {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 2px !important;
    text-align: center !important;
    font-size: .90rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-price {
    width: 74px !important;
    min-width: 74px !important;
    padding: 0 6px !important;
    text-align: left !important;
    white-space: nowrap !important;
    font-size: .86rem !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total {
    width: 82px !important;
    min-width: 82px !important;
    padding: 0 6px !important;
    text-align: left !important;
    white-space: nowrap !important;
    font-size: .88rem !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice .invoice-product-price .woocommerce-Price-currencySymbol,
  html body.woocommerce-checkout #order_review .lp-checkout-invoice .product-total .woocommerce-Price-currencySymbol {
    display: none !important;
  }

  /* Totals summary card */
  html body.woocommerce-checkout #order_review .lp-checkout-totals {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 16px 0 !important;
    border: 1px solid #d5e0e8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(23,59,92,.06) !important;
    overflow: hidden !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border: none !important;
    border-bottom: 1px solid #edf2f6 !important;
    background: #fff !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr:last-child {
    border-bottom: none !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals th.lp-total-label,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #173b5c !important;
    font: 900 clamp(0.82rem, 2.7vw, 0.94rem)/1.3 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals td.lp-total-value,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #173b5c !important;
    font: 900 clamp(0.86rem, 2.8vw, 1.00rem)/1.3 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total {
    background: linear-gradient(135deg, #eef9f9, #e0f4f4) !important;
    border-top: 2px solid #9adede !important;
    border-bottom: none !important;
    padding: 14px 14px !important;
    margin-top: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th {
    color: #074f56 !important;
    font-size: clamp(0.90rem, 2.9vw, 1.05rem) !important;
    font-weight: 900 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td .woocommerce-Price-amount {
    color: #074f56 !important;
    font-size: clamp(.92rem, 2.8vw, 1.08rem) !important;
    font-weight: 900 !important;
  }

  /* Shipping row on mobile */
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #edf2f6 !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th::before,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #173b5c !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li input[type="radio"],
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li input[type="hidden"] {
    margin: 0 0 0 6px !important;
    flex: 0 0 auto !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font: 900 clamp(0.80rem, 2.6vw, 0.92rem)/1.3 "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
    color: #173b5c !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li label .lp-shipping-method-title {
    display: none !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li label .lp-shipping-method-price,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li label .woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
    color: #173b5c !important;
    font-size: clamp(0.86rem, 2.7vw, 1.00rem) !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    margin-inline-start: auto !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li label .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    align-items: center !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping ul#shipping_method li label .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol {
    order: 2 !important;
    margin: 0 !important;
    direction: rtl !important;
  }

  /* Payment box */
  html body.woocommerce-checkout #payment {
    border: 1px solid #d5e0e8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(23,59,92,.06) !important;
    padding: 14px 12px !important;
    margin-top: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Hide legacy coupon blocks if printed by WooCommerce/the base theme */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .wd-coupon-form,
body.woocommerce-checkout > .checkout_coupon,
body.woocommerce-checkout form.checkout > .checkout_coupon,
body.woocommerce-checkout .lp-checkout-coupon-bottom {
  display: none !important;
}
body.woocommerce-checkout .woocommerce { margin-top: 0 !important; }
body.woocommerce-checkout .checkout-order-review { margin-top: 0 !important; }
@media (min-width: 768px) {
  body.woocommerce-checkout #order_review .lp-checkout-invoice thead th {
    display: table-cell !important;
    height: 66px !important;
    padding: 0 14px !important;
    line-height: 1.35 !important;
    vertical-align: middle !important;
    font-size: .9rem !important;
  }
}
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td {
  display: table-cell !important;
  vertical-align: middle !important;
}
/* The base theme's checkout stylesheet turns the review table into flex rows. That
 * breaks the shared column grid, so restore real table layout for this invoice. */
body.woocommerce-checkout #order_review .lp-checkout-invoice,
body.woocommerce-checkout #order_review .lp-checkout-invoice thead,
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody {
  display: table !important;
  table-layout: fixed !important;
}
body.woocommerce-checkout #order_review .lp-checkout-invoice thead { display: table-header-group !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice tbody { display: table-row-group !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice tr { display: table-row !important; }
body.woocommerce-checkout #order_review .lp-checkout-invoice th,
body.woocommerce-checkout #order_review .lp-checkout-invoice td { display: table-cell !important; }
@media (min-width: 768px) {
  body.woocommerce-checkout #order_review .lp-checkout-totals,
  body.woocommerce-checkout #order_review .lp-checkout-totals tbody {
    display: table !important;
    table-layout: fixed !important;
  }
  body.woocommerce-checkout #order_review .lp-checkout-totals tbody { display: table-row-group !important; }
  body.woocommerce-checkout #order_review .lp-checkout-totals tr { display: table-row !important; }
  body.woocommerce-checkout #order_review .lp-checkout-totals th,
  body.woocommerce-checkout #order_review .lp-checkout-totals td { display: table-cell !important; }
}
body.woocommerce-checkout .wd-checkout-coupon,
body.woocommerce-checkout .wd-checkout-coupon.wd-wpb,
body.woocommerce-checkout .wd-checkout-coupon.wd-elementor { display: none !important; }
/* Remove the decorative top strips and pull the order card closer to the
 * customer details so the checkout starts cleanly without an empty band. */
body.woocommerce-checkout #customer_details::before,
body.woocommerce-checkout #order_review::before { display: none !important; content: none !important; }
body.woocommerce-checkout .checkout-order-review { margin-top: 0 !important; }
body.woocommerce-checkout form.checkout { gap: 12px !important; }

/* Guest checkout: match the empty-cart two-column presentation. */
html body.woocommerce-checkout .woocommerce > .lolopet-checkout-guest-card {
  width: min(1120px, calc(100% - 32px)) !important;
  margin: 18px auto 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(21,151,197,.14) !important;
  border-radius: 26px !important;
  background: linear-gradient(135deg,#fff 0%,#f5fbfc 100%) !important;
  box-shadow: 0 18px 45px rgba(18,64,86,.09) !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-layout {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  align-items: stretch !important;
  gap: 28px !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-copy {
  display: flex !important;
  min-height: 360px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(28px,5vw,64px) !important;
  border-radius: 20px !important;
  background: #fff !important;
  text-align: center !important;
}

html body.woocommerce-checkout .lolopet-checkout-auth-required {
  width: min(100%,480px) !important;
  padding: 16px 22px !important;
  border: 1px solid #b8dce7 !important;
  border-right: 5px solid #1597c5 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg,#fff,#eaf7fb) !important;
  box-shadow: 0 10px 24px rgba(23,59,92,.12),0 0 0 5px rgba(21,151,197,.06) !important;
}

html body.woocommerce-checkout .lolopet-checkout-auth-required strong {
  margin-bottom: 8px !important;
  color: #043b59 !important;
  font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  font-size: clamp(1.15rem,2.3vw,1.55rem) !important;
  font-weight: 900 !important;
}

html body.woocommerce-checkout .lolopet-checkout-auth-required span {
  color: #043b59 !important;
  font-family: "CodzanPersian",Tahoma,sans-serif !important;
  font-size: 1rem !important;
  line-height: 2.15 !important;
}

html body.woocommerce-checkout .lolopet-checkout-login-required {
  margin-top: 38px !important;
}

html body.woocommerce-checkout .lolopet-checkout-login-link {
  min-width: 230px !important;
  min-height: 52px !important;
  border: 2px solid rgba(255,255,255,.34) !important;
  border-radius: 14px !important;
  background: linear-gradient(110deg,#173b5c,#1597c5 58%,#27b9bf) !important;
  box-shadow: 0 12px 25px rgba(23,59,92,.24),inset 0 1px 0 rgba(255,255,255,.2) !important;
  color: #fff !important;
  font-family: "CodzanDisplay","CodzanPersian",Tahoma,sans-serif !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-art {
  min-height: 360px !important;
  padding: 10px !important;
  overflow: hidden !important;
  border: 4px solid transparent !important;
  border-radius: 26px !important;
  background: linear-gradient(#f7fcfd,#f7fcfd) padding-box,linear-gradient(135deg,#1597c5,#704199 52%,#f2b84b) border-box !important;
  box-shadow: 0 18px 38px rgba(23,59,92,.24),inset 0 0 0 1px rgba(255,255,255,.7) !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-art::before {
  content: "" !important;
  position: absolute !important;
  inset: 12px !important;
  z-index: 0 !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 18px !important;
  pointer-events: none !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-cat {
  width: min(100%,430px) !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 10px rgba(23,59,92,.18)) !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-art figcaption {
  color: #043b59 !important;
  font-family: "CodzanPersian",Tahoma,sans-serif !important;
  font-size: .86rem !important;
}

@media (max-width:700px) {
  html body.woocommerce-checkout .lolopet-checkout-guest-card { padding: 16px !important; }
  html body.woocommerce-checkout .lolopet-checkout-guest-layout { grid-template-columns: 1fr !important; gap: 18px !important; }
  html body.woocommerce-checkout .lolopet-checkout-guest-copy { min-height: 270px !important; padding: 28px 18px !important; }
  html body.woocommerce-checkout .lolopet-checkout-guest-art { min-height: 250px !important; }
  html body.woocommerce-checkout .lolopet-checkout-guest-cat { width: min(100%,340px) !important; height: auto !important; }
}

/* Final guest-art treatment: the photo itself fills the column; no separate frame. */
html body.woocommerce-checkout .lolopet-checkout-guest-art {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-art::before,
html body.woocommerce-checkout .lolopet-checkout-guest-art::after {
  display: none !important;
  content: none !important;
}

html body.woocommerce-checkout .lolopet-checkout-guest-cat {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  border-radius: 24px !important;
  filter: drop-shadow(0 14px 16px rgba(23,59,92,.18)) !important;
}

@media (max-width:700px) {
  html body.woocommerce-checkout .lolopet-checkout-guest-art { border-radius: 18px !important; }
  html body.woocommerce-checkout .lolopet-checkout-guest-cat { border-radius: 18px !important; }
}

/* Keep the checkout content directly under its breadcrumb. */
html body.woocommerce-checkout .woocommerce { margin-top: 0 !important; }
html body.woocommerce-checkout .checkout-order-review { margin-top: 0 !important; }

/* The theme adds a large white checkout-order-review wrapper with dotted
 * pseudo-elements above and below the order card. Keep the wrapper neutral so
 * the order heading and invoice start immediately after the breadcrumb. */
html body.woocommerce-checkout > .checkout-order-review,
html body.woocommerce-checkout form.checkout > .checkout-order-review {
  padding: 0 !important;
  background: transparent !important;
}
html body.woocommerce-checkout > .checkout-order-review::before,
html body.woocommerce-checkout > .checkout-order-review::after,
html body.woocommerce-checkout form.checkout > .checkout-order-review::before,
html body.woocommerce-checkout form.checkout > .checkout-order-review::after {
  display: none !important;
  content: none !important;
}
html body.woocommerce-checkout .checkout-order-review {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
html body.woocommerce-checkout .checkout-order-review::before,
html body.woocommerce-checkout .checkout-order-review::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
/* ==========================================================================
   LOLOPET DIRECT CHECKOUT POLISH: ADDRESS CARD & REVIEW TABLE
   ========================================================================== */

/* Page layout: address card at top, followed by order review */
html body.woocommerce-checkout form.checkout {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  gap: 24px !important;
}

/* Top Card: Address & Recipient Details */
html body.woocommerce-checkout #customer_details {
  order: 1 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 24px 0 !important;
  padding: 22px 28px !important;
  border: 1.5px solid rgba(112, 65, 153, 0.16) !important;
  border-top: 4px solid #704199 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(56, 32, 77, 0.06) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .lp-address-card-wrapper {
  display: block !important;
  width: 100% !important;
}

/* Row 1: Header with Title and Edit Button */
body.woocommerce-checkout .lp-address-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.woocommerce-checkout .lp-address-card-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.woocommerce-checkout .lp-address-card-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f5e7f5, #e8f7fb) !important;
  color: #704199 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body.woocommerce-checkout .lp-address-card-title {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  color: #1e293b !important;
  font: 900 1.2rem/1.4 "CodzanDisplay", "CodzanPersian", Tahoma, sans-serif !important;
}

body.woocommerce-checkout .lp-address-edit-btn,
body.woocommerce-checkout button.lp-address-edit-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  margin: 0 !important;
  border: 1.5px solid #704199 !important;
  border-radius: 10px !important;
  background: #faf5fc !important;
  color: #704199 !important;
  font: 800 .86rem/1.4 "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all .18s ease !important;
}

body.woocommerce-checkout .lp-address-edit-btn:hover,
body.woocommerce-checkout button.lp-address-edit-btn:hover {
  background: #704199 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(112, 65, 153, 0.2) !important;
}

/* Row 2: Selected Address Text Summary */
body.woocommerce-checkout .lp-address-card-summary {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 4px 0 !important;
  padding: 13px 18px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
}

body.woocommerce-checkout .lp-address-summary-content {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  color: #334155 !important;
  font: 700 .9rem/1.6 "CodzanPersian", Tahoma, sans-serif !important;
  direction: rtl !important;
}

body.woocommerce-checkout .lp-address-meta-person {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.woocommerce-checkout .lp-val-name {
  color: #0f172a !important;
  font-weight: 900 !important;
  font-family: "CodzanDisplay", "CodzanPersian", Tahoma, sans-serif !important;
}

body.woocommerce-checkout .lp-val-phone {
  color: #475569 !important;
  font-weight: 800 !important;
  letter-spacing: .5px !important;
}

body.woocommerce-checkout .lp-address-meta-sep {
  color: #cbd5e1 !important;
  font-weight: 400 !important;
  user-select: none !important;
}

body.woocommerce-checkout .lp-address-meta-location {
  display: inline !important;
  color: #334155 !important;
}

body.woocommerce-checkout .lp-val-state,
body.woocommerce-checkout .lp-val-city {
  color: #1e293b !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .lp-val-addr {
  color: #475569 !important;
  font-weight: 700 !important;
}

/* Edit Panel */
body.woocommerce-checkout .lp-address-edit-panel {
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1.5px dashed #cbd5e1 !important;
}

body.woocommerce-checkout .lp-address-edit-heading {
  margin-bottom: 16px !important;
  color: #64748b !important;
  font: 800 .86rem/1.5 "CodzanPersian", Tahoma, sans-serif !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1 !important;
}

body.woocommerce-checkout form.checkout .form-row label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 7px !important;
  color: #334155 !important;
  font: 800 .85rem/1.5 "CodzanPersian", Tahoma, sans-serif !important;
}

body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row select,
body.woocommerce-checkout form.checkout .form-row textarea {
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #fafbff !important;
  color: #1e293b !important;
  font: 700 .9rem/1.6 "CodzanPersian", Tahoma, sans-serif !important;
  box-shadow: none !important;
  transition: border-color .18s ease, background-color .18s ease !important;
}

body.woocommerce-checkout form.checkout .form-row select {
  padding-left: 28px !important;
  cursor: pointer !important;
}

body.woocommerce-checkout form.checkout .form-row textarea {
  min-height: 70px !important;
  padding: 10px 14px !important;
  resize: vertical !important;
}

body.woocommerce-checkout form.checkout .form-row input.input-text:focus,
body.woocommerce-checkout form.checkout .form-row select:focus,
body.woocommerce-checkout form.checkout .form-row textarea:focus {
  border-color: #704199 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(112, 65, 153, 0.12) !important;
  outline: none !important;
}

/* Save Address Checkbox */
body.woocommerce-checkout .lp-save-default-address-field {
  grid-column: 1 / -1 !important;
  margin-top: 6px !important;
  padding: 11px 16px !important;
  border: 1.5px dashed rgba(112, 65, 153, 0.35) !important;
  border-radius: 12px !important;
  background: #fbf8fe !important;
}

body.woocommerce-checkout .lp-save-default-address-field label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #581c87 !important;
  font: 800 .86rem/1.5 "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  margin: 0 !important;
}

body.woocommerce-checkout .lp-save-default-address-field input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #704199 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* Order Notes Wrapper */
body.woocommerce-checkout .lp-address-order-notes-wrapper {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
}

body.woocommerce-checkout .lp-address-order-notes-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 12px 0 !important;
  color: #334155 !important;
  font: 800 .95rem/1.5 "CodzanPersian", Tahoma, sans-serif !important;
}

body.woocommerce-checkout .lp-order-notes-icon {
  font-size: 16px !important;
}

body.woocommerce-checkout .lp-address-edit-actions {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 20px !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
}

body.woocommerce-checkout .lp-address-save-btn,
body.woocommerce-checkout button.lp-address-save-btn {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 24px !important;
  border: none !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #704199, #8b5cf6) !important;
  color: #ffffff !important;
  font: 900 .9rem/1.4 "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(112, 65, 153, 0.25) !important;
  transition: transform .15s ease, background .15s ease !important;
}

body.woocommerce-checkout .lp-address-save-btn:hover,
body.woocommerce-checkout button.lp-address-save-btn:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #581c87, #7c3aed) !important;
}

/* Invoice Table Card */
html body.woocommerce-checkout .checkout-order-review {
  order: 2 !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 24px 28px !important;
  border: 1.5px solid rgba(112, 65, 153, 0.16) !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(56, 32, 77, 0.06) !important;
}

/* Row Number & Remove Cross Button Cell */
html body.woocommerce-checkout .lp-checkout-invoice .invoice-row-number {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  text-align: center !important;
  padding: 6px 4px !important;
  vertical-align: middle !important;
}

html body.woocommerce-checkout .lp-row-num-cell {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  direction: rtl !important;
}

/* Clean Red Cross: NO border, NO box, NO background, pure red cross */
html body.woocommerce-checkout .lp-checkout-remove-btn,
html body.woocommerce-checkout button.lp-checkout-remove-btn,
html body.woocommerce-checkout .lp-checkout-invoice button.lp-checkout-remove-btn,
html body.woocommerce-checkout .lp-checkout-invoice .lp-row-num-cell button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-style: none !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ef4444 !important;
  font-family: Arial, Tahoma, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform .15s ease, color .15s ease !important;
  vertical-align: middle !important;
}

html body.woocommerce-checkout .lp-checkout-remove-btn:hover,
html body.woocommerce-checkout button.lp-checkout-remove-btn:hover,
html body.woocommerce-checkout .lp-checkout-invoice button.lp-checkout-remove-btn:hover {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #b91c1c !important;
  transform: scale(1.35) !important;
}

html body.woocommerce-checkout .lp-row-idx {
  color: #64748b !important;
  font: 800 .88rem/1 "CodzanPersian", Tahoma, sans-serif !important;
}

/* Luxury Capsule Quantity Stepper */
html body.woocommerce-checkout .lp-checkout-invoice .invoice-product-qty,
html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-qty {
  width: 115px !important;
  min-width: 115px !important;
  text-align: center !important;
  vertical-align: middle !important;
  padding: 6px 4px !important;
}

html body.woocommerce-checkout .lp-checkout-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  box-sizing: border-box !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 0 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  direction: rtl !important;
}

html body.woocommerce-checkout .lp-checkout-qty-btn,
html body.woocommerce-checkout button.lp-checkout-qty-btn,
html body.woocommerce-checkout .lp-checkout-invoice button.lp-checkout-qty-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 29px !important;
  min-height: 29px !important;
  max-height: 29px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-style: none !important;
  border-radius: 0 !important;
  outline: none !important;
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  background-image: none !important;
  color: #334155 !important;
  font-family: Arial, Tahoma, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 29px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background .15s ease, color .15s ease !important;
}

html body.woocommerce-checkout .lp-checkout-qty-btn:hover,
html body.woocommerce-checkout button.lp-checkout-qty-btn:hover,
html body.woocommerce-checkout .lp-checkout-invoice button.lp-checkout-qty-btn:hover {
  background: #704199 !important;
  background-color: #704199 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border: 0 !important;
  transform: none !important;
}

html body.woocommerce-checkout .lp-checkout-qty-val {
  flex: 1 1 auto !important;
  min-width: 36px !important;
  height: 29px !important;
  line-height: 29px !important;
  text-align: center !important;
  font: 800 14px/29px "CodzanPersian", Tahoma, sans-serif !important;
  color: #0f172a !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: none !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  padding: 0 !important;
  margin: 0 !important;
  user-select: none !important;
}

body.woocommerce-checkout .lp-checkout-remove-btn.is-loading,
body.woocommerce-checkout .lp-checkout-qty-btn.is-loading {
  opacity: .3 !important;
  pointer-events: none !important;
}

/* City Dropdown Arrow & Luxury Styling */
body.woocommerce-checkout select#billing_city,
body.woocommerce-checkout #billing_city_field select {
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 15px !important;
  border: 1px solid var(--lp-checkout-border) !important;
  border-radius: 13px !important;
  background: #fbfdff url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23704199%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat left 14px center !important;
  background-size: 11px auto !important;
  color: var(--lp-checkout-ink) !important;
  font: 700 .86rem/1.7 "CodzanPersian", Tahoma, sans-serif !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
}

/* Desktop Responsiveness */
@media (min-width: 769px) {
  body.woocommerce-checkout .lp-address-card-wrapper {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "title btn"
      "summary summary"
      "panel panel" !important;
    align-items: center !important;
    gap: 14px 20px !important;
    width: 100% !important;
  }

  body.woocommerce-checkout .lp-address-card-header {
    grid-area: title !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout .lp-address-card-title-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.woocommerce-checkout .lp-address-edit-btn,
  body.woocommerce-checkout button.lp-address-edit-btn {
    grid-area: btn !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 9px 22px !important;
  }

  body.woocommerce-checkout .lp-address-card-summary {
    grid-area: summary !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout .lp-address-edit-panel {
    grid-area: panel !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  html body.woocommerce-checkout form.checkout {
    gap: 16px !important;
    padding: 0 4px !important;
  }

  html body.woocommerce-checkout #customer_details,
  html body.woocommerce-checkout .checkout-order-review {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }

  body.woocommerce-checkout .lp-address-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  body.woocommerce-checkout .lp-address-card-header {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  body.woocommerce-checkout .lp-address-card-title-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.woocommerce-checkout .lp-address-card-icon {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    font-size: 16px !important;
  }

  body.woocommerce-checkout .lp-address-card-title {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }

  body.woocommerce-checkout .lp-address-card-summary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout .lp-address-summary-content {
    font-size: .84rem !important;
    line-height: 1.65 !important;
  }

  /* Single Edit Button at the bottom of the card */
  body.woocommerce-checkout .lp-address-edit-btn,
  body.woocommerce-checkout button.lp-address-edit-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 11px 14px !important;
    margin: 4px 0 0 0 !important;
    border-radius: 11px !important;
    font-size: .84rem !important;
  }

  body.woocommerce-checkout .lp-address-edit-panel {
    width: 100% !important;
    margin: 0 !important;
  }

  /* 100% full width for all inputs and dropdowns on mobile */
  body.woocommerce-checkout .lp-address-edit-panel,
  body.woocommerce-checkout .lp-address-edit-panel-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
  body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row,
  body.woocommerce-checkout form.checkout .form-row {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper,
  body.woocommerce-checkout form.checkout .form-row input.input-text,
  body.woocommerce-checkout form.checkout .form-row select,
  body.woocommerce-checkout form.checkout .form-row textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout .select2-container,
  body.woocommerce-checkout .select2-container--default,
  body.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout .lp-save-default-address-field,
  body.woocommerce-checkout .lp-save-default-address-field label {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout .lp-address-edit-actions,
  body.woocommerce-checkout .lp-address-save-btn,
  body.woocommerce-checkout button.lp-address-save-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-row {
    width: 48px !important;
    min-width: 48px !important;
  }

  html body.woocommerce-checkout .lp-checkout-invoice .invoice-row-number {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    padding: 4px 2px !important;
  }

  html body.woocommerce-checkout .lp-checkout-remove-btn,
  html body.woocommerce-checkout button.lp-checkout-remove-btn {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    font-size: 19px !important;
  }

  html body.woocommerce-checkout .lp-row-num-cell {
    gap: 3px !important;
  }

  html body.woocommerce-checkout .lp-row-idx {
    font-size: .82rem !important;
  }

  html body.woocommerce-checkout .lp-checkout-invoice .invoice-product-qty,
  html body.woocommerce-checkout #order_review .lp-checkout-invoice col.invoice-col-qty {
    width: 90px !important;
    min-width: 90px !important;
  }

  html body.woocommerce-checkout .lp-checkout-qty-stepper {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }

  html body.woocommerce-checkout .lp-checkout-qty-btn,
  html body.woocommerce-checkout button.lp-checkout-qty-btn {
    width: 25px !important;
    min-width: 25px !important;
    height: 26px !important;
    font-size: 14px !important;
    line-height: 26px !important;
  }

  html body.woocommerce-checkout .lp-checkout-qty-val {
    min-width: 30px !important;
    font-size: 13px !important;
    line-height: 26px !important;
  }
}

/* Redundant shipping method title removal: Title is already in <th>, never repeat in <td> */
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .lp-shipping-method-title,
body.woocommerce-checkout .lp-shipping-method-title,
.lp-shipping-method-title {
  display: none !important;
  visibility: hidden !important;
}


/* ==========================================================================
   DEFINITIVE TOP ADDRESS CARD & CHECKOUT FIX (Desktop & Mobile)
   ========================================================================== */
html body.woocommerce-checkout #customer_details {
  order: 1 !important;
  display: block !important;
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 24px 0 !important;
  padding: 22px 28px !important;
  border: 1.5px solid rgba(112, 65, 153, 0.16) !important;
  border-top: 4px solid #704199 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(56, 32, 77, 0.06) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.woocommerce-checkout .woocommerce-billing-fields,
html body.woocommerce-checkout .lp-address-card-wrapper,
html body.woocommerce-checkout #lp-address-card-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-areas:
    "title button"
    "summary summary"
    "panel panel" !important;
  align-items: center !important;
  width: 100% !important;
  gap: 12px 16px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.woocommerce-checkout .lp-address-card-header {
  grid-area: title !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

html body.woocommerce-checkout .lp-address-card-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html body.woocommerce-checkout .lp-address-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f5e7f5, #e8f7fb) !important;
  color: #704199 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

html body.woocommerce-checkout .lp-address-card-title {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  color: #1e293b !important;
  font: 900 1.15rem/1.4 "CodzanDisplay", "CodzanPersian", Tahoma, sans-serif !important;
}

/* Eliminate all unwanted pseudo-element duplicate icons */
html body.woocommerce-checkout #customer_details h3::before,
html body.woocommerce-checkout #customer_details h3::after,
html body.woocommerce-checkout .lp-address-card-title::before,
html body.woocommerce-checkout .lp-address-card-title::after,
html body.woocommerce-checkout .lp-address-card-header::before,
html body.woocommerce-checkout .lp-address-card-header::after,
html body.woocommerce-checkout .lp-address-card-title-wrap::before,
html body.woocommerce-checkout .lp-address-card-title-wrap::after {
  content: none !important;
  display: none !important;
}

html body.woocommerce-checkout .lp-address-edit-btn,
html body.woocommerce-checkout button.lp-address-edit-btn {
  grid-area: button !important;
  margin: 0 !important;
  justify-self: end !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border: 1.5px solid #704199 !important;
  border-radius: 10px !important;
  background: #faf5fc !important;
  color: #704199 !important;
  font: 800 .86rem/1.4 "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all .18s ease !important;
}

html body.woocommerce-checkout .lp-address-edit-btn:hover,
html body.woocommerce-checkout button.lp-address-edit-btn:hover {
  background: #704199 !important;
  color: #ffffff !important;
}

html body.woocommerce-checkout .lp-address-card-summary {
  grid-area: summary !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid #eadcf0 !important;
  border-radius: 12px !important;
  background: #fdfafd !important;
  box-sizing: border-box !important;
}

html body.woocommerce-checkout .lp-address-summary-content {
  color: #334155 !important;
  font: 700 .9rem/1.8 "CodzanPersian", Tahoma, sans-serif !important;
}

html body.woocommerce-checkout .lp-address-meta-sep {
  margin: 0 8px !important;
  color: #cbd5e1 !important;
  font-weight: 400 !important;
}

html body.woocommerce-checkout .lp-address-edit-panel {
  grid-area: panel !important;
  width: 100% !important;
  margin-top: 12px !important;
  padding: 18px !important;
  border: 1px dashed #d8b4e2 !important;
  border-radius: 14px !important;
  background: #faf7fc !important;
  box-sizing: border-box !important;
}

html body.woocommerce-checkout .lp-address-save-btn,
html body.woocommerce-checkout button.lp-address-save-btn {
  width: 100% !important;
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #704199, #ed2290) !important;
  color: #ffffff !important;
  font: 800 .92rem/1 "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

@media (max-width: 768px) {
  html body.woocommerce-checkout #customer_details {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  html body.woocommerce-checkout .lp-address-card-wrapper,
  html body.woocommerce-checkout #lp-address-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  html body.woocommerce-checkout .lp-address-card-header {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  html body.woocommerce-checkout .lp-address-card-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  html body.woocommerce-checkout .lp-address-card-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex-shrink: 0 !important;
    font-size: 15px !important;
  }
  html body.woocommerce-checkout .lp-address-card-title {
    font-size: 1.05rem !important;
    white-space: normal !important;
  }
  html body.woocommerce-checkout .lp-address-card-summary {
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px !important;
  }
  html body.woocommerce-checkout .lp-address-edit-btn,
  html body.woocommerce-checkout button.lp-address-edit-btn {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 44px !important;
  }
  html body.woocommerce-checkout .lp-address-edit-panel {
    order: 4 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 10px !important;
  }
  html body.woocommerce-checkout .lp-address-edit-panel .woocommerce-billing-fields__field-wrapper,
  html body.woocommerce-checkout .lp-address-edit-panel .form-row,
  html body.woocommerce-checkout .lp-address-edit-panel .form-row-first,
  html body.woocommerce-checkout .lp-address-edit-panel .form-row-last,
  html body.woocommerce-checkout .lp-address-edit-panel .form-row-wide,
  html body.woocommerce-checkout .lp-address-edit-panel .woocommerce-input-wrapper,
  html body.woocommerce-checkout .lp-address-edit-panel input.input-text,
  html body.woocommerce-checkout .lp-address-edit-panel select,
  html body.woocommerce-checkout .lp-address-edit-panel textarea,
  html body.woocommerce-checkout .lp-address-edit-panel button,
  html body.woocommerce-checkout .lp-address-edit-panel .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Shipping table method title hidden in TD */
body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping .lp-shipping-method-title,
body.woocommerce-checkout .lp-shipping-method-title,
.lp-shipping-method-title {
  display: none !important;
  visibility: hidden !important;
}


/* ==========================================================================
   DEFINITIVE TOP ADDRESS CARD (New Requested Order & Layout)
   ========================================================================== */
html body.woocommerce-checkout #customer_details {
  order: 1 !important;
  display: block !important;
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 24px 0 !important;
  padding: 20px 24px !important;
  border: 1.5px solid rgba(112, 65, 153, 0.16) !important;
  border-top: 4px solid #704199 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(56, 32, 77, 0.06) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.woocommerce-checkout .woocommerce-billing-fields,
html body.woocommerce-checkout .lp-address-card-wrapper,
html body.woocommerce-checkout #lp-address-card-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.woocommerce-checkout .lp-address-card-header,
html body.woocommerce-checkout .lp-address-card-title,
html body.woocommerce-checkout #customer_details .lp-address-card-header {
  display: none !important;
}

html body.woocommerce-checkout .lp-address-card-main-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

html body.woocommerce-checkout .lp-address-summary-content {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  color: #334155 !important;
  font: 700 .92rem/1.8 "CodzanPersian", Tahoma, sans-serif !important;
}

html body.woocommerce-checkout .lp-address-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f5e7f5, #e8f7fb) !important;
  color: #704199 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

html body.woocommerce-checkout .lp-address-label {
  color: #1e293b !important;
  font-weight: 900 !important;
  font-size: .95rem !important;
}

html body.woocommerce-checkout .lp-val-name {
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: .95rem !important;
}

html body.woocommerce-checkout .lp-address-meta-sep {
  margin: 0 4px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

html body.woocommerce-checkout .lp-address-edit-btn,
html body.woocommerce-checkout button.lp-address-edit-btn {
  flex-shrink: 0 !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border: 1.5px solid #704199 !important;
  border-radius: 10px !important;
  background: #faf5fc !important;
  color: #704199 !important;
  font: 800 .86rem/1.4 "CodzanPersian", Tahoma, sans-serif !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all .18s ease !important;
}

html body.woocommerce-checkout .lp-address-edit-btn:hover,
html body.woocommerce-checkout button.lp-address-edit-btn:hover {
  background: #704199 !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  html body.woocommerce-checkout #customer_details {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  html body.woocommerce-checkout .lp-address-card-main-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  html body.woocommerce-checkout .lp-address-summary-content {
    width: 100% !important;
    display: inline-block !important;
    line-height: 1.9 !important;
  }
  html body.woocommerce-checkout .lp-address-card-icon {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-inline-end: 6px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 14px !important;
  }
  html body.woocommerce-checkout .lp-address-edit-btn,
  html body.woocommerce-checkout button.lp-address-edit-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
  }
}


/* Mobile & Desktop Perfection for New Layout */
html body.woocommerce-checkout .lp-address-card-main-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html body.woocommerce-checkout .lp-address-summary-content {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  direction: rtl !important;
}
html body.woocommerce-checkout .lp-address-card-icon {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}
html body.woocommerce-checkout .lp-address-edit-btn,
html body.woocommerce-checkout button.lp-address-edit-btn {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px !important;
}

@media (min-width: 769px) {
  html body.woocommerce-checkout .lp-address-card-main-row {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  html body.woocommerce-checkout .lp-address-summary-content {
    flex: 1 1 auto !important;
    width: auto !important;
  }
  html body.woocommerce-checkout .lp-address-edit-btn,
  html body.woocommerce-checkout button.lp-address-edit-btn {
    width: auto !important;
  }
}


/* ==========================================================================
   CHECKOUT TOTALS TABLE & PRIVACY BOX DEFINITIVE STYLES
   ========================================================================== */

/* 1. All totals table number cells strictly left-aligned and in exact vertical alignment */
html body.woocommerce-checkout #order_review .lp-checkout-totals,
html body.woocommerce-checkout #order_review table.lp-checkout-totals {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr th {
  padding: 12px 18px !important;
  text-align: right !important;
  vertical-align: middle !important;
  border-top: 1px solid #e2e8f0 !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals td.lp-total-value,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr td {
  padding: 12px 20px !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  border-top: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}

/* Shipping method price alignment inside td */
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td ul#shipping_method,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td ul#shipping_method li,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td ul#shipping_method li label {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  text-align: left !important;
  width: auto !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping td .lp-shipping-method-price {
  display: inline-block !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Coupon discount row: Red cross on the right of the amount, minus between number and toman */
html body.woocommerce-checkout #order_review .lp-checkout-totals .lp-discount-val-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  direction: ltr !important; /* In LTR, amount is on the left, cross is on the right */
  gap: 8px !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals .lp-discount-bdi {
  color: #173b5c !important;
  font-weight: 800 !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals a.woocommerce-remove-coupon,
html body.woocommerce-checkout #order_review .lp-checkout-totals .woocommerce-remove-coupon.lp-remove-coupon-red,
html body.woocommerce-checkout #order_review .lp-checkout-totals a.lp-remove-coupon-red {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  color: #dc2626 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform .15s ease, color .15s ease !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals a.woocommerce-remove-coupon:hover,
html body.woocommerce-checkout #order_review .lp-checkout-totals a.lp-remove-coupon-red:hover {
  color: #b91c1c !important;
  transform: scale(1.2) !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals a.woocommerce-remove-coupon::before,
html body.woocommerce-checkout #order_review .lp-checkout-totals a.woocommerce-remove-coupon::after,
html body.woocommerce-checkout #order_review .lp-checkout-totals a.lp-remove-coupon-red::before,
html body.woocommerce-checkout #order_review .lp-checkout-totals a.lp-remove-coupon-red::after {
  content: none !important;
  display: none !important;
}

/* 3. Order Total row: larger prominent font */
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td {
  background: #fbf7fd !important;
  padding: 14px 20px !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th.lp-total-label {
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #173b5c !important;
}
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th.lp-total-label::before { content:none !important; display:none !important; }
html body.woocommerce-checkout #order_review .lp-total-label-icon { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:30px !important; height:30px !important; min-width:30px !important; border-radius:9px !important; background:linear-gradient(135deg,#f5e7f5,#e8f7fb) !important; color:#704199 !important; }
html body.woocommerce-checkout #order_review .lp-total-label-icon svg { width:17px !important; height:17px !important; }
html body.woocommerce-checkout #order_review .lp-checkout-totals th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals th.lp-shipping-th { display:flex !important; align-items:center !important; gap:8px !important; }
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.cart-subtotal th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.cart-discount th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.tax-total th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.shipping th.lp-shipping-th { font-size:.9rem !important; font-weight:900 !important; }

html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value .amount,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value .amount bdi {
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  color: #704199 !important;
}

/* 4. Privacy policy and terms text before place order button: Justified text & balanced padding */
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 22px 0 16px 0 !important;
  padding: 18px 22px !important;
  border: 1px solid #e9e1f0 !important;
  border-radius: 14px !important;
  background: #fcf9fe !important;
  box-sizing: border-box !important;
}

html body.woocommerce-checkout .woocommerce-privacy-policy-text,
html body.woocommerce-checkout .woocommerce-privacy-policy-text p {
  margin: 0 !important;
  padding: 0 !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  line-height: 1.85 !important;
  font-size: .84rem !important;
  color: #475569 !important;
  direction: rtl !important;
}

html body.woocommerce-checkout .woocommerce-privacy-policy-text a.woocommerce-privacy-policy-link {
  color: #704199 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}

/* 5. Checkout Table Sale Price & Regular Price Stacking */
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price .lp-checkout-price-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1.35 !important;
  gap: 2px !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price .lp-checkout-price-stack,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price del.lp-checkout-old-price,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price ins.lp-checkout-sale-price {
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price del.lp-checkout-old-price {
  display: block !important;
  color: #94a3b8 !important;
  font-size: .73rem !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
  opacity: 0.85 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price ins.lp-checkout-sale-price {
  display: block !important;
  color: #173b5c !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: .84rem !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* The shared invoice-cell rule adds an ellipsis to every table cell. The
 * quantity capsule must be allowed to sit inside its cell without producing
 * a stray "..." beside it. Keep the capsule's own clipping for its buttons,
 * but remove truncation from the surrounding quantity/price cells and values. */
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-qty,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price *,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-qty::before,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-qty::after,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price::before,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price::after {
  overflow: visible !important;
  text-overflow: clip !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-qty::before,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-qty::after,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price::before,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price::after {
  content: none !important;
  display: none !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price .woocommerce-Price-amount,
html body.woocommerce-checkout #order_review .lp-checkout-invoice td.invoice-product-price .woocommerce-Price-amount bdi {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Keep every value in the invoice body on one consistent ink color. */
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-row-number .lp-row-idx,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-code,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-name *,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-qty .lp-checkout-qty-val,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-price,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.invoice-product-price *,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total,
html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody td.product-total * {
  color: #173b5c !important;
}

/* Product cards are navigation-only. Ordering controls belong exclusively to
 * the single-product form, so no loop card may keep an add-to-cart button,
 * quantity selector, or framed order-control container. */
body:not(.single-product) .wd-products .wd-product .product-wrapper,
body:not(.single-product) .jet-listing-grid__item {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body:not(.single-product) .wd-products .wd-product .wd-add-btn,
body:not(.single-product) .wd-products .wd-product .lolopet-card-order-host,
body:not(.single-product) .wd-products .wd-product .lolopet-native-card-order-host,
body:not(.single-product) .wd-products .wd-product .lolopet-card-order,
body:not(.single-product) .jet-listing-grid__item .lolopet-card-order-host,
body:not(.single-product) .jet-listing-grid__item .lolopet-native-card-order-host,
body:not(.single-product) .jet-listing-grid__item .lolopet-card-order,
body:not(.single-product) .jet-listing-grid__item .elementor-widget-button:has(.elementor-button[href*="add-to-cart="], .add_to_cart_button) {
  display: none !important;
}

/* Final checkout review reset: this must remain after the older invoice-card
 * rules so the theme cannot recreate the outer frame. */
html body.woocommerce-checkout .checkout-order-review,
html body.woocommerce-checkout #order_review,
html body.woocommerce-checkout #order_review.woocommerce-checkout-review-order,
html body.woocommerce-checkout .checkout-order-review > #order_review {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

html body.woocommerce-checkout .checkout-order-review::before,
html body.woocommerce-checkout .checkout-order-review::after,
html body.woocommerce-checkout #order_review::before,
html body.woocommerce-checkout #order_review::after {
  content: none !important;
  display: none !important;
}

html body.woocommerce-checkout #order_review .lp-checkout-review-wrap,
html body.woocommerce-checkout #order_review .lp-checkout-table-scroll,
html body.woocommerce-checkout #order_review .lp-checkout-invoice {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Remove the remaining outer side strokes created by cell borders; keep the
 * internal table separators intact. */
html body.woocommerce-checkout #order_review .lp-checkout-invoice tr > :first-child {
  border-right: 0 !important;
}
html body.woocommerce-checkout #order_review .lp-checkout-invoice tr > :last-child {
  border-left: 0 !important;
}

@media (min-width: 769px) {
  html body.woocommerce-checkout .checkout-order-review > #order_review {
    width: calc(100% + 56px) !important;
    max-width: none !important;
    margin-inline: -28px !important;
  }
}

@media (max-width: 768px) {
  html body.woocommerce-checkout .checkout-order-review > #order_review {
    width: calc(100% + 28px) !important;
    max-width: none !important;
    margin-inline: -14px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-table-scroll {
    width: 100% !important;
    max-width: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice {
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead tr:first-child th:first-child {
    border-top-right-radius: 10px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead tr:first-child th:last-child {
    border-top-left-radius: 10px !important;
  }

  /* Rebuild the mobile totals as one clean card. Later desktop totals rules
   * were repainting each flex cell with its own padding/background. */
  html body.woocommerce-checkout #order_review .lp-checkout-totals {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 1px solid #d5e0e8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(23,59,92,.06) !important;
    overflow: hidden !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf2f6 !important;
    background: #fff !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr:last-child,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total {
    border-bottom: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total {
    min-height: 58px !important;
    border-top: 2px solid #9adede !important;
    background: linear-gradient(135deg, #eef9f9, #e0f4f4) !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th.lp-total-label,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td.lp-total-value {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th.lp-total-label {
    flex: 0 0 auto !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td.lp-total-value {
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
}

/* Remove the outer customer-details frame while keeping its address and
 * delivery controls visible and functional. */
html body.woocommerce-checkout #customer_details {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
html body.woocommerce-checkout #customer_details::before,
html body.woocommerce-checkout #customer_details::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 769px) {
  html body.woocommerce-checkout form.checkout {
    gap: 8px !important;
  }
  html body.woocommerce-checkout #customer_details {
    margin-bottom: 0 !important;
  }
  html body.woocommerce-checkout #customer_details > .lp-delivery-choice {
    margin-bottom: 12px !important;
  }
  html body.woocommerce-checkout #customer_details > #lp-address-card-wrapper {
    margin-top: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead tr:first-child th:first-child {
    border-top-right-radius: 10px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead tr:first-child th:last-child {
    border-top-left-radius: 10px !important;
  }
}

html body.woocommerce-checkout #customer_details > #lp-address-card-wrapper {
  margin-top: 0 !important;
}

html body.woocommerce-checkout .woocommerce {
  margin-top: -20px !important;
}
@media (max-width: 768px) {
  html body.woocommerce-checkout .woocommerce {
    margin-top: -8px !important;
  }
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice thead tr:first-child th {
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.1 !important;
  vertical-align: middle !important;
}
@media (max-width: 768px) {
  html body.woocommerce-checkout #order_review .lp-checkout-invoice thead tr:first-child th {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }
}

html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.invoice-product-price,
html body.woocommerce-checkout #order_review .lp-checkout-invoice thead th.product-total {
  text-align: center !important;
}

@media (min-width: 769px) {
  html body.woocommerce-checkout #order_review .lp-checkout-totals {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tbody {
    display: table-row-group !important;
    width: 100% !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr {
    display: table-row !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th.lp-total-label,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th.lp-shipping-th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td.lp-total-value {
    display: table-cell !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    width: auto !important;
    margin: 0 !important;
    background: #fff !important;
    border-top: 1px solid #e2e8f0 !important;
    vertical-align: middle !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th.lp-total-label,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr th.lp-shipping-th {
    width: 86.5% !important;
    padding: 12px 18px !important;
    text-align: right !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr td.lp-total-value {
    width: 13.5% !important;
    padding: 12px 20px !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td {
    background: #fbf7fd !important;
  }
}

/* Show the selected delivery value directly beneath its delivery option for
 * both address delivery and branch pickup. */
html body.woocommerce-checkout .lp-delivery-choice.is-open .lp-delivery-address-note {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: calc(100% - 28px) !important;
  min-height: 42px !important;
  margin: 10px 14px 14px !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  border: 1px solid #eadcf1 !important;
  border-radius: 11px !important;
  background: #fcf9fe !important;
  color: #334155 !important;
  font-weight: 800 !important;
}
html body.woocommerce-checkout .lp-delivery-choice.is-open .lp-delivery-address-note .lp-address-edit-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 38px !important;
  margin: 0 0 0 auto !important;
  padding: 7px 12px !important;
}
html body.woocommerce-checkout .lp-delivery-address-note-person {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  color: #1e293b !important;
}
html body.woocommerce-checkout .lp-delivery-address-note-person .lp-address-meta-sep {
  color: #94a3b8 !important;
  margin: 0 2px !important;
}
html body.woocommerce-checkout .lp-delivery-address-note-person.is-hidden,
html body.woocommerce-checkout .lp-delivery-address-note .lp-address-edit-btn.is-hidden {
  display: none !important;
}
html body.woocommerce-checkout .lp-delivery-choice.is-open .lp-delivery-address-note.is-hidden {
  display: flex !important;
}

/* Give the summary labels a little more breathing room after their icons. */
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.cart-subtotal th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.cart-discount th.lp-total-label,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.tax-total th.lp-total-label {
  gap: 12px !important;
}
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.cart-subtotal .lp-total-label-icon,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.cart-discount .lp-total-label-icon,
html body.woocommerce-checkout #order_review .lp-checkout-totals tr.tax-total .lp-total-label-icon {
  margin-left: 12px !important;
}

/* Keep the payable-total row completely filled on desktop. Some theme rules
 * paint the value wrapper white, leaving a visible rectangle before the sum. */
@media (min-width: 769px) {
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value {
    background: #fbf7fd !important;
    background-color: #fbf7fd !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value > *,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value .woocommerce-Price-amount,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value .woocommerce-Price-amount bdi {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td {
    border-top: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td {
    border-top: 2px solid #9adede !important;
    border-bottom: 2px solid #9adede !important;
    border-left: 0 !important;
    border-right: 0 !important;
    outline: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals {
    table-layout: auto !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th {
    width: auto !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td {
    width: 13.5% !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value .woocommerce-Price-amount,
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value .woocommerce-Price-amount bdi {
    text-align: left !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total th.lp-total-label {
    border-right: 2px solid #9adede !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 12px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tr.order-total td.lp-total-value {
    border-left: 2px solid #9adede !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 12px !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tbody tr th {
    border-right: 2px solid #9adede !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-totals tbody tr td {
    border-left: 2px solid #9adede !important;
  }
  /* Continue the blue side frame along every product row, from the first
   * item through the last one. The first DOM cell is the right edge in RTL. */
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr td:first-child {
    border-right: 2px solid #9adede !important;
  }
  html body.woocommerce-checkout #order_review .lp-checkout-invoice tbody tr td:last-child {
    border-left: 2px solid #9adede !important;
  }
}
