/* Webzir UI (shared) - minimal starter */
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap");

:root{
  --wz-ui-font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, Roboto, Inter, Arial, sans-serif;
  --wz-ui-font-body: "Mulish", -apple-system, BlinkMacSystemFont, Roboto, Inter, Arial, sans-serif;
  --wz-ui-bg: #ffffff;
  --wz-ui-bg-active-card: #fffcf6;
  --wz-ui-surface: #ffffff;
  --wz-ui-surface-2: #fbfcff;
  
  --wz-ui-page-ud-heading: 18px;
  --wz-ui-page-ud-weight: 600;
  --wz-ui-page-ud-lineheight: 30px;
  
  --wz-ui-page-bodyframe-1: 100%;
  --wz-ui-page-bodyframe-2: 75%;
  --wz-ui-page-bodyframe-3: 50%;
  
  --wz-ui-page-ud-sub-title: 12px;
  --wz-ui-page-ud-sub-weight: 600;
  --wz-ui-page-ud-sub-lineheight: 20px;
  --wz-ui-page-ud-box-padding: 20px;
  
  --wz-ui-text: #333333;
  --wz-ui-muted: #64748b;
  --wz-ui-border-1: 1px solid rgba(0,0,0,.12);
  --wz-ui-border-2: 1px solid rgba(0,0,0,.20);
  --wz-ui-border-3: 1px solid rgba(4,4,4,.20);

  --wz-ui-primary: #000029;
  --wz-ui-sub-head: #808080;
  --wz-ui-accent: #c2262d;
  --wz-ui-label: #ababab;
  
  /* States */
  --wz-ui-danger: #dc3232;
  --wz-ui-warning: #d97706;
  --wz-ui-success: #117A5E;
  
  --wz-ui-radius: 8px;
  --wz-ui-radius-sm: 6px;
  --wz-ui-box-bg: #fbfcff;
  --wz-ui-box-padding: 22px;
  --wz-ui-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --wz-ui-shadow-sm: 0 6px 18px rgba(15, 23, 42, .05);
  --wz-ui-gap: 14px;
  
  /* Botton */
  --wz-ui-btn-color: #ffffff;
  --wz-ui-btn-hover: #C2262D;
  --wz-ui-btn-size: 14px;
  --wz-ui-btn-linehight: 24px;
  --wz-ui-btn-weight: 500;
  --wz-ui-btn-radius: 8px;
  --wz-ui-btn-padding: 10px 20px;
  
  --wz-ui-row-heading: 14px;
  --wz-ui-row-heading-weight: 600;
  --wz-ui-row-value: 14px;
  --wz-ui-row-value-weight: 500;
  
  --wz-ui-data-heading: 14px;
  --wz-ui-data-heading-weight: 600;
  --wz-ui-data-value: 14px;
  --wz-ui-data-value-weight: 500;

  --wz-ui-radius: 6px;
  --wz-ui-radius-lg: 8px;
  
  /*Icons*/
  --wz-ui-icon-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M129.4,305.9l186.5,186.6c19.8,19.8,52.1,20.7,72.2,1.3s20.8-52.8.7-72.9l-155-155c-5.5-5.5-5.5-14.5,0-20l154.4-154.4c19.8-19.8,20.7-52,1.2-72.2-19.5-20.2-52.7-20.9-72.9-.7l-187.2,187.2c-27.7,27.7-27.7,72.5,0,100.2Z'/%3E%3C/svg%3E");
  
}

.webzir-tools, .webzir-tools *{ box-sizing: border-box; }

.webzir-tools{
  font-family: var(--wz-ui-font-body);
  color: var(--wz-ui-primary);
}

.webzir-tools__note{
  background: #fbfcff;
  border: var(--wz-ui-border-1);
  border-radius: var(--wz-ui-radius-sm);
  padding: 12px 14px;
  margin: 12px 0 18px;
}

.webzir-tools__grid{
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax( 340px, 1fr ) );
  gap: 14px;
  align-items: start;
}

.webzir-card{
  background: var(--wz-ui-surface);
  border: var(--wz-ui-border-1);
  border-radius: var(--wz-ui-radius);
  padding: 14px;
  box-shadow: var(--wz-ui-shadow);
}

.webzir-card__head{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.webzir-card__title{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.webzir-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: var(--wz-ui-border-1);
  font-size: 12px;
  color: var(--wz-ui-muted);
}

.webzir-badge--good{
  border-color: rgba(17,122,94,.35);
  color: var(--wz-ui-success);
  background: rgba(17,122,94,.08);
}

.webzir-card__desc{
  margin: 8px 0 8px;
  color: var(--wz-ui-muted);
}

.webzir-card__meta{
  margin: 8px 0 0;
  color: var(--wz-ui-primary);
}

.webzir-card__section{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,.12);
}

.webzir-card__section-title{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--wz-ui-muted);
  margin-bottom: 8px;
}

.webzir-codegrid{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.webzir-code{
  display:flex;
  align-items:center;
  gap: 10px;
  border: var(--wz-ui-border-1);
  background: #fff;
  border-radius: var(--wz-ui-radius-sm);
  padding: 8px 10px;
  cursor:pointer;
}

.webzir-code code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

.webzir-code span{
  font-size: 12px;
  color: var(--wz-ui-muted);
}

.webzir-code:hover{
  border-color: rgba(17,122,94,.35);
}

.webzir-list{
  margin: 0;
  padding-left: 18px;
  color: var(--wz-ui-muted);
}

.webzir-accordion{
  display:grid;
  gap: 10px;
  max-width: 980px;
}

.webzir-acc{
  background: var(--wz-ui-surface);
  border: var(--wz-ui-border-1);
  border-radius: var(--wz-ui-radius);
  padding: 8px 12px;
}

.webzir-acc summary{
  cursor: pointer;
  font-weight: 700;
  padding: 8px 2px;
}

.webzir-acc__body{
  color: var(--wz-ui-muted);
  padding: 4px 2px 10px;
}

/* ------------------------------
   Design tokens (scoped)
------------------------------ */
.wz-ui{
  font-family: var(--wz-ui-font-body);
  color: var(--wz-ui-primary);
}

.wz-ui,
.wz-ui *{ box-sizing:border-box; }

/* ------------------------------
   Layout grid
------------------------------ */
.wz-ui .wz-ui-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:0 0 18px;
}
@media (max-width: 920px){
  .wz-ui .wz-ui-grid{ grid-template-columns:1fr; }
}

/* ------------------------------
   Cards
------------------------------ */

.wz-ui .wz-ui-card--section{ margin-top:18px; }

.wz-ui .wz-ui-card__title{
  font-size:15px;
  line-height:30px;
  font-weight:600;
  margin:0 0 12px;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 10px;
}
.wz-ui-card__heading{
  font-family: var(--wz-ui-font-heading);
  font-size:var(--wz-ui-data-heading);
  font-weight:var(--wz-ui-data-heading-weight);
  line-height:1.35;
  color:var(--wz-ui-text);
}
.wz-ui-card__value{
  font-family: var(--wz-ui-font-body);
  font-size:var(--wz-ui-data-value);
  font-weight:var(--wz-ui-data-value-weight);
  line-height:1.35;
  color:var(--wz-ui-text);
}
.wz-ui .wz-ui-card__sub{
  font-family: var(--wz-ui-font-body);
  margin-top:8px;
  font-size:15px;
  font-weight: 500;
  color:var(--wz-ui-text);
}

