/**
 * Standard Cart — Vazirmatn, Persian digits, domain checker & responsive
 */

/* ── Local Vazirmatn ── */
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── Global font ── */
#order-standard_cart,
#order-standard_cart input,
#order-standard_cart textarea,
#order-standard_cart select,
#order-standard_cart button,
#order-standard_cart .btn,
#order-standard_cart .form-control,
#order-standard_cart label,
#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3,
#order-standard_cart h4,
#order-standard_cart p,
#order-standard_cart span,
#order-standard_cart td,
#order-standard_cart th,
#order-standard_cart li,
#order-standard_cart a,
#order-standard_cart .panel,
#order-standard_cart .card,
#order-standard_cart .modal,
#order-standard_cart .list-group-item,
#order-standard_cart .multiselect,
#order-standard_cart .dropdown-menu {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
}

#order-standard_cart .fas,
#order-standard_cart .far,
#order-standard_cart .fab,
#order-standard_cart .fal,
#order-standard_cart .fad,
#order-standard_cart .fa,
#order-standard_cart .fa-solid,
#order-standard_cart .fa-regular,
#order-standard_cart .fa-brands,
#order-standard_cart i[class*="fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* ── Persian numerals (static content; JS handles dynamic) ── */
#order-standard_cart {
    font-variant-numeric: normal;
    -moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}

/* ══════════════════════════════════════════
   Domain Checker — minimal redesign
   ══════════════════════════════════════════ */

/* reset legacy WHMCS styles */
#order-standard_cart .domain-checker-container,
#order-standard_cart .domain-checker-container.is-advanced,
#order-standard_cart .domain-checker-container.domain-checker-advanced {
    margin: 20px 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

#order-standard_cart .domain-checker-bg {
    padding: 0;
    background: none !important;
}

#order-standard_cart .domain-checker-container .input-group-box {
    display: block;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    max-width: none;
}

#order-standard_cart .domain-checker-container.domain-checker-advanced #btnCheckAvailability,
.domain-checker-container.domain-checker-advanced #btnCheckAvailability {
    position: static;
    top: auto;
    right: auto;
}

/* card shell */
#order-standard_cart .domain-checker-form {
    max-width: 760px;
    margin: 0 auto;
}

#order-standard_cart .domain-checker-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: visible;
}

#order-standard_cart .domain-input-group .domain-checker-card {
    margin-top: 12px;
}

/* ── simple search ── */
#order-standard_cart .domain-checker-search {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

#order-standard_cart .domain-checker-input,
#order-standard_cart .domain-checker-search .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 400;
    color: #111827;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: none;
}

#order-standard_cart .domain-checker-input:focus,
#order-standard_cart .domain-checker-search .form-control:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

#order-standard_cart .domain-checker-input::placeholder {
    color: #9ca3af;
}

/* ── advanced: textarea ── */
#order-standard_cart .domain-checker-prompt {
    margin-bottom: 16px;
}

#order-standard_cart .domain-checker-textarea {
    display: block;
    width: 100%;
    min-height: 108px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #111827;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    resize: vertical;
    box-sizing: border-box;
}

#order-standard_cart .domain-checker-textarea:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

#order-standard_cart .domain-checker-textarea::placeholder {
    color: #9ca3af;
}

/* ── advanced: footer toolbar ── */
#order-standard_cart .domain-checker-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

#order-standard_cart .domain-checker-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1 1 280px;
    min-width: 0;
}

#order-standard_cart .domain-checker-filter-item {
    flex: 0 1 auto;
    min-width: 140px;
    position: relative;
}

#order-standard_cart .domain-checker-filter-item--tld {
    flex: 1 1 180px;
    max-width: 260px;
}

#order-standard_cart .domain-checker-filter-item--length {
    flex: 0 1 140px;
    max-width: 180px;
}

#order-standard_cart .domain-checker-safe-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 400;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
}

#order-standard_cart .domain-checker-safe-search input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

#order-standard_cart .domain-checker-submit {
    flex: 0 0 auto;
}

/* submit button */
#order-standard_cart .domain-checker-card .domain-check-availability,
#order-standard_cart .domain-checker-card .btn-primary.domain-check-availability {
    height: 46px;
    min-width: 110px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #4f46e5;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}

#order-standard_cart .domain-checker-card .domain-check-availability:hover,
#order-standard_cart .domain-checker-card .btn-primary.domain-check-availability:hover {
    background: #4338ca;
    transform: none;
    box-shadow: none;
}

