:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #223042;
    --muted: #66758a;

    --primary: #d92b2b;
    --primary-hover: #b92020;
    --primary-soft: rgba(217, 43, 43, 0.08);

    --accent: #ff7a00;
    --accent-soft: rgba(255, 122, 0, 0.10);

    --secondary: #2f4156;
    --border: #e4e9f0;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;

    --shadow: 0 10px 30px rgba(47, 65, 86, 0.10);
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(228, 233, 240, 0.9);
    box-shadow: 0 4px 18px rgba(47, 65, 86, 0.05);
}

.header-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(217, 43, 43, 0.20);
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

/* Layout */

main.container {
    padding-top: 32px;
    padding-bottom: 48px;
}

/* Hero / page wrapper */

.hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-head h1,
.hero h1,
.auth-box h1 {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--secondary);
}

.page-head p,
.hero p,
.auth-box p {
    margin: 0;
    color: var(--muted);
}

/* Cards */

.card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.grid-3 .card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--secondary);
}

.grid-3 .card p {
    margin: 0;
    color: var(--muted);
}

/* Buttons */

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 10px 24px rgba(217, 43, 43, 0.22);
}

.btn:hover,
button.btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.97);
}

.btn-secondary {
    background: #eef2f7;
    color: var(--secondary);
    box-shadow: none;
}

.link-btn {
    color: var(--primary);
    font-weight: 700;
}

.link-btn:hover {
    text-decoration: underline;
}

/* Alerts */

.alert {
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.18);
    color: #166534;
}

.alert-warning {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.18);
    color: #92400e;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.18);
    color: #991b1b;
}

/* Forms */

.auth-box {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: 0.2s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.checkbox-line {
    flex-direction: row;
    align-items: center;
}

.checkbox-line label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.checkbox-line input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: auto;
}

.error {
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Tables */

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.table thead th {
    text-align: left;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-soft);
}

.table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f8fbff;
}

/* Hero buttons */

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.7);
}

.site-footer .container {
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-row,
    .page-head {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .auth-box {
        padding: 24px;
        border-radius: 18px;
    }

    .page-head h1,
    .hero h1,
    .auth-box h1 {
        font-size: 1.65rem;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.logo-text {
    display: inline-block;
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.nav-cta:hover {
    background: var(--primary-hover) !important;
    color: #fff !important;
}

.nav-logout {
    background: #111827;
}

.nav-logout:hover {
    background: #000;
}

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

.footer-row p {
    margin: 8px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
}

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

.landing-hero {
    padding: 28px 0 10px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-content h1 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--secondary);
    max-width: 760px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-text {
    max-width: 680px;
    font-size: 1.05rem;
    color: var(--muted);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 0.98rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-showcase {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-showcase {
    width: 100%;
    max-width: 460px;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}

.showcase-top {
    display: flex;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.showcase-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
}

.showcase-block {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6edf7;
}

.showcase-block small {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
}

.showcase-block strong {
    color: var(--secondary);
    line-height: 1.5;
}

.floating-mini-card {
    position: absolute;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
}

.card-one {
    top: 40px;
    right: 10px;
}

.card-two {
    bottom: 38px;
    left: 10px;
}

.feature-section {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    color: var(--secondary);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.feature-card h3 {
    margin: 0 0 10px;
    color: var(--secondary);
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .floating-mini-card {
        position: static;
    }

    .hero-showcase {
        flex-direction: column;
        gap: 12px;
    }
}

.site-logo-img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    background: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.footer-brand,
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand p,
.footer-col span,
.footer-col a,
.footer-brand small {
    color: var(--muted);
}

.footer-col h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--secondary);
}

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

.footer-logo-img {
    max-height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-logo-img {
        height: 36px;
    }
}

.header-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.header-contact-link:hover {
    background: rgba(37, 99, 235, 0.14);
}

.footer-brand strong {
    font-size: 1.15rem;
    color: var(--secondary);
}

.footer-brand p {
    max-width: 320px;
    line-height: 1.7;
}

.footer-col a,
.footer-col span {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col a {
    transition: 0.2s ease;
}

.footer-col a:hover {
    transform: translateX(2px);
}

.footer-col h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.site-footer {
    margin-top: 56px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,1) 100%);
}

.footer-grid {
    align-items: start;
}

.settings-preview {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-preview img {
    display: block;
    max-height: 60px;
    width: auto;
}

.settings-preview.favicon-preview img {
    width: 32px;
    height: 32px;
    max-height: 32px;
}

.settings-card {
    padding: 0;
    overflow: hidden;
}

.settings-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 20px 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.settings-tab {
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 12px 12px 0 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.settings-tab:hover {
    color: var(--primary);
    background: #eef4ff;
}

.settings-tab.is-active {
    background: #fff;
    color: var(--primary);
    border-bottom-color: #fff;
}

.settings-panel {
    display: none;
    padding: 24px;
}

.settings-panel.is-active {
    display: block;
}

.settings-panel h3 {
    margin: 0 0 18px;
    color: var(--secondary);
}

.settings-submit-row {
    padding: 0 24px 24px;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.table-actions .link-btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.product-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.list-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.product-table-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-badge.is-active {
    background: rgba(22, 163, 74, 0.10);
    color: #166534;
}

.status-badge.is-passive {
    background: rgba(220, 38, 38, 0.10);
    color: #991b1b;
}

.modern-actions {
    gap: 8px;
}

.action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
}

.action-chip:hover {
    transform: translateY(-1px);
}

.edit-chip {
    color: var(--primary);
    border-color: rgba(217, 43, 43, 0.22);
    background: rgba(217, 43, 43, 0.06);
}

.toggle-chip {
    color: #a85200;
    border-color: rgba(255, 122, 0, 0.24);
    background: rgba(255, 122, 0, 0.10);
}

.delete-chip {
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.20);
    background: rgba(220, 38, 38, 0.08);
}

.header-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
}

.header-contact-link:hover {
    background: rgba(217, 43, 43, 0.14);
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--secondary);
    font-weight: 700;
    transition: 0.2s ease;
}

.pagination-link:hover {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.05);
}

.pagination-current {
    font-weight: 700;
    color: var(--muted);
}

@media (max-width: 992px) {
    .product-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .list-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .product-filter-grid {
        grid-template-columns: 1fr;
    }
}

.edit-chip {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.06);
}

.toggle-chip {
    color: #92400e;
    border-color: rgba(217, 119, 6, 0.2);
    background: rgba(217, 119, 6, 0.08);
}

.delete-chip {
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.08);
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(47, 65, 86, 0.08);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 800;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stat-highlight-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 43, 43, 0.10);
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.05), rgba(255, 122, 0, 0.08));
}

