/* WooFlow typography: Ayandeh family only. */
@font-face{font-family:'Ayandeh';src:local('Ayandeh Light'),local('Ayandeh-Light');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Ayandeh';src:local('Ayandeh Regular'),local('Ayandeh-Regular'),local('Ayandeh');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Ayandeh';src:local('Ayandeh Bold'),local('Ayandeh-Bold');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Ayandeh';src:local('Ayandeh Black'),local('Ayandeh-Black');font-weight:900;font-style:normal;font-display:swap}


:root{
  --wooflow-primary:#3b82f6;
  --wooflow-primary-2:#8b5cf6;
  --wooflow-accent:#10b981;
  --wooflow-button:#0f172a;
  --wooflow-text:#0f172a;
  --wooflow-text-soft:#334155;
  --wooflow-muted:#64748b;
  --wooflow-border:rgba(148,163,184,.24);
  --wooflow-border-strong:rgba(148,163,184,.38);
  --wooflow-surface:rgba(255,255,255,.72);
  --wooflow-surface-strong:rgba(255,255,255,.88);
  --wooflow-bg:#eef4fb;
  --wooflow-bg-soft:#f8fbff;
  --wooflow-danger:#dc2626;
  --wooflow-success:#16a34a;
  --wooflow-warning:#d97706;
  --wooflow-radius:24px;
  --wooflow-radius-sm:18px;
  --wooflow-shadow:0 20px 40px rgba(15,23,42,.08);
  --wooflow-shadow-soft:0 10px 24px rgba(15,23,42,.05);
  --wooflow-glass:blur(16px);
  --wooflow-ring:0 0 0 4px rgba(59,130,246,.12);
}

.wooflow-cart,
.wooflow-checkout,
.wooflow-tracking,
.wooflow-customer-dashboard,
.wooflow-invoice,
.wooflow-cart *,
.wooflow-checkout *,
.wooflow-tracking *,
.wooflow-customer-dashboard *,
.wooflow-invoice *{
  box-sizing:border-box;
  font-family:'Ayandeh'!important;
}
.wooflow-cart,
.wooflow-checkout,
.wooflow-tracking,
.wooflow-customer-dashboard,
.wooflow-invoice{
  position:relative;
  color:var(--wooflow-text);
  direction:rtl;
}
.wooflow-cart::before,
.wooflow-checkout::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:240px;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 25%,rgba(191,219,254,.8),rgba(191,219,254,0) 36%),
    radial-gradient(circle at 85% 20%,rgba(221,214,254,.75),rgba(221,214,254,0) 34%),
    radial-gradient(circle at 75% 70%,rgba(187,247,208,.52),rgba(187,247,208,0) 24%);
  filter:blur(20px);
}
.wooflow-cart > *,
.wooflow-checkout > *{position:relative;z-index:1}
.wooflow-cart{max-width:1320px;margin:16px auto 28px;padding:6px}
.wooflow-checkout{max-width:1320px;margin:16px auto 28px;padding:6px}

.wooflow-glass,
.wooflow-cart-items,
.wooflow-checkout-card,
.wooflow-summary,
.wooflow-card,
.wooflow-empty,
.wooflow-cross-sells,
.wooflow-saved,
.wooflow-trust-grid>div,
.wooflow-order-card,
.wooflow-mobile-summary-button,
.wooflow-track-result,
.wooflow-track-form input,
.wooflow-track-form button{
  background:var(--wooflow-surface);
  backdrop-filter:var(--wooflow-glass);
  -webkit-backdrop-filter:var(--wooflow-glass);
  border:1px solid var(--wooflow-border);
  box-shadow:var(--wooflow-shadow);
}

.wooflow-cart-grid,
.wooflow-checkout-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 370px;
  gap:20px;
  align-items:start;
}
.wooflow-cart-items,
.wooflow-checkout-card,
.wooflow-summary,
.wooflow-card,
.wooflow-cross-sells,
.wooflow-saved{
  border-radius:var(--wooflow-radius);
  padding:22px;
}
.wooflow-summary{position:sticky;top:24px}
.wooflow-checkout-main,
.wooflow-checkout-side{min-width:0}

.wooflow-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:16px;
}
.wooflow-section-head h1,
.wooflow-section-head h2,
.wooflow-summary h2,
.wooflow-checkout h2,
.wooflow-card h2,
.wooflow-empty h2,
.wooflow-cross-sells h2{
  font-size:28px!important;
  line-height:1.25!important;
  margin:6px 0 0!important;
  color:var(--wooflow-text)!important;
  font-weight:800!important;
}
.wooflow-summary h2,
.wooflow-checkout h2,
.wooflow-card h2,
.wooflow-cross-sells h2{font-size:24px!important}
.wooflow-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.64);
  border:1px solid rgba(148,163,184,.18);
  color:var(--wooflow-primary);
  font-size:11px;
  font-weight:700;
}
.wooflow-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(59,130,246,.11),rgba(139,92,246,.10));
  color:#2563eb;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.wooflow-lead,
.wooflow-helper,
.wooflow-meta,
.wooflow-meta p,
.wooflow-summary-note,
.wooflow-step-note,
.wooflow-cross-sells p{
  color:var(--wooflow-muted);
  font-size:13px;
  line-height:1.9;
  margin:0;
}

.wooflow-cart-header,
.wooflow-checkout-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
  padding:24px 26px;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.54));
  backdrop-filter:var(--wooflow-glass);
  -webkit-backdrop-filter:var(--wooflow-glass);
  border:1px solid var(--wooflow-border);
  box-shadow:var(--wooflow-shadow);
}
.wooflow-cart-header h1,
.wooflow-checkout-header h1{
  margin:8px 0 6px!important;
  font-size:34px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
.wooflow-cart-header .wooflow-badge-group,
.wooflow-checkout-header .wooflow-badge-group{display:flex;gap:8px;flex-wrap:wrap}

.wooflow-cart-item{
  display:grid;
  grid-template-columns:104px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:18px 0;
  border-top:1px solid rgba(148,163,184,.18);
}
.wooflow-product-image img{
  width:104px;
  height:104px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.16);
  background:#fff;
  box-shadow:var(--wooflow-shadow-soft);
}
.wooflow-product-main h3{
  font-size:16px!important;
  line-height:1.8!important;
  margin:0 0 8px!important;
  font-weight:700!important;
}
.wooflow-product-main h3 a{color:inherit;text-decoration:none}
.wooflow-stock{display:inline-flex;align-items:center;gap:6px;font-size:11px;margin-top:10px}
.wooflow-stock::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.wooflow-stock.is-ok{color:var(--wooflow-success)}
.wooflow-stock.is-bad{color:var(--wooflow-danger)}
.wooflow-product-actions{display:flex;align-items:flex-end;flex-direction:column;gap:12px;min-width:168px}
.wooflow-price{font-size:18px;font-weight:800;white-space:nowrap;color:var(--wooflow-text)}
.wooflow-item-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.wooflow-link{background:none;border:0;padding:0;font:inherit;cursor:pointer;color:var(--wooflow-muted);transition:color .18s ease}
.wooflow-link:hover{color:var(--wooflow-primary)}
.wooflow-danger{color:var(--wooflow-danger)!important}

