/* Elizi Online - Gul Kurusu Tema */
:root {
    /* Ana Renkler - Gul Kurusu Paleti */
    --primary: #c77d8e;
    --primary-light: #e8b4bc;
    --primary-dark: #9e5a6d;
    --primary-hover: #b56a7d;

    --secondary: #f5e6e8;
    --secondary-dark: #e8d0d4;

    --accent: #d4a5ad;
    --accent-dark: #be8a94;

    /* Notr Renkler */
    --text-dark: #333333;
    --text-muted: #6c757d;
    --text-light: #999999;

    --bg-light: #fdf9fa;
    --bg-white: #ffffff;
    --bg-cream: #faf7f5;

    --border-light: #f0e4e6;
    --border-color: #e8d0d4;

    /* Durum Renkleri */
    --success: #7bb08e;
    --warning: #d4a574;
    --danger: #c77d7d;
    --info: #8eb4c7;

    /* Golgeler */
    --shadow-sm: 0 1px 3px rgba(199, 125, 142, 0.08);
    --shadow-md: 0 4px 12px rgba(199, 125, 142, 0.12);
    --shadow-lg: 0 8px 24px rgba(199, 125, 142, 0.16);

    /* Gecisler */
    --transition: all 0.3s ease;
}

/* Reset ve Temel */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Bootstrap Ozellestirmeleri */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
}

.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary-dark);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--accent);
    color: var(--text-dark);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Header */
.top-bar {
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: white;
}

.navbar-main {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-main .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--primary);
}

.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    width: 80%;
}

/* Arama Kutusu */
.search-box {
    position: relative;
    max-width: 400px;
}

.search-box input {
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 0.6rem 1rem 0.6rem 2.8rem;
    width: 100%;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 125, 142, 0.15);
    outline: none;
}

.search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Sepet ve Kullanici Ikonlari */
.header-icons .icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--text-dark);
    margin-left: 0.5rem;
    transition: var(--transition);
}

.header-icons .icon-btn:hover {
    background-color: var(--primary);
    color: white;
}

.header-icons .icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-dark);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kategori Menusu */
.category-nav {
    background-color: var(--secondary);
    border-bottom: 1px solid var(--border-color);
}

.category-nav .nav-link {
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-nav .nav-link:hover {
    color: var(--primary);
    background-color: var(--bg-white);
}

/* Banner/Slider */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.hero-banner .carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}

.hero-banner .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.hero-banner .carousel-indicators button.active {
    background-color: var(--primary);
}

/* Urun Kartlari */
.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card .product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bg-cream);
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    padding: 1rem;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.product-card .badge-sale {
    background-color: var(--danger);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card .badge-new {
    background-color: var(--success);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-card .product-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--bg-white);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.product-card .product-actions button:hover {
    background-color: var(--primary);
    color: white;
}

.product-card .product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-brand {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.product-card .product-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card .product-title a {
    color: inherit;
}

.product-card .product-title a:hover {
    color: var(--primary);
}

.product-card .product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .current-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card .old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card .add-to-cart {
    width: 100%;
    margin-top: 1rem;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Bolum Basliklari */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Kategori Section - Pill Tasarimi */
.category-section {
    padding: 2rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.category-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

/* Kategori Renkleri */
.bg-rose { background: linear-gradient(135deg, #fce4ec, #f8bbd9); }
.bg-lavender { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }
.bg-mint { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }
.bg-peach { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.bg-sky { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.bg-coral { background: linear-gradient(135deg, #fbe9e7, #ffccbc); }

.text-rose { color: #c2185b; }
.text-lavender { color: #7b1fa2; }
.text-mint { color: #00796b; }
.text-peach { color: #e65100; }
.text-sky { color: #1565c0; }
.text-coral { color: #d84315; }

/* Kategori Pill */
.category-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
    min-width: 100px;
    text-align: center;
}

.category-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.category-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: inherit;
}

.bg-rose .category-pill-icon { color: #c2185b; }
.bg-lavender .category-pill-icon { color: #7b1fa2; }
.bg-mint .category-pill-icon { color: #00796b; }
.bg-peach .category-pill-icon { color: #e65100; }
.bg-sky .category-pill-icon { color: #1565c0; }
.bg-coral .category-pill-icon { color: #d84315; }

.category-pill-text {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    text-align: center;
}

.category-pill:hover .category-pill-text {
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 767.98px) {
    .category-pill {
        padding: 0.75rem 1rem;
        min-width: 85px;
    }

    .category-pill-icon {
        font-size: 1.25rem;
    }

    .category-pill-text {
        font-size: 0.8rem;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 0 0;
}

.footer-top {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-light);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 25px 0 0 25px;
    padding: 0.75rem 1rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    border-radius: 0 25px 25px 0;
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    padding: 0.75rem 1.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.payment-icons img {
    height: 30px;
    margin: 0 0.25rem;
    opacity: 0.8;
}

/* Sayfalama */
.pagination {
    gap: 0.25rem;
}

.pagination .page-link {
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    color: var(--text-dark);
    background-color: var(--secondary);
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    color: white;
}

/* Breadcrumb */
.breadcrumb-wrapper {
    background-color: var(--secondary);
    padding: 1rem 0;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--primary);
}

/* Form Ogeleri */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 125, 142, 0.15);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Alert */
.alert-primary {
    background-color: var(--secondary);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Card */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.card-header {
    background-color: var(--secondary);
    border-bottom: 1px solid var(--border-color);
}

/* Mobil Uyumluluk */
@media (max-width: 991.98px) {
    .navbar-main {
        padding: 0.75rem 0;
    }

    .search-box {
        max-width: 100%;
        margin: 1rem 0;
    }

    .header-icons {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        font-size: 0.8rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .product-card .product-title {
        font-size: 0.9rem;
    }

    .footer {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Sepet Sayfasi */
.cart-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: var(--bg-cream);
    border-radius: 8px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--secondary);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--primary-light);
}

.quantity-selector input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-weight: 500;
}

.quantity-selector input:focus {
    outline: none;
}

/* Checkout Adimlari */
.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.checkout-step {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.checkout-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.5rem;
}

.checkout-step.active .step-number {
    background: var(--primary);
    color: white;
}

.checkout-step.completed .step-number {
    background: var(--success);
    color: white;
}

.checkout-step .step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkout-step.active .step-text {
    color: var(--primary);
    font-weight: 500;
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border-color);
}

/* Yukleme Animasyonu */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Bildirimleri */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.toast {
    background: var(--bg-white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1040;
}

/* Urun Detay Sayfasi */
.product-detail-image {
    background: var(--bg-cream);
    border-radius: 12px;
    padding: 2rem;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: var(--primary);
}

.product-detail-info .product-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-detail-info .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-detail-info .old-price {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Filtre Sidebar */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.filter-section .form-check {
    margin-bottom: 0.5rem;
}

.price-range-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-range-inputs input {
    width: 100%;
}
