/*
 * Taktaz client portal - page designs (loaded by includes/hooks/taktaz_client_ui.php):
 * domain search/transfer (html.tz-dc-page), store product list (html.tz-store-page),
 * knowledge base hero (html.tz-kb-page), price-list popup (.tz-modal), side promo banner.
 * Markup additions come from portal.js (domainPage, storePage, kbPage, priceModal).
 */

/* ===================================================== shared: section cards, icons */
.tz-dc-ico,
.tz-kb-ico,
.tz-sg-ico,
.tz-modal-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.tz-dc-ico svg,
.tz-kb-ico svg,
.tz-sg-ico svg,
.tz-modal-ico svg,
.tz-dc-list svg,
.tz-modal-close svg,
.tz-feat-list svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===================================================== domain search hero */
html.tz-dc-page #main-body .domain-checker-container {
    position: relative;
    margin: 0 0 18px !important;
    padding: 26px 28px 22px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 24px !important;
    background:
        radial-gradient(110% 130% at 100% 0%, rgba(103, 232, 249, .45), transparent 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(8, 112, 140, .55), transparent 60%),
        linear-gradient(135deg, #0b8fae 0%, #0099b8 45%, #0b5f7c 100%) !important;
    box-shadow: 0 22px 44px -26px rgba(4, 80, 105, .75);
}

html.tz-dc-page #main-body .domain-checker-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 40%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 90% at 85% 40%, #000 20%, transparent 80%);
    pointer-events: none;
}

html.tz-dc-page #main-body .domain-checker-container > * {
    position: relative;
}

html.tz-dc-page #main-body .domain-checker-bg {
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

html.tz-dc-page #main-body .domain-checker-bg::before,
html.tz-dc-page #main-body .domain-checker-bg::after {
    display: none !important;
}

/* the theme's intro line above the box repeats the hero text */
html.tz-dc-page #main-body .domain-checker-container ~ p,
html.tz-dc-page #order-standard_cart > .row > .col-md-12 > p:first-of-type {
    display: none;
}

.tz-dc-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: #fff;
}

.tz-dc-head > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.6;
}

.tz-dc-head b {
    font-size: 20px;
    color: #fff;
}

.tz-dc-head small {
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
}

html.tz-dc-page #main-body .domain-checker-container .row,
html.tz-dc-page #main-body .domain-checker-container .row > [class*="col-"] {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.tz-dc-page #main-body .domain-checker-container .input-group {
    display: flex !important;
    gap: 6px;
    width: 100%;
    padding: 6px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .55);
}

html.tz-dc-page #main-body .domain-checker-container .input-group .form-control {
    flex: 1 1 auto;
    width: auto !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px !important;
    direction: ltr;
    text-align: left;
}

html.tz-dc-page #main-body .domain-checker-container .input-group .form-control::placeholder {
    direction: rtl;
    text-align: right;
}

html:not([dir="rtl"]).tz-dc-page #main-body .domain-checker-container .input-group .form-control::placeholder {
    direction: ltr;
    text-align: left;
}

html.tz-dc-page #main-body .domain-checker-container .input-group-btn {
    display: flex !important;
    width: auto !important;
}

html.tz-dc-page #main-body .domain-checker-container .input-group-btn .btn {
    height: 52px !important;
    min-width: 120px;
    margin: 0 !important;
    padding: 0 26px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(90deg, #12b5c9, #0a86a8) !important;
    color: #fff !important;
    font-size: 15px !important;
    box-shadow: 0 12px 22px -14px rgba(0, 153, 184, .95) !important;
}

.tz-dc-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: 16px;
}

.tz-dc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tz-dc-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.tz-dc-chip:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-1px);
}

.tz-dc-chip b {
    font-size: 13.5px;
}

.tz-dc-chip span {
    opacity: .85;
}

.tz-dc-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    color: #0a7f93;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .5);
}

.tz-dc-list svg {
    width: 18px;
    height: 18px;
}

.tz-dc-list:hover {
    background: #effafc;
}

/* the long table lives in the popup now */
html.tz-dc-page #main-body .domain-pricing {
    display: none !important;
}

/* WHMCS result headline */
html.tz-dc-page #DomainSearchResults .domain-checker-result-headline {
    margin: 0 0 14px;
    padding: 18px 20px;
    border: 1px solid #e8ecf3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .35);
}

