/* Ghalame Manual Payment - frontend 1.3.1 */
.ghmp-checkout-wrap,.ghmp-payment-box{box-sizing:border-box;direction:rtl;text-align:right;font-family:inherit}
.ghmp-checkout-wrap *,.ghmp-payment-box *{box-sizing:border-box}
.ghmp-checkout-wrap{margin-top:12px}
.ghmp-checkout-intro{margin:0 0 14px;color:inherit;line-height:1.95}

.ghmp-card-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))!important;gap:14px!important;margin:14px 0 10px!important;padding:0!important}
.ghmp-bank-card{position:relative!important;overflow:hidden!important;min-height:168px!important;padding:19px 20px!important;border:0!important;border-radius:18px!important;background:linear-gradient(135deg,#0f659f 0%,#1596bd 58%,#27b0c9 100%)!important;color:#fff!important;box-shadow:0 12px 30px rgba(15,101,159,.18)!important;direction:rtl!important;text-align:right!important}
.ghmp-bank-card:before{content:"";position:absolute;width:155px;height:155px;border-radius:50%;left:-60px;top:-74px;background:rgba(255,255,255,.10)}
.ghmp-bank-card:after{content:"";position:absolute;width:108px;height:108px;border-radius:50%;right:-46px;bottom:-54px;background:rgba(255,255,255,.08)}
.ghmp-bank-card>*{position:relative;z-index:1}
.ghmp-card-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 25px!important;color:#fff!important}
.ghmp-card-bank{font-weight:800!important;font-size:14px!important;color:#fff!important}
.ghmp-card-label{display:inline-flex!important;align-items:center!important;min-height:27px;padding:3px 10px!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:999px!important;background:rgba(255,255,255,.11)!important;color:#fff!important;font-size:11px!important;white-space:nowrap!important}
.ghmp-card-number{display:block!important;width:100%!important;margin:0 0 24px!important;color:#fff!important;font-family:Tahoma,"Segoe UI",Arial,sans-serif!important;font-size:clamp(19px,2.4vw,24px)!important;font-weight:800!important;line-height:1.4!important;letter-spacing:2px!important;direction:ltr!important;text-align:center!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;text-shadow:0 1px 1px rgba(0,0,0,.08)!important}
.ghmp-card-bottom{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;color:#fff!important}
.ghmp-card-holder{min-width:0;line-height:1.5;color:#fff!important}
.ghmp-card-holder small{display:block!important;margin:0 0 2px!important;color:rgba(255,255,255,.78)!important;font-size:10px!important}
.ghmp-card-holder strong{display:block!important;max-width:190px;color:#fff!important;font-size:13px!important;font-weight:800!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ghmp-copy-card{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.48)!important;background:rgba(255,255,255,.13)!important;color:#fff!important;border-radius:10px!important;padding:7px 13px!important;font-family:inherit!important;font-size:11px!important;font-weight:700!important;line-height:1.5!important;cursor:pointer!important;box-shadow:none!important;min-height:34px!important;transition:.2s ease!important}
.ghmp-copy-card:hover{background:rgba(255,255,255,.24)!important;border-color:rgba(255,255,255,.7)!important;color:#fff!important;transform:translateY(-1px)}
.ghmp-checkout-note{font-size:12px;line-height:1.9;opacity:.82;margin-top:9px}

.ghmp-payment-box{width:100%!important;margin:24px 0!important;padding:0!important;border:1px solid #e3e9ee!important;border-radius:20px!important;background:#fff!important;color:#24343d!important;line-height:1.9!important;overflow:hidden!important;box-shadow:0 9px 28px rgba(35,60,75,.07)!important}
.ghmp-payment-head{display:flex!important;align-items:stretch!important;justify-content:space-between!important;gap:22px!important;padding:22px 24px!important;background:#f7fafc!important;border-bottom:1px solid #e8eef2!important}
.ghmp-payment-head-copy{min-width:0;flex:1}
.ghmp-payment-kicker{display:inline-flex!important;margin:0 0 6px!important;padding:3px 9px!important;border-radius:999px!important;background:#e9f6fb!important;color:#13759b!important;font-size:11px!important;font-weight:800!important}
.ghmp-payment-box .ghmp-payment-head h2{margin:0 0 5px!important;padding:0!important;color:#172d38!important;font-size:21px!important;line-height:1.55!important;font-weight:900!important;border:0!important}
.ghmp-payment-head-copy p{margin:0!important;color:#5a6b74!important;font-size:13px!important;line-height:1.9!important}
.ghmp-order-summary{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;min-width:195px!important}
.ghmp-order-summary>span{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:8px 11px!important;border:1px solid #e2eaee!important;border-radius:10px!important;background:#fff!important}
.ghmp-order-summary small{color:#74848c!important;font-size:10px!important;white-space:nowrap!important}
.ghmp-order-summary strong{color:#1f3946!important;font-size:12px!important;white-space:nowrap!important}

.ghmp-step-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:18px 24px 8px!important}
.ghmp-step{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:12px!important;border:1px solid #e8edf0!important;border-radius:13px!important;background:#fff!important}
.ghmp-step-no{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:9px!important;background:#edf8fb!important;color:#147b9e!important;font-size:12px!important;font-weight:900!important}
.ghmp-step div{min-width:0}
.ghmp-step strong{display:block!important;margin:0 0 2px!important;color:#263f4b!important;font-size:12px!important}
.ghmp-step small{display:block!important;color:#718089!important;font-size:10px!important;line-height:1.75!important}

.ghmp-section-title{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;margin:0!important;padding:18px 24px 0!important}
.ghmp-section-title strong{color:#233b47!important;font-size:14px!important;font-weight:900!important}
.ghmp-section-title span{color:#87949b!important;font-size:10px!important}
.ghmp-payment-box>.ghmp-card-grid{padding:0 24px 4px!important;margin:12px 0!important}

.ghmp-receipt-box{margin:7px 24px 20px!important;padding:0 0 16px!important;border:1px solid #e5ecef!important;border-radius:15px!important;background:#fbfcfd!important;overflow:hidden!important}
.ghmp-receipt-box .ghmp-section-title{padding:14px 15px 8px!important}
.ghmp-contact-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:8px!important;padding:0 14px!important}
.ghmp-contact-item{min-width:0!important;padding:10px 11px!important;border:1px solid #e6ecef!important;border-radius:11px!important;background:#fff!important}
.ghmp-contact-item small{display:block!important;margin:0 0 3px!important;color:#7f8e96!important;font-size:10px!important}
.ghmp-contact-item strong{display:block!important;color:#24404d!important;font-size:12px!important;font-weight:800!important;overflow-wrap:anywhere!important}
.ghmp-contact-item a,.ghmp-contact-item span{color:inherit!important;text-decoration:none!important;font-family:inherit!important}
.ghmp-extra-note{margin:0 24px 22px!important;padding:11px 13px!important;border-right:3px solid #29a9c5!important;border-radius:9px!important;background:#f2fafc!important;color:#526b76!important;font-size:12px!important;line-height:1.9!important}

@media (max-width:760px){
  .ghmp-payment-head{display:block!important;padding:18px!important}
  .ghmp-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important;margin-top:14px!important}
  .ghmp-order-summary>span{display:block!important}
  .ghmp-order-summary small,.ghmp-order-summary strong{display:block!important;white-space:normal!important}
  .ghmp-step-grid{grid-template-columns:1fr!important;padding:14px 18px 6px!important}
  .ghmp-section-title{padding:15px 18px 0!important;align-items:flex-start!important;flex-direction:column!important;gap:2px!important}
  .ghmp-payment-box>.ghmp-card-grid{padding:0 18px 4px!important}
  .ghmp-receipt-box{margin:7px 18px 18px!important}
  .ghmp-extra-note{margin:0 18px 18px!important}
}
@media (max-width:480px){
  .ghmp-bank-card{padding:16px!important;min-height:154px!important;border-radius:15px!important}
  .ghmp-card-number{font-size:18px!important;letter-spacing:1.1px!important;margin-bottom:20px!important}
  .ghmp-card-grid{grid-template-columns:1fr!important}
  .ghmp-order-summary{grid-template-columns:1fr!important}
  .ghmp-payment-box{border-radius:15px!important}
  .ghmp-contact-grid{grid-template-columns:1fr 1fr!important}
}

/* Receipt methods + shortcode uploader - 1.2.0 */
.ghmp-contact-item strong{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important}
.ghmp-contact-value{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:5px 9px!important;border-radius:8px!important;background:#f5f8fa!important;color:#29434f!important;font-size:12px!important;font-weight:800!important}
.ghmp-copy-contact,.ghmp-contact-link{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:6px 11px!important;border-radius:8px!important;font-family:inherit!important;font-size:11px!important;font-weight:800!important;line-height:1.4!important;text-decoration:none!important;cursor:pointer!important}
.ghmp-copy-contact{border:1px solid #dbe5ea!important;background:#fff!important;color:#516b77!important}
.ghmp-contact-link{border:1px solid #bfe4ee!important;background:#eefafd!important;color:#137a9d!important}
.ghmp-contact-link--primary{margin-top:8px!important;border-color:#168ab0!important;background:#168ab0!important;color:#fff!important}
.ghmp-contact-help{display:block!important;margin-top:5px!important;color:#70828b!important;font-size:10px!important;font-weight:500!important;line-height:1.8!important}
.ghmp-contact-item--onsite{background:#f9fcfd!important;border-color:#d9ebf1!important}
.ghmp-receipt-status{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:16px 24px 0!important;padding:10px 13px!important;border-radius:11px!important;font-size:11px!important;line-height:1.8!important}
.ghmp-receipt-status--sent{border:1px solid #cfe9d5!important;background:#f1fbf3!important;color:#31643d!important}

.ghmp-upload-box{box-sizing:border-box;direction:rtl;text-align:right;width:100%;max-width:880px;margin:20px auto;padding:22px;border:1px solid #e1e8ec;border-radius:18px;background:#fff;color:#263b45;box-shadow:0 8px 24px rgba(35,60,75,.06);font-family:inherit}
.ghmp-upload-box *{box-sizing:border-box}
.ghmp-upload-head{margin-bottom:18px}
.ghmp-upload-head h3{margin:4px 0 6px!important;padding:0!important;border:0!important;color:#1f3540!important;font-size:20px!important;line-height:1.5!important}
.ghmp-upload-head p{margin:0!important;color:#6f7f87!important;font-size:12px!important;line-height:1.9!important}
.ghmp-upload-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ghmp-upload-field{display:flex;flex-direction:column;gap:6px;color:#334d59;font-size:12px;font-weight:800}
.ghmp-upload-field:nth-of-type(1),.ghmp-upload-field:nth-of-type(2),.ghmp-upload-field:nth-of-type(4){grid-column:1/-1}
.ghmp-upload-field span{font-size:10px;font-weight:500;color:#87959c}
.ghmp-upload-field input[type=text],.ghmp-upload-field input[type=file],.ghmp-upload-field select,.ghmp-upload-field textarea{width:100%!important;min-height:44px!important;margin:0!important;padding:9px 11px!important;border:1px solid #dce5e9!important;border-radius:10px!important;background:#fff!important;color:#2a414c!important;font-family:inherit!important;font-size:12px!important;box-shadow:none!important;outline:0!important}
.ghmp-upload-field textarea{min-height:88px!important;resize:vertical!important}
.ghmp-upload-field input:focus,.ghmp-upload-field select:focus,.ghmp-upload-field textarea:focus{border-color:#64b9d0!important;box-shadow:0 0 0 3px rgba(38,156,190,.09)!important}
.ghmp-upload-field small{color:#84939a!important;font-size:10px!important;font-weight:500!important}
.ghmp-upload-submit{grid-column:1/-1!important;appearance:none!important;min-height:46px!important;border:0!important;border-radius:11px!important;background:#168ab0!important;color:#fff!important;font-family:inherit!important;font-size:13px!important;font-weight:900!important;cursor:pointer!important;box-shadow:none!important}
.ghmp-upload-submit:hover{filter:brightness(.96)}
.ghmp-upload-notice,.ghmp-shortcode-message,.ghmp-upload-history{margin:0 0 15px!important;padding:11px 13px!important;border-radius:10px!important;font-size:12px!important;line-height:1.9!important}
.ghmp-upload-notice--success{border:1px solid #cfe9d5!important;background:#f1fbf3!important;color:#31643d!important}
.ghmp-upload-notice--error{border:1px solid #f0d1d1!important;background:#fff6f6!important;color:#8a3d3d!important}
.ghmp-shortcode-message{border:1px solid #e2e8ec!important;background:#f8fafb!important;color:#526b77!important}
.ghmp-upload-history{margin-top:15px!important;margin-bottom:0!important;border:1px solid #d8eaf0!important;background:#f4fbfd!important;color:#45616d!important}

@media (max-width:760px){
  .ghmp-receipt-status{margin:14px 18px 0!important;display:block!important}
  .ghmp-receipt-status span{display:block!important;margin-top:2px!important}
  .ghmp-upload-box{padding:16px!important;border-radius:14px!important}
  .ghmp-upload-form{grid-template-columns:1fr!important}
  .ghmp-upload-field{grid-column:1/-1!important}
}

/* Receipt uploader async state - 1.2.1 */
.ghmp-upload-submit[disabled]{opacity:.65!important;cursor:wait!important;filter:none!important}

/* Pending orders selector + receipt workflow - 1.3.0 */
.ghmp-pending-orders{grid-column:1/-1;display:grid;gap:12px;margin:0 0 2px}
.ghmp-pending-order{display:block;position:relative;cursor:pointer;margin:0!important}
.ghmp-order-radio{position:absolute!important;opacity:0!important;pointer-events:none!important}
.ghmp-pending-order-body{display:block;padding:14px;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(35,60,75,.03);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.ghmp-order-radio:checked + .ghmp-pending-order-body{border-color:#43a9c5;background:#fbfeff;box-shadow:0 0 0 3px rgba(35,155,189,.09)}
.ghmp-pending-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.ghmp-pending-order-head strong,.ghmp-pending-order-head small{display:block}
.ghmp-pending-order-head strong{color:#213b47;font-size:13px;font-weight:900}
.ghmp-pending-order-head small{margin-top:2px;color:#829198;font-size:10px}
.ghmp-pending-order-total{white-space:nowrap;color:#117a9c;font-size:13px;font-weight:900}
.ghmp-order-products{display:grid;gap:8px}
.ghmp-order-product{display:flex;align-items:flex-start;gap:10px;padding:9px;border:1px solid #e8edf0;border-radius:10px;background:#f9fbfc}
.ghmp-order-product-image{flex:0 0 52px}
.ghmp-order-product-image img{display:block!important;width:52px!important;height:52px!important;max-width:none!important;object-fit:cover!important;border-radius:8px!important;margin:0!important}
.ghmp-order-product-copy{min-width:0;flex:1}
.ghmp-order-product-copy>strong,.ghmp-order-product-copy>small{display:block}
.ghmp-order-product-copy>strong{color:#2c4652;font-size:12px;font-weight:850;line-height:1.7}
.ghmp-order-product-copy>small{margin-top:2px;color:#86949b;font-size:10px}
.ghmp-order-product-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.ghmp-order-product-meta span{display:inline-flex;gap:4px;padding:3px 7px;border-radius:7px;background:#eef5f7;color:#526b76;font-size:10px;line-height:1.6}
.ghmp-order-product-meta b{color:#334e5a}
.ghmp-pending-order-foot{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px dashed #e2e8eb}
.ghmp-pending-order-state,.ghmp-pending-receipt-count,.ghmp-select-order-label{display:inline-flex;align-items:center;min-height:27px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800}
.ghmp-pending-order-state{background:#fff7ed;color:#9a5217}
.ghmp-pending-receipt-count{background:#f0fbf3;color:#347142}
.ghmp-select-order-label{margin-right:auto;background:#eef8fb;color:#157c9f}
.ghmp-order-radio:checked + .ghmp-pending-order-body .ghmp-select-order-label{background:#168ab0;color:#fff}
.ghmp-upload-file{grid-column:1/-1!important;margin-top:2px}

@media(max-width:600px){
  .ghmp-pending-order-head{display:block}
  .ghmp-pending-order-total{margin-top:5px}
  .ghmp-select-order-label{margin-right:0;width:100%;justify-content:center}
}
