/* ===================================
   CSS Variables (Flutter Colors)
   =================================== */
:root {
    /* Ana Renkler - Flutter AppColors ile aynı */
    --primary-pink: #FF6B9D;        /* Color(0xFFFF6B9D) */
    --background-color: #F8F9FA;    /* Color(0xFFF8F9FA) */
    --light-gray: #A0A0A0;          /* Color(0xFFA0A0A0) */
    --dark-gray: #333333;           /* Color(0xFF333333) */
    --accent: #6C63FF;              /* Color(0xFF6C63FF) */

    /* Text Renkleri */
    --primary-text: #333333;        /* darkGray */
    --secondary-text: #A0A0A0;      /* lightGray */
    --light-text: #FFFFFF;          /* Colors.white */

    /* Kart ve UI Elementleri */
    --card-background: #FFFFFF;     /* Colors.white */
    --shadow-color: rgba(0, 0, 0, 0.125); /* Color(0x20000000) */

    /* Özel Renkler */
    --heart-icon: #FF0000;          /* Color(0xFFFF0000) */
    --heart-icon-border: #FFFFFF;

    /* Gradyan Renkleri */
    --gradient-accent-start: #6C63FF;
    --gradient-accent-end: #FF6B9D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

/* ==================== FLOWER LOADING PROGRESS BAR ==================== */

/* Progress Bar Container */
.flower-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.flower-progress-bar.active {
    opacity: 1;
    visibility: visible;
}

/* Progress Track */
.flower-progress-track {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.1);
}

/* Progress Fill with Gradient */
.flower-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--primary-pink));
    transition: width 0.8s ease-out;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

/* Flower Icon moving with progress */
.flower-progress-icon {
    position: absolute;
    top: -10px;
    left: 0%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: left 0.8s ease-out;
    animation: flowerSpin 2s linear infinite;
}

.flower-progress-icon i {
    font-size: 14px;
    background: linear-gradient(135deg, var(--accent), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes flowerSpin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: var(--card-background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.header-top-bar {
    background: #F5F5F5;
    border-bottom: 1px solid #E5E5E5;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
}

.top-bar-left i {
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-link {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s;
}

.top-link:hover {
    color: var(--accent);
}

.top-link-bold {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.top-link-bold:hover {
    color: var(--accent);
}

/* Guest Buttons Container */
#guestButtons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.divider {
    color: #D0D0D0;
    font-weight: 300;
}

/* Main Header */
.header-main {
    padding: 16px 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none; /* Remove underline */
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit color from parent */
}

.logo a:hover {
    text-decoration: none; /* Remove underline on hover */
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block; /* Remove any inline spacing */
    flex-shrink: 0; /* Prevent image from shrinking */
}

.logo span {
    display: inline-block;
    line-height: 1; /* Ensure text aligns with image */
    vertical-align: middle;
    text-decoration: none; /* Remove underline */
}

/* Search Bar */
.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    overflow: visible;
    background: white;
    max-width: 800px;
    transition: border-color 0.3s;
    position: relative;
}

.search-bar:focus-within {
    border-color: var(--accent);
}

/* Location Dropdown */
.location-dropdown {
    position: relative;
    border-right: 1px solid #E0E0E0;
    background: #FAFAFA;
    z-index: 1001;
}

.location-selector-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    padding-right: 32px;
    border: none;
    background: transparent;
    color: var(--primary-text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    min-width: 150px;
    width: 100%;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.location-selector-btn:active {
    transform: scale(0.98);
}

.location-icon {
    color: var(--accent);
    font-size: 18px;
}

.location-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 12px;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.location-dropdown.active .location-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Location Dropdown Menu */
.location-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    min-width: 200px;
    max-width: 320px;
    max-height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(224, 224, 224, 0.3);
    z-index: 1002;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInScale 0.2s ease-out;
}

.location-dropdown.active .location-dropdown-menu {
    display: flex;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Location Search Box */
.location-search-box {
    position: relative;
    padding: 8px;
    border-bottom: 1px solid rgba(224, 224, 224, 0.2);
}

.location-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 16px;
    pointer-events: none;
}

.location-search-input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid rgba(224, 224, 224, 0.2);
    border-radius: 10px;
    background: var(--card-background);
    color: var(--primary-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.location-search-input:focus {
    border-color: var(--accent);
}

.location-search-input::placeholder {
    color: var(--secondary-text);
}

/* Location List */
.location-list {
    flex: 1;
    overflow-y: auto;
    max-height: 240px; /* 5 items * 48px */
    padding: 0;
}

.location-list::-webkit-scrollbar {
    width: 6px;
}

.location-list::-webkit-scrollbar-track {
    background: transparent;
}

.location-list::-webkit-scrollbar-thumb {
    background: rgba(224, 224, 224, 0.5);
    border-radius: 3px;
}

.location-list::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 224, 224, 0.7);
}

.location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 0.5px solid rgba(224, 224, 224, 0.15);
    position: relative;
}

.location-item:hover {
    background-color: rgba(108, 99, 255, 0.05);
}

.location-item.selected {
    background-color: rgba(108, 99, 255, 0.1);
}

.location-item-icon {
    font-size: 18px;
    color: var(--secondary-text);
    transition: color 0.2s ease;
}

.location-item.selected .location-item-icon {
    color: var(--accent);
}

.location-item-text {
    flex: 1;
    font-size: 14px;
    color: var(--primary-text);
    font-weight: normal;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.location-item.selected .location-item-text {
    color: var(--accent);
    font-weight: 600;
}

.location-item-check {
    font-size: 16px;
    color: var(--accent);
    display: none;
}

.location-item.selected .location-item-check {
    display: block;
}

.location-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--secondary-text);
    font-size: 14px;
}

.location-loading .loading-spinner {
    width: 24px;
    height: 24px;
    border-width: 2px;
}

/* Location Close Button */
.location-close-btn {
    padding: 12px;
    text-align: center;
    color: var(--secondary-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    border-top: 1px solid rgba(224, 224, 224, 0.2);
}

.location-close-btn:hover {
    color: var(--primary-text);
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: white;
}

.search-bar input::placeholder {
    color: #B0B0B0;
}

.search-btn {
    padding: 0 24px;
    background: var(--accent);
    border: none;
    color: var(--light-text);
    cursor: pointer;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--primary-pink);
}

.search-btn i {
    font-size: 18px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Icon Button - Base Styles */
.icon-btn {
    position: relative !important;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--accent);
}

/* Badge - Unified Stable Design for Cart & Notification */
.badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #FF6B6B !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    min-width: 18px !important;
    height: 18px !important;
    display: none !important; /* Default: hidden, will be shown only when user is logged in and count > 0 */
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3) !important;
    line-height: 1 !important;
    text-align: center !important;
}

/* Show badge only when explicitly set to flex via inline style or show class */
.badge.show {
    display: flex !important;
}

/* Override for inline style display:flex */
.badge[style*="display: flex"] {
    display: flex !important;
}

/* Hero Section with Campaign Slider */
.hero-section {
    padding: 32px 0 16px 0;
    margin-top: 16px;
}

.campaign-slider-wrapper {
    position: relative;
}

.campaign-slider {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 20px;
}

.campaign-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 20px;
    overflow: hidden;
}

.campaign-slide.active {
    opacity: 1;
}

.campaign-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.campaign-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.campaign-content {
    position: absolute;
    left: 48px;
    top: 60px;
    right: 48px;
    z-index: 2;
}

.campaign-title {
    color: var(--light-text);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.campaign-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.6;
    max-width: 65%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-button {
    position: absolute;
    left: 48px;
    bottom: 48px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--light-text);
    border: none;
    border-radius: 28px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
}

.campaign-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.5);
}

/* Campaign Navigation Buttons */
.campaign-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    z-index: 3;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.campaign-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.campaign-nav-btn.prev {
    left: 20px;
}

.campaign-nav-btn.next {
    right: 20px;
}

.campaign-nav-btn i {
    pointer-events: none;
}

.campaign-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--card-background);
    border-radius: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--background-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.campaign-loading p {
    margin-top: 10px;
    color: var(--light-gray);
    font-size: 14px;
}

/* Campaign Dots Indicator */
.campaign-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    gap: 8px;
}

.campaign-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(160, 160, 160, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
}

.campaign-dot.active {
    width: 20px;
    background: var(--accent);
}

/* Section Title */
.section-title-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 20px;
    padding-left: 4px;
}

/* Categories */
.categories-section {
    padding: 32px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

/* Animasyonlu açılış - sadece .animate class'ı olanlar */
.category-item.animate {
    animation: categoryFadeIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes categoryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for categories - sadece .animate class'ı olanlar */
.category-item.animate:nth-child(1) { animation-delay: 0.05s; }
.category-item.animate:nth-child(2) { animation-delay: 0.1s; }
.category-item.animate:nth-child(3) { animation-delay: 0.15s; }
.category-item.animate:nth-child(4) { animation-delay: 0.2s; }
.category-item.animate:nth-child(5) { animation-delay: 0.25s; }
.category-item.animate:nth-child(6) { animation-delay: 0.3s; }
.category-item.animate:nth-child(7) { animation-delay: 0.35s; }
.category-item.animate:nth-child(8) { animation-delay: 0.4s; }
.category-item.animate:nth-child(9) { animation-delay: 0.45s; }
.category-item.animate:nth-child(10) { animation-delay: 0.5s; }
.category-item.animate:nth-child(11) { animation-delay: 0.55s; }
.category-item.animate:nth-child(12) { animation-delay: 0.6s; }
.category-item.animate:nth-child(13) { animation-delay: 0.65s; }
.category-item.animate:nth-child(14) { animation-delay: 0.7s; }
.category-item.animate:nth-child(15) { animation-delay: 0.75s; }
.category-item.animate:nth-child(n+16) { animation-delay: 0.8s; }

.category-item:hover {
    transform: translateY(-4px);
}

.category-item:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* Tümünü Gör butonu özel stil */
.view-all-categories {
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--primary-pink)) !important;
    color: white !important;
}

.view-all-categories .category-icon {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.view-all-categories:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.4);
}

.view-all-categories:hover .category-icon {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.15);
}

.view-all-categories span {
    color: white !important;
    font-weight: 700;
    font-size: 14px;
}

.view-all-categories .category-icon i {
    color: white !important;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    overflow: hidden;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item span {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-text);
}