/* ===================================================== suggestions */
.tz-suggest {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid #e8ecf3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .35);
}

.tz-sg-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14.5px;
    color: #0f172a;
}

.tz-sg-ico {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #38bdf8, #0369a1);
    box-shadow: 0 10px 18px -10px rgba(3, 105, 161, .9);
}

.tz-sg-ico svg {
    width: 19px;
    height: 19px;
}

.tz-sg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.tz-sg-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid #e8ecf3;
    border-radius: 16px;
    background: #fbfcfe;
    transition: border-color .2s, box-shadow .2s;
}

.tz-sg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tz-sg-top b {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13.5px;
    color: #0f172a;
}

.tz-sg-status {
    flex: none;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eef1f6;
    color: #64748b;
    font-size: 11px;
}

.tz-sg-price {
    font-size: 12px;
    color: #64748b;
}

.tz-sg-btn {
    align-self: flex-start;
    margin-top: 2px;
    padding: 5px 14px;
    border: 1px solid rgba(0, 153, 184, .35);
    border-radius: 10px;
    background: #fff;
    color: #0a7f93;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.tz-sg-btn[hidden] {
    display: none;
}

.tz-sg-card.is-loading .tz-sg-status {
    width: 46px;
    height: 18px;
    background: linear-gradient(90deg, #eef1f6 25%, #f8fafc 50%, #eef1f6 75%);
    background-size: 200% 100%;
    animation: tz-shimmer 1.2s linear infinite;
}

.tz-sg-card.is-loading .tz-sg-btn {
    visibility: hidden;
}

@keyframes tz-shimmer {
    to { background-position: -200% 0; }
}

.tz-sg-card.is-free {
    border-color: #bbe7cb;
    background: #f5fcf8;
}

.tz-sg-card.is-free .tz-sg-status {
    background: #dcf5e6;
    color: #15803d;
}

.tz-sg-card.is-free .tz-sg-btn {
    border: 0;
    background: linear-gradient(90deg, #22c55e, #15803d);
    color: #fff;
}

.tz-sg-card.is-taken {
    opacity: .75;
}

.tz-sg-card.is-taken .tz-sg-status {
    background: #fff1e6;
    color: #c2410c;
}

/* promo boxes + side banner (domain pages, knowledge base) */
html.tz-shell #main-body .domain-promo-box {
    height: 100%;
    margin: 0 0 16px !important;
    padding: 18px 20px !important;
    border: 1px solid #e8ecf3 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .35) !important;
}

html.tz-shell #main-body .domain-promo-box img {
    width: 46px !important;
    height: 46px !important;
    padding: 9px;
    border-radius: 14px;
    background: #e6f6f9;
}

html.tz-shell #main-body .domain-promo-box h3 {
    font-size: 15px !important;
    color: #0f172a !important;
}

html.tz-shell #main-body .domain-promo-box p {
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    color: #64748b !important;
}

html.tz-shell #main-body .domain-promo-box .btn {
    padding: 7px 16px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(90deg, #12b5c9, #0a86a8) !important;
    color: #fff !important;
    font-size: 12.5px !important;
}

html.tz-shell #main-body .side-banner-box {
    overflow: hidden;
    border-radius: 22px !important;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(34, 195, 214, .35), transparent 60%),
        linear-gradient(160deg, #0b5f7c 0%, #0a3d52 100%) !important;
    box-shadow: 0 22px 44px -26px rgba(4, 50, 70, .8);
}

html.tz-shell #main-body .side-banner-box .side-banner-bg {
    display: none !important;
}

html.tz-shell #main-body .side-banner-box .carousel-cell,
html.tz-shell #main-body .side-banner-box .img-banner-fteatures {
    background: none !important;
}

html.tz-shell #main-body .side-banner-box p {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    text-align: start;
}

html.tz-shell #main-body .side-banner-box p.sub-text {
    color: #fff !important;
    font-size: 14px !important;
}

html.tz-shell #main-body .side-banner-box p.sub-text a {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .3);
}

html.tz-shell #main-body .side-banner-box hr {
    border-color: rgba(255, 255, 255, .2) !important;
}

html.tz-shell #main-body .side-banner-box .flickity-page-dots {
    display: none;
}

/* ===================================================== price-list popup */
.tz-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: tz-fade .18s ease both;
}

