/**
 * Sabin Server Cart - extracted template styles
 *
 * Centralized from the order-form TPL files. Keep this file loaded after
 * all.min.css so the original cascade remains effective.
 */


/* Extracted from addons.tpl */
#order-standard_cart .products .product header {
    position: relative;
    padding: 10px 20px;
    margin: 0 1px;
    background: #00253a;
    border-radius: 3px 3px 0 0;
    text-align: right;
}

/* Sabin checkout — production visual rebuild v4 */
body.sabin-checkout-mode {
    --sabin-navy: #052f44;
    --sabin-navy-2: #0b4058;
    --sabin-orange: #ff6b0b;
    --sabin-text: #123345;
    --sabin-muted: #718592;
    --sabin-line: #dfe9ee;
    --sabin-surface: #ffffff;
    background: radial-gradient(circle at 8% 10%, rgba(255,107,11,.055), transparent 28%), #f5f8fa !important;
    color: var(--sabin-text);
}

body.sabin-checkout-mode #order-standard_cart.sabin-cart-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 64px;
    direction: rtl;
    font-family: inherit;
}

body.sabin-checkout-mode #order-standard_cart > .row { margin: 0; }
body.sabin-checkout-mode #order-standard_cart > .row > .cart-body { width: 100%; padding: 0; }
body.sabin-checkout-mode .header-lined { margin-bottom: 28px; }
body.sabin-checkout-mode .sabin-checkout-progress { max-width: 820px; margin-bottom: 32px; }
body.sabin-checkout-mode .sabin-progress-marker { width: 40px; height: 40px; border-width: 1px; box-shadow: 0 0 0 7px #f5f8fa; }
body.sabin-checkout-mode .sabin-progress-step { font-size: 12px; }
body.sabin-checkout-mode .sabin-progress-step.is-current .sabin-progress-marker { box-shadow: 0 7px 18px rgba(255,107,11,.22), 0 0 0 7px #f5f8fa; }

body.sabin-checkout-mode .sabin-stage-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 20px;
    padding: 20px 22px;
    border: 1px solid var(--sabin-line);
    border-radius: 18px;
    background: linear-gradient(135deg,#fff,#f9fbfc);
    box-shadow: 0 12px 34px rgba(5,47,68,.055);
}
body.sabin-checkout-mode .sabin-stage-icon { display:flex;align-items:center;justify-content:center;width:50px;height:50px;flex:0 0 50px;border-radius:15px;background:#fff0e7;color:var(--sabin-orange);font-size:20px; }
body.sabin-checkout-mode .sabin-stage-kicker { display:block;color:var(--sabin-orange);font-size:11px;font-weight:800; }
body.sabin-checkout-mode .sabin-stage-heading h1 { margin:2px 0 3px;font-size:23px;font-weight:900;color:var(--sabin-navy); }
body.sabin-checkout-mode .sabin-stage-heading p { margin:0;color:var(--sabin-muted);font-size:12px; }

/* Domain decision */
body.sabin-checkout-mode .sabin-domain-select-page > .row > .cart-body > .text-center { margin-bottom:20px; }
body.sabin-checkout-mode .sabin-domain-select-page > .row > .cart-body > .text-center svg { width:58px!important;padding:12px;border-radius:16px; }
body.sabin-checkout-mode .sabin-domain-select-page > .row > .cart-body > .text-center h3 { font-size:25px;font-weight:900;color:var(--sabin-navy); }
body.sabin-checkout-mode .sabin-domain-lead { max-width:640px;margin:7px auto 0;color:var(--sabin-muted);font-size:13px;line-height:1.9; }
body.sabin-checkout-mode .sabin-domain-select-page .sabin-form-cart { max-width:900px;padding:12px;border-radius:20px;box-shadow:0 18px 50px rgba(5,47,68,.08); }
body.sabin-checkout-mode .sabin-domain-select-page .domain-selection-options { gap:10px; }
body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option { border-radius:15px;background:#fbfcfd; }
body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option.is-selected { border-color:var(--sabin-orange);background:#fff8f3;box-shadow:0 0 0 3px rgba(255,107,11,.09); }
body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label { min-height:70px;padding:13px 16px;font-size:14px; }
body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label > span { display:flex;flex-direction:column;gap:2px; }
body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label strong { color:var(--sabin-text);font-size:14px;font-weight:900; }
body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label small { color:var(--sabin-muted);font-size:11px;font-weight:500; }
body.sabin-checkout-mode .sabin-domain-select-page .iradio_square-blue { transform:scale(1.05); }
body.sabin-checkout-mode .sabin-domain-select-page .domain-input-group { padding:0 16px 16px; }
body.sabin-checkout-mode .sabin-domain-select-page .domains-row { direction:ltr; }
body.sabin-checkout-mode .sabin-domain-select-page .form-control { min-height:48px;border-color:#d8e4ea;border-radius:11px!important;box-shadow:none; }
body.sabin-checkout-mode .sabin-domain-select-page .input-group-text { min-height:48px;border-color:#d8e4ea;background:#edf3f6; }
body.sabin-checkout-mode .sabin-domain-select-page .btn-primary { min-height:48px;border:0;border-radius:11px;background:var(--sabin-orange);font-weight:800; }

/* Product setup */
body.sabin-checkout-mode .sabin-configure-page #frmConfigureProduct > .row,
body.sabin-checkout-mode .sabin-review-page > .row > .cart-body > .row { display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;margin:0;direction:ltr; }
body.sabin-checkout-mode .sabin-configure-page .secondary-cart-body,
body.sabin-checkout-mode .sabin-review-page .secondary-cart-body { width:auto!important;direction:rtl;padding:22px!important;border-radius:18px;box-shadow:0 14px 40px rgba(5,47,68,.055); }
body.sabin-checkout-mode .sabin-configure-page .secondary-cart-sidebar,
body.sabin-checkout-mode .sabin-review-page .secondary-cart-sidebar { width:auto!important;direction:rtl;top:18px; }
body.sabin-checkout-mode .sabin-configure-page .field-container { padding:0;border:0;background:transparent; }
body.sabin-checkout-mode .sabin-configure-page .sabin-inline-configureproduct-03 { display:block;margin:0 0 16px;color:var(--sabin-navy);font-size:18px;font-weight:900;text-align:right; }
body.sabin-checkout-mode .sabin-configure-page .billingcycle-boxes { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
body.sabin-checkout-mode .sabin-configure-page .cycle-box { min-height:82px;flex-direction:column;gap:5px;border-radius:14px;background:#fbfcfd;font-size:13px;font-weight:800; }
body.sabin-checkout-mode .sabin-configure-page .cycle-box.selected { border-color:var(--sabin-orange);background:#fff7f1;box-shadow:0 0 0 3px rgba(255,107,11,.09); }
body.sabin-checkout-mode .sabin-cycle-name { color:var(--sabin-muted);font-size:11px;font-weight:700; }
body.sabin-checkout-mode .sabin-configure-page .cycle-box.selected .sabin-cycle-name { color:var(--sabin-orange); }
body.sabin-checkout-mode .sabin-configure-page .cycle-box strong { color:var(--sabin-navy);font-size:14px;font-weight:900; }

/* Shared summary card */
body.sabin-checkout-mode .sabin-configure-page .order-summary,
body.sabin-checkout-mode .sabin-review-page .order-summary { border:0;border-radius:18px;box-shadow:0 18px 50px rgba(5,47,68,.12); }
body.sabin-checkout-mode .sabin-configure-page .order-summary > h2,
body.sabin-checkout-mode .sabin-review-page .order-summary > h2 { padding:18px 20px;background:var(--sabin-navy);font-size:17px!important;font-weight:900;text-align:right; }
body.sabin-checkout-mode .sabin-configure-page .order-summary .product-title,
body.sabin-checkout-mode .sabin-review-page .order-summary .product-title { padding:12px 20px;background:var(--sabin-navy-2)!important;border-top:1px solid rgba(255,255,255,.1);font-size:13px!important; }
body.sabin-checkout-mode .order-summary .summary-container { padding:10px 18px 16px!important;background:#fff!important; }
body.sabin-checkout-mode .order-summary .summary-container > div { padding:12px 0;border-bottom:1px dashed #dce6eb; }
body.sabin-checkout-mode .order-summary .total-due-today { display:flex;align-items:center;justify-content:space-between;padding:17px 0 4px!important;border:0!important;color:var(--sabin-navy); }
body.sabin-checkout-mode .order-summary .total-due-today .amt { font-size:20px!important;font-weight:900; }
body.sabin-checkout-mode .sabin-configure-page #btnCompleteProductConfig,
body.sabin-checkout-mode .sabin-review-page .btn-checkout { width:100%!important;margin:14px 0 0!important;min-height:52px;border:0;border-radius:13px;background:linear-gradient(135deg,#ff7c24,#f45f00);box-shadow:0 10px 24px rgba(244,95,0,.22); }

/* Review page becomes product cards instead of a legacy table */
body.sabin-checkout-mode .sabin-review-page .sabin-review-intro { margin-bottom:22px;padding:23px 25px;border-radius:18px; }
body.sabin-checkout-mode .sabin-review-page .view-cart-items-header { display:none; }
body.sabin-checkout-mode .sabin-review-page .view-cart-items { display:grid;gap:12px;overflow:visible;margin:0;border:0;background:transparent;box-shadow:none; }
body.sabin-checkout-mode .sabin-review-page .view-cart-items .item,
body.sabin-checkout-mode .sabin-review-page .view-cart-items .item:nth-child(even) { padding:18px;border:1px solid var(--sabin-line);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(5,47,68,.04); }
body.sabin-checkout-mode .sabin-review-page .view-cart-items .item > .row { display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:14px;margin:0; }
body.sabin-checkout-mode .sabin-review-page .view-cart-items .item > .row > div { width:auto;max-width:none;padding:0; }
body.sabin-checkout-mode .sabin-review-page .item-title { color:var(--sabin-navy);font-size:15px!important;font-weight:900; }
body.sabin-checkout-mode .sabin-review-page .item-price { padding:12px!important;border-radius:12px;background:#f6f9fa;text-align:left!important; }
body.sabin-checkout-mode .sabin-review-page .empty-cart { margin:10px 0 0;text-align:right; }
body.sabin-checkout-mode .sabin-review-page .empty-cart .btn { padding:6px 10px;border-radius:8px!important;background:transparent;color:#a26b6b; }
body.sabin-checkout-mode .sabin-review-page .view-cart-tabs { overflow:hidden;margin-top:15px;border-radius:15px; }
body.sabin-checkout-mode .sabin-review-page .view-cart-tabs .nav-tabs { padding:0;border:0;background:#f7fafb; }
body.sabin-checkout-mode .sabin-review-page .view-cart-tabs .nav-link { padding:12px 16px;border:0!important;background:transparent!important;color:var(--sabin-navy);font-weight:800; }
body.sabin-checkout-mode .sabin-review-page .view-cart-tabs .tab-content { padding:14px;background:#fff; }
body.sabin-checkout-mode .sabin-review-page #inputPromotionCode { height:47px;border-radius:11px;border-color:#dce6eb; }
body.sabin-checkout-mode .sabin-review-page .promo .btn { min-height:45px;border:0;border-radius:11px;background:var(--sabin-navy);color:#fff;font-weight:800; }

/* Auth overlay: full Advanced Auth card without nested vertical scrolling */
body.sabin-checkout-mode .sabin-auth-modal { padding:14px; }
body.sabin-checkout-mode .sabin-auth-dialog { width:min(1120px,calc(100vw - 28px));height:min(900px,calc(100vh - 28px));border-radius:22px; }
body.sabin-checkout-mode .sabin-auth-header { min-height:58px;padding:10px 18px; }
body.sabin-checkout-mode .sabin-auth-header h2 { font-size:18px; }
body.sabin-checkout-mode .sabin-auth-kicker { margin:0;font-size:10px; }
body.sabin-checkout-mode .sabin-auth-frame-wrap { flex:1;min-height:0;overflow:hidden; }
body.sabin-checkout-mode .sabin-auth-frame { height:100%;overflow:hidden; }
body.sabin-checkout-mode .sabin-auth-footer { min-height:34px;padding:7px 15px; }

@media (max-width: 991px) {
    body.sabin-checkout-mode .sabin-configure-page #frmConfigureProduct > .row,
    body.sabin-checkout-mode .sabin-review-page > .row > .cart-body > .row { grid-template-columns:1fr; }
    body.sabin-checkout-mode .sabin-configure-page .secondary-cart-sidebar,
    body.sabin-checkout-mode .sabin-review-page .secondary-cart-sidebar { position:static; }
}
@media (max-width: 640px) {
    body.sabin-checkout-mode #order-standard_cart.sabin-cart-page { width:min(100% - 20px,1180px);padding-top:12px; }
    body.sabin-checkout-mode .sabin-stage-heading { padding:15px; }
    body.sabin-checkout-mode .sabin-configure-page .billingcycle-boxes { grid-template-columns:1fr 1fr; }
    body.sabin-checkout-mode .sabin-review-page .view-cart-items .item > .row { grid-template-columns:1fr; }
    body.sabin-checkout-mode .sabin-review-page .item-price { text-align:right!important; }
    body.sabin-checkout-mode .sabin-auth-modal { padding:0; }
    body.sabin-checkout-mode .sabin-auth-dialog { width:100vw;height:100dvh;border-radius:0; }
    body.sabin-checkout-mode .sabin-auth-footer span { display:none; }
}
#order-standard_cart .products .product header span {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}
.btn-success {
    color: #fff;
    background-color: #f26c21;
    border-color: #28a74500;
}

/* Extracted from checkout.tpl */
#order-standard_cart .checkout-error-feedback{
        text-align: right;
}
    #order-standard_cart .sub-heading span, #order-standard_cart .sub-heading-borderless span {
            color: #F66B0E;
                margin-right: -11px;
    }
    .form-bac-sabin {
        background: #fff;
    padding: 14px;
        border-radius: 10px;
    }
    #order-standard_cart .sub-heading {
        text-align: right;
    background: #0000;
    border-top: 1px solid #F66B0E;
    }
    #order-standard_cart .account-select-container div.account.active {
        border-radius: 10px;
    border: 1px solid #F66B0E;
    }
    #order-standard_cart label, #order-standard_cart p.domain-renewal-desc, .service-renewals .div-renewal-period-label {
        height:35px;
    }

/* Extracted from checkout.tpl */
.iradio_square-blue {
                            display: inline-block !important;
                        }

/* Extracted from configuredomains.tpl */
#order-standard_cart .sub-heading span, #order-standard_cart .sub-heading-borderless span {
        color: #F66B0E;
    }
    #order-standard_cart label, #order-standard_cart p.domain-renewal-desc, .service-renewals .div-renewal-period-label {
    margin-right: 0px;
    }
    #order-standard_cart .panel-addon .panel-body {
            margin-bottom: 10px;
    }
    #order-standard_cart .panel-addon .panel-add {
            background-color: #00253a;
    }
    .btn-primary {
        background-color: #F66B0E;
    border-color: #F66B0E;
    }
    .btn-primary:hover {
    color: #fff;
    background-color: #00253a;
    border-color: #00253a;
}
.back-form {
        background: #fff;
    padding: 16px;
}

/* Extracted from configureproduct.tpl */
.billingcycle-boxes {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 20px;
    justify-content: space-evenly;
}

.cycle-box {
  cursor: pointer;
  min-width: 110px;
  padding: 15px 16px;
  border: 2px solid #00253a;
  border-radius: 8px;
  background: #fafaff;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
  font-weight: bold;
  color: #444;
  box-shadow: 0 1px 2px 0 #0001;
}

.cycle-box.selected,
.cycle-box:hover {
    border-color: #F66B0E;
    background: #ffe9d259;
    color: #00253a;
}
.small-line {
    width: 92%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background: #F66B0E;
    float: right;
    margin-right: 15px;
}
#order-standard_cart .order-summary {
    margin: 0 0 20px 0;
    padding: 0;
    background-color: #00253a;
    border-bottom: 3px solid #F66B0E;
    border-radius: 4px;
}
.plan-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#order-standard_cart .order-summary h2 {
        margin: 0;
    padding: 10px;
    color: #fff;
    text-align: right;
    font-size: 1.4em;
    font-weight: 400;
    margin-right: 4px;
}
#order-standard_cart .order-summary .loader {
    position: relative;
    top: 10px;
    height: 0;
    padding-left: 10px;
    text-align: left;
    color: #efefef;
}
#order-standard_cart .field, #order-standard_cart .form-control {
    border: 1px solid #F66B0E;
}
#order-standard_cart .form-control:focus {
    border-color: #F66B0E;
}
#order-standard_cart .field-help-text {
    text-align: right;
    line-height: 2.2;
}
#order-standard_cart label, #order-standard_cart p.domain-renewal-desc, .service-renewals .div-renewal-period-label {
        margin-right: 3px;
        padding: 16px;
}
.irs-slider {
width: 15px !important;
    height: 15px !important;
    top: 19.5px !important;
    background-position: 0 -120px !important;
    background-image: none !important;
    background-color: #F66B0E !important;
    border: 3px solid #F66B0E !important;
    border-radius: 50% !important;
}
.irs-bar {
    height: 4px !important;
    background: #00253a !important;
}
.irs-bar-edge {
    height: 4px !important;
    width: 12px !important;
    background: #00253a !important;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
}
.irs-from, .irs-to, .irs-single {
    padding: 5px 5px 2px 5px !important;
    top: -4px !important;
    background: #00253a !important;
}
.irs-from:after, .irs-to:after, .irs-single:after {
    background: #00253a !important;
}
.billingcycle-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  justify-content: center;
  margin-top: 20px;
  /* اگر می‌خواهی راست‌چین: direction: rtl; */
}

.cycle-box {
  user-select: none;
  flex: 1 1 160px;
  max-width: 260px;
  /* prevent squish if too many, responsive keeps two/three per row */
}

@media (max-width: 991.98px) {
  .billingcycle-boxes {
    gap: 10px 6px;
    margin-top: 14px;
    justify-content: stretch;
  }
  .cycle-box {
    padding: 14px 10px;
    font-size: 14.5px;
    flex: 1 1 48%;
    max-width: 48%;
    min-width: 110px;
  }
}

@media (max-width: 650px) {
  .cycle-box {
    flex-basis: 97%;
    max-width: 99%;
    font-size: 13.2px;
    padding: 12px 5px;
  }
}
@media (min-width:425px) and (max-width: 991px) {
    #order-standard_cart .secondary-cart-sidebar {
        margin: 0 auto;
        width: 40%;
        float: none;
    }
}
@media (min-width:425px) and (max-width: 991px) {
    #order-standard_cart .secondary-cart-body {
        width: 60%;
        float: none;
    }
}

