/* Base styles */
body {
    background-color: rgb(248, 248, 248) !important;
}

#v2-footer {
    display: none !important;
}

.onboarding-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
}

/* Transitions */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Screen layout */
.onboarding-screen {
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);   
    display: flex;
    flex-direction: column;
}

.onboarding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:20px;
    padding-top:25px;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.onboarding-screen:not(.step1) .onboarding-content {
    padding-bottom:150px;
}
.onboarding-screen:not(.step1).onboarding-screen-delivery .onboarding-content {
    padding-bottom: 250px;
}
.onboarding-content * {
    font-family: 'gibsonlight', sans-serif;
}
.onboarding-content .error-message a {
    color: #719500;
    text-decoration: underline;
    font-family: 'gibsonregular', sans-serif;
}

/* Typography */
.onboarding-title {
    color: #2c2c2c;
    margin: 0 0 16px 0;
    text-align: center;
    line-height: 1.2 !important;
    font-size: 32px !important;
    font-family: 'gibsonlight' !important;
    font-weight: 600 !important;
}

.onboarding-subtitle {
    font-size: 20px;
    color: hsl(26.25deg 6.61% 52.55%);
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.5;
}

/* Leaf icon */
.leaf-icon {
    margin-bottom: 16px;
}

.leaf-icon svg {
    display: block;
    color: #719500;
    width: 32px;
    height: 32px;
}

/* Progress bar */
.onboarding-progress-bar {
    width: 100%;
    max-width: 320px;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.onboarding-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #719500 0%, #8bb000 100%);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 32px;
}

/* Form elements */
.onboarding-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
}

.input-group {
    position: relative;
    margin-bottom: 24px;
    width:100%;
    max-width: 320px;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7e756b;
    margin-top:2px;
}

.form-input {
    width: 100%;
    padding: 10px 16px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.2s;
    text-align: center;
    color:#7e756b;
    font-family: 'gibsonregular', sans-serif;
}
#addressInput.form-input.open {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-color:#e2e8f0 !important;
}
body input.form-input:focus {
    border-radius: 10px !important;
}

.form-input.with-icon {
    /* padding-left: 48px; */
}

.form-input:focus {
    outline: none;
    border-color: #719500;
}

.form-input::placeholder {
    color: #999;
}

.input-hint {
    font-size: 15px;
    color: hsl(26.25deg 6.61% 52.55%);
    text-align: center;
    margin: 0 0 24px 0;
    padding: 12px 32px;
    background: hsl(60deg 23.08% 97.45%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* Input validation states */
.form-input.input-valid {
    border-color: #719500;
    /* background: #f7faf0; */
}

.form-input.input-invalid {
    border-color: #b8860b;
    background: #fef9e7;
}

/* Input spinner */
.input-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #719500;
}

.input-spinner .spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

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

.form-input:disabled {
    background: #fbfbfb;
    cursor: not-allowed;
}

/* Success message */
.success-message, .warning-message {
    font-size: 15px;
    color: #719500;
    text-align: center;
    margin: -5px 0 15px 0;
    padding: 12px 32px;
    background: #7195001c;
    border-radius: 10px;
    /* border: 1px solid #719500; */
    font-family: 'gibsonregular', sans-serif;
    width: 100%;
    max-width: 320px;
}

/* Warning message */
.warning-message {
    color: #8b7355;
    background: #fef9e7;
    border: 1px solid #d4a953;
    margin-bottom:20px;
}

/* Address autocomplete */
.address-autocomplete-group {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.address-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #2c2c2c;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item:hover {
    background: #f7faf0;
}

/* Selected address card */
.selected-address-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
}

.selected-address-card.valid {
    /* background: #f0fdf4; */
    /* border-color: #86efac; */
}

.selected-address-card.invalid {
    background: #fef2f2;
    border-color: #fecaca;
}

.selected-address-card .address-icon {
    flex-shrink: 0;
    color: #64748b;
}

.selected-address-card.valid .address-icon {
    color: #719500;
}

.selected-address-card.invalid .address-icon {
    color: #ef4444;
}

.selected-address-card .address-text {
    flex: 1;
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
    word-break: break-word;
}