/* Category Loading State */
.category-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Flash Sale */
.flash-sale-section {
    padding: 32px 0;
    background: var(--card-background);
    margin: 24px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title h2 {
    font-size: 28px;
}

.countdown {
    display: flex;
    gap: 4px;
}

.countdown-item {
    background: var(--heart-icon);
    color: var(--light-text);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
}

.countdown-separator {
    color: var(--heart-icon);
    font-weight: bold;
    font-size: 20px;
}

.view-all-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Flash Sale Products Container with Navigation Buttons */
.flash-sale-container {
    position: relative;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.products-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    flex: 1;
    position: relative;
}

/* Flash sale product transition animation - only animation, inherits all card styles */
.products-slider .product-card {
    animation: productSlideIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.products-slider .product-card:nth-child(1) { animation-delay: 0.05s; }
.products-slider .product-card:nth-child(2) { animation-delay: 0.1s; }
.products-slider .product-card:nth-child(3) { animation-delay: 0.15s; }
.products-slider .product-card:nth-child(4) { animation-delay: 0.2s; }

@keyframes productSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure flash sale cards don't override hover animation */
.products-slider .product-card:hover {
    transform: translateY(-6px);
}

/* Flash Sale Navigation Buttons - Simple Arrow Only */
.flash-nav-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--dark-gray);
    z-index: 10;
    transition: all 0.3s;
    flex-shrink: 0;
}

.flash-nav-btn:hover {
    color: var(--accent);
    transform: scale(1.2);
}

.flash-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.flash-nav-btn:disabled:hover {
    color: var(--dark-gray);
    transform: scale(1);
}

@media (max-width: 1024px) {
    .products-slider {
        grid-template-columns: repeat(3, 1fr);
    }

    .flash-nav-btn {
        font-size: 32px;
        width: 40px;
        height: 40px;
    }

    .flash-sale-container {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .products-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .flash-nav-btn {
        font-size: 28px;
        width: 32px;
        height: 32px;
    }

    .flash-sale-container {
        gap: 12px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

/* Product Card - Flutter Compatible */
.product-card {
    background: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    flex: 0 0 70%; /* Takes 60% of card height */
    background: rgba(108, 99, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Discount Badge - Flutter Style (Top Left, Red Background, Percentage) */
.product-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FF0000;
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* Wishlist Button - Flutter Style (Top Right, White Circle, Shadow) */
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 2;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wishlist-btn i {
    font-size: 18px;
    color: var(--light-gray);
    transition: color 0.2s ease;
}

.wishlist-btn.active i {
    color: var(--heart-icon);
}

/* Product Info Section */
.product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 34px;
}

/* Rating Section - Flutter Style (5 Stars + Score + Review Count) */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    min-height: 18px;
}

.product-rating .stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.product-rating .stars i {
    font-size: 13px;
    color: #FFC107;
}

.product-rating .rating-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-text);
    margin-left: 2px;
}

.product-rating .rating-count {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--light-gray);
}

/* Spacer - pushes price to bottom */
.product-spacer {
    flex: 1;
}

/* Price Section - Flutter Style */
.product-price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.product-price .original-price {
    font-size: 12px;
    color: var(--light-gray);
    text-decoration: line-through;
    line-height: 1.1;
}

.product-price .current-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent);
    line-height: 1.1;
}

/* Free Shipping Badge - Flutter Style */
.free-shipping-badge {
    background: rgba(108, 99, 255, 0.1);
    border: 0.5px solid rgba(108, 99, 255, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    text-align: center;
    line-height: 1.5;
}

/* Remove old add-to-cart-btn and sold-count styles (not in Flutter) */
.add-to-cart-btn {
    display: none;
}

.sold-count {
    display: none;
}

/* Recommended Products Section */
.todays-section {
    padding: 32px 0;
}

.load-more-btn {
    display: block;
    margin: 32px auto;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Stores section removed */

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: var(--light-text);
    margin-top: 60px;
}

.footer-main {
    padding: 60px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-col-main {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-logo img {
    border-radius: 8px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* İletişim Bilgileri */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: var(--accent);
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.footer-contact-item span {
    line-height: 1.5;
}

/* Sosyal Medya */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
}

/* Mobil Uygulama Linkleri */
.footer-app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.app-store-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.app-store-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-store-link i {
    font-size: 24px;
    flex-shrink: 0;
    color: var(--accent);
}

.app-store-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.app-store-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.app-store-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

/* Footer Sütunları */
.footer-col-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-pink));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent);
}

.footer-links li a:hover::before {
    opacity: 1;
    left: -16px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Ödeme Yöntemleri */
.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.payment-icon i {
    font-size: 16px;
    color: var(--accent);
}

.payment-icon span {
    font-weight: 500;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }

    .footer-col-main {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col-main {
        grid-column: 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-payment-methods {
        flex-direction: column;
        align-items: center;
    }

    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact-item span {
        font-size: 13px;
    }

    .footer-app-links {
        gap: 8px;
    }

    .app-store-link {
        padding: 8px 12px;
        max-width: 100%;
    }

    .app-store-link i {
        font-size: 20px;
    }

    .app-store-label {
        font-size: 10px;
    }

    .app-store-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 32px 0 24px 0;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    .footer-col-title {
        font-size: 16px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .payment-icon {
        padding: 5px 10px;
        font-size: 11px;
    }

    .app-store-link {
        padding: 8px 10px;
    }

    .app-store-link i {
        font-size: 18px;
    }

    .app-store-label {
        font-size: 9px;
    }

    .app-store-name {
        font-size: 11px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        gap: 20px;
    }

    .search-bar {
        max-width: 600px;
    }

    .category-dropdown select {
        min-width: 120px;
        padding: 12px 30px 12px 12px;
    }

    .top-bar-content {
        font-size: 12px;
    }

    .top-bar-right {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    /* Top Bar Mobile */
    .header-top-bar {
        display: none; /* Hide top bar on mobile */
    }

    /* Header Mobile */
    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
    }

    .location-selector-btn {
        min-width: 100px;
        font-size: 12px;
        padding: 10px 25px 10px 10px;
    }

    .location-icon {
        font-size: 14px;
    }

    .location-arrow {
        font-size: 10px;
    }

    .location-dropdown-menu {
        max-width: 250px;
    }

    .search-bar input {
        font-size: 13px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .icon-btn {
        font-size: 22px;
    }

    /* Other responsive styles */
    .hero-content { flex-direction: column; }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid, .products-slider { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }

    /* Campaign Slider Mobile */
    .campaign-slider {
        height: 280px;
    }

    .campaign-slide {
        height: 280px;
    }

    .campaign-content {
        left: 24px;
        top: 32px;
        right: 24px;
    }

    .campaign-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .campaign-description {
        font-size: 14px;
        max-width: 90%;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .campaign-button {
        left: 24px;
        bottom: 32px;
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 24px;
    }

    .campaign-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .campaign-nav-btn.prev {
        left: 12px;
    }

    .campaign-nav-btn.next {
        right: 12px;
    }
}

/* ==================== AUTHENTICATION MODALS ==================== */

/* Modal Overlay */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Modal Content */
.auth-modal-content {
    position: relative;
    background: var(--card-background);
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 10001;
    box-sizing: border-box;
}

.auth-modal-content.auth-modal-small {
    max-width: 420px;
}

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

/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--background-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--secondary-text);
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.auth-modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

/* Auth Form */
.auth-form {
    padding: 48px 32px;
    width: 100%;
    box-sizing: border-box;
}

/* Auth Icon (Circular Gradient) */
.auth-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--gradient-accent-start), var(--gradient-accent-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.auth-icon i {
    font-size: 48px;
    color: white;
}

/* Title & Subtitle */
.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-text);
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 16px;
    color: var(--secondary-text);
    text-align: center;
    margin-bottom: 32px;
}

/* Error/Success Messages (Flutter style - rounded 30px) */
.auth-error, .auth-success {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 30px;
    margin-bottom: 12px;
    font-size: 14px;
}

.auth-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.auth-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.auth-error i, .auth-success i {
    font-size: 20px;
    flex-shrink: 0;
}

.auth-error span, .auth-success span {
    flex: 1;
    white-space: pre-line;
}

/* Input Wrapper (White Card with Elevation - Flutter Material elevation: 5) */
.auth-input-wrapper {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s;
    width: 100%;
    border: none;
}

.auth-input-wrapper:focus-within {
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

.auth-input-wrapper i {
    position: absolute;
    left: 16px;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
    z-index: 1;
}

.auth-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--primary-text);
    background: transparent;
    width: 100%;
    min-width: 0;
    padding: 14px 16px 14px 48px;
}

.auth-input-wrapper input::placeholder {
    color: var(--secondary-text);
    opacity: 0.7;
}

.auth-input-wrapper .password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    font-size: 16px;
    z-index: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-input-wrapper .password-toggle:hover {
    color: var(--primary-text);
}

/* Specific class for input icons */
.auth-input-icon {
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Name Row (for Signup) */
.auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Forgot Password Link (Flutter style - centered with icon) */
.forgot-password {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

.forgot-password a {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.forgot-password a:hover {
    color: var(--primary-pink);
}

.forgot-password a i {
    font-size: 18px;
}

/* Auth Button (Gradient with Shadow) */
.auth-button {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--gradient-accent-start), var(--gradient-accent-end));
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    position: relative;
}

.auth-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.4);
}

.auth-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-button-loader {
    display: none;
}

/* Auth Progress Bar */
.auth-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(108, 99, 255, 0.1);
    z-index: 100000;
    display: none;
}

.auth-progress-bar.active {
    display: block;
}

.auth-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--primary-pink));
    transition: width 0.3s ease-out;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Button with progress indicator */
.auth-button.loading {
    position: relative;
    overflow: hidden;
}

.auth-button.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.auth-button.loading .auth-button-text {
    display: none;
}

.auth-button.loading .auth-button-loader {
    display: block;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--secondary-text);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

/* Google Button (Flutter Material elevation: 5) */
.auth-google-button {
    width: 100%;
    height: 56px;
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-text);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.auth-google-button:hover:not(:disabled) {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.auth-google-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.google-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* Consent Checkboxes */
.auth-consent {
    margin: 24px 0;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    padding: 16px;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.2);
    transition: all 0.3s;
}

.auth-checkbox:hover {
    border-color: var(--accent);
    background: rgba(108, 99, 255, 0.05);
}

.auth-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox-text {
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.4;
}