/* Extracted from configureproduct.tpl */
.modal { 
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; 
    overflow: auto; background: rgba(0,0,0,0.30); 
}
.modal-content {
    background: #fff; margin: 10% auto; padding: 20px; border-radius: 6px; width: 90%; max-width: 800px; position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.close {
    position: absolute;left: 12px;top: 10px; font-size: 28px; font-weight: bold; color: #555; cursor: pointer;
}
.modal-content h5 {
    text-align: right;
    font-size: 16px;
}
.modal-content p {
        text-align: justify;
    font-size: 14px;
    line-height: 2;
}

/* Extracted from configureproductdomain.tpl */
.faq-accordion {
  max-width: 100%;
  margin: 40px auto;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  direction: rtl;
  text-align: right;
  height: 330px;
}

.faq-item {
  border-bottom: 1px solid #eee;
      margin-bottom: 15px;
}

.faq-question {
  width: 100%;
    background: #00253A;
    color: #F8F8F8 !important;
  text-align: right;
  padding: 16px;
  font-size: 1.1em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 600;
  border-radius: 15px 15px 15px 15px;
  font-family: 'dana';
}

.faq-question:hover,
.faq-question.active {
  background: #00253A;
  color:  #F8F8F8 !important;
}
.faq-question.active {
      border-radius: 15px 15px 0px 0px;
}

