/* Genel Stiller */
:root {
    --primary-color: #e6034b; /* Ana kırmızı */
    --primary-gradient: linear-gradient(90deg, #e6034b 0%, #ff4e7a 100%);
    --secondary-color: #3a4146; /* Logo grisi */
    --text-color: #3a4146;
    --light-bg: #f7f7f7;
    --border-color: #e6034b;
    --category-title-color: #2c3e50;
    --category-font: 'Poppins', sans-serif;
    --description-color: #666666;
    --allergen-color: #dc3545;
    --price-color: #e6034b;
    --price-font: 'Poppins', sans-serif;
    --badge-font: 'Poppins', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--light-bg);
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    background: #fff;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(230,3,75,0.08));
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    color: #fff;
    padding: 80px 0;
    border-bottom: 4px solid var(--primary-color);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* QR Menü Örneği (Hero Section) Animasyon ve Gölge */
.hero-section .img-fluid {
    animation: floatY 3.5s ease-in-out infinite;
    border-radius: 32px;
    padding: 0.5rem;
}

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

/* Özellikler Kartları */
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(230,3,75,0.07);
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: border 0.3s, box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(230,3,75,0.13);
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* İkon Wrapper Stili */
.icon-wrapper {
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.icon-wrapper i {
    color: #fff;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230,3,75,0.2);
}

/* Butonlar - Bootstrap Override */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(230,3,75,0.08);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #e6034b !important;
    box-shadow: 0 4px 12px rgba(230,3,75,0.2);
    transform: translateY(-1px);
}

.btn-primary:active {
    background: #d1003f !important;
    transform: translateY(0);
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(230,3,75,0.2);
}

/* Hero Section Buton - Belirginlik için özel tasarım */
.hero-section .btn-primary,
.hero-section .btn-primary:focus,
.hero-section .btn-primary:active {
    background: #fff !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 4px 24px rgba(230,3,75,0.15) !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    border-radius: 50px !important;
    font-weight: 700;
    transition: all 0.3s;
}

.hero-section .btn-primary:hover {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 0 6px 32px rgba(230,3,75,0.25) !important;
}

/* Border ve Ayraçlar */
br, hr {
    border-color: var(--primary-color) !important;
    opacity: 1;
}

/* Footer */
footer {
    border-top: 1px solid var(--primary-color);
    background: #fff;
}

footer a {
    color: var(--secondary-color);
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .hero-section .img-fluid {
        animation: floatYMobile 4.5s ease-in-out infinite;
    }
    @keyframes floatYMobile {
        0% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
        100% { transform: translateY(0); }
    }
}

/* Yakında Gelecek Özellikler Alanı */
.coming-soon-section {
    background: #fff;

}

.coming-soon-title {
    color: var(--text-color);
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: -1px;
}

.coming-soon-desc {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.coming-soon-card {
    background: var(--light-bg);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    border: 2px solid #fff;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: border 0.3s, box-shadow 0.3s, transform 0.3s;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.coming-soon-card:hover {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(230,3,75,0.13);
    transform: translateY(-4px) scale(1.03);
}

.coming-soon-card .icon span {
    animation: floatIcon 2.8s ease-in-out infinite;
    box-shadow: 0 6px 18px rgba(230,3,75,0.18), 0 2px 8px rgba(58,65,70,0.10);
    font-size: 2.5rem;
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    line-height: 56px;
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.coming-soon-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.coming-soon-card p {
    color: var(--secondary-color);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 1.5rem;
    }
    .coming-soon-card {
        padding: 1.2rem 1rem 1rem 1rem;
        min-height: 180px;
    }
    .coming-soon-card .icon span {
        animation: floatIconMobile 3.5s ease-in-out infinite;
    }
    @keyframes floatIconMobile {
        0% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
        100% { transform: translateY(0); }
    }
}

/* Dil Seçici Dropdown */
.lang-dropdown {
    font-weight: 600;
    color: var(--primary-color) !important;
    letter-spacing: 1px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.dropdown-menu .lang-option.active,
.dropdown-menu .lang-option:active {
    background: var(--primary-gradient) !important;
    color: #fff !important;
}

.dropdown-menu .lang-option {
    font-weight: 500;
    color: var(--primary-color);
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu .lang-option:hover {
    background: var(--primary-gradient) !important;
    color: #fff !important;
}

.unselectable-img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Ürün Ekleme Formu ve Görsel Önizleme */
#addProductForm input[type="text"],
#addProductForm input[type="number"],
#addProductForm input[type="file"] {
    font-size: 1.05rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.2rem;
}
#addProductForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230,3,75,0.12);
}
#productImagePreview {
    display: block;
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(58,65,70,0.10);
    border: 1px solid #eee;
    max-width: 120px;
    max-height: 80px;
    object-fit: cover;
}
@media (max-width: 768px) {
    #addProductForm input[type="text"],
    #addProductForm input[type="number"],
    #addProductForm input[type="file"] {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }
    #productImagePreview {
        max-width: 90px;
        max-height: 60px;
    }
}

