/* ==========================================
   BONBON - PREMIUM E-COMMERCE PLATFORM
   Modern, Animated, Beautiful
   ========================================== */

/* === VARIABLES === */
:root {
    --primary: #1f2b5b;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --gradient-primary: linear-gradient(135deg, #1f2b5b 0%, #38046d 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* === RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;

}

/* === LANDING PAGE === */
.landing-section {
    min-height: 80vh;
    background: var(--background);
    position: relative;
    display: none;
    margin-top: -100px;
}

.landing-section.active {
    display: flex;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.2s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* === APP WRAPPER === */
.app-wrapper {
    display: none;
    min-height: 100vh;
    padding: 2rem 0;
    margin-top:20px;
}

.app-wrapper.active {
    display: block;
}

/* === FLOATING CART === */
.floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-cart:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 3px solid white;
}

/* === PROGRESS MINI === */
.progress-mini {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.progress-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-300);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--primary);
    transform: scale(1.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.progress-dot.completed {
    background: var(--success);
}

/* === STEP SECTIONS === */
.step-section {
    display: none;
}

.step-section.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.step-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-container.wide {
    max-width: 1400px;
}

.btn-back {
    background: var(--gray-200);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--gray-300);
    transform: translateX(-5px);
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.step-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

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

.slide-up {
    animation: slideUpFade 0.6s ease-out 0.2s both;
}

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

/* === SCHOOL BANNER === */
.school-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.school-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.school-banner p {
    opacity: 0.95;
}

/* === FORM ELEMENTS === */
.form-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.form-section {
    margin-bottom: 2rem;
}

.label-modern {
    display: block;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper.flex-1 {
    flex: 1;
}

.input-wrapper.full-width {
    grid-column: 1 / -1;
}

.input-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.input-modern.disabled {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.input-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    pointer-events: none;
}

.input-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.input-group-modern {
    display: flex;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* === BUTTONS === */
.btn-primary,
.btn-secondary,
.btn-success {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* === CHOICE CARDS === */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.choice-card {
    background: var(--gray-50);
    border: 3px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.choice-card.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.choice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.boy-color {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
}

.girl-color {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: white;
}

.choice-card span {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
}

/* === STANDARD GRID === */
.standard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.standard-grid .choice-card {
    padding: 1.5rem 1rem;
}

/* === ALERTS === */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

/* === PRODUCTS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    animation: scaleIn 0.5s ease-out;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
}

.product-body {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.size-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.size-option {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: var(--primary);
}

.size-option.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

/* === CHECKOUT === */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-modern {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-info h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.item-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.item-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.item-remove {
    background: var(--danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.item-remove:hover {
    background: #DC2626;
}

/* === DELIVERY === */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-option {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border: 3px solid var(--gray-200);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: var(--primary);
}

.delivery-option.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.delivery-check {
    font-size: 1.5rem;
    color: var(--gray-300);
}

.delivery-option.selected .delivery-check {
    color: var(--primary);
}

.delivery-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.school-color {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.home-color {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.delivery-info h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.delivery-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.delivery-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.delivery-price.free {
    color: var(--success);
}

.pincode-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-200);
}

/* === SUMMARY === */
.checkout-sidebar {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.summary-title {
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gray-200);
}

.summary-items {
    padding: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-row span:first-child {
    color: var(--gray-600);
}

.summary-row span:last-child {
    font-weight: 700;
}

.summary-divider {
    height: 2px;
    background: var(--gray-200);
    margin: 1.5rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    padding: 0 2rem 2rem;
}

/* === SUCCESS === */
.success-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.success-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.success-container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

.success-animation {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
    position: relative;
    z-index: 2;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

.success-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.15s both;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.25s both;
}

.success-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.35s both;
}

.order-id-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-label {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.badge-value {
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.success-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.45s both;
}

.detail-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
    background: white;
}

.detail-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    transition: all 0.3s ease;
}

.detail-card:hover .detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.name-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.email-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
}

.phone-icon {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.delivery-icon {
    background: linear-gradient(135deg, #FFB347 0%, #FFA500 100%);
}

.detail-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.detail-content {
    text-align: center;
    width: 100%;
    flex: 1;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    word-break: break-word;
    line-height: 1.4;
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(74, 222, 128, 0.08) 100%);
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--success);
    animation: fadeInUp 0.6s ease-out 0.55s both;
}

.success-message p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    line-height: 1.6;
}

.success-message i {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-new-order {
    animation: fadeInUp 0.6s ease-out 0.65s both;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-new-order:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.45);
}

.btn-new-order:active {
    transform: translateY(-2px);
}

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

/* === PAYMENT PAGE === */
.payment-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.payment-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method:hover {
    border-color: var(--primary);
    background: var(--gray-50);
    transform: translateY(-2px);
}

.payment-method.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.method-check {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    transition: all 0.3s ease;
}

.payment-method.selected .method-check {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    font-size: 0.75rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.upi-color {
    background: #FF6B35;
    color: white;
}

.card-color {
    background: #667EEA;
    color: white;
}

.netbanking-color {
    background: #4CAF50;
    color: white;
}

.wallet-color {
    background: #FFC107;
    color: white;
}

.cod-color {
    background: #FF9800;
    color: white;
}

.method-info {
    flex: 1;
}

.method-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.method-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

#cardDetailsSection,
#upiDetailsSection {
    animation: slideUp 0.3s ease-out;
}

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

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.input-wrapper.full-width {
    grid-column: 1 / -1;
}

.input-wrapper.half-width {
    grid-column: span 1;
}

.payment-sidebar {
    position: relative;
}

.payment-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--success);
    text-align: center;
    font-weight: 500;
}

/* === ACTION CENTER === */
.action-center {
    text-align: center;
    margin-top: 2rem;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(200px);
    background: var(--gray-900);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-2xl);
    font-weight: 600;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* === RESPONSIVE === */
/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .checkout-sidebar {
        position: static;
    }

    .payment-container {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .success-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vendor-login-wrapper {
        position: static;   /* remove absolute */
        text-align: right;
        margin-bottom: 10px;
    }
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .step-header h2 {
        font-size: 2rem;
    }

    .form-card {
        padding: 2rem;
    }

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

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

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

    .success-container {
        padding: 2rem;
        border-radius: 20px;
    }

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

    .checkmark-circle {
        width: 90px;
        height: 90px;
        font-size: 2.8rem;
    }

    .success-details-grid {
        grid-template-columns: 1fr;
    }

    .badge-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 1.5rem;
    }

    .step-container {
        padding: 0 1rem;
    }

    .floating-cart {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .success-wrapper {
        padding: 1rem;
    }

    .success-container {
        padding: 1.5rem;
        border-radius: 18px;
    }

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

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

    .success-details-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .detail-card {
        padding: 1rem;
    }

    .detail-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .detail-label {
        font-size: 0.7rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .badge-label {
        font-size: 0.75rem;
    }

    .badge-value {
        font-size: 1.4rem;
    }

    .success-message {
        padding: 1rem;
    }

    .success-message p {
        font-size: 0.9rem;
    }

    .btn-new-order {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }
}
/* === MODAL STYLES === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-modal-cancel,
.btn-modal-confirm {
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modal-cancel {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-modal-cancel:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.btn-modal-confirm {
    background: var(--danger);
    color: white;
}

.btn-modal-confirm:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* === QUANTITY SELECTOR === */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 60px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 0.5rem;
    background: white;
    color: var(--gray-900);
}

/* === IN CART BADGE === */
.in-cart-badge-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.in-cart-badge {
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: none !important;
}

/* === CART QUANTITY CONTROLS === */
.item-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1rem;
}

.qty-btn-small {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-small:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.qty-btn-small:active {
    transform: scale(0.9);
}

.qty-display {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    min-width: 30px;
    text-align: center;
}

/* === ORDER ITEM ADJUSTMENTS === */
.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 1rem;
    gap: 1rem;
}

.order-item .item-info {
    flex: 1;
}

.order-item .item-price {
    min-width: 100px;
    text-align: right;
}

.product-card {
    position: relative;
}

.btn-danger {
    background: var(--danger);
    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;
    justify-content: center;
    gap: 0.75rem;
}

.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    .order-item {
        flex-wrap: wrap;
    }
    
    .item-qty-controls {
        order: 3;
        margin: 0.5rem 0 0 0;
    }
    
    .item-remove {
        order: 4;
        margin: 0.5rem 0 0 auto;
    }

    .modal-container {
        width: 95%;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
        width: 100%;
        justify-content: center;
    }
}
:root {
    --light: #dddddd;
}
body {
    overflow: auto;
    background-color: #EDF2F8;
    top: 75px;
  
}
html {
scroll-behavior:smooth;
}


.row {
    justify-content:center;

}
.wrapper {
    margin: 0px;
    background-color: #EDF2F8;
    color: #EDF2F8;
    position: relative;
    top: 75px;  
}

.box {
    display:grid;
    margin-bottom: 20px;
    background-color: white;
    color: #fff;
    border-radius:0.5em;
  
}
.innerbox {
    display:grid;

    margin: 20px;
    margin-block:10px;
}

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

.radio-toolbar label {
    padding:0px 20px;
    margin-right:6px;
    border-radius: 3em;
    display: inline-block;
    background-color: #ddd;
    padding: 10px 20px;
    cursor: pointer;
    font-weight:100;
}

.radio-toolbar input[type="radio"]:checked + label {
    background-color: #273F5B !important;
    color: #fff
}

/**.radio-toolbar input[type="radio"] + label:hover {
    transition: transform .2s;
    transform: scale(1.2);
}
    */
.qty .count {
    color: #000;
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    min-width:45px;
    text-align: center;
}

.qty .plus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: #008EDE;
    font: 20px/1 Arial,sans-serif;
    text-align: center;
    border-radius: 50%;

}

