/* =========================================================
   Haftan Studio — Safe Neobrutalist Domain Register Theme
   فقط استایل؛ بدون تغییر در ساختار WHMCS
========================================================= */

#order-standard_cart {
    --hft-ink: #141518;
    --hft-blue: #0047ff;
    --hft-yellow: #ffe600;
    --hft-paper: #f7f7f2;
    --hft-white: #ffffff;
    --hft-red: #dc2626;
    --hft-green: #16a34a;

    direction: rtl;
    color: var(--hft-ink);
    font-family: inherit;
    overflow: visible;
}

/* جلوگیری از ایجاد اسکرول افقی در دسکتاپ و موبایل */
#order-standard_cart,
#order-standard_cart .row,
#order-standard_cart .cart-body {
    max-width: 100%;
}

#order-standard_cart img {
    max-width: 100%;
    height: auto;
}

/* عنوان صفحه */
#order-standard_cart .header-lined {
    border-bottom: 3px solid var(--hft-ink);
    margin-bottom: 24px;
    padding-bottom: 12px;
}

#order-standard_cart .header-lined h1 {
    color: var(--hft-ink);
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* متن معرفی */
#order-standard_cart .cart-body > p {
    font-weight: 700;
    margin-bottom: 18px;
}

/* =========================================================
   Domain Checker
========================================================= */

#order-standard_cart .domain-checker-container {
    margin-bottom: 32px;
}

#order-standard_cart .domain-checker-bg {
    background: var(--hft-yellow);
    border: 3px solid var(--hft-ink);
    box-shadow: 7px 7px 0 var(--hft-ink);
    padding: 34px 24px;
}

#order-standard_cart #frmDomainChecker {
    margin: 0;
}

#order-standard_cart .input-group-box {
    display: flex;
    width: 100%;
    border: 3px solid var(--hft-ink);
    box-shadow: 4px 4px 0 var(--hft-ink);
    background: var(--hft-white);
    direction: ltr;
}

#order-standard_cart #inputDomain {
    min-width: 0;
    height: 58px;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    direction: ltr;
    text-align: left;
    font;
    direction: ltr;
    text-align: left;
    font-size:12px 16px;
}

#order-standard_cart #inputDomain::placeholder {
    direction: rtl;
    text-align: right;
}

#order-standard_cart #btnCheckAvailability {
    height: 58px;
    min-width: 126px;
    border: 0 !important;
    border-left: 3px solid var(--hft-ink) !important;
    border-radius: 0 !important;
    background: var(--hft-blue) !important;
    color: var(--hft-white) !important;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

#order-standard_cart #btnCheckAvailability:hover {
    background: var(--hft-ink) !important;
}

/* =========================================================
   Captcha
========================================================= */

#order-standard_cart #captchaContainer {
    margin-top: 24px;
    text-align: center;
}

#order-standard_cart .default-captcha {
    display: inline-block;
    background: var(--hft-white);
    border: 3px solid var(--hft-ink);
    box-shadow: 4px 4px 0 var(--hft-ink);
    padding: 12px 16px;
    text-align: right;
}

#order-standard_cart .default-captcha p {
    margin: 0 0 9px;
    font-weight: 900;
}

#order-standard_cart .default-captcha > div {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

#order-standard_cart #inputCaptchaImage {
    display: block;
    height: 40px;
    width: auto;
    min-width: 100px;
    border: 2px solid var(--hft-ink);
    cursor: pointer;
}

#order-standard_cart #inputCaptcha {
    width: 112px;
    height: 40px;
    border: 2px solid var(--hft-ink) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    font-weight: 800;
}

/* =========================================================

   Search Results
========================================================= */

#order-standard_cart #DomainSearchResults {
    margin: 34px;
}

#order-standard_cart #searchDomainInfo,
#order-standard_cart .suggested-domains {
    background: var(--hft-white);
    border: 3px solid var(--hft-ink);
    box-shadow: 5px 5px 0 var(--hft-ink);
}

#order-standard_cart #searchDomainInfo {
    padding: 22px;
}

#order-standard_cart #primaryLookupSearching {
    font-weight: 800;
    text-align: center;
}