.product-image-upload-box {
    width: 60px;
    height: 40px;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.product-image-upload-box:hover {
    border-color: #ff4e7a;
    background: #f7f7f7;
}
.product-image-upload-box .plus-icon {
    font-size: 1.7rem;
    color: var(--primary-color);
    pointer-events: none;
    transition: color 0.2s;
}
.product-image-upload-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.product-image-upload-input {
    display: none;
}
.product-image-upload-box input,
.product-image-upload-box img {
    margin: 0;
    padding: 0;
}
.table td .form-control.form-control-sm {
    margin: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    height: 40px;
    box-sizing: border-box;
}
.table td {
    vertical-align: middle !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* --- Sidebar (Sol Navbar) Modern Tasarım --- */
.sidebar {
    background: #f7f7f7 !important;
    border-right: 1.5px solid #ececec;
    min-height: 100vh;
    box-shadow: 2px 0 16px rgba(58,65,70,0.04);
    padding-top: 1.5rem;
}
.sidebar .nav-link {
    color: #3a4146 !important;
    font-weight: 500;
    font-size: 1.08rem;
    border-radius: 8px 0 0 8px;
    margin-bottom: 6px;
    padding: 0.7rem 1.2rem 0.7rem 1.5rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar .nav-link.active, .sidebar .nav-link:focus, .sidebar .nav-link:hover {
    color: #e6034b !important;
    background: linear-gradient(90deg, #ffe3eb 0%, #fff 100%) !important;
    box-shadow: 0 2px 12px rgba(230,3,75,0.06);
}
.sidebar .nav-link.active::before, .sidebar .nav-link:focus::before, .sidebar .nav-link:hover::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: #e6034b;
}
.sidebar .nav-link i {
    margin-right: 0.7rem;
    font-size: 1.2rem;
    color: #bdbdbd;
    transition: color 0.18s;
}
.sidebar .nav-link.active i, .sidebar .nav-link:focus i, .sidebar .nav-link:hover i {
    color: #e6034b;
}
.sidebar .nav-link:hover:not(.active),
.sidebar .nav-link:focus:not(.active) {
    color: #e6034b !important;
    background: linear-gradient(90deg, #fff0f5 0%, #fff 100%) !important;
    box-shadow: 0 2px 12px rgba(230,3,75,0.03);
}
.sidebar .nav-link:hover:not(.active) i,
.sidebar .nav-link:focus:not(.active) i {
    color: #e6034b;
}
@media (max-width: 991px) {
    .sidebar {
        display: none !important;
    }
    .sidebar .nav-link {
        font-size: 0.92rem;
        padding: 0.5rem 0.7rem 0.5rem 1rem;
        white-space: nowrap;
    }
    /* Navbar menüleri mobilde gösterilecek */
    .navbar-nav.mobile-menu {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    }
    .navbar-nav.mobile-menu .nav-item {
        width: 100%;
    }
    .navbar-nav.mobile-menu .nav-link {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
        border-radius: 0;
        border-bottom: 1px solid #f3f3f3;
        color: #e6034b !important;
        background: none !important;
        white-space: nowrap;
        text-align: left;
    }
    .navbar-nav.mobile-menu .nav-link.active {
        background: #ffe3eb !important;
        color: #e6034b !important;
    }
}

/* --- Dashboard Modern Tasarım --- */
body, .dashboard-bg {
    background: #f7f7f7 !important;
}

/* İstatistik Kartları */
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    border: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(230,3,75,0.13);
    transform: translateY(-2px) scale(1.01);
}
.card-title {
    color: #e6034b;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.card-text {
    color: #3a4146;
    font-size: 2.1rem;
    font-weight: 800;
}

/* Dashboard Başlıkları ve Ayraçlar */
.dashboard-section-title, .fw-bold.fs-4 {
    color: #3a4146;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}
.dashboard-subtitle, h4, h3 {
    color: #e6034b;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
hr.section-divider {
    border: none;
    border-top: 2px solid #e6034b;
    margin: 1.5rem 0;
    opacity: 0.18;
}

/* Kategori/Kart Alanı */
.card.mb-4 {
    border: 1.5px solid #ffe3eb;
    box-shadow: 0 2px 12px rgba(230,3,75,0.04);
    border-radius: 16px;
}

/* Tablo ve Satırlar */
.table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(58,65,70,0.04);
}
.table thead th {
    background: #665d6028 !important;
    color: #111011d8 !important;
    font-weight: 800;
    font-size: 1.08rem;
    border: none;
    letter-spacing: 0.2px;
    text-transform: none;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #fdf6f8;
}
.table tbody tr:hover {
    background: #fff0f5;
    transition: background 0.18s;
}
.table td, .table th {
    border: none;
    vertical-align: middle;
}

/* Butonlar */
.btn-success {
    background: linear-gradient(90deg, #c521659c 0%, #e6034b 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(230,3,75,0.08);
    transition: all 0.2s;
}
.btn-success:hover {
    background: #e6034b !important;
    color: #fff !important;
}
.btn-outline-secondary {
    border: 2px solid #e6034b !important;
    color: #e6034b !important;
    background: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-outline-secondary:hover {
    background: #ffe3eb !important;
    color: #e6034b !important;
}
.btn-danger {
    background: #e6034b !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-danger:hover {
    background: #b80036 !important;
}

/* Form Elemanları Stilleri */
.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.form-label .text-danger {
    font-size: 1rem;
    vertical-align: middle;
}

.form-control,
.form-select {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 3, 75, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e6034b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select:hover {
    border-color: #ccc;
}

.form-control:hover,
.form-select:hover {
    border-color: #ccc;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Form Container Stilleri */
.card {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.card-body {
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

/* Alert Stilleri */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-info {
    background-color: rgba(230, 3, 75, 0.05);
    color: var(--primary-color);
}

.alert-info i {
    color: var(--primary-color);
}

/* Checkbox Stilleri */
.form-check {
    padding-left: 1.8rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: -1.8rem;
    margin-top: 0.2rem;
    border: 2px solid #e0e0e0;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(230, 3, 75, 0.1);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Submit Button Hover Effect */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 3, 75, 0.2);
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.15em;
}

/* Success Message Styles */
.text-success {
    color: #10b981 !important;
}

/* Form Row Spacing */
.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row > [class^="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.65rem 0.9rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .form-label {
        font-size: 0.85rem;
    }
}

/* Kategori başlıkları ve oklar */
#productCategoryList h5[data-cat] {
    color: #e6034b !important;
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.2px;
    margin-bottom: 0.2rem;
    background: none;
    border: none;
    padding: 0.2rem 0.3rem;
    display: inline-block;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
}
#productCategoryList h5[data-cat]:hover {
    background: #ffe3eb;
    color: #e6034b !important;
}
#productCategoryList .btn-light {
    border-radius: 6px;
    border: 1.5px solid #ffe3eb;
    color: #e6034b;
    background: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.18s, color 0.18s;
}
#productCategoryList .btn-light:hover {
    background: #ffe3eb;
    color: #e6034b;
}

/* Modal başlıkları ve içerik */
.modal-content {
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(230,3,75,0.10);
    border: none;
}
.modal-title {
    color: #e6034b;
    font-weight: 800;
    font-size: 1.3rem;
}

/* Responsive Dashboard */
@media (max-width: 991px) {
    .dashboard-section-title, .fw-bold.fs-4 {
        font-size: 1.3rem;
    }
    .card {
        border-radius: 12px;
        padding: 1rem 0.7rem;
    }
    .table {
        border-radius: 8px;
    }
}

/* Dashboard kartları hizalama ve yükseklik */
.dashboard-row-equal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 0.8rem;
}
.dashboard-row-equal > [class^='col-'] {
    display: flex;
    flex-direction: column;
}
.dashboard-row-equal .card {
    flex: 1 1 100%;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}
/* QR kod kutusu */
#qrCodeGen {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
#qrCodeGen canvas, #qrCodeGen img {
    width: 120px !important;
    height: 120px !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(230,3,75,0.10);
    background: #fff;
}
.card .btn, .card .btn-sm {
    margin-top: 0.5rem;
}
/* Kart başlıkları ve içerik */
.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #3a4146;
    margin-bottom: 0.7rem;
}
.card-text, .fs-3, .fs-5 {
    font-size: 2.1rem !important;
    font-weight: 800;
    color: #e6034b;
}
/* Responsive düzenleme */
@media (max-width: 991px) {
    .dashboard-row-equal {
        flex-direction: column;
        gap: 1rem 0;
    }
    .dashboard-row-equal .card {
        min-height: 100px;
        padding: 1rem 0.7rem;
    }
    #qrCodeGen canvas, #qrCodeGen img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Navbar yazı rengi siyah */
.navbar-nav .nav-link {
    color: #000 !important;
}

/* Active olanın fontu düzeltildi */
.navbar-nav .nav-link.active {
    font-weight: 700;
    color: #e6034b !important;
}

/* Dashboard sayısal değerlerin fontu aynı */
.card-text, .fs-3, .fs-5 {
    font-size: 2.1rem !important;
    font-weight: 800;
    color: #e6034b;
}

/* Tema Önizleme */
.theme-preview-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#themePreview {
    max-width: 600px;
    margin: 0 auto;
}

#themePreview .products-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

#themePreview .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#themePreview .preview-horizontal {
    display: flex;
    align-items: stretch;
}

#themePreview .preview-horizontal .product-image {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

#themePreview .preview-horizontal .product-info {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

#themePreview .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

#themePreview .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

#themePreview .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#themePreview .product-details {
    font-size: 0.9rem;
    color: var(--description-color);
}