/* ── multiselect (bootstrap-multiselect) ── */
#order-standard_cart .domain-checker-card .multiselect-native-select {
    display: block;
    width: 100%;
}

#order-standard_cart .domain-checker-card .btn-group {
    display: block;
    width: 100%;
    position: relative;
}

#order-standard_cart .domain-checker-card .btn-group.open {
    z-index: 20;
}

#order-standard_cart .domain-checker-card select.multiselect {
    display: none;
}

#order-standard_cart .domain-checker-card button.multiselect.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 400;
    color: #374151;
    text-align: right;
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#order-standard_cart .domain-checker-card button.multiselect.dropdown-toggle:hover,
#order-standard_cart .domain-checker-card button.multiselect.dropdown-toggle:focus,
#order-standard_cart .domain-checker-card .btn-group.open button.multiselect.dropdown-toggle {
    border-color: #6366f1 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

#order-standard_cart .domain-checker-card button.multiselect .caret {
    margin-left: 8px;
    margin-right: 0;
    flex-shrink: 0;
}

#order-standard_cart .domain-checker-card .multiselect-container.dropdown-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    float: none;
    width: 100%;
    min-width: 180px;
    max-width: 300px;
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    z-index: 1050 !important;
}

#order-standard_cart .domain-checker-card .multiselect-container > li {
    padding: 0;
}

#order-standard_cart .domain-checker-card .multiselect-container > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: #374151;
    background: transparent;
    white-space: nowrap;
}

#order-standard_cart .domain-checker-card .multiselect-container > li > a:hover,
#order-standard_cart .domain-checker-card .multiselect-container > li > a:focus {
    background: #f3f4f6;
    color: #111827;
}

#order-standard_cart .domain-checker-card .multiselect-container > li.active > a {
    background: #eef2ff;
    color: #4338ca;
}

#order-standard_cart .domain-checker-card .multiselect-container .multiselect-item.filter {
    width: auto;
    margin: 4px 8px 6px;
    padding: 0;
}

#order-standard_cart .domain-checker-card .multiselect-container .multiselect-filter {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-sizing: border-box;
}

#order-standard_cart .domain-checker-card .multiselect-container label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

#order-standard_cart .domain-checker-card .multiselect-container input[type="checkbox"] {
    margin: 0;
}

/* captcha */
#order-standard_cart .domain-checker-captcha {
    max-width: 760px;
    margin: 16px auto 0;
    text-align: center;
}

#order-standard_cart .domain-checker-captcha .default-captcha-register-margin {
    margin: 0 auto;
}

/* ── responsive ── */
@media (max-width: 640px) {
    #order-standard_cart .domain-checker-card {
        padding: 16px;
    }

    #order-standard_cart .domain-checker-search {
        flex-direction: column;
    }

    #order-standard_cart .domain-checker-search .domain-check-availability {
        width: 100%;
    }

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

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

    #order-standard_cart .domain-checker-filter-item,
    #order-standard_cart .domain-checker-filter-item--tld,
    #order-standard_cart .domain-checker-filter-item--length {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }

    #order-standard_cart .domain-checker-submit,
    #order-standard_cart .domain-checker-submit .domain-check-availability {
        width: 100%;
    }

    #order-standard_cart .domain-checker-card .multiselect-container.dropdown-menu {
        max-width: 100%;
    }
}

/* ══════════════════════════════════════════
   Store — product cards & admin HTML content
   ══════════════════════════════════════════ */

#order-standard_cart .products {
    margin: 10px 0;
}

#order-standard_cart .products .product,
#order-standard_cart .products .product.product-card {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
    padding: 0 0 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#order-standard_cart .products .product header,
#order-standard_cart .products .product .product-card-header {
    float: none;
    width: 100%;
    padding: 18px 20px 12px;
    margin: 0;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    text-align: center;
}

#order-standard_cart .products .product header span,
#order-standard_cart .products .product .product-card-title {
    display: block;
    margin: 0;
    color: #111827;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

#order-standard_cart .products .product header .qty {
    float: none;
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: normal;
    color: #9ca3af;
    text-align: center;
}

#order-standard_cart .products .product div.product-pricing,
#order-standard_cart .products .product .product-card-pricing {
    float: none;
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    text-align: center;
    line-height: 1.5;
    color: #6b7280;
    font-size: 13px;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    box-sizing: border-box;
}