/* Terms Note */
.auth-terms {
    font-size: 12px;
    color: var(--secondary-text);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-terms a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

/* Auth Link */
.auth-link {
    text-align: center;
    margin-top: 24px;
    font-size: 16px;
    color: var(--secondary-text);
}

.auth-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link a:hover {
    color: var(--primary-pink);
    text-decoration: underline;
}

/* Decorative Flowers (Flutter style) */
.auth-flowers {
    display: flex;
    justify-content: space-evenly;
    margin-top: 40px;
    opacity: 0.3;
}

.auth-flowers i {
    font-size: 24px;
}

.auth-flowers i:nth-child(1) { 
    font-size: 24px; 
    color: var(--primary-pink);
}
.auth-flowers i:nth-child(2) { 
    font-size: 20px;
    color: var(--accent);
}
.auth-flowers i:nth-child(3) { 
    font-size: 28px; 
    color: var(--primary-pink);
}
.auth-flowers i:nth-child(4) { 
    font-size: 20px; 
    color: var(--accent);
}
.auth-flowers i:nth-child(5) { 
    font-size: 24px; 
    color: var(--primary-pink);
}

/* Password Security Message */
.password-security-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-line;
}

.password-security-message i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.password-security-message span {
    flex: 1;
}

/* Consent Checkboxes */
.consent-checkboxes {
    margin: 24px 0 16px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.consent-checkbox label {
    flex: 1;
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.4;
    cursor: pointer;
}

.consent-checkbox label a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.consent-checkbox label a:hover {
    color: var(--primary-pink);
}

/* Membership Agreement Note */
.membership-agreement-note {
    text-align: center;
    margin-bottom: 24px;
}

.membership-agreement-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.membership-agreement-note a:hover {
    color: var(--primary-pink);
}

/* Legal Modals */
.legal-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999 !important;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    margin: 0 !important;
}

body.legal-modal-open {
    overflow: hidden !important;
}

body.legal-modal-open .auth-page,
body.legal-modal-open .auth-modal-content {
    position: relative;
    z-index: 1;
}

.legal-modal-content {
    background: var(--card-background);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    margin: 20px auto 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100000 !important;
}

.legal-modal-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.legal-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.legal-modal-icon i {
    font-size: 30px;
    color: var(--accent);
}

.legal-modal-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-text);
    margin: 0;
}

.legal-modal-body {
    padding: 20px 24px;
    overflow: visible;
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.5;
    white-space: pre-wrap;
}

.legal-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.legal-modal-btn-close,
.legal-modal-btn-accept {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.legal-modal-btn-close {
    background: transparent;
    color: var(--light-gray);
    border: 1px solid var(--light-gray);
}

.legal-modal-btn-close:hover {
    background: rgba(160, 160, 160, 0.1);
}

.legal-modal-btn-accept {
    background: linear-gradient(135deg, var(--accent), var(--primary-pink));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.legal-modal-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* Login Page Specific Styles */
.auth-page {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.back-button {
    margin-bottom: 20px;
}

.back-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--primary-text);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 8px rgba(160, 160, 160, 0.3);
}

.back-button a:hover {
    box-shadow: 0 4px 12px rgba(160, 160, 160, 0.4);
    transform: translateY(-2px);
}

.back-button a i {
    font-size: 20px;
    color: var(--primary-text);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .auth-modal-content {
        width: 95%;
        border-radius: 20px;
        margin: 20px;
    }

    .auth-form {
        padding: 40px 24px;
    }

    .auth-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .auth-icon i {
        font-size: 40px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 14px;
    }

    .auth-name-row {
        grid-template-columns: 1fr;
        gap: 16px; /* Increase gap for mobile */
    }

    .auth-input-wrapper {
        padding: 12px 14px; /* Slightly smaller padding on mobile */
    }

    .auth-input-icon {
        font-size: 16px; /* Slightly smaller icons on mobile */
    }

    .auth-button,
    .auth-google-button {
        height: 52px;
        font-size: 16px;
    }

    .checkbox-text {
        font-size: 13px;
    }
}

/* Extra small mobile screens */
@media (max-width: 360px) {
    .auth-form {
        padding: 32px 20px;
    }
    
    .auth-input-wrapper {
        padding: 10px 12px;
    }
    
    .auth-input-icon {
        font-size: 14px;
        min-width: 14px;
    }
    
    .auth-button,
    .auth-google-button {
        height: 48px;
        font-size: 15px;
    }
    
    .auth-title {
        font-size: 22px;
    }
    
    .auth-subtitle {
        font-size: 13px;
    }
}

/* ==================== PROFILE DROPDOWN ==================== */

/* Profile Dropdown Container */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

/* Profile Button */
.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--primary-text);
}

.profile-btn:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
}

.profile-avatar i {
    font-size: 16px;
}

.profile-btn i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s;
    color: var(--secondary-text);
}

.profile-btn:hover i.fa-chevron-down {
    color: var(--accent);
}

.profile-dropdown-container.active .profile-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown-container.active .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Header (User Info) */
.profile-dropdown-header {
    padding: 24px;
    background: linear-gradient(135deg, var(--accent), var(--primary-pink));
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-dropdown-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.profile-dropdown-avatar i {
    font-size: 28px;
}

.profile-dropdown-info {
    flex: 1;
    color: white;
    overflow: hidden;
}

.profile-dropdown-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-email {
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Items */
.profile-dropdown-items {
    padding: 8px 0;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    color: var(--primary-text);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 15px;
}

.profile-dropdown-item:hover {
    background: var(--background-color);
    color: var(--accent);
}

.profile-dropdown-item i {
    width: 20px;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.profile-dropdown-item span {
    flex: 1;
    font-weight: 500;
}

/* Divider */
.profile-dropdown-divider {
    height: 1px;
    background: rgba(160, 160, 160, 0.2);
    margin: 8px 16px;
}

/* Logout Button */
.profile-logout-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    color: #dc3545;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.profile-logout-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.profile-logout-btn i {
    color: #dc3545;
    font-size: 16px;
}

.profile-logout-btn span {
    font-size: 14px;
    font-weight: 500;
    color: #dc3545;
}

/* Animation */
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-dropdown-menu {
        min-width: 280px;
        right: -16px;
    }

    .profile-dropdown-header {
        padding: 20px 16px;
    }

    .profile-dropdown-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .profile-dropdown-avatar i {
        font-size: 24px;
    }

    .profile-dropdown-name {
        font-size: 16px;
    }

    .profile-dropdown-email {
        font-size: 12px;
    }

    .profile-dropdown-item {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ==================== SETTINGS MODALS ==================== */

/* Modal Overlay & Container */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.settings-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Orders Modal - Ensure it doesn't overflow */
#ordersModal.settings-modal.active {
    padding: 10px;
    align-items: center;
    justify-content: center;
}

.settings-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Modal Content */
.settings-modal-content {
    position: relative;
    background: var(--background-color);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: fit-content;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 10001;
    display: flex;
    flex-direction: column;
}

.settings-modal-content.settings-modal-small {
    max-width: 450px;
}

.settings-modal-content.settings-modal-scrollable {
    max-height: 85vh;
    max-width: 700px;
}

/* Orders Modal - Scrollable and properly positioned */
#ordersModal .settings-modal-content {
    max-height: 90vh !important;
    height: 90vh;
    max-width: 800px;
    width: 95%;
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#ordersModal .settings-modal-header {
    flex-shrink: 0;
}

#ordersModal .settings-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding: 20px 24px;
    -webkit-overflow-scrolling: touch;
}

#ordersModal .settings-modal-body::-webkit-scrollbar {
    width: 6px;
}

#ordersModal .settings-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

#ordersModal .settings-modal-body::-webkit-scrollbar-thumb {
    background: rgba(224, 224, 224, 0.5);
    border-radius: 3px;
}

#ordersModal .settings-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 224, 224, 0.7);
}

/* Become Seller Modal - Scrollable but smaller width */
#becomeSellerModal .settings-modal-content.settings-modal-scrollable {
    max-width: 500px;
    max-height: 90vh;
}

#becomeSellerModal .settings-modal-body.settings-modal-body-scrollable {
    max-height: calc(90vh - 80px);
    padding: 16px 20px;
}

.settings-modal-body.settings-modal-body-scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(85vh - 80px);
    padding: 20px 24px;
}

/* Modal Header */
.settings-modal-header {
    padding: 16px 20px;
    background: var(--card-background);
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.settings-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0;
    text-align: left;
}

.settings-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--background-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-size: 18px;
    transition: all 0.3s;
}

.settings-modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

/* Modal Body */
.settings-modal-body {
    padding: 16px 20px;
    overflow-y: visible;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
    text-align: left;
}

.settings-modal-body p {
    text-align: left;
}

.settings-modal-body h3 {
    text-align: center;
}