.faq-answer {
  background: #fff;
  color: #444;
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.350s cubic-bezier(.39,.575,.565,1);
  font-size: 1em;
  opacity: 0;
      font-family: 'dana';
}

.faq-answer.open {
  padding: 16px;
  max-height: 300px;
  opacity: 1;
  transition: max-height 0.350s cubic-bezier(.39,.575,.565,1), opacity 0.3s;
}
.faq-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 10px;
    vertical-align: middle;
    border-top: 6px solid #fff0;
    border-bottom: 6px solid #fff0;
    border-right: 8px solid orange;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}
.spotlight-tld {
        border: 1px solid #00253a !important;
}
.spotlight-tld .btn:not(.domain-contact-support) {
    background-color: #f66b0e !important;
    border-color: #f66b0e !important;
}
.spotlight-tlds {
        background-color: #f1f4f7;
}
.suggested-domains .card-header, .suggested-domains .panel-heading {
    border-bottom: 2px solid #f66b0e;
}
.suggested-domains .btn:not(.domain-contact-support) {
    background-color: #f66b0e;
    border-color: #f66b0e;
}

/* Extracted from domainregister.tpl */
/* Sabin domain register page UI - scoped to this template only */
#order-standard_cart.sabin-domain-register-page {
    direction: rtl;
    text-align: right;
}

#order-standard_cart.sabin-domain-register-page *,
#order-standard_cart.sabin-domain-register-page *::before,
#order-standard_cart.sabin-domain-register-page *::after {
    box-sizing: border-box;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-register-body {
    width: 100%;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-page-header,
#order-standard_cart.sabin-domain-register-page .sabin-domain-search-card,
#order-standard_cart.sabin-domain-register-page #DomainSearchResults,
#order-standard_cart.sabin-domain-register-page .sabin-domain-pricing-card,
#order-standard_cart.sabin-domain-register-page .domain-promo-box {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 37, 58, 0.07);
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    margin: 0 0 18px;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-page-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: #00253a;
    box-shadow: 0 8px 20px rgba(0, 37, 58, 0.16);
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-page-title {
    margin: 0;
    color: #00253a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.7;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-page-desc {
    margin: 2px 0 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.9;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-search-card {
    padding: 20px;
    margin: 0 0 20px;
    overflow: hidden;
}

#order-standard_cart.sabin-domain-register-page .domain-checker-bg {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#order-standard_cart.sabin-domain-register-page .input-group-box {
    display: flex !important;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 8px;
    box-shadow: inset 0 0 0 1px rgba(0, 37, 58, 0.02);
    width: 100%;
}

#order-standard_cart.sabin-domain-register-page .input-group-box .form-control {
    height: 50px;
    border: 0;
    box-shadow: none;
    border-radius: 12px !important;
    background: #f8f9fb;
    color: #00253a;
    direction: ltr;
    text-align: left;
    padding: 0 16px;
}

#order-standard_cart.sabin-domain-register-page .input-group-box .form-control:focus {
    background: #fff;
    border: 1px solid rgba(246, 107, 14, 0.35);
    box-shadow: 0 0 0 3px rgba(246, 107, 14, 0.08);
}

#order-standard_cart.sabin-domain-register-page .input-group-box .input-group-btn,
#order-standard_cart.sabin-domain-register-page .input-group-box .input-group-append {
    width: auto;
    display: flex;
    align-items: stretch;
}

#order-standard_cart.sabin-domain-register-page #btnCheckAvailability {
    min-width: 128px;
    border-radius: 12px !important;
    background: #F66B0E;
    border-color: #F66B0E;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(246, 107, 14, 0.20);
}

#order-standard_cart.sabin-domain-register-page #DomainSearchResults {
    padding: 18px;
    margin: 0 0 20px;
}

#order-standard_cart.sabin-domain-register-page .domain-checker-result-headline {
    margin: 0 0 16px;
    padding: 16px;
    border-radius: 16px;
    background: #f8f9fb;
    border: 1px solid #eef0f3;
    text-align: center;
}

#order-standard_cart.sabin-domain-register-page .domain-checker-result-headline p {
    margin-bottom: 10px;
}

#order-standard_cart.sabin-domain-register-page .domain-checker-available,
#order-standard_cart.sabin-domain-register-page .domain-checker-unavailable,
#order-standard_cart.sabin-domain-register-page .domain-checker-invalid {
    font-size: 15px;
    font-weight: 700;
}

#order-standard_cart.sabin-domain-register-page .domain-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

#order-standard_cart.sabin-domain-register-page .spotlight-tlds {
    margin: 16px 0;
}

#order-standard_cart.sabin-domain-register-page .spotlight-tlds-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
}

#order-standard_cart.sabin-domain-register-page .spotlight-tld-container {
    width: auto !important;
    float: none !important;
}

#order-standard_cart.sabin-domain-register-page .spotlight-tld {
    min-height: 132px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef0f3;
    box-shadow: 0 8px 22px rgba(0, 37, 58, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #00253a;
    font-weight: 800;
}

#order-standard_cart.sabin-domain-register-page .suggested-domains {
    margin-top: 18px;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

#order-standard_cart.sabin-domain-register-page .suggested-domains .panel-heading,
#order-standard_cart.sabin-domain-register-page .suggested-domains .card-header {
    background: #00253a;
    color: #fff;
    border: 0;
    padding: 14px 16px;
    font-weight: 800;
    text-align: right;
}

#order-standard_cart.sabin-domain-register-page .domain-suggestion.list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-left: 0;
    border-right: 0;
    padding: 14px 16px;
}

#order-standard_cart.sabin-domain-register-page .domain-suggestion .domain,
#order-standard_cart.sabin-domain-register-page .domain-suggestion .extension {
    color: #00253a;
    font-weight: 800;
}

#order-standard_cart.sabin-domain-register-page .domain-suggestion .actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-pricing-card {
    padding: 18px;
    margin: 0 0 20px;
    overflow: hidden;
}

#order-standard_cart.sabin-domain-register-page .featured-tlds-container {
    margin-bottom: 18px;
}

#order-standard_cart.sabin-domain-register-page .featured-tld {
    min-height: 112px;
    border-radius: 16px;
    border: 1px solid #eef0f3;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 37, 58, 0.05);
    padding: 16px;
    margin-bottom: 14px;
}

#order-standard_cart.sabin-domain-register-page .featured-tld .price {
    color: #F66B0E;
    font-weight: 800;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-pricing-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px;
    color: #00253a;
    font-size: 17px;
    font-weight: 800;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-pricing-title i {
    color: #F66B0E;
}

#order-standard_cart.sabin-domain-register-page .tld-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

#order-standard_cart.sabin-domain-register-page .tld-filters .badge {
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eef0f3;
    color: #00253a;
    font-weight: 700;
    text-decoration: none;
}

#order-standard_cart.sabin-domain-register-page .tld-filters .badge:hover,
#order-standard_cart.sabin-domain-register-page .tld-filters .badge.active,
#order-standard_cart.sabin-domain-register-page .tld-filters .badge:focus {
    background: #F66B0E;
    border-color: #F66B0E;
    color: #fff;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-pricing-table {
    border: 1px solid #eef0f3;
    border-radius: 16px;
    overflow: hidden;
}

#order-standard_cart.sabin-domain-register-page .tld-pricing-header {
    background: #00253a;
    color: #fff;
    font-weight: 800;
    padding: 12px 0;
}

#order-standard_cart.sabin-domain-register-page .tld-row {
    align-items: center;
    border-top: 1px solid #eef0f3;
    padding: 12px 0;
    background: #fff;
    color: #00253a;
}

#order-standard_cart.sabin-domain-register-page .tld-row:nth-child(even) {
    background: #fbfcfd;
}

#order-standard_cart.sabin-domain-register-page .tld-row:hover {
    background: rgba(246, 107, 14, 0.04);
}

#order-standard_cart.sabin-domain-register-page .tld-row strong {
    color: #00253a;
    font-size: 16px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box {
    padding: 18px;
    min-height: 215px;
    margin-bottom: 18px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box i {
    color: #F66B0E;
    margin-left: 12px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box h3 {
    color: #00253a;
    font-weight: 800;
}

#order-standard_cart.sabin-domain-register-page .btn,
#order-standard_cart.sabin-domain-register-page .btn-primary,
#order-standard_cart.sabin-domain-register-page .btn-warning,
#order-standard_cart.sabin-domain-register-page .btn-add-to-cart {
    border-radius: 11px;
    font-weight: 700;
}

#order-standard_cart.sabin-domain-register-page .btn-primary,
#order-standard_cart.sabin-domain-register-page .btn-warning,
#order-standard_cart.sabin-domain-register-page .btn-add-to-cart:not(.unavailable):not(:disabled) {
    background: #F66B0E;
    border-color: #F66B0E;
    color: #fff;
}

#order-standard_cart.sabin-domain-register-page .captcha-container {
    margin-top: 14px;
}

#order-standard_cart.sabin-domain-register-page .default-captcha {
    border: 1px solid #eef0f3;
    border-radius: 14px;
    background: #f8f9fb;
    padding: 14px;
}

#order-standard_cart.sabin-domain-register-page .field-error-msg {
    color: #F66B0E;
    font-size: 12px;
    margin-top: 6px;
}

/* Refined domain search layout */
#order-standard_cart.sabin-domain-register-page .sabin-domain-search-card {
    padding: 22px;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-search-column {
    width: 100%;
    max-width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0;
    padding-left: 0;
}

