/* Aambee Domain — Frontend */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;600;700&display=swap');

.dsp-wrapper *,
.dsp-wrapper *::before,
.dsp-wrapper *::after {
        box-sizing: border-box;
}

.dsp-wrapper {
        font-family: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: 18px;
        line-height: 1.5;
        width: 100%;
}

/* Full-width breakout — applied via shortcode (not used inside Elementor) */
.dsp-wrapper.dsp-full-width {
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        overflow: hidden;
}

/* ── Two-column layout ─────────────────────────────────────────── */
.dsp-layout {
        display: flex;
        min-height: 600px;
}

/* ── LEFT PANEL ────────────────────────────────────────────────── */
.dsp-left-panel {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        align-items: stretch;
}

.dsp-left-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 80px 48px 48px;
        text-align: center;
}

.dsp-left-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        flex: 1;
        justify-content: center;
}

.dsp-domain-title {
        font-size: 2.6rem;
        font-weight: 700;
        line-height: 1.15;
        word-break: break-word;
}

.dsp-available-label {
        font-size: 1.4rem;
        font-weight: 400;
        color: #444;
        margin-top: -8px;
}

.dsp-domain-desc {
        font-size: 0.95rem;
        color: #666;
        max-width: 300px;
        line-height: 1.6;
}

/* Buy now button */
.dsp-buy-btn {
        display: inline-block;
        margin-top: 8px;
        padding: 12px 32px;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: opacity 0.18s, transform 0.12s;
        letter-spacing: 0.01em;
}

.dsp-buy-btn:hover {
        transform: translateY(-1px);
        text-decoration: none;
}

/* Navigation dots (multi-domain) */
.dsp-nav-dots {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-top: 32px;
}

.dsp-nav-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.2s, transform 0.15s;
}

.dsp-nav-dot:hover {
        transform: scale(1.2);
}

.dsp-nav-dot.dsp-dot-active {
        transform: scale(1.25);
}

/* Contact footer */
.dsp-contact-footer {
        display: flex;
        gap: 40px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid #ddd;
        width: 100%;
}

.dsp-contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 0.88rem;
        text-decoration: none;
        transition: opacity 0.15s;
}

.dsp-contact-item:hover {
        opacity: 0.75;
        text-decoration: none;
}

.dsp-contact-icon {
        display: block;
}

/* ── RIGHT PANEL ────────────────────────────────────────────────── */
.dsp-right-panel {
        flex: 1;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 48px;
}

.dsp-right-inner {
        width: 100%;
        max-width: 540px;
}

.dsp-form-heading {
        font-size: 1.6rem;
        font-weight: 600;
        margin-bottom: 14px;
}

.dsp-divider {
        border: none;
        border-top: 1px solid #e0e0e0;
        margin-bottom: 28px;
}

/* Success & error messages */
.dsp-success-msg {
        background: #eafaf1;
        border: 1px solid #a3e6b7;
        color: #1a7a42;
        padding: 14px 18px;
        border-radius: 4px;
        font-size: 0.97rem;
        margin-bottom: 20px;
        font-weight: 500;
}

.dsp-form-error {
        background: #fff0f0;
        border: 1px solid #ffc5c5;
        color: #c0392b;
        padding: 10px 14px;
        border-radius: 4px;
        font-size: 0.88rem;
        margin-bottom: 14px;
}

/* Form fields */
.dsp-form-field {
        margin-bottom: 14px;
}

.dsp-form-row {
        display: flex;
        gap: 14px;
        margin-bottom: 0;
}

.dsp-form-row .dsp-form-field {
        flex: 1;
        min-width: 0;
}

.dsp-form-field input,
.dsp-form-field textarea {
        width: 100%;
        padding: 10px 14px;
        font-family: inherit;
        font-size: 0.95rem;
        color: #464a4c;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
        transition: border-color 0.18s, box-shadow 0.18s;
        appearance: none;
}

.dsp-form-field input::placeholder,
.dsp-form-field textarea::placeholder {
        color: #aaa;
}

.dsp-form-field textarea {
        resize: vertical;
        min-height: 110px;
}

/* Submit button */
.dsp-submit-btn {
        width: 100%;
        margin-top: 6px;
        padding: 13px 24px;
        font-family: inherit;
        font-size: 1.05rem;
        font-weight: 600;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: opacity 0.18s, transform 0.12s;
        letter-spacing: 0.01em;
}

.dsp-submit-btn:hover {
        opacity: 0.88;
        transform: translateY(-1px);
}

.dsp-submit-btn:active {
        transform: translateY(0);
}

.dsp-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
}

.dsp-no-domains {
        color: #888;
        font-style: italic;
        padding: 20px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
        .dsp-layout {
                flex-direction: column;
        }

        .dsp-left-panel,
        .dsp-right-panel {
                flex: none;
                max-width: 100%;
                width: 100%;
        }

        .dsp-left-inner {
                padding: 56px 28px 40px;
        }

        .dsp-right-panel {
                padding: 40px 24px;
        }

        .dsp-domain-title {
                font-size: 2rem;
        }

        .dsp-form-row {
                flex-direction: column;
                gap: 0;
        }
}

