:root {
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bg-page: #f0f4f8;
    --bg-card: #ffffff;
    --border: #d8e0ea;
    --text: #1a2b3c;
    --text-muted: #5a6f82;
    --primary: #1c3d5a;
    --primary-hover: #153049;
    --accent-banner: #1e6fd9;
    --success-bg: #e6f4ea;
    --success-text: #1b5e20;
    --badge-new: #15803d;
    --badge-new-bg: #dcfce7;
    /* Yönetim — modern / Apple tarzı nötrler */
    --admin-canvas: #f5f5f7;
    --admin-elevated: #ffffff;
    --admin-hairline: rgba(60, 60, 67, 0.12);
    --admin-hairline-strong: rgba(60, 60, 67, 0.18);
    --admin-label: rgba(60, 60, 67, 0.56);
    --admin-blue: #0071e3;
    --admin-blue-hover: #0077ed;
    --admin-row-hover: rgba(0, 113, 227, 0.05);
    --admin-radius-lg: 14px;
    --admin-radius-md: 10px;
    --admin-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --admin-sidebar-bg: #f2f2f7;
    --admin-sidebar-active-bg: #ffffff;
    --admin-sidebar-active-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    font-family: var(--font-sans);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body.catalog-body {
    margin: 0;
    touch-action: manipulation;
    /* Apple.com tarzı katalog — yalnızca bu sayfada geçerli tokenlar */
    --bg-page: #f5f5f7;
    --bg-card: #ffffff;
    --border: rgba(60, 60, 67, 0.18);
    --border-subtle: rgba(60, 60, 67, 0.1);
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --primary: #0071e3;
    --primary-hover: #0077ed;
    --accent-banner: #0071e3;
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text);
    line-height: 1.47059;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Üst bilgi şeridi */
.catalog-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    padding: 10px max(20px, env(safe-area-inset-left)) 10px max(20px, env(safe-area-inset-right));
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

.catalog-top-bar__item {
    text-align: center;
}

.catalog-top-bar__actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-left: 8px;
}

.catalog-top-bar__link {
    color: var(--primary);
    font-weight: 500;
}

.catalog-top-bar__link:hover {
    text-decoration: none;
    color: var(--primary-hover);
}

.catalog-top-bar__form {
    display: inline;
    margin: 0;
}

.catalog-top-bar__btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
}

.catalog-top-bar__btn:hover {
    color: var(--primary-hover);
}

/* Başlık — kompakt + isteğe bağlı logo */
.catalog-hero {
    max-width: 920px;
    margin: 0 auto;
    padding: 14px max(22px, env(safe-area-inset-left)) 14px max(22px, env(safe-area-inset-right));
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    text-align: center;
    background: var(--bg-page);
}

.catalog-hero__logo {
    flex: 0 0 auto;
    line-height: 0;
}

.catalog-hero__logo img {
    display: block;
    max-height: 44px;
    width: auto;
    max-width: min(160px, 38vw);
    height: auto;
    object-fit: contain;
}

.catalog-hero__text {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-hero--no-logo {
    flex-direction: column;
}

.catalog-hero--no-logo .catalog-hero__text {
    flex: none;
    width: 100%;
}

.catalog-hero__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.15;
    color: var(--text);
}

.catalog-hero__subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.016em;
    color: var(--text-muted);
}

.catalog-banner {
    background: var(--accent-banner);
    color: #fff;
    padding: 12px 44px 12px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.016em;
    position: relative;
}

.catalog-banner__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    padding: 4px 8px;
    border-radius: 6px;
}

.catalog-banner__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
}

.wrap {
    max-width: 1068px;
    margin: 0 auto;
    padding: 8px max(22px, env(safe-area-inset-left)) 72px max(22px, env(safe-area-inset-right));
}

body.catalog-body .wrap {
    max-width: 920px;
}

/* Katalog: arama + üstte marka/kategori şeridi + liste */
.catalog-layout {
    display: block;
    width: 100%;
}

.catalog-layout--no-filters .catalog-main {
    max-width: 100%;
}