.stat-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.stat-number {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: var(--secondary);
    letter-spacing: -0.04em;
}

@media (max-width: 992px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

.admin-dashboard {
    gap: 22px;
}

.dashboard-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.dashboard-hero-left {
    flex: 1 1 620px;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(217, 43, 43, 0.08);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.dashboard-subtitle {
    max-width: 760px;
    color: var(--muted);
    font-size: 1rem;
}

.dashboard-hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-width: 320px;
}

.dashboard-mini-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
}

.mini-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.dashboard-main-left {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dashboard-section-card {
    padding: 24px;
}

.section-card-head h3 {
    margin: 0 0 8px;
    color: var(--secondary);
}

.section-card-head p {
    margin: 0 0 18px;
    color: var(--muted);
}

.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-action-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    transition: 0.2s ease;
}

.dashboard-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 43, 43, 0.18);
    box-shadow: 0 14px 28px rgba(47, 65, 86, 0.08);
}

.dashboard-action-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
}

.dashboard-action-text {
    color: var(--muted);
    line-height: 1.55;
}

.dashboard-side-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.weather-card h3,
.dashboard-note-card h3 {
    margin: 0 0 8px;
    color: var(--secondary);
}

.weather-card p,
.dashboard-note-card p {
    margin: 0;
    color: var(--muted);
}

.weather-card-head {
    margin-bottom: 14px;
}

.weather-widget {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.05), rgba(255, 122, 0, 0.10));
    border: 1px solid rgba(217, 43, 43, 0.08);
}

.weather-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.weather-main-row strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--secondary);
    letter-spacing: -0.04em;
}

.weather-main-row span {
    color: var(--muted);
    font-weight: 700;
    text-align: right;
}

.weather-meta {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}

.weather-meta strong {
    color: var(--secondary);
}

.dashboard-note-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

@media (max-width: 1100px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-right {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .dashboard-hero-right {
        grid-template-columns: 1fr;
    }

    .weather-main-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .weather-main-row span {
        text-align: left;
    }
}

.dashboard-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.recent-card {
    padding: 22px;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    transition: 0.2s ease;
}

.recent-item:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 43, 43, 0.16);
    box-shadow: 0 10px 24px rgba(47, 65, 86, 0.07);
}

.recent-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.recent-item span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.recent-item small {
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.recent-empty {
    padding: 18px;
    border-radius: 16px;
    background: #fafbfd;
    border: 1px dashed var(--border);
    color: var(--muted);
}

.recent-product-item {
    align-items: center;
}

.recent-product-media {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-product-placeholder {
    color: var(--primary);
    font-weight: 800;
}

.recent-product-body {
    flex: 1 1 auto;
}

@media (max-width: 1100px) {
    .dashboard-recent-grid {
        grid-template-columns: 1fr;
    }
}

.admin-dashboard {
    gap: 24px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-topbar-left {
    flex: 1 1 620px;
}

.dashboard-topbar-left h1 {
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--secondary);
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(217, 43, 43, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.dashboard-subtitle {
    max-width: 780px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.mini-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 700;
}

.dashboard-shell {
    display: block;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-stat-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}

.dashboard-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.stat-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.dashboard-stat-card .stat-label {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.dashboard-stat-card .stat-number {
    display: block;
    margin-bottom: 8px;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--secondary);
    letter-spacing: -0.05em;
}

.stat-foot {
    color: var(--muted);
    font-size: 0.88rem;
}

.stat-red {
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.07), rgba(255, 255, 255, 1));
}

.stat-orange {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.09), rgba(255, 255, 255, 1));
}

.stat-dark {
    background: linear-gradient(135deg, rgba(47, 65, 86, 0.08), rgba(255, 255, 255, 1));
}

.stat-mix {
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.05), rgba(255, 122, 0, 0.08), rgba(255, 255, 255, 1));
}

.dashboard-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: start;
}

.dashboard-main-panel {
    padding: 24px;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.panel-head {
    margin-bottom: 18px;
}

.panel-head h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: var(--secondary);
}

.panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.dashboard-action-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    transition: 0.2s ease;
}

.dashboard-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    flex: 0 0 42px;
}

.dashboard-action-title {
    display: block;
    margin-bottom: 6px;
    color: var(--secondary);
    font-weight: 800;
}

.dashboard-action-text {
    display: block;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.weather-card,
.dashboard-note-card,
.recent-card {
    padding: 22px;
}

.weather-widget {
    margin-top: 12px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.05), rgba(255, 122, 0, 0.10));
    border: 1px solid rgba(217, 43, 43, 0.08);
}

.weather-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.weather-main-row strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--secondary);
}

.weather-meta {
    display: grid;
    gap: 8px;
    font-size: 0.94rem;
    color: var(--muted);
}

.dashboard-note-box {
    padding: 16px;
    border-radius: 16px;
    background: #fafbfd;
    border: 1px dashed var(--border);
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-recent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1040px) {
    .dashboard-panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-topbar-right {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .weather-main-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .weather-main-row span {
        text-align: left;
    }
}

.dashboard-inline-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard-inline-box {
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--border);
}

