/**
 * Weblio Shop Frontend Styles
 * Version: 2.2.0 - Med forbedret mobil venlighed og spacing
 */

/* Container */
.weblio-shop-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Glassmorphism Effect */
.weblio-shop-glassmorphism {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    overflow: hidden;
}

/* Grid Layout */
.weblio-shop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Product Section - Opdateret farve */
.weblio-shop-product-section {
    padding: 40px;
    background: #0634C9;
    color: white;
}

.weblio-shop-product-header {
    margin-bottom: 30px;
}

.weblio-shop-product-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: white;
}

.weblio-shop-price-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weblio-shop-price {
    font-size: 48px;
    font-weight: bold;
    color: white;
}

.weblio-shop-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.weblio-shop-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Features */
.weblio-shop-features h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.weblio-shop-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weblio-shop-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.weblio-shop-check-icon {
    width: 20px;
    height: 20px;
    color: #48bb78;
    flex-shrink: 0;
}

/* Checkout Section */
.weblio-shop-checkout-section {
    padding: 40px;
    background: white;
}

.weblio-shop-checkout-section h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #2d3748;
}

.weblio-shop-security-text {
    color: #718096;
    font-size: 14px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.weblio-shop-security-text::before {
    content: "🔒";
    font-size: 16px;
}

/* Form */
#weblio-checkout-form {
    margin-top: 20px;
    position: relative;
}

.weblio-shop-form-group {
    margin-bottom: 20px;
}

.weblio-shop-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

/* FORBEDREDE INPUT FELTER - Med lysgrå baggrund */
.weblio-shop-form-group input[type="email"],
.weblio-shop-form-group input[type="text"],
.weblio-shop-form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa; /* Lysgrå baggrund for bedre synlighed */
    color: #2d3748;
}

.weblio-shop-form-group input:focus {
    outline: none;
    border-color: #0634C9;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 52, 201, 0.1);
}

.weblio-shop-form-group input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.weblio-shop-form-group input:hover:not(:focus) {
    border-color: #94a3b8;
    background: #fcfcfd;
}

.weblio-shop-form-group input.error {
    border-color: #f56565;
    background: #fff5f5;
}

/* Stripe Card Element */
.weblio-shop-card-element {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f7fafc;
    transition: all 0.3s ease;
}

.weblio-shop-card-element.StripeElement--focus {
    border-color: #0634C9;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 52, 201, 0.1);
}

.weblio-shop-card-element.StripeElement--invalid {
    border-color: #f56565;
    background: #fff5f5;
}

/* FORBEDRET FEJLMEDDELELSER */
.weblio-shop-error-message {
    padding: 12px 16px;
    margin: 10px 0;
    background: #fed7d7;
    border: 1px solid #fc8181;
    border-radius: 8px;
    color: #742a2a;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shake 0.5s ease-in-out;
}

/* Specifik styling for kort-fejl */
#card-errors {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff5f5;
    border-radius: 6px;
    display: none;
    font-weight: 500;
    border-left: 3px solid #fc8181;
    animation: slideDown 0.3s ease-out;
}

#card-errors.weblio-shop-error-visible {
    display: block;
}

/* Validation errors container */
#validation-errors {
    margin: 15px 0;
}

.weblio-shop-validation-errors .weblio-shop-error-message {
    background: #fef5e7;
    border: 1px solid #f9c74f;
    color: #7c5e10;
}

/* Animation for errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Error icon */
.error-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Different error types */
.weblio-shop-error-card {
    background: #fff5f5;
    border-color: #fc8181;
    color: #c53030;
}

.weblio-shop-error-validation {
    background: #fffaf0;
    border-color: #feb2b2;
    color: #7c2d12;
}

.weblio-shop-error-general {
    background: #fed7d7;
    border-color: #fc8181;
    color: #742a2a;
}

/* Terms Checkbox */
.weblio-shop-terms {
    margin: 20px 0;
}

.weblio-shop-terms label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

.weblio-shop-terms input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.weblio-shop-terms a {
    color: #0634C9;
    text-decoration: none;
    font-weight: 500;
}

.weblio-shop-terms a:hover {
    text-decoration: underline;
}

/* Price Breakdown */
.weblio-shop-price-breakdown {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.weblio-shop-price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 14px;
}

