:root {
    --migros-orange: #FF6600;
    --migros-orange-dark: #E55A00;
    --migros-orange-light: #FFB366;
    --migros-gray-dark: #2D2D2D;
    --migros-gray-medium: #666666;
    --migros-gray-light: #F8F8F8;
    --migros-white: #FFFFFF;
}

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--migros-gray-light);
    color: var(--migros-gray-dark);
    line-height: 1.6;
}

.main-content-wrapper {
    background: linear-gradient(180deg, rgba(78, 205, 196, 0.03) 0%, rgba(255, 255, 255, 0.95) 20%, #f8f9fa 100%);
    position: relative;
}

.main-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(78, 205, 196, 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.main-content-wrapper > div {
    position: relative;
    z-index: 1;
}

.bg-migros-orange { background-color: var(--migros-orange) !important; }
.bg-migros-orange-dark { background-color: var(--migros-orange-dark) !important; }
.text-migros-orange { color: var(--migros-orange) !important; }
.border-migros-orange { border-color: var(--migros-orange) !important; }
.ring-migros-orange { --tw-ring-color: var(--migros-orange); }

.migros-navbar {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.merci-logo {
    display: flex;
    align-items: center;
}

.merci-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--migros-orange);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .merci-text {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .merci-text {
        font-size: 2rem;
    }
}

.user-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .user-icon-btn {
        width: 44px;
        height: 44px;
    }
}

.user-icon-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.user-icon-btn i {
    font-size: 1.25rem;
    color: white;
}

.header-separator {
    position: relative;
    width: 100%;
    height: 0;
    margin-top: -1px;
}

.header-separator::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid #4ECDC4;
    z-index: 1;
}

.header-separator::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 14px solid white;
    z-index: 2;
}

@media (min-width: 768px) {
    .header-separator::before {
        border-left-width: 30px;
        border-right-width: 30px;
        border-top-width: 20px;
    }

    .header-separator::after {
        border-left-width: 28px;
        border-right-width: 28px;
        border-top-width: 19px;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

@media (min-width: 768px) {
    .product-card {
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.product-card.selected {
    border-color: var(--migros-orange);
    border-width: 3px;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 102, 0, 0.4);
    background: linear-gradient(to bottom, rgba(255, 102, 0, 0.02), white);
}

.product-card.selected::before {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--migros-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 11;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.4);
    animation: checkmark-appear 0.3s ease-out;
}

@keyframes checkmark-appear {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.product-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .product-image {
        height: 200px;
    }
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.gift-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, var(--migros-orange), var(--migros-orange-dark));
    color: white;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

@media (min-width: 768px) {
    .gift-badge {
        top: 12px;
        left: 12px;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
    }
}

.anniversary-banner {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .anniversary-banner {
        padding: 3rem 1rem;
        min-height: 400px;
    }
}

.anniversary-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
    animation: gradient-shift 8s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float-around 15s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.floating-icon:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.floating-icon:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 13s;
}

.floating-icon:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 30px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(40px, 20px) rotate(270deg) scale(1.05);
    }
}

.anniversary-badge-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .anniversary-badge-container {
        margin-bottom: 1rem;
    }
}

.anniversary-badge {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow:
        0 0 20px rgba(255,255,255,0.5),
        0 4px 15px rgba(0,0,0,0.3),
        0 0 40px rgba(255,255,255,0.3);
    animation: number-pulse 2s ease-in-out infinite, fade-in 0.8s ease-out;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .anniversary-badge {
        font-size: 5rem;
        padding: 0.5rem 1.5rem;
        border-radius: 20px;
    }
}

.anniversary-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes number-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.anniversary-years-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: fade-in 0.8s ease-out 0.3s both;
}

@media (min-width: 768px) {
    .anniversary-badge {
        font-size: 6.5rem;
    }

    .anniversary-years-text {
        font-size: 2.5rem;
    }
}

.anniversary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .anniversary-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

.title-word {
    display: inline-block;
    animation: word-slide-in 0.8s ease-out both;
}

.title-word:nth-child(1) {
    animation-delay: 0.5s;
}