.dashboard-inline-box strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .dashboard-inline-info {
        grid-template-columns: 1fr;
    }
}

.dashboard-quick-card {
    padding: 22px;
}

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

.dashboard-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    color: var(--secondary);
    font-weight: 700;
    transition: 0.2s ease;
}

.dashboard-quick-link:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 43, 43, 0.18);
    box-shadow: 0 12px 24px rgba(47, 65, 86, 0.07);
}

.quick-link-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    flex: 0 0 32px;
}

.dashboard-quick-link.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .dashboard-quick-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-quick-link.full-width {
        grid-column: auto;
    }
}

.product-name-cell strong {
    display: block;
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.4;
}

.product-type-cell,
.product-category-cell,
.product-group-cell {
    color: var(--secondary);
    line-height: 1.55;
    word-break: break-word;
}

.product-image-cell,
.product-status-cell,
.product-sort-cell {
    text-align: center;
}

.product-image-cell {
    padding-left: 8px;
    padding-right: 8px;
}

.product-table-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    display: inline-block;
}

.table-dash {
    color: var(--muted);
}

.product-sort-input {
    width: 78px !important;
    min-height: 40px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
}

.product-actions-cell {
    padding-left: 10px;
    padding-right: 10px;
}

.product-status-cell .status-badge {
    min-width: 84px;
}

.product-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-row-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    transition: 0.2s ease;
}

.product-row-card:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 43, 43, 0.16);
    box-shadow: 0 14px 30px rgba(47, 65, 86, 0.08);
}

.product-row-main {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.product-row-media {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-row-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
    background: rgba(217, 43, 43, 0.05);
}

.product-row-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-row-title-group {
    min-width: 0;
}

.product-row-id {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.product-row-title-group h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-row-meta-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.product-meta-item {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f9fbfd;
    border: 1px solid rgba(228, 233, 240, 0.9);
    min-width: 0;
}

.meta-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.product-meta-item strong {
    display: block;
    color: var(--secondary);
    font-size: 0.97rem;
    line-height: 1.45;
    word-break: break-word;
}

.product-sort-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-sort-input {
    width: 80px;
    min-height: 42px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
}

.product-row-actions {
    width: 150px;
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-row-actions .action-chip {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
}

.product-empty-state {
    padding: 28px;
    border-radius: 18px;
    background: #fafbfd;
    border: 1px dashed var(--border);
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1280px) {
    .product-row-meta-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .product-row-card {
        flex-direction: column;
        align-items: stretch;
    }

    .product-row-main {
        flex-direction: column;
        align-items: stretch;
    }

    .product-row-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-row-actions {
        width: 100%;
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .product-row-meta-grid {
        grid-template-columns: 1fr;
    }

    .product-row-actions {
        grid-template-columns: 1fr;
    }
}

.premium-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 96px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.premium-status-badge .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.9;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.45);
}

.premium-status-badge.is-active {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.14), rgba(34, 197, 94, 0.08));
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.14);
}

.premium-status-badge.is-passive {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(239, 68, 68, 0.06));
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.14);
}

.product-row-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.14));
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
}

.product-row-placeholder span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 8px 18px rgba(217, 43, 43, 0.12);
}

.meta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.meta-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.14));
    color: var(--primary);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 900;
    flex: 0 0 22px;
}

.product-meta-item {
    position: relative;
    overflow: hidden;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    border: 1px solid rgba(228, 233, 240, 0.95);
    min-width: 0;
    transition: 0.2s ease;
}

.product-meta-item:hover {
    border-color: rgba(217, 43, 43, 0.12);
    box-shadow: 0 12px 24px rgba(47, 65, 86, 0.05);
}

.product-meta-item strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.45;
    word-break: break-word;
}

.product-row-title-group h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.3rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.product-row-id {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(47, 65, 86, 0.06);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.product-row-actions .action-chip {
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
    border-radius: 14px;
    font-weight: 800;
}

.product-row-actions .edit-chip {
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.08), rgba(255,255,255,1));
    border-color: rgba(217, 43, 43, 0.16);
}

.product-row-actions .toggle-chip {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.10), rgba(255,255,255,1));
    border-color: rgba(255, 122, 0, 0.18);
}

.product-row-actions .delete-chip {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(255,255,255,1));
    border-color: rgba(220, 38, 38, 0.16);
}

/* =========================
   ADMIN LAYOUT
   Sol menü + üst yardımcı bar
   ========================= */

.admin-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