#order-standard_cart.sabin-domain-register-page .sabin-domain-search-bg form > .row {
    margin-right: 0;
    margin-left: 0;
}

#order-standard_cart.sabin-domain-register-page .input-group-box {
    min-height: 70px;
    align-items: center;
    border-color: #eef0f3;
    background: #fbfcfd;
    box-shadow: 0 8px 22px rgba(0, 37, 58, 0.04);
}

#order-standard_cart.sabin-domain-register-page .input-group-box .form-control {
    height: 54px;
    font-size: 15px;
    background: #fff;
    border: 1px solid #eef0f3;
}

#order-standard_cart.sabin-domain-register-page .input-group-box .form-control:focus {
    border-color: rgba(246, 107, 14, 0.45);
}

#order-standard_cart.sabin-domain-register-page #btnCheckAvailability {
    height: 54px;
    min-width: 155px;
}

/* Refined TLD pricing table */
#order-standard_cart.sabin-domain-register-page .sabin-tld-pricing-table {
    border: 1px solid #e8edf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 37, 58, 0.05);
}

#order-standard_cart.sabin-domain-register-page .tld-pricing-header {
    min-height: 52px;
    align-items: center;
    background: #00253a !important;
    color: #fff !important;
    font-weight: 800;
    padding: 0;
    border: 0;
}

#order-standard_cart.sabin-domain-register-page .tld-pricing-header > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: #fff !important;
}

#order-standard_cart.sabin-domain-register-page .tld-pricing-header .row > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: #fff !important;
}

#order-standard_cart.sabin-domain-register-page .tld-column {
    background: rgba(255, 255, 255, 0.04);
}

#order-standard_cart.sabin-domain-register-page .tld-row {
    min-height: 64px;
    padding: 0;
    border-top: 1px solid #eef0f3;
    transition: background 160ms ease, box-shadow 160ms ease;
}

#order-standard_cart.sabin-domain-register-page .tld-row > div {
    display: flex;
    align-items: center;
    min-height: 64px;
}

#order-standard_cart.sabin-domain-register-page .tld-row > .col-md-4 {
    justify-content: flex-start;
    gap: 8px;
    border-left: 1px solid #eef0f3;
}

#order-standard_cart.sabin-domain-register-page .tld-row > .col-md-8 {
    justify-content: center;
}

#order-standard_cart.sabin-domain-register-page .tld-row .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

#order-standard_cart.sabin-domain-register-page .tld-row .row > div {
    padding-top: 12px;
    padding-bottom: 12px;
    border-left: 1px solid #f1f3f5;
}

#order-standard_cart.sabin-domain-register-page .tld-row .row > div:last-child {
    border-left: 0;
}

#order-standard_cart.sabin-domain-register-page .tld-row strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f8f9fb;
    border: 1px solid #eef0f3;
}

#order-standard_cart.sabin-domain-register-page .tld-row small {
    color: #6c757d;
    font-size: 11px;
}

#order-standard_cart.sabin-domain-register-page .no-tlds {
    min-height: 92px;
}

/* Refined bottom promo cards */
#order-standard_cart.sabin-domain-register-page .domain-promo-box {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 22px;
    overflow: hidden;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: #F66B0E;
    opacity: 0.95;
}

#order-standard_cart.sabin-domain-register-page .sabin-promo-box-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

#order-standard_cart.sabin-domain-register-page .sabin-promo-title-group {
    min-width: 0;
}

#order-standard_cart.sabin-domain-register-page .sabin-promo-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #00253a;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 37, 58, 0.14);
}

#order-standard_cart.sabin-domain-register-page .sabin-promo-icon i {
    margin: 0;
    color: #fff;
    font-size: 22px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box h3 {
    margin: 0 0 3px;
    font-size: 20px;
    line-height: 1.6;
    white-space: normal;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box .font-bold {
    margin: 0;
    color: #F66B0E !important;
    font-size: 13px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box > p:not(.font-bold) {
    color: #6c757d;
    line-height: 1.9;
    margin: 8px 0 18px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box .btn {
    align-self: flex-start;
    margin-top: auto;
    min-width: 138px;
}

#order-standard_cart.sabin-domain-register-page .domain-promo-box .small {
    margin-top: 12px;
    margin-bottom: 0;
    color: #6c757d;
}

@media (max-width: 767px) {
    #order-standard_cart.sabin-domain-register-page .sabin-domain-page-header {
        align-items: flex-start;
        padding: 16px;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-domain-page-title {
        font-size: 18px;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-domain-search-card,
    #order-standard_cart.sabin-domain-register-page #DomainSearchResults,
    #order-standard_cart.sabin-domain-register-page .sabin-domain-pricing-card,
    #order-standard_cart.sabin-domain-register-page .domain-promo-box {
        border-radius: 16px;
        padding: 14px;
    }

    #order-standard_cart.sabin-domain-register-page .input-group-box {
        flex-direction: column;
        gap: 8px;
    }

    #order-standard_cart.sabin-domain-register-page .input-group-box .input-group-btn,
    #order-standard_cart.sabin-domain-register-page .input-group-box .input-group-append,
    #order-standard_cart.sabin-domain-register-page #btnCheckAvailability {
        width: 100%;
    }

    #order-standard_cart.sabin-domain-register-page .domain-price,
    #order-standard_cart.sabin-domain-register-page .domain-suggestion.list-group-item,
    #order-standard_cart.sabin-domain-register-page .domain-suggestion .actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    #order-standard_cart.sabin-domain-register-page .domain-suggestion .actions .btn,
    #order-standard_cart.sabin-domain-register-page .domain-price .btn {
        width: 100%;
    }

    #order-standard_cart.sabin-domain-register-page .tld-pricing-header {
        display: none;
    }

    #order-standard_cart.sabin-domain-register-page .tld-row {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #eef0f3;
        border-radius: 14px;
        padding: 12px;
        overflow: hidden;
    }

    #order-standard_cart.sabin-domain-register-page .tld-row > div {
        display: block;
        min-height: auto;
        margin-bottom: 8px;
        border-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #order-standard_cart.sabin-domain-register-page .tld-row > .col-md-4 {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    #order-standard_cart.sabin-domain-register-page .tld-row .row > div {
        border-left: 0;
        padding: 10px 8px;
        border-radius: 12px;
        background: #f8f9fb;
    }

    #order-standard_cart.sabin-domain-register-page .tld-row .row > div::before {
        display: block;
        margin-bottom: 5px;
        color: #6c757d;
        font-size: 11px;
        font-weight: 700;
    }

    #order-standard_cart.sabin-domain-register-page .tld-row .row > div:nth-child(1)::before {
        content: "ثبت";
    }

    #order-standard_cart.sabin-domain-register-page .tld-row .row > div:nth-child(2)::before {
        content: "انتقال";
    }

    #order-standard_cart.sabin-domain-register-page .tld-row .row > div:nth-child(3)::before {
        content: "تمدید";
    }

    #order-standard_cart.sabin-domain-register-page .domain-promo-box .btn {
        width: 100%;
        align-self: stretch;
    }

    #order-standard_cart.sabin-domain-register-page .spotlight-tlds-container {
        grid-template-columns: 1fr;
    }
}


/* Sabin TLD pricing grid alignment hotfix */
#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-table {
    direction: rtl;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row {
    display: grid !important;
    grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(120px, 1fr));
    align-items: stretch;
    width: 100%;
    margin: 0 !important;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px 14px;
    color: #00253a;
    border-left: 1px solid #eef0f3;
    text-align: center;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-cell:last-child {
    border-left: 0;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-pricing-header {
    background: #00253a !important;
    color: #fff !important;
    min-height: 54px;
    padding: 0 !important;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-pricing-header .sabin-tld-grid-cell {
    min-height: 54px;
    color: #fff !important;
    font-weight: 800;
    border-left-color: rgba(255,255,255,0.12);
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row {
    min-height: 64px;
    padding: 0 !important;
    border-top: 1px solid #eef0f3;
    background: #fff;
    transition: background 160ms ease, box-shadow 160ms ease;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row:nth-child(even) {
    background: #fbfcfd;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row:hover {
    background: rgba(246, 107, 14, 0.04);
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-domain-cell {
    justify-content: flex-start;
    gap: 8px;
    text-align: right;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-empty-cell {
    grid-column: 1 / -1;
    justify-content: center;
    color: #6c757d;
    min-height: 92px;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row > div,
#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row .row > div {
    min-height: unset;
    margin: 0;
    border-left: 1px solid #eef0f3;
}

#order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row > div:last-child {
    border-left: 0;
}

@media (max-width: 767px) {
    #order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-pricing-header {
        display: none !important;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row {
        display: block !important;
        margin-bottom: 10px !important;
        border: 1px solid #eef0f3;
        border-radius: 14px;
        padding: 12px !important;
        overflow: hidden;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row:nth-child(even) {
        background: #fff;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row .sabin-tld-grid-cell {
        display: flex;
        width: 100%;
        min-height: auto;
        margin-bottom: 8px;
        padding: 10px 8px;
        border-left: 0 !important;
        border-radius: 12px;
        background: #f8f9fb;
        justify-content: space-between;
        gap: 12px;
        text-align: left;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row .sabin-tld-domain-cell {
        justify-content: flex-start;
        background: #fff;
        padding: 0 0 10px;
        text-align: right;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-tld-grid-row.tld-row .sabin-tld-grid-cell:not(.sabin-tld-domain-cell)::before {
        content: attr(data-label);
        color: #6c757d;
        font-size: 11px;
        font-weight: 800;
    }

    #order-standard_cart.sabin-domain-register-page .sabin-tld-empty-cell {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }
}

/* Extracted from domaintransfer.tpl */
#order-standard_cart .font-size-36 {
    font-size: 22px;
    text-align: right;
    margin: 20px;
    }
    .bac-form-trans {
        
    }
    .bac-form-trans {
            background: #00253a;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
        border-radius: 10px;
    }
    .panel-body {
            background: #fff;
    border-radius: 10px;
}
.panel-title {
    text-align: right;
    font-size: 18px;
    padding-bottom: 10px;
    }
    #order-standard_cart .field, #order-standard_cart .form-control {
            border: 1px solid #F66B0E;
    height: 50px;
        border-radius: 8px;
    }
    #order-standard_cart label, #order-standard_cart p.domain-renewal-desc, .service-renewals .div-renewal-period-label {
            margin-right: 0px;
    }
    .btn-primary {
    color: #fff;
    background-color: #F66B0E;
    border-color: #F66B0E;
}
#order-standard_cart .font-size-30 {
    font-size: 25px;
    padding-bottom: 15px;
}
#order-standard_cart .field, #order-standard_cart .form-control {
        direction: ltr;
}
#order-standard_cart .field, #order-standard_cart .form-control::placeholder {
    text-align: right;
    direction: rtl;
}
#order-standard_cart .font-size-24 {
    font-size: 18px;
}
@media (max-width:430px){
    #order-standard_cart .font-size-30{
        line-height: 2.2;
    }
}
.tooltip-inner {
    font-family: 'dana', sans-serif !important;
    font-size: 15px; /* یا هر اندازه دلخواه */
    direction: rtl;   /* اگر نیاز است متن راست‌به‌چپ باشد */
    text-align: justify; /* برای راست‌چین کردن */
}