/* Privacy Policy Text Styling */
.privacy-policy-text {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.7;
    color: var(--primary-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    margin: 0;
}

/* Profile Edit Form Styling */
.profile-edit-info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-edit-info-box i {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.profile-edit-info-box span {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
}

.profile-edit-field {
    margin-bottom: 16px;
}

.profile-edit-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.profile-edit-label i {
    color: var(--accent);
    font-size: 16px;
}

.profile-edit-input,
.profile-edit-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    background: var(--card-background);
    color: var(--primary-text);
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.profile-edit-input:focus,
.profile-edit-select:focus {
    outline: none;
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.profile-edit-input-readonly {
    background: rgba(160, 160, 160, 0.1);
    color: var(--light-gray);
    cursor: not-allowed;
}

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

.profile-edit-error {
    display: block;
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.profile-edit-actions {
    margin-top: 30px;
}

.loading-spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

/* About Us Modal Styling */
.about-us-content {
    padding: 0;
}

.about-us-text {
    text-align: center;
    padding: 20px;
}

.about-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.about-us-icon i {
    font-size: 36px;
    color: white;
}

.about-us-title {
    color: var(--primary-text);
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 16px 0;
}

.about-us-description {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.about-us-images {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.about-us-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.about-us-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-us-image-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.about-us-image-placeholder i {
    font-size: 32px;
    color: white;
}

.about-us-image-label {
    font-size: 12px;
    color: var(--secondary-text);
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.about-us-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.about-us-stat-item {
    text-align: center;
    flex: 0 0 auto;
}

.about-us-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-us-stat-label {
    font-size: 12px;
    color: var(--secondary-text);
    font-weight: 500;
}

/* Become Seller Modal Styling */
.become-seller-content {
    text-align: center;
    padding: 0;
}

.become-seller-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.become-seller-icon i {
    font-size: 32px;
    color: white;
}

.become-seller-title {
    color: var(--primary-text);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.become-seller-description {
    color: var(--secondary-text);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.become-seller-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.become-seller-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 10px;
}

.become-seller-benefit-item i {
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.become-seller-benefit-item span {
    color: var(--primary-text);
    font-size: 13px;
    font-weight: 500;
}

.become-seller-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.become-seller-contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 10px;
}

.become-seller-contact-title i {
    color: var(--accent);
    font-size: 18px;
}

.become-seller-contact-description {
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.become-seller-contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.become-seller-contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--card-background);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.become-seller-contact-option:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.become-seller-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.become-seller-contact-info {
    flex: 1;
    text-align: left;
}

.become-seller-contact-label {
    font-size: 11px;
    color: var(--secondary-text);
    margin-bottom: 3px;
}

.become-seller-contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
}

/* Settings Card */
.settings-card {
    background: var(--card-background);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.settings-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.settings-card-info {
    flex: 1;
}

.settings-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 4px;
}

.settings-card-subtitle {
    font-size: 14px;
    color: var(--secondary-text);
}

/* Specific styling for Notification Types Card to stack items vertically */
#notificationTypesCard {
    display: flex; /* Ensure it's a flex container */
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Stretch children to fill width */
    gap: 0; /* Reset gap from .settings-card, children will manage their own spacing */
    padding: 16px 20px; /* Adjust padding for internal list */
}

/* Settings Section */
.settings-section {
    background: var(--card-background);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
}

.settings-section-header {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    padding: 2px 0;
    margin: 0 0 6px 0;
    text-align: left;
}

.settings-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 16px;
}

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 0;
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    cursor: pointer;
}

.settings-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.settings-list-item.destructive {
    background: rgba(255, 107, 157, 0.05);
}

.settings-list-item.destructive:hover {
    background: rgba(255, 107, 157, 0.1);
}

.settings-list-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.settings-list-item.disabled .settings-switch input {
    cursor: not-allowed;
}

.settings-list-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.settings-list-info {
    flex: 1;
}

.settings-list-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: 0;
    text-align: left;
}

.settings-list-subtitle {
    font-size: 13px;
    color: var(--secondary-text);
}

/* Settings Divider */
.settings-divider {
    height: 1px;
    background: rgba(160, 160, 160, 0.2);
    margin: 16px 0;
}

/* Settings Switch (iOS-style toggle) */
.settings-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: 0.3s;
}

.settings-switch-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.settings-switch input:checked + .settings-switch-slider {
    background-color: var(--accent);
}

.settings-switch input:checked + .settings-switch-slider:before {
    transform: translateX(22px);
}

/* Settings Info Box */
.settings-info-box {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
}

.settings-info-box i {
    color: #2196F3;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.settings-info-box span {
    color: #1976D2;
    font-size: 14px;
    line-height: 1.5;
}

/* ==================== LANGUAGE SELECTION (Flutter Tasarımı) ==================== */

/* Language Description Box (Flutter'daki gibi) */
.language-description-box {
    width: 100%;
    padding: 20px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 16px;
    text-align: center;
    margin-bottom: 32px;
}

.language-description-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-description-icon i {
    font-size: 40px;
    color: var(--accent);
}

.language-description-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.language-description-text {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.4;
}

/* Language Section Title */
.language-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 16px;
}

/* Language List Container (Flutter'daki gibi) */
.language-list-container {
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Border radius için */
    margin-bottom: 32px;
    display: flex;
    flex-direction: column; /* Tüm dillerin görünmesi için */
}

.language-item-wrapper {
    border-bottom: 1px solid rgba(160, 160, 160, 0.2);
    display: block; /* Her dilin görünmesi için */
    width: 100%;
    flex-shrink: 0; /* Her dilin tam görünmesi için */
}

.language-item-wrapper:last-child {
    border-bottom: none;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0;
}

.language-item:hover:not(.disabled) {
    background: rgba(108, 99, 255, 0.05);
}

.language-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.language-flag-box {
    width: 40px;
    height: 40px;
    background: rgba(160, 160, 160, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.language-flag-emoji {
    font-size: 20px;
}

.language-info {
    flex: 1;
}

.language-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-item.disabled .language-name {
    color: var(--secondary-text);
}

.language-badge-coming {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(160, 160, 160, 0.2);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--secondary-text);
}

.language-native {
    font-size: 14px;
    color: var(--secondary-text);
}

/* Language Selection Indicator (Flutter'daki gibi) */
.language-selection-indicator {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-check-circle {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-check-circle i {
    color: white;
    font-size: 16px;
}

.language-empty-circle {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(160, 160, 160, 0.5);
    border-radius: 50%;
}

.language-selection-indicator i.fa-lock-outline {
    color: var(--secondary-text);
    font-size: 20px;
}

/* Language Future Updates Box (Flutter'daki gibi) */
.language-future-updates-box {
    width: 100%;
    padding: 16px;
    background: rgba(160, 160, 160, 0.1);
    border: 1px solid rgba(160, 160, 160, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.language-future-updates-box i {
    color: var(--secondary-text);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.language-future-updates-box span {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.1);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-option:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 2px;
}

.contact-subtitle {
    font-size: 14px;
    color: var(--secondary-text);
}

.contact-option i.fa-arrow-right {
    color: var(--secondary-text);
    font-size: 16px;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .settings-modal-content {
        width: 95%;
        max-width: 95%;
        border-radius: 20px;
    }

    .settings-modal-content.settings-modal-small {
        max-width: 90%;
    }

    /* Orders Modal - Mobile */
    #ordersModal .settings-modal-content {
        max-height: 95vh !important;
        height: 95vh;
        max-width: 95%;
        width: 95%;
        margin: auto;
    }

    #ordersModal .settings-modal-body {
        flex: 1;
        min-height: 0;
        padding: 16px 20px;
    }

    .settings-modal-content.settings-modal-scrollable {
        max-width: 95%;
        max-height: 90vh;
    }

    .settings-modal-header {
        padding: 16px 20px;
    }

    .settings-modal-header h2 {
        font-size: 18px;
    }

    .settings-modal-body {
        padding: 16px 20px;
    }

    .settings-modal-body.settings-modal-body-scrollable {
        padding: 16px 20px;
        max-height: calc(90vh - 70px);
    }

    #becomeSellerModal .settings-modal-content.settings-modal-scrollable {
        max-width: 95%;
        max-height: 92vh;
    }

    #becomeSellerModal .settings-modal-body.settings-modal-body-scrollable {
        padding: 14px 18px;
        max-height: calc(92vh - 70px);
    }

    .privacy-policy-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .profile-edit-info-box {
        padding: 12px;
        margin-bottom: 16px;
    }

    .profile-edit-info-box i {
        font-size: 18px;
    }

    .profile-edit-info-box span {
        font-size: 13px;
    }

    .profile-edit-field {
        margin-bottom: 14px;
    }

    .profile-edit-input,
    .profile-edit-select {
        padding: 12px 14px;
        font-size: 15px;
    }

    .about-us-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }

    .about-us-icon i {
        font-size: 32px;
    }

    .about-us-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .about-us-description {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .about-us-images {
        gap: 12px;
        margin-top: 24px;
    }

    .about-us-image-placeholder {
        width: 85px;
        height: 85px;
        border-radius: 14px;
    }

    .about-us-image-placeholder i {
        font-size: 28px;
    }

    .about-us-image-label {
        font-size: 11px;
    }

    .about-us-stats {
        gap: 20px;
        margin-top: 24px;
        padding-top: 20px;
    }

    .about-us-stat-number {
        font-size: 18px;
    }

    .about-us-stat-label {
        font-size: 11px;
    }

    .become-seller-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .become-seller-icon i {
        font-size: 28px;
    }

    .become-seller-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .become-seller-description {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .become-seller-benefits {
        gap: 8px;
        margin-bottom: 20px;
    }

    .become-seller-benefit-item {
        padding: 8px;
    }

    .become-seller-benefit-item i {
        font-size: 14px;
    }

    .become-seller-benefit-item span {
        font-size: 12px;
    }

    .become-seller-contact {
        margin-top: 20px;
        padding-top: 16px;
    }

    .become-seller-contact-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .become-seller-contact-title i {
        font-size: 16px;
    }

    .become-seller-contact-description {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .become-seller-contact-options {
        gap: 8px;
    }

    .become-seller-contact-option {
        padding: 12px;
    }

    .become-seller-contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .become-seller-contact-label {
        font-size: 10px;
    }

    .become-seller-contact-value {
        font-size: 13px;
    }

    .become-seller-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 10px;
    }

    .become-seller-icon i {
        font-size: 26px;
    }

    .become-seller-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .become-seller-description {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .become-seller-benefits {
        gap: 6px;
        margin-bottom: 16px;
    }

    .become-seller-benefit-item {
        padding: 6px;
    }

    .become-seller-benefit-item i {
        font-size: 13px;
    }

    .become-seller-benefit-item span {
        font-size: 11px;
    }

    .become-seller-contact {
        margin-top: 16px;
        padding-top: 14px;
    }

    .become-seller-contact-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .become-seller-contact-title i {
        font-size: 15px;
    }

    .become-seller-contact-description {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .become-seller-contact-options {
        gap: 6px;
    }

    .become-seller-contact-option {
        padding: 10px;
    }

    .become-seller-contact-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .become-seller-contact-label {
        font-size: 9px;
    }

    .become-seller-contact-value {
        font-size: 12px;
    }

    .settings-card {
        padding: 16px;
    }

    .settings-section {
        padding: 16px;
    }

    /* About App Modal - Mobile */
    .about-app-icon img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 10px;
    }

    .about-app-title {
        font-size: 18px;
        margin: 12px 0 6px 0;
    }

    .app-version {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .app-description {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .settings-modal-content.settings-modal-small {
        max-width: 95%;
    }

    .settings-modal-content.settings-modal-scrollable {
        max-width: 98%;
        max-height: 92vh;
    }

    .settings-modal-body.settings-modal-body-scrollable {
        padding: 12px 16px;
        max-height: calc(92vh - 65px);
    }

    /* Orders Modal - Small Mobile */
    #ordersModal .settings-modal-content {
        max-height: 98vh !important;
        height: 98vh;
        max-width: 98%;
        width: 98%;
        margin: auto;
    }

    #ordersModal .settings-modal-body {
        flex: 1;
        min-height: 0;
        padding: 12px 16px;
    }

    #becomeSellerModal .settings-modal-content.settings-modal-scrollable {
        max-width: 98%;
        max-height: 94vh;
    }

    #becomeSellerModal .settings-modal-body.settings-modal-body-scrollable {
        padding: 12px 14px;
        max-height: calc(94vh - 65px);
    }

    .privacy-policy-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .profile-edit-info-box {
        padding: 10px;
        margin-bottom: 12px;
    }

    .profile-edit-info-box i {
        font-size: 16px;
    }

    .profile-edit-info-box span {
        font-size: 12px;
    }

    .profile-edit-field {
        margin-bottom: 12px;
    }

    .profile-edit-input,
    .profile-edit-select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .about-us-stats {
        gap: 16px;
        margin-top: 20px;
        padding-top: 16px;
        flex-wrap: wrap;
    }

    .about-us-stat-number {
        font-size: 16px;
    }

    .about-us-stat-label {
        font-size: 10px;
    }

    /* About App Modal - Small Mobile */
    .about-app-icon {
        margin: 0 auto 12px auto;
    }

    .about-app-icon img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        border-radius: 10px;
    }

    .about-app-title {
        font-size: 16px;
        margin: 10px 0 4px 0;
    }

    .app-version {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .app-description {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
}

/* ==================== FEEDBACK MODAL ==================== */

/* Feedback Description Box */
.feedback-description {
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.feedback-description i {
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.feedback-description p {
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.5;
    margin: 0;
}

/* Feedback Form */
.feedback-form-group {
    margin-bottom: 20px;
}

.feedback-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.feedback-input-wrapper {
    background: var(--card-background);
    border-radius: 12px;
    border: 2px solid rgba(160, 160, 160, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    transition: all 0.3s;
}

.feedback-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.15);
}

.feedback-input-wrapper i {
    font-size: 18px;
    color: var(--light-gray);
    flex-shrink: 0;
    margin-top: 4px;
}

.feedback-input-wrapper input,
.feedback-input-wrapper textarea {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--primary-text);
    background: transparent;
    font-family: inherit;
    resize: none;
}

.feedback-input-wrapper input::placeholder,
.feedback-input-wrapper textarea::placeholder {
    color: var(--light-gray);
}

/* Character Count */
.feedback-char-count {
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 6px;
    text-align: right;
}

/* Submit Button */
.feedback-submit-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--gradient-accent-start), var(--gradient-accent-end));
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    margin-top: 32px;
}