.admin-sidebar {
    width: 270px;
    flex: 0 0 270px;
    background: linear-gradient(180deg, #182230 0%, #111827 100%);
    color: #e5e7eb;
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-brand {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.admin-sidebar-section + .admin-sidebar-section {
    margin-top: 22px;
}

.admin-sidebar-title {
    display: block;
    margin-bottom: 10px;
    padding: 0 10px;
    color: rgba(229, 231, 235, 0.65);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    color: #dbe3ee;
    font-size: 0.96rem;
    font-weight: 700;
    transition: 0.2s ease;
    margin-bottom: 6px;
}

.admin-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.admin-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.18), rgba(255, 122, 0, 0.18));
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-topbar-left {
    min-width: 0;
}

.admin-topbar-left strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-topbar-user {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(217, 43, 43, 0.08);
    border: 1px solid rgba(217, 43, 43, 0.14);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    transition: 0.2s ease;
}

.admin-topbar-link:hover {
    background: rgba(217, 43, 43, 0.14);
}

.admin-page-content {
    padding: 24px;
}

/* Admin sayfalarda container genişliğini kısıtlama */

.admin-page-content .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Admin dashboard hızlı erişim alanı yeni layout ile uyumlu */

.admin-page-content .dashboard-shell {
    width: 100%;
}

/* Responsive */

@media (max-width: 1100px) {
    .admin-sidebar {
        width: 240px;
        flex-basis: 240px;
        padding: 20px 14px;
    }

    .admin-page-content {
        padding: 20px;
    }
}

@media (max-width: 860px) {
    .admin-shell {
        flex-direction: column;
        min-height: auto;
    }

    .admin-sidebar {
        width: 100%;
        flex: 0 0 auto;
        height: auto;
        position: relative;
        top: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 16px;
    }

    .admin-sidebar-brand {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .admin-sidebar-section {
        margin-top: 0;
    }

    .admin-sidebar-section + .admin-sidebar-section {
        margin-top: 16px;
    }

    .admin-sidebar-link {
        min-height: 42px;
    }

    .admin-topbar {
        padding: 16px;
        position: relative;
    }

    .admin-page-content {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-topbar-user,
    .admin-topbar-link {
        min-height: 36px;
    }
}

/* =========================
   ADMIN LAYOUT MODERN FINAL
   ========================= */

/* =========================================================
   FINAL PREMIUM OVERRIDE
   Header + Landing + Admin final toparlama
   Bunu dosyanin en altina ekleyin
   ========================================================= */

:root {
    --shadow-lg: 0 20px 48px rgba(47, 65, 86, 0.16);
    --glass: rgba(255, 255, 255, 0.78);
}

/* =========================
   HEADER 2026 PREMIUM FINAL
   ========================= */

.site-header.site-header-premium {
    position: sticky;
    top: 0;
    z-index: 80;
    padding-top: 14px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.82) 100%);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 233, 240, 0.85);
    box-shadow: 0 10px 28px rgba(47, 65, 86, 0.06);
}

.header-row.header-row-premium {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px 18px;
    border: 1px solid rgba(228, 233, 240, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 34px rgba(47, 65, 86, 0.08);
    backdrop-filter: blur(16px);
}

.logo.logo-premium {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 0 1 auto;
}

.logo-visual {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.08), rgba(255, 122, 0, 0.12));
    border: 1px solid rgba(217, 43, 43, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(217, 43, 43, 0.08);
    overflow: hidden;
}

.site-logo-img.site-logo-img-premium {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
}

.logo-text-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    display: block;
    font-size: 1.24rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--secondary);
    letter-spacing: -0.03em;
}

.logo-subtext {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}

.nav.nav-premium {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.nav-link-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid transparent;
    transition: 0.22s ease;
}

.nav-link-premium:hover {
    color: var(--primary);
    background: rgba(217, 43, 43, 0.07);
    border-color: rgba(217, 43, 43, 0.08);
    transform: translateY(-1px);
}

.header-contact-link.header-contact-link-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(228, 233, 240, 0.95);
    color: var(--secondary);
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 10px 20px rgba(47, 65, 86, 0.05);
    transition: 0.22s ease;
}

.header-contact-link.header-contact-link-premium:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 43, 43, 0.12);
    color: var(--primary);
    background: #fff;
}

.whatsapp-link {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10), rgba(255,255,255,0.96));
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.14));
    color: var(--primary);
    font-size: 0.8rem;
    line-height: 1;
}

.nav-cta.nav-cta-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff !important;
    font-weight: 800;
    font-size: 0.94rem;
    border: 0;
    box-shadow: 0 14px 28px rgba(217, 43, 43, 0.22);
    transition: 0.22s ease;
}

.nav-cta.nav-cta-premium:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
}

.nav-logout.nav-cta-premium {
    background: linear-gradient(135deg, #111827, #1f2937);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}

/* =========================
   LANDING 2026 PREMIUM FINAL
   ========================= */

.landing-hero-premium {
    position: relative;
    padding: 50px 0 24px;
}

.landing-hero-premium::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(217, 43, 43, 0.10) 0%, rgba(217, 43, 43, 0) 70%);
    pointer-events: none;
    filter: blur(8px);
}

.landing-hero-premium::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0) 70%);
    pointer-events: none;
    filter: blur(8px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge-premium {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.12));
    border: 1px solid rgba(217, 43, 43, 0.10);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 12px 30px rgba(217, 43, 43, 0.06);
}

.hero-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 6px rgba(217, 43, 43, 0.10);
    flex: 0 0 10px;
}

.hero-content h1 {
    margin: 0;
    max-width: 760px;
    font-size: 3.15rem;
    line-height: 1.08;
    letter-spacing: -0.05em;
    color: var(--secondary);
}

.hero-text {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.85;
}

.hero-stats-premium {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.stat-card-premium {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(228, 233, 240, 0.95);
    box-shadow: 0 14px 30px rgba(47, 65, 86, 0.06);
    backdrop-filter: blur(10px);
}

.stat-card-premium strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.98rem;
    color: var(--secondary);
}

.stat-card-premium span {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 2.55;
}

.stat-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.14));
    color: var(--primary);
    font-size: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.hero-showcase-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "main main"
        "one two";
    gap: 14px;
    align-items: start;
    min-height: auto;
    position: relative;
}

.main-showcase-premium {
    grid-area: main;
    width: 100%;
    max-width: none;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(228, 233, 240, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,251,255,0.98) 100%);
    box-shadow: 0 24px 54px rgba(47, 65, 86, 0.14);
    backdrop-filter: blur(12px);
}

.showcase-top {
    display: flex;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(248, 250, 252, 0.9);
}

.showcase-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.showcase-block-premium {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6edf7;
    transition: 0.2s ease;
}

.showcase-block-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(47, 65, 86, 0.08);
}

.showcase-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.16));
    color: var(--primary);
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.showcase-block-premium small {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
}

.showcase-block-premium strong {
    display: block;
    color: var(--secondary);
    line-height: 1.5;
    font-size: 0.98rem;
}

/* bindirme tamamen kapalı */

.floating-mini-card {
    position: static !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(228, 233, 240, 0.95);
    box-shadow: 0 16px 30px rgba(47, 65, 86, 0.08);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--secondary);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.card-one {
    grid-area: one;
}

.card-two {
    grid-area: two;
}