.catalog-sidebar {
    width: 100%;
    max-width: none;
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 30;
    max-height: none;
    overflow-x: visible;
    overflow-y: visible;
    padding: 14px 18px 18px;
    margin: 0 0 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: var(--bg-card);
    background-clip: padding-box;
    box-shadow:
        0 4px 24px -6px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.04);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.catalog-main {
    width: 100%;
    min-width: 0;
    padding-bottom: 8px;
}

/* Sticky filtre çubuğunun, sayfa boyunca “yapışabileceği” yüksek ebeveyn (liste bu blok içinde) */
.catalog-filters-and-results {
    display: block;
    width: 100%;
    min-width: 0;
}

.catalog-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 28px;
}

.catalog-sidebar .catalog-filters-row > .catalog-filter-block {
    flex: 1 1 260px;
    margin-bottom: 0;
    min-width: 0;
}

.catalog-sidebar .catalog-filter-block {
    margin-bottom: 18px;
}

.catalog-sidebar .catalog-filter-block:last-child {
    margin-bottom: 0;
}

.catalog-sidebar .catalog-filter-label {
    margin: 0 0 10px 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

.catalog-sidebar .catalog-filter-select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 11px 14px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text);
    background: rgba(118, 118, 128, 0.1);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.catalog-sidebar .catalog-filter-select:hover {
    background: rgba(118, 118, 128, 0.16);
}

.catalog-sidebar .catalog-filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.28);
    background: rgba(118, 118, 128, 0.08);
}

.catalog-sidebar .catalog-filter-hint {
    margin: 8px 0 0 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

.catalog-search.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    align-items: stretch;
}

.search-row--live {
    margin-bottom: 20px;
}

.search-row--live input[type="search"] {
    flex: 1;
    min-width: 0;
}

.catalog-search input[type="search"],
.catalog-search input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: none;
    border-radius: 16px;
    background: rgba(118, 118, 128, 0.12);
    font-size: 17px;
    letter-spacing: -0.022em;
    color: var(--text);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search input[type="search"]::placeholder,
.catalog-search input[type="text"]::placeholder {
    color: rgba(60, 60, 67, 0.55);
}

.catalog-search input[type="search"]:focus,
.catalog-search input[type="text"]:focus {
    outline: none;
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.35);
}

/* Giriş vb. — catalog-search olmayan formlar */
.search-row:not(.catalog-search) input[type="search"],
.search-row:not(.catalog-search) input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    font-size: 15px;
}

.catalog-results {
    transition: opacity 0.15s ease;
}

.catalog-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: #f8fafc;
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
}

.catalog-empty {
    margin: 48px 0;
    text-align: center;
    font-size: 17px;
    letter-spacing: -0.022em;
    color: var(--text-muted);
}

/* Bölüm başlıkları */
.catalog-section {
    margin-bottom: 18px;
}

.catalog-section + .catalog-section {
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.catalog-section__head {
    margin-bottom: 16px;
}

/* Fiyat kartı (marka başlığı + tablo) */
.catalog-price-card {
    padding: 0;
}

.catalog-price-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px 14px;
}

.catalog-price-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(60, 60, 67, 0.06);
    color: rgba(60, 60, 67, 0.72);
}

.catalog-price-card__icon--logo {
    background: #fff;
    border: 1px solid var(--border-subtle);
    padding: 4px;
}

.catalog-price-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.catalog-price-card__head-text {
    min-width: 0;
}

.catalog-price-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text);
}

.catalog-price-card__subtitle {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text-muted);
    line-height: 1.35;
}

.catalog-price-card__divider {
    height: 1px;
    margin: 0 22px;
    background: var(--border-subtle);
}

.catalog-section__brand {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

.catalog-section__title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.25;
    color: var(--text);
}

.catalog-section__title-main {
    color: var(--text);
}

.catalog-section__title-sep {
    margin: 0 0.35em;
    font-weight: 500;
    color: rgba(60, 60, 67, 0.35);
}

.catalog-section__title-sub {
    color: var(--text-muted);
    font-weight: 500;
}

