/* VelaOrder — بازطراحی صفحه‌ی انتخاب دامنه (configureproductdomain)
   ظاهر اینپوت‌ها/سلکتور دقیقاً از الگوی صفحه‌ی افزایش موجودی کیف پول
   (clientareaaddfunds.tpl / .wallet-amount-input, .gateway-card) کپی شده. */

@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../../Vela/assets/IranSansX/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('../../../Vela/assets/IranSansX/IRANSansXFaNum-Regular.woff') format('woff');
}
@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../../Vela/assets/IranSansX/IRANSansXFaNum-Medium.woff2') format('woff2'),
         url('../../../Vela/assets/IranSansX/IRANSansXFaNum-Medium.woff') format('woff');
}
@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../../Vela/assets/IranSansX/IRANSansXFaNum-DemiBold.woff2') format('woff2'),
         url('../../../Vela/assets/IranSansX/IRANSansXFaNum-DemiBold.woff') format('woff');
}
@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../../Vela/assets/IranSansX/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../../../Vela/assets/IranSansX/IRANSansXFaNum-Bold.woff') format('woff');
}
@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../../../Vela/assets/IranSansX/IRANSansXFaNum-ExtraBold.woff2') format('woff2'),
         url('../../../Vela/assets/IranSansX/IRANSansXFaNum-ExtraBold.woff') format('woff');
}

#order-standard_cart {
    background: #fff;
    font-family: "IRANSansXFaNum", sans-serif;
}

#order-standard_cart input,
#order-standard_cart select,
#order-standard_cart button,
#order-standard_cart textarea {
    font-family: "IRANSansXFaNum", sans-serif;
}

.domain-select-page {
    max-width: 1024px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    float: none;
    width: 100%;
}

.domain-select-page .header-lined {
    border-bottom: 1px solid #e2e6ea;
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.domain-select-page .header-lined h1 {
    font-size: 22px;
    font-weight: 800;
    color: #212529;
    margin: 0;
}

/* کارت اصلی فرم — دقیقاً مثل .wallet-form-card */
.domain-form-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #e2e6ea;
}

.domain-form-label {
    font-weight: 700;
    font-size: 14px;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.domain-form-group {
    margin-bottom: 24px;
}

/* کارت‌های انتخاب نوع دامنه — دقیقاً مثل .gateway-grid / .gateway-card */
.domain-option-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.domain-option-tab {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 18px !important;
    margin: 0 !important;
    border: 2px solid #e9ecef;
    border-radius: 12px !important;
    background-color: transparent !important;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    flex: 1 1 auto;
}

.domain-option-tab input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.domain-option-tab .iradio_square-blue,
.domain-option-tab ins.iCheck-helper {
    display: none !important;
}

.domain-option-name {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    text-align: center;
}

.domain-option-name i {
    font-size: 34px;
}

.domain-option-tab:hover {
    border-color: #0f4c75;
}

.domain-option-tab:has(input:checked) {
    border-color: #0f4c75;
    background-color: rgba(15, 76, 117, 0.06) !important;
}

.domain-option-tab:has(input:checked) .domain-option-name {
    color: #0f4c75;
}

.domain-option-tab:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.15);
}

/* پنل ورودی هر نوع دامنه */
.domain-input-group {
    padding: 0 !important;
    margin: 0 0 24px !important;
    border: none !important;
}