#themePreview .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--price-color);
}

@media (max-width: 768px) {
    #themePreview .preview-horizontal {
        flex-direction: column;
    }

    #themePreview .preview-horizontal .product-image {
        width: 100%;
        height: 160px;
    }

    #themePreview .product-info {
        padding: 0.8rem;
    }

    #themePreview .product-title {
        font-size: 1rem;
    }

    #themePreview .product-details {
        font-size: 0.85rem;
    }

    #themePreview .product-price {
        font-size: 1.1rem;
    }
}

/* Font Boyutu Sınıfları */
.font-size-small {
    --title-font-size: 1.5rem;
    --category-font-size: 1.2rem;
    --product-font-size: 0.9rem;
    --price-font-size: 1rem;
    --desc-font-size: 0.8rem;
    --badge-font-size: 0.7rem;
}

.font-size-medium {
    --title-font-size: 2rem;
    --category-font-size: 1.5rem;
    --product-font-size: 1.1rem;
    --price-font-size: 1.2rem;
    --desc-font-size: 0.9rem;
    --badge-font-size: 0.8rem;
}

.font-size-large {
    --title-font-size: 2.5rem;
    --category-font-size: 1.8rem;
    --product-font-size: 1.3rem;
    --price-font-size: 1.4rem;
    --desc-font-size: 1rem;
    --badge-font-size: 0.9rem;
}