/* ═══════════════════════════════════════════════════════════════════
   DOMAIN DIRECTORY  [domain_directory]
   ═══════════════════════════════════════════════════════════════════ */

.dsp-directory-wrapper {
        font-family: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Search bar */
.dsp-dir-search-bar {
        margin-bottom: 24px;
}

.dsp-dir-search-input {
        width: 100%;
        max-width: 480px;
        padding: 11px 18px;
        font-size: 1rem;
        font-family: inherit;
        border: 1px solid #d9d9d9;
        border-radius: 40px;
        outline: none;
        transition: border-color 0.18s, box-shadow 0.18s;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat 14px center;
        padding-left: 42px;
}

.dsp-dir-search-input:focus {
        border-color: #00C853;
        box-shadow: 0 0 0 3px #00C85333;
}

/* Grid */
.dsp-dir-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
}

/* Card */
.dsp-dir-card {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 24px 20px 20px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        background: #fff;
        text-decoration: none;
        color: inherit;
        transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}

.dsp-dir-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.09);
        transform: translateY(-2px);
        border-color: #c8c8c8;
        text-decoration: none;
        color: inherit;
}

.dsp-dir-category {
        display: inline-block;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 2px 10px;
        border-radius: 20px;
        background: #f0f0f0;
        color: #555;
        align-self: flex-start;
        margin-bottom: 4px;
}

.dsp-dir-name {
        font-size: 1.25rem;
        font-weight: 700;
        word-break: break-word;
        line-height: 1.2;
}

.dsp-dir-available {
        font-size: 0.82rem;
        font-weight: 400;
        margin-top: -4px;
}

.dsp-dir-price {
        font-size: 1rem;
        font-weight: 700;
        color: #111;
}

.dsp-dir-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        flex: 1;
}

.dsp-dir-btn {
        display: inline-block;
        margin-top: 12px;
        padding: 8px 18px;
        font-size: 0.88rem;
        font-weight: 600;
        border-radius: 5px;
        text-align: center;
        align-self: flex-start;
        transition: opacity 0.15s;
}

.dsp-dir-card:hover .dsp-dir-btn {
        opacity: 0.85;
}

.dsp-dir-no-results {
        color: #888;
        font-style: italic;
        padding: 20px 0;
}

@media (max-width: 900px) {
        .dsp-dir-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
        .dsp-dir-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   DOMAIN SLIDER  [domain_slider]
   ═══════════════════════════════════════════════════════════════════ */

.dsp-slider-wrapper {
        font-family: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        position: relative;
        overflow: hidden;
        min-height: 340px;
}

.dsp-sl-track {
        position: relative;
        width: 100%;
        height: 100%;
}

/* Each slide occupies the full wrapper; hidden slides are invisible */
.dsp-sl-slide {
        display: none;
        position: absolute;
        inset: 0;
}

.dsp-sl-slide.active {
        display: block;
        animation: dspFadeIn 0.4s ease;
}

@keyframes dspFadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to   { opacity: 1; transform: translateY(0); }
}

.dsp-sl-panel {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 340px;
        padding: 60px 80px;
}

.dsp-sl-inner {
        text-align: center;
        max-width: 680px;
}

.dsp-sl-domain-name {
        font-size: 2.8rem;
        font-weight: 700;
        line-height: 1.1;
        word-break: break-word;
        margin: 0 0 6px;
}

.dsp-sl-available {
        font-size: 1.1rem;
        margin: 0 0 16px;
}

.dsp-sl-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0 0 14px;
}

.dsp-sl-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #111;
        margin: 0 0 20px;
}

.dsp-sl-btn {
        display: inline-block;
        padding: 12px 36px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 5px;
        text-decoration: none;
        transition: opacity 0.15s, transform 0.12s;
        letter-spacing: 0.01em;
}

.dsp-sl-btn:hover {
        opacity: 0.88;
        transform: translateY(-1px);
        text-decoration: none;
}

/* Arrow buttons */
.dsp-sl-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.85;
        transition: opacity 0.15s, transform 0.12s;
        padding-bottom: 2px;
}

.dsp-sl-arrow:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.08);
}

.dsp-sl-prev { left: 16px; }
.dsp-sl-next { right: 16px; }

/* Dot indicators */
.dsp-sl-dots {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
}

.dsp-sl-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.2s, transform 0.15s;
}

.dsp-sl-dot:hover,
.dsp-sl-dot.active {
        transform: scale(1.3);
}

@media (max-width: 600px) {
        .dsp-sl-panel { padding: 48px 56px; }
        .dsp-sl-domain-name { font-size: 2rem; }
}