/* Filtre satırları */
.catalog-filter-block {
    margin-bottom: 24px;
}

.catalog-filter-label {
    margin: 0 0 10px 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

.catalog-brand-strip,
.catalog-category-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.catalog-brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 20px;
    min-height: 36px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.022em;
    color: var(--text);
    text-decoration: none;
    background: var(--bg-card);
    border: none;
    border-radius: 980px;
    box-shadow: 0 0 0 1px rgba(60, 60, 67, 0.18);
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.catalog-brand-pill:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(60, 60, 67, 0.28);
}

.catalog-brand-pill.is-active {
    background: var(--primary);
    box-shadow: none;
    color: #fff;
}

.catalog-brand-pill.is-active:hover {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: none;
}

/* Liste kartı */
.catalog-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 0 0 1px rgba(60, 60, 67, 0.1),
        0 4px 24px rgba(0, 0, 0, 0.04);
}

table.catalog-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.catalog-price-table thead {
    background: #ffffff;
}

.catalog-price-table th {
    text-align: left;
    padding: 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    vertical-align: middle;
}

.catalog-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 10px 18px;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: inherit;
    text-align: left;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.catalog-sort-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text);
}

.catalog-sort-btn__icons {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.15s ease;
}

.catalog-sort-btn:hover .catalog-sort-btn__icons {
    opacity: 0.75;
}

.catalog-sort-btn__chev {
    display: block;
    color: currentColor;
}

.catalog-sort-btn.is-sorted-asc .catalog-sort-btn__chev--down,
.catalog-sort-btn.is-sorted-desc .catalog-sort-btn__chev:not(.catalog-sort-btn__chev--down) {
    opacity: 0.22;
}

.catalog-sort-btn.is-sorted-asc .catalog-sort-btn__icons,
.catalog-sort-btn.is-sorted-desc .catalog-sort-btn__icons {
    opacity: 1;
}

.catalog-price-table th:nth-child(2) .catalog-sort-btn,
.catalog-price-table th:nth-child(3) .catalog-sort-btn {
    justify-content: center;
    text-align: center;
}

.catalog-price-table th:nth-child(3) .catalog-sort-btn {
    justify-content: flex-end;
}

