.wc-cedit-card-form {
max-width: 500px;
margin: 20px auto;
}
#wc-moyasar-cc-form,
#wc-moyasar-stc-pay-form {
border: 1px solid #e5e5e5;
background: #fdfdfd;
padding: 25px; border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
#wc-moyasar-cc-form *,
#wc-moyasar-stc-pay-form * {
box-sizing: border-box; } #wc-moyasar-cc-form .form-row.form-row-wide,
#wc-moyasar-stc-pay-form .form-row.form-row-wide {
width: 100%;
margin: 0 0 20px;
clear: both;
}
#wc-moyasar-cc-form label,
#wc-moyasar-stc-pay-form label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #444;
font-size: 14px;
} #wc-moyasar-cc-form input.input-text,
#wc-moyasar-cc-form input[type="text"],
#wc-moyasar-cc-form input[type="password"],
#wc-moyasar-stc-pay-form input[type="text"] {
width: 100%;
padding: 0 14px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 16px;
line-height: 48px; height: 48px;
transition: all 0.3s ease;
box-sizing: border-box;
}
#wc-moyasar-cc-form input.input-text:focus,
#wc-moyasar-cc-form input[type="text"]:focus,
#wc-moyasar-cc-form input[type="password"]:focus,
#wc-moyasar-stc-pay-form input[type="text"]:focus {
border-color: #316896;
box-shadow: 0 0 0 4px rgba(49, 104, 150, 0.1);
outline: none;
} #wc-moyasar-cc-form .moyasar-cc-group {
position: relative;
min-width: 100%;
} form.checkout.processing input[name="payment_method"],
form.checkout.processing .payment_box input,
form.checkout.processing .payment_box select,
form.checkout.processing .payment_box textarea {
pointer-events: none;
}
form.checkout.processing .woocommerce-checkout-payment li.payment_method_moyasar_cc,
form.checkout.processing .woocommerce-checkout-payment li.payment_method_moyasar_stc_pay,
form.checkout.processing .woocommerce-checkout-payment li.payment_method_moyasar_apple_pay,
form.checkout.processing .woocommerce-checkout-payment li.payment_method_moyasar_samsung_pay {
opacity: 0.6;
pointer-events: none;
} ul.wc_payment_methods.moyasar-payment-processing {
opacity: 0.6;
pointer-events: none;
} .wc-moyasar_cc-payment-methods .wc-saved-payment-method input[type="radio"],
.payment_method_moyasar_cc input[name="wc-moyasar_cc-payment-token"] {
appearance: auto;
-webkit-appearance: radio;
width: auto;
min-width: auto;
display: inline-block;
vertical-align: middle;
margin-right: 6px;
} .moyasar-cc-expiry-cvc-group {
display: flex;
justify-content: space-between;
gap: 20px;
margin-bottom: 20px;
}
.moyasar-cc-expiry-cvc-group .form-row {
flex: 1;
float: none; margin: 0;
width: auto;
} @media (max-width: 480px) {
.moyasar-cc-expiry-cvc-group {
flex-direction: column;
gap: 15px;
}
.moyasar-cc-expiry-cvc-group .form-row {
width: 100% !important;
}
} #wc-moyasar-cc-form .woocommerce-SavedPaymentMethods-saveNew,
#wc-moyasar-cc-form .form-row.create-account {
display: flex !important;
align-items: center !important;
gap: 8px !important;
margin-top: 15px;
margin-bottom: 10px;
float: none !important;
clear: both !important;
}
#wc-moyasar-cc-form .woocommerce-SavedPaymentMethods-saveNew label,
#wc-moyasar-cc-form .form-row.create-account label {
display: inline-block !important;
margin: 0 !important;
font-weight: normal !important;
cursor: pointer;
font-size: 14px;
}
#wc-moyasar-cc-form .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"],
#wc-moyasar-cc-form .form-row.create-account input[type="checkbox"] {
width: auto !important;
height: auto !important;
margin: 0 !important;
cursor: pointer;
} #moyasar_card_brand {
font-style: normal;
font-weight: 100 !important;
} .moyasar-quick-buy-btn {
margin-top: 10px;
width: 100%;
background-color: #1a1a1a !important;
color: #ffffff !important;
display: flex !important;
align-items: center;
justify-content: center;
gap: 8px;
border: none !important;
padding: 15px 20px !important;
font-size: 16px !important;
border-radius: 8px !important;
cursor: pointer;
font-weight: 600;
transition: all 0.2s ease !important;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.moyasar-quick-buy-btn:hover {
background-color: #000000 !important;
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.moyasar-quick-buy-btn.loading {
opacity: 0.8;
cursor: not-allowed;
background-color: #333 !important;
background-image: none !important;
} .woocommerce-checkout[dir="rtl"] .moyasar-cc-group .moyasar-cc-logos,
.woocommerce-cart[dir="rtl"] .moyasar-cc-group .moyasar-cc-logos,
[dir="rtl"] .moyasar-cc-group .moyasar-cc-logos {
right: auto !important;
left: 12px !important;
}
[dir="rtl"] .moyasar-cc-group input {
padding-left: 50px !important; padding-right: 12px !important;
} [dir="ltr"] .moyasar-cc-group input,
.moyasar-cc-group input:not([dir="rtl"]) {
padding-right: 50px !important;
} .moyasar-gateway-icon {
max-height: 32px !important;
vertical-align: middle; float: right;
margin-left: 10px;
} [dir="rtl"] .moyasar-gateway-icon,
.woocommerce[dir="rtl"] .moyasar-gateway-icon {
float: left;
margin-left: 0;
margin-right: 10px;
} apple-pay-button {
cursor: pointer;
display: inline-block;
} #moyasar_card_brand_img {
height: 24px !important;
width: auto !important;
max-height: 24px !important;
max-width: 55px !important;
display: inline-block !important;
vertical-align: middle !important;
}
#moyasar_card_brand_placeholder {
font-size: 20px !important;
line-height: 1 !important;
opacity: 0.3 !important;
}
.moyasar-cc-logos {
pointer-events: none !important;
}   .moyasar-blocks-cc,
.moyasar-blocks-stc,
.moyasar-blocks-apple-pay,
.moyasar-blocks-samsung,
.moyasar-blocks-invoice {
padding-top: 4px;
}
.moyasar-blocks-desc {
margin: 0 0 12px;
}
.moyasar-blocks-field,
.moyasar-blocks-field-group {
margin-bottom: 12px;
}
.moyasar-blocks-field label {
display: block;
margin-bottom: 4px;
font-size: 0.9em;
}
.moyasar-blocks-field-group label {
display: block;
margin-bottom: 4px;
font-size: 0.9em;
} .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label .moyasar-blocks-icons img {
height: var(--moyasar-icon-height, 26px) !important;
max-height: var(--moyasar-icon-height, 26px) !important;
width: auto !important;
}
.moyasar-blocks-icons img {
height: var(--moyasar-icon-height, 26px) !important;
max-height: var(--moyasar-icon-height, 26px) !important;
width: auto !important;
} .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label .moyasar-blocks-icons-moyasar_cc img,
.moyasar-blocks-icons-moyasar_cc img {
height: var(--moyasar-icon-height, 20px) !important;
max-height: var(--moyasar-icon-height, 20px) !important;
}
.moyasar-samsung-pay-btn:hover {
opacity: 0.9;
}
.moyasar-blocks-cc input[type="text"],
.moyasar-blocks-cc input[type="password"],
.moyasar-blocks-stc input[type="text"] {
box-sizing: border-box !important;
width: 100% !important;
max-width: 100% !important;
}.mfrash-slide-banner-wrapper{ background:#f4f4f4; border-radius:6px; height:28px; margin-top:8px; overflow:hidden; font-family:"Cairo",sans-serif } .mfrash-slide-banner{ position:relative; height:100% } .slide-text{ position:absolute; width:100%; top:0; left:0; opacity:0; transform:translateY(100%); transition:all 1s ease; text-align:center; font-size:13px; color:#333; line-height:28px; white-space:nowrap; font-weight:700 } .slide-text.active{ opacity:1; transform:translateY(0) } @media(max-width:768px){ .mfrash-slide-banner-wrapper{height:26px} .slide-text{font-size:12.5px;line-height:26px} } @media(max-width:480px){ .mfrash-slide-banner-wrapper{height:24px} .slide-text{font-size:10px;line-height:24px} }.woo-fbt-wrapper {
direction: rtl;
margin: 24px 0 10px;
padding: 0;
font-family: inherit;
}
.woo-fbt-title {
font-size: 18px;
font-weight: 700;
color: #1a1a1a;
margin: 0 0 16px;
text-align: right;
padding-bottom: 10px;
border-bottom: 2px solid #1270c2;
display: inline-block;
} .woo-fbt-slider-wrap {
position: relative;
overflow: hidden;
padding: 2px 2px 6px;
} @media (max-width: 767px) {
.woo-fbt-slider-wrap {
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scroll-snap-type: x mandatory;
scrollbar-width: none;
padding: 0 2px 8px;
}
.woo-fbt-slider-wrap::-webkit-scrollbar {
display: none;
}
}
.woo-fbt-track {
display: flex;
transition: transform .38s cubic-bezier(.4,0,.2,1);
will-change: transform;
align-items: stretch;
} @media (max-width: 767px) {
.woo-fbt-track {
transform: none !important;
transition: none !important;
flex-wrap: nowrap;
}
} .woo-fbt-card {
position: relative;
flex: 0 0 calc(50% - 6px);
min-width: 0;
background: #fff;
border: 1.5px solid #e5e7eb;
border-radius: 12px; padding: 14px 12px 14px;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
transition: border-color .2s, box-shadow .2s;
}
@media (min-width: 768px) {
.woo-fbt-card {
flex: 0 0 calc(33.333% - 8px);
}
}
.woo-fbt-card:hover {
border-color: #1270c2;
box-shadow: 0 4px 16px rgba(18,112,194,.12);
}
.woo-fbt-card.woo-fbt-card--unchecked {
opacity: .5;
} .woo-fbt-plus {
flex-shrink: 0;
align-self: center;
font-size: 22px;
font-weight: 700;
color: #888;
pointer-events: none;
line-height: 1;
padding: 0;
} .woo-fbt-check-label {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
z-index: 3;
}
.woo-fbt-check {
display: none;
}
.woo-fbt-check-icon {
display: block;
width: 22px;
height: 22px;
border-radius: 6px;
background: #1270c2;
border: 2px solid #1270c2;
position: relative;
transition: background .2s, border-color .2s;
}
.woo-fbt-check-icon::after {
content: '';
position: absolute;
top: 3px;
left: 4px;
width: 10px;
height: 6px;
border-left: 2.5px solid #fff;
border-bottom: 2.5px solid #fff;
transform: rotate(-45deg);
opacity: 1;
transition: opacity .15s;
}
.woo-fbt-check:not(:checked) + .woo-fbt-check-icon {
background: #fff;
border-color: #ccc;
}
.woo-fbt-check:not(:checked) + .woo-fbt-check-icon::after {
opacity: 0;
} .woo-fbt-img-link {
display: block;
width: 100%;
text-align: center;
}
.woo-fbt-img {
width: 100%;
max-width: 140px;
height: 110px;
object-fit: contain;
display: block;
margin: 0 auto;
border-radius: 8px;
} .woo-fbt-price {
font-size: 16px;
font-weight: 700;
color: #1a1a1a;
text-align: center;
direction: rtl;
margin-top: 4px;
}
.woo-fbt-price .woocommerce-Price-amount {
color: #1a1a1a;
} .woo-fbt-name {
font-size: 12px;
color: #444;
text-align: center;
line-height: 1.45;
}
.woo-fbt-name a {
color: inherit;
text-decoration: none;
}
.woo-fbt-name a:hover {
text-decoration: underline;
color: #1270c2;
} .woo-fbt-cat-label {
display: inline-block;
background: #1270c2;
color: #fff;
font-size: 11px;
font-weight: 700;
padding: 2px 10px;
border-radius: 20px;
white-space: nowrap;
max-width: 90%;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 2px;
text-align: center;
} @media (max-width: 767px) {
.woo-fbt-card {
scroll-snap-align: start;
}
} .woo-fbt-nav {
display: none;
position: absolute;
top: 50%;
transform: translateY(-50%);
background: #fff;
border: 1.5px solid #e5e7eb;
border-radius: 50%;
width: 34px;
height: 34px;
font-size: 22px;
line-height: 1;
cursor: pointer;
z-index: 10;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,.1);
transition: background .2s, border-color .2s, color .2s;
padding: 0;
color: #333;
}
.woo-fbt-nav:hover {
background: #1270c2;
border-color: #1270c2;
color: #fff;
}
.woo-fbt-nav--prev { right: -14px; }
.woo-fbt-nav--next { left: -14px; } @media (min-width: 768px) {
.woo-fbt-nav {
display: flex;
}
}
.woo-fbt-nav:disabled {
opacity: .3;
cursor: default;
pointer-events: none;
} .woo-fbt-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
margin-top: 16px;
padding: 15px 20px;
background: #1270c2;
color: #fff;
font-size: 16px;
font-weight: 700;
border: none;
border-radius: 10px;
cursor: pointer;
transition: background .2s, transform .1s, box-shadow .2s;
line-height: 1.3;
text-align: center;
box-shadow: 0 2px 10px rgba(18,112,194,.35);
white-space: nowrap;
}
.woo-fbt-btn:hover {
background: #0e5ca8;
transform: translateY(-1px);
box-shadow: 0 4px 18px rgba(18,112,194,.45);
}
.woo-fbt-btn:active {
transform: translateY(0);
box-shadow: none;
}
.woo-fbt-btn:disabled {
opacity: .7;
cursor: not-allowed;
transform: none;
box-shadow: none;
} .woo-fbt-loader {
display: flex;
align-items: center;
gap: 8px;
}
.woo-fbt-spinner {
width: 20px;
height: 20px;
animation: woo-fbt-spin .75s linear infinite;
flex-shrink: 0;
}
@keyframes woo-fbt-spin {
to { transform: rotate(360deg); }
} .woo-fbt-var-warn {
display: none;
align-items: center;
gap: 8px;
background: #fff3cd;
border: 1px solid #ffc107;
border-radius: 8px;
padding: 10px 14px;
font-size: 13px;
font-weight: 600;
color: #856404;
margin-top: 10px;
direction: rtl;
text-align: right;
}
.woo-fbt-var-warn.woo-fbt-var-warn--show {
display: flex;
} .woo-fbt-toast {
position: fixed;
bottom: 28px;
left: 50%;
transform: translateX(-50%) translateY(80px);
background: #1a1a1a;
color: #fff;
padding: 13px 28px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
z-index: 99999;
opacity: 0;
transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s;
pointer-events: none;
white-space: nowrap;
direction: rtl;
box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.woo-fbt-toast.woo-fbt-toast--show {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
.woo-fbt-toast--success {
background: #1270c2;
}
.woo-fbt-toast--error {
background: #dc2626;
}