/* Extracted from ordersummary.tpl */
.total-due-today {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
           margin: 20px 0;
}
#order-standard_cart .order-summary .total-due-today .amt {
    font-size: 17px;
}
@media (max-width: 600px) {

    .total-due-today .amt {
        margin-top: 4px;
    }
}

/* Extracted from sabin-right-sidebar-toggle.tpl */
:root {
    --sabin-right-sidebar-width: clamp(320px, 26vw, 360px);
    --sabin-right-sidebar-top: 112px;
    --sabin-sidebar-motion-duration: .48s;
    --sabin-sidebar-motion-ease: cubic-bezier(.22, 1, .36, 1);
}

#sabinSidebarToggleButton {
    position: fixed;
    top: var(--sabin-right-sidebar-top);
    right: 0;
    z-index: 10021;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 10px 0 0 10px;
    background: #00253a;
    color: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
    cursor: pointer;
    outline: 0;
    transform: translateZ(0);
    transition:
        right var(--sabin-sidebar-motion-duration) var(--sabin-sidebar-motion-ease),
        background-color .24s ease,
        box-shadow .24s ease,
        transform .24s ease;
}

#sabinSidebarToggleButton:hover,
#sabinSidebarToggleButton:focus {
    background: #F66B0E;
    color: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .23);
}

#sabinSidebarToggleButton:active {
    transform: translateZ(0) scale(.96);
}

#sabinSidebarToggleButton i {
    font-size: 18px;
    line-height: 1;
    transition: transform .32s var(--sabin-sidebar-motion-ease);
}

body.sabin-right-sidebar-available #sabinSidebarToggleButton {
    display: flex;
}

body.sabin-right-sidebar-open #sabinSidebarToggleButton {
    right: min(var(--sabin-right-sidebar-width), 92vw);
}

body.sabin-right-sidebar-available #sabinRightSidebar {
    display: block !important;
    position: fixed !important;
    top: var(--sabin-right-sidebar-top) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 10020 !important;
    width: min(var(--sabin-right-sidebar-width), 92vw) !important;
    max-width: 92vw !important;
    height: auto !important;
    max-height: calc(100vh - var(--sabin-right-sidebar-top)) !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(calc(100% + 6px), 0, 0);
    box-shadow: -12px 10px 36px rgba(0, 0, 0, .16);
    transition:
        transform var(--sabin-sidebar-motion-duration) var(--sabin-sidebar-motion-ease),
        opacity .34s ease,
        visibility 0s linear var(--sabin-sidebar-motion-duration);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

body.sabin-right-sidebar-open #sabinRightSidebar {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
        transform var(--sabin-sidebar-motion-duration) var(--sabin-sidebar-motion-ease),
        opacity .30s ease,
        visibility 0s linear 0s;
}

#sabinRightSidebarBackdrop {
    position: fixed;
    inset: 0;
    z-index: 10019;
    display: block;
    visibility: hidden;
    background: rgba(0, 0, 0, .22);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity .32s ease,
        visibility 0s linear .32s;
}

body.sabin-right-sidebar-open #sabinRightSidebarBackdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition:
        opacity .32s ease,
        visibility 0s linear 0s;
}

/*
 * The original sidebar column must never reserve space while the drawer is closed.
 * The sidebar itself is position:fixed, so only its old layout branch is collapsed.
 */
.sabin-sidebar-layout-branch {
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.sabin-order-main-expanded {
    min-width: 0 !important;
    transition:
        width var(--sabin-sidebar-motion-duration) var(--sabin-sidebar-motion-ease),
        max-width var(--sabin-sidebar-motion-duration) var(--sabin-sidebar-motion-ease),
        flex-basis var(--sabin-sidebar-motion-duration) var(--sabin-sidebar-motion-ease);
}

/* Desktop: full width while closed, reserve exactly the drawer width while open. */
@media (min-width: 992px) {
    body.sabin-right-sidebar-available:not(.sabin-right-sidebar-open) .sabin-order-main-expanded {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    body.sabin-right-sidebar-open .sabin-order-main-expanded {
        width: calc(100% - var(--sabin-right-sidebar-width)) !important;
        max-width: calc(100% - var(--sabin-right-sidebar-width)) !important;
        flex: 0 0 calc(100% - var(--sabin-right-sidebar-width)) !important;
    }

    /* On desktop the page genuinely becomes narrower, so no dimming overlay is needed. */
    #sabinRightSidebarBackdrop {
        display: none !important;
    }
}

/* Tablet/mobile: drawer overlays the page so the buying form never becomes unusably narrow. */
@media (max-width: 991px) {
    :root {
        --sabin-right-sidebar-width: min(340px, 88vw);
    }

    .sabin-order-main-expanded,
    body.sabin-right-sidebar-open .sabin-order-main-expanded,
    body.sabin-right-sidebar-available:not(.sabin-right-sidebar-open) .sabin-order-main-expanded {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    #sabinSidebarToggleButton {
        width: 40px;
        height: 48px;
        border-radius: 9px 0 0 9px;
    }

    body.sabin-right-sidebar-available #sabinRightSidebar {
        width: min(340px, 88vw) !important;
        max-width: 88vw !important;
    }

    body.sabin-right-sidebar-open #sabinSidebarToggleButton {
        right: min(340px, 88vw);
    }

    body.sabin-right-sidebar-open {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    #sabinSidebarToggleButton,
    #sabinSidebarToggleButton i,
    #sabinRightSidebar,
    #sabinRightSidebarBackdrop,
    .sabin-order-main-expanded {
        transition: none !important;
    }
}

/* Extracted from steps.tpl */
.youre-here {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
	    margin-bottom: 45px;
	padding: 0px;
	border-radius: 15px;
	align-items: center;
}

.youre-here .sep {
	height: 2px;
	background: #E2E8F0;
	width: 100%;
    border-radius: 15px;
}

.youre-here .step {
    flex: 1 1 200px;
    padding: 25px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    min-width: 128px;
}
.youre-here .step:first-child {
    margin-right: 0;
}
.youre-here .step span{
	display: inline-block;
    margin-top: 10px;
}
.youre-here .step:last-child {
    margin-left: 0;
}
.youre-here .step svg {
    width: 60px;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
}
.youre-here .step.active svg{
    background: #ffed95;
}
svg {
    max-width: 100%;
    height: auto;
}

/* موبایل و تبلت: دو تا در هر ردیف */
@media (max-width: 991.98px) {
  .youre-here {
    
    gap: 0;
    justify-content: center;
  }
  .youre-here .step {
    flex: 1 1 48%;
    min-width: 130px;
    margin: 0 1% 16px 1%;
    padding: 18px 6px;
    font-size: 13.5px;
  }
  .youre-here .sep {
    display: none !important; /* sep فقط در دسکتاپ */
  }
}

/* موبایل کاملا کوچک */
@media (max-width: 600px) {
  .youre-here .step {
    flex-basis: 33%;
    min-width: 88px;
    font-size: 12.5px;
  }
}

/* Extracted from viewcart.tpl */
#order-standard_cart .view-cart-items-header {
    text-align: right;
    background-color: #00253a;
    }
    #order-standard_cart .view-cart-items .item span:not(.caret):not(.renewal-price) {
        text-align: center;
    }
    #order-standard_cart .view-cart-items {
        border-bottom: 2px solid #F66B0E;
    }
    #order-standard_cart .empty-cart {
            text-align: left !important;
    }
    #order-standard_cart .empty-cart .btn {
            background-color: #F66B0E;
    }
    #order-standard_cart .view-cart-tabs {
        margin: 20px 0 20px 0px;
    background: #fff;
    padding: 18px;
    }
    #order-standard_cart .view-cart-tabs .tab-content {
        background-color: #00253a;
    }
    #order-standard_cart .field-icon i {
    color: #F66B0E;
    float: left;
}
#order-standard_cart .prepend-icon .field-icon {
    left: 0;
}
#order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded=true], #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected=true] {
    border-color: #00253a #00253a #00253a;
    background-color: #00253a;
    color: #ffff;
}