.wooflow-qty{
  display:inline-flex;
  align-items:center;
  background:rgba(255,255,255,.82);
  border:1px solid var(--wooflow-border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--wooflow-shadow-soft);
}
.wooflow-qty button,
.wooflow-qty input{
  width:38px;
  height:38px;
  border:0!important;
  background:transparent!important;
  text-align:center;
  margin:0!important;
  padding:0!important;
  font:inherit!important;
  color:var(--wooflow-text)!important;
}
.wooflow-qty button{cursor:pointer;font-size:18px}
.wooflow-qty input{width:44px;font-size:14px}

.wooflow-coupon{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(148,163,184,.18);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.wooflow-coupon input,
.wooflow-track-form input,
.wooflow-checkout input.input-text,
.wooflow-checkout select,
.wooflow-checkout textarea,
.wooflow-checkout .select2-selection,
.wooflow-checkout .woocommerce form .form-row textarea,
.wooflow-checkout .woocommerce form .form-row input.input-text{
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:16px!important;
  min-height:46px!important;
  padding:10px 14px!important;
  box-shadow:none!important;
  font-family:'Ayandeh'!important;
  background:rgba(255,255,255,.82)!important;
  color:var(--wooflow-text)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.wooflow-checkout textarea{min-height:92px!important;resize:vertical}
.wooflow-coupon input{flex:1;min-width:180px}
.wooflow-coupon input:focus,
.wooflow-track-form input:focus,
.wooflow-checkout input.input-text:focus,
.wooflow-checkout select:focus,
.wooflow-checkout textarea:focus,
.wooflow-checkout .select2-selection:focus,
.wooflow-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.wooflow-checkout .select2-container--default.select2-container--focus .select2-selection--multiple{
  outline:none!important;
  border-color:rgba(59,130,246,.42)!important;
  box-shadow:var(--wooflow-ring)!important;
}
.wooflow-checkout .select2-container{width:100%!important}
.wooflow-checkout .select2-selection{height:46px!important;display:flex!important;align-items:center!important}
.wooflow-checkout .select2-selection__rendered{line-height:24px!important;padding-right:0!important;color:var(--wooflow-text)!important}
.wooflow-checkout .select2-selection__arrow{height:44px!important}

.wooflow-btn,
.wooflow-checkout button.button,
.wooflow-checkout #place_order{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.22);
  background:rgba(255,255,255,.82);
  color:var(--wooflow-text)!important;
  text-decoration:none!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:600!important;
  cursor:pointer;
  box-shadow:var(--wooflow-shadow-soft);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease;
}
.wooflow-btn:hover,
.wooflow-checkout button.button:hover,
.wooflow-checkout #place_order:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,23,42,.08);filter:brightness(1.02)}
.wooflow-btn-primary,
.wooflow-checkout #place_order,
.wooflow-checkout .place-order .button.alt{
  background:linear-gradient(135deg,var(--wooflow-primary),var(--wooflow-primary-2))!important;
  border-color:transparent!important;
  color:#fff!important;
}
.wooflow-btn-lg,
.wooflow-checkout #place_order{width:100%;min-height:52px!important;font-weight:700!important}

.wooflow-summary-row,
.wooflow-summary-total{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(148,163,184,.18);
  font-size:14px;
  align-items:center;
}
.wooflow-summary-row span{color:var(--wooflow-muted)}
.wooflow-summary-total{font-size:18px;border:0;padding:18px 0 12px}
.wooflow-summary-total strong{font-size:22px;color:var(--wooflow-text)}
.wooflow-summary-note{margin-top:10px}
.wooflow-trust-mini{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;color:var(--wooflow-muted);font-size:11px;margin-top:14px}
.wooflow-trust-mini span{display:inline-flex;align-items:center;gap:6px}

.wooflow-progress-wrap{padding:16px 0}
.wooflow-progress{height:10px;background:rgba(148,163,184,.18);border-radius:999px;overflow:hidden}
.wooflow-progress span{height:100%;display:block;background:linear-gradient(90deg,var(--wooflow-accent),#34d399);border-radius:999px}
.wooflow-progress-wrap small{display:block;color:var(--wooflow-muted);margin-top:8px;font-size:12px;line-height:1.8}

.wooflow-saved{margin-top:18px}
.wooflow-saved h3{margin:0 0 12px;font-size:16px!important}
.wooflow-saved-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-top:1px solid rgba(148,163,184,.16)}
.wooflow-saved-item:first-of-type{border-top:0;padding-top:0}

.wooflow-empty{text-align:center;padding:54px 26px;border-radius:30px}
.wooflow-empty-icon{font-size:52px;line-height:1;margin-bottom:12px}
.wooflow-empty p{color:var(--wooflow-muted);margin:10px 0 18px}

.wooflow-cross-sells{margin-top:20px}
.wooflow-skeleton{border-radius:18px;background:linear-gradient(90deg,#eef2f7,#ffffff,#eef2f7);background-size:200% 100%;animation:wfsk 1.2s infinite}
.wooflow-skeleton.h80{height:80px;margin-top:14px}

.wooflow-checkout-card{margin-bottom:14px}
.wooflow-checkout .form-row{position:relative;margin-bottom:13px!important}
.wooflow-checkout .form-row label{font-size:12px!important;color:var(--wooflow-text-soft)!important;margin-bottom:6px;display:block;font-weight:500}
.wooflow-checkout .form-row label .required{color:var(--wooflow-danger)!important}
.wooflow-checkout .form-row.wooflow-invalid input,
.wooflow-checkout .form-row.wooflow-invalid select,
.wooflow-checkout .form-row.woocommerce-invalid input,
.wooflow-checkout .form-row.woocommerce-invalid select{border-color:rgba(220,38,38,.56)!important;box-shadow:0 0 0 4px rgba(220,38,38,.1)!important}
.wooflow-checkout .woocommerce-error,
.wooflow-checkout .woocommerce-info,
.wooflow-checkout .woocommerce-message{
  border:1px solid var(--wooflow-border)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.82)!important;
  color:var(--wooflow-text)!important;
  box-shadow:var(--wooflow-shadow-soft);
}
.wooflow-fields{display:grid;gap:14px}
.wooflow-billing,
.wooflow-shipping-fields{display:grid;gap:0}

.wooflow-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:18px;
}
.wooflow-steps button{
  border:1px solid rgba(148,163,184,.2);
  background:rgba(255,255,255,.68);
  border-radius:18px;
  min-height:62px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  font:inherit;
  color:var(--wooflow-muted);
  box-shadow:var(--wooflow-shadow-soft);
}
.wooflow-steps b{
  width:30px;
  min-width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.78);
  color:var(--wooflow-primary);
  font-weight:700;
}
.wooflow-steps button.is-active{
  color:var(--wooflow-text);
  border-color:rgba(59,130,246,.26);
  background:linear-gradient(135deg,rgba(239,246,255,.94),rgba(245,243,255,.9));
}

.wooflow-shipping-slot{
  min-height:84px;
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.55);
  border:1px dashed rgba(148,163,184,.34);
  color:var(--wooflow-muted);
}
.wooflow-shipping-slot ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.wooflow-shipping-slot li{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.72);border:1px solid rgba(148,163,184,.18)}
.wooflow-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.wooflow-trust-grid>div{border-radius:18px;padding:14px;display:grid;gap:4px;align-content:start}
.wooflow-trust-grid b{font-size:14px;color:var(--wooflow-text)}
.wooflow-trust-grid span{font-size:11px;color:var(--wooflow-muted)}
.wooflow-step-actions{display:flex;justify-content:space-between;gap:10px;margin-top:16px;flex-wrap:wrap}