.qty .minus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: #008EDE;
    font: 20px/1 Arial,sans-serif;
    text-align: center;
    border-radius: 50%;
    border-color: #f44336;
  
}
.qty .count1 {
    color: #000;
    display: inline-block;
    vertical-align: top;
    font: 20px/1 Arial,sans-serif;
    min-width: 45px;
    text-align: center;
}

.qty .plus1 {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: #008EDE;
    font: 20px/1 Arial,sans-serif;
    text-align: center;
    border-radius: 50%;
}

.qty .minus1 {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: #008EDE;
    font: 20px/1 Arial,sans-serif;
    text-align: center;
    border-radius: 50%;
    border-color: #f44336;
}

/*Prevent text selection*/
span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.count  {
    border: 0;
    width: 2%;
}
.form-check-input {
    cursor: pointer;
    accent-color: #273F5B;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: #008EDE;
    width: 1.3em;
    height: 1.3em;
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    vertical-align:sub;
}

.select-size input {
    display: none;
}

.select-size label {
    display: inline-block;
    text-align: center;
    border: 1px solid #ddd;
    cursor: pointer;
    padding:10px 10px;
    border-radius: 0.3em;
    /*font: small-caption;
    font: 100;*/
    font:inherit;
    font-size:12px;
}


.mysizediscolor {
    background: #273F5B;
    color: #fff;
    font: 100;
    opacity:0.5;
}
.mysizecolor {
    background: #273F5B;
    color: #fff;
    font: 100;
}