html.tz-modal-open,
html.tz-modal-open body {
    overflow: hidden !important;
}

@keyframes tz-fade {
    from { opacity: 0; }
}

.tz-modal-card {
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .6);
    animation: tz-pop .22s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes tz-pop {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
}

.tz-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    color: #fff;
    background: linear-gradient(135deg, #0b8fae 0%, #0099b8 50%, #0b5f7c 100%);
}

.tz-modal-head > div {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.tz-modal-head b {
    font-size: 16px;
}

.tz-modal-head small {
    font-size: 12px;
    opacity: .85;
}

.tz-modal-ico {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

.tz-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    cursor: pointer;
}

.tz-modal-close svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.tz-modal-tools {
    padding: 14px 18px 10px;
    border-bottom: 1px solid #eef1f6;
}

.tz-modal-tools input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e2e5ef;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
}

.tz-modal-tools input::placeholder {
    direction: rtl;
}

html:not([dir="rtl"]) .tz-modal-tools input::placeholder {
    direction: ltr;
}

.tz-modal-tools input:focus {
    background: #fff;
    border-color: #0099b8;
    box-shadow: 0 0 0 4px rgba(0, 153, 184, .12);
    outline: 0;
}

.tz-modal-cats {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.tz-chip-btn {
    flex: none;
    padding: 5px 12px;
    border: 1px solid #e2e5ef;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.tz-chip-btn.is-on {
    border-color: #0099b8;
    background: #0099b8;
    color: #fff;
}

.tz-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.tz-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tz-price-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px 14px;
    background: #f6f8fb;
    color: #64748b;
    font-size: 12px;
    text-align: start;
    border-bottom: 1px solid #e8ecf3;
}

.tz-price-table tbody tr {
    cursor: pointer;
    transition: background .12s;
}

.tz-price-table tbody tr[hidden] {
    display: none;
}

.tz-price-table tbody tr:hover,
.tz-price-table tbody tr:focus {
    background: #f1fafc;
    outline: 0;
}

.tz-price-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f4f8;
    vertical-align: middle;
}

.tz-price-table td b {
    color: #0f172a;
}

.tz-price-table td small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.tz-pt-tld {
    color: #0a7f93;
    font-size: 14px;
    text-align: left;
}

.tz-modal-empty {
    margin: 0;
    padding: 34px 16px;
    color: #94a3b8;
    text-align: center;
}

/* ===================================================== store */
html.tz-store-page .tz-store-nav {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

html.tz-store-page .tz-store-nav a,
html.tz-store-page .tz-store-nav a:hover {
    flex: none;
    padding: 8px 15px;
    border: 1px solid #e8ecf3;
    border-radius: 999px;
    background: #fff;
    color: #475569 !important;
    font-size: 12.5px;
    text-decoration: none !important;
    transition: border-color .15s, color .15s;
}

html.tz-store-page .tz-store-nav a:hover {
    border-color: rgba(0, 153, 184, .4);
    color: #0a7f93 !important;
}

html.tz-store-page .tz-store-nav a.is-on {
    border-color: #0099b8;
    background: linear-gradient(90deg, #12b5c9, #0a86a8);
    color: #fff !important;
}

html.tz-store-page #products .row-eq-height {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin: 0 0 16px !important;
}

html.tz-store-page #products .row-eq-height::before,
html.tz-store-page #products .row-eq-height::after {
    display: none !important;
}

html.tz-store-page #products .row-eq-height:empty {
    display: none !important;
}

html.tz-store-page #products .product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.tz-store-page #products .product > div[id^="product"] {
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    padding: 22px 20px 20px !important;
    overflow: hidden;
    border: 1px solid #e8ecf3 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px -26px rgba(15, 23, 42, .45) !important;
    text-align: start !important;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

html.tz-store-page #products .product > div[id^="product"]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #22c3d6, #0a86a8);
}

html.tz-store-page #products .product > div[id^="product"]:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 153, 184, .35) !important;
    box-shadow: 0 22px 44px -26px rgba(0, 153, 184, .55) !important;
}

html.tz-store-page #products .product header {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