.wooflow-checkout .woocommerce-checkout-review-order-table,
.wooflow-checkout .shop_table{
  border:0!important;
  background:transparent!important;
}
.wooflow-checkout .woocommerce-checkout-review-order-table th,
.wooflow-checkout .woocommerce-checkout-review-order-table td,
.wooflow-checkout .shop_table th,
.wooflow-checkout .shop_table td{
  padding:11px 0!important;
  border-color:rgba(148,163,184,.18)!important;
  font-size:13px!important;
}
.wooflow-checkout .woocommerce-checkout-review-order-table thead th{color:var(--wooflow-muted);font-weight:700!important}
.wooflow-checkout #payment{background:transparent!important;border:0!important;padding:0!important}
.wooflow-checkout .wc_payment_methods{padding:0!important;margin:0 0 14px!important;border:0!important;display:grid;gap:10px}
.wooflow-checkout .wc_payment_method{
  border:1px solid rgba(148,163,184,.2)!important;
  border-radius:18px!important;
  padding:14px!important;
  margin:0!important;
  background:rgba(255,255,255,.62)!important;
}
.wooflow-checkout .wc_payment_method > label{font-size:14px!important;color:var(--wooflow-text)!important;font-weight:700}
.wooflow-checkout .payment_box{background:rgba(248,250,252,.92)!important;border-radius:14px!important;color:var(--wooflow-muted)!important}
.wooflow-checkout .place-order{padding-top:8px!important}
.wooflow-checkout .woocommerce-terms-and-conditions-wrapper{margin-bottom:12px}
.wooflow-checkout .woocommerce-privacy-policy-text,
.wooflow-checkout .terms-and-conditions,
.wooflow-checkout .payment_method_cod p,
.wooflow-checkout .payment_method_payping p{font-size:12px!important;color:var(--wooflow-muted)!important}