.domain-input-fields {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

/* اینپوت نام دامنه — دقیقاً مثل .wallet-amount-input */
.domain-name-input {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.domain-name-input:focus-within {
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.domain-name-input input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 700;
    background: transparent;
    text-align: left;
}

.domain-name-input span {
    padding: 0 16px;
    color: #6c757d;
    font-weight: 600;
    font-size: 13px;
    border-right: 1.5px solid #e9ecef;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* سلکت پسوند دامنه (TLD) — هم‌وزن اینپوت دامنه */
.domain-tld-select {
    flex: 0 0 140px;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.domain-tld-select:focus {
    outline: none;
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.domain-select-full {
    flex: 1;
    width: 100%;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.domain-select-full:focus {
    outline: none;
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

/* دکمه‌ی ادامه/بررسی — دقیقاً مثل .wallet-submit-btn */
.domain-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #0f4c75;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.domain-submit-btn:hover {
    background: #0c3d5e;
    color: #fff;
}

/* نام‌های دامنه‌ی پیشنهادی — همون سبک کارت/بوردر */
.domain-select-page .domain-suggestions-card {
    background: #fff;
    border-radius: 10px;
    padding: 22px !important;
    border: 1px solid #e2e6ea !important;
    margin: 20px 0 !important;
}

.domain-suggestions-loading {
    color: #6c757d !important;
    font-size: 13px !important;
    padding: 10px 0 !important;
    background-color: transparent !important;
    opacity: 1 !important;
    text-align: right !important;
}

.domain-suggestions-list {
    display: flex;
    flex-direction: column;
}

.domain-select-page .domain-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f5;
}

.domain-select-page .domain-suggestion:last-child {
    border-bottom: none;
}

.domain-suggestion-name {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: #212529;
}

.domain-suggestion-name .promo {
    background: rgba(15, 76, 117, 0.08);
    color: #0f4c75;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
}

.domain-suggestion-available {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.domain-suggestion .actions {
    display: flex !important;
    float: none !important;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.domain-select-page .domain-suggestion-price {
    padding: 0 !important;
    font-size: 14px !important;
    direction: ltr;
    font-weight: 700;
    color: #495057;
    white-space: nowrap;
}

.domain-suggestion-btn {
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    background: #0f4c75;
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 9px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.domain-suggestion-btn:not(.w-hidden) {
    display: flex;
}

.domain-suggestion-btn:hover {
    background: #0c3d5e;
    color: #fff;
}

.domain-suggestions-more {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f3f5;
}

.domain-suggestions-more a {
    color: #0f4c75;
    font-weight: 700;
    font-size: 13px;
}

.domain-suggestions-warning {
    margin-top: 14px;
}

.domain-suggestions-warning p {
    color: #adb5bd;
    font-size: 11.5px;
}

@media (max-width: 768px) {
    .domain-select-page .domain-suggestion {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

/* وضعیت پسوندهای پیشنهادی (spotlight) — لیست دردسترس‌بودن هر پسوند */
.domain-spotlight-grid.spotlight-tlds {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.domain-spotlight-container.spotlight-tlds-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 !important;
}

.domain-spotlight-item.spotlight-tld-container {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    flex: 1 1 130px;
}

.domain-spotlight-card.spotlight-tld {
    position: relative;
    height: auto !important;
    padding: 16px 12px !important;
    border: 1.5px solid #e9ecef !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    text-align: center;
    font-weight: 700;
    color: #495057;
}

.domain-spotlight-tld {
    font-size: 14px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 10px;
}

.domain-spotlight-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f4c75;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.domain-spotlight-loading {
    color: #adb5bd;
    font-size: 14px;
}

.domain-spotlight-result.domain-lookup-result {
    display: flex;
    justify-content: center;
}

.domain-spotlight-status.unavailable,
.domain-spotlight-status.invalid {
    margin: 0 !important;
    background-color: #f1f3f5 !important;
    border: none !important;
    color: #adb5bd !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 20px !important;
    align-items: center;
    gap: 5px;
    width: auto !important;
}

.domain-spotlight-status.unavailable:not(.w-hidden),
.domain-spotlight-status.invalid:not(.w-hidden) {
    display: flex;
}

.domain-spotlight-price.price {
    color: #198754;
    font-weight: 800;
    font-size: 14px;
    direction: ltr;
}

.domain-spotlight-add.btn-add-to-cart {
    border: none;
    border-radius: 8px;
    background: #0f4c75;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 7px 14px;
    cursor: pointer;
    align-items: center;
    gap: 6px;
    width: auto !important;
}

.domain-spotlight-add.btn-add-to-cart:not(.w-hidden) {
    display: flex;
}

.domain-spotlight-add.btn-add-to-cart:hover {
    background: #0c3d5e;
}

@media (max-width: 768px) {
    .domain-spotlight-item.spotlight-tld-container {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .domain-option-tabs {
        flex-direction: column;
    }

    .domain-input-fields {
        flex-direction: column;
    }

    .domain-tld-select {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* صفحه‌ی تمدید دامنه (domain-renewals) */
.domain-renewal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.domain-renewal-search {
    position: relative;
    min-width: 240px;
}

.domain-renewal-search i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 13px;
}

.domain-renewal-search input {
    width: 100%;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 38px 10px 14px;
    font-size: 13px;
    font-family: "IRANSansXFaNum", sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.domain-renewal-search input:focus {
    outline: none;
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.domain-renewal-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 20px;
}

.domain-renewal-main {
    flex: 1;
    min-width: 0;
}

.domain-renewal-showing {
    font-size: 12.5px;
    color: #6c757d;
    margin-bottom: 14px;
    text-align: center;
}

.domain-renewal-showing a {
    color: #0f4c75;
    font-weight: 700;
}

.domain-renewals {
    background: transparent;
    border-top: none;
    margin: 0;
}

.domain-renewal-card {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 14px;
}

.domain-renewal-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.domain-renewal-card-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.domain-renewal-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15, 76, 117, 0.08);
    color: #0f4c75;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.domain-renewal-card-title h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: #212529;
    direction: ltr;
    text-align: right;
}

.domain-renewal-card-title p {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
}

.domain-renewal-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.badge-warning {
    background: rgba(184, 134, 11, 0.12);
    color: #b8860b;
}

.badge-success {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.badge-grey {
    background: #f1f3f5;
    color: #6c757d;
}

.domain-renewal-free-note {
    margin: 10px 0 0;
    font-size: 12.5px;
    color: #6c757d;
}

.domain-renewal-card-footer {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f3f5;
}

.domain-renewal-period {
    flex: 1;
    min-width: 0;
}

.domain-renewal-period label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
}

.domain-renewal-select {
    width: 100%;
    flex: 1 1 auto;
    height: 40px;
    text-align: right;
    text-align-last: right;
}

.domain-renewal-select-wrap {
    position: relative;
    width: 100%;
}

.domain-renewal-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    color: #212529;
    font-size: 12.5px;
    font-weight: 600;
    font-family: "IRANSansXFaNum", sans-serif;
    cursor: pointer;
    transition: border-color 0.2s;
}

.domain-renewal-select-btn:hover,
.domain-renewal-select-wrap.open .domain-renewal-select-btn {
    border-color: #0f4c75;
}

.domain-renewal-select-btn-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.domain-renewal-select-btn i {
    flex-shrink: 0;
    font-size: 10px;
    color: #adb5bd;
    transition: transform 0.15s;
}

.domain-renewal-select-wrap.open .domain-renewal-select-btn i {
    transform: rotate(180deg);
}

.domain-renewal-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 30;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 6px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.domain-renewal-select-wrap.open .domain-renewal-select-menu {
    display: block;
}

.domain-renewal-select-option {
    display: block;
    width: 100%;
    text-align: right;
    border: none;
    background: transparent;
    color: #495057;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    font-family: "IRANSansXFaNum", sans-serif;
    cursor: pointer;
}

.domain-renewal-select-option:hover {
    background: #f8f9fa;
}

.domain-renewal-select-option.active {
    background: rgba(15, 76, 117, 0.08);
    color: #0f4c75;
    font-weight: 700;
}

.domain-renewal-add-btn {
    width: auto;
    flex-shrink: 0;
    height: 40px;
    padding: 0 20px;
    font-size: 12.5px;
}

.domain-renewal-spinner {
    display: none;
    margin-left: 6px;
}

.domain-renewal-grace-note {
    text-align: center;
    font-size: 11.5px;
    color: #adb5bd;
    margin-top: 14px;
}

.domain-renewal-sidebar {
    flex: 0 0 300px;
    align-self: flex-start;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

.domain-renewal-summary-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    padding: 22px;
}

.domain-renewal-summary-card h2 {
    font-size: 15px;
    font-weight: 800;
    color: #212529;
    margin: 0 0 14px;
}

.domain-renewal-summary-loader {
    display: none;
    text-align: center;
    padding: 20px 0;
    color: #adb5bd;
}

.domain-renewal-summary-card .summary-container {
    font-size: 12.5px;
    color: #495057;
    margin-bottom: 16px;
}

.domain-renewal-summary-card .summary-container .product-name {
    display: block;
    font-weight: 800;
    font-size: 12.5px;
    color: #212529;
    margin-bottom: 8px;
}

.domain-renewal-summary-card .summary-container .product-group {
    display: none;
}

.domain-renewal-summary-card .summary-container .clearfix {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f5;
}

.domain-renewal-summary-card .summary-container .clearfix:last-child {
    border-bottom: none;
}

.domain-renewal-summary-card .summary-container .pull-right,
.domain-renewal-summary-card .summary-container .pull-left {
    float: none;
}

.domain-renewal-summary-card .summary-container .pull-right a {
    color: #dc3545;
    margin-right: 8px;
}

.domain-renewal-summary-card .summary-container .summary-totals {
    margin-top: 8px;
    padding-top: 8px;
}

.domain-renewal-summary-card .summary-container .total-due-today {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e6ea;
    font-weight: 800;
    font-size: 14px;
    color: #0f4c75;
}

.domain-modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.domain-modal-content .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e6ea;
}

.domain-modal-content .modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #dc3545;
    margin: 0;
}

.domain-modal-content .modal-body {
    padding: 20px;
    font-size: 13px;
    color: #495057;
}

.domain-modal-content .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid #e2e6ea;
}

.domain-modal-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.domain-modal-btn-secondary {
    background: #f1f3f5;
    color: #495057;
}

.domain-modal-btn-secondary:hover {
    background: #e2e6ea;
}

.domain-modal-btn-danger {
    background: #dc3545;
    color: #fff;
}

.domain-modal-btn-danger:hover {
    background: #c82333;
}

.domain-renewal-inline-btn {
    width: auto;
    display: inline-flex;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .domain-renewal-layout {
        flex-direction: column;
    }

    .domain-renewal-sidebar {
        flex: 1 1 auto;
        width: 100%;
        position: static;
    }
}

@media (max-width: 600px) {
    .domain-renewal-card-header {
        flex-direction: column;
    }

    .domain-renewal-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .domain-renewal-add-btn {
        width: 100%;
    }
}

/* صفحه‌ی سبد خرید (cart.php?a=view) */
.cart-page {
    max-width: 1100px;
}

.cart-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
}

.cart-alert ul {
    margin: 6px 0 0;
    padding-right: 18px;
}

.cart-alert-warning {
    background: rgba(184, 134, 11, 0.1);
    color: #b8860b;
}

.cart-alert-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.cart-alert-info {
    background: rgba(15, 76, 117, 0.06);
    color: #0f4c75;
}

.cart-alert-success {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
}

.cart-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 20px;
}

.cart-main {
    flex: 1;
    min-width: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    padding: 16px;
}

.cart-item-sub {
    margin-right: 30px;
    background: #f8f9fa;
}

.cart-item-credit {
    background: rgba(25, 135, 84, 0.04);
    border-color: rgba(25, 135, 84, 0.2);
}

.cart-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(15, 76, 117, 0.08);
    color: #0f4c75;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h6 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-item-info p {
    margin: 0 0 2px;
    font-size: 12.5px;
    color: #6c757d;
}

.cart-item-domain {
    direction: ltr;
    text-align: right;
    font-weight: 600;
    color: #495057 !important;
}

.cart-item-edit {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f4c75;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.cart-item-options span {
    background: #f1f3f5;
    color: #6c757d;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-qty input {
    width: 70px;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12.5px;
    text-align: center;
}

.cart-item-qty button {
    border: none;
    border-radius: 8px;
    background: #f1f3f5;
    color: #495057;
    font-size: 11.5px;
    font-weight: 700;
    padding: 7px 14px;
    cursor: pointer;
}

.cart-item-price {
    flex-shrink: 0;
    text-align: center;
    min-width: 130px;
}

.cart-item-price > span[name],
.cart-item-price > strong {
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: #212529;
}

.cart-item-price .cycle {
    display: block;
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
}

.cart-item-price .domain-renewal-select {
    margin-top: 6px;
}

.cart-item-remove {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-item-remove:hover {
    background: rgba(220, 53, 69, 0.16);
}

.cart-empty-action {
    text-align: left;
    margin-bottom: 16px;
}

.cart-empty-btn {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.cart-empty-btn:hover {
    color: #dc3545;
}

.cart-tabs-card {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 20px;
}

.cart-tabs-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    border-bottom: 1px solid #f1f3f5;
}

.cart-tab-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.cart-tab-link.active {
    color: #0f4c75;
    border-bottom-color: #0f4c75;
}

.cart-promo-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(25, 135, 84, 0.06);
    border: 1px solid rgba(25, 135, 84, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #198754;
}

.cart-promo-applied a {
    color: #dc3545;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.cart-promo-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-promo-form .domain-name-input {
    flex: 1;
    min-width: 200px;
}

.cart-promo-input input {
    text-align: center;
}

.cart-promo-form .domain-submit-btn {
    width: auto;
    flex-shrink: 0;
    padding: 0 24px;
    height: 52px;
    margin: 1px 0;
}

.cart-tax-form .domain-submit-btn {
    width: auto;
    padding: 12px 28px;
    margin: 6px auto 0;
}

.cart-summary-sidebar {
    flex: 0 0 320px;
}

.cart-summary-sidebar .express-checkout-buttons {
    margin-bottom: 12px;
}

.cart-summary-sidebar .express-checkout-buttons .separator {
    text-align: center;
    color: #adb5bd;
    font-size: 11px;
    margin: 8px 0;
}

.cart-checkout-btn {
    margin-top: 4px;
}

.cart-checkout-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.cart-continue-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #6c757d;
}

.cart-continue-link:hover {
    color: #0f4c75;
}

.view-cart-gateway-checkout {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .cart-layout {
        flex-direction: column;
    }

    .cart-summary-sidebar {
        flex: 1 1 auto;
        width: 100%;
        position: static;
    }
}

@media (max-width: 600px) {
    .cart-item-card {
        flex-wrap: wrap;
    }

    .cart-item-price {
        text-align: right;
        flex: 1 1 auto;
        min-width: 0;
    }

    .cart-item-remove {
        margin-right: auto;
    }

    .cart-item-sub {
        margin-right: 0;
    }

    .cart-promo-form {
        flex-direction: column;
    }

    .cart-promo-form .domain-submit-btn {
        width: 100%;
    }
}

/* ================= صفحه‌ی تسویه‌حساب (checkout) ================= */
.checkout-page {
    max-width: 820px;
}

.checkout-already-registered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #f8f9fa;
}

.checkout-already-registered p {
    margin: 0;
    font-size: 12.5px;
    color: #6c757d;
    order: 2;
    flex: 1 1 100%;
}

.checkout-already-registered-actions {
    display: flex;
    gap: 8px;
    order: 1;
}

.checkout-btn-sm {
    width: auto !important;
    padding: 9px 18px !important;
    font-size: 12.5px !important;
}

.checkout-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e9ecef;
    color: #495057;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.checkout-btn-outline:hover {
    border-color: #0f4c75;
    color: #0f4c75;
}

.checkout-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    margin-bottom: 16px;
}

.checkout-alert ul {
    margin: 6px 0 0;
    padding-right: 18px;
}

.checkout-alert-danger {
    background: rgba(220, 53, 69, 0.06);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.checkout-alert-success {
    background: rgba(25, 135, 84, 0.06);
    border: 1px solid rgba(25, 135, 84, 0.2);
    color: #198754;
}

.checkout-alert-info {
    background: rgba(15, 76, 117, 0.06);
    border: 1px solid rgba(15, 76, 117, 0.2);
    color: #0f4c75;
}

.checkout-total-due {
    font-size: 15px;
    font-weight: 700;
}

.checkout-total-due strong {
    font-size: 17px;
}

.checkout-section-title {
    font-weight: 800;
    font-size: 14px;
    color: #212529;
    padding-bottom: 10px;
    margin: 26px 0 16px;
    border-bottom: 1px solid #e2e6ea;
}

.checkout-section-title:first-of-type {
    margin-top: 0;
}

.checkout-section-title small {
    font-weight: 500;
    color: #6c757d;
    font-size: 11.5px;
}

.checkout-muted {
    color: #6c757d;
    font-size: 12.5px;
    margin-bottom: 14px;
}

.checkout-center {
    text-align: center;
}

/* حساب‌های موجود */
.checkout-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.checkout-account-card {
    position: relative;
    display: block;
    padding: 14px 16px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.checkout-account-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-account-card:hover {
    border-color: #0f4c75;
}

.checkout-account-card.active,
.checkout-account-card:has(input:checked) {
    border-color: #0f4c75;
    background: rgba(15, 76, 117, 0.05);
}

.checkout-account-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #212529;
    margin-bottom: 4px;
    margin-top: 10px;
}

.checkout-account-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f1f3f5;
    color: #6c757d;
}

.checkout-account-badge-info {
    background: rgba(15, 76, 117, 0.08);
    color: #0f4c75;
}

.checkout-account-address {
    font-size: 11.5px;
    color: #6c757d;
    line-height: 1.7;
}

.checkout-account-card label {
    display: block;
    cursor: pointer;
}

.checkout-account-card-new {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.checkout-account-card-new label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 0;
    margin-bottom: 0;
}

.checkout-account-card-new i {
    font-size: 26px;
    color: #0f4c75;
}

.checkout-account-card-new .checkout-account-name {
    margin: 0;
    justify-content: center;
}

.checkout-account-card-new .iradio_square-blue,
.checkout-account-card-new ins.iCheck-helper {
    display: none !important;
}

/* اینپوت‌های فرم */
.checkout-fields-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-fields-1col {
    grid-template-columns: 1fr;
}

.checkout-fields-3col {
    grid-template-columns: repeat(3, 1fr);
}

.checkout-field-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.checkout-field-group:focus-within {
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.checkout-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    color: #adb5bd;
    font-size: 14px;
    border-left: 1.5px solid #eef0f3;
}

.checkout-field-group:focus-within .checkout-field-icon {
    color: #0f4c75;
}

.checkout-field-group .field {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 13px;
    background: transparent;
}

.checkout-field-hint {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-left: 6px;
    border: none;
    border-radius: 50%;
    background: #f1f3f5;
    color: #6c757d;
    font-weight: 700;
    cursor: pointer;
}

.checkout-field-error {
    display: none;
    color: #dc3545;
    font-size: 11px;
    margin-top: 4px;
}

.checkout-field-help {
    display: block;
    color: #6c757d;
    font-size: 11px;
    margin-top: 4px;
}

.checkout-custom-field {
    display: flex;
    flex-direction: column;
}

.checkout-textarea {
    width: 100%;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-textarea:focus {
    outline: none;
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

/* اعمال اعتبار / رادیوهای عمومی */
.checkout-credit-box {
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.checkout-credit-box p {
    font-size: 12.5px;
    color: #6c757d;
    margin-bottom: 10px;
}

.checkout-radio-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #495057;
    padding: 8px 0;
    cursor: pointer;
}

.checkout-radio-row .iradio_square-blue {
    margin-bottom: 10px;
    flex-shrink: 0;
}

/* درگاه‌های پرداخت */
.checkout-pmethods-grid {
    margin-bottom: 16px;
}

/* کارت‌های انتخاب درگاه پرداخت (دقیقاً مثل .gateway-card کلاینت‌اریا، چون این صفحه CSS جداگانه‌ی خودشو داره) */
.gateway-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gateway-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.gateway-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gateway-card .iradio_square-blue,
.gateway-card ins.iCheck-helper {
    display: none !important;
}

.gateway-name {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    color: #495057;
}

.gateway-name img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
}

.gateway-card:hover {
    border-color: #0f4c75;
}

.gateway-card:has(input:checked) {
    border-color: #0f4c75;
    background: rgba(15, 76, 117, 0.06);
}

.gateway-card:has(input:checked) .gateway-name {
    color: #0f4c75;
}

.gateway-card:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.15);
}

/* کارت‌های بانکی ذخیره‌شده */
.existing-cc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.checkout-marketing-optin {
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.checkout-marketing-optin h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.checkout-marketing-optin p {
    font-size: 12.5px;
    color: #6c757d;
    margin-bottom: 10px;
}

.checkout-tos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #495057;
    margin-bottom: 16px;
    cursor: pointer;
}

.checkout-tos-row a {
    color: #0f4c75;
    font-weight: 700;
}

.checkout-complete-btn {
    max-width: 340px;
    margin: 0 auto;
    font-size: 15px !important;
}

.checkout-security-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(184, 134, 11, 0.06);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 10px;
    color: #b8860b;
    font-size: 11.5px;
    text-align: center;
}