.feedback-submit-btn:disabled {
    background: rgba(160, 160, 160, 0.3);
    box-shadow: none;
    cursor: not-allowed;
}

.feedback-submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.4);
}

.feedback-submit-btn i {
    font-size: 18px;
}

/* Login Required State */
.feedback-login-required {
    text-align: center;
    padding: 40px 20px;
}

.feedback-login-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-login-icon i {
    font-size: 60px;
    color: rgba(108, 99, 255, 0.7);
}

.feedback-login-required h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0 0 8px 0;
}

.feedback-login-required p {
    font-size: 16px;
    color: var(--light-gray);
    line-height: 1.5;
    margin: 0 0 32px 0;
}

.feedback-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.feedback-login-btn:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.feedback-signup-link {
    display: block;
    margin-top: 16px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.feedback-signup-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feedback-description {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }

    .feedback-description i {
        margin: 0 auto;
    }

    .feedback-label {
        font-size: 15px;
    }

    .feedback-input-wrapper {
        padding: 10px 14px;
    }

    .feedback-submit-btn {
        height: 52px;
        font-size: 15px;
    }

    .feedback-login-required h3 {
        font-size: 20px;
    }

    .feedback-login-required p {
        font-size: 14px;
    }
}

/* ==================== ADD TO CART BUTTON ==================== */

.add-to-cart-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #6C63FF, #FF69B4);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* Cart badge styles - REMOVED (using header-actions .badge instead) */

/* ==================== RESPONSIVE PRODUCT GRIDS ==================== */

/* Flash Sale Products Grid - Responsive */
@media (max-width: 1024px) {
    .products-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

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

/* Today's Products Grid - Responsive */
#todaysProducts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) {
    #todaysProducts {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    #todaysProducts {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    #todaysProducts {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

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

/* Product Card Responsive Adjustments */
@media (max-width: 768px) {
    .product-card {
        min-height: 360px;
    }

    .product-info {
        padding: 8px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-price .current-price {
        font-size: 18px;
    }

    .product-price .original-price {
        font-size: 10px;
    }

    .free-shipping-badge {
        font-size: 9px;
        padding: 3px 6px;
    }

    .product-rating {
        font-size: 12px;
    }

    .product-rating .stars i {
        font-size: 11px;
    }

    .product-rating .rating-score {
        font-size: 11px;
    }

    .product-rating .rating-count {
        font-size: 9px;
    }
}

/* Header Responsive */
@media (max-width: 768px) {
    .header-main .logo span {
        display: none;
    }

    .search-bar {
        flex: 1;
    }

    .location-dropdown {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
    }
}

/* ==================== NOTIFICATION DROPDOWN ==================== */

.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E5E5;
}

.notification-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.notification-actions {
    display: flex;
    gap: 8px;
}

.mark-all-read-btn,
.delete-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mark-all-read-btn:hover {
    background: var(--accent);
    color: white;
}

.delete-all-btn {
    border-color: #FF6B6B;
    color: #FF6B6B;
}

.delete-all-btn:hover {
    background: #FF6B6B;
    color: white;
}

.mark-all-read-btn i,
.delete-all-btn i {
    font-size: 13px;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 440px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #F5F5F5;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background: #F8F9FA;
}

.notification-item.unread {
    background: rgba(108, 99, 255, 0.03);
}

.notification-item.unread:hover {
    background: rgba(108, 99, 255, 0.06);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 18px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-body {
    font-size: 13px;
    color: var(--light-gray);
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 11px;
    color: var(--light-gray);
    font-weight: 500;
}

.notification-dot {
    position: absolute;
    top: 22px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.notification-empty i {
    font-size: 48px;
    color: #E5E5E5;
    margin-bottom: 16px;
}

.notification-empty p {
    font-size: 14px;
    color: var(--light-gray);
    margin: 0;
}

/* Notification Badge - REMOVED (consolidated in main badge styles above) */

/* Notification Dropdown Responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 70vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .notification-dropdown.show {
        transform: translateY(0);
    }

    .notification-header h3 {
        font-size: 16px;
    }

    .notification-actions {
        gap: 6px;
    }

    .mark-all-read-btn,
    .delete-all-btn {
        font-size: 11px;
        padding: 5px 8px;
        gap: 4px;
    }

    .mark-all-read-btn i,
    .delete-all-btn i {
        font-size: 11px;
    }

    .notification-item {
        padding: 12px 16px;
    }

    .notification-icon {
        width: 36px;
        height: 36px;
    }

    .notification-icon i {
        font-size: 16px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-body {
        font-size: 12px;
    }
}

/* ==================== SPECIAL OFFERS DROPDOWN ==================== */

.special-offers-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 420px;
    max-height: 580px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.special-offers-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Special Offers Header Icon (Flutter'daki gibi) */
.special-offers-header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.special-offers-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.special-offers-icon-circle i {
    font-size: 30px;
    color: var(--accent);
}

.special-offers-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0;
    text-align: center;
}

/* Special Offers List */
.special-offers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.special-offers-list::-webkit-scrollbar {
    width: 6px;
}

.special-offers-list::-webkit-scrollbar-track {
    background: #F5F5F5;
}

.special-offers-list::-webkit-scrollbar-thumb {
    background: #D0D0D0;
    border-radius: 3px;
}

/* Coupon Card (Flutter'daki gibi) */
.coupon-card {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 105, 180, 0.1));
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.coupon-card:last-child {
    margin-bottom: 0;
}

/* Coupon Card Header (Flutter'daki gibi) */
.coupon-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.coupon-discount-badge {
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.coupon-special-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(156, 39, 176, 0.1);
    border: 1px solid rgba(156, 39, 176, 0.2);
    border-radius: 8px;
}

.coupon-special-badge i {
    font-size: 12px;
    color: rgba(156, 39, 176, 0.7);
}

.coupon-special-badge span {
    font-size: 10px;
    font-weight: 700;
    color: rgba(156, 39, 176, 0.7);
}

.coupon-expiry {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    color: var(--secondary-text);
    font-size: 12px;
}

.coupon-expiry i {
    font-size: 14px;
}

/* Coupon Title & Description (Flutter'daki gibi) */
.coupon-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.coupon-description {
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.coupon-min-purchase {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 6px;
    color: rgba(255, 152, 0, 0.8);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Coupon Code Container (Flutter'daki gibi) */
.coupon-code-container {
    width: 100%;
    padding: 12px;
    background: var(--card-background);
    border-radius: 8px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.coupon-code-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coupon-code-label {
    font-size: 12px;
    color: var(--secondary-text);
}

.coupon-code-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Courier New', monospace;
}

.coupon-copy-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    min-width: 36px;
    height: 36px;
}

.coupon-copy-btn:hover {
    background: #5a51e6;
    transform: scale(1.05);
}

.coupon-copy-btn i {
    font-size: 16px;
}

/* Special Offers Loading State */
.special-offers-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.special-offers-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(108, 99, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.special-offers-loading p {
    color: var(--secondary-text);
    font-size: 14px;
}

/* Special Offers Error State */
.special-offers-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.special-offers-error i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 16px;
}

.special-offers-error p {
    color: var(--primary-text);
    font-size: 16px;
}

/* Empty State (Flutter'daki gibi) */
.special-offers-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.special-offers-empty i {
    font-size: 48px;
    color: var(--secondary-text);
    margin-bottom: 16px;
}

.special-offers-empty p {
    font-size: 16px;
    color: var(--primary-text);
    margin: 0 0 8px 0;
    font-weight: 500;
}

.special-offers-empty small {
    font-size: 14px;
    color: var(--secondary-text);
}

/* Special Offers Info Box (Flutter'daki gibi - mavi arka planlı) */
.special-offers-info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    margin-top: 16px;
    margin-bottom: 0;
}

.special-offers-info-box i {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.special-offers-info-box span {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
}

/* Duplicate stiller kaldırıldı - yukarıda zaten tanımlı */

.special-offers-error i {
    font-size: 48px;
    color: #FF6B6B;
    margin-bottom: 16px;
}

.special-offers-error p {
    font-size: 15px;
    color: var(--primary-text);
    margin: 0;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .special-offers-dropdown {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .special-offers-dropdown.show {
        transform: translateY(0);
    }

    .special-offers-header {
        padding: 20px;
    }

    .special-offers-list {
        padding: 12px 20px;
    }

    .special-offer-card {
        padding: 14px;
    }

    .offer-title {
        font-size: 15px;
    }

    .offer-description {
        font-size: 13px;
    }

    .offer-code {
        font-size: 14px;
    }

    .copy-code-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}
/* ==================== BILLING ADDRESS STYLES ==================== */

/* Address List */
.address-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

/* Address Item */
.address-item {
    background: var(--card-background);
    border: 1px solid rgba(160, 160, 160, 0.1);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.address-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Address Header */
.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.address-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0;
}

/* Address Actions */
.address-actions {
    display: flex;
    gap: 8px;
}

.edit-address-btn,
.delete-address-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--secondary-text);
    transition: all 0.3s ease;
}

.edit-address-btn:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
}

.delete-address-btn:hover {
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary-pink);
}

/* Address Details */
.address-details {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.5;
}

.address-details p {
    margin: 4px 0;
    color: var(--primary-text);
}

.address-details p:first-child {
    font-weight: 500;
    color: var(--primary-text);
}

/* Add New Address Button */
.add-new-address-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.add-new-address-btn:hover {
    background: #5a52e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* Address Empty State */
.address-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--secondary-text);
}