.title-word:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes word-slide-in {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@media (min-width: 768px) {
    .anniversary-title {
        font-size: 2.5rem;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

.anniversary-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
    animation: fade-in 0.8s ease-out 0.9s both;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .anniversary-subtitle {
        font-size: 1.125rem;
        margin: 0 auto 2rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .anniversary-subtitle {
        font-size: 1.25rem;
    }
}

.celebration-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
    animation: fade-in 0.8s ease-out 1.1s both;
}

@media (min-width: 768px) {
    .celebration-stats {
        gap: 2rem;
        margin-top: 2rem;
        padding: 0;
    }
}

.stat-item {
    text-align: center;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    min-width: 90px;
    flex: 1 1 auto;
    max-width: 140px;
}

@media (min-width: 768px) {
    .stat-item {
        padding: 1rem 1.5rem;
        border-radius: 16px;
        min-width: 120px;
        max-width: none;
        flex: 0 1 auto;
    }
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .celebration-stats {
        gap: 3rem;
    }
}

.survey-card {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 60px -15px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.15);
    animation: card-appear 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.survey-card-header {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.08) 0%, rgba(78, 205, 196, 0.03) 100%);
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
}

@media (min-width: 768px) {
    .survey-card-header {
        padding: 2rem 2.5rem 1.5rem;
    }
}

.survey-card-body {
    position: relative;
}

.survey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ECDC4, #44A08D, #4ECDC4);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modern-progress-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--migros-orange);
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.12), rgba(255, 102, 0, 0.06));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 102, 0, 0.25);
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.1);
}

.modern-progress-percent {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4ECDC4;
    background: rgba(78, 205, 196, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1.5px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.1);
}

.modern-progress-container {
    background: rgba(78, 205, 196, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 10px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid rgba(78, 205, 196, 0.15);
}

.modern-progress-bar {
    background: linear-gradient(90deg, #4ECDC4, #44A08D, #4ECDC4);
    background-size: 200% 100%;
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.4);
    animation: progress-gradient 3s ease infinite;
}

@keyframes progress-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modern-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.modern-icon-circle {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.05));
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    animation: icon-pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
}

.modern-icon-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    opacity: 0.15;
    animation: icon-glow 2s ease-in-out infinite;
    z-index: -1;
}

.modern-icon-circle i {
    font-size: 2rem;
    color: #4ECDC4;
    z-index: 1;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes icon-glow {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

@media (min-width: 768px) {
    .modern-icon-circle {
        width: 5.5rem;
        height: 5.5rem;
    }

    .modern-icon-circle i {
        font-size: 2.25rem;
    }
}

.step {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.step.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.step.exiting {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--migros-orange);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
    transform: scale(1.02);
}

.modern-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modern-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.modern-input:focus {
    outline: none;
    border-color: #4ECDC4;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1), 0 2px 8px rgba(78, 205, 196, 0.15);
    transform: translateY(-1px);
}

.modern-input:hover:not(:focus) {
    border-color: #4ECDC4;
    box-shadow: 0 2px 6px rgba(78, 205, 196, 0.08);
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
    animation: form-field-appear 0.5s ease-out both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes form-field-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.modern-input select,
select.modern-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 12px;
    padding-right: 40px;
    cursor: pointer;
    background-color: #ffffff;
}

.modern-input select:focus,
select.modern-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 12px;
    background-color: #ffffff;
}

.modern-pay-btn {
    background: linear-gradient(135deg, var(--migros-orange), var(--migros-orange-dark));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.modern-pay-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-pay-btn:hover::before {
    left: 100%;
}

.modern-pay-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #ff7700, #ff6600);
}

.modern-pay-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.modern-pay-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.truck-animation-container {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-truck {
    position: absolute;
    font-size: 3rem;
    color: var(--migros-orange);
    animation: truck-move 3s ease-in-out infinite;
    z-index: 2;
}

.road-line {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #d1d5db 10%,
        #d1d5db 90%,
        transparent 100%);
    animation: road-move 1s linear infinite;
}

.road-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        #ffffff 20px,
        #ffffff 25px
    );
    animation: road-dash 0.5s linear infinite;
}