.selected-address-card .edit-address-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #64748b;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.selected-address-card .edit-address-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #334155;
}

/* Privacy consent */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    /* margin-top: 16px; */
    max-width: 320px;
    width: 100%;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.2s;
    margin-top:4px;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark-box {
    background: #719500;
    border-color: #719500;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-text {
    font-size: 15px;
    color: hsl(31.58deg 8.15% 45.69%);
    line-height: 1.4;
}

.consent-text a {
    color: #719500;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

#menu-top-bar {
    border-bottom: 1px solid #e2e8f0;
}
#v2-header {
    border-bottom: 1px solid #e2e8f0 !important;
}
body header, body #header .dashboard-header, body .desktop-header #v2-header, body #page-header {
    background: white !important;
}
.v2-header-top {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Sticky bottom */
.sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    /* padding-bottom: max(16px, env(safe-area-inset-bottom)); */
    background: white;
    border-top: 1px solid #e2e8f0;
    z-index: 100;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.back-button {
    flex: 0 0 auto;
    padding: 14px 24px;
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 16px;
    color: #719500;
    background: transparent;
    border: none;
    cursor: pointer;
}

.back-button:hover {
    text-decoration: underline;
}

.continue-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 16px;
    color: white;
    background: #719500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
    opacity: 1;
}

.continue-button:hover:not(:disabled) {
    opacity: 0.8;
}

.continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.continue-button svg {
    flex-shrink: 0;
}

/* Options grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.options-grid-compact {
    grid-template-columns: repeat(2, 1fr);
}

.option-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.option-card:hover {
    border-color: #719500;
}

.option-card.selected {
    border-color: #719500;
    background: #f7faf0;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    text-align: center;
}

.option-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.option-text {
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 14px;
    color: #2c2c2c;
}

.option-title {
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 14px;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.option-description {
    font-family: 'gibsonregular', sans-serif;
    font-size: 12px;
    color: #999;
}

/* Checkmark for multi-select */
.checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #719500;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.option-card.selected .checkmark {
    display: flex;
}

/* Options list */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.option-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    display: flex;
    align-items: center;
}

.option-item:hover {
    border-color: #719500;
}

.option-item.selected {
    border-color: #719500;
    background: #f7faf0;
}

.option-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #719500;
}

.option-label {
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 15px;
    color: #2c2c2c;
}

/* Error message */
.error-message {
    background: #fce8e67a;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'gibsonregular', sans-serif;
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.5;
    width: 100%;
    /* max-width: 320px; */
    max-width: 450px;
    box-sizing: border-box;
}
/* .final-error-message {
    max-width: 450px;
} */
.error-message span {
    font-family: 'gibsonregular', sans-serif;
}

.error-message strong {
    font-family: 'gibsonsemibold', sans-serif;
    display: block;
    margin-bottom: 4px;
}

/* Confirmation screen */
.confirmation-content {
    text-align: center;
}

