.ms-shop-wrap {
    background: #e6e6e6;
    color: #111827;
    padding: 24px;
}

.ms-shop-hero {
    background: linear-gradient(135deg, #f4f5f7 0%, #dde1e6 100%);
    border: 1px solid #cfd5db;
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ms-shop-hero-content {
    max-width: 820px;
}

.ms-mini-badge {
    display: inline-block;
    background: rgba(255, 89, 0, 0.10);
    color: #ff6a00;
    border: 1px solid rgba(255, 89, 0, 0.25);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ms-shop-hero h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #111827;
}

.ms-shop-hero p {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

.ms-shop-search {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 180px;
    gap: 12px;
}

.ms-shop-search input,
.ms-shop-search select {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #cfd5db;
    background: #ffffff;
    color: #111827;
    padding: 0 16px;
    outline: none;
    box-sizing: border-box;
}

.ms-shop-search input::placeholder {
    color: #6b7280;
}

.ms-shop-search button {
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff5a1f 0%, #ff7b00 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ms-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
}

.ms-toolbar-left,
.ms-toolbar-right {
    color: #374151;
}

.ms-clear-filter {
    color: #ff7b00;
    text-decoration: none;
    font-weight: 600;
}

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

.ms-product-card {
    background: #f8f9fb;
    border: 1px solid #d6dbe1;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.ms-product-card:hover {
    transform: translateY(-4px);
    border-color: #bcc5cf;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.ms-product-image {
    position: relative;
    background: #eceff3;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

.ms-stock-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.ms-stock-badge.in {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.ms-stock-badge.low {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.ms-stock-badge.out {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.ms-product-body {
    padding: 18px;
}

.ms-product-brand {
    color: #ff7b00;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ms-product-title {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #111827;
    min-height: 54px;
}

.ms-product-fitment {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ms-product-meta {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 6px;
}

.ms-product-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #dde2e8;
}

.ms-price-area {
    margin-bottom: 14px;
}

.ms-price-label {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 4px;
}

.ms-price {
    display: block;
    color: #111827;
    font-size: 28px;
    font-weight: 800;
}

.ms-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ms-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.ms-btn-primary {
    background: linear-gradient(135deg, #ff5a1f 0%, #ff7b00 100%);
    color: #fff;
}

.ms-btn-primary:hover {
    opacity: 0.92;
}

.ms-btn-dark {
    background: #eef1f4;
    color: #111827;
    border: 1px solid #cfd5db;
}

.ms-btn-dark:hover {
    background: #e3e7eb;
}

.ms-no-products {
    grid-column: 1 / -1;
    background: #f8f9fb;
    border: 1px solid #d6dbe1;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #111827;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

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

    .ms-shop-search {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .ms-shop-search {
        grid-template-columns: 1fr;
    }

    .ms-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ms-shop-hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .ms-shop-wrap {
        padding: 14px;
    }

    .ms-shop-hero {
        padding: 20px;
        border-radius: 18px;
    }

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

    .ms-product-title {
        min-height: auto;
        font-size: 18px;
    }

    .ms-price {
        font-size: 24px;
    }
}
/* =========================================================
   WEBIKE TARZI KADEMELI PARÇA FİLTRESİ
========================================================= */
.ms-pf-wrap {
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.ms-pf-ctx-admin {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.ms-pf-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #d8dee5;
    margin-bottom: 16px;
}
.ms-pf-title {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}
.ms-pf-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.ms-pf-crumb {
    background: #eef2f6;
    color: #334155;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}
.ms-pf-crumb-clear {
    background: #fee2e2;
    color: #b91c1c;
    cursor: pointer;
}
.ms-pf-crumb-clear:hover { background: #fecaca; }
.ms-pf-crumb-empty {
    background: transparent;
    color: #94a3b8;
    font-style: italic;
}
.ms-pf-crumb-sep {
    color: #94a3b8;
}
.ms-pf-step-head {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ms-pf-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #ff6a00;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
.ms-pf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ms-pf-chip {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all .15s ease;
}
.ms-pf-chip:hover {
    border-color: #ff6a00;
    background: #fff7f0;
    color: #ff6a00;
}
.ms-pf-chip-all {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}
.ms-pf-chip-all:hover {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #fff;
}
.ms-pf-empty {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}
.ms-pf-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.ms-pf-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 18px 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all .18s ease;
}
.ms-pf-cat-card:hover {
    border-color: #ff6a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,106,0,0.12);
}
.ms-pf-cat-card.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.ms-pf-cat-icon {
    font-size: 36px;
    margin-bottom: 8px;
}
.ms-pf-cat-label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}
.ms-pf-cat-count {
    font-size: 12px;
    color: #ff6a00;
    font-weight: 700;
}
.ms-pf-subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.ms-pf-subcat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: #1e293b;
    font-size: 14px;
    transition: all .15s ease;
}
.ms-pf-subcat:hover {
    border-color: #ff6a00;
    background: #fff7f0;
}
.ms-pf-subcat.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}
.ms-pf-subcat-all {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
    font-weight: 700;
}
.ms-pf-subcat-all:hover {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #fff;
}
.ms-pf-subcat-label {
    font-weight: 600;
}
.ms-pf-subcat-count {
    color: #ff6a00;
    font-weight: 700;
    font-size: 12px;
}

/* Admin'de details/summary açılır kapanır */
.ms-pf-details {
    border: 1px dashed #94a3b8;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 14px;
    background: #f8fafc;
}
.ms-pf-summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 700;
    color: #0f172a;
    list-style: none;
    user-select: none;
}
.ms-pf-summary::-webkit-details-marker { display: none; }
.ms-pf-summary:hover { background: #eef2f6; }
.ms-pf-details[open] .ms-pf-summary {
    border-bottom: 1px solid #cbd5e1;
}
.ms-pf-details .ms-pf-wrap {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    margin: 0;
}
.ms-pf-summary-aktif {
    color: #ff6a00;
    font-size: 12px;
    margin-left: 6px;
}

@media (max-width: 600px) {
    .ms-pf-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-pf-cat-icon { font-size: 28px; }
    .ms-pf-cat-label { font-size: 13px; }
}

html,
body,
#page,
#content,
.site,
.site-content,
.site-main,
.content-area,
.entry-content,
main,
.container,
.content-wrap {
    background: #e6e6e6 !important;
}