html.tz-store-page #products .product header::before {
    content: "";
    flex: 0 0 44px;
    height: 44px;
    border-radius: 14px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='6' rx='1.5'/%3E%3Crect x='4' y='14' width='16' height='6' rx='1.5'/%3E%3Cpath d='M8 7h.01M8 17h.01'/%3E%3C/svg%3E") center / 22px no-repeat,
        linear-gradient(135deg, #22c3d6, #0a86a8);
    box-shadow: 0 10px 18px -10px rgba(0, 153, 184, .9);
}

html.tz-store-page #products .product .product-name {
    font-size: 16px !important;
    color: #0f172a !important;
    text-align: start !important;
}

html.tz-store-page #products .product .product-pricing {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin: 0 0 14px !important;
    padding: 12px 14px !important;
    border-radius: 16px;
    background: #f3fafc;
    color: #64748b !important;
    text-align: start !important;
}

html.tz-store-page #products .product .product-pricing .price {
    font-size: 21px !important;
    line-height: 1.4 !important;
    color: #0a7f93 !important;
}

html.tz-store-page #products .product .tz-cycle {
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 11.5px;
    box-shadow: inset 0 0 0 1px #dcecf1;
}

html.tz-store-page #products .product .product-desc {
    flex: 1 1 auto;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: start !important;
}

.tz-feat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tz-feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.8;
    color: #334155;
}

.tz-feat-list svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    padding: 2px;
    border-radius: 50%;
    background: #dcf5e6;
    color: #15803d;
    stroke-width: 2.4;
}

.tz-feat-list em {
    font-style: normal;
    color: #64748b;
}

.tz-feat-list b {
    color: #0f172a;
}

html.tz-store-page #products .product footer {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

html.tz-store-page #products .product footer .btn,
html.tz-store-page #products .product footer .btn:hover {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg, #12b5c9 0%, #0aa0be 55%, #0a86a8 100%) !important;
    color: #fff !important;
    font-size: 14px !important;
    box-shadow: 0 14px 26px -16px rgba(0, 153, 184, .95) !important;
}

html.tz-store-page #products .product footer .coowhm-setupFee {
    display: inline-flex;
    align-self: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: #eefbf3;
    color: #15803d !important;
    font-size: 11.5px !important;
}

/* ===================================================== knowledge base hero */
html.tz-kb-page #main-body .kb-search-background {
    position: relative;
    margin: 0 0 20px !important;
    padding: 26px 28px !important;
    overflow: hidden;
    border-radius: 24px !important;
    background:
        radial-gradient(110% 130% at 100% 0%, rgba(103, 232, 249, .45), transparent 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(8, 112, 140, .55), transparent 60%),
        linear-gradient(135deg, #0b8fae 0%, #0099b8 45%, #0b5f7c 100%) !important;
    background-image:
        radial-gradient(110% 130% at 100% 0%, rgba(103, 232, 249, .45), transparent 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(8, 112, 140, .55), transparent 60%),
        linear-gradient(135deg, #0b8fae 0%, #0099b8 45%, #0b5f7c 100%) !important;
    box-shadow: 0 22px 44px -26px rgba(4, 80, 105, .75);
}

html.tz-kb-page #main-body .kb-search-background::before,
html.tz-kb-page #main-body .kb-search-background::after {
    display: none !important;
}

.tz-kb-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: #fff;
}

.tz-kb-head > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.6;
}

.tz-kb-head b {
    font-size: 20px;
}

.tz-kb-head small {
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
}

html.tz-kb-page #main-body .kb-search-background form {
    margin: 0 !important;
}

html.tz-kb-page #main-body .kb-search {
    display: flex !important;
    gap: 6px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .55);
}

html.tz-kb-page #main-body .kb-search .form-control {
    flex: 1 1 auto;
    height: 52px !important;
    padding: 0 16px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
}

html.tz-kb-page #main-body .kb-search .input-group-btn {
    display: flex !important;
    width: auto !important;
}

html.tz-kb-page #main-body .kb-search .btn {
    height: 52px !important;
    min-width: 110px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(90deg, #12b5c9, #0a86a8) !important;
    color: #fff !important;
    font-size: 15px !important;
}