.feature-section {
    margin-top: 0;
    padding: 66px 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.section-head {
    margin-bottom: 2px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: 1.95rem;
    color: var(--secondary);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
    line-height: 1.75;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card-premium {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    transition: 0.28s ease;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,1) 100%);
}

.feature-card-premium::before {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(217, 43, 43, 0.08), rgba(217, 43, 43, 0));
    pointer-events: none;
}

.feature-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.16));
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.feature-card-premium h3 {
    margin: 0 0 10px;
    color: var(--secondary);
    font-size: 1.12rem;
}

.feature-card-premium p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.landing-cta-card {
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.10), transparent 30%),
        radial-gradient(circle at bottom left, rgba(217, 43, 43, 0.08), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: var(--shadow-lg);
}

/* =========================
   ADMIN LAYOUT FINAL
   ========================= */

.admin-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
    background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

.admin-sidebar {
    width: 278px;
    flex: 0 0 278px;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(217, 43, 43, 0.10), transparent 30%),
        linear-gradient(180deg, #1c2735 0%, #111827 100%);
    color: #e5e7eb;
    padding: 22px 16px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.admin-sidebar::-webkit-scrollbar {
    width: 10px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.24);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.admin-sidebar-brand {
    margin-bottom: 22px;
    padding: 6px 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.admin-sidebar-brand a::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 6px rgba(217, 43, 43, 0.14);
    flex: 0 0 12px;
}

.admin-sidebar-section + .admin-sidebar-section {
    margin-top: 20px;
}

.admin-sidebar-title {
    display: block;
    margin-bottom: 10px;
    padding: 0 10px;
    color: rgba(229, 231, 235, 0.58);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.admin-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 16px;
    color: #dbe3ee;
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.2s ease;
    margin-bottom: 6px;
    border: 1px solid transparent;
}

.admin-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    transform: translateX(3px);
}

.admin-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.20), rgba(255, 122, 0, 0.18));
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 24px rgba(0, 0, 0, 0.14);
}

.admin-sidebar-link.is-active::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    margin-right: 10px;
    flex: 0 0 8px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-topbar-user {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(47, 65, 86, 0.05);
}

.admin-topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(217, 43, 43, 0.08);
    border: 1px solid rgba(217, 43, 43, 0.14);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    transition: 0.2s ease;
}

.admin-topbar-link:hover {
    background: rgba(217, 43, 43, 0.14);
    transform: translateY(-1px);
}

.dashboard-actions-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-actions-grid-compact .dashboard-action-card {
    min-height: 108px;
}

/* =========================
   RESPONSIVE FINAL
   ========================= */

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-showcase-premium {
        max-width: 760px;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-recent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-stats-premium {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .admin-shell {
        flex-direction: column;
        min-height: auto;
    }

    .admin-sidebar {
        width: 100%;
        flex: 0 0 auto;
        height: auto;
        position: relative;
        top: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 14px;
    }

    .admin-sidebar-brand {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .admin-sidebar-section + .admin-sidebar-section {
        margin-top: 14px;
    }

    .admin-topbar {
        padding: 16px;
        position: relative;
    }

    .admin-page-content {
        padding: 16px;
    }

    .dashboard-actions-grid-compact,
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }

    .header-row.header-row-premium {
        flex-direction: column;
        align-items: stretch;
        border-radius: 22px;
    }

    .nav.nav-premium {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.18rem;
    }

    .hero-showcase-premium {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "one"
            "two";
    }

    .floating-mini-card {
        white-space: normal;
        justify-content: flex-start;
    }

    .showcase-block-premium {
        grid-template-columns: 1fr;
    }

    .logo-visual {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .logo-subtext {
        display: none;
    }
}

@media (max-width: 640px) {
    .landing-hero-premium {
        padding-top: 30px;
    }

    .feature-section {
        padding-top: 46px;
    }

    .hero-content h1 {
        font-size: 1.88rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-topbar-user,
    .admin-topbar-link {
        min-height: 36px;
    }

    .header-row.header-row-premium {
        padding: 12px;
    }

    .logo.logo-premium {
        width: 100%;
    }

    .nav.nav-premium {
        width: 100%;
        gap: 8px;
    }

    .nav-link-premium,
    .header-contact-link.header-contact-link-premium,
    .nav-cta.nav-cta-premium {
        min-height: 42px;
        padding: 0 14px;
    }
}

/* =========================
   FOOTER 2026 PREMIUM FINAL
   ========================= */

.site-footer.site-footer-premium {
    margin-top: 72px;
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(217, 43, 43, 0.06), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(248,250,252,1) 100%);
    border-top: 1px solid rgba(228, 233, 240, 0.95);
}

.footer-grid.footer-grid-premium {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 26px;
    padding-top: 34px;
    padding-bottom: 34px;
    align-items: start;
}

.footer-brand-premium {
    gap: 14px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
}

.footer-logo-wrap {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.08), rgba(255, 122, 0, 0.12));
    border: 1px solid rgba(217, 43, 43, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(217, 43, 43, 0.08);
    overflow: hidden;
}

.footer-logo-img.footer-logo-img-premium {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand-text strong {
    font-size: 1.16rem;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.footer-brand-text small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-brand-premium p {
    max-width: 340px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.86rem;
}

.footer-col-premium {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-premium h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.footer-chip-link,
.footer-info-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    width: fit-content;
    max-width: 100%;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(228, 233, 240, 0.95);
    color: var(--secondary);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 10px 20px rgba(47, 65, 86, 0.04);
    transition: 0.22s ease;
}

.footer-chip-link:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 43, 43, 0.12);
    color: var(--primary);
    background: #fff;
}

.footer-chip-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.14));
    color: var(--primary);
    font-size: 0.8rem;
    line-height: 1;
}