.success-icon {
    margin-bottom: 24px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.preferences-summary {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    width: 100%;
}

.preferences-summary h3 {
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 16px;
    color: #2c2c2c;
    margin: 0 0 16px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item.full-width {
    grid-column: 1 / -1;
}

.summary-label {
    font-family: 'gibsonregular', sans-serif;
    font-size: 12px;
    color: #999;
}

.summary-value {
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 14px;
    color: #2c2c2c;
}

/* Onboarding Header */
.onboarding-header {
    left: 0;
    right: 0;
    height: 60px;
    /* background: white; */
    /* border-bottom: 1px solid #e2e8f0; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 200;
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.header-back-button,
.header-close-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    color: #7e756b;
    padding: 8px;
}

.header-back-button:hover,
.header-close-button:hover {
    opacity: 0.7;
}

.header-close-button {
    padding: 8px;
}

/* Progress Bar Container */
.onboarding-progress-bar-container {
    /* position: fixed; */
    /* top: 130px; */
    left: 0;
    right: 0;
    /* background: white; */
    padding: 0px 20px;
    /* border-bottom: 1px solid #e2e8f0; */
    z-index: 199;
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.onboarding-progress-bar-container .onboarding-progress-bar {
    width: 100%;
    max-width: 100%;
    height: 12px;
    background: #f6f2eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    width:100%;
}

.onboarding-progress-bar-container .progress-text {
    font-size: 14px;
    color: #719500;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width:100%;
}

.progress-dot {
    width: 8px;
    height: 8px;
    background: #719500;
    border-radius: 50%;
    display: inline-block;
    animation: blip 2s ease-in-out infinite;
}

.progress-dot.completed {
    width: 10px;
    height: 10px;
    animation: none;
    box-shadow: 0 0 0 3px rgba(113, 149, 0, 0.2);
}

@keyframes blip {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* .onboarding-screen:not(.step1) .onboarding-content {
    padding-top: 10vh;
} */

/* Checkbox List */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 520px;
}

.checkbox-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-list-item:hover {
    border-color: #719500;
    background: #f7faf0;
}

.checkbox-list-item.checked {
    border-color: #719500;
    background: #f7faf0;
}

.checkbox-list-item input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    position: relative;
    transition: all 0.2s;
}

.checkbox-list-item.checked .checkbox-box {
    background: #719500;
    border-color: #719500;
}

.checkbox-list-item.checked .checkbox-box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    color: #2c2c2c;
    flex: 1;
    text-align: left;
}

/* Radio List */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 520px;
}

.radio-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-list-item.with-description {
    align-items: flex-start;
}

.radio-list-item:hover {
    border-color: #719500;
    background: #f7faf0;
}

.radio-list-item.checked {
    border-color: #719500;
    background: #f7faf0;
}

.radio-list-item input[type="radio"] {
    display: none;
}

.radio-box {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    position: relative;
    transition: all 0.2s;
}

.radio-list-item.with-description .radio-box {
    margin-top: 2px;
}

.radio-list-item.checked .radio-box {
    border-color: #719500;
}

.radio-list-item.checked .radio-box::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #719500;
}

.radio-label {
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    color: #2c2c2c;
    flex: 1;
    text-align: left;
}

.radio-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.radio-description {
    font-family: 'gibsonregular', sans-serif;
    font-size: 14px;
    color: #999;
}

/* Continue Button Full Width */
.continue-button-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 12px 24px;
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 16px;
    color: white;
    background: #719500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.continue-button-full:hover:not(:disabled) {
    opacity: 0.9;
}

.continue-button-full:disabled,
.continue-button-full.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Skip Link */
.skip-link {
   display: block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding: 12px 24px;
    font-family: 'gibsonregular', sans-serif;
    font-size: 15px;
    color: #464a53;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    max-width: 520px;
    text-align: center;
    margin: auto;
    margin-top: 10px;
    border-radius: 10px;
    transition: all 0.2s;
}

.skip-link:hover {
    color: #719500;
    /* text-decoration: underline; */
    border: 1px solid #719500;
    background: #f0f4ea;
}

/* Questions Intro Section */
.questions-intro {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
}

.questions-intro .intro-title {
    font-family: 'gibsonregular', sans-serif;
    font-size: 18px;
    color: #2c2c2c;
    margin: 0 0 8px 0;
}

.questions-intro .intro-subtitle {
    font-family: 'gibsonlight', sans-serif;
    font-size: 15px;
    color: #8a8a8a;
    margin: 0;
    line-height: 1.4;
}

/* Question Feedback Box */
.question-feedback {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f7faf0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'gibsonregular', sans-serif;
    font-size: 15px;
    color: #5a6c3a;
    line-height: 1.5;
    width: 100%;
    animation: fadeIn 0.3s ease;
    max-width: 520px;
}

/* Day Picker Dropdown */
.day-picker-wrapper {
    width: 100%;
    max-width: 450px;
    position: relative;
    margin-top: 5px;
}

.day-picker-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    color: #333;
}

.day-picker-select:hover {
    border-color: #cbd5e1;
}

.day-picker-select.open {
    border-color: #719500;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.day-picker-value {
    color: #333;
}

.day-picker-select:not(.open) .day-picker-value:first-child:last-child {
    color: #94a3b8;
}

.day-picker-arrow {
    transition: transform 0.2s ease;
    color: #64748b;
}

.day-picker-select.open .day-picker-arrow {
    transform: rotate(180deg);
}