#order-standard_cart .products .product div.product-pricing span.price {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 4px;
    direction: ltr;
    unicode-bidi: embed;
}

#order-standard_cart .products .product div.product-desc,
#order-standard_cart .products .product .product-card-desc {
    float: none;
    width: 100%;
    flex: 1 1 auto;
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
    box-sizing: border-box;
}

#order-standard_cart .products .product div.product-desc-content,
#order-standard_cart .products .product div.product-desc-content ul,
#order-standard_cart .products .product ul.product-features-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#order-standard_cart .products .product div.product-desc-content ul li,
#order-standard_cart .products .product ul.product-features-list li {
    display: block;
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: inherit;
    line-height: 1.5;
    color: inherit;
}

#order-standard_cart .products .product div.product-desc-content ul li:last-child,
#order-standard_cart .products .product ul.product-features-list li:last-child {
    border-bottom: none;
}

/* Admin HTML often adds <br> after each <li> — hide them */
#order-standard_cart .products .product div.product-desc-content br,
#order-standard_cart .products .product div.product-desc-content ul br {
    display: none;
}

#order-standard_cart .products .product div.product-desc-content ul li b,
#order-standard_cart .products .product div.product-desc-content ul li strong {
    font-weight: 600;
    color: #111827;
}

#order-standard_cart .products .product div.product-desc-content ul li s,
#order-standard_cart .products .product div.product-desc-content ul li s b {
    color: #9ca3af;
    text-decoration: line-through;
}

#order-standard_cart .products .product div.product-desc-content ul li:empty,
#order-standard_cart .products .product div.product-desc-content ul li.border-top:empty {
    display: none;
}

#order-standard_cart .products .product div.product-desc-content ul li.border-top,
#order-standard_cart .products .product div.product-desc-content ul li[class*="border-top"] {
    border-top: 1px solid #e5e7eb;
    border-bottom: none;
    padding-top: 14px;
    margin-top: 4px;
}

#order-standard_cart .products .product div.product-desc-content ul li.text-muted,
#order-standard_cart .products .product div.product-desc-content ul li[class*="text-muted"] {
    display: block;
    border-bottom: none;
    padding: 6px 0;
    font-size: 12px;
    color: #6b7280;
    justify-content: flex-start;
}

#order-standard_cart .products .product div.product-desc-content ul li.text-muted i,
#order-standard_cart .products .product div.product-desc-content ul li[class*="text-muted"] i {
    margin-left: 8px;
    color: #6366f1;
    font-size: 12px;
}

#order-standard_cart .products .product div.product-desc-content p {
    margin: 0 0 12px;
}

#order-standard_cart .products .product span.feature-value {
    font-weight: 600;
    color: #111827;
}

#order-standard_cart .products .product footer,
#order-standard_cart .products .product .product-card-footer {
    float: none;
    width: 100%;
    margin: 0;
    padding: 4px 20px 0;
    text-align: center;
    background: transparent;
    border: none;
    min-height: auto;
    display: block;
    box-sizing: border-box;
}

#order-standard_cart .products .product footer .btn-order-now,
#order-standard_cart .products .product .product-card-footer .btn-order-now {
    min-width: 140px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#order-standard_cart .products .product footer .btn-order-now:hover,
#order-standard_cart .products .product footer .btn-order-now:focus,
#order-standard_cart .products .product .product-card-footer .btn-order-now:hover,
#order-standard_cart .products .product .product-card-footer .btn-order-now:focus {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

#order-standard_cart .products .product footer .btn-order-now i {
    margin-left: 6px;
}

/* coodiv / bootstrap utility fallbacks inside product HTML */
#order-standard_cart .products .product .mb-0 { margin-bottom: 0 !important; }
#order-standard_cart .products .product .mt-4 { margin-top: 1rem !important; }
#order-standard_cart .products .product .pt-4 { padding-top: 1rem !important; }
#order-standard_cart .products .product .pb-0 { padding-bottom: 0 !important; }
#order-standard_cart .products .product .py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
#order-standard_cart .products .product .text-muted { color: #6b7280 !important; }
#order-standard_cart .products .product .border-top { border-top: 1px solid #e5e7eb !important; }
#order-standard_cart .products .product .mr-3 { margin-left: 12px !important; margin-right: 0 !important; }

/* ══════════════════════════════════════════
   Domain Pricing Table — minimal modern
   ══════════════════════════════════════════ */

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