div.sidebtn {
    background-color: #273F5B;
    border-bottom-left-radius: 1em;
    border-top-left-radius: 1em;
    position: fixed;
    top: 300px;
}

div.sidebar {
    background-color: #273F5B;
    border-radius: 2em;
    display: grid;
    position: -webkit-sticky;
    position: fixed;
    top:150px;
    display:none;
    transition:0.2s;
}



.badge-instock {
    background-color: #3ea711 !important;
}

.badge-circle {
    position: absolute;
    transform: translateX(-40%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
   
}

.product-image-carousel {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.carousel-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    transition: opacity 0.3s ease;
}

.carousel-img.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
}


.size-chart-link {
    margin-top: 5px;
}

.size-chart-link button {
    background: none;
    border: none;
    color: #6c63ff;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

/* Modal */
/* Overlay */
.size-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);

    
    justify-content: center;
    align-items: center;

    animation: fadeIn 0.3s ease;
}

/* Modal box */
.size-modal-content {
    position: relative;
    max-width: 80%;
    max-height: 85%;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);

    display: flex;
    justify-content: center;
    align-items: center;

    animation: zoomIn 0.3s ease;
}

/* Image */
.size-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Close button */
.size-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #333;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: 0.2s;
}

.size-close:hover {
    background: #ff4757;
    color: #fff;
}