/* Badge Boyut Sınıfları */
.badge-size-small {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

.badge-size-medium {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

.badge-size-large {
    font-size: 0.9rem;
    padding: 0.5em 0.85em;
}

/* Badge Radius Sınıfları */
.badge-radius-none {
    --badge-radius: 0;
}

.badge-radius-small {
    --badge-radius: 0.2rem;
}

.badge-radius-medium {
    --badge-radius: 0.375rem;
}

.badge-radius-large {
    --badge-radius: 0.5rem;
}

.badge-radius-pill {
    --badge-radius: 50rem;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .font-size-small {
        --title-font-size: 1.3rem;
        --category-font-size: 1.1rem;
        --product-font-size: 0.85rem;
        --price-font-size: 0.95rem;
        --desc-font-size: 0.75rem;
        --badge-font-size: 0.65rem;
    }

    .font-size-medium {
        --title-font-size: 1.7rem;
        --category-font-size: 1.3rem;
        --product-font-size: 1rem;
        --price-font-size: 1.1rem;
        --desc-font-size: 0.85rem;
        --badge-font-size: 0.75rem;
    }

    .font-size-large {
        --title-font-size: 2rem;
        --category-font-size: 1.5rem;
        --product-font-size: 1.15rem;
        --price-font-size: 1.25rem;
        --desc-font-size: 0.95rem;
        --badge-font-size: 0.85rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .product-description,
    .product-allergen {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .badge-size-small {
        font-size: 0.65rem;
    }

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

    .badge-size-large {
        font-size: 0.85rem;
    }
}

/* Ürün Detayları */
.product-description {
    color: var(--description-color);
    font-family: var(--category-font);
    font-size: var(--desc-font-size, 0.9rem);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.product-allergen {
    color: var(--allergen-color);
    font-family: var(--category-font);
    font-size: var(--desc-font-size, 0.9rem);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

/* Fiyat */
.product-price {
    color: var(--price-color);
    font-family: var(--price-font);
    font-size: var(--price-font-size, 1.2rem);
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Badge Stilleri */
.badge {
    font-family: var(--badge-font);
    transition: all 0.3s ease;
}

/* Badge Boyutları */
.badge-size-small {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

.badge-size-medium {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

.badge-size-large {
    font-size: 0.9rem;
    padding: 0.5em 0.85em;
}

/* Toast Mesajı */
.toast-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast-message.show {
    opacity: 1;
}

.toast-message.error {
    background: #dc3545;
}

/* Tema Önizleme */
.theme-preview-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#themePreview {
    max-width: 600px;
    margin: 0 auto;
}

/* Önizleme Ürün Görseli */
.preview-product-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
    .preview-product-image {
        width: 90px;
        height: 60px;
    }
}