.catalog-price-table td {
    padding: 8px 18px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.catalog-price-table tbody tr:last-child td {
    border-bottom: none;
}

.catalog-price-table tbody tr {
    transition: background 0.15s ease;
}

.product-cell {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.product-cell__lead {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.product-cell__name {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
}

.product-cell__brand-logo {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: #fff;
    box-sizing: border-box;
}

.product-cell__brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-title__text {
    flex: 0 1 auto;
    min-width: 0;
    line-height: 1.25;
}

.product-cell__name .badge-new {
    flex-shrink: 0;
}

.product-cell__color-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-trend {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 0.95;
}

.product-trend__chart {
    display: block;
}

.product-trend--up {
    color: #e53935;
}

.product-trend--down {
    color: #2e7d32;
}

.product-trend--down .product-trend__chart {
    transform: scaleY(-1);
    transform-origin: 50% 50%;
}

.badge-new {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: none;
    letter-spacing: 0.02em;
    background: #e3f2fd;
    color: #1565c0;
    padding: 2px 7px;
    border-radius: 980px;
    vertical-align: baseline;
    border: 1px solid rgba(21, 101, 192, 0.18);
}

.pill-stock {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.pill-in {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.pill-out {
    background: rgba(255, 59, 48, 0.1);
    color: #c62828;
    border: 1px solid rgba(198, 40, 40, 0.15);
}

.catalog-price-cell {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--text);
    text-align: right;
}

.catalog-price-table th:nth-child(2),
.catalog-price-table td:nth-child(2) {
    text-align: center;
}

.catalog-price-table th:last-child,
.catalog-price-table td:last-child {
    text-align: right;
}

.meta-muted {
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.35;
}

.meta-muted--sub {
    margin-top: 3px;
    font-size: 11px;
}

/* Katalog — tablet: filtre kartı biraz sıkı */
@media (max-width: 900px) {
    .catalog-sidebar {
        padding: 10px 14px 12px;
        margin-bottom: 8px;
        border-radius: 14px;
        box-shadow:
            0 2px 14px -4px rgba(0, 0, 0, 0.07),
            0 0 0 0.5px rgba(0, 0, 0, 0.04);
    }

    .catalog-sidebar .catalog-filters-row {
        gap: 10px 16px;
    }

    .catalog-sidebar .catalog-filter-label {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .catalog-sidebar .catalog-filter-select {
        font-size: 16px;
        padding: 9px 12px;
        min-height: 42px;
        border-radius: 11px;
    }

    .catalog-sidebar .catalog-filter-hint {
        font-size: 10px;
        margin-top: 5px;
        line-height: 1.3;
    }

    .catalog-search.search-row {
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    body.catalog-body .wrap {
        padding-top: 4px;
        padding-bottom: max(40px, calc(16px + env(safe-area-inset-bottom)));
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .catalog-hero {
        padding: 12px max(14px, env(safe-area-inset-left)) 12px max(14px, env(safe-area-inset-right));
        gap: 10px 14px;
    }

    .catalog-hero__logo img {
        max-height: 38px;
        max-width: min(140px, 42vw);
    }

    .catalog-hero__title {
        font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    }

    .catalog-hero__subtitle {
        font-size: 12px;
        margin-top: 2px;
    }

    .catalog-top-bar {
        padding: 8px max(12px, env(safe-area-inset-left)) 8px max(12px, env(safe-area-inset-right));
        font-size: 11px;
        gap: 8px 12px;
    }

    .catalog-banner {
        padding: 10px max(40px, calc(12px + env(safe-area-inset-right))) 10px max(14px, env(safe-area-inset-left));
        font-size: 13px;
    }

    .catalog-search.search-row {
        margin-bottom: 18px;
    }

    .catalog-search input[type="search"],
    .catalog-search input[type="text"] {
        min-width: 0;
        width: 100%;
        font-size: 16px;
        padding: 12px 16px;
    }

    /* Sticky filtre: mümkün olduğunca az yer */
    .catalog-sidebar {
        padding: 7px 10px 9px;
        margin: 0 0 6px;
        border-radius: 11px;
        box-shadow: 0 1px 0 rgba(60, 60, 67, 0.08), 0 4px 12px -6px rgba(0, 0, 0, 0.06);
    }

    .catalog-sidebar .catalog-filters-row {
        gap: 6px 8px;
        align-items: stretch;
    }

    .catalog-sidebar .catalog-filters-row > .catalog-filter-block {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        margin-bottom: 0;
    }

    .catalog-sidebar .catalog-filter-block {
        margin-bottom: 0;
    }

    .catalog-sidebar .catalog-filter-label {
        margin: 0 0 3px 1px;
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(110, 110, 115, 0.95);
    }

    .catalog-sidebar .catalog-filter-select {
        padding: 6px 9px;
        min-height: 40px;
        font-size: 16px;
        line-height: 1.25;
        border-radius: 9px;
    }

    .catalog-sidebar .catalog-filter-select:focus {
        box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.22);
    }

    .catalog-sidebar .catalog-filter-hint {
        display: none;
    }

    .catalog-empty {
        margin: 32px 0;
        font-size: 15px;
        padding: 0 8px;
    }

    .catalog-section {
        margin-bottom: 16px;
    }

    .catalog-section + .catalog-section {
        padding-top: 12px;
    }

    .catalog-section__head {
        margin-bottom: 12px;
    }

    .catalog-section__title {
        font-size: clamp(1.05rem, 4.2vw, 1.2rem);
        line-height: 1.3;
    }

    /* Mobil: kart genişliğinde tablo; yatay kaydırma yok */
    .catalog-table-wrap {
        overflow-x: hidden;
        overflow-y: visible;
        -webkit-overflow-scrolling: auto;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 0 0 1px rgba(60, 60, 67, 0.1);
        margin: 0;
        max-width: 100%;
    }

    .catalog-price-card__header {
        padding: 14px 14px 10px;
        gap: 10px;
    }

    .catalog-price-card__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .catalog-price-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .catalog-price-card__title {
        font-size: 1rem;
    }

    .catalog-price-card__subtitle {
        font-size: 12px;
    }

    .catalog-price-card__divider {
        margin: 0 14px;
    }

    .product-trend {
        display: none;
    }

    table.catalog-price-table {
        display: table;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        table-layout: fixed;
        border-collapse: collapse;
    }

    .catalog-price-table thead {
        display: table-header-group;
    }

    .catalog-price-table tbody {
        display: table-row-group;
    }

    .catalog-price-table tbody tr {
        display: table-row;
        background: transparent;
        box-shadow: none;
    }

    .catalog-price-table th {
        padding: 0;
        font-size: 11px;
        line-height: 1.2;
        background: #ffffff;
        border-bottom: 1px solid var(--border-subtle);
    }

    .catalog-sort-btn {
        padding: 8px 6px;
        font-size: 10px;
        gap: 4px;
    }

    .catalog-sort-btn__label {
        text-align: center;
        line-height: 1.25;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .catalog-price-table th:nth-child(1) .catalog-sort-btn {
        text-align: left;
        justify-content: flex-start;
    }

    .catalog-price-table th:nth-child(1) .catalog-sort-btn__label {
        text-align: left;
    }

    .catalog-price-table th:nth-child(3) .catalog-sort-btn__label {
        white-space: normal;
    }

    .catalog-sort-currency {
        display: none;
    }

    .catalog-sort-btn__icons {
        gap: 1px;
    }

    .catalog-price-table td {
        display: table-cell;
        padding: 6px 10px;
        font-size: 12px;
        line-height: 1.25;
        letter-spacing: -0.02em;
        border-bottom: 1px solid var(--border-subtle);
        vertical-align: middle;
    }

    .catalog-price-table th:nth-child(1),
    .catalog-price-table td:nth-child(1) {
        width: 40%;
    }

    .catalog-price-table th:nth-child(2),
    .catalog-price-table td:nth-child(2) {
        width: 26%;
        text-align: center;
    }

    .catalog-price-table th:nth-child(3),
    .catalog-price-table td:nth-child(3) {
        width: 34%;
        text-align: right;
    }

    .catalog-price-table td:nth-child(1) {
        text-align: left !important;
        overflow: hidden;
    }

    .catalog-price-table td:first-child .product-cell {
        flex-wrap: wrap;
        gap: 4px 8px;
        font-size: 12px;
    }

    .catalog-price-table td:first-child .product-cell__lead {
        flex: 1 1 100%;
        min-width: 0;
        gap: 4px;
    }

    .catalog-price-table td:first-child .product-cell__name {
        min-width: 0;
        flex: 1 1 auto;
    }

    .catalog-price-table td:first-child .product-cell__brand-logo {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .catalog-price-table td:first-child .product-title__text {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .catalog-price-table td:first-child .product-cell__color-text {
        flex: 1 1 100%;
        max-width: none;
        white-space: normal;
        font-size: 11px;
    }

    .catalog-price-table td:first-child .meta-muted {
        display: none;
    }

    .catalog-price-table td:first-child .badge-new {
        font-size: 8px;
        padding: 2px 6px;
        flex-shrink: 0;
    }

    .catalog-price-table .pill-stock {
        padding: 3px 8px;
        font-size: 11px;
        font-weight: 600;
    }

    .catalog-price-cell {
        font-size: 13px;
        font-weight: 600;
        text-align: right !important;
        white-space: nowrap;
    }

    .meta-muted {
        font-size: 11px;
    }
}

@media (hover: hover) and (min-width: 641px) {
    .catalog-price-table tbody tr:hover {
        background: rgba(0, 113, 227, 0.04);
    }
}

/* Admin */
body.admin-body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--admin-canvas);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.admin-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

.card-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(28, 61, 90, 0.06);
}

.form-title {
    margin: 0 0 8px;
    font-size: 1.35rem;
}
.form-sub {
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.field {
    margin-bottom: 20px;
}
.field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}
.field .hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}
.field textarea {
    resize: vertical;
    min-height: 88px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(30, 111, 217, 0.35);
    border-color: #1e6fd9;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-row input {
    width: auto;
}

.row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) {
    .row-inline {
        grid-template-columns: 1fr;
    }
}

.dynamic-rows .row-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.dynamic-rows .row-item input {
    flex: 1;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.error-text {
    color: #c62828;
    font-size: 13px;
    margin-top: 4px;
}

.flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #e8f1fc;
    color: var(--primary);
    border: 1px solid #c5daf5;
}

.flash--error {
    background: #fdeaea;
    color: #9b1c1c;
    border-color: #f0c4c4;
}

.login-box {
    max-width: 400px;
    margin: 60px auto;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.admin-table th,
.admin-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.admin-table th {
    background: #f4f7fb;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

/* Admin shell + sidebar (macOS Ayarlar tarzı) */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 268px;
    flex-shrink: 0;
    background: var(--admin-sidebar-bg);
    border-right: 1px solid var(--admin-hairline);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
}

.admin-sidebar-header {
    padding: 20px 16px 16px;
    flex-shrink: 0;
}

.admin-sidebar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    padding: 4px 8px;
    margin: -4px -8px;
    transition: background 0.15s ease;
}

.admin-sidebar-brand-mark {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--admin-blue);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.admin-sidebar-brand-mark svg {
    display: block;
}

.admin-sidebar-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.admin-sidebar-brand:hover {
    background: rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
}

.admin-sidebar-brand-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    line-height: 1.2;
}

.admin-sidebar-brand-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--admin-label);
    letter-spacing: -0.01em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.admin-sidebar-nav {
    padding: 4px 0 8px;
}

.admin-sidebar-section {
    margin-bottom: 4px;
}

.admin-sidebar-section-title {
    margin: 0;
    padding: 14px 20px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(60, 60, 67, 0.5);
}

.admin-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-sidebar-list--footer {
    padding: 0 8px;
}

.admin-nav-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    margin: 1px 8px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
    transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.admin-nav-row:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    text-decoration: none;
}

.admin-nav-row.is-active {
    background: var(--admin-sidebar-active-bg);
    color: #1d1d1f;
    font-weight: 600;
    box-shadow: var(--admin-sidebar-active-shadow);
}

.admin-nav-row--subtle {
    color: rgba(60, 60, 67, 0.82);
    font-size: 14px;
    font-weight: 500;
}

.admin-nav-row--subtle:hover {
    color: #1d1d1f;
}

.admin-nav-row--button {
    margin: 1px 8px;
}

.admin-nav-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(60, 60, 67, 0.72);
}

.admin-nav-row.is-active .admin-nav-icon {
    color: var(--admin-blue);
}

.admin-nav-icon--subtle {
    color: rgba(60, 60, 67, 0.55);
}

.admin-nav-row--subtle .admin-nav-icon--subtle {
    color: rgba(60, 60, 67, 0.5);
}

.admin-nav-label {
    flex: 1;
    min-width: 0;
}

.admin-sidebar-form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.admin-sidebar-footer {
    flex-shrink: 0;
    padding: 10px 0 18px;
    margin-top: auto;
    border-top: 1px solid var(--admin-hairline);
    background: var(--admin-sidebar-bg);
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--admin-elevated);
}