.address-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--light-gray);
    display: block;
}

.address-empty p {
    font-size: 16px;
    margin: 8px 0;
    color: var(--primary-text);
}

.address-empty small {
    font-size: 14px;
    color: var(--secondary-text);
}
/* Address Form Section */
#addressFormSection {
    background: var(--background-color);
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
}

#addressFormSection .auth-input-wrapper {
    margin-bottom: 16px;
}

#addressFormSection .auth-input-wrapper:last-child {
    margin-bottom: 0;
}

/* Form buttons */
#addressFormSection .auth-button {
    width: 100%;
}

#addressFormSection .secondary-button {
    background: var(--background-color);
    border: 1px solid rgba(160, 160, 160, 0.3);
    color: var(--primary-text);
}

#addressFormSection .secondary-button:hover {
    background: rgba(160, 160, 160, 0.1);
}
/* Loading state for addresses */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--secondary-text);
}

.loading-state .loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(160, 160, 160, 0.2);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Billing Address Bottom Bar */
.billing-bottom-bar {
    padding: 20px;
    background: var(--card-background);
    box-shadow: 0 -5px 15px rgba(160, 160, 160, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 24px 24px;
}

.billing-bottom-bar .proceed-button {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

/* Checkbox styling for corporate toggle */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.checkbox-label input {
    opacity: 0;
    cursor: pointer;
    position: absolute;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    background-color: var(--card-background);
    border: 2px solid var(--secondary-text);
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.3s;
}

.checkbox-label:hover .checkbox-custom {
    background-color: rgba(108, 99, 255, 0.1);
}

.checkbox-label input:checked ~ .checkbox-custom {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkbox-custom:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkbox-custom:after {
    display: block;
}

.checkbox-text {
    color: var(--primary-text);
}

/* Expanded address details */
.address-details-expanded {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(160, 160, 160, 0.3);
}

.address-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

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

.address-detail-icon {
    font-size: 16px;
    color: var(--secondary-text);
    margin-right: 8px;
    margin-top: 2px;
}

.address-detail-content {
    flex: 1;
}

.address-detail-label {
    font-size: 12px;
    color: var(--secondary-text);
    margin-bottom: 2px;
}

.address-detail-value {
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.2;
}

/* Address type indicator */
.address-type-indicator {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: bold;
    margin-left: 4px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--accent);
}

/* Default address indicator */
.default-address-tag {
    padding: 2px 6px;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border-radius: 6px;
    font-size: 9px;
    font-weight: bold;
    margin-left: 4px;
}

/* Selected address styling */
.address-item.selected {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

/* Expandable section */
.address-expand-btn {
    background: none;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.address-expand-btn:hover {
    background: rgba(160, 160, 160, 0.1);
}

/* Corporate vs personal indicator */
.personal-indicator {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
}

.corporate-indicator {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

/* ===================================
   Billing Address Modal Styles
   =================================== */

/* Make the address list a grid */
#billingAddressesList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* The address card itself */
.address-card {
    background: var(--card-background);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.2);
    border-color: var(--accent);
}

/* Card Header */
.address-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.address-card__title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-card__icon {
    font-size: 20px;
    color: var(--accent);
}

.address-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0;
}

/* Action Buttons in Header */
.address-card__actions {
    display: flex;
    gap: 8px;
}

.address-card__action-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    transition: all 0.2s;
}

.address-card__action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent);
}

.address-card__action-btn .fa-trash:hover {
    color: #dc3545;
}

/* Card Body */
.address-card__body {
    padding: 16px;
    flex-grow: 1;
}

.address-card__line {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.address-card__line--name {
    font-weight: 600;
    color: var(--primary-text);
    font-size: 16px;
    margin-bottom: 12px;
}

.address-card__line i {
    margin-right: 8px;
    color: var(--light-gray);
}

/* Card Footer */
.address-card__footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 45px; /* Ensure consistent height */
}

.address-card__default-badge {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.address-card__default-badge--hidden {
    display: none;
}

/* Responsive adjustments for address cards */
@media (max-width: 768px) {
    #billingAddressesList {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .address-card__title {
        font-size: 16px;
    }

    .address-card__header,
    .address-card__body,
    .address-card__footer {
        padding: 12px;
    }
}/* ==================== TOAST NOTIFICATIONS ==================== */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--card-background);
    color: var(--primary-text);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    min-width: 300px;
    max-width: 90%;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast-info {
    border-left: 4px solid var(--accent);
}

.toast-info .toast-icon {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Toast */
@media (max-width: 768px) {
    .toast {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(-100px);
        min-width: auto;
        max-width: none;
    }

    .toast.show {
        transform: translateY(0);
    }
}

/* Settings list item clickable */
.setting-item-clickable {
    cursor: pointer;
    transition: background-color 0.3s;
}

.setting-item-clickable:hover {
    background-color: rgba(160, 160, 160, 0.05);
}

/* ==================== BILLING ADDRESS MODAL (Flutter tasarımına göre) ==================== */

/* Billing Loading State */
.billing-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.billing-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(108, 99, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.billing-loading p {
    color: var(--secondary-text);
    font-size: 14px;
}

/* Billing Empty State (Flutter'daki gibi) */
.billing-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.billing-empty-icon {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.billing-empty-icon i {
    font-size: 60px;
    color: var(--accent);
}

.billing-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0 0 12px 0;
}

.billing-empty p {
    font-size: 16px;
    color: var(--secondary-text);
    line-height: 1.4;
    margin: 0 0 32px 0;
}

.billing-add-first-btn {
    width: 100%;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.billing-add-first-btn:hover {
    background: #5a51e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* Billing Address List View */
.billing-address-list-view {
    display: block;
}

.billing-description {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 24px 0;
}

.billing-addresses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Billing Address Card (Flutter'daki gibi) */
.billing-address-card {
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    overflow: hidden;
}

.billing-address-card.selected {
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.billing-address-card-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.billing-address-card-header:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.billing-address-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.billing-address-icon-box i {
    font-size: 18px;
    color: var(--accent);
}

.billing-address-info {
    flex: 1;
    min-width: 0;
}

.billing-address-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.billing-address-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-text);
}

.billing-address-default-badge {
    padding: 2px 6px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    color: #10b981;
}

.billing-address-subtitle {
    font-size: 13px;
    color: var(--secondary-text);
    margin-bottom: 2px;
}

.billing-address-location {
    font-size: 11px;
    color: var(--secondary-text);
}

.billing-address-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.billing-address-expand-btn,
.billing-address-edit-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    transition: all 0.2s;
    padding: 0;
}

.billing-address-expand-btn:hover,
.billing-address-edit-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-text);
}

.billing-address-expand-btn i,
.billing-address-edit-btn i {
    font-size: 18px;
}

.billing-address-radio {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.billing-address-radio .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.billing-address-radio input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent);
}

.billing-address-radio input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

/* Billing Address Details (Expanded - Flutter tasarımına göre) */
.billing-address-details {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(160, 160, 160, 0.3);
}

.billing-address-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.billing-address-detail-item:last-child {
    margin-bottom: 0;
}

/* Icon (Flutter'daki gibi - 16px, lightGray, top aligned) */
.billing-address-detail-item i {
    font-size: 16px;
    color: var(--secondary-text);
    margin-top: 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 2px; /* Flutter'daki crossAxisAlignment: CrossAxisAlignment.start için */
}

/* Content wrapper (Flutter'daki Expanded Column gibi) */
.billing-address-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0; /* Text overflow için */
    align-items: flex-start;
}

/* Label (Flutter'daki gibi - 12px, lightGray) */
.billing-address-detail-label {
    font-size: 12px;
    color: var(--secondary-text);
    margin-bottom: 0;
    line-height: 1.4;
    display: block;
}

/* Value (Flutter'daki gibi - 14px, primaryText, line-height: 1.2) */
.billing-address-detail-value {
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.2;
    margin-top: 0;
    word-wrap: break-word;
    white-space: pre-line; /* \n karakterlerini düzgün göster */
    display: block;
}

/* Billing Add New Button */
.billing-add-new-btn {
    width: 100%;
    height: 50px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.billing-add-new-btn:hover {
    background: rgba(108, 99, 255, 0.05);
    transform: translateY(-2px);
}

.billing-add-new-btn i {
    font-size: 20px;
}

/* Responsive Billing */
@media (max-width: 768px) {
    .billing-empty-icon {
        width: 100px;
        height: 100px;
    }

    .billing-empty-icon i {
        font-size: 50px;
    }

    .billing-empty h3 {
        font-size: 18px;
    }

    .billing-empty p {
        font-size: 14px;
    }
}

/* ==================== BILLING ADDRESS FORM (Flutter tasarımına göre) ==================== */

.billing-address-form-view {
    display: block;
}

/* Form Type Header (Flutter'daki gibi) */
.billing-form-type-header {
    width: 100%;
    padding: 16px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.billing-form-type-header i {
    font-size: 24px;
    color: var(--accent);
}

.billing-form-type-header span {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
}

/* Form Section */
.billing-form-section {
    margin-bottom: 20px;
}

.billing-form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 8px;
}

/* Address Title Selector (Flutter'daki gibi - chip style) */
.billing-address-title-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.address-title-chip {
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    background: rgba(160, 160, 160, 0.1);
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.address-title-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.address-title-chip i {
    font-size: 16px;
}

.address-title-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Input Wrapper */
.billing-form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    padding: 0 16px;
    transition: all 0.2s;
}

.billing-form-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.1);
}

.billing-form-input-wrapper i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    flex-shrink: 0;
}

.billing-form-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 0;
    font-size: 16px;
    color: var(--primary-text);
    background: transparent;
}

.billing-form-input-wrapper input::placeholder {
    color: var(--secondary-text);
}

/* Form Textarea Wrapper */
.billing-form-textarea-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    padding: 16px;
    transition: all 0.2s;
}

.billing-form-textarea-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.1);
}