/* categories as cards */
html.tz-kb-page #main-body .kbcategories .kc-bg-box-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    background: none !important;
    box-shadow: none !important;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid #e8ecf3 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .35);
    transition: transform .2s, border-color .2s;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 153, 184, .35) !important;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: #0f172a !important;
    font-size: 14.5px;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div > a > i {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(234, 88, 12, .12) !important;
    color: #ea580c !important;
    font-size: 17px !important;
    position: static !important;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div > a > span {
    margin-inline-start: auto;
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff4e6 !important;
    color: #c2410c !important;
    font-size: 11.5px !important;
    position: static !important;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div > p {
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    color: #64748b !important;
}

html.tz-kb-page #main-body h2 {
    margin: 4px 0 12px !important;
    font-size: 16px !important;
    color: #0f172a !important;
}

/* ===================================================== phones */
@media (max-width: 767.98px) {
    html.tz-dc-page #main-body .domain-checker-container,
    html.tz-kb-page #main-body .kb-search-background {
        padding: 18px 14px 16px !important;
        border-radius: 20px !important;
    }

    .tz-dc-head,
    .tz-kb-head {
        gap: 10px;
        margin-bottom: 14px;
    }

    .tz-dc-ico,
    .tz-kb-ico {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .tz-dc-head b,
    .tz-kb-head b {
        font-size: 16.5px;
    }

    .tz-dc-head small,
    .tz-kb-head small {
        font-size: 12px;
    }

    html.tz-dc-page #main-body .domain-checker-container .input-group .form-control,
    html.tz-kb-page #main-body .kb-search .form-control {
        height: 46px !important;
    }

    html.tz-dc-page #main-body .domain-checker-container .input-group-btn .btn,
    html.tz-kb-page #main-body .kb-search .btn {
        height: 46px !important;
        min-width: 0;
        padding: 0 16px !important;
    }

    .tz-dc-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -14px;
        padding: 0 14px 2px;
        scrollbar-width: none;
    }

    .tz-dc-chip {
        flex: none;
    }

    .tz-dc-list {
        width: 100%;
        justify-content: center;
    }

    .tz-sg-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .tz-sg-card {
        padding: 10px 11px;
    }

    .tz-modal {
        align-items: flex-end;
        padding: 0;
    }

    .tz-modal-card {
        width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .tz-price-table thead {
        display: none;
    }

    .tz-price-table tbody tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px 8px;
        padding: 10px 14px;
        border-bottom: 1px solid #f1f4f8;
    }

    .tz-price-table td {
        padding: 0;
        border: 0;
        font-size: 12px;
    }

    .tz-price-table td.tz-pt-tld {
        grid-column: 1 / -1;
        font-size: 14.5px;
    }

    .tz-price-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 10.5px;
        color: #94a3b8;
    }

    html.tz-store-page #products .row-eq-height {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    html.tz-store-page #products .product > div[id^="product"] {
        padding: 18px 16px 16px !important;
        border-radius: 20px !important;
    }

    html.tz-store-page #products .product .product-pricing .price {
        font-size: 19px !important;
    }

    html.tz-store-page .tz-store-nav {
        margin: 0 -2px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tz-modal,
    .tz-modal-card,
    .tz-sg-card.is-loading .tz-sg-status {
        animation: none !important;
    }
}

/* ===================================================== v2 fixes */
/* search boxes: input + button always on one line */
html.tz-dc-page #main-body .domain-checker-container .input-group,
html.tz-kb-page #main-body .kb-search {
    flex-wrap: nowrap !important;
}

html.tz-dc-page #main-body .domain-checker-container .input-group .form-control,
html.tz-kb-page #main-body .kb-search .form-control {
    float: none !important;
    width: auto !important;
    min-width: 0;
}

html.tz-dc-page #main-body .domain-checker-container .input-group-btn,
html.tz-kb-page #main-body .kb-search .input-group-btn {
    flex: none;
}

/* suggestions: extension in large type, full name below */
.tz-sg-top b {
    font-size: 16px;
    color: #0a7f93;
}

.tz-sg-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #334155;
    text-align: left;
}

.tz-sg-card {
    min-width: 0;
}

/* store: cards grow with their content, grid uses the full width */
html.tz-store-page #products,
html.tz-store-page #products.coowhm-product {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.tz-store-page #products .row-eq-height {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

html.tz-store-page #products .product > div[id^="product"],
html.tz-store-page #products .product .product-desc,
html.tz-store-page #products .product .product-pricing,
html.tz-store-page #products .product footer {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    top: auto !important;
    bottom: auto !important;
}