.admin-topbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--admin-hairline);
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.admin-topbar-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1d1d1f;
}

.admin-content {
    padding: 24px 32px 56px;
    flex: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.admin-content.admin-full {
    max-width: 1400px;
}

.admin-content.admin-narrow {
    max-width: 760px;
}

.admin-content.admin-wide {
    max-width: 1120px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--admin-elevated);
    border: 1px solid var(--admin-hairline);
    border-radius: var(--admin-radius-lg);
    padding: 22px;
    text-align: center;
    box-shadow: var(--admin-shadow-soft);
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    line-height: 1.1;
}

.stat-label {
    font-size: 14px;
    color: var(--admin-label);
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

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

.two-col-admin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        min-height: 0;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--admin-hairline);
    }
    .admin-sidebar-scroll {
        max-height: none;
        overflow: visible;
    }
    .admin-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 6px;
        padding: 8px 10px 12px;
    }
    .admin-sidebar-section {
        display: contents;
    }
    .admin-sidebar-section-title {
        grid-column: 1 / -1;
        padding: 12px 16px 6px;
    }
    .admin-sidebar-list {
        display: contents;
    }
    .admin-sidebar-list li {
        display: contents;
    }
    .admin-nav-row {
        margin: 0;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        padding: 10px 8px;
        text-align: center;
        font-size: 12px;
    }
    .admin-nav-label {
        line-height: 1.25;
    }
    .admin-nav-icon {
        flex: none;
    }
    .admin-sidebar-footer {
        border-top: 1px solid var(--admin-hairline);
        padding: 12px 10px 16px;
    }
    .admin-sidebar-list--footer {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 0;
    }
    .admin-sidebar-list--footer li {
        display: block;
    }
    .admin-sidebar-form {
        display: inline;
    }
    .admin-nav-row--subtle.admin-nav-row--button {
        width: auto;
        display: inline-flex;
    }
    .two-col-admin {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .admin-content {
        padding: 20px max(16px, env(safe-area-inset-left)) max(48px, calc(24px + env(safe-area-inset-bottom))) max(16px, env(safe-area-inset-right));
    }
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

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

.admin-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f6;
    font-size: 14px;
}