/* ------------------------------
   Text helpers
------------------------------ */
.wz-ui .wz-ui-muted{
  font-family: var(--wz-ui-font-body);
  color:var(--wz-ui-muted);
  font-size:14px;
  line-height: 24px;
}
.wz-ui .wz-ui-sep{ padding:0 6px; opacity:.6; }

/* Links */
.wz-ui a.wz-ui-link,
.wz-ui .wz-ui-link{
  font-family: var(--wz-ui-font-body);
  color:var(--wz-ui-primary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.wz-ui a.wz-ui-link:hover,
.wz-ui .wz-ui-link:hover{ color:var(--wz-ui-accent); }

/* ------------------------------
   Buttons
------------------------------ */
.wz-ui .wz-ui-actions{ margin-top:10px; }

.wz-ui .wz-ui-note{
  margin-top: 8px;
  font-size: 14px;
  color: #0000009;
}

/* ------------------------------
   Badge pill
------------------------------ */
.wz-ui-badge{
  font-family: var(--wz-ui-font-body);
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px 6px 36px;
  border-radius: var(--wz-ui-radius);
  font-weight: 700;
  font-size: 13px;
  border: var(--wz-ui-border-1);
  background: #f2f4f8;
  color: #334155;
}
.wz-ui-badge:before{
  content:"";
  position:absolute;
  left:16px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#94a3b8;
}

.wz-ui-badge.is-warning{
  background:#fff3dd;
  border-color:#ffd49c;
  color:#8a5200;
  border-radius: var(--wz-ui-radius);
}
.wz-ui-badge.is-warning:before{ background:#f59e0b; border-radius: 6px;}

.wz-ui-badge.is-success{
  background:#e7f8ef;
  border-color:#a6e3bf;
  color:#0f6b39;
  border-radius: var(--wz-ui-radius);
}
.wz-ui-badge.is-success:before{ background:#25b46b; }

.wz-ui-badge.is-danger{
  background:#fde8e8;
  border-color:#f4b4b4;
  color:#a11a1a;
}
.wz-ui-badge.is-danger:before{ background:var(--wz-ui-danger); }

.wz-ui-badge.is-neutral{
  background:#f2f4f8;
  border-color:#d7dde6;
  color:#334155;
  border-radius: var(--wz-ui-radius);
}
.wz-ui-badge.is-neutral:before{ background:#94a3b8; }

/* ------------------------------
   Shipping meta row
------------------------------ */
.wz-ui .wz-ui-ship-meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-top:16px;
  flex-wrap:wrap;
}

/* ------------------------------
   Steps
------------------------------ */
.wz-ui .wz-ui-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}
@media (max-width: 920px){
  .wz-ui .wz-ui-steps{ grid-template-columns:1fr; }
}

.wz-ui-step{
  border: var(--wz-ui-border-2);
  border-radius: var(--wz-ui-radius-lg);
  padding: 16px;
  background: var(--wz-ui-surface);
}
.wz-ui-step__title{
  font-family: var(--wz-ui-font-heading);
  font-weight: 600;
  color: var(--wz-ui-primary);
  margin-bottom: 10px;
  font-size: 13px;
}

.wz-ui-step__badge{
  font-family: var(--wz-ui-font-body);
  font-weight: 600;
  color: var(--wz-ui-primary);
  margin-bottom: 10px;
  font-size: 13px;    
}

.wz-ui-step.is-complete{ opacity:.95; }
.wz-ui-step.is-active{ box-shadow: var(--wz-ui-shadow-sm); border: var(--wz-ui-border-3); border-radius: var(--wz-ui-radius-lg); background: var(--wz-ui-bg-active-card);}
.wz-ui-step.is-pending{ opacity:.85; }

/* ------------------------------
   Artwork list / rows
------------------------------ */
.wz-ui .wz-ui-list{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.wz-ui-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border: var(--wz-ui-border-1);
  border-radius:var(--wz-ui-radius-lg);
  background:var(--wz-ui-surface-2);
  flex-wrap:wrap;
}
.wz-ui .wz-ui-row__label{
  font-family: var(--wz-ui-font-body);
  font-weight:700;
  color:var(--wz-ui-primary);
}

/* ------------------------------
   Proof block
------------------------------ */
.wz-ui .wz-ui-proof{ margin-top:14px; }
.wz-ui .wz-ui-proof__head{ margin-bottom:8px; color:var(--wz-ui-primary); }
.wz-ui .wz-ui-proof__row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top: 10px; }

/* ------------------------------
   Order summary
------------------------------ */
.wz-ui-order-summary{ margin-bottom:16px; }

.wz-ui-summary-lines{ margin-top:10px; }
.wz-ui-summary-lines p{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  margin:0;
  border-top: var(--wz-ui-border-2);
}
.wz-ui-row-heading{
  font-family: var(--wz-ui-font-body);
  font-size:var(--wz-ui-row-heading);
  font-weight:var(--wz-ui-row-heading-weight);
  color:var(--wz-ui-text);
}
.wz-ui-row-value{
  font-family: var(--wz-ui-font-body);
  font-size:var(--wz-ui-row-value);
  font-weight:var(--wz-ui-row-value-weight);
  color:var(--wz-ui-text);
}

/* ==========================================================
   Webzir Net Terms Credit — Central Styles (Frontend + Admin)
   File: assets/css/wz-ntc.css

   Updated to match your "wz-wcd" design system:
   - New token values (colors, typography, shadows, spacing)
   - Button + badge style aligned with wz-wcd
   - Card style aligned with wz-wcd
   - Keeps scope under .wz-ntc to prevent conflicts
   ========================================================== */

/* ------------------------------
   Design tokens (scoped)
------------------------------ */

/*.wz-ui-section{
    /*box-sizing: border-box;
    /*background: var(--wz-ui-box-bg);
    /*padding: var(--wz-ui-box-padding);
    /*border-radius: var(--wz-ui-radius);
}*/

/* Base wrapper */
.wz-ui-wrap{
  max-width: 1400px;
  margin: 0 auto;
}

/* ------------------------------
   Cards / Panels (match wz-wcd)
------------------------------ */
.wz-ui-card{
  background: var(--wz-ui-bg)!important;
  border-radius:var(--wz-ui-radius)!important;
  padding: var(--wz-ui-box-padding)!important;
  box-shadow: var(--wz-ui-shadow)!important;
  overflow: hidden!important;
}

.wz-ui-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wz-ui-section-card {
  background: #ffffff;
  border-radius:var(--wz-ui-radius-sm);
  padding: var(--wz-ui-box-padding);
  box-shadow: var(--wz-ui-shadow);
  overflow: hidden;
}

/* If your markup includes a separate head/body, keep it but restyle */
.wz-ui-card-head{
  padding: 0 0 10px 0;
  margin: 0 0 12px 0;
  background: transparent;
  border-bottom: var(--wz-ui-border-2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.wz-ui-card-title{
  font-family: "Montserrat", Sans-serif;
  margin: 0;
  font-size: 15px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--wz-ntc-text);
}

.wz-ui-label{
  font-family: var(--wz-ui-font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--wz-ui-primary);
  opacity: 0.5; /* or your muted token */
  margin: 0 0 6px;
}


/* Net Terms Forms */
.wz-ui-form-field{
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px; /* spacing between lines */
}

.wz-ui-form-label{
  font-family: var(--wz-ui-font-body)!important;
  font-size: 13px;
  font-weight: 500!important;
  line-height: 18px;
  color: var(--wz-ui-label)!important;
  margin: 0px;
}

.wz-ui-form-textarea{
  min-height: 140px;   /* change this */
  resize: vertical;    /* allow user to resize */
}

.wz-ui-form-input{
  padding: 10px;
}

.wz-ui-value{
  font-family: var(--wz-ui-font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  color: var(--wz-ui-primary); /* or your text token */
}

/* Net Terms Page */
.wz-ui-page{
  width: var(--wz-ui-page-bodyframe-1);
  margin: auto;
}

.wz-ui-page-form{
  width: var(--wz-ui-page-bodyframe-3);
  margin: 0 auto 100px;
}

.wz-ui-form label input[type="checkbox"][name="bank_auth_confirm"]{
  transform: scale(1.25);
  transform-origin: top left;
  margin-top: 4px !important; /* tweak */
}

.wz-ui-form-heading{
    font-family: var(--wz-ui-font-body);
    font-size: var(--wz-ui-data-heading);
    font-weight: var(--wz-ui-data-heading-weight);
    margin: 30px 0px!important;
}

.wz-ui-myaccount {
    background: var(--wz-ui-bg);
    padding: var(--wz-ui-page-ud-box-padding);
    border-radius: var(--wz-ui-radius-sm);
}

/* Left block (your first span) */
.wz-ui-card-head > span:first-child{
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
}

/* Title */
.wz-ui-page-heading{
  font-family: var(--wz-ui-font-heading);
  font-size: var(--wz-ui-page-ud-title);
  line-height: var(--wz-ui-page-ud-lineheight);
  font-weight: var(--wz-ui-page-ud-weight);
  color: var(--wz-ui-primary);
}

/* Back link row */
.wz-ui-card-head > span:first-child > a{
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  width: fit-content;
}

/* Icon */
.wz-ui-back-icon{
  width: 12px;
  height: 12px;
  background: var(--wz-ui-sub-head); /* this is the icon color */
  -webkit-mask: var(--wz-ui-icon-back) no-repeat center / 12px 12px;
  mask: var(--wz-ui-icon-back) no-repeat center / 12px 12px;
  flex: 0 0 12px;
}

/* Sub heading text */
.wz-ui-page-sub-heading{
  font-family: var(--wz-ui-font-body);
  margin: 0;
  font-size: var(--wz-ui-page-ud-sub-title);
  line-height: var(--wz-ui-page-ud-sub-lineheight);
  font-weight: var(--wz-ui-page-ud-sub-weight);
  letter-spacing: 0;
  color: var(--wz-ui-sub-head);
}

/* Hover */
.wz-ui-card-head > span:first-child > a:hover .wz-ui-page-sub-heading{
  color: var(--wz-ui-accent);
}

/* ✅ Hover icon color (added) */
.wz-ui-card-head > span:first-child > a:hover .wz-ui-back-icon{
  background: var(--wz-ui-accent);
}

.wz-ui-card-body{
  padding: 0;
}

.wz-ui-form-body{
    background: var(--wz-ntc-surface);
    border: 1px solid var(--wz-ntc-border-light);
    border-radius: 6px;
    width: var(--wz-ui-page-bodyframe-1);
}

/* ------------------------------
   Summary grid (shortcode: wz_ntc_summary)
------------------------------ */
.wz-ui-summary{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 18px;
  margin: 0 0 18px;
}
@media (max-width: 900px){
  .wz-ui-summary{ grid-template-columns: 1fr; }
}

/* Stat blocks (match cleaner card typography) */
.wz-ui-stat{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.wz-ui-stat-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0,0,41,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--wz-ntc-primary);
  flex: 0 0 auto;
}

.wz-ui-stat-kicker{
  font-size: 13px;
  color: var(--wz-ntc-muted);
  margin: 0 0 4px 0;
  font-weight: 500;
}

.wz-ui-stat-value{
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  line-height: 1.1;
  color: var(--wz-ntc-text);
}

.wz-ui-stat-sub{
  font-size: 13px;
  margin-top: 6px;
  color: var(--wz-ntc-muted);
}

/* ------------------------------
   Balance block (shortcode: wz_ntc_balance)
------------------------------ */
.wz-ui-balance{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wz-ui-balance .wz-ui-balance-amount{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--wz-ntc-text);
}

.wz-ui-balance .wz-ntc-balance-meta{
  font-size: 13px;
  color: var(--wz-ntc-muted);
}

/* ------------------------------
   Global Button
------------------------------ */
.wz-ui-btn{
  font-family: var(--wz-ui-font-heading)!important;
  font-size: var(--wz-ui-btn-size)!important;
  font-weight: var(--wz-ui-btn-weight)!important;
  line-height: var(--wz-ui-btn-linehight)!important;
  color: var(--wz-ui-btn-color)!important;
  background: var(--wz-ui-primary)!important;
  padding: var(--wz-ui-btn-padding)!important;
  border-radius: var(--wz-ui-btn-radius)!important;
  cursor: pointer!important;
  text-decoration: none!important;
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  gap: 8px!important;
  appearance: none!important;
  user-select: none!important;
  white-space: nowrap!important;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease!important;
}

.wz-ui-btn:hover{
  background: var(--wz-ui-btn-hover)!important;
}

.wz-ui-btn.is-disabled,
.wz-ui-btn[disabled]{
  background: var(--wz-ui-primary);
  opacity:.25;
  pointer-events:none;
  transform:none;
  
}

/* Outline (still aligned) */
.wz-ui-btn-outline{
  background: #fff;
  color: var(--wz-ntc-primary) !important;
  border: 1px solid var(--wz-ntc-border);
}
.wz-ui-btn-outline:hover{
  border-color: rgba(0,0,0,.16);
  color: var(--wz-ntc-accent) !important;
}

/* Danger */
.wz-ui-btn-danger{
  background: var(--wz-ntc-danger);
  color: #fff !important;
}
.wz-ui-btn-danger:hover{
  background: #b91c1c;
}

.wz-ui-btn.is-disabled,
.wz-ui-btn[disabled]{
  opacity: .25;
  pointer-events: none;
}

/* Sizes */
.wz-ui-btn-sm{ padding: 8px 12px; font-size: 12px; }
.wz-ui-btn-lg{ padding: 12px 16px; font-size: 14px; }

/* Optional helper note (ported concept) */
.wz-ui-note{
  margin-top: 8px;
  font-size: 14px;
  /* fixed: your wz-wcd had "#0000009" (invalid) — use rgba */
  color: rgba(0,0,0,.56);
}

/* ------------------------------
   Tables (ledger + admin list) — keep structure, restyle to match
------------------------------ */
.wz-ui-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
}

.wz-ui-table td{
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--wz-ntc-border);
  vertical-align: middle;
  font-size: 14px;
  color: var(--wz-ntc-text);
}

.wz-ui-table th{
  text-align: left;
  font-family: var(--wz-ntc-font);
  background: var(--wz-ntc-surface-2);
  font-size: 15px;
  color: var(--wz-ntc-text);
  letter-spacing: .25px;
  text-transform: capitalize;
  color: rgba(0,0,0,.62);
  font-weight: 500;
}

.wz-ui-table tr:last-child td{ border-bottom: 0; }

.wz-ui-table .wz-ntc-mono{
  font-family: var(--wz-ntc-font);
}

/* Remove any theme/Woo borders from this table */
table.wz-ui-table,
table.wz-ui-table thead,
table.wz-ui-table tbody,
table.wz-ui-table tr,
table.wz-ui-table th,
table.wz-ui-table td{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Keep ONLY your row divider */
table.wz-ui-table th,
table.wz-ui-table td{
  border-bottom: 1px solid var(--wz-ntc-border) !important;
}

/* Optional: remove last row divider */
table.wz-ui-table tr:last-child td{
  border-bottom: 0 !important;
}

/* Header row: ONLY bottom border */
table.wz-ui-table thead th{
  border-style: solid !important;
  border-width: 0 0 1px 0 !important;
  border-color: var(--e-global-color-af9cf4f) !important;
}

/* Remove any other header borders Woo/theme may add */
table.wz-ui-table thead th{
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Row types for ledger */
.wz-ui-row-credit td{ background: rgba(22, 163, 74, .04); }
.wz-ui-row-debit td{ background: rgba(220, 38, 38, .035); }

/* =========================================================
   Webzir UI — Unified Select2 / SelectWoo + Native Select
   Targets Woo + Select2 (billing/shipping/net-terms/product)
   Clean + consistent arrow, typography, spacing, join lines
========================================================= */

/* ---------------------------------------------------------
   0) Safe defaults (prevents clipping & weird gaps)
--------------------------------------------------------- */
.select2-container,
.select2-dropdown{
  overflow: visible !important;
}

.select2-container{
  box-shadow: none !important;
}

/* ensure dropdown stays above */
.select2-container--open,
.select2-dropdown{
  z-index: 999999 !important;
}

/* ---------------------------------------------------------
   1) Product variations layout helpers
--------------------------------------------------------- */
.woocommerce div.product form.cart table.variations td.value{
  width: 74%;
  position: relative; /* needed for native select arrow */
}

.woocommerce div.product form.cart table.variations td.value,
.woocommerce div.product form.cart table.variations td.value *{
  box-sizing: border-box;
}

/* prevent clipping */
.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart table.variations *{
  overflow: visible !important;
}

/* ---------------------------------------------------------
   2) Full-width selects (Select2 + native)
--------------------------------------------------------- */
.woocommerce div.product form.cart table.variations td.value select,
.woocommerce div.product form.cart table.variations td.value .select2,
.woocommerce div.product form.cart table.variations td.value .select2-container,

/* billing/shipping/net-terms commonly use select2 containers too */
.woocommerce .select2,
.woocommerce .select2-container{
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   3) Unified “field” look (native select + select2 single)
--------------------------------------------------------- */
.woocommerce select,
.select2-container--default .select2-selection--single{
  border: 1px solid #d2d2d2 !important;
  border-radius: 6px !important;
  background: #fcfcfc !important;
  box-shadow: none !important;
  height: auto !important;
}

/* consistent hover */
.woocommerce select:hover,
.select2-container--default .select2-selection--single:hover{
  border-color: #d2d2d2 !important;
  background: #f1f1f1 !important;
  box-shadow: none !important;
}

/* consistent focus */
.woocommerce select:focus,
.select2-container--default.select2-container--focus .select2-selection--single{
  outline: none !important;
  border-color: #a0a0a0 !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   4) Unified typography + spacing
--------------------------------------------------------- */

/* Placeholder look (Select2) */
.select2-container--default .select2-selection--single
.select2-selection__rendered[title="Choose an option"],
.select2-container--default .select2-selection--single
.select2-selection__rendered[title="Select province"]{
  color: #b5b5b5 !important;
  font-weight: 400 !important;
}

/* ---------------------------------------------------------
   5) Unified ARROW
   - Select2: replace theme triangle with a chevron
   - Native <select>: hide browser arrow + draw same chevron
--------------------------------------------------------- */

/* ----- 5A) Select2 arrow: remove default triangle ----- */
.select2-container--default .select2-selection--single .select2-selection__arrow b{
  border: none !important;
}

/* position arrow box */
.select2-container--default .select2-selection--single .select2-selection__arrow{
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 22px !important;
  height: 22px !important;
}

/* draw chevron */
.select2-container--default .select2-selection--single .select2-selection__arrow::before{
  content: "" !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid rgba(0,0,0,.65) !important;
  border-bottom: 2px solid rgba(0,0,0,.65) !important;
  transform: rotate(45deg) !important;
  margin: 6px auto 0 !important;
  opacity: .9 !important;
}

/* rotate when open (optional but nice) */
.select2-container--open .select2-selection--single .select2-selection__arrow::before{
  transform: rotate(-135deg) !important;
  margin-top: 10px !important;
}

/* ----- 5B) Native select arrow (product variations only) ----- */
/* hide browser arrow */
.woocommerce div.product form.cart table.variations td.value select{
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}

/* draw same chevron */
.woocommerce div.product form.cart table.variations td.value::after{
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(0,0,0,.65);
  border-bottom: 2px solid rgba(0,0,0,.65);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  opacity: .9;
}

/* ---------------------------------------------------------
   6) Open state + JOIN LINE FIX (your missing bottom line)
--------------------------------------------------------- */

/* Open state (common) */
.select2-container--default.select2-container--open .select2-selection--single{
  border-color: #117a5e !important;
  background: #117a5e0d !important;
  box-shadow: none !important;
}

/* OPEN BELOW: selection provides the join line */
.select2-container--open.select2-container--below .select2-selection--single{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: 1px solid #117a5e !important; /* ✅ green join line */
}

/* OPEN ABOVE */
.select2-container--open.select2-container--above .select2-selection--single{
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-top: 1px solid #117a5e !important;
}

/* ---------------------------------------------------------
   7) Dropdown panel styling (clean + no double border)
--------------------------------------------------------- */
.select2-dropdown{
  border: 1px solid #117a5e !important;
  background: #fff !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* BELOW: remove top border + pull up by 1px to remove gap */
.select2-container--default .select2-dropdown--below{
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
  margin-top: -1px !important; /* critical */
}

/* ABOVE: remove bottom border + pull down by 1px */
.select2-container--default .select2-dropdown--above{
  border-bottom: none !important;
  border-radius: 6px 6px 0 0 !important;
  margin-bottom: -1px !important;
}

/* ---------------------------------------------------------
   8) Options rows
--------------------------------------------------------- */
body.woocommerce .select2-container--default .select2-results__option,
body.woocommerce-page .select2-container--default .select2-results__option{
  padding: 14px 18px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  height: auto !important;
  color: #222 !important;
  border-radius: 6px !important;
  margin: 2px 6px !important;
}

/* Hover highlight (non-selected) */
body.woocommerce .select2-container--default
.select2-results__option--highlighted:not([aria-selected="true"]),
body.woocommerce-page .select2-container--default
.select2-results__option--highlighted:not([aria-selected="true"]){
  background: #f1f1f1 !important;
  color: #000 !important;
}

/* Selected row */
body.woocommerce .select2-container--default .select2-results__option[aria-selected="true"],
body.woocommerce-page .select2-container--default .select2-results__option[aria-selected="true"]{
  background: #117a5e20 !important;
  color: #000 !important;
  font-weight: 600 !important;
}

/* Selected + hovered */
body.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected="true"],
body.woocommerce-page .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{
  background: #117a5e33 !important;
  color: #000 !important;
}

/* ---------------------------------------------------------
   9) Recommended badge (dropdown + selected container)
--------------------------------------------------------- */
.select2-results__option.recommended-size::after,
#select2-pa_size-container.recommended-size::after{
  content: "Recommended";
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
  display: inline-block;
  font-weight: 600;
}

/* Optional note under field */
#recommended-size-note{
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}


/* =========================================================
   Webzir UI — Unified Select2 / SelectWoo + Native Select
   Product Variations + Billing/Shipping + Net Terms
   - Same typography + spacing everywhere
   - One clean chevron arrow (no double arrows)
   - Fixes missing join line when dropdown opens
   - Hides Select2 built-in clear "X" icon
========================================================= */

/* ---------------------------------------------------------
   0) Anti-clipping + stacking
--------------------------------------------------------- */
.select2-container,
.select2-dropdown{
  overflow: visible !important;
}

.select2-container--open,
.select2-dropdown{
  z-index: 999999 !important;
}

/* prevent inner clipping */
.select2-results,
.select2-results__options{
  overflow: auto !important;
}

/* ---------------------------------------------------------
   1) Product variations layout helper
--------------------------------------------------------- */
.woocommerce div.product form.cart table.variations td.value{
  width: 74%;
}

.woocommerce div.product form.cart table.variations td.value,
.woocommerce div.product form.cart table.variations td.value *{
  box-sizing: border-box;
}

.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart table.variations *{
  overflow: visible !important;
}

/* ---------------------------------------------------------
   2) Full width for Select2 + native selects
--------------------------------------------------------- */
.woocommerce div.product form.cart table.variations td.value select,
.woocommerce div.product form.cart table.variations td.value .select2,
.woocommerce div.product form.cart table.variations td.value .select2-container,
.woocommerce .select2,
.woocommerce .select2-container{
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   3) Unified field look (native + Select2 single)
--------------------------------------------------------- */
.woocommerce select,
.select2-container--default .select2-selection--single{
  border: 1px solid #d2d2d2 !important;
  border-radius: 6px !important;
  background: #fcfcfc !important;
  box-shadow: none !important;
  height: auto !important;
}

/* hover */
.woocommerce select:hover,
.select2-container--default .select2-selection--single:hover{
  border-color: #d2d2d2 !important;
  background: #f1f1f1 !important;
  box-shadow: none !important;
}

/* focus */
.woocommerce select:focus,
.select2-container--default.select2-container--focus .select2-selection--single{
  outline: none !important;
  border-color: #a0a0a0 !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   4) Unified typography + spacing
--------------------------------------------------------- */
.woocommerce select{
  padding: 10px 20px !important;
  padding-right: 52px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #333 !important;
  line-height: 1.4 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  padding: 10px 20px !important;
  padding-right: 52px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #333 !important;
  line-height: 1.4 !important;
}

/* placeholder (Select2 only) */
.select2-container--default .select2-selection--single
.select2-selection__rendered[title="Choose an option"],
.select2-container--default .select2-selection--single
.select2-selection__rendered[title="Select province"]{
  color: #b5b5b5 !important;
  font-weight: 400 !important;
}

/* ---------------------------------------------------------
   5) SELECT2: remove built-in clear (X) + unify arrow
--------------------------------------------------------- */

/* Hide Select2 clear "×" */
.select2-container--default .select2-selection--single .select2-selection__clear{
  display: none !important;
}

/* Remove any theme-added arrows/backgrounds */
.select2-container--default .select2-selection--single{
  background-image: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  background: transparent !important;
  background-image: none !important;
}

/* Remove default triangle */
.select2-container--default .select2-selection--single .select2-selection__arrow b{
  display: none !important;
}

/* Arrow container */
.select2-container--default .select2-selection--single .select2-selection__arrow{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 100% !important;
  position: absolute !important;
  right: 6px !important;
  top: 0 !important;
  transform: none !important;
}

/* One clean chevron */
.select2-container--default .select2-selection--single .select2-selection__arrow::before{
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid rgba(0,0,0,.65) !important;
  border-bottom: 2px solid rgba(0,0,0,.65) !important;
  transform: rotate(45deg) !important;
  margin: 0 !important;
  opacity: .9 !important;
}

/* rotate when open */
.select2-container--open .select2-selection--single .select2-selection__arrow::before{
  transform: rotate(-135deg) !important;
}

/* ---------------------------------------------------------
   6) Native select: keep native arrow (NO td::after chevron)
   (You removed td::after later — so we don’t add it at all.)
--------------------------------------------------------- */
.woocommerce div.product form.cart table.variations td.value select{
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
  background-image: none !important;
}

/* ---------------------------------------------------------
   7) Open state + join line (consistent everywhere)
--------------------------------------------------------- */
.select2-container--default.select2-container--open .select2-selection--single{
  border-color: #117a5e !important;
  background: #117a5e0d !important;
  box-shadow: none !important;
}

/* Open BELOW: selection shapes the top, dropdown connects below */
.select2-container--open.select2-container--below .select2-selection--single{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-color: transparent !important; /* avoid double line */
}

/* Open ABOVE */
.select2-container--open.select2-container--above .select2-selection--single{
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-top-color: transparent !important;
}

/* ---------------------------------------------------------
   8) Dropdown panel (no double border + no gap)
--------------------------------------------------------- */
.select2-dropdown{
  border: 1px solid #117a5e !important;
  background: #fff !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* BELOW: provide join line + remove gap */
.select2-container--open .select2-dropdown--below{
  border-top: 1px solid #117a5e !important;  /* ✅ join line */
  margin-top: -1px !important;              /* ✅ critical */
  border-radius: 0 0 6px 6px !important;
}

/* ABOVE: provide join line + remove gap */
.select2-container--open .select2-dropdown--above{
  border-bottom: 1px solid #117a5e !important;
  margin-bottom: -1px !important;
  border-radius: 6px 6px 0 0 !important;
}

/* ---------------------------------------------------------
   9) Options rows
--------------------------------------------------------- */
body.woocommerce .select2-container--default .select2-results__option,
body.woocommerce-page .select2-container--default .select2-results__option{
  padding: 14px 18px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  height: auto !important;
  color: #222 !important;
  border-radius: 6px !important;
  margin: 2px 6px !important;
}

/* hover highlight */
body.woocommerce .select2-container--default
.select2-results__option--highlighted:not([aria-selected="true"]),
body.woocommerce-page .select2-container--default
.select2-results__option--highlighted:not([aria-selected="true"]){
  background: #f1f1f1 !important;
  color: #000 !important;
}

/* selected */
body.woocommerce .select2-container--default .select2-results__option[aria-selected="true"],
body.woocommerce-page .select2-container--default .select2-results__option[aria-selected="true"]{
  background: #117a5e20 !important;
  color: #000 !important;
  font-weight: 600 !important;
}

/* selected + hovered */
body.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected="true"],
body.woocommerce-page .select2-container--default .select2-results__option--highlighted[aria-selected="true"]{
  background: #117a5e33 !important;
  color: #000 !important;
}

/* ---------------------------------------------------------
   10) Recommended badge (if you use it)
--------------------------------------------------------- */
.select2-results__option.recommended-size::after,
#select2-pa_size-container.recommended-size::after{
  content: "Recommended";
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
  display: inline-block;
  font-weight: 600;
}

/* Hide td::after arrow ONLY when Select2 is present */
.single-product .woocommerce div.product form.cart table.variations td.value::after{
  content: none !important;
  display: none !important;
}

/* optional note */
#recommended-size-note{
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}




/* ------------------------------
   Forms (admin + frontend) — keep usability, align borders
------------------------------ */
.wz-ntc-field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-bottom: 20px;
}