@media (max-width: 768px) {
    .checkout-fields-row,
    .checkout-fields-3col {
        grid-template-columns: 1fr;
    }

    .checkout-already-registered-actions {
        width: 100%;
        flex-direction: column;
    }

    .checkout-btn-sm {
        width: 100% !important;
    }
}

/* ================= صفحه‌ی پیکربندی محصول (configureproduct) ================= */
.addon-products {
    align-items: stretch;
}

.addon-products .panel-addon {
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.addon-products .panel-addon:hover {
    border-color: #0f4c75;
}

.addon-products .panel-addon.panel-addon-selected {
    border-color: #0f4c75;
    background: rgba(15, 76, 117, 0.05);
}

.addon-products .panel-addon label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #212529;
    cursor: pointer;
}

.addon-products .panel-price {
    font-weight: 800;
    font-size: 14px;
    color: #0f4c75;
    margin-top: 10px;
}

.addon-products .panel-add {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0f4c75;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .domain-renewal-layout {
        flex-direction: column;
    }

    .addon-products {
        grid-template-columns: 1fr;
    }
}

/* کارت قابل‌جمع‌شدن توضیحات محصول */
.product-info-card {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-info-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    font-family: "IRANSansXFaNum", sans-serif;
}

.product-info-toggle i {
    color: #6c757d;
    font-size: 12px;
    transition: transform 0.2s;
}

