/* ========== Domain Registration Page Styles ========== */

/* Page background */
body {
    background-color: #f5f5f5;
}

/* ========== Section 1: Banner ========== */
.domain-banner {
    background: linear-gradient(135deg, #0066cc 0%, #2468f2 50%, #4a90e2 100%);
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.domain-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.domain-banner-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.domain-search-card {
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 35px 40px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.domain-search-input-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.domain-prefix {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.domain-search-input {
    flex: 1;
    height: 48px;
    border: 2px solid #d9d9d9;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    min-width: 200px;
}

.domain-search-input:focus {
    border-color: #2468f2;
}

.domain-search-btn {
    background-color: #2468f2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 32px;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 12px;
    transition: background-color 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}

.domain-search-btn:hover {
    background-color: #0050d0;
}

.domain-search-btn:disabled {
    background-color: #a0c4ff;
    cursor: not-allowed;
}

/* Suffix checkboxes */
.domain-suffixes {
    margin-bottom: 15px;
}

.domain-suffix-group {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px 8px;
    margin-bottom: 12px;
}

.domain-suffix-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.domain-suffix-item input[type="checkbox"] {
    margin-right: 5px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2468f2;
}

/* Select options row */
.domain-select-options {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.domain-select-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.domain-select-option input[type="radio"] {
    margin-right: 5px;
    accent-color: #2468f2;
}

.btn-set-common {
    background-color: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
    margin-left: auto;
    transition: background-color 0.3s;
}

.btn-set-common:hover {
    background-color: #e67e00;
}

/* ========== Section 2: Search Results ========== */
.domain-results-section {
    padding: 50px 0;
    background-color: #fff;
    display: none;
}

.domain-results-section.active {
    display: block;
}

.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 35px;
}

.domain-results-list {
    max-width: 960px;
    margin: 0 auto;
}

.domain-result-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s;
    background: #fff;
}

.domain-result-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.domain-result-name {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.domain-result-status {
    width: 140px;
    font-size: 14px;
    text-align: center;
}

.domain-result-item.available .domain-result-status {
    color: #52c41a;
}

.domain-result-item.available .domain-result-status i {
    margin-right: 4px;
}

.domain-result-item.taken .domain-result-status {
    color: #f5222d;
}

.domain-result-item.taken .domain-result-status i {
    margin-right: 4px;
}

.domain-result-price {
    width: 140px;
    font-size: 20px;
    font-weight: bold;
    color: #ff6600;
    text-align: center;
}

.domain-result-price span {
    font-size: 13px;
    font-weight: normal;
    color: #999;
}

.domain-result-item.taken .domain-result-price {
    color: #bbb;
    text-decoration: line-through;
}

.domain-result-action {
    width: 120px;
    text-align: right;
}

.domain-result-action .btn-add-cart {
    display: inline-block;
    padding: 8px 20px;
    background-color: #2468f2;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.domain-result-action .btn-add-cart:hover {
    background-color: #0050d0;
    color: #fff;
}

.domain-result-item.taken .domain-result-action .btn-add-cart {
    background-color: #d9d9d9;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.domain-results-loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* ========== Section 3: Recommended Domains ========== */
.recommended-domains {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.domain-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.domain-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.domain-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #fff;
}

.domain-icon.bg-blue { background: linear-gradient(135deg, #2468f2, #4a90e2); }
.domain-icon.bg-red { background: linear-gradient(135deg, #f5222d, #ff6b6b); }
.domain-icon.bg-green { background: linear-gradient(135deg, #52c41a, #73d13d); }
.domain-icon.bg-orange { background: linear-gradient(135deg, #fa8c16, #ffc53d); }

.domain-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.domain-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 18px;
    line-height: 1.6;
    min-height: 44px;
}

.domain-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 18px;
}

.domain-unit {
    font-size: 13px;
    font-weight: normal;
    color: #999;
}

.domain-register-btn {
    display: inline-block;
    background-color: #2468f2;
    color: #fff;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.domain-register-btn:hover {
    background-color: #0050d0;
    color: #fff;
}

/* ========== Section 4: Product Advantages ========== */
.our-services {
    padding: 60px 0;
    background-color: #fff;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    width:100%;
    align-items: flex-start;
    background-color: #fafafa;
    border-radius: 10px;
    padding: 28px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, #2468f2, #4a90e2);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.service-line {
    width: 36px;
    height: 2px;
    background-color: #2468f2;
    margin-bottom: 8px;
    transition: width 0.3s;
}

.service-item:hover .service-line {
    width: 60px;
}

.service-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* ========== Cart Button States ========== */
.btn-add-cart.btn-in-cart {
    background-color: #52c41a !important;
    cursor: default;
}
.btn-add-cart.btn-in-cart:hover {
    background-color: #52c41a !important;
}
.btn-add-cart.btn-disabled {
    background-color: #d9d9d9 !important;
    color: #999 !important;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-add-cart i {
    margin-right: 4px;
}

/* ========== Floating Cart FAB ========== */
.cart-fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6600, #ff8c33);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255,102,0,0.4);
    z-index: 9000;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cart-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(255,102,0,0.5);
}
.cart-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f5222d;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ========== Cart Drawer ========== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 9500;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}
.cart-drawer.open {
    right: 0;
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}
.cart-drawer-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}
.cart-drawer-header h3 i {
    margin-right: 6px;
    color: #ff6600;
}
.cart-drawer-close {
    font-size: 18px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}
.cart-drawer-close:hover {
    color: #333;
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.cart-drawer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    flex-shrink: 0;
}

/* ========== Cart Item Cards ========== */
.cart-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
    transition: border-color 0.2s;
}
.cart-item:hover {
    border-color: #d9d9d9;
}
.cart-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.cart-domain {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-year-select {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    outline: none;
    background: #fff;
}
.cart-year-select:focus {
    border-color: #2468f2;
}
.cart-price {
    color: #ff6600;
    font-weight: bold;
    font-size: 15px;
}
.btn-cart-remove {
    color: #bbb;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}
.btn-cart-remove:hover {
    color: #f5222d;
}
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}
.cart-total {
    font-size: 14px;
    color: #333;
}
.cart-total span {
    font-size: 20px;
    font-weight: bold;
    color: #ff6600;
}
.btn-checkout {
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-checkout:hover {
    background-color: #e55a00;
}

/* ========== Modal ========== */
.dm-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dm-modal-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
}
.dm-modal-body {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 560px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.dm-modal-body.dm-modal-lg {
    width: 680px;
}
.dm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
}
.dm-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}
.dm-modal-close {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.dm-modal-close:hover {
    color: #333;
}
.dm-modal-content {
    padding: 24px;
}

/* ========== Template List ========== */
.tpl-list-wrap {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}
.tpl-loading, .tpl-empty {
    text-align: center;
    padding: 30px;
    color: #999;
}
.tpl-item {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
    cursor: pointer;
}
.tpl-item:hover {
    border-color: #2468f2;
}
.tpl-item.tpl-selected {
    border-color: #2468f2;
    background: #f0f5ff;
}
.tpl-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.tpl-type-badge {
    display: inline-block;
    background: #2468f2;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}
.tpl-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: auto;
}
.tpl-status-none { background: #f0f0f0; color: #999; }
.tpl-status-pending { background: #fff7e6; color: #fa8c16; }
.tpl-status-passed { background: #f6ffed; color: #52c41a; }
.tpl-status-rejected { background: #fff1f0; color: #f5222d; }
.tpl-item-detail {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}
.tpl-item-actions {
    display: flex;
    gap: 12px;
}
.tpl-item-actions a {
    font-size: 13px;
    color: #2468f2;
    text-decoration: none;
}
.tpl-item-actions a:hover {
    text-decoration: underline;
}
.tpl-item-actions .btn-tpl-delete {
    color: #999;
}
.tpl-item-actions .btn-tpl-delete:hover {
    color: #f5222d;
}
.tpl-actions {
    text-align: center;
}
.btn-create-tpl {
    background: none;
    border: 2px dashed #d9d9d9;
    border-radius: 6px;
    padding: 10px 24px;
    color: #2468f2;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.3s;
}
.btn-create-tpl:hover {
    border-color: #2468f2;
}

/* ========== Checkout Confirm ========== */
.checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.checkout-table thead th {
    background: #fafafa;
    padding: 10px 14px;
    text-align: left;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #e8e8e8;
}
.checkout-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.checkout-pay-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}
.checkout-pay-info strong {
    font-size: 18px;
}
.checkout-btns {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.btn-back {
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
}
.btn-back:hover {
    background: #e0e0e0;
}
.btn-pay {
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 36px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-pay:hover {
    background: #e55a00;
}
.btn-pay:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========== Template Form ========== */
.tpl-form {
    max-height: 60vh;
    overflow-y: auto;
}
.tpl-form-row {
    margin-bottom: 16px;
}
.tpl-form-row label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}
.tpl-form-row input[type="text"],
.tpl-form-row input[type="email"],
.tpl-form-row select {
    width: 100%;
    height: 38px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.tpl-form-row input:focus,
.tpl-form-row select:focus {
    border-color: #2468f2;
}
.tpl-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
/* ========== Upload Area (Beautiful) ========== */
.tpl-upload-area {
    width: 140px;
    height: 140px;
    border: 2px dashed #d9d9d9;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
}
.tpl-upload-area:hover {
    border-color: #2468f2;
    background: #f0f5ff;
}
.tpl-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.tpl-upload-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.tpl-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.tpl-upload-icon i {
    font-size: 18px;
    color: #2468f2;
}
.tpl-upload-text {
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}
.tpl-upload-hint {
    font-size: 11px;
    color: #bbb;
}
.tpl-upload-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
}
.tpl-upload-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s;
}
.tpl-upload-remove:hover {
    background: rgba(245,34,45,0.8);
}
.tpl-form-btns {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

/* ========== Loading Overlay ========== */
.dm-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.75);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dm-loading-box {
    background: #fff;
    border-radius: 12px;
    padding: 36px 48px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    text-align: center;
}
.dm-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e8e8e8;
    border-top-color: #2468f2;
    border-radius: 50%;
    animation: dm-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes dm-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.dm-loading-text {
    font-size: 15px;
    color: #555;
}

/* ========== Three-column form row ========== */
.tpl-form-row-third {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* ========== Required field marker ========== */
.tpl-required {
    color: #f5222d;
    margin-left: 2px;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .domain-suffix-group {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .domain-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .domain-suffix-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .domain-banner {
        padding: 40px 15px 60px;
    }
    .domain-banner-title {
        font-size: 26px;
    }
    .domain-search-card {
        padding: 20px;
    }
    .domain-search-input-wrapper {
        flex-wrap: wrap;
    }
    .domain-prefix {
        font-size: 22px;
    }
    .domain-search-input {
        min-width: 0;
        flex: 1;
    }
    .domain-search-btn {
        margin-left: 8px;
        padding: 0 20px;
    }
    .domain-suffix-group {
        grid-template-columns: repeat(3, 1fr);
    }
    .domain-result-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .domain-result-name {
        width: 100%;
        flex: none;
    }
    .domain-result-status,
    .domain-result-price,
    .domain-result-action {
        width: auto;
    }
    .domain-cards {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .services-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .section-title {
        font-size: 24px;
    }
    .domain-select-options {
        flex-wrap: wrap;
        gap: 10px;
    }
    .cart-drawer {
        width: 320px;
    }
    .cart-fab {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    .tpl-form-row-third {
        grid-template-columns: 1fr;
    }
    .checkout-pay-info {
        flex-direction: column;
        gap: 8px;
    }
    .tpl-form-row-half {
        grid-template-columns: 1fr;
    }
    .dm-modal-body {
        width: 95vw;
    }
}

@media (max-width: 480px) {
    .domain-banner-title {
        font-size: 22px;
    }
    .domain-search-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .domain-prefix {
        text-align: center;
        margin-bottom: 10px;
        margin-right: 0;
    }
    .domain-search-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    .domain-suffix-group {
        grid-template-columns: repeat(2, 1fr);
    }
}