#order-standard_cart #primaryLookupResult > p {
    border: 2px solid var(--hft-ink);
    padding: 12px 14px;
    font-weight: 800;
    text-align: center;
}

#order-standard_cart #primaryLookupResult .domain-invalid,
#order-standard_cart #primaryLookupResult .domain-unavailable,
#order-standard_cart #primaryLookupResult .domain-tld-unavailable,
#order-standard_cart #primaryLookupResult .domain-error {
    color: #991b1b;
    background: #fee2e2;
}

#order-standard_cart #primaryLookupResult .domain-available {
    color: #166534;
    background: #dcfce7;
}

/* قیمت نتیجه اصلی */
#order-standard_cart .domain-price {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 0;
}

#order-standard_cart .domain-price .price {
    color: var(--hft-blue);
    font-size: 22px;
    font-weight: 900;
}

/* =========================================================
   دکمه‌ها
========================================================= */

#order-standard_cart .btn,
#order-standard_cart a.btn {
    border-radius: 0 !important;
    border: 2px solid var(--hft-ink);
    box-shadow: 3px 3px 0 var(--hft-ink);
    font-weight: 900;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#order-standard_cart .btn:hover,
#order-standard_cart a.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--hft-ink);
}

#order-standard_cart .btn-primary {
    background: var(--hft-blue) !important;
    border-color: var(--hft-ink) !important;
    color: var(--hft-white) !important;
}

#order-standard_cart .btn-warning {
    background: var(--hft-yellow) !important;
    border-color: var(--hft-ink) !important;
    color: var(--hft-ink) !important;
}

/* =========================================================
   Spotlight TLDs
========================================================= */

#order-standard_cart .spotlight-tlds {
    margin-top: 24px;
}

#order-standard_cart .spotlight-tld-container {
    margin-bottom: 16px;
}

#order-standard_cart .spotlight-tld {
    min-height: 150px;
    background: var(--hft-white);
    border: 3px solid var(--hft-ink);
    box-shadow: 4px 4px 0 var(--hft-ink);
    padding: 18px;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

#order-standard_cart .spotlight-tld .available.price.price {
    display: block;
    margin-top: 12px;
   : var(--hft-blue);
    font-size: 16px;
}

/* =========================================================
   Suggested Domains
========================================================= */

#order-standard_cart .suggested-domains {
    overflow: hidden;
    margin-top: 24px;
}

#order-standard_cart .suggested-domains .panel-heading,
#order-standard_cart .suggested-domains .card-header {
    background: var(--hft-ink);
    color: var(--hft-white);
    border: 0;
    border-suggestion {
   ;
    font-weight: 900;
}

#order-standard_cart .domain-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border: 0;
    border-top: 1px solid #d1d5db;
    direction: rtl;
}

#order-standard_cart .domain-suggestion .domain,
#order-standard_cart .domain-suggestion .extension {
    font-weight: 800;
    direction: ltr;
    display: inline-block;
}

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

/* =========================================================
   Featured TLDs
========================================================= */

#order-standard_cart .domain-pricing {
    margin-top: 30px;
}

#order-standard_cart .featured-tlds-container {
    margin-bottom: 30px;
}

#order-standard_cart .featured-tld {
    height: 100%;
    min-height: 150px;
    background: var(--hft-white);
    border: 3px solid var(--hft-ink);
    box-shadow: 4px 4px 0 var(--hft-ink);
    padding: 18px;
    text-align: center;
}

#order-standard_cart .featured-tld .img-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

#order-standard_cart .featured-tld img {
    max-height: 58px;
    width: auto;
}

#order-standard_cart .featured-tld .price {
    color: var(--hft-blue);
    font-weight: 900;
}

/* =========================================================
   فیلتر دسته‌بندی
========================================================= */

#order-standard_cart .tld-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 20px;
}

#order-standard_cart .tld-filters a {
    display: inline-block;
    background: var(--hft-white);
    color: var(--hft-ink);
    border: 2px solid var(--hft-ink);
    border-radius: 0;
    box-shadow: 2px 2px 0 var(--hft-ink);
    padding: 7px 12px;
    font-weight: 800;
    text-decoration: none;
}

#order-standard_cart .tld-filters a:hover,
#order-standard_cart .tld-filters a.active {
    background: var(--hft-blue);
    color: var(--hft-white);
}