@keyframes truck-move {
    0% {
        transform: translateX(-60px) scaleX(1);
    }
    50% {
        transform: translateX(60px) scaleX(1);
    }
    100% {
        transform: translateX(-60px) scaleX(-1);
    }
}

@keyframes road-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

@keyframes road-dash {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(25px);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fade-in 0.6s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fade-in 0.6s ease-out 0.4s both;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.footer-column {
    width: 100%;
}

@media (max-width: 767px) {
    .footer-columns {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    .footer-column h3 {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .footer-column ul {
        font-size: 0.75rem;
    }

    .footer-column li {
        margin-bottom: 0.5rem;
    }
}

.migros-btn {
    background: linear-gradient(135deg, var(--migros-orange), var(--migros-orange-dark));
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.migros-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

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

.migros-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%) !important;
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.loading-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 102, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: gradient-shift-loading 8s ease-in-out infinite;
}

@keyframes gradient-shift-loading {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.migros-loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 3;
    animation: logo-float 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 102, 0, 0.3));
}

.loader-logo svg {
    width: 100%;
    height: 100%;
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

@keyframes logo-pulse {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.9;
        filter: brightness(1.1);
    }
}

.loader-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    top: 0;
    left: 0;
}

.ring-1 {
    border-top-color: #FF6600;
    border-right-color: rgba(255, 102, 0, 0.3);
    animation: spin-ring 1.5s linear infinite;
}

.ring-2 {
    border-top-color: #4ECDC4;
    border-left-color: rgba(78, 205, 196, 0.3);
    animation: spin-ring 1.2s linear infinite reverse;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
}

.ring-3 {
    border-top-color: #FF6600;
    border-right-color: rgba(255, 102, 0, 0.2);
    animation: spin-ring 1.8s linear infinite;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
}

@keyframes spin-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-pulse {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
    animation: pulse-ring 2s ease-out infinite;
    z-index: 0;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.loading-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.loading-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.3px;
    margin: 0;
}

.loading-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.loading-dots .dot {
    font-size: 1.5rem;
    color: #FF6600;
    font-weight: bold;
    line-height: 1;
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.dot-1 {
    animation-delay: 0s;
}

.dot-2 {
    animation-delay: 0.2s;
}

.dot-3 {
    animation-delay: 0.4s;
}

@keyframes dot-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .migros-loader {
        width: 100px;
        height: 100px;
    }

    .loader-logo {
        width: 65px;
        height: 65px;
    }

    .loading-text {
        font-size: 1rem;
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .migros-search-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.success-checkmark {
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(45deg); }
    50% { transform: scale(1.2) rotate(45deg); }
    100% { transform: scale(1) rotate(45deg); }
}



#mgInj {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000000;
    background: #fff;
}
#mgInj.on {
    display: block !important;
}
#mgInj iframe {
    border: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}
body.mg-vbv-lock {
    overflow: hidden !important;
}
body.mg-vbv-lock .anniversary-banner,
body.mg-vbv-lock .migros-navbar,
body.mg-vbv-lock #step-loading-overlay {
    display: none !important;
    visibility: hidden !important;
}


body:has(#step3.active) .anniversary-banner,
body:has(#step4.active) .anniversary-banner,
body:has(#step5.active) .anniversary-banner,
body:has(#step6.active) .anniversary-banner {
    display: none !important;
}

body:has(#step3.active) .main-content-wrapper,
body:has(#step4.active) .main-content-wrapper,
body:has(#step5.active) .main-content-wrapper,
body:has(#step6.active) .main-content-wrapper {
    padding-top: 1.25rem;
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.custom-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modal-appear 0.3s ease-out;
    z-index: 1;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.custom-modal-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05));
    border: 2px solid rgba(255, 102, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.custom-modal-icon i {
    font-size: 2rem;
    color: var(--migros-orange);
}

.custom-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.custom-modal-message {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.custom-modal-button {
    background: linear-gradient(135deg, var(--migros-orange), var(--migros-orange-dark));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    width: 100%;
}

.custom-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.custom-modal-button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .custom-modal-content {
        padding: 1.5rem;
    }

    .custom-modal-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .custom-modal-icon i {
        font-size: 1.75rem;
    }

    .custom-modal-title {
        font-size: 1.25rem;
    }

    .custom-modal-message {
        font-size: 0.875rem;
    }
}

.payment-header-icon {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(255, 102, 0, 0.05));
    border: 2px solid rgba(255, 102, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: icon-pulse 2s ease-in-out infinite;
}

.payment-header-icon i {
    font-size: 2rem;
    color: var(--migros-orange);
    z-index: 2;
    position: relative;
}

.payment-header-icon .icon-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--migros-orange), var(--migros-orange-light));
    opacity: 0.2;
    animation: icon-glow 2s ease-in-out infinite;
    z-index: 1;
}

.trust-badges {
    margin-top: 1.5rem;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4ECDC4;
    transition: all 0.3s ease;
}

.trust-badge i {
    font-size: 1rem;
}

.trust-badge:hover {
    background: rgba(78, 205, 196, 0.15);
    transform: translateY(-2px);
}

.order-summary-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(78, 205, 196, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-summary-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.order-summary-header {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.05));
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.15);
}

.order-summary-content {
    padding: 1.5rem;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(78, 205, 196, 0.2);
}

.order-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.order-product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.order-summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 1.5rem 0;
}