.wooflow-track-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}
.wooflow-track-result{margin-top:18px;border-radius:22px;padding:18px}
.wooflow-track-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}
.wooflow-timeline{list-style:none;padding:0;margin:18px 0 0;position:relative}
.wooflow-timeline:before{content:'';position:absolute;right:10px;top:4px;bottom:4px;width:2px;background:#dbeafe}
.wooflow-timeline li{position:relative;padding:0 32px 18px 0;display:grid}
.wooflow-timeline li:before{content:'';position:absolute;right:4px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--wooflow-primary);box-shadow:0 0 0 4px #dbeafe}
.wooflow-timeline span{font-size:11px;color:var(--wooflow-muted)}
.wooflow-error{margin-top:12px;padding:11px 14px;border-radius:14px;background:#fef2f2;color:#b91c1c}

.wooflow-order-list{display:grid;gap:10px}
.wooflow-order-card{border-radius:18px;padding:14px;display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}
.wooflow-order-card div:first-child{display:flex;flex-direction:column}
.wooflow-order-card span,.wooflow-order-card small{font-size:11px;color:var(--wooflow-muted)}

.wooflow-toast-region{position:fixed;bottom:20px;left:20px;z-index:99999;display:grid;gap:8px}
.wooflow-toast{background:rgba(15,23,42,.88);color:#fff;padding:12px 14px;border-radius:16px;box-shadow:0 12px 34px rgba(0,0,0,.22);display:flex;gap:12px;align-items:center;backdrop-filter:blur(10px)}
.wooflow-toast.is-error{background:rgba(153,27,27,.92)}
.wooflow-toast button{background:none;border:0;color:#93c5fd;font:inherit;cursor:pointer}
.wooflow-busy{cursor:progress}

.wooflow-mobile-summary-button{
  display:none;
  position:fixed;
  left:14px;
  right:14px;
  bottom:16px;
  z-index:1000;
  border-radius:20px;
  padding:14px 16px;
  text-align:right;
}
.wooflow-mobile-summary-button span{display:block;font-size:11px;color:var(--wooflow-muted)}
.wooflow-mobile-summary-button b{display:block;font-size:15px;color:var(--wooflow-text)}

.wooflow-invoice-body{margin:0;background:#f1f5f9}
.wooflow-invoice{max-width:900px;margin:30px auto;background:#fff;padding:36px;border-radius:24px;box-shadow:0 10px 40px rgba(15,23,42,.08)}
.wooflow-invoice header,.wooflow-invoice-parties,.wooflow-invoice footer{display:flex;justify-content:space-between;gap:20px}
.wooflow-invoice h1{font-size:24px;margin:4px 0}
.wooflow-invoice-meta{display:flex;flex-direction:column;text-align:left}
.wooflow-invoice-parties{margin:28px 0}.wooflow-invoice-parties section{width:50%;border:1px solid var(--wooflow-border);border-radius:16px;padding:14px;display:grid}.wooflow-invoice-parties small,.wooflow-invoice-parties span{color:var(--wooflow-muted);font-size:11px}.wooflow-invoice table{width:100%;border-collapse:collapse}.wooflow-invoice th,.wooflow-invoice td{padding:11px;border-bottom:1px solid var(--wooflow-border);text-align:right}.wooflow-invoice-totals{margin:18px 0 28px;margin-right:auto;max-width:330px}.wooflow-invoice-totals div{display:flex;justify-content:space-between;padding:7px}.wooflow-invoice footer{align-items:center;color:var(--wooflow-muted);font-size:11px}

@keyframes wfsk{to{background-position:-200% 0}}

@media(max-width:1024px){
  .wooflow-cart-grid,
  .wooflow-checkout-grid{grid-template-columns:1fr}
  .wooflow-summary,
  .wooflow-checkout-side .wooflow-summary{position:relative;top:auto}
}
@media(max-width:900px){
  .wooflow-cart,
  .wooflow-checkout{padding:0}
  .wooflow-cart-header,
  .wooflow-checkout-header,
  .wooflow-cart-items,
  .wooflow-checkout-card,
  .wooflow-summary,
  .wooflow-cross-sells,
  .wooflow-saved{padding:18px;border-radius:22px}
  .wooflow-cart-header h1,
  .wooflow-checkout-header h1{font-size:28px!important}
  .wooflow-section-head h1,
  .wooflow-section-head h2,
  .wooflow-summary h2{font-size:22px!important}
  .wooflow-cart-item{grid-template-columns:86px 1fr;align-items:start}
  .wooflow-product-image img{width:86px;height:86px}
  .wooflow-product-actions{grid-column:1/-1;align-items:stretch;min-width:0}
  .wooflow-price{font-size:16px}
  .wooflow-item-links{justify-content:flex-start}
  .wooflow-trust-grid{grid-template-columns:1fr}
  .wooflow-track-form{grid-template-columns:1fr}
  .wooflow-steps{grid-template-columns:1fr}
  .wooflow-mobile-summary-button{display:block}
  .wooflow-checkout.is-onepage .wooflow-checkout-side.is-mobile-sheet,
  .wooflow-checkout.is-multistep .wooflow-checkout-side.is-mobile-sheet{
    position:fixed;
    left:12px;
    right:12px;
    bottom:84px;
    z-index:1000;
    transform:translateY(calc(100% + 20px));
    transition:transform .25s ease;
  }
  .wooflow-checkout-side.is-mobile-open{transform:translateY(0)!important}
}
@media(max-width:640px){
  .wooflow-cart-header,
  .wooflow-checkout-header{flex-direction:column;align-items:stretch}
  .wooflow-section-head{flex-direction:column;align-items:stretch}
  .wooflow-badge{align-self:flex-start}
  .wooflow-coupon,
  .wooflow-step-actions{flex-direction:column}
  .wooflow-btn,
  .wooflow-coupon .wooflow-btn,
  .wooflow-step-actions .wooflow-btn{width:100%}
  .wooflow-summary-row,
  .wooflow-summary-total{font-size:13px}
  .wooflow-summary-total strong{font-size:18px}
}

/* WooFlow 3 alpha4 — features 128/138/139 */
.wooflow-delivery-slot{margin:14px 0 4px;padding:16px;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.58);box-shadow:var(--wooflow-shadow-soft);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.wooflow-delivery-slot h3{font-size:16px!important;margin:8px 0 10px!important;color:var(--wooflow-text)!important}
.wooflow-delivery-slot select{width:100%;min-height:46px!important;border:1px solid rgba(148,163,184,.24)!important;border-radius:14px!important;background:rgba(255,255,255,.86)!important;color:var(--wooflow-text)!important;font-family:'Ayandeh'!important;padding:8px 12px!important}
.wooflow-checkout .form-row[hidden]{display:none!important}
.wooflow-address-list{display:grid;gap:10px;margin:14px 0}.wooflow-address-list article{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--wooflow-border);border-radius:16px;background:rgba(255,255,255,.58)}.wooflow-address-list article>div{display:grid;gap:4px}.wooflow-address-list span,.wooflow-address-list small{font-size:12px;color:var(--wooflow-muted)}.wooflow-address-form{margin-top:16px;padding-top:16px;border-top:1px solid var(--wooflow-border)}.wooflow-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.wooflow-address-grid label{display:grid;gap:6px;font-size:12px;color:var(--wooflow-text-soft)}.wooflow-address-grid label.wide{grid-column:1/-1}.wooflow-address-grid input{min-height:44px!important;border:1px solid var(--wooflow-border)!important;border-radius:14px!important;padding:8px 12px!important;background:rgba(255,255,255,.82)!important;font-family:'Ayandeh'!important}@media(max-width:640px){.wooflow-address-grid{grid-template-columns:1fr}.wooflow-address-grid label.wide{grid-column:auto}}

/* WooFlow 3 alpha5 — features 141-160 */
.wooflow-cart-tools{align-items:center}.wooflow-cart-tools .wooflow-btn{min-height:36px;padding:0 12px;font-size:12px!important}
.wooflow-gift-options{margin-top:16px;padding:16px;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.55)}
.wooflow-gift-options h3{font-size:16px!important;margin:8px 0 12px!important}.wooflow-gift-options .form-row{margin-bottom:10px!important}
.wooflow-saved-cart-list{display:grid;gap:10px}.wooflow-saved-cart-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.58)}
.wooflow-saved-cart-card>div:first-child{display:flex;flex-direction:column;gap:4px}.wooflow-saved-cart-card small{color:var(--wooflow-muted);font-size:11px}.wooflow-order-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.wooflow-express-field{transition:opacity .18s ease,transform .18s ease}.wooflow-checkout .wooflow-gift-options textarea{min-height:78px!important}
@media(max-width:640px){.wooflow-saved-cart-card{flex-direction:column;align-items:stretch}.wooflow-cart-tools{width:100%}.wooflow-cart-tools .wooflow-btn{width:auto}}

/* WooFlow tickets / loyalty additions (features 161-180) */
.wooflow-ticket-create{display:grid;gap:12px;margin:16px 0 20px}.wooflow-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wooflow-ticket-create input,.wooflow-ticket-create select,.wooflow-ticket-create textarea{width:100%;min-height:46px;border:1px solid var(--wooflow-border)!important;border-radius:16px!important;background:rgba(255,255,255,.82)!important;padding:10px 14px!important;color:var(--wooflow-text)!important}.wooflow-ticket-create textarea{min-height:110px;resize:vertical}.wooflow-ticket-list{display:grid;gap:10px}.wooflow-ticket-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.66);padding:14px 16px;cursor:pointer;box-shadow:var(--wooflow-shadow-soft)}.wooflow-ticket-row span:first-child{display:flex;flex-direction:column;gap:4px}.wooflow-ticket-row small{color:var(--wooflow-muted);font-size:11px}.wooflow-ticket-thread{margin-top:18px;padding-top:18px;border-top:1px solid var(--wooflow-border)}.wooflow-ticket-message{max-width:88%;margin:10px 0;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid var(--wooflow-border)}.wooflow-ticket-message.is-staff{margin-right:auto;background:linear-gradient(135deg,rgba(239,246,255,.9),rgba(245,243,255,.86))}.wooflow-ticket-message p{margin:6px 0;color:var(--wooflow-text-soft)}.wooflow-ticket-message small{display:block;color:var(--wooflow-muted);font-size:10px}.wooflow-points code{direction:ltr;display:inline-block;padding:4px 8px;border-radius:10px;background:rgba(15,23,42,.05)}
@media(max-width:640px){.wooflow-form-grid{grid-template-columns:1fr}.wooflow-ticket-message{max-width:100%}}
.wooflow-ticket-reply{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--wooflow-border)}
.wooflow-ticket-reply textarea{width:100%;min-height:90px;padding:12px 14px;border:1px solid var(--wooflow-border);border-radius:16px;background:rgba(255,255,255,.82);color:var(--wooflow-text);resize:vertical}
.wooflow-ticket-reply label{display:grid;gap:7px;color:var(--wooflow-muted);font-size:12px}
.wooflow-ticket-attachment{display:inline-flex;align-items:center;width:max-content;margin:4px 0 2px;color:var(--wooflow-primary);font-size:12px;text-decoration:none}
.wooflow-loyalty-ref{display:grid;gap:7px;margin:14px 0;padding:14px;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.5)}
.wooflow-loyalty-ref small{color:var(--wooflow-muted)}
.wooflow-loyalty-ref input{width:100%;min-height:42px;padding:8px 11px;border:1px solid var(--wooflow-border);border-radius:13px;background:rgba(255,255,255,.78);direction:ltr;text-align:left}
.wooflow-coupon-wallet{display:grid;gap:12px;margin-top:14px}