html.tz-store-page #products .product .product-desc {
    overflow: visible !important;
}

/* knowledge base: categories without the outer box */
html.tz-kb-page #main-body .kbcategories .kc-bg-box-container {
    padding: 0 !important;
    border: 0 !important;
}

html.tz-kb-page #main-body .kbcategories .kc-bg-box-container > div > a > i {
    order: -1;
}

@media (max-width: 767.98px) {
    .tz-sg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* theme column wrappers around the store cards draw faint lines */
html.tz-store-page #products .product {
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* ===================================================== v4: domain page balance */
/* the cart's category/actions selects: never (the portal sidebar and tab bar already have the store
   menu; in Persian the theme's RTL.css hid them, in other languages they showed as two identical
   "- Choose Another Category -" boxes) */
html.tcu #order-standard_cart .sidebar-collapsed { display: none !important; }

/* results column + side banner: same height */
html.tz-dc-page #order-standard_cart .domain-checker-container ~ .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    row-gap: 16px;
}

html.tz-dc-page #order-standard_cart .domain-checker-container ~ .row::before,
html.tz-dc-page #order-standard_cart .domain-checker-container ~ .row::after {
    display: none;
}

html.tz-dc-page #order-standard_cart .domain-checker-container ~ .row > .col-md-4 {
    display: flex;
    flex-direction: column;
}

html.tz-dc-page #order-standard_cart .domain-checker-container ~ .row > .col-md-4 > .side-banner-box {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
}

html.tz-shell #main-body .side-banner-box .flickity-viewport {
    height: auto !important;
}

html.tz-shell #main-body .side-banner-box .flickity-slider {
    position: static !important;
    transform: none !important;
}

html.tz-shell #main-body .side-banner-box .carousel-cell {
    position: static !important;
    padding: 22px 24px !important;
}

/* promo boxes: equal height, button at the bottom */
html.tz-dc-page #order-standard_cart .col-md-8 > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 16px;
}

html.tz-dc-page #order-standard_cart .col-md-8 > .row::before,
html.tz-dc-page #order-standard_cart .col-md-8 > .row::after {
    display: none;
}

html.tz-dc-page #order-standard_cart .col-md-8 > .row > .col-md-6 {
    display: flex;
}

html.tz-shell #main-body .domain-promo-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

html.tz-shell #main-body .domain-promo-box > .btn {
    align-self: flex-start;
    margin-top: auto !important;
}

/* WHMCS result card */
html.tz-dc-page #DomainSearchResults #searchDomainInfo {
    overflow: hidden;
    padding: 0 !important;
}

html.tz-dc-page #DomainSearchResults .domain-lookup-result {
    padding: 22px 20px 0;
    text-align: center;
}

html.tz-dc-page #DomainSearchResults .btn,
html.tz-dc-page #DomainSearchResults .btn-add-to-cart {
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg, #22c55e, #15803d) !important;
    color: #fff !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 14px 26px -16px rgba(21, 128, 61, .9) !important;
}

/* suggestions: 4 + 4 on wide screens */
@media (min-width: 1200px) {
    .tz-sg-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tz-sg-price bdi {
    unicode-bidi: isolate;
}

/* store in left-to-right languages: Persian feature lines keep their own direction */
.tz-feat-list li > span {
    min-width: 0;
}

html.tz-store-page #products .product footer .btn {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

html.tz-store-page #products .product .product-name {
    unicode-bidi: plaintext;
}

/* one grid for all products: equal widths everywhere, equal heights per row (WHMCS splits rows into separate .row-eq-height wrappers) */
html.tz-store-page #order-standard_cart #products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    align-items: stretch;
    gap: 16px;
}

html.tz-store-page #order-standard_cart #products > .row-eq-height {
    display: contents !important;
}

html.tz-store-page #products .product > div[id^="product"] {
    height: 100% !important;
}

html.tz-store-page #products .product .prod-desc-div[hidden] {
    display: none !important;
}