/* featured TLD cards — 3 centered below search */
#order-standard_cart .featured-tlds-grid .featured-tld-card:nth-child(n+4) {
    display: none;
}

#order-standard_cart .featured-tlds-container {
    max-width: 760px;
    margin: 20px auto 28px;
    padding: 0;
}

#order-standard_cart .featured-tlds-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
}

#order-standard_cart .featured-tld-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 1 calc(33.333% - 14px);
    min-width: 180px;
    max-width: 220px;
    padding: 22px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#order-standard_cart .featured-tld-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
}

#order-standard_cart .featured-tld-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
}

#order-standard_cart .featured-tld-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 36px;
    object-fit: contain;
}

#order-standard_cart .featured-tld-price {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    direction: ltr;
    unicode-bidi: embed;
}

/* table section */
#order-standard_cart .domain-pricing-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#order-standard_cart .domain-pricing-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* category filter pills — centered, minimal */
#order-standard_cart .domain-pricing-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 0 4px;
}

#order-standard_cart .domain-pricing-filters .domain-pricing-filter-pill,
#order-standard_cart .domain-pricing-filters a.badge.badge-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #475569 !important;
    text-decoration: none !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

#order-standard_cart .domain-pricing-filters .domain-pricing-filter-pill:hover,
#order-standard_cart .domain-pricing-filters a.badge.badge-secondary:hover {
    color: #4338ca !important;
    background: #f5f3ff !important;
    border-color: #c4b5fd !important;
}

#order-standard_cart .domain-pricing-filters .domain-pricing-filter-pill.active,
#order-standard_cart .domain-pricing-filters a.badge.badge-secondary.active {
    color: #fff !important;
    background: #6366f1 !important;
    border-color: #6366f1 !important;
}

#order-standard_cart .domain-pricing-filter-pill .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    font-size: 11px;
    font-weight: 600;
    color: inherit;
    background: #f1f5f9;
    border-radius: 999px;
}

#order-standard_cart .domain-pricing-filter-pill.active .filter-count {
    background: rgba(255, 255, 255, 0.22);
}

/* pricing table grid */
#order-standard_cart .domain-pricing-table {
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
}

/* Show all TLD rows by default — override parent theme filters */
#order-standard_cart .domain-pricing-modern .domain-pricing-table .tld-row:not(.no-tlds):not(.is-hidden) {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#order-standard_cart .domain-pricing-modern .domain-pricing-table .tld-row.is-hidden,
#order-standard_cart .domain-pricing-modern .domain-pricing-table .tld-row.no-tlds.is-hidden {
    display: none !important;
}

#order-standard_cart .domain-pricing-modern .domain-pricing-table .tld-row.no-tlds:not(.is-hidden) {
    display: grid !important;
}

#order-standard_cart .domain-pricing-table .tld-pricing-header,
#order-standard_cart .domain-pricing-table .tld-row {
    display: grid;
    grid-template-columns: 72px 1fr 1fr 1fr;
    align-items: center;
    gap: 8px;
}

#order-standard_cart .domain-pricing-table .tld-pricing-header {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

#order-standard_cart .domain-pricing-table .tld-pricing-col--register,
#order-standard_cart .domain-pricing-table .tld-pricing-col--transfer,
#order-standard_cart .domain-pricing-table .tld-pricing-col--renew {
    text-align: center;
}

#order-standard_cart .domain-pricing-table .tld-row {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s ease;
}

#order-standard_cart .domain-pricing-table .tld-row:last-child {
    border-bottom: none;
}

#order-standard_cart .domain-pricing-table .tld-row:hover {
    background: #fafafa;
}

#order-standard_cart .domain-pricing-table .tld-row.highlighted {
    background: #eef2ff;
}

#order-standard_cart .domain-pricing-table .tld-row.highlighted:hover {
    background: #e0e7ff;
}

#order-standard_cart .domain-pricing-table .tld-pricing-col--tld {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

#order-standard_cart .domain-pricing-table .tld-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    direction: ltr;
    unicode-bidi: embed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

#order-standard_cart .domain-pricing-table .tld-badge {
    display: inline-block;
    max-width: 100%;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 4px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#order-standard_cart .domain-pricing-table .tld-badge--hot {
    color: #b91c1c;
    background: #fef2f2;
}

#order-standard_cart .domain-pricing-table .tld-badge--sale {
    color: #a16207;
    background: #fefce8;
}