.day-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #719500;
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 101;
    max-height: 300px;
    overflow-y: auto;
}

.day-picker-option {
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    color: #333;
}

.day-picker-option:hover:not(.disabled) {
    background: #f8fafc;
}

.day-picker-option.selected {
    background: #f0f5e5;
    color: #5a6c3a;
    font-family: 'gibsonsemibold', sans-serif;
}

.day-picker-option.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.day-picker-option:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Delivery Type Selection */
.delivery-type-section {
    width: 100%;
    max-width: 450px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.delivery-type-title {
    font-family: 'gibsonlight', sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #333;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.4;
    width: 150%;
}

.free-shipping-badge {
    display: inline-block;
    /* width: 100%; */
    width:auto;
    text-align: center;
    padding: 6px 16px;
    background: #719500;
    color: #fff;
    font-family: 'gibsonregular', sans-serif;
    font-size: 13px;
    border-radius: 25px;
    margin-bottom: 12px;
    animation: pulse 3s infinite;
    display:none;
}
/* pulsing */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.delivery-type-options {
    display: flex;
    gap: 12px;
    width:100%;
}

.delivery-type-btn {
    flex: 1;
    padding: 9px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-type-btn:hover {
    border-color: #719500;
    color:#6c9329;
    background: #f8faf6;
    /* font-family: 'gibsonlight', sans-serif; */
}

.delivery-type-btn.selected {
    border-color: #719500;
    background: #f7faf0;
    color: #5a6c3a;
}

/* Prefill basket checkbox */
.prefill-basket-checkbox {
    margin-top: 25px;
    width: 100%;
    max-width: 450px;
}

.prefill-basket-checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: #414042;
    line-height: 1.4;
}

.prefill-basket-checkbox .checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.prefill-basket-checkbox .checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #719500;
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.prefill-basket-checkbox .checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #719500;
}

.prefill-basket-checkbox .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.prefill-basket-checkbox .checkbox-text {
    /* flex: 1; */
    font-family: 'gibsonregular', sans-serif;
}

/* Address Card (Home Delivery) */
.address-card {
    margin-top: 12px;
    background: #fcfbf9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 15px;
    width: 100%;
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.address-card-label {
    font-size: 14px;
    color: #64748b;
    /* font-family: 'gibsonregular', sans-serif; */
}

.address-edit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    font-family: 'gibsonregular', sans-serif;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.address-edit-btn:hover {
    background: #f1f5f9;
    color: #475569;
}

.address-edit-btn svg {
    width: 16px;
    height: 16px;
}

.address-card-content {
    padding-left: 0;
}

.address-line-primary {
    font-size: 16px;
    font-weight: 600;
    /* color: #1e293b; */
    font-family: 'gibsonregular', sans-serif;
    margin-bottom: 2px;
}

.address-line-secondary {
    font-size: 15px;
    color: #64748b;
    /* font-family: 'gibsonregular', sans-serif; */
}

/* Address Edit Form */
.address-edit-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top:10px;
}

.address-edit-input-wrapper {
    position: relative;
}

.address-edit-input {
    width: 100%;
    color:#333333;
    padding: 9px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    text-align: left;
}
body input.address-edit-input.open {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-color:#e2e8f0 !important;
}

.address-edit-input:focus {
    outline: none;
    border-color: #719500;
}

.address-edit-input.postal-code-input {
    background-color: #f8fafc;
    color: #64748b;
}

.address-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.address-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item:hover {
    background: #f8fafc;
}

.address-edit-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.address-save-btn,
.address-cancel-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'gibsonregular', sans-seri !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-save-btn {
    background: #fff;
    /* color: #64748b; */
    border: 1px solid #e2e8f0;
}
.address-save-btn span {
    font-family: 'gibsonregular', sans-serif !important;
}

.address-save-btn:hover:not(:disabled) {
    border-color: #719500;
    color: #6c9329;
    background: #f8faf6;
}

.address-save-btn:disabled {
    /* background: #cbd5e1; */
    opacity: 0.5;
    cursor: not-allowed;
}

.address-cancel-btn {
    background: transparent;
    /* color: #64748b; */
    border: 1px solid transparent;
}