span.net-terms-form-label-text {
    line-height: 22px;
    font-weight: 400;
}

.wz-ntc-label{
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,.62);
  letter-spacing: .2px;
}

.wz-ntc-input,
.wz-ntc-select,
.wz-ntc-textarea{
  border: 1px solid var(--wz-ntc-border-light);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  background: #fff;
  color: var(--wz-ntc-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.wz-ntc-textarea{ min-height: 120px; resize: vertical; }

/*.wz-ntc-input:focus,
/*.wz-ntc-select:focus,
/*.wz-ntc-textarea:focus{
/*    border: 1px solid var(--wz-ntc-border-dark);
/*    box-shadow: 0 0 0 4px rgba(0,0,40,.10);
/*}

/* Inline helper text */
.wz-ntc-help{
  font-size: 12px;
  color: var(--wz-ntc-muted);
  margin-top: 4px;
}

/* ------------------------------
   Alerts / notices (keep, but match style)
------------------------------ */
.wz-ntc-alert{
  border: 1px solid var(--wz-ntc-border);
  border-radius: var(--wz-ntc-radius-sm);
  padding: 12px 12px;
  background: #fff;
  margin: 12px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

.wz-ntc-alert-success{
  border-color: rgba(22, 163, 74, .25);
  background: rgba(22, 163, 74, .06);
}

.wz-ntc-alert-danger{
  border-color: rgba(220, 38, 38, .22);
  background: rgba(220, 38, 38, .06);
}

.wz-ntc-alert-warning{
  border-color: rgba(217, 119, 6, .25);
  background: rgba(217, 119, 6, .07);
}

/* ------------------------------
   Pagination (ledger) — same structure, softer look
------------------------------ */
.wz-ntc-pagination{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items:center;
  margin-top: 14px;
}

.wz-ntc-pagination a,
.wz-ntc-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--wz-ntc-border);
  background: #fff;
  color: var(--wz-ntc-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.wz-ntc-pagination a:hover{
  border-color: rgba(0,0,0,.16);
}

.wz-ntc-pagination .is-current{
  border-color: rgba(0,0,41,.22);
  background: rgba(0,0,41,.06);
  color: var(--wz-ntc-primary);
}

/* ------------------------------
   Small utilities
------------------------------ */
.wz-ntc-flex{ display:flex; gap: 10px; align-items:center; }
.wz-ntc-right{ margin-left:auto; }
.wz-ntc-mt{ margin-top: 14px; }
.wz-ntc-mb{ margin-bottom: 14px; }

\n\n/* ---- Multi Carrier Shipping (wz-mcs) ---- */\n
.wz-mcs-shipping-display{
  font-weight: 800;
  display: inline-block;
}

/* Hide Woo shipping HTML that we wrap in our PHP output */
.wz-mcs-hidden-woo-shipping{
  display:none !important;
}

/* Extra safety: if a theme prints the methods list outside our filtered HTML, hide it when selector exists */
body.wz-mcs-has-selector .woocommerce-shipping-methods,
body.wz-mcs-has-selector #shipping_method{
  display: none !important;
}

/* JetCheckout / Order Review tables sometimes render the list in slightly different wrappers */
body.wz-mcs-has-selector .woocommerce-checkout-review-order-table #shipping_method,
body.wz-mcs-has-selector .woocommerce-checkout-review-order-table .woocommerce-shipping-methods,
body.wz-mcs-has-selector .woocommerce-checkout-review-order-table input.shipping_method,
body.wz-mcs-has-selector .woocommerce-checkout-review-order-table label[for^="shipping_method"],
body.wz-mcs-has-selector .woocommerce-checkout-review-order-table .shipping_method{
  display: none !important;
}


/* Hidden checked radio used to feed Woo checkout.js chosen shipping method */
.wz-mcs-hidden-radio{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =============================== */
/* Selector loader / polish */
/* =============================== */

.wz-mcs-note{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  opacity:.85;
  font-size:13px;
}

.wz-mcs-loader{
  width:14px;
  height:14px;
  border:2px solid currentColor;
  border-right-color: transparent;
  border-radius:50%;
  display:none;
  animation:wz-mcs-spin .8s linear infinite;
}

.wz-mcs-loader-text{
  display:none;
  font-size:13px;
}

.wz-mcs-shipping-selector.is-loading #wz-mcs-rate-select{
  opacity:.6;
  pointer-events:none;
}

.wz-mcs-shipping-selector.is-loading .wz-mcs-loader,
.wz-mcs-shipping-selector.is-loading .wz-mcs-loader-text{
  display:inline-block;
}

@keyframes wz-mcs-spin{
  to { transform: rotate(360deg); }
}
\n\n/* ---- Multi Carrier Shipping Admin Shipments ---- */\n
.wz-mcs-shipments-row{
	clear: both;
	float: none;
	width: 100%;
	margin-top: 10px;
}

.wz-mcs-shipments-fullrow{
	float: none;
	clear: both;
	width: 100%;
	margin-top: 0;
}

.wz-mcs-shipments-table th,
.wz-mcs-shipments-table td{
	vertical-align: top;
}

.wz-mcs-shipments-table select,
.wz-mcs-shipments-table input[type="text"],
.wz-mcs-shipments-table input[type="url"]{
	width: 100%;
	max-width: 280px;
}

.wz-mcs-shipments-table input[type="date"]{
	width: 170px;
}

.wz-mcs-shipments-table .wz-col-actions{
	width: 80px;
	text-align: right;
}

.wz-mcs-shipments-table .button-link.delete{
	color: #b32d2e;
}

.wz-mcs-shipments-table .button-link.delete:hover{
	color: #8a2424;
}
/* ---- Recommended Products (wz-wrp) ---- */
/* Webzir Recommended Products for WooCommerce Scoped under: <div class="wz-wcd wz-wrp"> ... </div>*/

.wz-ui.wz-wrp{
  --wz-ui-text: #1b1b1e;
  --wz-ui-primary: #000029;
  --wz-ui-accent: #c2262d;
  --wz-ui-radius: 6px;

  font-family: var(--wz-ui-font-body);
  color: var(--wz-ui-primary);
}

.wz-wcd.wz-wrp,
.wz-wcd.wz-wrp *{ box-sizing:border-box; }

/* Section title */
.wz-wcd.wz-wrp .wz-wcd-card__title{
  font-size:15px;
  line-height:30px;
  font-weight:600;
  margin:0 0 12px;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 10px;
}

/* CTA button (under products) */
.wz-wcd.wz-wrp .wz-wcd-btn{
  font-size:15px;
  display:inline-flex;
  line-height:20px;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--wz-ui-primary);
  color:#fff !important;
  text-decoration:none !important;
  border:0 !important;
  padding:10px 20px;
  border-radius:var(--wz-ui-radius);
  font-weight:500;
  cursor:pointer;
}
.wz-wcd.wz-wrp .wz-wcd-btn:hover{
  background:var(--wz-ui-accent);
}
.wz-wcd.wz-wrp .wz-wrp-actions{
  display:flex;
  justify-content:flex-start;
  margin-top: 14px;
}

/* Keep Woo list clean */
.wz-wcd.wz-wrp ul.products{ margin:0; padding:0; }

/* ------------------------------------------------------------------
   ✅ THUMB RADIUS + HOVER SWAP (JetWooBuilder markup)
   Your template outputs:
   .jet-woo-product-thumbs > .jet-woo-product-thumbs__inner > img (primary) + img (hover)
------------------------------------------------------------------ */

/* Clip on the real thumbnail containers */
.wz-wcd.wz-wrp .jet-woo-product-thumbs,
.wz-wcd.wz-wrp .jet-woo-product-thumbs__inner,
.wz-wcd.wz-wrp .jet-woo-builder-archive-product-thumbnail__wrapper{
  border-radius: var(--wz-ui-radius) !important;
  overflow: hidden !important;
  position: relative !important;
  /* strongest clip (works even when images are absolute/fading) */
  clip-path: inset(0 round 6px) !important;
  -webkit-clip-path: inset(0 round 6px) !important;
}

/* Stack images for hover-swap (keeps height from the first image) */
.wz-ui.wz-wrp .jet-woo-product-thumbs__inner img{
  border-radius: var(--wz-ui-radius) !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  transition: opacity .25s ease;
}

/* Hover image sits on top but hidden by default */
.wz-ui.wz-wrp .jet-woo-product-thumbs__inner img:nth-of-type(2){
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* If somehow more than 2 images exist, hide 3rd+ to avoid weird stacks */
.wz-ui.wz-wrp .jet-woo-product-thumbs__inner img:nth-of-type(n+3){
  display:none !important;
}

/* Swap on hover */
.wz-ui.wz-wrp .jet-woo-product-thumbs__inner:hover img:first-of-type{
  opacity:0 !important;
}
.wz-ui.wz-wrp .jet-woo-product-thumbs__inner:hover img:nth-of-type(2){
  opacity:1 !important;
}

/* ------------------------------------------------------------------
   Non-Jet fallback (classic Woo templates)
------------------------------------------------------------------ */
.wz-ui.wz-wrp ul.products li.product a.woocommerce-LoopProduct-link,
.wz-ui.wz-wrp ul.products li.product a.woocommerce-loop-product__link{
  border-radius: var(--wz-ui-radius) !important;
  overflow:hidden !important;
  display:block !important;
  clip-path: inset(0 round 6px) !important;
  -webkit-clip-path: inset(0 round 6px) !important;
}
.wz-ui.wz-wrp ul.products li.product img{
  border-radius: var(--wz-ui-radius) !important;
  display:block !important;
}

/* Backup: hide loop add-to-cart buttons if anything still prints */
.wz-ui.wz-wrp ul.products li.product a.button,
.wz-ui.wz-wrp ul.products li.product a.add_to_cart_button{
  display:none !important;
}

/* Backup: hide wishlist/compare icons (if any remain) */
.wz-ui.wz-wrp .jet-wishlist-button,
.wz-ui.wz-wrp .jet-compare-button,
.wz-ui.wz-wrp .jet-cw-icon{
  display:none !important;
}

/* ---- Account Layouts: Edit Address (wz-ea) ---- */
/* Webzir – Edit Address styles (Billing + Shipping) Scoped to .wz-ea only (safe).*/

/* red star like Net Terms */
.wz-ea .required {
  color: #b32d2e !important;
}

/* make your form full width if any theme limit exists */
.wz-ea .wz-ui-form-body,
.wz-ea form {
  width: 100% !important;
  max-width: 100% !important;
}

/* show Net Terms style error message space */
.wz-ea .wz-ui-form-field-error {
  display: none;
  color: #b32d2e;
  margin: 0;
}


.wz-ea { 
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px 28px;
}

.wz-ea__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 6px;
  padding: 18px;
}

.wz-ea__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px 18px;
}