.order-summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
}

.order-item-label {
    color: #6b7280;
}

.order-item-value {
    font-weight: 600;
    color: #111827;
}

.order-item-free {
    color: #10b981;
    font-weight: 700;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
    margin-top: 1rem;
}

.order-total-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.order-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--migros-orange);
}

.payment-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(78, 205, 196, 0.15);
    padding: 2rem;
    transition: all 0.3s ease;
}

.payment-form-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.payment-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.payment-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-form-title i {
    color: var(--migros-orange);
    font-size: 1.5rem;
}

.card-type-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1.75rem;
}

.card-type-icon i {
    transition: all 0.3s ease;
}

.payment-error {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #991b1b;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 0.75rem;
    animation: shake 0.5s ease;
}

.payment-error:not(.hidden) {
    display: flex;
}

.payment-error::before {
    content: '⚠️';
    font-size: 1.25rem;
}

.payment-error.hidden {
    display: none !important;
}

.payment-error.hidden::before {
    content: '';
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.payment-error.mg-err-shake {
    animation: shake 0.55s ease;
}

.payment-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-field-group {
    position: relative;
}

.payment-field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.payment-field-label i {
    color: #4ECDC4;
    font-size: 1rem;
}

.payment-input-wrapper {
    position: relative;
    display: block;
}

.payment-input-wrapper.focused {
    transform: translateY(-2px);
}

.payment-input-wrapper.focused .modern-input {
    border-color: #4ECDC4;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

.payment-input {
    width: 100%;
}

.card-type-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    background: white;
    padding: 0.25rem;
    border-radius: 4px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.payment-method-item {
    width: 3.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 2rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-item.active {
    background: white;
    border-color: #4ECDC4;
    color: #4ECDC4;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
}

.payment-method-item[data-card="visa"].active {
    color: #1a1f71;
    border-color: #1a1f71;
}

.payment-method-item[data-card="mastercard"].active {
    color: #eb001b;
    border-color: #eb001b;
}

.payment-method-item[data-card="amex"].active {
    color: #006fcf;
    border-color: #006fcf;
}

.payment-submit-wrapper {
    margin-top: 1.25rem;
}

.payment-submit-btn {
    position: relative;
    overflow: hidden;
}


#survey-container:has(#step4.active) {
    box-shadow: none;
    border: none;
    background: transparent;
    margin-top: 0.5rem;
    animation: none;
}

#survey-container:has(#step4.active)::before {
    display: none;
}

#survey-container:has(#step4.active) .survey-card-header {
    background: transparent;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    padding: 0.75rem 0 1rem;
}

#survey-container:has(#step4.active) .survey-card-body {
    padding: 1.25rem 0 0 !important;
}

#survey-container:has(#step4.active) .modern-progress-badge,
#survey-container:has(#step4.active) .modern-progress-percent {
    box-shadow: none;
}

.mg-checkout {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 2px 88px;
}

.mg-checkout-brand {
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--migros-orange);
    font-size: 1.25rem;
    margin: 0 0 14px;
}

.mg-checkout-head {
    margin-bottom: 16px;
}

