/* =========================================================
   ADMIN PRODUCTS
   Sadece urun yonetimi sayfasi icin
   ========================================================= */

.admin-products-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.admin-products-page .admin-page-header {
    margin-bottom: 0;
}

.admin-products-page .admin-page-title {
    margin: 0;
}

.admin-products-page .admin-page-description {
    max-width: 820px;
}

/* =========================================================
   FILTER BAR
   ========================================================= */

.admin-products-filter-section {
    display: block;
}

.admin-products-filter-bar {
    align-items: end;
}

.admin-products-filter-bar .admin-filter-group {
    min-width: 220px;
    flex: 1 1 220px;
}

.admin-products-filter-bar .admin-toolbar__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   LIST SECTION
   ========================================================= */

.admin-products-list-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-products-list-section .admin-section-header {
    margin-bottom: 0;
}

.admin-products-list-section .admin-section-title {
    margin: 0;
}

/* =========================================================
   TABLE
   ========================================================= */

.admin-products-list-section .admin-table-wrap {
    overflow: hidden;
}

.admin-products-list-section .admin-table {
    min-width: 1480px;
}

.admin-products-list-section .admin-table td {
    vertical-align: middle;
}

.admin-products-list-section .admin-table th:nth-child(1),
.admin-products-list-section .admin-table td:nth-child(1) {
    width: 70px;
    white-space: nowrap;
}

.admin-products-list-section .admin-table th:nth-child(2),
.admin-products-list-section .admin-table td:nth-child(2) {
    min-width: 220px;
}

.admin-products-list-section .admin-table th:nth-child(3),
.admin-products-list-section .admin-table td:nth-child(3) {
    min-width: 180px;
}

.admin-products-list-section .admin-table th:nth-child(4),
.admin-products-list-section .admin-table td:nth-child(4),
.admin-products-list-section .admin-table th:nth-child(5),
.admin-products-list-section .admin-table td:nth-child(5) {
    min-width: 140px;
}

.admin-products-list-section .admin-table th:nth-child(6),
.admin-products-list-section .admin-table td:nth-child(6) {
    width: 90px;
    white-space: nowrap;
}

.admin-products-list-section .admin-table th:nth-child(7),
.admin-products-list-section .admin-table td:nth-child(7) {
    min-width: 160px;
    white-space: nowrap;
}

.admin-products-list-section .admin-table th:nth-child(8),
.admin-products-list-section .admin-table td:nth-child(8),
.admin-products-list-section .admin-table th:nth-child(9),
.admin-products-list-section .admin-table td:nth-child(9) {
    width: 130px;
    white-space: nowrap;
}

.admin-products-list-section .admin-table th:nth-child(10),
.admin-products-list-section .admin-table td:nth-child(10) {
    min-width: 220px;
}

.admin-products-list-section .admin-table th:nth-child(11),
.admin-products-list-section .admin-table td:nth-child(11) {
    width: 360px;
    white-space: nowrap;
}

.admin-products-list-section .admin-table td:nth-child(2),
.admin-products-list-section .admin-table td:nth-child(3),
.admin-products-list-section .admin-table td:nth-child(4),
.admin-products-list-section .admin-table td:nth-child(5) {
    color: #222222;
    font-weight: 600;
    word-break: break-word;
}

/* =========================================================
   PRICE / SLUG / CONDITION
   ========================================================= */

.admin-products-table__price {
    color: #111111;
    font-weight: 700;
}

.admin-products-table__price.is-empty {
    color: #666666;
    font-weight: 600;
}

.admin-products-table__slug {
    color: #333333;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}

.admin-products-table__condition {
    min-width: 88px;
    text-transform: capitalize;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.admin-products-list-section .admin-table__actions {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-products-list-section .admin-btn--sm {
    min-width: 78px;
}

/* =========================================================
   EMPTY
   ========================================================= */

.admin-products-list-section .admin-empty {
    margin-top: 0;
}

/* =========================================================
   VISUAL POLISH
   ========================================================= */

.admin-products-page .admin-table-wrap,
.admin-products-page .admin-filter-bar {
    background: #ffffff;
}

.admin-products-page .admin-section-title {
    color: #111111;
}

.admin-products-page .admin-section-description {
    color: #666666;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .admin-products-page {
        gap: 22px;
    }

    .admin-products-list-section .admin-table {
        min-width: 1360px;
    }
}

@media (max-width: 992px) {
    .admin-products-page {
        gap: 20px;
    }

    .admin-products-filter-bar .admin-filter-group {
        min-width: 180px;
        flex: 1 1 180px;
    }

    .admin-products-list-section .admin-table {
        min-width: 1260px;
    }
}

@media (max-width: 768px) {
    .admin-products-list-section .admin-section-title {
        font-size: 18px;
    }

    .admin-products-filter-bar .admin-toolbar__right {
        width: 100%;
    }

    .admin-products-list-section .admin-table {
        min-width: 1180px;
    }

    .admin-products-table__slug {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .admin-products-page {
        gap: 18px;
    }

    .admin-products-filter-bar .admin-filter-group {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .admin-products-filter-bar .admin-toolbar__right {
        justify-content: flex-start;
    }

    .admin-products-list-section .admin-table {
        min-width: 1100px;
    }

    .admin-products-list-section .admin-btn--sm {
        min-width: 72px;
    }
}/* =========================================================
   ADMIN PRODUCTS
   Liste + create + edit
   ========================================================= */

.admin-products-page,
.admin-product-form-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-products-filter-section {
    display: block;
}

.admin-products-filter-bar {
    align-items: end;
}

.admin-products-filter-bar .admin-filter-group {
    min-width: 220px;
    flex: 1 1 220px;
}

.admin-products-filter-bar .admin-toolbar__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-product-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-lang-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
    gap: 12px 10px;
    align-items: start;
}

.admin-lang-tabs__input {
    display: none;
}

.admin-lang-tabs__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 12px;
    background: #ffffff;
    color: #222222;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-lang-tabs__panel {
    display: none;
    grid-column: 1 / -1;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    background: #fafafa;
}

.admin-lang-tabs__input:checked + .admin-lang-tabs__label {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.admin-lang-tabs__input:checked + .admin-lang-tabs__label + .admin-lang-tabs__panel {
    display: block;
}

.admin-textarea--sm {
    min-height: 110px;
}

.admin-products-list-section .admin-table {
    min-width: 1480px;
}

.admin-products-list-section .admin-table__actions {
    flex-wrap: wrap;
    gap: 8px;
}

.admin-products-table__price {
    color: #111111;
    font-weight: 700;
}

.admin-products-table__price.is-empty {
    color: #666666;
    font-weight: 600;
}

.admin-products-table__slug {
    color: #333333;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
}

.admin-products-table__condition {
    min-width: 88px;
    text-transform: capitalize;
}

@media (max-width: 992px) {
    .admin-products-page,
    .admin-product-form-page {
        gap: 20px;
    }

    .admin-products-filter-bar .admin-filter-group {
        min-width: 180px;
        flex: 1 1 180px;
    }
}

@media (max-width: 768px) {
    .admin-lang-tabs__panel {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .admin-products-filter-bar .admin-filter-group {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .admin-lang-tabs {
        grid-template-columns: 1fr;
    }
}