.product-info-toggle.open i {
    transform: rotate(180deg);
}

.product-info-description {
    display: none;
    padding: 0 18px 16px;
    font-size: 12.5px;
    color: #6c757d;
    line-height: 1.8;
    border-top: 1px solid #f1f3f5;
    padding-top: 14px;
}

.product-info-description.open {
    display: block;
}

.product-info-description ul,
.product-info-description .pricing-feature-list,
.product-info-description.list-unstyled {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    padding-right: 18px;
}

.product-info-description li {
    margin-bottom: 4px;
}

/* هر آیتم قابل‌پیکربندی یه باکس مستقل بشه (نه شناور) */
.config-option-card {
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 0 !important;
}

.config-option-card .checkout-radio-row {
    padding: 5px 0;
}

#productConfigurableOptions .checkout-fields-row {
    row-gap: 12px;
}

/* ================= صفحه‌ی افزودنی‌ها (addons) ================= */
.addons-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.addon-page-card {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.addon-page-card form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.addon-page-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #212529;
    margin: 0 0 8px;
}

.addon-page-desc {
    font-size: 12.5px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 16px;
    flex: 1;
}

.addon-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #f1f3f5;
}

.addon-page-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f4c75;
}

.addon-page-setup {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6c757d;
    margin-top: 2px;
}