#order-standard_cart .order-summary {
    margin: 0 0 20px 0;
    padding: 0;
    background-color: #00253a;
    border-bottom: 3px solid #F66B0E;
    border-radius: 4px;
}
.small-line {
    width: 92%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background: #F66B0E;
    float: right;
    margin-right: 15px;
}
#order-standard_cart .order-summary h2 {
    margin: 0;
    padding: 10px;
    color: #fff;
    text-align: right;
    font-size: 1.4em;
    font-weight: 400;
    margin-right: 4px;
}
.total-due-today {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}
#order-standard_cart .order-summary .total-due-today .amt {
    font-size: 17px;
}
#order-standard_cart .view-cart-tabs .nav-tabs {
    padding-right: 0px;
    font-size: .8em;
}
#order-standard_cart .view-cart-items .item:nth-child(even) {
    background-color: #f66b0e0d;
}
#order-standard_cart .view-cart-items .item-title {
    font-size: 14px;
        margin-bottom: 14px;
}
.dropdown-menu {
   left: 0px !important;
    right: unset !important
}
@media only screen and (max-width: 991px) {
    #order-standard_cart .secondary-cart-sidebar {
        margin: 0 auto;
        width: 100%;
        float: none;
    }
}

/* Styles formerly expressed by multiline or state-dependent attributes. */
.sabin-checkout-complete-button {
    display: block !important;
    margin: 20px auto 0 !important;
}

.sabin-error-cart-body {
    text-align: center !important;
    background: #fff !important;
    padding: 50px !important;
    border-radius: 12px !important;
}

/* Dynamic recommendation colors (value supplied from data-color by JS). */
.product-recommendation[data-color] {
    border-color: var(--sabin-recommendation-color);
}
.product-recommendation[data-color] .price,
.product-recommendation[data-color] .expander {
    color: var(--sabin-recommendation-color);
}
.product-recommendation[data-color] .btn-add,
.product-recommendation[data-color] .arrow {
    background-color: var(--sabin-recommendation-color);
}

/* Former inline style: addons.tpl */
.sabin-inline-addons-01 {
    font-size: 20px !important;
    text-align: right !important;
    margin-top: 22px !important;
    margin-bottom: 30px !important;
}

/* Former inline style: addons.tpl */
.sabin-inline-addons-02 {
    font-size: 14px !important;
    text-align: right !important;
    line-height: 2.2 !important;
}

/* Former inline style: addons.tpl */
.sabin-inline-addons-03 {
    float: left !important;
}

/* Former inline style: checkout.tpl */
.sabin-inline-checkout-01 {
    background: #fff !important;
}

/* Former inline style: checkout.tpl */
.sabin-inline-checkout-02 {
    margin-right: 4px !important;
    font-size: 14px !important;
    font-weight: 100 !important;
    text-align: right !important;
}

/* Former inline style: checkout.tpl */
.sabin-inline-checkout-03 {
    text-align: center !important;
    color: #318100 !important;
    font-size: 16px !important;
}

/* Former inline style: checkout.tpl */
.sabin-inline-checkout-04 {
    text-align: center !important;
}

/* Former inline style: checkout.tpl */
.sabin-inline-checkout-05 {
    line-height: 32px !important;
}

/* Former inline style: complete.tpl */
.sabin-inline-complete-01 {
    text-align: center !important;
    background: #fff !important;
    padding: 35px !important;
    margin-top: 20px !important;
}

/* Former inline style: complete.tpl */
.sabin-inline-complete-02 {
    font-size: 30px !important;
    padding: 15px !important;
}

/* Former inline style: configuredomains.tpl */
.sabin-inline-configuredomains-01 {
    text-align: right !important;
    font-size: 16px !important;
    margin-top: 16px !important;
    font-weight: 800 !important;
}

/* Former inline style: configuredomains.tpl */
.sabin-inline-configuredomains-02 {
    text-align: right !important;
    font-size: 14px !important;
    margin-top: 18px !important;
}

/* Former inline style: configuredomains.tpl */
.sabin-inline-configuredomains-03 {
    text-align: right !important;
}

/* Former inline style: configuredomains.tpl */
.sabin-inline-configuredomains-04 {
    text-align: right !important;
}

/* Former inline style: configuredomains.tpl */
.sabin-inline-configuredomains-05 {
    color: #009900 !important;
}

