.domeneshop-slideshow {
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    /* Sett høyde med CSS, f.eks. height: 50vh; */
}

.ds-spinner {
    width: 56px;
    height: 56px;
    border: 6px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ds-spin 0.75s linear infinite;
}

@keyframes ds-spin {
    to { transform: rotate(360deg); }
}

.domeneshop-slide {
    font-family: 'Ubuntu', 'Roboto', sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity var(--ds-transition, 0.8s);
    display: flex;
    align-items: center;
    justify-content: center;
}

.domeneshop-slide.active {
    opacity: 1;
}

.domeneshop-slideshow-content {
    position: relative;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.domeneshop-slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.domeneshop-slideshow-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
    max-width: auto;
    text-align: center;
    pointer-events: auto;
}

.domeneshop-domain-search {
    display: flex;
    margin-bottom: 1.5rem;
    width: 500px;
    max-width: 100%;
    min-width: 320px;
    justify-content: center;
    box-sizing: border-box;
}

.domeneshop-domain-search input[type="text"] {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 6px 0 0 6px;
    border: 1px solid #ccc;
    font-size: 1.1rem;
    border-right: none;
}

.elementor-widget-domeneshop-slideshow .domeneshop-domain-search button,
.elementor-widget-domeneshop-slideshow,
.search-button {
    background: #3b93f1 !important;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    border-color: #ccc !important;
    padding: 0.7rem 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    margin-left: -5px;
}

.search-button:hover {
    background: #337fd1 !important;
    opacity: 1 !important;
}

.domeneshop-slideshow-circles {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 440px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    min-height: 52px;
}

.domeneshop-circle {
    min-width: 120px;
    height: 48px;
    background: rgb(255, 189, 89);
    color: #222;
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 4px;
    padding: 0 18px;
    gap: 0.5em;
}

.domeneshop-circle span {
    font-size: 1.05rem;
    font-weight: bold;
    color: #222;
    margin-left: 0.5em;
}

.domeneshop-imgname {
    font-size: 1.05rem;
    font-weight: bold;
    background: rgb(255, 189, 89);
    color: #222;
    word-break: break-all;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 4px;
    padding: 0 18px;
}

.domeneshop-slide-caption {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.7);
    color: #222;
    border-radius: 24px;
    min-width: 70px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 1.2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    pointer-events: none;
}

@media (max-width: 767px) {
    .domeneshop-slideshow {
        min-height: 400px;
    }
}

@media (max-width: 600px) {
    .domeneshop-slideshow-box {
        padding: 1rem 0.5rem;
        max-width: 80vw;
    }

    .domeneshop-domain-search {

        min-width: 0;
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }

    .domeneshop-domain-search input[type="text"] {
        border-radius: 6px 6px 0 0;
        border-right: 1px solid #ccc;
    }

    .domeneshop-domain-search button,
    .search-button {
        border-radius: 0 0 6px 6px !important;
        width: 100%;
        margin-left: 0;
        margin-top: 2px;
        box-sizing: border-box;
    }

    .domeneshop-slideshow-circles {
        padding: 0.5rem 0.3rem;
        max-width: 80vw;
        margin: 0rem 0.5rem 0rem 0.5rem;
        font-size: 0.95rem;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: center;
    }

    .domeneshop-circle {
        min-width: 70px;
        height: 38px;
        font-size: 0.85rem;
    }

    .domeneshop-imgname {
        min-width: 70px;
        height: 38px;
        font-size: 0.85rem;
    }
}


.vat-info {
    font-size: 0.7rem;
    color: #555;
    margin-top: 1rem;
}

.domeneshop-results-page {
    width: 100%;
    margin: 1.5rem 0;
}

.domeneshop-results-page h2 {
    margin: 0 0 0.7rem 0;
}

.domeneshop-api-results,
.domeneshop-api-cart {
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.8rem 0;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.75rem;
    box-sizing: border-box;
}

.domeneshop-api-results-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 0.5rem;
}

.domeneshop-api-results-list,
.domeneshop-api-cart-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.domeneshop-api-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
}

.domeneshop-api-row-left {
    font-size: 0.9rem;
    color: #333;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.domeneshop-api-btn {
    border: none;
    border-radius: 8px;
    background: #2271b1;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.42rem 0.6rem;
    cursor: pointer;
}

.domeneshop-api-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.domeneshop-api-btn-remove {
    background: #a42f2f;
}

.domeneshop-api-empty {
    color: #666;
    font-size: 0.85rem;
}