/* Animations */
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.pincode-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pincode-row .flex-1 {
    flex: 1;
}

.pincode-row .btn-secondary {
    white-space: nowrap;
    height: 45px; /* match input height */
}
.delivery-options.error {
    /* border: 2px solid #ff4d4f; */
    /* border-radius: 12px; */
    padding: 5px;
    animation: shake 0.4s;
}

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}



.no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;   /* ya 100vh if full screen */
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.view-more-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6c5ce7;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-more-btn:hover {
    color: #4834d4;
    text-decoration: underline;
}
.hero-container {
    position: relative; /* IMPORTANT */
}

/* HEADER */
.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    height: 70px;
    padding: 0 20px;

    
    display: flex;
    align-items: center;
   background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */
.logo {
    height: 90px;
    width: 306px;
    cursor: pointer
}

/* VENDOR BUTTON WRAPPER */
.vendor-login-wrapper {
    display: flex;
    align-items: center;
}

/* BUTTON */
.vendor-btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;

    border-radius: 25px;
    border: 1px solid #6c5ce7;

    background: transparent;
    color: #6c5ce7;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.vendor-btn:hover {
    background: #6c5ce7;
    color: #fff;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}



/* OVERLAY */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* MODAL */
.contact-modal {
    width: 420px;
    max-width: 95%;
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-2xl);

    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.contact-modal-overlay.show .contact-modal {
    transform: translateY(0) scale(1);
}

/* HEADER */
.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.contact-header p {
    color: var(--gray-600);
}

/* CONTACT CARD */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ITEM */
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;

    background: var(--gray-50);
    padding: 1.2rem;
    border-radius: 16px;
    border: 2px solid transparent;

    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ICON */
.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.2rem;
}

/* INFO */
.contact-info h4 {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--gray-900);
}

.contact-info a {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin: 2px 0;
    transition: 0.2s;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #4F46E5;
}

/* CLOSE BUTTON */
.contact-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: var(--gray-500);
}

.contact-close:hover {
    color: var(--danger);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}
/* MOBILE */
@media(max-width:600px){
    .contact-modal {
        padding: 1.5rem;
    }
}

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


/* MATCH INPUT FIELD UI */
.dropdown-selected {
    height: 55px;
    border: 1.5px solid #d1d5db; /* same as input */
    border-radius: 12px;
    padding: 0 15px;
    background: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 14px;
    color: #111827;
    transition: all 0.2s ease;
        border: 2px solid var(--gray-600);

}

/* HOVER SAME AS INPUT */
.dropdown-selected:hover {
    border-color: #a78bfa;
}

/* FOCUS (IMPORTANT) */
.custom-dropdown.active .dropdown-selected {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}
/* Arrow */
.dropdown-selected::after {
    content: "▾";
    font-size: 14px;
    color: #666;
}

/* Dropdown */
.dropdown-list {
    position: absolute;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 9999;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.2s ease;
}

/* Open state */
.dropdown-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Search */
.dropdown-search {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    font-size: 14px;
    position: sticky;
    top: 0;
    background: #fff;
}

/* Options container */
.dropdown-options {
    max-height: 220px;
    overflow-y: auto;
}

/* Option item */
.dropdown-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: 0.2s;
}

/* Hover */
.dropdown-item:hover {
    background: #f3f4f6;
}

/* Selected item */
.dropdown-item.active {
    background: #6c5ce7;
    color: #fff;
}
.custom-dropdown.disabled {
    pointer-events: none;
    opacity: 0.7;
    background: #f9fafb;
}

.custom-dropdown.disabled .dropdown-selected {
    background: #f3f4f6;
    color: #6b7280;
}