/**
 * Base styles for WooCommerce Checkout Variants
 */
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

 .text-pink {
    color: #f9cbd1 !important;
}

* {
    /* anti aliasing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.bg-pink {
    background-color: #f9cbd1 !important;
}
.lb-cta-primary {
    background-color: #f9cbd1 !important;
    color: #333333 !important;
    border-radius: 40px !important;
    padding: 16px 20px !important;
    border: none !important;
}
.bg-green{
    background-color: #0ec92d !important;
}

.lb-cta-primary-green {
    background-color: #0ec92d !important;
    color: #fff !important;
    border-radius: 40px !important;
    padding: 16px 20px !important;
    border: none !important;
}

.woocommerce ul#shipping_method li label {
    font-size: 13px !important;
}

.wc_payment_methods .input-radio + label {
    font-size: 13px !important;
}

.wc-checkout-accordion-wrapper {
    margin-top: 3rem !important;
}

.lb-cta-primary:hover {
    filter: brightness(0.97) !important;
}

.wc-checkout-variants {
    position: relative;
}

/* Progress indicator for multi-step checkout */
.wc-checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.wc-checkout-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1rem 0;
}

.wc-checkout-progress-step::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: -1;
}

.wc-checkout-progress-step:first-child::before {
    left: 50%;
}

.wc-checkout-progress-step:last-child::before {
    right: 50%;
}

.wc-checkout-progress-step.active::before,
.wc-checkout-progress-step.completed::before {
    background: #10b981;
}

.wc-checkout-progress-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wc-checkout-progress-step.active .wc-checkout-progress-number {
    background: #3b82f6;
    color: white;
}

.wc-checkout-progress-step.completed .wc-checkout-progress-number {
    background: #10b981;
    color: white;
}

.wc-checkout-progress-title {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
}

.wc-checkout-progress-step.active .wc-checkout-progress-title {
    color: #1f2937;
    font-weight: 600;
}

/* Trust badges */
.wc-checkout-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.wc-checkout-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.wc-checkout-trust-badge svg,
.wc-checkout-trust-badge .dashicons {
    color: #10b981;
}