@media (max-width: 1100px) {
    .footer-grid.footer-grid-premium {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer.site-footer-premium {
        margin-top: 56px;
    }

    .footer-grid.footer-grid-premium {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .footer-logo-wrap {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .footer-chip-link,
    .footer-info-line {
        white-space: normal;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* =========================
   HOME FEED SECTION FINAL
   ========================= */

/* =========================================
   HOME FEED - ANIMATION + STATUS FINAL
   ========================================= */

/* Kart giriş animasyonu */

.home-feed-card-animated {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: feedFadeIn 0.6s ease forwards;
}

.home-feed-card-animated:nth-child(1) { animation-delay: 0.05s; }

.home-feed-card-animated:nth-child(2) { animation-delay: 0.1s; }

.home-feed-card-animated:nth-child(3) { animation-delay: 0.15s; }

.home-feed-card-animated:nth-child(4) { animation-delay: 0.2s; }

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

/* Hover micro interaction */

.home-feed-card-animated:hover {
    transform: translateY(-4px) scale(1.01);
    transition: 0.25s ease;
}

/* =========================
   STATUS BADGE (RENKLI)
   ========================= */

.status-badge.home-feed-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    white-space: nowrap;
}

/* aktif (onaylı, gönderildi, açık) */

.status-badge.home-feed-status.is-active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34,197,94,0.18));
    color: #16a34a;
    border-color: rgba(34,197,94,0.22);
}

/* pasif (reddedildi, kapalı) */

.status-badge.home-feed-status.is-passive {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239,68,68,0.18));
    color: #dc2626;
    border-color: rgba(239,68,68,0.22);
}

/* default (beklemede vs) */

.status-badge.home-feed-status {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(148,163,184,0.18));
    color: #64748b;
    border-color: rgba(148,163,184,0.22);
}

/* =========================
   FEED ITEM HOVER EFFECT
   ========================= */

.home-feed-item {
    position: relative;
    overflow: hidden;
}

.home-feed-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(217,43,43,0.05), transparent);
    opacity: 0;
    transition: 0.4s;
}

.home-feed-item:hover::after {
    opacity: 1;
}

/* =========================
   ICON ANIMATION
   ========================= */

.home-feed-icon {
    transition: 0.25s ease;
}

.home-feed-item:hover .home-feed-icon {
    transform: scale(1.1) rotate(4deg);
}

/* =========================
   MOBILE FIX
   ========================= */

@media (max-width: 768px) {
    .home-feed-card-animated {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* =========================
   MODERN FEED CARD UPGRADE
   ========================= */

.home-feed-card {
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 18px 40px rgba(47, 65, 86, 0.08);
}

/* listeyi kartlaştır */

.home-feed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(228,233,240,0.7);
    transition: 0.25s;
}

/* hover = wow */

.home-feed-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(47,65,86,0.08);
    border-color: rgba(217,43,43,0.2);
}

/* ikon glow */

.home-feed-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(217,43,43,0.12), rgba(255,122,0,0.16));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(217,43,43,0.08);
}

/* metin */

.home-feed-body strong {
    font-size: 1rem;
}

.home-feed-body span {
    font-size: 0.88rem;
    opacity: 0.7;
}

/* sağ taraf badge alanı */

.home-feed-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* fiyat badge */

.feed-price {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(37,99,235,0.18));
    color: #2563eb;
}

/* subtle divider */

.home-feed-item + .home-feed-item {
    margin-top: 8px;
}

/* =========================================
   HOME KPI CARDS
   ========================================= */

.home-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-kpi-card {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,1) 100%);
    box-shadow: 0 18px 40px rgba(47, 65, 86, 0.08);
}

.home-kpi-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.home-kpi-number {
    display: block;
    color: var(--secondary);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

@media (max-width: 1024px) {
    .home-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .home-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FEED NEW BADGE + LIVE MOTION
   ========================================= */

.feed-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.16), rgba(255, 122, 0, 0.18));
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    vertical-align: middle;
    border: 1px solid rgba(217, 43, 43, 0.12);
    box-shadow: 0 8px 18px rgba(217, 43, 43, 0.10);
    animation: feedBadgePulse 1.8s ease-in-out infinite;
}

@keyframes feedBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 18px rgba(217, 43, 43, 0.10);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 12px 24px rgba(217, 43, 43, 0.18);
    }
}

/* canlı güncellenen kart vurgusu */

.home-feed-card.is-refreshing {
    box-shadow: 0 0 0 2px rgba(217, 43, 43, 0.10), 0 18px 40px rgba(47, 65, 86, 0.08);
    transition: 0.35s ease;
}

.home-feed-item.is-updated {
    animation: feedItemFlash 0.9s ease;
}

@keyframes feedItemFlash {
    0% {
        transform: translateY(8px);
        opacity: 0.45;
        background: rgba(255, 122, 0, 0.08);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        background: #ffffff;
    }
}

/* =========================================
   KPI 2026 PREMIUM
   ========================================= */

.home-kpi-card-premium {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,1) 100%);
    box-shadow: 0 18px 40px rgba(47, 65, 86, 0.08);
}

.home-kpi-card-premium::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(217, 43, 43, 0.08), rgba(217, 43, 43, 0));
    pointer-events: none;
}

.home-kpi-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.home-kpi-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.16));
    color: var(--primary);
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.home-kpi-label {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.home-kpi-number {
    display: block;
    color: var(--secondary);
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.home-kpi-subtext {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   HERO STAT CARDS 2026 FIX
   ========================================= */

.hero-stats-premium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.stat-card-premium-2026 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    min-height: 210px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(228, 233, 240, 0.95);
    box-shadow: 0 14px 30px rgba(47, 65, 86, 0.06);
    backdrop-filter: blur(10px);
}

.stat-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stat-card-premium-2026 .stat-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.16));
    color: var(--primary);
    font-size: 1.15rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(47, 65, 86, 0.06);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.stat-card-premium-2026 strong {
    display: block;
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.28;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.stat-card-premium-2026 > span:last-child {
    display: block;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--muted);
    word-break: break-word;
    max-width: none;
}