.address-cancel-btn:hover {
    background: #f8faf6;
    color: #6c9329;
    opacity:0.5;
    /* border-color: #cbd5e1; */
}

/* Delivery Address Error */
.delivery-address-error {
    color: #dc2626;
    font-size: 14px;
    padding: 8px 12px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin-top: 4px;
}

/* Pickup Point Dropdown */
.pickup-point-section {
    margin-top: 12px;
    width:100%;
}

.pickup-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.pickup-dropdown-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'gibsonregular', sans-serif;
    font-size: 16px;
    /* color: #64748b; */
    transition: all 0.2s ease;
}

.pickup-dropdown-trigger:hover {
    border-color: #cbd5e1;
}

.pickup-dropdown-wrapper.open .pickup-dropdown-trigger {
    border-color: #719500;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.pickup-dropdown-trigger .dropdown-arrow {
    transition: transform 0.2s ease;
}

.pickup-dropdown-wrapper.open .pickup-dropdown-trigger .dropdown-arrow {
    transform: rotate(180deg);
}

.pickup-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #719500;
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pickup-option {
    padding: 14px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.pickup-option:last-child {
    border-bottom: none;
}

.pickup-option:hover {
    background: #f8fafc;
}

.pickup-option.selected {
    background: #f7faf0;
}

.pickup-option-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.pickup-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    font-family: 'gibsonregular', sans-serif;
}

.pickup-distance {
    font-size: 14px;
    color: #719500;
    font-family: 'gibsonregular', sans-serif;
}

.pickup-address {
    font-size: 13px;
    color: #64748b;
    font-family: 'gibsonregular', sans-serif;
}

@media (max-width: 670px) {
    /* .input-group, .success-message, .warning-message {
        max-width: 100%;
    } */
    /* .onboarding-screen.step1 .onboarding-content {
        padding-top: 10vh;
    } */
    .delivery-type-title {
        width: 100%;
        font-size: 18px;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .onboarding-title {
        font-size: 22px !important;
    }
    .onboarding-subtitle {
        font-size: 16px;
    }

    .options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .options-grid-compact {
        grid-template-columns: 1fr 1fr;
    }

    .option-card {
        padding: 16px 12px;
    }

    .option-icon {
        font-size: 28px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   Onboarding Signup Form (for closed marketplace)
   ===================================================== */
.onboarding-signup-wrapper {
    padding: 20px;
    padding-bottom: 100px;
    animation: fadeIn 0.3s ease-out;
}

.onboarding-signup-wrapper .onboarding-signup-container {
    max-width: 520px;
    margin: 0 auto;
}

/* Override some styles for the signup form in welcome context */
.onboarding-signup-wrapper .top-info {
    padding-top: 10px;
}

.onboarding-signup-wrapper .guest-customer-info {
    gap: 12px;
}

.onboarding-signup-wrapper .guest-customer-info .back-icon svg {
    transform: rotate(180deg);
}

/* Hide delivery step content when signup form is active */
.onboarding-screen-delivery.signup-active .onboarding-header,
.onboarding-screen-delivery.signup-active .onboarding-progress-bar-container,
.onboarding-screen-delivery.signup-active .onboarding-content {
    display: none;
}

/* Disabled home delivery button */
.delivery-type-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.delivery-type-btn .btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid #ccc;
    border-top-color: #719500;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Marketplace info blurb - shown when delivery type is selected */
.marketplace-info-blurb {
    background: #edefe7cf;
    color: #627344;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    margin-top: 16px;
    line-height: 1.7;
    text-align: center;
    font-family: gibsonregular;
    border: 1px solid #719500;
    max-width: 450px;
}

/* Warning message for day-specific home delivery unavailability */
.delivery-day-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.4;
}
.default-button {
  background: #719500 0% 0% no-repeat padding-box;
  display: block;
  margin: auto;
  border-radius: 4px;
  opacity: 1;
  color: white;
  /* border: 1px solid #71950066; */
  padding: 7.5px 30px 7.5px 30px;
  margin-top: 20px;
  font-family: gibsonregular;
  cursor: pointer;
  border: none;
}
.red-button {
  background: #c41200 !important;
}

.default-button:hover {
  opacity: 0.8;
}