.admin-list-item:last-child {
    border-bottom: none;
}

.category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-tree > li {
    margin-bottom: 12px;
}

.category-main {
    font-size: 15px;
}

.category-sublist {
    list-style: none;
    margin: 8px 0 0 12px;
    padding: 0;
}

/* Ürün formu — kompakt ızgara */
.admin-content.admin-product-form {
    max-width: 920px;
}

.card-form--product {
    padding: 16px 18px 18px;
}

.pf-edit-meta {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.product-form-compact {
    margin-bottom: 0;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px 12px;
    align-items: end;
}

.pf-span-4 {
    grid-column: span 4;
}

.pf-span-12 {
    grid-column: span 12;
}

.pf-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pf-field .hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    font-size: 11px;
}

.pf-field input,
.pf-field select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
}

.pf-field input:focus,
.pf-field select:focus {
    outline: 2px solid rgba(30, 111, 217, 0.3);
    border-color: #1e6fd9;
}

.pf-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-bottom: 4px;
}

.pf-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    margin: 0;
}

.pf-inline-check input {
    width: auto;
    margin: 0;
}

@media (max-width: 720px) {
    .pf-span-4 {
        grid-column: span 12;
    }
}

.product-form-details {
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f4f7fb;
    overflow: hidden;
}

.product-form-details summary {
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    list-style: none;
    user-select: none;
}