@media (max-width: 767.98px) {
    html.tz-store-page #order-standard_cart #products {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===================================================== domain step of an order (configureproductdomain) */
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options { margin: 0 0 18px; border: 0; background: none; box-shadow: none; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; padding: 0; border: 0; background: none; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option {
    position: relative; margin: 0 !important; padding: 0 !important; border: 1px solid #dfe6ef !important; border-radius: 16px !important;
    background: #fff !important; box-shadow: 0 10px 24px -22px rgba(15, 40, 70, .55); transition: border-color .15s, box-shadow .15s, transform .15s;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:hover { border-color: #9fd6e3 !important; transform: translateY(-1px); }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option label {
    display: flex !important; align-items: center; gap: 12px; width: 100%; margin: 0 !important; padding: 16px 16px !important; cursor: pointer;
    font-size: 14px !important; line-height: 1.6; color: #1f2937 !important; font-weight: normal;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option label::before {
    content: ""; flex: 0 0 42px; height: 42px; border-radius: 12px; background: #eef7fa center / 22px no-repeat;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(#selregister) label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(#seltransfer) label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h13l-3-3M20 17H7l3 3'/%3E%3C/svg%3E"); }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(#selowndomain) label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E"); }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(#selsubdomain) label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v12a3 3 0 0 0 3 3h9M15 15l3 3-3 3'/%3E%3C/svg%3E"); }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(#selincart) label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.4 11h11L21 7H6'/%3E%3C/svg%3E"); }
/* the radio sits at the end of the card */
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option .iradio_square-blue { order: 3; margin: 0 !important; margin-inline-start: auto !important; flex: 0 0 auto; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(.checked),
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option-selected {
    border-color: #0099b8 !important; background: linear-gradient(180deg, #f2fbfd, #e6f6fa) !important; box-shadow: 0 0 0 3px rgba(0, 153, 184, .14), 0 14px 26px -20px rgba(0, 120, 150, .7);
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option:has(.checked) label::before { background-color: #fff; }

/* search panel: light card instead of the purple banner */
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options,
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options-list,
html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option {
    height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; float: none !important; width: auto !important;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-resultat-tab-box {
    position: relative !important; top: auto !important; margin: 14px 0 0 !important; padding: 8px 0 !important; min-height: 0 !important; height: auto !important;
    background: linear-gradient(135deg, #f4fbfd, #e8f4f8) !important; border: 1px solid #d5e9ef; border-radius: 18px; box-shadow: none !important; overflow: hidden;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group { background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-resultat-tab-box::before,
html.tcu-p-configureproductdomain #order-standard_cart .domain-resultat-tab-box::after,
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group::before,
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group::after { display: none !important; content: none !important; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group { padding: 22px 18px !important; margin: 0 !important; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group > .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .form-control {
    height: 50px !important; border: 1px solid #cfe1ea !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; font-size: 15px;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .form-control:focus { border-color: #0099b8 !important; box-shadow: 0 0 0 3px rgba(0, 153, 184, .15) !important; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .btn-primary {
    height: 50px; border: 0 !important; border-radius: 14px !important; background: linear-gradient(135deg, #22b3cc, #0b7f99) !important; color: #fff !important;
    box-shadow: 0 3px 0 #08657a, 0 12px 22px -14px rgba(0, 120, 150, .9) !important; font-size: 15px; clip-path: none !important;
}
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .btn-primary::before,
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .btn-primary::after { display: none !important; }
html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #08657a !important; }
@media (max-width: 767px) {
    html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options-list { grid-template-columns: 1fr; gap: 8px; }
    html.tcu-p-configureproductdomain #order-standard_cart .domain-selection-options .option label { padding: 12px !important; }
    html.tcu-p-configureproductdomain #order-standard_cart .domain-input-group .col-sm-2 { width: 100%; margin-top: 10px; }
}
html.tcu-p-configureproductdomain #order-standard_cart #DomainSearchResults { margin-top: 16px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
html.tcu-p-configureproductdomain #order-standard_cart #searchDomainInfo { border: 1px solid #dfe6ef !important; border-radius: 18px !important; background: #fff; box-shadow: 0 12px 26px -24px rgba(15, 40, 70, .55); }
html.tcu-p-configureproductdomain #order-standard_cart #frmProductDomainSelections .text-center .btn,
html.tcu-p-configureproductdomain #order-standard_cart #btnDomainContinue { margin-top: 16px !important; min-height: 48px; padding: 0 34px; border: 0 !important; border-radius: 14px !important; background: linear-gradient(135deg, #22b3cc, #0b7f99) !important; box-shadow: 0 3px 0 #08657a, 0 12px 22px -14px rgba(0, 120, 150, .9) !important; }