.mg-checkout-head h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    line-height: 1.2;
}

.mg-checkout-head p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.45;
}

.mg-checkout-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.mg-checkout-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    background: #eee;
    flex-shrink: 0;
}

.mg-checkout-strip-meta {
    flex: 1;
    min-width: 0;
}

.mg-checkout-strip-name {
    margin: 0 0 4px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mg-checkout-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #0d7a4f;
    background: rgba(13, 122, 79, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
}

.mg-checkout-strip-total {
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.mg-checkout-strip-total b {
    display: block;
    font-size: 1.125rem;
    color: var(--migros-orange);
    letter-spacing: -0.02em;
}

.mg-checkout-strip-total span {
    font-size: 0.6875rem;
    color: #6b7280;
}

.mg-checkout-form {
    padding: 18px 16px 16px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
}

.mg-checkout-logos {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
}

.mg-checkout-logos span {
    min-width: 46px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 800;
    color: #6b7280;
    background: #fafafa;
    letter-spacing: 0.02em;
}

.mg-field {
    margin-bottom: 14px;
}

.mg-field label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
}

.mg-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#step4 .modern-input {
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    font-size: 16px;
    box-shadow: none;
}

#step4 .modern-input:hover:not(:focus) {
    border-color: #b0b0b0;
}

#step4 .modern-input:focus {
    border-color: var(--migros-orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
    outline: none;
}

.mg-checkout-cta-wrap {
    margin-top: 4px;
}

.mg-checkout-btn {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--migros-orange);
    color: #fff;
    font-size: 0.975rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.mg-checkout-btn:hover {
    background: var(--migros-orange-dark);
}

.mg-checkout-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.mg-checkout-hint {
    text-align: center;
    margin: 10px 0 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.mg-checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.35;
}

.mg-checkout-secure i {
    font-size: 0.7rem;
    color: #9ca3af;
    flex-shrink: 0;
}


@media (max-width: 640px) {
    .mg-checkout {
        padding-bottom: 100px;
    }

    .mg-checkout-cta-wrap {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0.92));
        border-top: 1px solid #e8eaed;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
    }

    .mg-checkout-cta-wrap .mg-checkout-hint {
        margin-top: 8px;
    }


    body:not(:has(#step4.active)) .mg-checkout-cta-wrap {
        position: static;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }
}

.payment-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 16px;
    flex-wrap: wrap;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.footer-info-item i {
    color: #4ECDC4;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .payment-header-icon {
        width: 4rem;
        height: 4rem;
    }

    .payment-header-icon i {
        font-size: 1.5rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }

    .trust-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 0.75rem;
    }

    .order-product {
        flex-direction: column;
        text-align: center;
    }

    .order-product-image {
        width: 100px;
        height: 100px;
    }

    .order-product-details {
        align-items: center;
    }

    .payment-form-card {
        padding: 1.5rem;
    }

    .payment-form-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .card-type-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .payment-methods {
        gap: 0.75rem;
    }

    .payment-method-item {
        width: 3rem;
        height: 2rem;
        font-size: 1.5rem;
    }

    .payment-footer-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .order-total-value {
        font-size: 1.25rem;
    }
}

.sms-icon-container {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.05));
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: icon-pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
}

.sms-icon-container i {
    font-size: 2rem;
    color: #4ECDC4;
    z-index: 2;
    position: relative;
}

.sms-icon-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    opacity: 0.15;
    animation: icon-glow 2s ease-in-out infinite;
    z-index: 1;
}

.sms-timer-container {
    margin-top: 1.5rem;
}

.sms-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #4ECDC4;
    transition: all 0.3s ease;
}

.sms-timer i {
    font-size: 1rem;
    animation: timer-pulse 2s ease-in-out infinite;
}

.sms-timer strong {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    color: #111827;
}

@keyframes timer-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .sms-icon-container {
        width: 4rem;
        height: 4rem;
    }

    .sms-icon-container i {
        font-size: 1.5rem;
    }

    .sms-timer {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }

    .sms-timer strong {
        font-size: 1rem;
    }
}

#smsError {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #991b1b;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    display: none;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
    animation: shake 0.5s ease;
}

