/* Parchin Checkout & Proforma v1.0: scoped styles, no edits to Woodmart or Woo templates */
.pc-wrap, .pc-checkout-banner, .pc-checkout-details { font-family: inherit; direction:rtl; color:#102c43; }
.pc-wrap { max-width:1180px; margin:30px auto 58px; padding:0 16px; }
.pc-steps { direction:rtl; background:linear-gradient(105deg,#102840,#163a58); color:#e6f0f7; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-evenly; gap:14px; border-radius:20px; padding:20px 24px; box-shadow:0 12px 30px rgba(14,44,73,.11); }
.pc-steps > * { font-size:14px; font-weight:600; color:#c8d4dd; }
.pc-steps b { color:#fff; border-bottom:3px solid #27b461; padding:5px 0 8px; }
.pc-page-title { text-align:center; font-size:25px; margin:36px 0 30px; color:#102c43; }
.pc-address-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:20px; }
.pc-address-card, .pc-address-form, .pc-checkout-card { background:#fff; border:1px solid #e1e9ec; border-radius:20px; padding:24px; box-shadow:0 6px 25px rgba(15,43,69,.045); }
.pc-address-card.pc-selected { border-color:#27b461; box-shadow:0 0 0 1px #27b461,0 7px 24px rgba(23,147,88,.07); }
.pc-address-card > strong { display:block; margin-bottom:12px; color:#102c43; font-size:17px; }
.pc-address-card > div:not(.pc-address-actions), .pc-checkout-card > div:not(.pc-responsive-table) { line-height:2; color:#5c7181; font-size:14px; }
.pc-address-actions { display:flex; gap:9px; flex-wrap:wrap; align-items:center; margin-top:19px; }
.pc-address-actions form { margin:0; }
.pc-btn, .pc-btn:hover, .pc-btn:focus { border-radius:10px; padding:11px 20px; min-height:43px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; font-weight:650; line-height:1.4; font-size:13px; text-decoration:none; border:1px solid transparent; }
.pc-btn-green, .pc-btn-green:hover { background:#169e59; color:#fff; }
.pc-btn-outline, .pc-btn-outline:hover { color:#0f4059; background:#f7fafb; border-color:#dbe6eb; }
.pc-bottom-actions { margin-top:24px; }
.pc-address-form { margin-top:23px; }
.pc-address-form h3 { color:#102c43; font-size:20px; margin:0 0 19px; }
.pc-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.pc-field { display:flex; flex-direction:column; gap:7px; font-size:13px; font-weight:600; color:#385367; }
.pc-field.pc-wide { grid-column:span 2; }
.pc-field > input, .pc-field > select { background:#f9fbfd !important; border:1px solid #dbe6ed !important; border-radius:9px !important; height:44px; color:#102c43; width:100%; }
.pc-field > input:focus, .pc-field > select:focus { outline:2px solid rgba(39,180,97,.2); border-color:#27b461 !important; }
.pc-success { padding:13px 19px; margin:15px 0; color:#137347; background:#e6f6ec; border-radius:9px; }
/* Checkout has its existing WooCommerce payment processing/validation intact. */
body.pc-checkout .pc-checkout-banner { margin:0 0 24px; }
body.pc-checkout .pc-checkout-details { display:grid; grid-template-columns:1fr; gap:15px; margin-bottom:16px; }
body.pc-checkout .pc-checkout-card { padding:22px; }
body.pc-checkout .pc-checkout-card header { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #e6edf0; padding-bottom:12px; margin-bottom:14px; }
body.pc-checkout .pc-checkout-card header h3 { padding:0; margin:0; font-size:18px; color:#0f314b; }
body.pc-checkout .pc-checkout-card header a { padding:6px 10px; background:#e4f6eb; border-radius:8px; font-size:12px; color:#148948; }
body.pc-checkout .pc-responsive-table { overflow-x:auto; }
body.pc-checkout .pc-responsive-table table { width:100%; border-collapse:collapse; min-width:470px; font-size:13px; margin:0; }
body.pc-checkout .pc-responsive-table th { background:#159d58; color:#fff; font-size:13px; }
body.pc-checkout .pc-responsive-table th, body.pc-checkout .pc-responsive-table td { padding:12px; text-align:right; border:1px solid #dfe7e9; }
body.pc-checkout .pc-billing-toggle { margin:2px 0 15px; }
body.pc-checkout .pc-billing-toggle .pc-btn { border:1px solid #cbdfe8; background:#fff; color:#173954; }
body.pc-checkout form.checkout:not(.pc-billing-open) .woocommerce-billing-fields__field-wrapper { display:none; }
body.pc-checkout form.checkout:not(.pc-billing-open) .woocommerce-billing-fields > h3 { display:none; }
body.pc-checkout form.checkout .woocommerce-shipping-fields { display:none; }
body.pc-checkout form.checkout .woocommerce-additional-fields { background:#fff; border:1px solid #e1e9ed; border-radius:15px; padding:16px; }
body.pc-checkout form.checkout .col2-set { width:100%; max-width:100%; }
body.pc-checkout form.checkout .col2-set .col-1, body.pc-checkout form.checkout .col2-set .col-2 { width:100%; float:none; }
body.pc-checkout #order_review_heading { color:#0e2d46; font-size:20px; margin:24px 0 16px; }
body.pc-checkout #order_review { background:#fff; border:1px solid #e1e9ed; border-radius:17px; padding:20px; }
body.pc-checkout #order_review table.woocommerce-checkout-review-order-table th, body.pc-checkout #order_review table.woocommerce-checkout-review-order-table td { padding:12px 8px; }
body.pc-checkout .pc-proforma-button { display:block !important; width:100%; clear:both; text-align:center; margin:15px 0 0; background:#152938; border-radius:9px; padding:13px 10px; line-height:1.6; font-size:14px; font-weight:600; color:#fff !important; text-decoration:none !important; }
body.pc-checkout .pc-proforma-button:hover { background:#28465d; }
body.pc-checkout .pc-delivery-note { display:block; text-align:right; clear:both; margin-top:9px; color:#7b8894; font-size:12px; }
body.pc-checkout #place_order { background:#188c53; border-radius:9px; font-size:14px; min-height:50px; }
/* 1.0.1: Stable Woodmart checkout columns. Each column has its own wrapper,
   so order-review height can never stretch the product/address column. */
body.pc-checkout form.checkout.woocommerce-checkout.pc-layout-ready {
 display:block !important;
 width:100% !important;
 max-width:100% !important;
 clear:both;
}
body.pc-checkout form.checkout .pc-checkout-layout {
 display:grid !important;
 grid-template-columns:minmax(0,1.7fr) minmax(350px,0.95fr) !important;
 gap:26px;
 direction:rtl;
 align-items:start;
 width:100%;
 max-width:100%;
 box-sizing:border-box;
}
body.pc-checkout form.checkout .pc-checkout-main,
body.pc-checkout form.checkout .pc-checkout-side {
 min-width:0 !important;
 width:100% !important;
 max-width:100% !important;
 box-sizing:border-box;
 float:none !important;
 margin:0 !important;
}
body.pc-checkout form.checkout .pc-checkout-side #order_review_heading,
body.pc-checkout form.checkout .pc-checkout-side #order_review,
body.pc-checkout form.checkout .pc-checkout-side #payment {
 display:block;
 float:none !important;
 clear:both !important;
 width:100% !important;
 max-width:100% !important;
 min-width:0 !important;
 box-sizing:border-box !important;
 margin-left:0 !important;
 margin-right:0 !important;
}
body.pc-checkout form.checkout .pc-checkout-side #order_review_heading {
 margin:0 0 14px !important;
 padding:0 2px;
 font-size:21px;
 line-height:1.5;
}
body.pc-checkout form.checkout .pc-checkout-side #order_review {
 margin:0 !important;
 padding:22px !important;
 overflow:visible;
}
body.pc-checkout form.checkout .pc-checkout-main .pc-checkout-details {
 display:grid;
 grid-template-columns:minmax(0,1fr);
 width:100%;
 margin:0 0 14px;
}
body.pc-checkout form.checkout .pc-checkout-main .pc-billing-toggle {
 margin:16px 0;
}
body.pc-checkout form.checkout .pc-checkout-main #customer_details,
body.pc-checkout form.checkout .pc-checkout-main #customer_details .col-1,
body.pc-checkout form.checkout .pc-checkout-main #customer_details .col-2 {
 width:100% !important;
 max-width:100% !important;
 min-width:0 !important;
 clear:both;
 float:none !important;
 margin:0;
}
body.pc-checkout .pc-checkout-side #order_review table,
body.pc-checkout .pc-checkout-side #order_review .woocommerce-checkout-review-order-table {
 width:100% !important;
 max-width:100%;
 table-layout:auto;
}
body.pc-checkout .pc-checkout-side #order_review table th,
body.pc-checkout .pc-checkout-side #order_review table td {
 overflow-wrap:break-word;
 line-height:1.75;
}
body.pc-checkout .pc-checkout-side #order_review .order-total .amount,
body.pc-checkout .pc-checkout-side #order_review .order-total strong {
 font-size:clamp(17px,1.7vw,23px);
 white-space:normal;
 line-height:1.45;
}
body.pc-checkout .pc-checkout-side #order_review .pc-proforma-button,
body.pc-checkout .pc-checkout-side #order_review #place_order {
 width:100% !important;
 white-space:normal !important;
 min-height:47px;
 padding:13px 12px;
}
body.pc-checkout .pc-responsive-table td.pc-product-title {line-height:1.9;}
@media(max-width:1099px) {
 body.pc-checkout form.checkout .pc-checkout-layout {
   grid-template-columns:minmax(0,1fr) !important;
   gap:22px;
 }
 body.pc-checkout form.checkout .pc-checkout-side #order_review {padding:18px !important;}
}
@media(max-width:650px) {
 .pc-steps { padding:14px; gap:7px; border-radius:12px; }
 .pc-steps > * { font-size:11px; }
 .pc-fields { grid-template-columns:1fr; }
 .pc-field.pc-wide { grid-column:auto; }
 .pc-address-card,.pc-address-form { padding:18px; }
 body.pc-checkout #order_review { padding:13px; }
}

/* 1.0.2: Bottom coupon panel and clean billing collapse (Woodmart). */
body.pc-checkout form.checkout .pc-checkout-main {
 display:flex !important;
 flex-direction:column;
 align-items:stretch;
}
/* Woodmart's billing wrapper left a white empty box when fields were closed.
   Keep the actual checkout inputs in DOM and only hide the visible container. */
body.pc-checkout form.checkout:not(.pc-billing-open) .pc-checkout-main #customer_details .col-1 {
 display:none !important;
}
body.pc-checkout form.checkout.pc-billing-open .pc-checkout-main #customer_details .col-1 {
 display:block !important;
 background:#fff;
 border:1px solid #e1e9ed;
 border-radius:16px;
 padding:18px;
 margin:0 0 16px !important;
}
body.pc-checkout form.checkout .pc-checkout-main .pc-billing-toggle {
 margin:14px 0 10px !important;
}
body.pc-checkout form.checkout .pc-checkout-main #customer_details {
 margin:0 0 16px !important;
}
body.pc-checkout form.checkout .pc-checkout-main #customer_details .woocommerce-additional-fields {
 box-shadow:0 6px 25px rgba(15,43,69,.045);
}
/* The custom coupon has no nested form; WooCommerce processes it via AJAX. */
body.pc-checkout form.checkout .pc-checkout-main .pc-coupon-panel {
 margin-top:auto !important;
 padding:23px !important;
 width:100%;
 max-width:100%;
 box-sizing:border-box;
 border:1px solid #dfebe7;
 border-radius:18px;
 box-shadow:0 6px 25px rgba(15,43,69,.045);
}
body.pc-checkout .pc-coupon-head h3 {
 font-size:19px;
 line-height:1.5;
 color:#0f314b;
 font-weight:700;
 margin:0 0 3px;
 padding:0;
}
body.pc-checkout .pc-coupon-head p {
 margin:0 0 17px;
 color:#697b8b;
 font-size:13px;
}
body.pc-checkout .pc-coupon-controls {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:10px;
 align-items:stretch;
 direction:rtl;
}
body.pc-checkout .pc-coupon-controls #pc_coupon_code {
 width:100% !important;
 max-width:100% !important;
 min-width:0;
 height:48px !important;
 border-radius:9px !important;
 border:1px solid #dbe6ed !important;
 background:#f8fbfc !important;
 box-sizing:border-box;
 padding:0 13px !important;
 color:#102c43 !important;
 direction:rtl;
 margin:0 !important;
}
body.pc-checkout .pc-coupon-controls #pc_coupon_code:focus {
 outline:2px solid rgba(39,180,97,.15);
 border-color:#27b461 !important;
}
body.pc-checkout .pc-coupon-controls #pc-apply-coupon {
 border:0;
 border-radius:9px;
 background:#159d58 !important;
 color:#fff !important;
 white-space:nowrap;
 min-height:48px;
 padding:11px 20px;
 font-size:13px;
 font-weight:700;
}
body.pc-checkout .pc-coupon-controls #pc-apply-coupon:hover { background:#117e49 !important; }
body.pc-checkout .pc-coupon-controls #pc-apply-coupon:disabled { opacity:.6; cursor:wait; }
body.pc-checkout .pc-coupon-feedback:not(:empty) { margin-top:14px; }
body.pc-checkout .pc-coupon-feedback .woocommerce-error,
body.pc-checkout .pc-coupon-feedback .woocommerce-message,
body.pc-checkout .pc-coupon-feedback .woocommerce-info {
 margin:0 !important;
 border-radius:8px;
 padding:13px 15px !important;
 font-size:13px;
 line-height:1.8;
}
body.pc-checkout .pc-coupon-feedback.pc-coupon-error { color:#b42318; font-size:13px; }
/* Hide only the former checkout coupon prompt if another theme hook adds it. */
body.pc-checkout .woocommerce-form-coupon-toggle,
body.pc-checkout form.checkout_coupon.woocommerce-form-coupon { display:none !important; }
@media(max-width:1099px) {
 body.pc-checkout form.checkout .pc-checkout-main .pc-coupon-panel { margin-top:0 !important; }
}
@media(max-width:520px) {
 body.pc-checkout .pc-coupon-controls { grid-template-columns:1fr; }
 body.pc-checkout .pc-coupon-controls #pc-apply-coupon { width:100%; }
 body.pc-checkout form.checkout .pc-checkout-main .pc-coupon-panel { padding:17px !important; }
}
/* Fill the desktop grid row so the coupon rests near the opposite action card. */
@media(min-width:1100px) {
 body.pc-checkout form.checkout .pc-checkout-layout { align-items:stretch !important; }
 body.pc-checkout form.checkout .pc-checkout-main { height:100%; }
}

/* 1.0.3: ensure the Woodmart page builder cannot collapse the actual checkout
   into two consecutive full-width rows. The grid always lives directly under
   form.checkout, even when the original sections came from nested wrappers. */
body.pc-checkout form.checkout.woocommerce-checkout.pc-layout-ready {
  display:block !important;
  grid-template-columns:none !important;
  flex-wrap:initial !important;
  overflow:visible !important;
  width:100% !important;
  max-width:100% !important;
}
body.pc-checkout form.checkout.pc-layout-ready > .pc-checkout-layout {
  display:grid !important;
  direction:rtl !important;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) !important;
  align-items:stretch !important;
  gap:24px !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  clear:both !important;
  margin:0 !important;
}
body.pc-checkout form.checkout.pc-layout-ready > .pc-checkout-layout > .pc-checkout-main,
body.pc-checkout form.checkout.pc-layout-ready > .pc-checkout-layout > .pc-checkout-side {
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
  max-width:100% !important;
  width:100% !important;
  float:none !important;
  box-sizing:border-box !important;
  flex-basis:auto !important;
  margin:0 !important;
  padding:0 !important;
}
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-checkout-card,
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main #customer_details,
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-coupon-panel {
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-side #order_review {
  margin:0 !important;
  width:100% !important;
  box-sizing:border-box !important;
}
/* Woodmart may apply desktop float widths to the review's inner wrappers. */
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-side #payment,
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-side .woocommerce-checkout-payment,
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-side .woocommerce-checkout-review-order-table {
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table {max-width:100%;}
@media (max-width:1099px) {
 body.pc-checkout form.checkout.pc-layout-ready > .pc-checkout-layout {
   grid-template-columns:minmax(0,1fr) !important;
   gap:22px !important;
 }
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-coupon-panel {
   margin-top:0 !important;
 }
}
@media (max-width:650px) {
 body.pc-checkout form.checkout.pc-layout-ready > .pc-checkout-layout {gap:16px !important;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-card {padding:16px !important;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table table {min-width:460px;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-side #order_review {padding:16px !important;}
}

/* On phones, product details become readable stacked rows, not an
   off-screen 470px table that hides the unit price and line total. */
@media (max-width:650px) {
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table {overflow:visible !important;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table table {
   display:block;
   min-width:0 !important;
   width:100% !important;
   border:0;
 }
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table thead {display:none;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table tbody {display:block;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table tbody tr {
   display:block;
   border:1px solid #dfe7e9;
   border-radius:10px;
   overflow:hidden;
   margin-bottom:10px;
 }
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table tbody td {
   display:flex !important;
   align-items:start;
   justify-content:space-between;
   gap:16px;
   width:100% !important;
   min-width:0;
   padding:10px !important;
   border:0 !important;
   border-bottom:1px solid #e8edf1 !important;
   font-size:12px;
   text-align:left !important;
   direction:rtl;
   overflow-wrap:anywhere;
 }
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table tbody td:last-child {border-bottom:0 !important;}
 body.pc-checkout form.checkout.pc-layout-ready .pc-checkout-main .pc-responsive-table tbody td:before {
   content:attr(data-label);
   flex:0 0 76px;
   font-size:12px;
   font-weight:700;
   color:#153c54;
   text-align:right;
 }
}

/* Farnaam checkout & proforma 1.0.4: responsive quantities, clear monetary LTR digits, buyer identity. */
.quantity {width:max-content !important; max-width:100% !important; display:inline-flex !important; align-items:stretch !important; white-space:nowrap !important; flex-wrap:nowrap !important;}
.quantity input.qty {box-sizing:border-box !important; width:var(--pc-qty-ch,7ch) !important; min-width:var(--pc-qty-ch,7ch) !important; max-width:min(19ch,50vw) !important; padding-left:3px !important; padding-right:3px !important; direction:ltr !important; unicode-bidi:isolate; text-align:center !important; font-variant-numeric:tabular-nums;}
.quantity .plus,.quantity .minus {flex:none;}
.pc-money-rtl {display:inline-flex;direction:rtl;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:5px;max-width:100%;white-space:nowrap;font-variant-numeric:tabular-nums;}
.pc-money-rtl .pc-money-number {direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;}
.pc-money-rtl .pc-money-unit {direction:rtl;unicode-bidi:isolate;font-size:.9em;}
.pc-price-cell {font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;}
.pc-product-title,.pc-product-title bdi,.pc-dimension {overflow-wrap:anywhere;unicode-bidi:isolate;}
.pc-dimension {display:inline-block;direction:ltr;max-width:100%;}
.pc-responsive-table table {table-layout:fixed !important;}
.pc-responsive-table th:first-child,.pc-responsive-table td:first-child {width:38%;}
.pc-responsive-table th:nth-child(2),.pc-responsive-table td:nth-child(2),.pc-responsive-table th:nth-child(4),.pc-responsive-table td:nth-child(4) {width:25%;}
.pc-responsive-table th:nth-child(3),.pc-responsive-table td:nth-child(3) {width:12%;}
.pc-responsive-table td {overflow-wrap:anywhere;word-break:normal;vertical-align:middle;}
.pc-responsive-table td.pc-price-cell {font-size:clamp(11px,1.1vw,14px);}
.woocommerce-cart .woocommerce-Price-amount bdi,
.woocommerce-checkout .woocommerce-Price-amount bdi,
.woocommerce-order .woocommerce-Price-amount bdi,
.woocommerce-order-details .woocommerce-Price-amount bdi,
.woocommerce-table--order-details .woocommerce-Price-amount bdi,
.woocommerce-MyAccount-content .woocommerce-Price-amount bdi {display:inline-flex !important;direction:rtl !important;flex-direction:row !important;gap:4px !important;unicode-bidi:isolate;align-items:baseline;white-space:nowrap;font-variant-numeric:tabular-nums;}
.woocommerce-Price-amount .woocommerce-Price-currencySymbol {direction:rtl;unicode-bidi:isolate;}
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-order .woocommerce-table--order-details {table-layout:auto;min-width:0;max-width:100%;}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce-order .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details td {overflow-wrap:anywhere;word-break:normal;}
.woocommerce-order-details .woocommerce-table__product-name {line-height:1.9;}
.pc-buyer-type {grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 25px;border:1px solid #dbe6ed;border-radius:10px;margin:0;padding:11px 16px;}
.pc-buyer-type legend {padding:0 7px;color:#102c43;font-weight:700;}
.pc-buyer-type label {display:inline-flex;gap:9px;align-items:center;cursor:pointer;}
.pc-buyer-type input {accent-color:#27b461;}
.pc-economic-field[hidden]{display:none !important;}
.pc-buyer-js-error {padding:11px 14px;background:#fff3ed;border:1px solid #d98d72;color:#973b21;border-radius:9px;}
@media(max-width:680px){.pc-buyer-type{gap:10px;}.pc-responsive-table td.pc-price-cell{font-size:11px;}}

/* 1.0.5 | Farnaam: unified address editor, readable cart, invariant bidi/numeric flow. */
.pc-address-form {padding:0!important;overflow:hidden;background:#fff;border:1px solid #dfe9e7;box-shadow:0 12px 35px rgba(14,44,73,.055);}
.pc-address-form-head {padding:25px 28px 18px;border-bottom:1px solid #e6eeeb;background:linear-gradient(115deg,#f8fcfa 0%,#fff 70%);}
.pc-address-form-head h3 {margin:0 0 7px;font-size:22px;line-height:1.5;color:#102d42;}
.pc-address-form-head p {margin:0;color:#6c8089;font-size:13px;line-height:1.85;font-weight:400;}
.pc-address-edit-form {padding:22px 26px 26px;margin:0;}
.pc-form-section {padding:20px 22px 22px;margin-bottom:17px;background:#fff;border:1px solid #e4eceb;border-radius:16px;min-width:0;}
.pc-form-section.pc-buyer-section {background:#f9fcfa;border-color:#d4e9dc;}
.pc-form-section-head {display:flex;align-items:flex-start;gap:12px;margin-bottom:20px;}
.pc-section-index {display:inline-flex;align-items:center;justify-content:center;flex:0 0 31px;width:31px;height:31px;border-radius:9px;color:#148a4b;background:#e6f6ec;font-size:15px;font-weight:800;}
.pc-form-section-head h4 {font-size:17px;font-weight:800;color:#17394e;margin:0 0 4px;line-height:1.5;}
.pc-form-section-head p {font-size:12px;font-weight:400;color:#778c96;line-height:1.8;margin:0;}
.pc-address-form .pc-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 21px;align-items:start;}
.pc-address-form .pc-field {display:flex;flex-direction:column;gap:7px;margin:0;min-width:0;color:#294d59;font-size:13px;font-weight:650;}
.pc-address-form .pc-field > span {line-height:1.75;}
.pc-address-form .pc-field > input,.pc-address-form .pc-field > select {display:block;width:100%!important;min-width:0;max-width:100%;margin:0!important;height:47px!important;min-height:47px;box-sizing:border-box;padding:9px 13px!important;background:#fff!important;border:1px solid #d9e4e8!important;border-radius:10px!important;color:#183c4e;font-size:14px;font-weight:400;line-height:1.5;box-shadow:none!important;}
.pc-address-form .pc-field > input:focus,.pc-address-form .pc-field > select:focus {border-color:#27b461!important;box-shadow:0 0 0 3px rgba(39,180,97,.13)!important;outline:0!important;}
.pc-address-form .pc-field > input::placeholder {color:#9aa8ad;font-weight:400;font-size:12px;}
.pc-address-form .pc-field.pc-wide {grid-column:1/-1;}
.pc-buyer-type {display:flex!important;grid-column:auto!important;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 20px!important;padding:0!important;border:0!important;}
.pc-buyer-type legend {font-size:13px;font-weight:700;color:#244b58;padding:0;margin-bottom:9px;}
.pc-buyer-option {display:inline-flex;align-items:center;gap:10px;min-width:140px;min-height:45px;padding:10px 17px;border-radius:11px;border:1px solid #d9e4e2;background:#fff;color:#3f5561;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s;}
.pc-buyer-option.pc-selected-type,.pc-buyer-option:has(input:checked){border-color:#27b461;background:#ecf9f0;color:#128347;}
.pc-buyer-option input {margin:0!important;accent-color:#1aab60;}
.pc-company-extra {grid-column:1/-1;min-width:0;}
.pc-company-extra.pc-hidden-company,.pc-company-extra[hidden]{display:none!important;}
.pc-form-actions {display:flex!important;justify-content:flex-start;align-items:center;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid #e7edec;}
.pc-address-form .pc-form-actions .pc-btn {font-size:14px;min-height:45px;padding:11px 22px;}
.pc-buyer-js-error {background:#fff0e9;border:1px solid #e0b29f;color:#8d321d;border-radius:10px;padding:11px 15px;line-height:1.85;}

/* The numeric amount is the first flex item (right), Rial is second (left). */
.pc-wc-money,.pc-money-rtl {display:inline-flex!important;direction:rtl!important;flex-direction:row!important;align-items:baseline!important;justify-content:center!important;gap:5px!important;max-width:100%;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums;}
.pc-wc-money .pc-wc-value,.pc-money-rtl .pc-money-number {display:inline-block;direction:ltr!important;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums;}
.pc-wc-money .woocommerce-Price-currencySymbol,.pc-money-rtl .pc-money-unit {display:inline-block!important;direction:rtl;unicode-bidi:isolate;white-space:nowrap;}
.pc-item-label {display:inline-flex;flex-direction:column;align-items:flex-start;max-width:100%;min-width:0;gap:3px;line-height:1.7;text-align:right;direction:rtl;vertical-align:middle;}
.pc-item-label .pc-item-name-text {display:block;max-width:100%;overflow-wrap:break-word;word-break:normal;unicode-bidi:isolate;}
.pc-item-label .pc-item-dimensions,.pc-item-dimensions {display:block;max-width:100%;white-space:nowrap;direction:ltr!important;unicode-bidi:isolate;text-align:left;font-family:Tahoma,Arial,sans-serif;font-size:.94em;font-variant-numeric:tabular-nums;}
.pc-item-label a.pc-item-link {display:block;text-decoration:none;color:inherit;max-width:100%;}
body.pc-checkout .pc-responsive-table table {table-layout:fixed!important;min-width:0!important;}
body.pc-checkout .pc-responsive-table th:first-child,body.pc-checkout .pc-responsive-table td:first-child {width:39%;}
body.pc-checkout .pc-responsive-table th:nth-child(2),body.pc-checkout .pc-responsive-table td:nth-child(2) {width:23%;}
body.pc-checkout .pc-responsive-table th:nth-child(3),body.pc-checkout .pc-responsive-table td:nth-child(3) {width:10%;}
body.pc-checkout .pc-responsive-table th:nth-child(4),body.pc-checkout .pc-responsive-table td:nth-child(4) {width:28%;}
body.pc-checkout .pc-responsive-table th,body.pc-checkout .pc-responsive-table td {padding:10px 8px!important;overflow-wrap:normal!important;word-break:normal!important;}
body.pc-checkout .pc-responsive-table .pc-product-title {font-size:13px;min-width:0;}
body.pc-checkout .pc-responsive-table .pc-price-cell {font-size:clamp(10px,.95vw,13px);white-space:nowrap;}
body.pc-checkout .pc-responsive-table td .pc-item-label {font-size:12px;}
/* Woo cart table in Woodmart: preserve product-name width instead of a vertical word stack. */
.woocommerce-cart .woocommerce-cart-form table.shop_table {table-layout:auto!important;width:100%;}
.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name {min-width:240px;width:44%;text-align:right!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;}
.woocommerce-cart .woocommerce-cart-form .product-name .pc-item-label {font-size:14px;min-width:0;}
.woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail {width:74px;min-width:64px;}
.woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail img {max-width:64px;height:auto;}
.woocommerce-cart .woocommerce-cart-form table.shop_table .product-price,.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal {min-width:123px;white-space:nowrap;text-align:center!important;}
.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity {min-width:148px;}
.woocommerce-cart .cart-collaterals .cart_totals td,.woocommerce-cart .cart-collaterals .cart_totals th {vertical-align:middle;}
.woocommerce-checkout-review-order-table .product-name,.woocommerce-order-details .product-name,.woocommerce-order-details .woocommerce-table__product-name {min-width:0;overflow-wrap:normal!important;word-break:normal!important;text-align:right;}
.woocommerce-order-details .woocommerce-table__product-name .pc-item-label {width:100%;}
.woocommerce-order-details .woocommerce-table--order-details td {vertical-align:middle;}
/* Native quantity controls: >= 1000 are fully legible without changing the cart quantity value. */
body.woocommerce .quantity,body.woocommerce-page .quantity,.single-product .quantity,.woocommerce-cart .quantity {display:inline-flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;gap:0;max-width:100%;width:max-content!important;white-space:nowrap;vertical-align:middle;}
body.woocommerce .quantity input.qty,body.woocommerce-page .quantity input.qty,.single-product .quantity input.qty {flex:0 0 auto!important;width:var(--pc-qty-px,70px)!important;min-width:var(--pc-qty-px,70px)!important;max-width:182px!important;min-height:37px;box-sizing:border-box!important;padding:6px 7px!important;font-size:13px!important;line-height:1.4!important;direction:ltr!important;text-align:center!important;font-variant-numeric:tabular-nums;overflow:visible!important;}
body.woocommerce .quantity .plus,body.woocommerce .quantity .minus,body.woocommerce-page .quantity .plus,body.woocommerce-page .quantity .minus {flex:0 0 auto!important;min-width:28px;}
/* Clear groups inside narrow checkout order review; never split the digits. */
body.pc-checkout #order_review .woocommerce-Price-amount,body.pc-checkout #order_review .pc-wc-money {font-size:clamp(11px,1.15vw,15px);}
@media(max-width:850px){
 .pc-address-form-head {padding:21px;}
 .pc-address-edit-form {padding:16px;}
 .pc-form-section {padding:16px;}
 .woocommerce-cart .woocommerce-cart-form table.shop_table .product-name {min-width:160px;}
 .woocommerce-cart .woocommerce-cart-form table.shop_table .product-price,.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal {min-width:95px;}
}
@media(max-width:650px){
 .pc-address-form .pc-fields {grid-template-columns:minmax(0,1fr)!important;gap:13px;}
 .pc-address-form .pc-field.pc-wide {grid-column:auto;}
 .pc-buyer-type {gap:8px;}
 .pc-buyer-option {flex:1 1 140px;min-width:0;justify-content:center;}
 .pc-form-section-head h4 {font-size:15px;}
 body.pc-checkout .pc-responsive-table .pc-price-cell {font-size:12px;}
 body.pc-checkout .pc-responsive-table tbody td .pc-item-label {max-width:calc(100% - 92px);}
 .woocommerce-cart .woocommerce-cart-form table.shop_table .product-name {min-width:0;width:auto;}
 .woocommerce-cart .woocommerce-cart-form table.shop_table .product-name .pc-item-label {font-size:13px;}
 .woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail {min-width:0;}
 .woocommerce-cart .woocommerce-cart-form table.shop_table .product-price,.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal {min-width:0;}
}


/* v1.0.8 | Farnaam — prevent Woodmart classic cart grid from spilling into cart totals.
   Scoped strictly to the classic cart; no checkout, proforma, order or product-price logic is changed. */
body.woocommerce-cart .cart-table-section,
body.woocommerce-cart .cart-content-wrapper,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .woocommerce-cart-form__contents,
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.woocommerce-cart .woocommerce-cart-form {
  width:100%!important;
  overflow-x:auto;
  overflow-y:hidden;
}
/* A fixed table with proportional columns shrinks *inside its actual column*.
   Old plugin min-width rules made columns add up to more than the card width. */
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:separate;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td {
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding-left:7px!important;
  padding-right:7px!important;
  vertical-align:middle;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name {
  width:34%!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  text-align:right!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-price {
  width:20%!important;
  min-width:0!important;
  text-align:center!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity {
  width:19%!important;
  min-width:0!important;
  text-align:center!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal {
  width:22%!important;
  min-width:0!important;
  text-align:center!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-remove {
  width:5%!important;
  min-width:0!important;
  text-align:center!important;
}
/* If Woodmart includes a dedicated thumbnail column, redistribute the shares. */
body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-thumbnail {
  width:9%!important;min-width:0!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-name {width:27%!important;}
body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-price {width:19%!important;}
body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-quantity {width:19%!important;}
body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-subtotal {width:21%!important;}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail img {
  display:block;max-width:100%!important;width:auto;height:auto;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name .pc-item-label,
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name .pc-item-name-text,
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name a {
  min-width:0!important;max-width:100%!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name .pc-item-dimensions {
  max-width:100%;white-space:normal!important;overflow-wrap:normal;
  font-size:12px;line-height:1.7;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-price .woocommerce-Price-amount,
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal .woocommerce-Price-amount {
  font-size:clamp(11px,.96vw,14px);
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-price .woocommerce-Price-amount bdi,
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal .woocommerce-Price-amount bdi {
  gap:3px!important;max-width:100%;
}
/* Quantity stays on one line, but its buttons must not force adjacent cells to overflow. */
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity .quantity {
  display:inline-flex!important;justify-content:center!important;
  width:auto!important;max-width:100%!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity .quantity input.qty {
  min-width:0!important;max-width:calc(100% - 54px)!important;
  padding:5px 2px!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity .quantity .plus,
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity .quantity .minus {
  min-width:25px!important;width:25px!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  padding:17px 12px!important;
  white-space:normal!important;
}
@media (max-width:1199px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td {
    padding-left:4px!important;padding-right:4px!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-price .woocommerce-Price-amount,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal .woocommerce-Price-amount {
    font-size:11px;
  }
}
/* At mobile widths Woodmart switches to stacked cells; don't impose desktop column shares. */
@media (max-width:767px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table {table-layout:auto!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-price,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-quantity,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-remove,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail {
    width:auto!important;
  }
  body.woocommerce-cart .woocommerce-cart-form {overflow-x:visible;}
}


/* v1.0.9 Farnaam — large-quantity cart totals, isolated from product and checkout.
   Fit long Rial amounts inside the *left* totals card, not by clipping them. */
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-totals-section,
body.woocommerce-cart .cart-totals-inner,
body.woocommerce-cart .cart_totals {
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table_responsive {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  box-sizing:border-box;
}
body.woocommerce-cart .cart_totals table.shop_table tr > th {
  width:35%!important;
  min-width:0!important;
  max-width:35%!important;
  padding-right:6px!important;
  padding-left:2px!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-size:13px!important;
  line-height:1.7!important;
  vertical-align:middle!important;
}
body.woocommerce-cart .cart_totals table.shop_table tr > td {
  width:65%!important;
  min-width:0!important;
  max-width:65%!important;
  padding-right:2px!important;
  padding-left:1px!important;
  text-align:left!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  vertical-align:middle!important;
}
/* Keep Rial on the visually left of the number; the number is a protected LTR group. */
body.woocommerce-cart .cart_totals .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals .amount {
  font-size:14px!important;
  line-height:1.6!important;
  font-weight:500;
  font-variant-numeric:tabular-nums;
  max-width:100%;
  box-sizing:border-box;
}
body.woocommerce-cart .cart_totals .woocommerce-Price-amount bdi,
body.woocommerce-cart .cart_totals .pc-wc-money {
  display:inline-flex!important;
  flex-direction:row!important;
  direction:rtl!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:3px!important;
  white-space:nowrap!important;
  max-width:100%;
  min-width:0;
  font-size:inherit!important;
  font-variant-numeric:tabular-nums;
  unicode-bidi:isolate;
}
body.woocommerce-cart .cart_totals .pc-wc-value {
  direction:ltr!important;
  unicode-bidi:isolate;
  white-space:nowrap!important;
}
body.woocommerce-cart .cart_totals .woocommerce-Price-currencySymbol {
  display:inline-block!important;
  flex:0 0 auto;
  font-size:.86em!important;
  white-space:nowrap!important;
  direction:rtl!important;
  unicode-bidi:isolate;
}
/* Final total should be emphasized, but never as large as the amount can no longer fit. */
body.woocommerce-cart .cart_totals tr.order-total .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals tr.order-total .amount,
body.woocommerce-cart .cart_totals tr.order-total strong {
  font-size:16px!important;
  line-height:1.6!important;
  font-weight:700!important;
}
body.woocommerce-cart .cart_totals tr.order-total .woocommerce-Price-currencySymbol {
  font-size:.82em!important;
}
/* Only for extremely large values: keep them visible rather than painting over the border. */
body.woocommerce-cart .cart_totals td.pc-cart-money-stacked .pc-wc-money {
  flex-wrap:wrap!important;
  white-space:normal!important;
  justify-content:flex-start!important;
}
@media (max-width:767px) {
  body.woocommerce-cart .cart_totals table.shop_table tr > th {font-size:12px!important;}
  body.woocommerce-cart .cart_totals .woocommerce-Price-amount,
  body.woocommerce-cart .cart_totals .amount {font-size:13px!important;}
  body.woocommerce-cart .cart_totals tr.order-total .woocommerce-Price-amount,
  body.woocommerce-cart .cart_totals tr.order-total .amount,
  body.woocommerce-cart .cart_totals tr.order-total strong {font-size:15px!important;}
}


/* Farnaam v1.0.11 — cart thumbnail visibility and checkout item quantity alignment.
   Visual fixes only: no changes to prices, counts, cart totals, proforma or SMS. */
/* Reserve adequate room for the full product image in the desktop classic cart. */
@media (min-width: 768px) {
    body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-thumbnail {
        width: 12% !important;
        min-width: 0 !important;
        overflow: visible !important;
        text-align: center !important;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-name { width: 26% !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-price { width: 18% !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-quantity { width: 19% !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table:has(td.product-thumbnail) .product-subtotal { width: 20% !important; }
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail > a {
    overflow: visible !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail > a {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail img {
    display: block !important;
    width: 100% !important;
    max-width: 78px !important;
    height: auto !important;
    max-height: 78px !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
    object-position: center center !important;
    clip-path: none !important;
    transform: none !important;
    margin: 0 auto !important;
}
/* The two-line title has an inline-flex wrapper. Align the WooCommerce
   quantity marker with the TOP (product title) rather than its middle. */
body.pc-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name .pc-item-label {
    vertical-align: top !important;
    margin-top: 0 !important;
}
body.pc-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name .product-quantity {
    display: inline-block !important;
    vertical-align: top !important;
    line-height: 1.7 !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
}
@media (max-width: 767px) {
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail img {
        max-width: 70px !important;
        max-height: 70px !important;
    }
}
