/* FAYYAZ UI Fix – shop: product sticky bar, cart */
:root{--fz-blue:#1d4ed8;--fz-blue2:#2563eb;--fz-ink:#0f172a;--fz-mut:#64748b;--fz-line:#e8edf4}

/* ================= Product page sticky bar (desktop + tablet) ================= */
@media (min-width:768px){
  .single-product .wd-sticky-btn{
    left:16px!important;right:92px!important;bottom:16px!important;width:auto!important;
    border-radius:22px!important;overflow:hidden;
    background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(240,246,255,.55))!important;
    -webkit-backdrop-filter:blur(26px) saturate(190%);backdrop-filter:blur(26px) saturate(190%);
    border:1px solid rgba(255,255,255,.75)!important;
    box-shadow:0 22px 50px -14px rgba(13,38,76,.38),0 3px 10px rgba(13,38,76,.08),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(13,38,76,.05)!important;
  }
  .single-product .wd-sticky-btn:not(.wd-sticky-btn-shown){transform:translateY(calc(100% + 40px))!important}
  .single-product .wd-sticky-btn-container{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;max-width:none!important;width:100%!important;padding:10px 12px 10px 12px!important;min-height:72px}
  .single-product .wd-sticky-btn-content{flex:1 1 auto!important;min-width:0!important;display:flex!important;align-items:center!important;gap:14px!important}
  .single-product .wd-sticky-btn-thumbnail{flex:0 0 52px!important;width:52px!important;height:52px!important;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.06)}
  .single-product .wd-sticky-btn-thumbnail img{width:100%!important;height:100%!important;object-fit:contain}
  .single-product .wd-sticky-btn-info{min-width:0}
  .single-product .wd-sticky-btn-info .wd-entities-title{font-size:14.5px!important;font-weight:700!important;line-height:1.35!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fz-ink);text-shadow:0 1px 0 rgba(255,255,255,.7);direction:ltr;text-align:start;unicode-bidi:plaintext}
  .single-product .wd-sticky-btn-cart{flex:0 0 auto!important;width:auto!important;max-width:none!important;margin-inline-start:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important}
  .single-product .wd-sticky-btn-cart .price{margin:0!important;font-size:18px!important;font-weight:800;white-space:nowrap}
  .single-product .wd-sticky-btn-cart form.cart{margin:0!important}
  .single-product .wd-sticky-btn-cart .button,.single-product .wd-sticky-btn-cart .single_add_to_cart_button,
  .single-product .wd-sticky-btn .fpx-request-price,.single-product .wd-sticky-btn .fzpq-btn{
    display:inline-flex!important;align-items:center;justify-content:center;height:46px!important;padding:0 24px!important;border-radius:14px!important;
    background:linear-gradient(180deg,#2563eb,#1d4ed8)!important;color:#fff!important;font-weight:700!important;font-size:14px!important;cursor:pointer;
    box-shadow:0 10px 22px -8px rgba(29,78,216,.6),inset 0 1px 0 rgba(255,255,255,.25)!important;border:0!important;text-decoration:none!important;white-space:nowrap
  }
  .single-product .wd-sticky-btn .fpx-request-price.fzpq-wait{background:linear-gradient(180deg,#fbbf24,#f59e0b)!important;box-shadow:0 10px 22px -8px rgba(245,158,11,.6)!important}
  .single-product .wd-sticky-btn .fzpq-btn.fzpq-buy{background:linear-gradient(180deg,#22c55e,#16a34a)!important;box-shadow:0 10px 22px -8px rgba(22,163,74,.6)!important}
  .single-product .wd-sticky-btn-actions{display:flex;gap:6px}
  .single-product .wd-sticky-btn-actions .wd-action-btn > a{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.7);box-shadow:0 0 0 1px rgba(15,23,42,.08);display:grid!important;place-items:center}
}
/* phone: same glass on the app sticky bar */
@media (max-width:767px){
  html .single-product .wd-sticky-btn{background:rgba(255,255,255,.7)!important;-webkit-backdrop-filter:blur(24px) saturate(190%);backdrop-filter:blur(24px) saturate(190%);border-top:1px solid rgba(255,255,255,.8)!important;box-shadow:0 -12px 30px -14px rgba(13,38,76,.35),inset 0 1px 0 rgba(255,255,255,.9)!important}
}

/* ================= Cart page (desktop + tablet) ================= */
@media (min-width:768px){
  body.woocommerce-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--fz-line);border-radius:22px;padding:8px 22px 18px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 16px 40px -24px rgba(15,23,42,.22)}
  body.woocommerce-cart table.shop_table.cart{border:0!important;margin:0!important}
  body.woocommerce-cart table.shop_table.cart thead th{font-size:11.5px!important;font-weight:700!important;letter-spacing:.6px;text-transform:uppercase;color:var(--fz-mut)!important;padding:16px 10px!important;border-bottom:1px solid var(--fz-line)!important}
  body.woocommerce-cart table.shop_table.cart td{padding:18px 10px!important;border-bottom:1px solid #f1f4f8!important;vertical-align:middle!important}
  body.woocommerce-cart table.shop_table.cart tr.cart_item:last-of-type td{border-bottom:0!important}
  body.woocommerce-cart td.product-thumbnail img{width:84px!important;height:84px!important;object-fit:contain;border-radius:16px;background:#f8fafc;border:1px solid #eef2f7;padding:6px;max-width:none}
  body.woocommerce-cart td.product-name a{font-size:15px!important;font-weight:700!important;color:var(--fz-ink)!important;line-height:1.4;direction:ltr;unicode-bidi:plaintext}
  body.woocommerce-cart td.product-name .wd-product-sku,body.woocommerce-cart td.product-name dl{margin-top:6px!important}
  body.woocommerce-cart td.product-name .wd-product-sku{display:inline-block;font-size:11.5px;color:#475569;background:#f1f5f9;border-radius:8px;padding:3px 9px}
  body.woocommerce-cart td.product-price{color:var(--fz-mut)!important;font-weight:600}
  body.woocommerce-cart td.product-subtotal{font-size:17px!important;font-weight:800!important;color:var(--fz-blue)!important}
  body.woocommerce-cart td.product-remove a.remove{width:34px!important;height:34px!important;border-radius:50%!important;background:#fff1f2!important;color:#e11d48!important;display:grid!important;place-items:center;font-size:18px!important;border:1px solid #ffe4e6;transition:background .15s,transform .15s}
  body.woocommerce-cart td.product-remove a.remove:hover{background:#ffe4e6!important;transform:scale(1.06)}
  body.woocommerce-cart .quantity{border-radius:999px!important;background:#f1f5f9!important;padding:3px!important;border:0!important;height:42px!important}
  body.woocommerce-cart .quantity input.qty{background:transparent!important;border:0!important;font-weight:800;font-size:15px;width:42px!important}
  body.woocommerce-cart .quantity .minus,body.woocommerce-cart .quantity .plus{width:36px!important;height:36px!important;border-radius:50%!important;background:#fff!important;border:0!important;box-shadow:0 1px 3px rgba(15,23,42,.12);font-weight:700}
  body.woocommerce-cart .actions,body.woocommerce-cart .cart-actions{border-top:1px dashed var(--fz-line);padding-top:16px!important}
  body.woocommerce-cart .coupon{display:flex!important;gap:8px;align-items:center;background:#f8fafc;border:1px solid var(--fz-line);border-radius:14px;padding:6px;max-width:420px}
  body.woocommerce-cart .coupon input.input-text{border:0!important;background:transparent!important;height:40px;flex:1;box-shadow:none!important}
  body.woocommerce-cart .coupon .button{height:40px!important;border-radius:10px!important;padding:0 18px!important;background:var(--fz-ink)!important;color:#fff!important}

  /* totals */
  body.woocommerce-cart .cart_totals{background:#fff;border:1px solid var(--fz-line);border-radius:22px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04),0 24px 50px -26px rgba(15,23,42,.35)}
  body.woocommerce-cart .cart_totals > h2{margin:0!important;padding:18px 22px!important;font-size:17px!important;font-weight:800!important;color:#fff!important;background:linear-gradient(135deg,#0f172a 0%,#0b2a6f 55%,#1d4ed8 100%);position:relative}
  body.woocommerce-cart .cart_totals > h2::after{content:"";position:absolute;inset:0;background:radial-gradient(120px 60px at 90% 0%,rgba(255,255,255,.22),transparent 70%)}
  body.woocommerce-cart .cart_totals table.shop_table{border:0!important;margin:0!important;padding:8px 22px 0!important}
  body.woocommerce-cart .cart_totals table th,body.woocommerce-cart .cart_totals table td{padding:14px 22px!important;border-bottom:1px solid #f1f4f8!important;font-size:14px}
  body.woocommerce-cart .cart_totals table th{color:var(--fz-mut)!important;font-weight:600!important}
  body.woocommerce-cart .cart_totals .order-total th,body.woocommerce-cart .cart_totals .order-total td{border-bottom:0!important;padding-top:18px!important}
  body.woocommerce-cart .cart_totals .order-total td{font-size:24px!important;font-weight:800!important;color:var(--fz-ink)!important}
  body.woocommerce-cart .cart_totals .order-total th{color:var(--fz-ink)!important;font-size:15px!important;font-weight:800!important}
  body.woocommerce-cart .wc-proceed-to-checkout{padding:6px 22px 20px!important}
  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{height:56px!important;border-radius:16px!important;font-size:16px!important;font-weight:800!important;display:flex!important;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#2563eb,#1d4ed8)!important;box-shadow:0 14px 28px -12px rgba(29,78,216,.7),inset 0 1px 0 rgba(255,255,255,.25)!important;transition:transform .15s,box-shadow .15s}
  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover{transform:translateY(-1px);box-shadow:0 18px 32px -12px rgba(29,78,216,.8)!important}
  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after{content:"→";font-size:20px;line-height:1}
  html[dir=rtl] body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after{content:"←"}
  body.woocommerce-cart .woocommerce-shipping-methods li label,body.woocommerce-cart #shipping_method li{border-radius:12px}
}
/* trust row (desktop, tablet and phone) */
.fzui-trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 22px 20px;margin:0;list-style:none}
.fzui-trust li{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#334155;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:9px 10px;line-height:1.3}
.fzui-trust svg{width:18px;height:18px;flex:none;fill:none;stroke:#1d4ed8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* cart steps 1-2-3 */
@media (min-width:768px){
  body.woocommerce-cart .wd-checkout-steps li .step-title,body.woocommerce-cart .wd-checkout-steps a{font-weight:700}
}

/* ================= Phone: sticky pay bar with more life ================= */
html.fm2-on .fm2-paybar{background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(11,42,111,.9))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 18px 40px -12px rgba(11,42,111,.65),inset 0 1px 0 rgba(255,255,255,.12)!important;color:#fff}
html.fm2-on .fm2-paybar__t small{color:rgba(255,255,255,.7)!important}
html.fm2-on .fm2-paybar__t b,html.fm2-on .fm2-paybar__t strong,html.fm2-on .fm2-paybar__t .amount{color:#fff!important;font-size:18px}
html.fm2-on .fm2-paybar a,html.fm2-on .fm2-paybar button{background:linear-gradient(180deg,#3b82f6,#2563eb)!important;color:#fff!important;border-radius:14px!important;box-shadow:0 8px 18px -6px rgba(59,130,246,.7)!important;border:0!important;font-weight:800!important}