.product-form-details summary::-webkit-details-marker {
    display: none;
}

.pf-details-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.product-form-details-body {
    padding: 12px;
    border-top: 1px solid var(--border);
    background: #fff;
    display: grid;
    gap: 10px;
}

.pf-field-tight > label {
    margin-bottom: 4px;
}

.dynamic-rows-compact .row-item {
    margin-bottom: 6px;
}

.dynamic-rows-compact .row-item input {
    padding: 7px 10px;
    font-size: 13px;
}

.pf-add-btn {
    margin-top: 6px;
}

.pf-extra-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2.25rem;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.pf-extra-row input {
    padding: 7px 10px;
    font-size: 13px;
    min-width: 0;
}

.pf-extra-spacer {
    width: 2.25rem;
}

.product-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    position: sticky;
    bottom: 0;
    background: var(--bg-card);
    box-shadow: 0 -8px 24px rgba(255, 255, 255, 0.9);
    z-index: 1;
}

/* Yönetim — ürün listesi (modern / Apple tarzı) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.product-list-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 240px;
}

.product-list-search input[type="search"] {
    flex: 1;
    min-width: 200px;
    max-width: 520px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--admin-hairline-strong);
    border-radius: var(--admin-radius-md);
    font-size: 15px;
    background: var(--admin-elevated);
    color: #1d1d1f;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-list-search input[type="search"]::placeholder {
    color: var(--admin-label);
}

.product-list-search input[type="search"]:focus {
    outline: none;
    border-color: var(--admin-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: var(--admin-radius-md);
    font-size: 15px;
    font-weight: 500;
    background: var(--admin-blue);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
}

.btn-admin-primary:hover {
    background: var(--admin-blue-hover);
    color: #fff;
    text-decoration: none;
}

.btn-admin-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--admin-hairline-strong);
    border-radius: var(--admin-radius-md);
    font-size: 15px;
    font-weight: 500;
    background: var(--admin-elevated);
    color: #1d1d1f;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-admin-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #1d1d1f;
    text-decoration: none;
}

.product-list-new {
    flex-shrink: 0;
}

.product-sheet-wrap {
    overflow-x: auto;
    border-radius: var(--admin-radius-lg);
    background: var(--admin-elevated);
    border: 1px solid var(--admin-hairline);
    box-shadow: var(--admin-shadow-soft);
    -webkit-overflow-scrolling: touch;
}

.product-sheet {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
    line-height: 1.4;
    font-family: inherit;
}

.product-sheet thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(250, 250, 252, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--admin-hairline);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: var(--admin-label);
    white-space: nowrap;
}

.product-sheet tbody td {
    border-bottom: 1px solid var(--admin-hairline);
    padding: 14px 16px;
    vertical-align: middle;
    background: transparent;
    color: #1d1d1f;
}

.product-sheet tbody tr:last-child td {
    border-bottom: none;
}

.product-sheet tbody tr:hover td {
    background: var(--admin-row-hover);
}

.product-sheet .col-code {
    width: 1%;
    white-space: nowrap;
}

.product-sheet .col-name {
    min-width: 200px;
    max-width: 360px;
}

.product-sheet .col-brand {
    white-space: nowrap;
}

.product-sheet .col-cat {
    min-width: 120px;
}

.product-sheet .col-num {
    width: 1%;
}

.product-sheet .col-flag {
    width: 1%;
    text-align: center;
}

.product-sheet .col-actions {
    width: 1%;
    white-space: nowrap;
}

.cell-mono {
    font-family: "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 13px;
    color: var(--admin-label);
    font-weight: 500;
}

.cell-name {
    font-weight: 500;
    letter-spacing: -0.015em;
}

.cell-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cell-center {
    text-align: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.status-pill--ok {
    background: rgba(52, 199, 89, 0.15);
    color: #248a3d;
}

.status-pill--no {
    background: rgba(255, 59, 48, 0.12);
    color: #d70015;
}

.status-pill--neutral {
    background: rgba(60, 60, 67, 0.08);
    color: var(--admin-label);
    font-weight: 500;
}

.status-pill--accent {
    background: rgba(0, 113, 227, 0.12);
    color: var(--admin-blue);
}

.sheet-empty {
    padding: 48px 24px !important;
    text-align: center;
    font-size: 15px;
    color: var(--admin-label);
    background: transparent !important;
}

.row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.row-action {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: var(--admin-blue);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s ease;
}

a.row-action:hover {
    background: rgba(0, 113, 227, 0.08);
    text-decoration: none;
    color: var(--admin-blue);
}

button.row-action:hover {
    background: rgba(0, 113, 227, 0.08);
}

.row-action--danger {
    color: #d70015;
}

.row-action--danger:hover {
    background: rgba(255, 59, 48, 0.1);
    color: #d70015;
}

.sheet-inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.product-sheet-footer {
    margin-top: 20px;
}

.admin-content .flash {
    border-radius: var(--admin-radius-md);
    border: 1px solid rgba(0, 113, 227, 0.2);
    background: rgba(0, 113, 227, 0.06);
    color: #1d1d1f;
    margin-bottom: 16px;
}

.btn-admin-compact {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pagination-nav__info {
    font-size: 14px;
    color: var(--admin-label);
    font-variant-numeric: tabular-nums;
}

.pagination-nav__muted {
    font-size: 14px;
    color: var(--admin-label);
    opacity: 0.65;
}