/* Features 181–190: Support Pro + RMA Pro */
.wooflow-rma-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0 18px}.wooflow-rma-steps span{display:flex;align-items:center;justify-content:center;min-height:38px;padding:6px 8px;border-radius:13px;background:rgba(255,255,255,.5);border:1px solid var(--wooflow-border);color:var(--wooflow-muted);font-size:11px;transition:.2s}.wooflow-rma-steps span.is-active{color:var(--wooflow-primary);background:linear-gradient(135deg,rgba(239,246,255,.94),rgba(245,243,255,.9));border-color:rgba(59,130,246,.26)}.wooflow-rma-pane{padding:14px 0}.wooflow-rma-pane fieldset{border:0;padding:0;margin:0}.wooflow-rma-pane legend{font-weight:700;margin-bottom:10px}.wooflow-return-list{display:grid;gap:10px}.wooflow-return-list>article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.55)}.wooflow-return-list>article>div:first-child{display:grid;gap:4px}.wooflow-return-list small,.wooflow-return-list span{color:var(--wooflow-muted);font-size:11px}.wooflow-return-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.wooflow-csat{margin-top:16px;padding:16px;border-radius:18px;border:1px solid var(--wooflow-border);background:rgba(255,255,255,.62)}.wooflow-csat-stars{display:flex;gap:5px;margin:10px 0}.wooflow-csat-stars button{border:0;background:transparent;padding:0;font-size:27px;line-height:1;color:#cbd5e1;cursor:pointer;transition:transform .16s,color .16s}.wooflow-csat-stars button:hover{transform:translateY(-2px)}.wooflow-csat-stars button.is-active{color:#f59e0b}.wooflow-csat textarea{width:100%;min-height:72px;border:1px solid var(--wooflow-border)!important;border-radius:14px!important;padding:10px!important}.wooflow-kb-suggestions{margin:12px 0;padding:14px;border:1px solid var(--wooflow-border);border-radius:18px;background:rgba(255,255,255,.58)}.wooflow-kb-suggestions [data-kb-results]{display:grid;gap:8px;margin-top:10px}.wooflow-kb-item{display:grid;gap:3px;padding:10px 12px;border-radius:14px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.7);text-decoration:none!important;color:var(--wooflow-text)!important}.wooflow-kb-item span{font-size:11px;color:var(--wooflow-muted)}
@media(max-width:700px){.wooflow-rma-steps{grid-template-columns:1fr 1fr}.wooflow-return-list>article{align-items:stretch;flex-direction:column}.wooflow-return-actions{justify-content:flex-start}}
/* WooFlow online chat 319–329 */
.wooflow-chat-widget{font-family:'Ayandeh';direction:rtl}.wooflow-chat-widget.is-floating{position:fixed;left:24px;bottom:24px;z-index:99991}.wooflow-chat-toggle{border:0;border-radius:999px;padding:12px 18px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.14);font:inherit;font-weight:700;cursor:pointer}.wooflow-chat-panel{width:min(390px,calc(100vw - 32px));margin-top:10px;padding:14px;border:1px solid rgba(148,163,184,.24);border-radius:24px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);box-shadow:0 20px 60px rgba(15,23,42,.16)}.wooflow-chat-panel header{display:grid;gap:2px;margin-bottom:10px}.wooflow-chat-panel header small,.wooflow-chat-status{color:#64748b}.wooflow-chat-messages{display:flex;flex-direction:column;gap:7px;height:290px;overflow:auto;padding:9px;border-radius:17px;background:rgba(248,250,252,.9)}.wooflow-chat-message{align-self:flex-end;max-width:82%;padding:8px 11px;border-radius:15px;background:#ede9fe}.wooflow-chat-message.is-staff{align-self:flex-start;background:#dbeafe}.wooflow-chat-message small{display:block;margin-top:4px;font-size:9px;color:#64748b}.wooflow-chat-message a{display:block;margin-top:5px;font-size:11px}.wooflow-chat-ident{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.wooflow-chat-ident input:last-child{grid-column:1/-1}.wooflow-chat-order,.wooflow-chat-ident input,.wooflow-chat-compose textarea{width:100%;box-sizing:border-box;border:1px solid rgba(148,163,184,.3);border-radius:12px;padding:9px;background:#fff;font:inherit}.wooflow-chat-order{margin-top:7px}.wooflow-chat-compose{display:grid;gap:7px;margin-top:8px}.wooflow-chat-compose textarea{min-height:70px;resize:vertical}.wooflow-chat-file{font-size:11px;color:#64748b;display:flex;align-items:center;gap:7px}.wooflow-chat-status{display:block;min-height:18px;margin-top:6px;font-size:10px}.wooflow-chat-empty{margin:auto;color:#94a3b8;font-size:12px}@media(max-width:600px){.wooflow-chat-widget.is-floating{left:12px;right:12px;bottom:12px}.wooflow-chat-panel{width:auto}.wooflow-chat-ident{grid-template-columns:1fr}}

/* Product Discovery 401–420 */
.wooflow-product-filter{margin:24px 0}.wooflow-filter-form{padding:18px;border:1px solid var(--wooflow-border,#e2e8f0);border-radius:var(--wooflow-radius,18px);background:#fff}.wooflow-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wooflow-filter-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px}.wooflow-filter-grid input,.wooflow-filter-grid select{min-height:42px;border:1px solid #dbe3ee;border-radius:12px;padding:8px 10px;background:#fff}.wooflow-filter-grid .wooflow-check{flex-direction:row;align-items:center;padding-top:24px}.wooflow-filter-actions{display:flex;gap:8px;margin-top:14px}.wooflow-filter-status{margin:14px 0 8px;font-size:13px;color:#64748b}.wooflow-filter-results{transition:opacity .2s ease}.wooflow-product-filter.is-loading .wooflow-filter-results{opacity:.45;pointer-events:none}.wooflow-filter-pagination{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:18px}.wooflow-filter-mobile-toggle{display:none;margin-bottom:10px}.wooflow-product-cards article small{display:block;color:#64748b;margin-top:5px}.wooflow-recommendations [data-rec-add]{display:inline-flex;margin-top:8px;text-decoration:none}
@media(max-width:900px){.wooflow-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wooflow-product-filter.has-mobile-drawer .wooflow-filter-mobile-toggle{display:inline-flex}.wooflow-product-filter.has-mobile-drawer .wooflow-filter-form{display:none}.wooflow-product-filter.has-mobile-drawer.is-filter-open .wooflow-filter-form{display:block}}
@media(max-width:560px){.wooflow-filter-grid{grid-template-columns:1fr}.wooflow-filter-grid .wooflow-check{padding-top:4px}}
/* WooFlow Experience Builder 421–440 */
.wooflow-builder-block{box-sizing:border-box;margin:12px 0}.wooflow-builder-block h3{margin:0 0 8px}.wf-builder-progress{height:9px;border-radius:999px;background:rgba(100,116,139,.16);overflow:hidden}.wf-builder-progress>span{display:block;height:100%;background:currentColor;border-radius:inherit}.wooflow-builder-trust{padding:14px;border:1px solid rgba(100,116,139,.2);border-radius:14px}.wooflow-builder-notice{padding:12px 14px;border-radius:12px;background:rgba(37,99,235,.07)}@media(max-width:782px){.wf-builder-hide-mobile{display:none!important}}@media(min-width:783px){.wf-builder-hide-desktop{display:none!important}}
.wf-builder-rec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:10px}.wf-builder-rec-card{display:grid;gap:6px;text-decoration:none}.wf-builder-rec-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px}.wf-builder-rec-card span{font-size:.92em}.wf-builder-rec-card b{font-size:.9em}.wf-builder-section-title{display:block;padding-bottom:8px;border-bottom:1px solid rgba(100,116,139,.16)}@media(max-width:782px){.wf-builder-rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Document Studio 441-460 */
.wf-doc-sheet{box-sizing:border-box;margin:18px auto;padding:10mm;background:#fff;color:var(--wf-doc-primary,#111827);font-size:var(--wf-doc-font,11px);line-height:1.7;box-shadow:0 18px 48px rgba(15,23,42,.08);overflow:hidden}
.wf-doc-sheet *{box-sizing:border-box}.wf-doc-block{display:flex;flex-direction:column;gap:4px;padding:8px 0}.wf-doc-block>small{color:#64748b}.wf-doc-brand{flex-direction:row;align-items:center;gap:14px;border-bottom:2px solid var(--wf-doc-accent,#4f46e5);padding-bottom:12px}.wf-doc-brand img{max-width:64px;max-height:44px;object-fit:contain}.wf-doc-brand div{display:flex;flex-direction:column}.wf-doc-meta{display:grid;grid-template-columns:1fr auto;gap:4px 14px}.wf-doc-meta b{color:var(--wf-doc-accent,#4f46e5)}.wf-doc-table table{width:100%;border-collapse:collapse}.wf-doc-table th,.wf-doc-table td{padding:7px;border-bottom:1px solid #e5e7eb;text-align:right}.wf-doc-table th{background:#f8fafc;color:#475569}.wf-doc-totals{margin-inline-start:auto;width:min(100%,320px)}.wf-doc-totals>div{display:flex;justify-content:space-between;gap:16px;padding:4px 0}.wf-doc-separator{border:0;border-top:1px dashed #cbd5e1;margin:8px 0}.wf-doc-recipient{border:2px solid var(--wf-doc-primary,#111827);padding:10px;border-radius:8px}.wf-doc-tracking strong{font-size:1.35em;letter-spacing:.08em}.wf-doc-items{list-style:none;margin:4px 0 0;padding:0}.wf-doc-items li{display:flex;justify-content:space-between;border-bottom:1px dotted #cbd5e1;padding:3px 0}.wf-doc-shipping_label{padding:6mm}.wf-doc-printbar{text-align:center;margin:12px}.wf-doc-admin-preview{overflow:auto;max-height:70vh;padding:16px;background:#eef2f7}.wf-doc-admin-preview .wf-doc-sheet{transform-origin:top center}
@media(max-width:720px){.wf-doc-sheet.is-preview{max-width:100%!important;width:100%!important;min-height:0!important}.wf-doc-meta{grid-template-columns:1fr}.wf-doc-totals{width:100%}}
@media print{.wf-doc-sheet{margin:0;box-shadow:none;border:0!important}.wf-doc-printbar{display:none!important}}


/* WooFlow card-to-card + installments checkout */
.wooflow-bank-cards{display:grid;gap:8px;margin:10px 0 14px}.wooflow-bank-card{display:grid;gap:3px;padding:12px 14px;border:1px solid rgba(99,102,241,.16);border-radius:14px;background:#fff}.wooflow-bank-card b{font-size:15px;letter-spacing:.04em}.wooflow-bank-card span,.wooflow-bank-card small{font-size:12px;color:var(--wooflow-muted)}
.wooflow-checkout-receipt{margin-top:12px;padding:14px;border:1px dashed rgba(79,70,229,.3);border-radius:14px;background:rgba(255,255,255,.75)}.wooflow-checkout-receipt>strong{display:block;color:var(--wooflow-text);margin-bottom:4px}.wooflow-checkout-receipt>p{font-size:12px;margin:0 0 10px;color:var(--wooflow-muted)}.wooflow-receipt-file-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(148,163,184,.3);border-radius:12px;background:#fff;cursor:pointer}.wooflow-receipt-file-label input{max-width:60%;font-size:12px}.wooflow-receipt-upload-state{margin:7px 0 10px;font-size:12px;color:var(--wooflow-muted)}.wooflow-receipt-upload-state.is-success{color:#15803d}.wooflow-receipt-upload-state.is-error{color:#b91c1c}.wooflow-receipt-upload-state.is-loading{color:#4338ca}
.wooflow-installment-options{display:grid;gap:9px;margin-top:10px}.wooflow-installment-option{display:flex!important;gap:10px;align-items:flex-start;padding:12px!important;border:1px solid rgba(148,163,184,.28);border-radius:14px;background:#fff;cursor:pointer}.wooflow-installment-option input{margin-top:4px!important}.wooflow-installment-option span{display:grid;gap:3px}.wooflow-installment-option b{color:var(--wooflow-text)}.wooflow-installment-option small,.wooflow-installment-option em{font-size:12px;color:var(--wooflow-muted);font-style:normal}
.wooflow-receipt-upload form{display:grid;gap:10px}.wooflow-receipt-upload label{display:grid;gap:5px}.wooflow-receipt-upload input,.wooflow-receipt-upload textarea{width:100%;box-sizing:border-box}
/* alpha2 Persian/RTL and paint-cost hardening */
.wooflow-cart,.wooflow-checkout,.wooflow-tracking,.wooflow-customer-dashboard,.wooflow-invoice,.wooflow-address-list,.wooflow-chat-widget,.wooflow-product-filter,.wooflow-recommendations,.wooflow-flash-sale,
.wooflow-cart *,.wooflow-checkout *,.wooflow-tracking *,.wooflow-customer-dashboard *,.wooflow-invoice *,.wooflow-address-list *,.wooflow-chat-widget *,.wooflow-product-filter *,.wooflow-recommendations *,.wooflow-flash-sale *{font-family:'Ayandeh'!important}
.wooflow-cart,.wooflow-checkout,.wooflow-tracking,.wooflow-customer-dashboard,.wooflow-invoice,.wooflow-address-list,.wooflow-chat-widget,.wooflow-product-filter,.wooflow-recommendations,.wooflow-flash-sale{direction:rtl!important;text-align:right!important}
.wooflow-cart input,.wooflow-checkout input,.wooflow-checkout select,.wooflow-checkout textarea,.wooflow-customer-dashboard input,.wooflow-customer-dashboard select,.wooflow-customer-dashboard textarea{direction:rtl;text-align:right}
.wooflow-cart [style*="backdrop-filter"],.wooflow-checkout [style*="backdrop-filter"],.wooflow-chat-panel{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

.wooflow-admin :where(h1,h2,h3,h4,p,span,small,td,th,label),.wooflow-marketplace :where(h1,h2,h3,h4,p,span,small,td,th,label),.wooflow-marketplace-page :where(h1,h2,h3,h4,p,span,small,td,th,label){overflow-wrap:anywhere}

/* WooFlow checkout hardening — card-to-card / installments */
.wooflow-checkout #payment,
.wooflow-checkout .wc_payment_methods,
.wooflow-checkout .wc_payment_method,
.wooflow-checkout .payment_box,
.wooflow-checkout .wooflow-checkout-receipt,
.wooflow-checkout .wooflow-installment-choice,
.wooflow-checkout .wooflow-installment-options,
.wooflow-checkout .wooflow-installment-option{
  min-width:0!important;
  max-width:100%!important;
  width:100%;
  box-sizing:border-box!important;
}
.wooflow-checkout .wc_payment_method *{box-sizing:border-box}
.wooflow-checkout .payment_box{margin:12px 0 0!important;padding:14px!important;overflow:hidden!important}
.wooflow-checkout .payment_box:before{display:none!important}
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row,
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row-first,
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row-last{
  float:none!important;
  clear:both!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 10px!important;
  padding:0!important;
}
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row label,
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row input,
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row textarea,
.wooflow-checkout .payment_method_wooflow_card_to_card .form-row select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.wooflow-checkout-receipt{overflow:hidden!important;padding:14px!important}
.wooflow-receipt-file-label{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"title button" "name name";
  align-items:center;
  gap:8px 10px!important;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.wooflow-receipt-file-title{grid-area:title;font-weight:700;color:var(--wooflow-text);min-width:0}
.wooflow-receipt-file-button{grid-area:button;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid rgba(79,70,229,.22);background:#eef2ff;color:#3730a3;border-radius:10px;padding:7px 10px;font-size:12px;font-weight:700}
.wooflow-receipt-file-name{grid-area:name;display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wooflow-muted);font-size:11px;text-align:right}
.wooflow-receipt-file-native{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:2!important;max-width:none!important}
.wooflow-bank-cards,.wooflow-bank-card{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.wooflow-bank-card b,.wooflow-bank-card small{overflow-wrap:anywhere;word-break:break-word}
.wooflow-installment-option{align-items:center!important;overflow:hidden}
.wooflow-installment-option>input{flex:0 0 auto!important}
.wooflow-installment-option>span{min-width:0!important;max-width:100%!important}
.wooflow-installment-option b,.wooflow-installment-option small,.wooflow-installment-option em{display:block;max-width:100%;overflow-wrap:anywhere}
.wooflow-checkout-summary,.wooflow-checkout-summary #order_review,.wooflow-checkout-summary .woocommerce-checkout-review-order{min-width:0!important;max-width:100%!important;overflow:visible}
.wooflow-checkout .shop_table{table-layout:fixed!important;width:100%!important}
.wooflow-checkout .shop_table td,.wooflow-checkout .shop_table th{overflow-wrap:anywhere;word-break:normal}
@media(max-width:420px){
  .wooflow-receipt-file-label{grid-template-columns:1fr;grid-template-areas:"title" "button" "name"}
  .wooflow-receipt-file-button{width:100%}
  .wooflow-checkout .payment_box{padding:11px!important}
}


/* WooFraz UI compatibility layer. */
.woocommerce .wooflow-cart,
.woocommerce form.checkout.wooflow-checkout,
.wooflow-cart,
.wooflow-checkout {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 1320px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

.wooflow-cart-grid,
.wooflow-checkout-grid {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px) !important;
  gap: 18px !important;
  align-items: start !important;
}

.wooflow-cart-grid > *,
.wooflow-checkout-grid > *,
.wooflow-checkout-main,
.wooflow-checkout-side,
.wooflow-cart-items,
.wooflow-summary,
.wooflow-checkout-card {
  min-width: 0 !important;
  max-width: 100% !important;
}

.wooflow-checkout-main {
  display: block !important;
  float: none !important;
  width: 100% !important;
}

.wooflow-checkout-main > .wooflow-checkout-card,
.wooflow-checkout-main > section[data-step] {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
}

.wooflow-checkout .wooflow-fields,
.wooflow-checkout .wooflow-billing,
.wooflow-checkout .wooflow-shipping-fields,
.wooflow-checkout .woocommerce-billing-fields,
.wooflow-checkout .woocommerce-shipping-fields,
.wooflow-checkout .woocommerce-additional-fields,
.wooflow-checkout .woocommerce-shipping-fields__field-wrapper,
.wooflow-checkout .woocommerce-billing-fields__field-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
}

.wooflow-checkout .form-row,
.wooflow-checkout .form-row-first,
.wooflow-checkout .form-row-last,
.wooflow-checkout .form-row-wide {
  min-width: 0 !important;
  max-width: 100% !important;
}

.wooflow-checkout .wooflow-shipping-slot,
.wooflow-checkout .wooflow-shipping-slot ul,
.wooflow-checkout .woocommerce-shipping-methods,
.wooflow-checkout .woocommerce-shipping-methods li {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
}

.wooflow-checkout .woocommerce-shipping-methods li label {
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}

/* Keep order-review columns readable inside the narrow summary card. */
.wooflow-checkout .shop_table,
.wooflow-checkout .woocommerce-checkout-review-order-table {
  table-layout: auto !important;
  width: 100% !important;
}

.wooflow-checkout .shop_table th,
.wooflow-checkout .shop_table td,
.wooflow-checkout .woocommerce-checkout-review-order-table th,
.wooflow-checkout .woocommerce-checkout-review-order-table td {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  white-space: normal !important;
}

.wooflow-checkout .woocommerce-checkout-review-order-table .product-name {
  width: 64% !important;
}

.wooflow-checkout .woocommerce-checkout-review-order-table .product-total {
  width: 36% !important;
  white-space: nowrap !important;
}

/* Cart rows: reserve real reading width for the product title/content. */
.wooflow-cart-item {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
}

.wooflow-product-image img {
  width: 88px !important;
  height: 88px !important;
}

.wooflow-product-main,
.wooflow-product-actions {
  min-width: 0 !important;
  max-width: 100% !important;
}

.wooflow-product-main h3 {
  font-size: 15px !important;
  line-height: 1.7 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.wooflow-product-actions {
  grid-column: 2 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px 14px !important;
  width: 100% !important;
}

.wooflow-price {
  font-size: 16px !important;
}

/* Typography was visually oversized on several themes. */
.wooflow-cart-header h1,
.wooflow-checkout-header h1 {
  font-size: 30px !important;
  line-height: 1.35 !important;
}

.wooflow-section-head h1,
.wooflow-section-head h2,
.wooflow-summary h2,
.wooflow-checkout h2,
.wooflow-card h2,
.wooflow-cross-sells h2 {
  font-size: 21px !important;
  line-height: 1.45 !important;
}

.wooflow-lead,
.wooflow-helper,
.wooflow-meta,
.wooflow-meta p,
.wooflow-summary-note,
.wooflow-step-note,
.wooflow-cross-sells p {
  font-size: 12px !important;
  line-height: 1.85 !important;
}

.wooflow-summary-row,
.wooflow-summary-total {
  line-height: 1.75 !important;
}

@media (max-width: 920px) {
  .wooflow-cart-grid,
  .wooflow-checkout-grid {
    grid-template-columns: 1fr !important;
  }

  .wooflow-checkout-side,
  .wooflow-summary {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .wooflow-cart-item {
    grid-template-columns: 74px minmax(0, 1fr) !important;
  }

  .wooflow-product-image img {
    width: 74px !important;
    height: 74px !important;
  }

  .wooflow-product-actions {
    grid-column: 1 / -1 !important;
  }

  .wooflow-cart-header h1,
  .wooflow-checkout-header h1 {
    font-size: 25px !important;
  }
}


/* WooFraz UI compatibility layer. */
html body .woocommerce .wooflow-cart,
html body .woocommerce form.checkout.woocommerce-checkout.wooflow-checkout {
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: 1320px !important;
  max-width: 1320px !important;
  min-inline-size: 0 !important;
  min-width: 0 !important;
}

/* Respect the HTML hidden attribute even when theme-conflict recovery uses !important. */
.wooflow-checkout [hidden],
.wooflow-cart [hidden] {
  display: none !important;
}

.wooflow-checkout-grid > .wooflow-checkout-main,
.wooflow-checkout-grid > .wooflow-checkout-side,
.wooflow-cart-grid > .wooflow-cart-items,
.wooflow-cart-grid > .wooflow-summary {
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wooflow-checkout-card,
.wooflow-checkout-card > *,
.wooflow-shipping-slot,
.wooflow-shipping-slot > *,
.wooflow-cart-item,
.wooflow-cart-item > * {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.wooflow-checkout-card {
  inline-size: 100% !important;
  width: 100% !important;
}

.wooflow-product-main h3,
.wooflow-product-main h3 a {
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Multi-step mode must use the whole content width while the other step is hidden. */
.wooflow-checkout.is-multistep[data-current-step="1"] .wooflow-checkout-grid,
.wooflow-checkout.is-multistep[data-current-step="2"] .wooflow-checkout-grid,
.wooflow-checkout.is-multistep[data-current-step="3"] .wooflow-checkout-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.wooflow-checkout.is-multistep[data-current-step="1"] .wooflow-checkout-main,
.wooflow-checkout.is-multistep[data-current-step="2"] .wooflow-checkout-main,
.wooflow-checkout.is-multistep[data-current-step="3"] .wooflow-checkout-side {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.wooflow-checkout.is-multistep[data-current-step="3"] .wooflow-checkout-main {
  display: none !important;
}

.wooflow-checkout.is-multistep[data-current-step="3"] .wooflow-checkout-side {
  max-width: 760px !important;
  justify-self: center !important;
}

/* Parent theme containers can be narrow even on desktop; stack based on real component width. */
@supports (container-type: inline-size) {
  .wooflow-cart,
  .wooflow-checkout {
    container-type: inline-size;
  }

  @container (max-width: 760px) {
    .wooflow-cart-grid,
    .wooflow-checkout-grid {
      grid-template-columns: minmax(0, 1fr) !important;
    }

    .wooflow-cart-grid > *,
    .wooflow-checkout-grid > * {
      grid-column: 1 / -1 !important;
      width: 100% !important;
    }

    .wooflow-summary,
    .wooflow-checkout-side .wooflow-summary {
      position: relative !important;
      top: auto !important;
    }
  }
}

/* High-specificity guards for themes that ship !important checkout/cart widths. */
html body .woocommerce form.wooflow-checkout .wooflow-checkout-grid > .wooflow-checkout-main,
html body .woocommerce form.wooflow-checkout .wooflow-checkout-main > .wooflow-checkout-card,
html body .woocommerce form.wooflow-checkout .wooflow-checkout-main > section[data-step],
html body .woocommerce .wooflow-cart .wooflow-cart-grid > .wooflow-cart-items,
html body .woocommerce .wooflow-cart .wooflow-cart-items > .wooflow-cart-item {
  float: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .woocommerce form.wooflow-checkout .wooflow-checkout-main > .wooflow-checkout-card,
html body .woocommerce form.wooflow-checkout .wooflow-checkout-main > section[data-step],
html body .woocommerce .wooflow-cart .wooflow-cart-items > .wooflow-cart-item {
  width: 100% !important;
}