/* Former inline style: configuredomains.tpl */
.sabin-inline-configuredomains-06 {
    color: #cc0000 !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-01 {
    margin-top: 0px !important;
    background: #f1f4f7 !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-02 {
    margin-top: 20px !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-03 {
    font-size: 14px !important;
    color: #00253a !important;
    text-align: center !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-04 {
    direction: rtl !important;
    text-align: right !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-05 {
    border: 1px solid #F66B0E !important;
    padding: 15px !important;
    margin: 15px 15px 15px 15px !important;
    max-width: 96% !important;
    border-radius: 8px !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-06 {
    display: none !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-07 {
    color: #fff !important;
    font-size: 16px !important;
    text-align: right !important;
    margin-top: 11px !important;
    margin-right: 11px !important;
}

/* Former inline style: configureproduct.tpl */
.sabin-inline-configureproduct-08 {
    width: 60% !important;
    padding: 8px 4px 4px !important;
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-01 {
    width: 100px !important;
    margin-bottom: 15px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-02 {
    margin-top: 5px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-03 {
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-04 {
    font-size: 14px !important;
    padding-top: 9px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-05 {
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-06 {
    font-size: 14px !important;
    padding-top: 9px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-07 {
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-08 {
    font-size: 14px !important;
    padding-top: 9px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-09 {
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-10 {
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-11 {
    color: #f66b0e !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-12 {
    display: block !important;
    color: #f66b0e !important;
    margin-bottom: 10px !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-13 {
    display: block !important;
    color: #00253a !important;
}

/* Former inline style: configureproductdomain.tpl */
.sabin-inline-configureproductdomain-14 {
    margin-top: 15px !important;
    background: #f66b0e !important;
    border: 0px !important;
    font-size: 16px !important;
}

/* Former inline style: domainregister.tpl */
.sabin-inline-domainregister-01 {
    background: #0a2d41 !important;
}

/* Former inline style: domaintransfer.tpl */
.sabin-inline-domaintransfer-01 {
    display: block !important;
    margin: auto !important;
}

/* Former inline style: domaintransfer.tpl */
.sabin-inline-domaintransfer-02 {
    width: 100% !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-01 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-02 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-03 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-04 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-05 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-06 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-07 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: ordersummary.tpl */
.sabin-inline-ordersummary-08 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-01 {
    text-align: left !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-02 {
    text-align: left !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-03 {
    text-align: left !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-04 {
    text-align: left !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-05 {
    text-align: left !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-06 {
    text-align: left !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-07 {
    color: #fff !important;
    font-size: 16px !important;
    text-align: right !important;
    margin-top: 11px !important;
    margin-right: 11px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-08 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-09 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-10 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-11 {
    margin-bottom: 25px !important;
    margin-top: 25px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-12 {
    width: 60% !important;
    padding: 8px 4px 4px !important;
    background: #F66B0E !important;
    border: 0px !important;
}

/* Former inline style: viewcart.tpl */
.sabin-inline-viewcart-13 {
    width: 60% !important;
    padding: 8px 4px 4px !important;
    background: #F66B0E !important;
    border: 0px !important;
}

/* Phase 1: visual alignment with the Sabin client-area checkout shell. */
body.sabin-checkout-mode #order-standard_cart {
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
    padding-bottom: 24px;
    color: #173447;
    font-family: inherit;
}

body.sabin-checkout-mode #order-standard_cart > .row {
    margin-right: -10px;
    margin-left: -10px;
}

body.sabin-checkout-mode #order-standard_cart .cart-body {
    width: 100%;
    float: none;
    padding-right: 10px;
    padding-left: 10px;
}

body.sabin-checkout-mode #order-standard_cart .header-lined h1,
body.sabin-checkout-mode #order-standard_cart h1,
body.sabin-checkout-mode #order-standard_cart h2,
body.sabin-checkout-mode #order-standard_cart h3 {
    color: #00253a;
    font-family: inherit;
}

body.sabin-checkout-mode #order-standard_cart .form-control,
body.sabin-checkout-mode #order-standard_cart select.form-control,
body.sabin-checkout-mode #order-standard_cart textarea.form-control {
    min-height: 44px;
    border-color: #dbe5ea;
    border-radius: 9px;
    box-shadow: none;
}

body.sabin-checkout-mode #order-standard_cart .form-control:focus {
    border-color: #f66b0e;
    box-shadow: 0 0 0 3px rgba(246, 107, 14, 0.12);
}

body.sabin-checkout-mode #order-standard_cart .btn-primary,
body.sabin-checkout-mode #order-standard_cart .btn-success,
body.sabin-checkout-mode #order-standard_cart .btn-order-now,
body.sabin-checkout-mode #order-standard_cart .btn-checkout {
    border-color: #f66b0e;
    border-radius: 9px;
    background: #f66b0e;
    color: #fff;
    box-shadow: none;
}

body.sabin-checkout-mode #order-standard_cart .btn-primary:hover,
body.sabin-checkout-mode #order-standard_cart .btn-success:hover,
body.sabin-checkout-mode #order-standard_cart .btn-order-now:hover,
body.sabin-checkout-mode #order-standard_cart .btn-checkout:hover {
    border-color: #dd5905;
    background: #dd5905;
}

body.sabin-checkout-mode #order-standard_cart .secondary-cart-body,
body.sabin-checkout-mode #order-standard_cart .secondary-cart-sidebar {
    padding-right: 10px;
    padding-left: 10px;
}

body.sabin-checkout-mode #order-standard_cart .order-summary,
body.sabin-checkout-mode #order-standard_cart .view-cart-items,
body.sabin-checkout-mode #order-standard_cart .field-container,
body.sabin-checkout-mode #order-standard_cart .domain-selection-options .option {
    border-radius: 12px;
}

body.sabin-checkout-mode #order-standard_cart .youre-here {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991px) {
    body.sabin-checkout-mode #order-standard_cart .secondary-cart-body,
    body.sabin-checkout-mode #order-standard_cart .secondary-cart-sidebar {
        width: 100%;
        float: none;
    }

    body.sabin-checkout-mode #order-standard_cart .secondary-cart-sidebar {
        margin: 18px auto 0;
    }
}

@media (max-width: 575px) {
    body.sabin-checkout-mode #order-standard_cart {
        padding-bottom: 12px;
    }

    body.sabin-checkout-mode #order-standard_cart .btn-lg,
    body.sabin-checkout-mode #order-standard_cart .btn-checkout {
        width: 100% !important;
        min-height: 46px;
    }
}

/* Checkout experience — phase 3 */
body.sabin-checkout-mode .sabin-review-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
    padding: 22px 24px;
    border: 1px solid #e1eaee;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #f7fafb 100%);
    box-shadow: 0 10px 30px rgba(11, 43, 58, .05);
}

body.sabin-checkout-mode .sabin-review-eyebrow,
body.sabin-checkout-mode .sabin-auth-kicker {
    display: block;
    margin-bottom: 5px;
    color: #f47b20;
    font-size: 12px;
    font-weight: 800;
}

body.sabin-checkout-mode .sabin-review-intro h1 {
    margin: 0 0 6px;
    color: #102f3e;
    font-size: 25px;
    font-weight: 900;
}

body.sabin-checkout-mode .sabin-review-intro p {
    margin: 0;
    color: #667d89;
    font-size: 13px;
}

body.sabin-checkout-mode .sabin-review-secure {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    background: #eaf8f1;
    color: #168451;
    font-size: 12px;
    font-weight: 800;
}

body.sabin-checkout-mode .sabin-review-secure i { margin-left: 6px; }

body.sabin-checkout-mode .sabin-payment-page .form-bac-sabin {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.sabin-checkout-mode .sabin-payment-page #frmCheckout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 18px;
    align-items: start;
}

body.sabin-checkout-mode .sabin-payment-page #frmCheckout > * {
    grid-column: 1;
    min-width: 0;
}

body.sabin-checkout-mode .sabin-payment-page .sabin-checkout-final-panel {
    grid-column: 2;
    grid-row: 1 / span 20;
    position: sticky;
    top: 24px;
    overflow: hidden;
    border: 1px solid #dce6ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(13, 46, 62, .11);
}

body.sabin-checkout-mode .sabin-checkout-customer-panel,
body.sabin-checkout-mode .sabin-checkout-method-panel,
body.sabin-checkout-mode .sabin-payment-page #frmCheckout > .sub-heading,
body.sabin-checkout-mode .sabin-payment-page #paymentGatewayInput,
body.sabin-checkout-mode .sabin-payment-page .cc-input-container,
body.sabin-checkout-mode .sabin-payment-page .marketing-email-optin {
    margin: 0;
    padding: 22px;
    border: 1px solid #e1e9ed;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(13, 46, 62, .045);
}

body.sabin-checkout-mode .sabin-checkout-section-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

body.sabin-checkout-mode .sabin-checkout-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: #fff1e7;
    color: #f47b20;
    font-size: 17px;
}

body.sabin-checkout-mode .sabin-checkout-section-head h2 {
    margin: 0 0 3px;
    color: #123444;
    font-size: 18px;
    font-weight: 900;
}

body.sabin-checkout-mode .sabin-checkout-section-head p {
    margin: 0;
    color: #728691;
    font-size: 12px;
}

body.sabin-checkout-mode .sabin-payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

body.sabin-checkout-mode .sabin-payment-method-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #dce6ea;
    border-radius: 13px;
    background: #fbfcfd;
    color: #294957;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

body.sabin-checkout-mode .sabin-payment-method-choice:hover {
    border-color: #f6a064;
    background: #fffaf7;
}

body.sabin-checkout-mode .sabin-payment-method-choice.is-selected {
    border-color: #f47b20;
    background: #fff6ef;
    box-shadow: 0 0 0 3px rgba(244, 123, 32, .1);
}

body.sabin-checkout-mode .sabin-payment-method-choice input {
    accent-color: #f47b20;
}

body.sabin-checkout-mode .sabin-payment-page .account-select-container { margin: -5px; }
body.sabin-checkout-mode .sabin-payment-page .account-select-container > div { padding: 5px; }
body.sabin-checkout-mode .sabin-payment-page .account {
    min-height: 62px;
    padding: 13px;
    border: 1px solid #dce6ea;
    border-radius: 13px;
    background: #fbfcfd;
}
body.sabin-checkout-mode .sabin-payment-page .account.active {
    border-color: #f47b20;
    background: #fff6ef;
    box-shadow: 0 0 0 3px rgba(244, 123, 32, .08);
}

body.sabin-checkout-mode .sabin-checkout-final-head {
    padding: 22px;
    background: linear-gradient(135deg, #123a4d 0%, #0b2b3a 100%);
    color: #fff;
}

body.sabin-checkout-mode .sabin-checkout-final-head span {
    display: block;
    margin-bottom: 6px;
    color: #cbdce4;
    font-size: 12px;
}

body.sabin-checkout-mode .sabin-checkout-final-head strong {
    display: block;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

body.sabin-checkout-mode .sabin-checkout-terms { margin: 0; padding: 18px 18px 8px; }
body.sabin-checkout-mode .sabin-checkout-terms label { display: flex; align-items: flex-start; gap: 7px; line-height: 1.8; }
body.sabin-checkout-mode .sabin-checkout-terms input { margin-top: 6px; accent-color: #f47b20; }

body.sabin-checkout-mode .sabin-checkout-complete-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: calc(100% - 36px);
    min-height: 54px;
    margin: 14px 18px 10px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #ff8a32, #ef6d10);
    box-shadow: 0 10px 22px rgba(239, 109, 16, .25);
    font-size: 15px;
    font-weight: 900;
}

body.sabin-checkout-mode .sabin-checkout-complete-button:hover,
body.sabin-checkout-mode .sabin-checkout-complete-button:focus {
    background: linear-gradient(135deg, #f77c23, #df6108);
    transform: translateY(-1px);
}

body.sabin-checkout-mode .sabin-checkout-final-trust {
    margin: 0;
    padding: 4px 18px 18px;
    color: #70838d;
    font-size: 11px;
    text-align: center;
}
body.sabin-checkout-mode .sabin-checkout-final-trust i { margin-left: 5px; color: #168451; }

body.sabin-checkout-mode .sabin-auth-modal[hidden] { display: none !important; }
body.sabin-checkout-mode .sabin-auth-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
body.sabin-checkout-mode .sabin-auth-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(5, 25, 35, .72);
    backdrop-filter: blur(4px);
}
body.sabin-checkout-mode .sabin-auth-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    height: min(760px, calc(100vh - 40px));
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}
body.sabin-checkout-mode .sabin-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid #e6edf0;
}
body.sabin-checkout-mode .sabin-auth-header h2 { margin: 0; color: #123444; font-size: 20px; font-weight: 900; }
body.sabin-checkout-mode .sabin-auth-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    background: #f1f5f6;
    color: #35525f;
}
body.sabin-checkout-mode .sabin-auth-frame-wrap { flex: 1; min-height: 0; background: #f5f8fa; }
body.sabin-checkout-mode .sabin-auth-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
body.sabin-checkout-mode .sabin-auth-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid #e6edf0;
    color: #6b7f89;
    font-size: 11px;
}
body.sabin-checkout-mode .sabin-auth-footer i { color: #168451; }
body.sabin-checkout-mode .sabin-auth-footer a { margin-right: auto; color: #f47b20; font-weight: 800; }

@media (max-width: 991px) {
    body.sabin-checkout-mode .sabin-payment-page #frmCheckout { grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 767px) {
    body.sabin-checkout-mode .sabin-review-intro { align-items: flex-start; padding: 18px; }
    body.sabin-checkout-mode .sabin-review-intro h1 { font-size: 21px; }
    body.sabin-checkout-mode .sabin-payment-page #frmCheckout { display: flex; flex-direction: column; }
    body.sabin-checkout-mode .sabin-payment-page #frmCheckout > * { width: 100%; }
    body.sabin-checkout-mode .sabin-payment-page .sabin-checkout-final-panel { position: static; order: 50; }
    body.sabin-checkout-mode .sabin-payment-method-grid { grid-template-columns: 1fr; }
    body.sabin-checkout-mode .sabin-auth-modal { padding: 8px; }
    body.sabin-checkout-mode .sabin-auth-dialog { height: calc(100vh - 16px); border-radius: 15px; }
    body.sabin-checkout-mode .sabin-auth-footer span { display: none; }
}

@media (max-width: 480px) {
    body.sabin-checkout-mode .sabin-review-intro { display: block; }
    body.sabin-checkout-mode .sabin-review-secure { display: inline-block; margin-top: 12px; }
    body.sabin-checkout-mode .sabin-checkout-customer-panel,
    body.sabin-checkout-mode .sabin-checkout-method-panel { padding: 16px; border-radius: 14px; }
}

/* Phase 2: conversion-focused order flow. */
body.sabin-checkout-mode #order-standard_cart.sabin-cart-page {
    --sabin-cart-navy: #00253a;
    --sabin-cart-orange: #f66b0e;
    --sabin-cart-orange-dark: #dd5905;
    --sabin-cart-text: #173447;
    --sabin-cart-muted: #6b7f8c;
    --sabin-cart-border: #dfe8ed;
    --sabin-cart-soft: #f5f8fa;
    --sabin-cart-success: #168451;
}

/* Compact, truthful progress indicator matching the four live WHMCS steps. */
body.sabin-checkout-mode .sabin-checkout-progress {
    width: 100%;
    max-width: 760px;
    margin: 2px auto 28px;
    padding: 0;
}

body.sabin-checkout-mode .sabin-checkout-progress ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

body.sabin-checkout-mode .sabin-checkout-progress ol::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 17px;
    right: 12.5%;
    left: 12.5%;
    height: 2px;
    background: #dfe8ed;
}

body.sabin-checkout-mode .sabin-progress-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    color: #758995;
    text-align: center;
    font-size: 12px;
}

body.sabin-checkout-mode .sabin-progress-marker {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dfe8ed;
    border-radius: 50%;
    background: #fff;
    color: #758995;
    font-weight: 700;
    box-shadow: 0 0 0 5px #f5f8fa;
}

body.sabin-checkout-mode .sabin-progress-step.is-complete .sabin-progress-marker {
    border-color: #168451;
    background: #168451;
    color: #fff;
}

body.sabin-checkout-mode .sabin-progress-step.is-current {
    color: #00253a;
    font-weight: 700;
}

body.sabin-checkout-mode .sabin-progress-step.is-current .sabin-progress-marker {
    border-color: #f66b0e;
    background: #f66b0e;
    color: #fff;
}

body.sabin-checkout-mode .sabin-progress-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Domain selection: one focused decision surface; unrelated FAQ is removed. */
body.sabin-checkout-mode .sabin-domain-select-page > .row > .cart-body > .text-center {
    margin: 0 auto 14px;
}

body.sabin-checkout-mode .sabin-domain-select-page > .row > .cart-body > .text-center svg {
    width: 70px !important;
    margin-bottom: 8px !important;
    padding: 14px;
    border-radius: 18px;
    background: #fff2e9;
}

body.sabin-checkout-mode .sabin-domain-select-page > .row > .cart-body > .text-center h3 {
    margin: 0 !important;
    font-size: 22px;
}

body.sabin-checkout-mode .sabin-domain-select-page .sabin-form-cart {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid #dfe8ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 37, 58, 0.06);
}

body.sabin-checkout-mode .sabin-domain-select-page .domain-selection-options {
    display: grid;
    gap: 12px;
}

body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe8ed;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option:has(input[type="radio"]:checked) {
    border-color: #f66b0e;
    background: #fffaf7;
    box-shadow: 0 0 0 3px rgba(246, 107, 14, 0.09);
}

body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #173447;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label input {
    flex: 0 0 auto;
    margin: 0;
    accent-color: #f66b0e;
}

body.sabin-checkout-mode .sabin-domain-select-page .domain-input-group {
    padding: 0 16px 16px;
}

body.sabin-checkout-mode .sabin-domain-select-page .domain-input-group .row {
    align-items: center;
}

body.sabin-checkout-mode .sabin-domain-select-page #DomainSearchResults {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #dfe8ed;
    border-radius: 12px;
    background: #f8fafb;
}

body.sabin-checkout-mode .sabin-domain-select-page #btnDomainContinue {
    min-width: 240px;
    min-height: 46px;
}

body.sabin-checkout-mode .sabin-domain-select-page .faq-accordion {
    display: none !important;
}

/* Product configuration: scannable form and persistent order summary. */
body.sabin-checkout-mode .sabin-configure-page #frmConfigureProduct > .row,
body.sabin-checkout-mode .sabin-review-page > .row > .cart-body > .row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

body.sabin-checkout-mode .sabin-configure-page .secondary-cart-body {
    width: 64%;
    padding: 22px !important;
    border: 1px solid #dfe8ed;
    border-radius: 16px;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(0, 37, 58, 0.05);
}

body.sabin-checkout-mode .sabin-configure-page .secondary-cart-sidebar,
body.sabin-checkout-mode .sabin-review-page .secondary-cart-sidebar {
    width: 36%;
    position: sticky;
    top: 20px;
}

body.sabin-checkout-mode .sabin-configure-page .field-container {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #e4ebef;
    border-radius: 12px;
    background: #fff;
}

body.sabin-checkout-mode .sabin-configure-page .field-container:last-child {
    margin-bottom: 0;
}

body.sabin-checkout-mode .sabin-configure-page .billingcycle-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body.sabin-checkout-mode .sabin-configure-page .cycle-box {
    min-height: 54px;
    margin: 0;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe8ed;
    border-radius: 10px;
    background: #fff;
    color: #173447;
    cursor: pointer;
}

body.sabin-checkout-mode .sabin-configure-page .cycle-box:hover {
    border-color: #f5ad7d;
}

body.sabin-checkout-mode .sabin-configure-page .cycle-box.selected {
    border-color: #f66b0e;
    background: #fff2e9;
    color: #00253a;
    box-shadow: 0 0 0 3px rgba(246, 107, 14, 0.08);
}

body.sabin-checkout-mode .sabin-configure-page .panel-addon {
    overflow: hidden;
    border: 1px solid #dfe8ed;
    border-radius: 11px;
    box-shadow: none;
}

body.sabin-checkout-mode .sabin-configure-page .panel-addon.panel-addon-selected {
    border-color: #f66b0e;
    background: #fffaf7;
}

body.sabin-checkout-mode .sabin-configure-page .order-summary,
body.sabin-checkout-mode .sabin-review-page .order-summary {
    overflow: hidden;
    border: 1px solid #dfe8ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 37, 58, 0.08);
}

body.sabin-checkout-mode .sabin-configure-page .order-summary > h2,
body.sabin-checkout-mode .sabin-review-page .order-summary > h2 {
    margin: 0;
    padding: 17px 18px;
    background: #00253a;
    color: #fff !important;
    font-size: 18px !important;
    text-align: right;
}

body.sabin-checkout-mode .sabin-configure-page .order-summary .product-title,
body.sabin-checkout-mode .sabin-review-page .order-summary .product-title {
    margin: 0 !important;
    padding: 13px 18px;
    background: #0a344b !important;
    color: #fff !important;
    font-size: 14px !important;
}

body.sabin-checkout-mode .sabin-configure-page .summary-container,
body.sabin-checkout-mode .sabin-review-page .order-summary .summary-container {
    padding: 2px 18px;
}

body.sabin-checkout-mode .sabin-configure-page #btnCompleteProductConfig,
body.sabin-checkout-mode .sabin-review-page .btn-checkout {
    width: calc(100% - 28px) !important;
    min-height: 48px;
    margin: 14px !important;
    padding: 11px 14px !important;
    font-size: 15px;
    font-weight: 700;
}

/* Cart review: cleaner item list, lower-emphasis secondary actions. */
body.sabin-checkout-mode .sabin-review-page .secondary-cart-body {
    width: 64%;
}

body.sabin-checkout-mode .sabin-review-page .view-cart-items-header {
    padding: 13px 16px;
    border: 1px solid #dfe8ed;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: #00253a;
    color: #fff;
    font-size: 13px;
}

body.sabin-checkout-mode .sabin-review-page .view-cart-items {
    overflow: hidden;
    border: 1px solid #dfe8ed;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 37, 58, 0.045);
}

body.sabin-checkout-mode .sabin-review-page .view-cart-items .item {
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom-color: #e7edf1;
    background: #fff;
}

body.sabin-checkout-mode .sabin-review-page .view-cart-items .item:nth-child(even) {
    background: #fbfcfd;
}

body.sabin-checkout-mode .sabin-review-page .btn-remove-from-cart,
body.sabin-checkout-mode .sabin-review-page .empty-cart .btn {
    color: #8a9aa4;
}

body.sabin-checkout-mode .sabin-review-page .view-cart-tabs {
    margin-top: 16px;
    border: 1px solid #e4ebef;
    border-radius: 12px;
    background: #fff;
}

body.sabin-checkout-mode .sabin-review-page .view-cart-tabs .tab-content {
    border: 0;
    border-radius: 12px;
    background: #fff;
}

body.sabin-checkout-mode .sabin-checkout-security-note {
    margin: 0 16px 16px;
    color: #6b7f8c;
    font-size: 12px;
    text-align: center;
}

body.sabin-checkout-mode .sabin-checkout-security-note i {
    margin-left: 5px;
    color: #168451;
}

@media (max-width: 991px) {
    body.sabin-checkout-mode .sabin-configure-page #frmConfigureProduct > .row,
    body.sabin-checkout-mode .sabin-review-page > .row > .cart-body > .row {
        display: block;
    }

    body.sabin-checkout-mode .sabin-configure-page .secondary-cart-body,
    body.sabin-checkout-mode .sabin-configure-page .secondary-cart-sidebar,
    body.sabin-checkout-mode .sabin-review-page .secondary-cart-body,
    body.sabin-checkout-mode .sabin-review-page .secondary-cart-sidebar {
        width: 100%;
        position: static;
    }

    body.sabin-checkout-mode .sabin-configure-page .secondary-cart-sidebar,
    body.sabin-checkout-mode .sabin-review-page .secondary-cart-sidebar {
        margin-top: 16px;
    }
}

@media (max-width: 575px) {
    body.sabin-checkout-mode .sabin-checkout-progress {
        margin-bottom: 20px;
    }

    body.sabin-checkout-mode .sabin-checkout-progress ol::before {
        top: 15px;
    }

    body.sabin-checkout-mode .sabin-progress-marker {
        width: 32px;
        height: 32px;
        margin-bottom: 6px;
        box-shadow: 0 0 0 3px #f5f8fa;
    }

    body.sabin-checkout-mode .sabin-progress-label {
        font-size: 10px;
    }

    body.sabin-checkout-mode .sabin-domain-select-page .sabin-form-cart,
    body.sabin-checkout-mode .sabin-configure-page .secondary-cart-body {
        padding: 14px !important;
        border-radius: 13px;
    }

    body.sabin-checkout-mode .sabin-domain-select-page .register-domain-form.option > label {
        padding: 12px;
    }

    body.sabin-checkout-mode .sabin-domain-select-page .domain-input-group {
        padding: 0 12px 12px;
    }

    body.sabin-checkout-mode .sabin-configure-page .field-container {
        padding: 14px;
    }

    body.sabin-checkout-mode .sabin-configure-page .billingcycle-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.sabin-checkout-mode .sabin-review-page .view-cart-items-header {
        display: none;
    }

    body.sabin-checkout-mode .sabin-review-page .view-cart-items {
        border-radius: 13px;
    }
}
.sabin-checkout-service-name small  {
    text-align: right;
}
.sabin-checkout-service-name strong {
    text-align: right;
}