/* mevcut sıkışıklığı ez */

.stat-card-premium-2026 > div:last-child {
    display: contents;
}

@media (max-width: 1024px) {
    .hero-stats-premium {
        grid-template-columns: 1fr;
    }

    .stat-card-premium-2026 {
        min-height: auto;
    }

    .home-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .home-kpi-grid {
        grid-template-columns: 1fr;
    }

    .home-kpi-number {
        font-size: 2rem;
    }
}

/* =========================================
   HERO SHOWCASE LIVE PANEL PREVIEW
   ========================================= */

.showcase-top-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.showcase-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.showcase-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(34, 197, 94, 0.18));
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 800;
    border: 1px solid rgba(22, 163, 74, 0.16);
    white-space: nowrap;
}

.showcase-dashboard-body {
    gap: 16px;
}

.showcase-summary-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.showcase-summary-card {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(228, 233, 240, 0.95);
    box-shadow: 0 10px 20px rgba(47, 65, 86, 0.04);
}

.showcase-summary-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.showcase-summary-card strong {
    display: block;
    color: var(--secondary);
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.showcase-list-card {
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,1) 100%);
    border: 1px solid rgba(228, 233, 240, 0.95);
}

.showcase-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.showcase-list-head strong {
    color: var(--secondary);
    font-size: 0.96rem;
}

.showcase-list-head span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(228, 233, 240, 0.9);
    transition: 0.22s ease;
}

.showcase-list-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(47, 65, 86, 0.05);
    border-color: rgba(217, 43, 43, 0.12);
}

.showcase-list-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(217, 43, 43, 0.10), rgba(255, 122, 0, 0.16));
    color: var(--primary);
    font-size: 1rem;
}

.showcase-list-body {
    min-width: 0;
    flex: 1 1 auto;
}

.showcase-list-body strong {
    display: block;
    color: var(--secondary);
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 3px;
}

.showcase-list-body span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.showcase-list-item small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.showcase-block-inline {
    margin-top: 2px;
}

@media (max-width: 768px) {
    .showcase-summary-row {
        grid-template-columns: 1fr;
    }

    .showcase-list-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .showcase-list-item {
        align-items: flex-start;
    }
}

/* =========================================
   SHOWCASE LIVE PANEL ENHANCEMENT
   ========================================= */

.showcase-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(34, 197, 94, 0.18));
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 800;
    border: 1px solid rgba(22, 163, 74, 0.16);
    white-space: nowrap;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
    animation: liveDotPulse 1.8s ease-in-out infinite;
    flex: 0 0 9px;
}

@keyframes liveDotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
    }
    50% {
        transform: scale(1.18);
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0.08);
    }
}

.showcase-list-item {
    position: relative;
    overflow: hidden;
}

.showcase-list-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(217, 43, 43, 0.04), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.showcase-list-item:hover::after {
    opacity: 1;
}

.showcase-list-item.is-updated {
    animation: showcaseItemFlash 0.9s ease;
}

@keyframes showcaseItemFlash {
    0% {
        transform: translateY(8px);
        opacity: 0.45;
        background: rgba(255, 122, 0, 0.08);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        background: #ffffff;
    }
}

.showcase-list-body strong {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* =========================================
   LOGO ICON IMPACT ANIMATION
   Dijital Tedarik ve Teklif Platformu
   ========================================= */

@keyframes logoPulseGlow {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.75),
            0 12px 24px rgba(217, 43, 43, 0.10),
            0 0 0 0 rgba(217, 43, 43, 0.22);
        filter: saturate(1);
    }
    25% {
        transform: translateY(-2px) scale(1.04) rotate(-2deg);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.75),
            0 20px 36px rgba(217, 43, 43, 0.18),
            0 0 0 10px rgba(217, 43, 43, 0.10);
        filter: saturate(1.08);
    }
    50% {
        transform: translateY(-4px) scale(1.08) rotate(2deg);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.8),
            0 24px 42px rgba(255, 122, 0, 0.22),
            0 0 0 18px rgba(255, 122, 0, 0.08);
        filter: saturate(1.16);
    }
    75% {
        transform: translateY(-2px) scale(1.04) rotate(-1deg);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.78),
            0 18px 34px rgba(217, 43, 43, 0.16),
            0 0 0 12px rgba(217, 43, 43, 0.08);
        filter: saturate(1.1);
    }
}

@keyframes logoShineSweep {
    0% {
        transform: translateX(-140%) skewX(-24deg);
        opacity: 0;
    }
    15% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.55;
    }
    100% {
        transform: translateX(220%) skewX(-24deg);
        opacity: 0;
    }
}

@keyframes logoFloatShadow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.logo-visual,
.logo-mark,
.footer-logo-wrap {
    position: relative;
    overflow: hidden;
    animation: logoPulseGlow 3s ease-in-out infinite;
    will-change: transform, box-shadow, filter;
}

.logo-visual::after,
.logo-mark::after,
.footer-logo-wrap::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -35%;
    width: 42%;
    height: 140%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 18%,
        rgba(255, 255, 255, 0.72) 50%,
        rgba(255, 255, 255, 0.14) 82%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    mix-blend-mode: screen;
    animation: logoShineSweep 3.4s ease-in-out infinite;
}

.logo.logo-premium:hover .logo-visual,
.logo:hover .logo-mark,
.footer-brand-link:hover .footer-logo-wrap {
    animation-duration: 1.15s;
    transform: scale(1.08);
}

.logo.logo-premium:hover .site-logo-img,
.logo:hover .site-logo-img,
.footer-brand-link:hover .footer-logo-img {
    animation: logoFloatShadow 0.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .logo-visual,
    .logo-mark,
    .footer-logo-wrap,
    .logo-visual::after,
    .logo-mark::after,
    .footer-logo-wrap::after,
    .logo.logo-premium:hover .site-logo-img,
    .logo:hover .site-logo-img,
    .footer-brand-link:hover .footer-logo-img {
        animation: none !important;
    }
}