/* =========================================================
   جدول قیمت
========================================================= */

#order-standard_cart .domain-pricing > .bg-white {
    overflow: hidden;
    background: var(--hft-white) !important;
    border: 3px solid var(--hft-ink);
    box-shadow: 5px 5px 0 var(--hft-ink);
}

#order-standard_cart .tld-pricing-header {
    min-height: 56px;
    align-items: center;
    background: var(--hft-ink);
    color: var(--hft-white);
    font-weight: 900;
}

#order-standard_cart .tld-pricing-header > div,
#order-standard_cart .tld-pricing-header .row > div {
    padding: 17px 8px;
}

#order-standard_cart .tld-row {
    min-height: 70px;
    border-top: 1px solid #d1d5db;
}

#order-standard_cart .tld-row:nth-child(even) {
    background: #fafaf8;
}

#order-standard_cart .tld-row:hover {
    background: #fff9e6;
}

#order-standard_cart .tld-row > div {
    padding-top: 14px;
    padding-bottom: 14px;
}

#order-standard_cart .tld-row strong {
    direction: ltr;
    display: inline-block;
    font-size: 17px;
}

#order-standard_cart .tld-row small {
    color: #6b7280;
    font-weight: 700;
}

#order-standard_cart .tld-sale-group {
    display: inline-block;
    margin-right: 8px;
    border: 1px solid var(--hft-ink);
    background: var(--hft-yellow);
    color: var(--hft-ink);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 900;
}

/* =========================================================
   Promo Boxes
========================================================= */

#order-standard_cart .domain-promo-box {
    height: calc(100% - 20px);
    margin-top: 30px;
    margin-bottom: 20px;
    background: var(--hft-white);
    border: 3px solid var(--hft-ink);
    box-shadow: 5px 5px 0 var(--hft-ink);
    padding: 24px;
}

#order-standard_cart .domain-promo-box > .clearfix {
    margin-bottom: 18px;
}

#order-standard_cart .domain-promo-box > .clearfix > i {
    float: right;
    margin-left: 16px;
    color: var(--hft-blue);
}

#order-standard_cart .domain-promo-box h3 {
    font-weight: 900;
}

#order-standard_cart .domain-promo-box p {
    font-weight: 700;
}

/* =========================================================
   Sidebar
========================================================= */

#order-standard_cart .cart-sidebar {
    direction: rtl;
}

#order-standard_cart .cart-sidebar a {
    font-weight: 700;
}

/* =========================================================
   موبایل
========================================================= */

@media (max-width: 767.98px) {
    #order-standard_cart {
        overflow-x: hidden;
    }

    #order-standard_cart .domain-checker-bg {
        padding: 22px 12px;
        box-shadow: 4px 4px 0 var(--hft-ink);
    }

    #order-standard_cart .input-group-box {
        display: flex;
        flex-direction: column;
        box-shadow: 3px 3px 0 var(--hft-ink);
    }

    #order-standard_cart #inputDomain {
        width: 100%;
        height: 50px;
        border-bottom: 3px solid var(--hft-ink) !important;
    }

    #order-standard_cart #btnCheckAvailability {
        width: 100%;
        height: 50px;
        border-left: 0 !important;
        border-radius: 0 !important;
    }

    #order-standard_cart .default-captcha {
        max-width: 100%;
    }

    #order-standard_cart .default-captcha > div {
        flex-wrap: wrap;
        justify-content: center;
    }

    #order-standard_cart #inputCaptcha {
        width: 100%;
        max-width: 180px;
    }

    #order-standard_cart .domain-price {
        flex-direction: column;
        text-align: center;
    }

    #order-standard_cart .domain-price .btn {
        max-width: 100%;
    }

    #order-standard_cart .domain-suggestion {
        align-items: stretch;
        flex-direction: column;
    }

    #order-standard_cart .domain-suggestion .actions {
        width: 100%;
        justify-content: space-between;
    }

    #order-standard_cart .domain-pricing > .bg-white {
        overflow-x: auto;
    }

    #order-standard_cart .tld-pricing-header,
    #order-standard_cart .tld-row {
        min-width: 620px;
    }

    #order-standard_cart .domain-promo-box {
        height: auto;
    }
}