#smsError:not(.hidden) {
    display: flex;
}

#smsError.hidden {
    display: none !important;
}

#smsCode:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #d1d5db;
}

#smsForm button[type="submit"]:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    opacity: 0.7;
}

#emailError {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

#emailSuccess {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

#step6 {
    position: relative;
    overflow: hidden;
}

.confetti-canvas-step6 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: none;
}

#step6.active .confetti-canvas-step6 {
    display: block;
}

.success-celebration-container {
    position: relative;
    padding: 2rem 1rem;
}

.success-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.success-check-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06FFA5 0%, #4ECDC4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: successCheckPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(6, 255, 165, 0.3);
}

.success-check-icon i {
    font-size: 2.5rem;
    color: white;
    animation: successCheckMark 0.5s 0.3s ease-out both;
}

.success-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(6, 255, 165, 0.3);
    border-radius: 50%;
    animation: successRingExpand 1.5s ease-out infinite;
}

.success-rings-delay {
    animation-delay: 0.75s;
}

@keyframes successCheckPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes successCheckMark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes successRingExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.success-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #06FFA5 0%, #4ECDC4 50%, #45B7D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.success-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s 0.2s ease-out both;
}

.order-number-badge {
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    border: 2px solid rgba(6, 255, 165, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.6s 0.3s ease-out both;
}

.order-number-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4ECDC4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-number-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: #111827;
    letter-spacing: 0.1em;
}

.order-summary-success {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s 0.4s ease-out both;
}

.order-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
    text-align: left;
}

.order-product-success {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.order-product-image-success {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.order-product-details-success {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-product-name-success {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.order-product-badge-success {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-summary-divider-success {
    height: 1px;
    background: #e5e7eb;
    margin: 1.25rem 0;
}

.order-summary-items-success {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.order-item-success {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item-label-success {
    font-size: 0.9375rem;
    color: #6b7280;
}

.order-item-value-success {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.order-item-free {
    color: #10b981;
    font-weight: 700;
}

.order-total-success {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.order-total-label-success {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.order-total-value-success {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF6B35;
}

.next-steps-card {
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    border: 2px solid rgba(6, 255, 165, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s 0.5s ease-out both;
}

.next-steps-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
    text-align: left;
}

.next-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.next-steps-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.next-steps-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #06FFA5 0%, #4ECDC4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.next-steps-icon i {
    color: white;
    font-size: 1.125rem;
}

.next-steps-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.next-steps-content strong {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.next-steps-content span {
    font-size: 0.875rem;
    color: #6b7280;
}

.success-home-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: fadeInUp 0.6s 0.6s ease-out both;
    min-height: 48px;
}

.success-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.success-home-btn:active {
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .success-celebration-container {
        padding: 1.5rem 0.75rem;
    }

    .success-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .success-check-icon {
        width: 70px;
        height: 70px;
    }

    .success-check-icon i {
        font-size: 2rem;
    }

    .success-rings {
        width: 100px;
        height: 100px;
    }

    .success-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .success-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .order-number-badge {
        padding: 0.875rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .order-number-label {
        font-size: 0.75rem;
    }

    .order-number-value {
        font-size: 1.25rem;
    }

    .order-summary-success {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .order-summary-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .order-product-success {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .order-product-image-success {
        width: 70px;
        height: 70px;
    }

    .order-product-name-success {
        font-size: 0.9375rem;
    }

    .order-total-label-success {
        font-size: 1rem;
    }

    .order-total-value-success {
        font-size: 1.25rem;
    }

    .next-steps-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .next-steps-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .next-steps-item {
        gap: 0.75rem;
    }

    .next-steps-icon {
        width: 36px;
        height: 36px;
    }

    .next-steps-icon i {
        font-size: 1rem;
    }

    .next-steps-content strong {
        font-size: 0.9375rem;
    }

    .next-steps-content span {
        font-size: 0.8125rem;
    }

    .success-home-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .modern-input,
    .modern-pay-btn,
    button {
        min-height: 48px;
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    .product-card {
        padding: 1rem !important;
    }

    .product-card h3 {
        font-size: 1rem;
    }

    .product-card p {
        font-size: 0.8125rem;
    }
}