#order-standard_cart .domain-pricing-table .tld-badge--new {
    color: #15803d;
    background: #f0fdf4;
}

#order-standard_cart .domain-pricing-table .tld-price-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

#order-standard_cart .domain-pricing-table .tld-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

#order-standard_cart .domain-pricing-table .tld-price {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    direction: ltr;
    unicode-bidi: embed;
}

#order-standard_cart .domain-pricing-table .tld-period {
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
}

#order-standard_cart .domain-pricing-table .tld-price--free {
    color: #059669;
    font-size: 13px;
}

#order-standard_cart .domain-pricing-table .tld-price--na {
    color: #d1d5db;
    font-size: 13px;
    font-weight: 400;
}

#order-standard_cart .domain-pricing-table .tld-row--empty.no-tlds {
    display: none;
    grid-template-columns: 1fr;
    padding: 32px 16px;
    text-align: center;
}

#order-standard_cart .domain-pricing-table .tld-empty-message {
    font-size: 14px;
    color: #9ca3af;
}

/* reset legacy WHMCS pricing styles */
#order-standard_cart .domain-pricing-modern .two-row-center {
    line-height: inherit;
    margin: 0;
    border-right: none;
}

#order-standard_cart .domain-pricing-modern .tld-pricing-header .col-xs-2,
#order-standard_cart .domain-pricing-modern .tld-pricing-header .col-sm-2,
#order-standard_cart .domain-pricing-modern .tld-pricing-header .col-xs-4,
#order-standard_cart .domain-pricing-modern .tld-pricing-header .col-sm-4 {
    height: auto;
    border-bottom: none;
    background: transparent;
}

@media (max-width: 768px) {
    #order-standard_cart .domain-pricing-table-wrap {
        padding: 16px;
    }

    #order-standard_cart .domain-pricing-table .tld-pricing-header {
        display: none;
    }

    #order-standard_cart .domain-pricing-table .tld-row {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 16px;
    }

    #order-standard_cart .domain-pricing-table .tld-pricing-col--tld {
        padding-bottom: 12px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f3f4f6;
    }

    #order-standard_cart .domain-pricing-table .tld-price-cell {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 7px 0;
    }

    #order-standard_cart .domain-pricing-table .tld-price-cell::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 500;
        color: #9ca3af;
    }

    #order-standard_cart .domain-pricing-table .tld-price-wrap {
        align-items: flex-end;
    }
}

@media (max-width: 520px) {
    #order-standard_cart .featured-tld-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    #order-standard_cart .domain-pricing-filters {
        gap: 6px;
    }

    #order-standard_cart .domain-pricing-filter-pill,
    #order-standard_cart .domain-pricing-filters a.badge.badge-secondary {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* ── Spotlight TLDs ── */
#order-standard_cart .spotlight-tlds {
    margin: 20px 0;
    padding: 20px 16px;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8edf3 100%);
    border-radius: 14px;
    border: 1px solid #dde4ec;
}

#order-standard_cart .spotlight-tlds-container {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}

#order-standard_cart .spotlight-tld-container {
    float: none;
    box-sizing: border-box;
    padding: 8px;
    flex: 1 1 calc(25% - 16px);
    min-width: 150px;
    max-width: 100%;
}

#order-standard_cart .spotlight-tld-container-1 { flex: 1 1 100%; max-width: 100%; }
#order-standard_cart .spotlight-tld-container-2 { flex: 1 1 calc(50% - 16px); }
#order-standard_cart .spotlight-tld-container-3 { flex: 1 1 calc(33.333% - 16px); }

#order-standard_cart .spotlight-tld {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    height: auto;
    padding: 18px 12px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: visible;
}

#order-standard_cart .spotlight-tld:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

#order-standard_cart .spotlight-tld span {
    padding: 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

#order-standard_cart .spotlight-tld span.available.price {
    display: block;
    margin: 6px 0;
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border-radius: 8px;
    direction: ltr;
    unicode-bidi: embed;
}

#order-standard_cart .spotlight-tld .btn:not(.domain-contact-support) {
    width: 90%;
    max-width: 180px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

#order-standard_cart .spotlight-tld .btn:not(.domain-contact-support):hover {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    transform: scale(1.02);
}

#order-standard_cart .spotlight-tld .btn.domain-contact-support {
    min-width: 85%;
    max-width: 180px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
}