.addon-page-footer .domain-submit-btn {
    width: auto;
}

@media (max-width: 768px) {
    .addons-page-grid {
        grid-template-columns: 1fr;
    }

    .addon-page-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ================= صفحه‌ی ثبت دامنه (domainregister) ================= */
.domain-hero-search {
    max-width: 620px;
    margin: 0 auto 24px;
}

.domain-hero-input {
    padding: 10px 10px 4px;
}

.domain-hero-input input {
    padding: 14px 18px;
    font-size: 16px;
}

.domain-hero-input .domain-submit-btn {
    width: auto;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 9px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تی‌ال‌دی‌های ویژه */
.featured-tlds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.featured-tld-card {
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: border-color 0.2s;
}

.featured-tld-card:hover {
    border-color: #0f4c75;
}

.featured-tld-card img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.featured-tld-price {
    font-size: 13px;
    font-weight: 800;
    color: #0f4c75;
}

/* فیلتر دسته‌بندی TLD */
.tld-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tld-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #e9ecef;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.tld-filter-btn i {
    font-size: 13px;
    color: #0f4c75;
}

.tld-filter-btn:hover {
    border-color: #0f4c75;
    color: #0f4c75;
    text-decoration: none;
}

.tld-filter-btn.active {
    border-color: #0f4c75;
    background: rgba(15, 76, 117, 0.06);
    color: #0f4c75;
}

.tld-filter-btn .badge {
    background: rgba(15, 76, 117, 0.1);
    color: inherit;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
}

/* جدول قیمت TLD */
.tld-pricing-table {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.tld-pricing-header,
.tld-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
}

.tld-pricing-header {
    background: #f8f9fa;
    font-weight: 700;
    font-size: 12px;
    color: #495057;
}

.tld-row:last-child {
    border-bottom: none;
}

.tld-col-name {
    flex: 0 0 30%;
    padding: 14px 16px;
    font-size: 13px;
}

.tld-col-prices {
    flex: 1;
    display: flex;
}

.tld-col-prices span {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    font-size: 12.5px;
    color: #212529;
}

.tld-col-prices small {
    color: #6c757d;
    font-size: 11px;
}

.tld-sale-group {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.tld-row.no-tlds {
    justify-content: center;
    padding: 30px 16px;
    color: #adb5bd;
    font-size: 12.5px;
}

/* باکس‌های تبلیغاتی هاست/انتقال دامنه */
.domain-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.domain-promo-card {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.domain-promo-card i {
    font-size: 34px;
    color: #0f4c75;
    margin-bottom: 12px;
}

.domain-promo-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 6px;
}

.domain-promo-highlight {
    color: #b8860b;
    font-weight: 700;
    font-size: 12.5px;
    margin-bottom: 10px;
}

.domain-promo-card .domain-submit-btn {
    width: auto;
    text-decoration: none;
}

@media (max-width: 768px) {
    .tld-pricing-header,
    .tld-row {
        flex-wrap: wrap;
    }

    .tld-col-name {
        flex: 1 1 100%;
    }

    .tld-col-prices {
        flex: 1 1 100%;
    }

    .domain-hero-input {
        flex-direction: column;
        padding: 6px;
    }

    .domain-hero-input .domain-submit-btn {
        width: 100%;
        border-radius: 9px;
    }
}

.domain-price-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 260px;
    margin: 14px auto 0;
    border: none;
    border-radius: 8px;
    background: #0f4c75;
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.domain-price-add-btn:hover {
    background: #0c3d5e;
}