.weblio-shop-price-line.weblio-shop-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e2e8f0;
    font-size: 18px;
    font-weight: bold;
    color: #2d3748;
}

/* Submit Button - Opdateret farve */
.weblio-shop-submit-button {
    width: 100%;
    padding: 16px;
    background: #0634C9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.weblio-shop-submit-button:hover {
    background: #052a9f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 52, 201, 0.3);
}

.weblio-shop-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.weblio-shop-submit-button::before {
    content: "💳";
    margin-right: 8px;
}

.weblio-shop-button-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.weblio-shop-button-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Security Badges - Justeret til små ikoner */
.weblio-shop-secure-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.weblio-shop-secure-badges img,
.weblio-shop-secure-badges svg {
    height: 32px;
    width: auto;
    max-width: 100px;
    opacity: 0.6;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.weblio-shop-secure-badges img:hover,
.weblio-shop-secure-badges svg:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* ========================================
   SUCCESS PAGE STYLES - KONSISTENT DESIGN
   ======================================== */

/* Success Message Container */
.weblio-shop-success-message {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Header */
.weblio-success-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: White;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Checkmark */
.weblio-success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weblio-success-checkmark {
    width: 50px;
    height: 50px;
    stroke-width: 2;
}

.weblio-success-checkmark-circle {
    stroke: #48bb78;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.weblio-success-checkmark-check {
    stroke: #48bb78;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.weblio-success-title {
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: white;
}

.weblio-success-subtitle {
    font-size: 18px;
    margin: 0 0 10px 0;
    opacity: 0.95;
}

.weblio-success-notice {
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

/* Grid Layout */
.weblio-success-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Success Cards - Clean design */
.weblio-success-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.weblio-success-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e0;
}

/* Card Header */
.weblio-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Card Icon */
.weblio-card-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Content */
.weblio-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.weblio-card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* License Box - Clean design */
.weblio-license-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.weblio-license-key {
    background: white;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: #0066cc;
    text-align: center;
    word-break: break-all;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* KONSISTENT KNAP DESIGN */
.weblio-button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: flex-start; /* Venstrejusteret */
    background: white;
    color: #2c3e50;
}

.weblio-button-primary {
    background: #0066cc;
    color: white;
}

.weblio-button-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    color: white;
}

.weblio-button.copied {
    background: #48bb78;
    color: white;
}

.weblio-button-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.weblio-button-text {
    font-size: 15px;
    flex: 1;
    text-align: left;
}

/* Download link specific */
.weblio-download-link {
    display: flex;
    width: 100%;
}

/* Password Form - Clean design */
.weblio-password-form {
    margin-top: 20px;
}

.weblio-form-field {
    margin-bottom: 20px;
}

.weblio-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

.weblio-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.weblio-input:focus {
    outline: none;
    border-color: #0066cc;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.weblio-password-strength {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weblio-password-strength.weak {
    color: #e74c3c;
}

.weblio-password-strength.medium {
    color: #f39c12;
}

.weblio-password-strength.strong {
    color: #27ae60;
}

/* Steps List */
.weblio-steps-list {
    margin: 0;
    padding-left: 20px;
    color: #2c3e50;
}

.weblio-steps-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

/* Download Section */
.weblio-download-pending {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
}

/* Success Alert */
.weblio-success-alert {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.weblio-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Backward compatibility - older success styles */
.weblio-shop-success-icon {
    width: 80px;
    height: 80px;
    color: #48bb78;
    margin: 0 auto 20px;
}

.weblio-shop-success-message h2 {
    color: #2d3748;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.weblio-shop-success-message p {
    color: #718096;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Backward compatibility - older grid system */
.weblio-success-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.weblio-success-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.weblio-success-card-icon {
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 8px;
}

.weblio-success-card h3 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}

.weblio-success-card-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* License Display - Forbedret */
.weblio-shop-license-display {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
}

.weblio-shop-license-display h3 {
    color: #4a5568;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.weblio-shop-license-key {
    background: white;
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #0634C9;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    word-break: break-all;
}

.weblio-shop-copy-button {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 10px 24px;
    background: #0634C9;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weblio-shop-copy-button:hover {
    background: #052a9f;
    transform: translateY(-1px);
}

.weblio-shop-copy-button.copied {
    background: #10b981;
}

/* Password Reset Form på takke-siden */
.weblio-password-reset-form {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
}

.weblio-password-reset-form .weblio-form-group,
.weblio-form-group {
    margin-bottom: 15px;
}

.weblio-password-reset-form label,
.weblio-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.weblio-password-reset-form input,
.weblio-form-group input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.2s ease;
}

.weblio-password-reset-form input:focus,
.weblio-form-group input[type="password"]:focus {
    outline: none;
    border-color: #0634C9;
    box-shadow: 0 0 0 3px rgba(6, 52, 201, 0.1);
}

.weblio-reset-submit {
    width: 100%;
    margin-top: 10px;
    padding: 12px 24px;
    background: #0634C9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weblio-reset-submit:hover {
    background: #052a9f;
}

/* Installation Guide */
.weblio-step-list {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.weblio-step-list li {
    margin-bottom: 8px;
}

/* Download Section - Forbedret */
.weblio-shop-download-section {
    margin-top: 15px;
    text-align: center;
}

.weblio-shop-download-button {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.weblio-shop-download-button:hover {
    background: #059669;
    transform: translateY(-2px);
    color: white;
}

.weblio-shop-download-button::before {
    content: "📥";
    margin-right: 8px;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notifications */
.weblio-shop-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100001;
    display: none;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.weblio-shop-notification-success {
    background: #48bb78;
    color: white;
}

.weblio-shop-notification-error {
    background: #f56565;
    color: white;
}

/* ========================================
   FORBEDRET MOBILE CHECKOUT SPACING
   ======================================== */
@media (max-width: 768px) {
    
    /* Øget spacing mellem hovedsektioner på mobil */
    .weblio-shop-product-section {
        margin-bottom: 0; /* Fjern margin da grid håndterer det */
        padding: 30px 20px 35px 20px !important;
    }
    
    .weblio-shop-checkout-section {
        padding: 35px 20px 30px 20px !important;
        border-top: 1px solid rgba(0,0,0,0.08); /* Subtil separator */
    }
    
    /* Features liste - mere spacing mellem punkter */
    .weblio-shop-feature-list {
        margin: 25px 0 !important;
    }
    
    .weblio-shop-feature-list li {
        margin-bottom: 20px !important; /* Øget fra 18px */
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .weblio-shop-feature-list li:last-child {
        border-bottom: none;
        margin-bottom: 0 !important;
    }
    
    /* Form grupper - KRITISK spacing fix */
    .weblio-shop-form-group {
        margin-bottom: 32px !important; /* Øget spacing mellem felter */
    }
    
    .weblio-shop-form-group:last-of-type {
        margin-bottom: 25px !important;
    }
    
    /* Labels med bedre spacing */
    .weblio-shop-form-group label {
        display: block !important;
        margin-bottom: 12px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #374151 !important;
        letter-spacing: -0.2px;
    }
    
    /* Input felter - fuld bredde og bedre padding */
    .weblio-shop-form-group input[type="email"],
    .weblio-shop-form-group input[type="text"],
    .weblio-shop-form-group input[type="tel"],
    .weblio-shop-form-group input[type="password"],
    #customer-email,
    #customer-name {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 16px !important; /* Øget vertikal padding */
        font-size: 16px !important; /* Forhindrer zoom på iOS */
        line-height: 1.4 !important;
        min-height: 56px !important; /* Større touch target */
        border: 2px solid #e2e8f0 !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        transition: all 0.2s ease !important;
    }
    
    /* Hover/Focus states */
    .weblio-shop-form-group input:hover:not(:focus) {
        border-color: #cbd5e0 !important;
        background: #fcfcfd !important;
    }
    
    .weblio-shop-form-group input:focus {
        border-color: #0634C9 !important;
        background: white !important;
        box-shadow: 0 0 0 4px rgba(6, 52, 201, 0.12) !important;
        outline: none !important;
    }
    
    /* Stripe Card Element - samme højde som andre inputs */
    .weblio-shop-card-element,
    #card-element {
        min-height: 56px !important;
        padding: 18px 16px !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        margin-bottom: 0 !important;
    }
    
    /* Fejlmeddelelser med bedre spacing */
    #card-errors,
    .weblio-shop-error-message {
        margin-top: 12px !important;
        margin-bottom: 8px !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
    
    /* Terms checkbox sektion - meget bedre spacing */
    .weblio-shop-terms {
        margin: 35px 0 30px 0 !important;
        padding: 20px !important;
        background: #f8f9fa !important;
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .weblio-shop-terms label {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #4a5568 !important;
    }
    
    .weblio-shop-terms input[type="checkbox"] {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
    }
    
    .weblio-shop-terms a {
        color: #0634C9 !important;
        font-weight: 600 !important;
        text-decoration: underline !important;
        padding: 2px 0 !important;
    }
    
    /* Price breakdown - bedre design på mobil */
    .weblio-shop-price-breakdown {
        margin: 35px 0 30px 0 !important;
        padding: 24px 18px !important;
        background: linear-gradient(to bottom, #f8f9fa, #f1f3f5) !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
    }
    
    .weblio-shop-price-line {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        margin-bottom: 12px !important;
        font-size: 15px !important;
    }
    
    .weblio-shop-price-line:last-child {
        margin-bottom: 0 !important;
    }
    
    .weblio-shop-price-line.weblio-shop-total {
        margin-top: 16px !important;
        padding-top: 16px !important;
        border-top: 2px solid #dee2e6 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #1a202c !important;
    }
    
    /* Submit button - prominent og touch-venlig */
    .weblio-shop-submit-button {
        width: 100% !important;
        padding: 20px 24px !important;
        margin-top: 25px !important;
        margin-bottom: 10px !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        min-height: 60px !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #0634C9, #052a9f) !important;
        box-shadow: 0 4px 15px rgba(6, 52, 201, 0.25) !important;
        transition: all 0.3s ease !important;
    }
    
    .weblio-shop-submit-button:active {
        transform: scale(0.98) !important;
        box-shadow: 0 2px 8px rgba(6, 52, 201, 0.2) !important;
    }
    
    /* Security badges - bedre spacing */
    .weblio-shop-secure-badges {
        margin-top: 35px !important;
        padding-top: 30px !important;
        border-top: 1px solid #e2e8f0 !important;
        gap: 25px !important;
    }
    
    /* Container padding justeringer */
    .weblio-shop-container {
        padding: 0 10px !important;
        margin: 15px auto !important;
    }
    
    /* Glassmorphism effekt reduceret på mobil */
    .weblio-shop-glassmorphism {
        backdrop-filter: blur(5px) !important;
        border-radius: 20px !important;
        overflow: visible !important;
        box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    }
    
    /* Grid med bedre spacing */
    .weblio-shop-grid {
        gap: 0 !important; /* Ingen gap mellem sektioner */
    }
    
    /* Product header forbedringer */
    .weblio-shop-product-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .weblio-shop-product-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    .weblio-shop-price-display {
        justify-content: center !important;
        margin-bottom: 25px !important;
    }
    
    .weblio-shop-price {
        font-size: 42px !important;
        font-weight: 800 !important;
    }
    
    /* Description med bedre læsbarhed */
    .weblio-shop-description {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 30px !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
}

/* Extra small devices (under 400px) */
@media (max-width: 400px) {
    .weblio-shop-container {
        padding: 0 8px !important;
    }
    
    .weblio-shop-product-section,
    .weblio-shop-checkout-section {
        padding: 25px 15px !important;
    }
    
    .weblio-shop-product-title {
        font-size: 22px !important;
    }
    
    .weblio-shop-price {
        font-size: 36px !important;
    }
    
    .weblio-shop-form-group input {
        padding: 16px 14px !important;
        font-size: 16px !important;
    }
    
    .weblio-shop-submit-button {
        padding: 18px 20px !important;
        font-size: 16px !important;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .weblio-shop-form-group input {
        font-size: 16px !important; /* Forhindrer auto-zoom */
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Hide/Show classes */
.weblio-hide {
    display: none !important;
}

.weblio-show {
    display: block !important;
}

/* Text alignment */
.weblio-text-center {
    text-align: center;
}

.weblio-text-left {
    text-align: left;
}

.weblio-text-right {
    text-align: right;
}

/* Margin utilities */
.weblio-mt-10 {
    margin-top: 10px;
}

.weblio-mt-20 {
    margin-top: 20px;
}

.weblio-mb-10 {
    margin-bottom: 10px;
}

.weblio-mb-20 {
    margin-bottom: 20px;
}