.billing-form-textarea-wrapper i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.billing-form-textarea-wrapper textarea {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--primary-text);
    background: transparent;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.billing-form-textarea-wrapper textarea::placeholder {
    color: var(--secondary-text);
}

/* Form Select Wrapper */
.billing-form-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    padding: 0 16px;
    transition: all 0.2s;
}

.billing-form-select-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.1);
}

.billing-form-select-wrapper i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    flex-shrink: 0;
}

.billing-form-select-wrapper select {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 0;
    font-size: 16px;
    color: var(--primary-text);
    background: transparent;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A0A0A0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Form Row and Col (Flutter'daki gibi - yan yana) */
.billing-form-row {
    display: flex;
    gap: 16px;
}

.billing-form-col {
    flex: 1;
}

/* Customer Type Toggle (Flutter'daki gibi - iki butonlu) */
.billing-customer-type-toggle {
    display: flex;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    overflow: hidden;
}

.customer-type-btn {
    flex: 1;
    padding: 16px;
    border: none;
    background: transparent;
    color: var(--secondary-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.customer-type-btn.active {
    background: var(--accent);
    color: white;
}

.customer-type-btn i {
    font-size: 20px;
}

.customer-type-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.02);
}

/* Default Address Switch (Flutter'daki gibi) */
.billing-form-default-switch {
    padding: 16px;
    background: rgba(160, 160, 160, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.billing-form-default-switch-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.billing-form-default-switch-content i {
    font-size: 20px;
    color: var(--accent);
}

.billing-form-default-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 2px;
}

.billing-form-default-subtitle {
    font-size: 14px;
    color: var(--secondary-text);
}

/* Custom Switch (Flutter'daki gibi) */
.billing-form-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.billing-form-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-form-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(160, 160, 160, 0.3);
    transition: 0.3s;
    border-radius: 28px;
}

.billing-form-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.billing-form-switch input:checked + .billing-form-switch-slider {
    background-color: var(--accent);
}

.billing-form-switch input:checked + .billing-form-switch-slider:before {
    transform: translateX(20px);
}

/* Form Actions (Flutter'daki gibi - yan yana) */
.billing-form-actions {
    display: flex;
    gap: 16px;
}

.billing-form-submit-btn,
.billing-form-delete-btn {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.billing-form-submit-btn {
    background: var(--accent);
    color: white;
}

.billing-form-submit-btn:hover:not(:disabled) {
    background: #5a51e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.billing-form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.billing-form-delete-btn {
    background: #ef4444;
    color: white;
}

.billing-form-delete-btn:hover:not(:disabled) {
    background: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.billing-form-delete-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.billing-form-submit-btn i,
.billing-form-delete-btn i {
    font-size: 18px;
}

/* Responsive Form */
@media (max-width: 768px) {
    .billing-form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .billing-form-actions {
        flex-direction: column;
    }
    
    .billing-form-submit-btn,
    .billing-form-delete-btn {
        width: 100%;
    }
}

.setting-item-clickable:hover .settings-list-title {
    color: var(--accent);
}

/* ==================== ORDERS MODAL (Flutter tasarımına göre) ==================== */

/* Orders Loading State */
.orders-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.orders-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(108, 99, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.orders-loading p {
    color: var(--secondary-text);
    font-size: 14px;
}

/* Orders Empty State (Flutter'daki gibi) */
.orders-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.orders-empty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.orders-empty-icon i {
    font-size: 64px;
    color: var(--secondary-text);
}

.orders-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0 0 8px 0;
}

.orders-empty p {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0;
}

/* ==================== FAVORITES MODAL ==================== */

/* Favorites Loading */
.favorites-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.favorites-loading p {
    color: var(--secondary-text);
    font-size: 14px;
}

/* Favorites Empty State */
.favorites-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.favorites-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 107, 157, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.favorites-empty-icon i {
    font-size: 36px;
    color: #FF6B9D;
}

.favorites-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0 0 8px 0;
}

.favorites-empty p {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0 0 20px 0;
}

.favorites-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.favorites-explore-btn:hover {
    background: #5a51e6;
    transform: translateY(-2px);
}

/* Favorites List View */
.favorites-list-view {
    display: block;
}

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Favorite Item Card */
.favorite-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.favorite-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.favorite-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.favorite-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-item-info {
    flex: 1;
    min-width: 0;
}

.favorite-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-item-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.favorite-item-price .original-price {
    font-size: 12px;
    color: var(--secondary-text);
    text-decoration: line-through;
}

.favorite-item-price .discount-price {
    font-size: 14px;
    font-weight: 700;
    color: #FF6B9D;
}

.favorite-item-price .current-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.favorite-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-remove-btn,
.favorite-view-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-remove-btn {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.favorite-remove-btn:hover {
    background: rgba(255, 68, 68, 0.2);
}

.favorite-view-btn {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
    text-decoration: none;
}

.favorite-view-btn:hover {
    background: rgba(108, 99, 255, 0.2);
}

/* Orders List View */
.orders-list-view {
    display: block;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Order Card (Flutter tasarımına göre) */
.order-card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

/* Flutter'daki InkWell - tıklanabilir alan */
.order-card-clickable-area {
    cursor: pointer;
    padding: 16px;
}

/* Order header - Row with orderId and status chip (Flutter'daki gibi) */
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-card-id {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-text);
}

.order-status-chip {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

/* Order date and amount - Row (Flutter'daki gibi) */
.order-card-date-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-card-date {
    font-size: 14px;
    color: var(--secondary-text);
}

.order-card-amount {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
}

/* Items preview - Text (Flutter'daki gibi) */
.order-card-items-count {
    font-size: 14px;
    color: var(--secondary-text);
}

/* Cancellation Reason (Flutter'daki gibi) */
.order-cancellation-reason {
    margin-top: 8px;
    padding: 8px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.order-cancellation-reason i {
    color: #d32f2f;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.order-cancellation-reason span {
    color: #d32f2f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* Order Action Buttons (Flutter'daki _buildActionButtons) */
.order-action-buttons {
    padding: 12px 16px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.order-action-section {
    width: 100%;
}

.order-action-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.order-action-buttons-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.order-product-image-container {
    position: relative;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(160, 160, 160, 0.3);
    cursor: pointer;
}

.order-product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.order-image-zoom-hint {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.54);
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-image-zoom-hint i {
    font-size: 16px;
    color: white;
}

.order-action-btn {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.order-approve-btn {
    background: #4caf50;
    color: white;
}

.order-approve-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.order-request-changes-btn {
    background: transparent;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.order-request-changes-btn:hover {
    background: rgba(255, 152, 0, 0.1);
}

.order-confirm-delivery-btn {
    width: 100%;
    background: #4caf50;
    color: white;
}

.order-confirm-delivery-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.order-cancel-btn {
    width: 100%;
    background: transparent;
    color: #f44336;
    border: 1px solid #f44336;
}

.order-cancel-btn:hover {
    background: rgba(244, 67, 54, 0.1);
}

/* Order Review Section */
.order-review-section {
    padding: 12px 16px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.order-review-btn {
    width: 100%;
    height: 40px;
    background: transparent;
    color: var(--primary-pink, #e91e63);
    border: 1px solid var(--primary-pink, #e91e63);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.order-review-btn:hover {
    background: rgba(233, 30, 99, 0.1);
}

.order-review-info {
    padding: 16px;
    background: rgba(233, 30, 99, 0.05);
    border: 1px solid rgba(233, 30, 99, 0.3);
    border-radius: 12px;
}

.order-review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.order-review-header i {
    font-size: 18px;
    color: var(--primary-pink, #e91e63);
}

.order-review-header span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-pink, #e91e63);
}

.order-review-ratings {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.order-review-rating-item {
    flex: 1;
}

.order-review-rating-label {
    font-size: 12px;
    color: var(--secondary-text);
    display: block;
    margin-bottom: 8px;
}

.order-review-stars {
    display: flex;
    gap: 4px;
}

.order-review-stars i {
    font-size: 20px;
    color: var(--secondary-text);
}

.order-review-stars i.active {
    color: #ffc107;
}

.order-review-pending {
    margin: 8px 0;
    padding: 6px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-review-pending i {
    font-size: 14px;
    color: #ff9800;
}

.order-review-pending span {
    font-size: 11px;
    color: #f57c00;
}

.order-review-update-btn {
    width: 100%;
    height: 36px;
    margin-top: 12px;
    background: transparent;
    color: var(--primary-pink);
    border: 1px solid rgba(233, 30, 99, 0.5);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.order-review-update-btn:hover {
    background: rgba(233, 30, 99, 0.1);
    transform: translateY(-1px);
}

/* Order Card Footer */
.order-card-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
    display: flex;
    gap: 8px;
}

.order-detail-btn,
.order-review-btn-footer {
    flex: 1;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.order-detail-btn {
    background: var(--accent);
    color: white;
}

.order-detail-btn:hover {
    background: #5a51e6;
    transform: translateY(-1px);
}

.order-review-btn-footer {
    background: transparent;
    color: var(--primary-pink);
    border: 1px solid var(--primary-pink);
}

.order-review-btn-footer:hover {
    background: rgba(255, 107, 157, 0.1);
    transform: translateY(-1px);
}

/* Responsive Orders */
@media (max-width: 768px) {
    .order-action-buttons-row {
        flex-direction: column;
    }
    
    .order-action-btn {
        width: 100%;
    }
    
    .order-card-footer {
        flex-direction: column;
    }
    
    .order-detail-btn,
    .order-review-btn-footer {
        width: 100%;
    }
}

/* General Modal Styles (for order detail and other modals) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--background-color);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 10001;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 24px;
    background: var(--card-background);
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--background-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-size: 18px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(90vh - 100px);
    -webkit-overflow-scrolling: touch;
}

/* Order Detail Modal */
.order-detail-modal .modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
}

.order-detail-content {
    padding: 16px 0;
}

.order-detail-card {
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 16px 16px;
    overflow: hidden;
}

.order-detail-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Order Detail Header (Flutter'daki _buildOrderHeader) */
.order-detail-header-flutter {
    padding: 16px;
}

.order-detail-header-top {
    margin-bottom: 12px;
}

.order-detail-value-large {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-text);
    margin-top: 4px;
}

.order-detail-header-bottom {
    display: flex;
    justify-content: space-between;
}

.order-detail-header-col {
    display: flex;
    flex-direction: column;
}

.order-detail-value-medium {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-top: 4px;
}

.order-detail-amount-large {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-text);
    margin-top: 4px;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: rgba(160, 160, 160, 0.05);
}

.order-detail-label {
    font-size: 12px;
    color: var(--secondary-text);
    margin-bottom: 4px;
}

.order-detail-value {
    font-size: 14px;
    color: var(--primary-text);
    font-weight: 500;
}

.order-detail-amount {
    font-size: 18px;
    color: var(--primary-text);
    font-weight: bold;
}

.order-detail-section-header {
    padding: 16px 16px 8px;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.order-detail-section-header h4 {
    margin: 0;
    color: var(--primary-text);
    font-size: 16px;
    font-weight: bold;
}

/* Order Detail Status (Flutter'daki _buildOrderStatus) */
.order-detail-status-container {
    padding: 16px;
}

.order-detail-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order-countdown-timer {
    display: inline-block;
}

.countdown-active {
    padding: 4px 8px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 12px;
    color: #ff9800;
    font-size: 12px;
    font-weight: 600;
}

.countdown-expired {
    padding: 4px 8px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 12px;
    color: #f44336;
    font-size: 12px;
    font-weight: 600;
}

.order-status-explanation {
    margin-top: 12px;
}

.order-status-explanation-box {
    padding: 12px;
    border-radius: 8px;
    border: 0.5px solid rgba(160, 160, 160, 0.3);
}

.order-status-explanation-text {
    margin: 0 0 6px 0;
    color: var(--primary-text);
    font-size: 13px;
    font-weight: 500;
}

.order-status-action-text {
    margin: 0;
    color: var(--secondary-text);
    font-size: 12px;
}

.order-product-image-section {
    margin-top: 16px;
}

.order-product-image-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.order-product-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(160, 160, 160, 0.3);
}

.order-product-image-detail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.order-detail-status {
    padding: 16px;
}

.status-chip {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.status-chip.pending {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.status-chip.confirmed {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-chip.preparing {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.status-chip.awaitingCustomerApproval {
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63;
}

.status-chip.readyToShip {
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
}

.status-chip.shipping {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.status-chip.delivered {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-chip.completed {
    background: rgba(158, 158, 158, 0.1);
    color: #9e9e9e;
}

.status-chip.cancelled {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.status-chip.refundRequested {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.order-review-section {
    padding: 0 16px 16px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.order-review-section .order-detail-section-header {
    padding: 16px 0 8px;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.order-review-section .order-detail-section-header h4 {
    margin: 0;
    color: var(--primary-text);
    font-size: 16px;
    font-weight: bold;
}

.order-review-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--primary-pink);
    border-radius: 8px;
    background: transparent;
    color: var(--primary-pink);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.order-review-btn:hover {
    background: rgba(233, 30, 99, 0.1);
    transform: translateY(-1px);
}

/* Delivery Info (Flutter'daki _buildDeliveryInfo) */
.order-delivery-info {
    padding: 16px;
}

.order-delivery-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

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

.order-delivery-label {
    flex: 2;
    font-size: 14px;
    color: var(--secondary-text);
    font-weight: normal;
}

.order-delivery-value {
    flex: 3;
    font-size: 14px;
    color: var(--primary-text);
    font-weight: 500;
    text-align: right;
}

.order-delivery-highlighted .order-delivery-value {
    color: var(--primary-pink);
    font-weight: 600;
}

.order-delivery-address {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.order-delivery-value-address {
    font-size: 14px;
    color: var(--primary-text);
    font-weight: 500;
    margin-top: 4px;
    text-align: left;
    word-wrap: break-word;
    white-space: pre-line;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(160, 160, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item-placeholder i {
    color: var(--light-gray);
    font-size: 24px;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 4px;
    font-size: 14px;
}

.order-item-code {
    font-size: 11px;
    color: var(--secondary-text);
    font-family: monospace;
    margin-bottom: 4px;
}

.order-item-quantity {
    font-size: 12px;
    color: var(--secondary-text);
}

.order-item-price {
    font-weight: 600;
    color: var(--primary-text);
    font-size: 14px;
    flex-shrink: 0;
}

.order-empty-state {
    text-align: center;
    padding: 24px;
    color: var(--secondary-text);
}

.order-delivery-info {
    padding: 16px;
}

.order-info-row {
    display: flex;
    margin-bottom: 12px;
}

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

.order-info-label {
    flex: 2;
    color: var(--secondary-text);
    font-size: 14px;
}

.order-info-value {
    flex: 3;
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.address-row .order-info-value {
    text-align: right;
}

.order-pricing-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
}

.pricing-label {
    color: var(--secondary-text);
    font-size: 14px;
}

.pricing-value {
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 500;
}

.pricing-row.discount .pricing-label {
    color: #4caf50;
}

.pricing-row.discount .pricing-value {
    color: #4caf50;
}

.pricing-divider {
    height: 1px;
    background: rgba(160, 160, 160, 0.1);
}

.pricing-row.total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(160, 160, 160, 0.1);
}

.pricing-row.total .pricing-label {
    font-size: 16px;
    font-weight: bold;
}

.pricing-row.total .pricing-value {
    font-size: 16px;
    font-weight: bold;
}

/* Payment Info (Flutter'daki _buildPaymentInfo) */
.order-payment-info {
    padding: 16px;
}

.order-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

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

.order-payment-label {
    font-size: 14px;
    color: var(--secondary-text);
}

.order-payment-value {
    font-size: 14px;
    color: var(--primary-text);
    font-weight: 600;
}

.order-payment-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.order-payment-status.paid {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.order-payment-status.pending,
.order-payment-status.awaitingTransfer {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.order-payment-status.failed {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.order-detail-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* PDF Download Button (Flutter'daki _buildDownloadContractButton) */
.order-download-contract-card {
    padding: 0 !important;
}

.order-download-contract-btn-full {
    width: 100%;
    padding: 16px;
    background: var(--card-background);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.order-download-contract-btn-full:hover {
    background: rgba(108, 99, 255, 0.05);
    border-color: var(--accent);
}

.order-download-contract-btn-full i {
    font-size: 24px;
}

/* Return Request Button (Flutter'daki _buildReturnRequestButton) */
.order-return-request-card {
    padding: 0 !important;
}

.order-return-request-btn {
    width: 100%;
    padding: 16px;
    background: var(--card-background);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 12px;
    color: var(--primary-pink);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.order-return-request-btn:hover {
    background: rgba(255, 107, 157, 0.05);
    border-color: var(--primary-pink);
}

.order-return-request-btn i {
    font-size: 24px;
}

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-1px);
}

/* Review Modal */
.review-modal .modal-content {
    max-width: 500px;
    width: 90%;
}

/* Return Request Dialog (Flutter'daki _showReturnRequestDialog) */
.return-request-modal .modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.return-request-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.return-request-header {
    padding: 20px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.return-request-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.return-request-header-content i {
    font-size: 28px;
    color: var(--primary-pink);
}

.return-request-header-content h3 {
    margin: 0;
    color: var(--primary-text);
    font-size: 20px;
    font-weight: bold;
}

.return-request-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.return-request-info-box {
    padding: 12px;
    background: rgba(255, 107, 157, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.return-request-info-box i {
    color: var(--primary-pink);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.return-request-info-box p {
    margin: 0;
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.return-request-conditions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.return-condition-item h4 {
    margin: 0 0 6px 0;
    color: var(--primary-text);
    font-size: 15px;
    font-weight: bold;
}

.return-condition-item p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.5;
}

.return-request-footer {
    padding: 20px;
    background: var(--background-color);
    border-radius: 0 0 20px 20px;
    flex-shrink: 0;
}

.return-request-footer-title {
    margin: 0 0 16px 0;
    color: var(--primary-text);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.return-request-contact-buttons {
    display: flex;
    gap: 12px;
}

.return-request-contact-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.return-request-phone-btn {
    background: var(--accent);
    color: white;
}

.return-request-phone-btn:hover {
    background: #5a52e6;
    transform: translateY(-1px);
}

.return-request-whatsapp-btn {
    background: #25D366;
    color: white;
}

.return-request-whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

.review-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
}

.review-modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.review-content {
    padding: 16px 0;
}

/* Sipariş bilgisi kartı (Flutter'daki gibi) */
.review-order-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--card-background);
    border-radius: 8px;
    margin-bottom: 24px;
}

.review-order-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.review-order-placeholder {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
}

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

.review-order-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 4px;
}

.review-order-id {
    font-size: 12px;
    color: var(--secondary-text);
}

.review-section {
    padding: 16px;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.review-section:last-child {
    border-bottom: none;
}

.review-section h4 {
    margin: 0 0 16px 0;
    color: var(--primary-text);
    font-size: 16px;
    font-weight: 600;
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.star-rating .star {
    font-size: 24px;
    color: var(--light-gray);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating .star.active {
    color: #ffc107;
}

.star-rating .star:hover {
    color: #ffc107;
}

#reviewComment {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

#reviewComment:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--secondary-text);
    margin-top: 8px;
}

/* Görsel ekleme bölümü (Flutter'daki gibi) */
.review-images-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 8px;
}

.review-image-item {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.review-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-image-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(160, 160, 160, 0.1);
    border: 1px dashed var(--light-gray);
    cursor: pointer;
    transition: all 0.2s;
}

.review-image-add:hover {
    background: rgba(160, 160, 160, 0.2);
    border-color: var(--primary-pink);
}

.review-image-add i {
    font-size: 32px;
    color: var(--primary-pink);
    margin-bottom: 4px;
}

.review-image-add span {
    font-size: 10px;
    color: var(--secondary-text);
    text-align: center;
    line-height: 1.2;
}

.review-image-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: #ff4444;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.review-image-remove:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.review-image-new-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--accent);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

.review-image-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 6px;
    margin-top: 8px;
}

.review-image-info i {
    color: #2196F3;
    font-size: 14px;
}

.review-image-info span {
    color: #1976D2;
    font-size: 11px;
}

/* Bilgilendirme kutusu */
.review-info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 8px;
    margin: 16px 0;
}

.review-info-box i {
    color: var(--primary-pink);
    font-size: 20px;
    flex-shrink: 0;
}

.review-info-box span {
    color: var(--primary-pink);
    font-size: 12px;
    line-height: 1.4;
}

.review-actions {
    padding: 16px;
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #5a51e6;
    transform: translateY(-1px);
}

/* Action arrow styling - Bu stiller genel modal body ile çakışıyor, daha spesifik selector kullan */
.settings-modal-body.specific-modal {
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    overflow: hidden;
}

.settings-modal-content.specific-modal {
    max-height: 70vh;
    overflow: hidden;
}

.settings-message-container {
    max-height: 100px;
    overflow-y: auto;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.action-arrow {
    color: var(--secondary-text);
    margin-left: 8px;
}