#order-standard_cart .spotlight-tld .unavailable,
#order-standard_cart .spotlight-tld .invalid {
    margin: 8px 0;
    padding: 8px 12px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 500;
}

#order-standard_cart .spotlight-tld .domain-lookup-spotlight-loader {
    line-height: 1.5;
    font-size: 1.25em;
    color: #94a3b8;
}

#order-standard_cart .spotlight-tld-new,
#order-standard_cart .spotlight-tld-sale,
#order-standard_cart .spotlight-tld-hot {
    width: 72px;
    padding: 4px 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#order-standard_cart .spotlight-tld-new {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

#order-standard_cart .spotlight-tld-sale {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

#order-standard_cart .spotlight-tld-hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

@media (max-width: 991px) {
    #order-standard_cart .spotlight-tld-container,
    #order-standard_cart .spotlight-tld-container-4,
    #order-standard_cart .spotlight-tld-container-5,
    #order-standard_cart .spotlight-tld-container-6 {
        flex: 1 1 calc(33.333% - 16px);
        min-width: 140px;
    }

    #order-standard_cart .spotlight-tld-container-7,
    #order-standard_cart .spotlight-tld-container-8 {
        flex: 1 1 calc(25% - 16px);
    }
}

@media (max-width: 767px) {
    #order-standard_cart .spotlight-tld-container,
    #order-standard_cart [class*="spotlight-tld-container-"] {
        flex: 1 1 calc(50% - 16px);
        min-width: 130px;
    }

    #order-standard_cart .spotlight-tld {
        min-height: 118px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #order-standard_cart .spotlight-tlds {
        padding: 14px 10px;
    }

    #order-standard_cart .spotlight-tld-container,
    #order-standard_cart [class*="spotlight-tld-container-"] {
        flex: 1 1 100%;
        min-width: 0;
    }

    #order-standard_cart .spotlight-tld {
        min-height: auto;
        padding: 16px 12px;
    }
}

/* ── Responsive: cart layout ── */
@media (max-width: 1199px) {
    #order-standard_cart .font-size-36 {
        font-size: clamp(24px, 5vw, 36px) !important;
    }

    #order-standard_cart .font-size-30 {
        font-size: clamp(20px, 4vw, 30px) !important;
    }

    #order-standard_cart .font-size-24 {
        font-size: clamp(18px, 3.5vw, 24px) !important;
    }
}

@media (max-width: 767px) {
    #order-standard_cart {
        padding-bottom: 24px;
    }

    #order-standard_cart .view-cart-items .item {
        text-align: center;
    }

    #order-standard_cart .view-cart-items .item-price {
        text-align: center;
        margin-top: 8px;
    }

    #order-standard_cart .domain-checker-result-headline {
        font-size: 1.25em;
        margin: 16px 12px;
        padding: 0 8px;
    }

    #order-standard_cart .suggested-domains .list-group-item {
        padding: 12px 10px;
    }

    #order-standard_cart .domain-bulk-options-box {
        position: static;
        margin-bottom: 8px;
        text-align: center;
    }

    #order-standard_cart .domain-bulk-domain-well {
        width: 100%;
    }

    #order-standard_cart .products .product div.product-desc,
    #order-standard_cart .products .product .product-card-desc,
    #order-standard_cart .products .product footer,
    #order-standard_cart .products .product .product-card-footer {
        float: none;
        width: 100%;
    }

    #order-standard_cart .products .product footer,
    #order-standard_cart .products .product .product-card-footer {
        border: none;
        padding: 8px 16px 0;
    }

    #order-standard_cart .products .product div.product-desc-content ul li {
        padding: 8px 0;
    }

    #order-standard_cart .mc-promo .body li {
        width: 100%;
        float: none;
    }

    #order-standard_cart .empty-cart {
        text-align: center;
        margin: 0 0 12px 0;
    }

    #order-standard_cart .btn-checkout {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 575px) {
    #order-standard_cart .cart-body,
    #order-standard_cart .cart-sidebar {
        padding-left: 10px;
        padding-right: 10px;
    }

    #order-standard_cart .order-summary .total-due-today .amt {
        font-size: 1.8em;
    }

    #order-standard_cart .cc-input-container .existing-cc-grid {
        display: block;
    }

    #order-standard_cart .express-checkout-buttons .separator {
        margin-left: 0;
    }
}

@media (max-width: 360px) {
    #order-standard_cart .font-size-36 {
        font-size: 22px !important;
    }
}