.wz-ea__col--half{ grid-column: span 6; }
.wz-ea__col--full{ grid-column: span 12; }

@media (max-width: 768px){
  .wz-ea { padding: 10px 14px 22px; }
  .wz-ea__card{ padding: 6px; }
  .wz-ea__col--half{ grid-column: span 12; }
}

/* Woo fields */
.wz-ea .form-row{ margin: 0 !important; }
.wz-ea .form-row label{
  font-weight: 700;
  margin: 0 0 6px;
  display: inline-block;
}

/* Kill Woo 47% rule ONLY inside your custom grid */
.wz-ui-form-body .form-row-first,
.wz-ui-form-body .form-row-last{
  width: 100% !important;
  float: none !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Make sure inputs/selects stretch inside each half column */
.wz-ui-form-body .woocommerce-input-wrapper,
.wz-ui-form-body .woocommerce-input-wrapper input,
.wz-ui-form-body .woocommerce-input-wrapper select,
.wz-ui-form-body .woocommerce-input-wrapper textarea{
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  display: block !important;
}

.wz-ea__actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wz-ea__btn.button{
  background: #000029!important;
  color: #fff!important;
  border-radius: 6px;
  padding: 10px 14px;
  border: none;
}

.wz-ea__btn.button:hover{ color: #c2262d!important; }

.wz-ea__link{
  text-decoration: none;
  font-weight: 700;
  opacity: .85;
}

.wz-ea__link:hover{ opacity: 1; text-decoration: underline; }

.wz-ea abbr.required { text-decoration: none; border: 0; }

.wz-ov{
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 16px 32px;
}

.wz-ov__top{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.wz-ov__back{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  font-size: 20px;
  line-height: 1;
}

.wz-ov__title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.wz-ov__sub{
  display: inline-block;
  margin-top: 4px;
  text-decoration: none;
  opacity: .75;
  font-weight: 600;
}

.wz-ov__sub:hover{ opacity: 1; text-decoration: underline; }

.wz-ov__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wz-ov__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px;
  min-height: 180px;
}

.wz-ov__cardtitle{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.wz-ov__rule{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 14px 0;
}

.wz-ov__row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.wz-ov__label{ font-weight: 700; }
.wz-ov__value{ font-weight: 700; }
.wz-ov__sep{ opacity: .6; }

.wz-ov__link{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wz-ov__actions{ margin-top: 14px; }

.wz-ov__btn.button{
  background: #000029;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  border: none;
}

.wz-ov__btn.button:hover{ opacity: .92; color: #fff; }

.wz-ov__status{ margin-top: 6px; }

.wz-ov__badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
}

.wz-ov__dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #f59e0b;
}

.wz-ov__badge--processing .wz-ov__dot{ background: #f59e0b; }
.wz-ov__badge--completed  .wz-ov__dot{ background: #22c55e; }
.wz-ov__badge--on-hold    .wz-ov__dot{ background: #a855f7; }
.wz-ov__badge--cancelled  .wz-ov__dot{ background: #ef4444; }
.wz-ov__badge--failed     .wz-ov__dot{ background: #ef4444; }
.wz-ov__badge--refunded   .wz-ov__dot{ background: #0ea5e9; }

.wz-ov__text{ margin: 0; font-weight: 600; opacity: .9; }

.wz-ov__details{
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 1100px){
  .wz-ov__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .wz-ov__grid{ grid-template-columns: 1fr; }
}


.wz-al{
  --wz-primary: #000029;
  --wz-hover: #c2262d;
  --wz-border: #c4c4c4;
  --wz-border-2: rgba(0,0,0,.14);
  --wz-bg: #f9f9f9;
  --wz-card: #ffffff;
}

/* Shared wrapper */
.wz-al{
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px 28px;
  background: var(--wz-bg);
  border-radius: 6px;
}

/* Shared header */
.wz-al__header{ margin: 10px 0 18px; }

.wz-al__headrow{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* back arrow (your SVG link can use elementor-icon class too) */
.wz-al__back,
.wz-al__headrow .elementor-icon{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0px solid var(--wz-border);
  color: var(--wz-primary);
  font-size: 20px;
  line-height: 1;
}

/* Make SVG follow link color */
.wz-al__headrow .elementor-icon svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Title + subtitle */
.wz-al__title{
  font-family: "Montserrat", Sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1px;
  margin: 0 0 6px;
  color: var(--wz-primary);
}

.wz-al__subtitle{
  font-family: "Mulish";
  font-size: 13px;
  font-weight: 500;
  color: #808080;
  margin: 0;
  opacity: .75;
}

/* Shared card */
.wz-al__card{
  background: var(--wz-card);
  border: 1px solid var(--wz-border);
  border-radius: 6px;
  padding: 18px;
}

/* Button */
.wz-al__btn.button{
  background: var(--wz-primary) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 14px;
  border: none;
}
.wz-al__btn.button:hover{
  background: var(--wz-hover) !important;
  color: #fff !important;
}

/* =========================
   Header hover (icon + title together)
========================= */

/* Smooth transitions */
.wz-al__headrow .elementor-icon,
.wz-al__headrow .wz-al__title{
  transition: color .18s ease;
}

/* Hover/focus anywhere in the headrow = change BOTH */
.wz-al__headrow:hover .elementor-icon,
.wz-al__headrow:focus-within .elementor-icon{
  color: var(--wz-hover);
}

.wz-al__headrow:hover .wz-al__title,
.wz-al__headrow:focus-within .wz-al__title{
  color: var(--wz-hover);
}

/* Optional: pointer feel */
.wz-al__headtext{ cursor: pointer; }

/* =========================
   Edit Address layout
========================= */

/* Form width 50% on desktop */
.wz-ea .wz-al__card{
  max-width: 50%;
}

/* Full width on smaller screens */
@media (max-width: 1024px){
  .wz-ea .wz-al__card{ max-width: 100%; }
}

.wz-ea .wz-al__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px 18px;
}

.wz-ea .wz-al__col--half{ grid-column: span 6; }
.wz-ea .wz-al__col--full{ grid-column: span 12; }

@media (max-width: 768px){
  .wz-al{ padding: 10px 14px 22px; }
  .wz-ea .wz-al__card{ padding: 12px; }
  .wz-ea .wz-al__col--half{ grid-column: span 12; }
}

/* Woo fields */
.wz-ea .form-row{ margin: 0 !important; }
.wz-ea .form-row label{
  font-weight: 700;
  margin: 0 0 6px;
  display: inline-block;
}



.wz-ea abbr.required { text-decoration: none; border: 0; }

.wz-ea .wz-al__actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* =========================
   HARD OVERRIDES (theme-proof)
   Fix: first/last name input not stretching to 100% inside half columns
========================= */

/* Prevent grid cells from allowing children to overflow/shrink weirdly */
.wz-ea .wz-al__grid .wz-al__col--half,
.wz-ea .wz-al__grid .wz-al__col--full{
  min-width: 0 !important;
}

/* Kill theme floats and force each Woo form-row to behave inside our grid */
body.woocommerce-page .wz-ea .woocommerce form .form-row,
body.woocommerce-page .wz-ea .woocommerce form .form-row-first,
body.woocommerce-page .wz-ea .woocommerce form .form-row-last{
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 !important;
}

/* Force input wrapper to fill the column */
body.woocommerce-page .wz-ea .woocommerce form .woocommerce-input-wrapper{
  width: 100% !important;
  max-width: none !important;
  display: block !important;
}

/* Override any theme fixed width/max-width on inputs */
body.woocommerce-page .wz-ea .woocommerce form input.input-text,
body.woocommerce-page .wz-ea .woocommerce form select,
body.woocommerce-page .wz-ea .woocommerce form textarea{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Theme sometimes sets form-row-first/last width:47% and float:left */
.wz-ea form .form-row,
.wz-ea form .form-row-first,
.wz-ea form .form-row-last{
  width: 100% !important;
  float: none !important;
  max-width: none !important;
  display: block !important;
}

/* Force wrapper + inputs full width */
.wz-ea form .woocommerce-input-wrapper,
.wz-ea form .woocommerce-input-wrapper input,
.wz-ea form .woocommerce-input-wrapper select,
.wz-ea form .woocommerce-input-wrapper textarea{
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Optional SVG stroke fallback (if any icons use stroke instead of fill) */
.wz-al__headrow .elementor-icon svg *{
  transition: fill .18s ease, stroke .18s ease;
}
.wz-al__headrow:hover .elementor-icon svg * ,
.wz-al__headrow:focus-within .elementor-icon svg *{
  stroke: currentColor;
}

/* ============================================================
   Webzir UI Kit — Account Layouts (Edit Address) for .wz-ea
   Goal: bring back old layout feel using NEW class system
============================================================ */

/* Page wrapper */
.wz-ea{
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px 28px;
  background: var(--wz-ui-bg, #fff);
  border-radius: 6px;
}


/* 50% form width on desktop (same feel as old plugin) */
@media (min-width: 1024px){
  .wz-ea form{
    max-width: 100%;
  }
}

/* Woo field wrapper => grid layout */
.wz-ea .woocommerce-address-fields__field-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* kill Woo floats that break the grid */
.wz-ea .woocommerce-address-fields__field-wrapper .form-row{
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

/* Full width rows (Woo uses form-row-wide) */
.wz-ea .woocommerce-address-fields__field-wrapper .form-row-wide{
  grid-column: 1 / -1;
}

/* Force common address fields to be full width (theme-proof) */
.wz-ea #billing_company_field,
.wz-ea #billing_address_1_field,
.wz-ea #billing_address_2_field,
.wz-ea #billing_country_field,
.wz-ea #billing_state_field,
.wz-ea #billing_city_field,
.wz-ea #billing_email_field,
.wz-ea #shipping_company_field,
.wz-ea #shipping_address_1_field,
.wz-ea #shipping_address_2_field,
.wz-ea #shipping_country_field,
.wz-ea #shipping_state_field,
.wz-ea #shipping_city_field{
  grid-column: 1 / -1;
}

/* Inputs */
.wz-ea label{
  font-weight: 600;
  color: var(--wz-primary, #000029);
  margin-bottom: 6px;
  display: inline-block;
}



/* Buttons */
.wz-ea button.button,
.wz-ea .button{
  background: var(--wz-primary, #000029) !important;
  color: #fff !important;
  border: 1px solid var(--wz-primary, #000029) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-weight: 700 !important;
}
.wz-ea button.button:hover,
.wz-ea .button:hover{
  background: var(--wz-hover, #c2262d) !important;
  border-color: var(--wz-hover, #c2262d) !important;
}

/* Action row */
.wz-ea .woocommerce-address-fields > p:last-child{
  margin-top: 14px;
}

/* Mobile: 1 column */
@media (max-width: 767px){
  .wz-ea .woocommerce-address-fields__field-wrapper{
    grid-template-columns: 1fr;
  }
}


/* Desktop: restore “legacy” compact layout */
@media (min-width: 1024px){
  .wz-ea__card{
    max-width: 50%;
  }
}