/* Order summary styling */
.wc-checkout-order-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.wc-checkout-order-summary h3 {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Form field improvements - Oude p.form-row styling voor backwards compatibility */
.wc-checkout-variants .form-row {
    margin-bottom: 1.5rem;
}

.wc-checkout-variants .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.wc-checkout-variants .form-row input[type="text"],
.wc-checkout-variants .form-row input[type="email"],
.wc-checkout-variants .form-row input[type="tel"],
.wc-checkout-variants .form-row select,
.wc-checkout-variants .form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wc-checkout-variants .form-row input:focus,
.wc-checkout-variants .form-row select:focus,
.wc-checkout-variants .form-row textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wc-checkout-variants .form-row.woocommerce-invalid input,
.wc-checkout-variants .form-row.woocommerce-invalid select,
.wc-checkout-variants .form-row.woocommerce-invalid-required-field input,
.wc-checkout-variants .form-row.woocommerce-invalid-required-field select {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

.wc-checkout-variants .form-row.woocommerce-invalid input:focus,
.wc-checkout-variants .form-row.woocommerce-invalid select:focus,
.wc-checkout-variants .form-row.woocommerce-invalid-required-field input:focus,
.wc-checkout-variants .form-row.woocommerce-invalid-required-field select:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.wc-checkout-variants .form-row .woocommerce-error,
.wc-checkout-variants .form-row .woocommerce-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

/* Moderne div-based form field styling */
.wc-checkout-variants .wcv-form-field-wrapper {
    margin-bottom: 1rem;
}

.wc-checkout-variants .wcv-form-field-wrapper label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    color: #1f2937;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.wc-checkout-variants .wcv-form-field-wrapper label .required {
    color: #ef4444;
    margin-left: 0.125rem;
}

.wc-checkout-variants .wcv-form-field-wrapper label .optional {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.75rem;
}

/* Input wrapper styling */
.wc-checkout-variants .wcv-form-field-wrapper .woocommerce-input-wrapper {
    position: relative;
    display: block;
}

/* Modern input styling */
.wc-checkout-variants .wcv-form-field-wrapper input[type="text"],
.wc-checkout-variants .wcv-form-field-wrapper input[type="email"],
.wc-checkout-variants .wcv-form-field-wrapper input[type="tel"],
.wc-checkout-variants .wcv-form-field-wrapper input[type="password"],
.wc-checkout-variants .wcv-form-field-wrapper input[type="number"],
.wc-checkout-variants .wcv-form-field-wrapper select,
.wc-checkout-variants .wcv-form-field-wrapper textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.wc-checkout-variants .wcv-form-field-wrapper input::placeholder,
.wc-checkout-variants .wcv-form-field-wrapper select::placeholder,
.wc-checkout-variants .wcv-form-field-wrapper textarea::placeholder {
    color: #9ca3af;
}

/* Focus state */
.wc-checkout-variants .wcv-form-field-wrapper input:focus,
.wc-checkout-variants .wcv-form-field-wrapper select:focus,
.wc-checkout-variants .wcv-form-field-wrapper textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Invalid/Error state - support both old and new structure */
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid input,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid select,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid textarea,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid-required-field input,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid-required-field select,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid-required-field textarea {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid input:focus,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid select:focus,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid textarea:focus,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid-required-field input:focus,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid-required-field select:focus,
.wc-checkout-variants .wcv-form-field-wrapper.woocommerce-invalid-required-field textarea:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Error messages - support both structures */
.wc-checkout-variants .wcv-form-field-wrapper .woocommerce-error,
.wc-checkout-variants .wcv-form-field-wrapper .woocommerce-error-message,
.wc-checkout-variants .wcv-form-field-wrapper .description {
    display: block !important;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    position: relative;
    clip: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

.wc-checkout-variants .wcv-form-field-wrapper .woocommerce-error,
.wc-checkout-variants .wcv-form-field-wrapper .woocommerce-error-message {
    color: #ef4444;
    font-weight: 500;
}

.wc-checkout-variants .wcv-form-field-wrapper .description {
    color: #6b7280;
}

/* Zorg dat screen-reader-text labels niet in de weg zitten maar errors wel zichtbaar zijn */
.wc-checkout-variants .wcv-form-field-wrapper .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Select specific styling */
.wc-checkout-variants .wcv-form-field-wrapper select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Textarea specific */
.wc-checkout-variants .wcv-form-field-wrapper textarea {
    min-height: 80px;
    resize: vertical;
}

/* Checkbox and radio styling */
.wc-checkout-variants .wcv-form-field-wrapper input[type="checkbox"],
.wc-checkout-variants .wcv-form-field-wrapper input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}

.wc-checkout-variants .wcv-form-field-wrapper input[type="radio"] {
    border-radius: 50%;
}

.wc-checkout-variants .wcv-form-field-wrapper input[type="checkbox"]:checked,
.wc-checkout-variants .wcv-form-field-wrapper input[type="radio"]:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Half width fields (form-row-first, form-row-last) */
.wc-checkout-variants .wcv-form-field-wrapper.form-row-first,
.wc-checkout-variants .wcv-form-field-wrapper.form-row-last {
    width: calc(50% - 0.5rem);
    display: inline-block;
    vertical-align: top;
}

.wc-checkout-variants .wcv-form-field-wrapper.form-row-first {
    margin-right: 1rem;
}

/* Wide fields */
.wc-checkout-variants .wcv-form-field-wrapper.form-row-wide {
    width: 100%;
}

/* Disabled state */
.wc-checkout-variants .wcv-form-field-wrapper input:disabled,
.wc-checkout-variants .wcv-form-field-wrapper select:disabled,
.wc-checkout-variants .wcv-form-field-wrapper textarea:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .wc-checkout-variants .wcv-form-field-wrapper.form-row-first,
    .wc-checkout-variants .wcv-form-field-wrapper.form-row-last {
        width: 100%;
        margin-right: 0;
    }
}

/* Button styling */
.wc-checkout-variants .button,
.wc-checkout-variants button[type="submit"] {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.wc-checkout-variants .button:hover,
.wc-checkout-variants button[type="submit"]:hover {
    background: #2563eb;
}

.wc-checkout-variants .button.secondary {
    background: #6b7280;
}

.wc-checkout-variants .button.secondary:hover {
    background: #4b5563;
}

/* Loading state */
.wc-checkout-variants.processing {
    opacity: 0.6;
    pointer-events: none;
}

.wc-checkout-variants .blockUI {
    position: relative !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .wc-checkout-progress {
        font-size: 0.75rem;
    }

    .wc-checkout-progress-number {
        width: 2.5rem;
        height: 2.5rem;
    }

    .wc-checkout-trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Accessibility */
.wc-checkout-variants *:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Animation for step transitions */
.wc-checkout-step {
    animation: fadeIn 0.3s ease-in;
}

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

/* Blank checkout page styles */
body.wc-checkout-blank-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

body.wc-checkout-blank-page #page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.wc-checkout-blank-page #content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Hide page title on checkout */
body.wc-checkout-blank-page .entry-title,
body.wc-checkout-blank-page .page-title,
body.wc-checkout-blank-page h1.entry-title {
    display: none !important;
}

/* Ensure WooCommerce notices are visible and properly positioned */
body.wc-checkout-blank-page .woocommerce-notices-wrapper {
    max-width: 1280px;
    margin: 1rem auto;
    padding: 0 1rem;
}


/* ============================================
   WooCommerce Notices - Tailwind CSS Alert Styling
   ============================================ */

/* Notice wrapper - centered with max width */
.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
    margin-bottom: 1rem;
}

/* Base notice styling - Tailwind alert pattern */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notice {
    display: flex;
    align-items: flex-start;
    padding: 1rem; /* p-4 */
    margin-bottom: 0.75rem;
    border-radius: 0.5rem; /* rounded-lg */
    border: 1px solid;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5;
    position: relative;
}

/* Remove WooCommerce default icons */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-notice::before {
    display: none !important;
}

/* Success/Message notices - Green */
.woocommerce-message,
.woocommerce-notice.woocommerce-notice--success {
    background-color: #f0fdf4; /* bg-green-50 */
    border-color: #bbf7d0; /* border-green-200 */
    color: #166534; /* text-green-800 */
}

/* Error notices - Red */
.woocommerce-error,
.woocommerce-notice.woocommerce-notice--error {
    background-color: #fef2f2; /* bg-red-50 */
    border-color: #fecaca; /* border-red-200 */
    color: #991b1b; /* text-red-800 */
}

/* Info notices - Blue */
.woocommerce-info,
.woocommerce-notice.woocommerce-notice--info {
    background-color: #eff6ff; /* bg-blue-50 */
    border-color: #bfdbfe; /* border-blue-200 */
    color: #1e40af; /* text-blue-800 */
}

/* Notice lists (ul) */
.woocommerce-message ul,
.woocommerce-error ul,
.woocommerce-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-message li,
.woocommerce-error li,
.woocommerce-info li {
    margin: 0;
    padding: 0;
}

/* Links within notices */
.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a,
.woocommerce-notice a {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-message a {
    color: #15803d; /* text-green-700 */
}

.woocommerce-error a {
    color: #dc2626; /* text-red-700 */
}

.woocommerce-info a {
    color: #1d4ed8; /* text-blue-700 */
}

/* NoticeGroup specific styling */
.woocommerce-NoticeGroup {
    margin-bottom: 1rem;
}

.woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-info {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info,
    .woocommerce-notice {
        padding: 0.75rem; /* p-3 on mobile */
        font-size: 0.8125rem; /* slightly smaller text */
    }
}