/* =========================================
   HOME CATEGORY PREMIUM V3
   ========================================= */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-category-card.premium-v3 {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(228, 233, 240, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,1) 100%);
    box-shadow: 0 18px 40px rgba(47, 65, 86, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.home-category-card.premium-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 58px rgba(47, 65, 86, 0.14);
    border-color: rgba(217, 43, 43, 0.16);
}

.home-category-card-glow {
    position: absolute;
    top: -60px;
    right: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.55), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 0;
}

.home-category-bg-shape {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 140px;
    height: 140px;
    border-radius: 32px;
    background: rgba(255,255,255,0.18);
    transform: rotate(18deg);
    z-index: 0;
}

.home-category-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.home-category-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.home-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--secondary);
    font-size: 0.76rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.home-category-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(47, 65, 86, 0.08);
    color: var(--secondary);
    font-size: 0.74rem;
    font-weight: 600;
}

.home-category-arrow {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--secondary);
    font-weight: 900;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease;
}

.home-category-card:hover .home-category-arrow {
    transform: translate(2px, -2px);
}

.home-category-media.premium-v3 {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 12px 24px rgba(47, 65, 86, 0.10);
}

.home-category-icon {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
}

.home-category-body {
    position: relative;
    z-index: 1;
}

.home-category-body h3 {
    margin: 0 0 10px;
    color: var(--secondary);
    font-size: 1.16rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-category-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.75;
    min-height: 84px;
}

.home-category-actions {
    margin-top: auto;
    padding-top: 18px;
    position: relative;
    z-index: 1;
}

.home-category-actions.dual-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.home-category-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 800;
}

.home-category-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(47, 65, 86, 0.10);
    background: rgba(255,255,255,0.78);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 800;
    transition: 0.25s ease;
}

.home-category-secondary-btn:hover {
    background: #fff;
    border-color: rgba(217, 43, 43, 0.16);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Tema renkleri */
.home-category-card.theme-crane {
    background:
        radial-gradient(circle at top right, rgba(255, 177, 0, 0.20), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-category-card.theme-crane .home-category-media {
    background: linear-gradient(135deg, #ffb100, #ff7a00);
}

.home-category-card.theme-construction {
    background:
        radial-gradient(circle at top right, rgba(217, 43, 43, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-category-card.theme-construction .home-category-media {
    background: linear-gradient(135deg, #d92b2b, #ff7a00);
}

.home-category-card.theme-electric {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-category-card.theme-electric .home-category-media {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.home-category-card.theme-chemical {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-category-card.theme-chemical .home-category-media {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.home-category-card.theme-logistics {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-category-card.theme-logistics .home-category-media {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.home-category-card.theme-default {
    background:
        radial-gradient(circle at top right, rgba(47, 65, 86, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-category-card.theme-default .home-category-media {
    background: linear-gradient(135deg, #2f4156, #64748b);
}

.home-category-empty {
    grid-column: 1 / -1;
    padding: 26px;
    border-radius: 20px;
    border: 1px dashed var(--border);
    background: #fafbfd;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1100px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card.premium-v3 {
        min-height: auto;
    }

    .home-category-body p {
        min-height: auto;
    }
}


/* =========================================================
   CMS PAGE BUILDER
   ========================================================= */
.cms-page-builder {
    padding: 24px;
    border-radius: 24px;
}

.cms-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
    gap: 24px;
    align-items: start;
}

.cms-form-main {
    min-width: 0;
}

.cms-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 4px;
}

.cms-tabs .settings-tab {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    color: #0f172a;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.cms-tabs .settings-tab:hover {
    background: #eef2ff;
    border-color: rgba(79, 70, 229, 0.18);
    transform: translateY(-1px);
}

.cms-tabs .settings-tab.is-active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.22);
}

.settings-panel {
    display: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.settings-panel.is-active {
    display: block;
}

.settings-panel .form-group + .form-group {
    margin-top: 16px;
}

.settings-panel input[type="text"],
.settings-panel input[type="number"],
.settings-panel input[type="url"],
.settings-panel textarea,
.settings-panel select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    background: #fff;
    padding: 13px 15px;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.settings-panel textarea {
    min-height: 120px;
    resize: vertical;
}

.settings-panel input:focus,
.settings-panel textarea:focus,
.settings-panel select:focus {
    outline: none;
    border-color: rgba(79, 70, 229, 0.45);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10);
    background: #fff;
}

.settings-panel label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.cms-editor {
    min-height: 320px;
}

.cms-preview-card {
    position: sticky;
    top: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.cms-preview-head {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.cms-preview-head strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.cms-preview-head span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

.cms-preview-cover {
    position: relative;
    min-height: 220px;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.12), transparent 32%),
        linear-gradient(180deg, #f8fafc, #eef2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cms-preview-cover img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.cms-preview-cover-placeholder {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}

.cms-preview-body {
    padding: 20px;
}

.cms-preview-url {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    word-break: break-word;
}

.cms-preview-body h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cms-preview-body p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.cms-preview-seo-box {
    margin-top: 22px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.cms-preview-seo-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cms-preview-seo-title {
    color: #1d4ed8;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    margin-bottom: 8px;
}

.cms-preview-seo-desc {
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

.cms-page-builder .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cms-page-builder .checkbox-line {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.cms-page-builder .checkbox-line label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cms-page-builder .error {
    display: block;
    margin-top: 8px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
}

.tox-tinymce {
    border-radius: 18px !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

@media (max-width: 1180px) {
    .cms-form-grid {
        grid-template-columns: 1fr;
    }

    .cms-preview-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .cms-page-builder {
        padding: 16px;
        border-radius: 18px;
    }

    .settings-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .cms-preview-body h2 {
        font-size: 20px;
    }

    .cms-preview-cover img {
        height: 180px;
    }
}