.dsm-domain-sale {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    font-family: inherit;
}

.dsm-domain-sale *,
.dsm-domain-sale *::before,
.dsm-domain-sale *::after {
    box-sizing: border-box;
}

.dsm-card {
    position: relative;
    width: min(760px, 100%);
    border-radius: 8px;
    padding: clamp(28px, 5vw, 56px);
    text-align: center;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.dsm-powered-by {
    width: min(760px, 100%);
    margin: 14px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.dsm-powered-by a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dsm-powered-by strong {
    font-weight: 700;
}

.dsm-card-tools {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.dsm-language-switcher .gtranslate_wrapper,
.dsm-language-switcher .gt_switcher,
.dsm-language-switcher .gt_switcher_wrapper {
    position: relative !important;
    inset: auto !important;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
}

.dsm-language-switcher a.gt_switcher-popup,
.dsm-tool-placeholder {
    display: inline-grid !important;
    width: 42px;
    min-height: 42px;
    place-items: center;
    border: 1px solid rgba(100, 116, 139, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.dsm-language-switcher a.gt_switcher-popup > span {
    display: none !important;
}

.dsm-language-switcher a.gt_switcher-popup img {
    width: 22px !important;
    height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    object-fit: contain !important;
}

.dsm-currency-switcher,
.dsm-dynoreg-currency-widget {
    width: 64px;
}

.dsm-currency-switcher .dynoreg_cc-style-3-du-dialog-starter {
    width: 64px !important;
    min-width: 64px !important;
    height: 42px !important;
    padding: 0 8px !important;
    border: 1px solid rgba(100, 116, 139, 0.38);
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

body .gt_white_content {
    position: fixed !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: 999999 !important;
    width: min(560px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 48px) !important;
    height: auto !important;
    margin: 0 !important;
    overflow: auto !important;
    border-radius: 16px !important;
    transform: translate(-50%, -50%) !important;
}

body .gt_black_overlay {
    z-index: 999998 !important;
    background-color: rgba(8, 18, 32, 0.52) !important;
}

.dsm-tool-placeholder {
    color: #111827;
    font-size: 10px;
    line-height: 1.4;
}

.dsm-status {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.dsm-domain {
    display: inline-flex;
    max-width: 100%;
    margin: 14px auto 8px;
    border: 2px solid currentColor;
    border-radius: 12px;
    padding: 10px 18px 12px;
    background: rgba(255, 255, 255, 0.68);
    font-size: clamp(20px, 3.8vw, 50px);
    line-height: 1;
    letter-spacing: -0.025em;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45), 0 10px 24px rgba(15, 23, 42, 0.12);
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
}

.dsm-card > .dsm-status + .dsm-headline {
    margin-top: 32px;
}

.dsm-headline {
    margin: 0;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.25;
    letter-spacing: 0;
}

.dsm-description {
    margin: 22px auto 0;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
}

.dsm-price {
    margin: 28px 0 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1;
    font-weight: 800;
}

.dsm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.dsm-button,
.dsm-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

button.dsm-button {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.dsm-purchase-panel,
.dsm-purchase-note,
.dsm-notice {
    margin: 30px auto 0;
    max-width: 620px;
    border-radius: 8px;
}

.dsm-purchase-panel {
    padding: 22px;
    border: 1px solid rgba(100, 116, 139, 0.28);
    background: rgba(255, 255, 255, 0.08);
    text-align: left;
}

.dsm-purchase-panel h3,
.dsm-purchase-panel > p {
    margin: 0;
    text-align: center;
}

.dsm-purchase-panel h3 {
    font-size: 22px;
    line-height: 1.3;
}

.dsm-purchase-panel > p {
    margin-top: 8px;
}

.dsm-purchase-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.dsm-purchase-fields label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.dsm-purchase-email {
    grid-column: 1 / -1;
}

.dsm-purchase-fields input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(100, 116, 139, 0.42);
    border-radius: 6px;
    padding: 9px 11px;
    font: inherit;
}

.dsm-purchase-panel .dsm-actions {
    margin-top: 20px;
}

.dsm-purchase-note,
.dsm-notice {
    padding: 14px 16px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    background: rgba(255, 255, 255, 0.09);
    font-weight: 700;
}

.dsm-notice-success {
    border-color: #16a34a;
}

.dsm-notice-error {
    border-color: #dc2626;
}

.dsm-card-muted {
    max-width: 620px;
}

.dsm-contact-form {
    margin: 34px auto 0;
    max-width: 560px;
    padding-top: 28px;
    border-top: 1px solid rgba(100, 116, 139, 0.28);
    text-align: left;
}

.dsm-contact-form h3 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0;
}

.dsm-contact-form p {
    margin: 0 0 14px;
}

.dsm-contact-form label {
    display: block;
    font-weight: 700;
}

.dsm-contact-form input:not([type="submit"]),
.dsm-contact-form textarea,
.dsm-contact-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(100, 116, 139, 0.42);
    border-radius: 6px;
    padding: 9px 11px;
}

.dsm-contact-form textarea {
    min-height: 110px;
}

.dsm-contact-form input[type="submit"] {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    padding: 11px 20px;
    font-weight: 700;
    cursor: pointer;
}

.dr-domain-sale-page .dr-page-hero h1 {
    text-align: center;
}

@media (max-width: 560px) {
    .dsm-card {
        padding-right: 18px;
        padding-left: 18px;
    }

    .dsm-headline {
        font-size: clamp(17px, 5.2vw, 20px) !important;
        white-space: nowrap;
    }

    .dsm-domain {
        padding-right: 10px;
        padding-left: 10px;
        font-size: clamp(16px, 4.4vw, 19px);
    }

    .dsm-purchase-fields {
        grid-template-columns: 1fr;
    }

    .dsm-purchase-email {
        grid-column: auto;
    }
}
