body {
    background-color: #0c0c13;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
}

/* Iframe-specific styles to improve scrolling behavior */
body.iframe-mode {
    overflow-y: visible;
    min-height: auto;
    height: auto;
}

body {
    overflow: hidden;
}

.language-selector {
    padding: 1rem;
    text-align: center;
}

.gradient-wrapper {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.config-section {
    text-align: center;
    margin-bottom: 1rem;
}

.config-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0.3rem 0;
}

.config-section h3[data-i18n="region_title"],
.config-section h4[data-i18n="version_title"] {
    background: linear-gradient(to right, #e74a4e, #7f85e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {

    .config-section h3,
    .config-section h4 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }
}

.step-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-snap-type: none;
    overflow-y: auto;
}

/* Iframe-specific styles for step container */
body.iframe-mode .step-container {
    min-height: auto;
    overflow-y: visible;
}

.step {
    min-height: 850px;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    scroll-snap-align: start;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.step.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.step.completed {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.step:not(.active):not(.completed) {
    opacity: 0;
}

.step h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(to right, #e74a4e, #7f85e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: fit-content;
    margin: 0 auto;
    line-height: 1.2;
    padding: 0.5rem 0;
}

#produkteList,
.billing-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

#step1 {
    scroll-snap-align: start;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 100vh;
}

/* Iframe-specific styles for step1 */
body.iframe-mode #step1 {
    min-height: auto;
}

#step1 h2 {
    margin-bottom: 2rem;
}

#main-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    padding-right: 1rem;
}