/**
 * FAZ 13E — Sade Kitap Kahve müşteri menüsü (menu-web.php, kategori.php)
 * Ana site görsel dili: #0f8ca8 / #0b4058, Outfit, hero + yuvarlak sheet
 */
body.sadekitap-menu-theme {
    --skk-brand: #0f8ca8;
    --skk-brand-dark: #0b4058;
    --skk-brand-mid: rgba(11, 64, 88, 0.8);
    --skk-brand-glow: rgba(15, 140, 168, 0.35);
    --skk-page-bg: #f1f5f9;
    --skk-sheet-bg: #f8fafc;
    --skk-card-bg: #ffffff;
    --skk-border: #f3f4f6;
    --skk-border-strong: #e5e7eb;
    --skk-text: #111827;
    --skk-muted: #6b7280;
    --skk-label: #9ca3af;
    --skk-shell-max: 480px;
    --skk-radius-xl: 1rem;
    --skk-radius-2xl: 1.25rem;
    --skk-radius-sheet: 2rem;
    --c-500: var(--skk-brand);
    --c-600: var(--skk-brand);
    --c-700: var(--skk-brand-dark);
    --brand: var(--skk-brand);
    --brand-dark: var(--skk-brand-dark);
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
    background: var(--skk-page-bg);
    color: var(--skk-text);
}

body.sadekitap-menu-theme .app-shell {
    max-width: var(--skk-shell-max);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--skk-sheet-bg);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    position: relative;
}

/* ── Hero ── */
body.sadekitap-menu-theme .skk-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}

body.sadekitap-menu-theme .skk-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body.sadekitap-menu-theme .skk-hero-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    filter: contrast(1.04) saturate(0.92) brightness(0.96);
}

body.sadekitap-menu-theme .skk-hero-logo-bg {
    position: absolute;
    right: -22px;
    bottom: -26px;
    width: 14rem;
    height: 14rem;
    object-fit: contain;
    filter: grayscale(1) contrast(1.1) brightness(0.2);
    opacity: 0.22;
    pointer-events: none;
}

body.sadekitap-menu-theme .skk-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(3, 19, 27, 0.95), rgba(11, 64, 88, 0.8), rgba(15, 140, 168, 0.35));
}

body.sadekitap-menu-theme .skk-hero-actions {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 1rem;
}

body.sadekitap-menu-theme .skk-hero-actions-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.sadekitap-menu-theme .skk-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--skk-radius-xl);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

body.sadekitap-menu-theme .skk-hero-btn:active {
    transform: scale(0.95);
}

body.sadekitap-menu-theme .skk-hero-btn-icon {
    width: 36px;
    padding: 0;
}

body.sadekitap-menu-theme .skk-hero-btn-brand {
    background: var(--skk-brand);
    border-color: transparent;
    box-shadow: 0 10px 25px var(--skk-brand-glow);
}

body.sadekitap-menu-theme .skk-hero-btn-brand:hover {
    background: #0d7a94;
}

body.sadekitap-menu-theme .skk-hero-body {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.25rem 1.25rem 2.5rem;
}

body.sadekitap-menu-theme .skk-hero-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    object-fit: contain;
    object-position: center;
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    padding: 4px;
}

body.sadekitap-menu-theme .skk-hero-text {
    min-width: 0;
    flex: 1;
    text-align: left;
}

body.sadekitap-menu-theme .skk-hero-text h1 {
    margin: 0;
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.sadekitap-menu-theme .skk-hero-text p {
    margin: 0.15rem 0 0;
    font-size: 12px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Main sheet ── */
body.sadekitap-menu-theme .main-content.skk-main-sheet,
body.sadekitap-menu-theme .skk-main-sheet {
    position: relative;
    z-index: 30;
    margin-top: -1.5rem;
    border-radius: var(--skk-radius-sheet) var(--skk-radius-sheet) 0 0;
    background: var(--skk-sheet-bg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.25rem 6.5rem;
    min-height: 50vh;
    overflow: hidden;
}

body.sadekitap-menu-theme .section-label {
    margin: 0 0 1rem;
    padding-left: 0.25rem;
}

body.sadekitap-menu-theme .section-label span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--skk-label);
}

/* ── Category grid ── */
body.sadekitap-menu-theme .category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

body.sadekitap-menu-theme .category-card {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: var(--skk-radius-2xl);
    overflow: hidden;
    border: 1px solid var(--skk-border);
    background: var(--skk-card-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.sadekitap-menu-theme .category-card:active {
    transform: scale(0.98);
}

body.sadekitap-menu-theme .category-card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

body.sadekitap-menu-theme .category-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    filter: contrast(1.04) saturate(0.92) brightness(0.96);
}

body.sadekitap-menu-theme .category-card:hover img {
    transform: scale(1.05);
}

body.sadekitap-menu-theme .category-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 0.75rem;
    text-align: center;
    pointer-events: none;
}

body.sadekitap-menu-theme .category-card-name {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    background: none;
    border: 0;
    backdrop-filter: none;
    word-break: break-word;
}

body.sadekitap-menu-theme .category-card-count {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    z-index: 2;
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88) !important;
    background: none;
    border: 0;
    backdrop-filter: none;
}

/* ── Popular strip ── */
body.sadekitap-menu-theme .popular-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

body.sadekitap-menu-theme .popular-card {
    flex: 0 0 132px;
    scroll-snap-align: start;
    border-radius: var(--skk-radius-2xl);
    overflow: hidden;
    background: var(--skk-card-bg);
    border: 1px solid var(--skk-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sadekitap-menu-theme .popular-card:active {
    transform: scale(0.98);
}

body.sadekitap-menu-theme .popular-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92) brightness(0.96);
}

body.sadekitap-menu-theme .popular-name,
body.sadekitap-menu-theme .popular-price {
    display: block;
    padding: 0 0.6rem;
}

body.sadekitap-menu-theme .popular-name {
    margin-top: 0.45rem;
    font-size: 12px;
    font-weight: 700;
    color: var(--skk-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.sadekitap-menu-theme .popular-price {
    padding-bottom: 0.6rem;
    margin-top: 0.15rem;
    font-size: 13px;
    font-weight: 700;
    color: var(--skk-brand);
}

/* ── Product cards (kategori) ── */
body.sadekitap-menu-theme .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.sadekitap-menu-theme .product-card {
    display: flex;
    gap: 0;
    overflow: hidden;
    border-radius: var(--skk-radius-2xl);
    padding: 0.75rem;
    background: var(--skk-card-bg);
    border: 1px solid var(--skk-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sadekitap-menu-theme .product-card:active {
    transform: scale(0.99);
}

body.sadekitap-menu-theme .product-card:hover {
    border-color: var(--skk-border-strong);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

body.sadekitap-menu-theme .product-media {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
    border-radius: var(--skk-radius-xl);
    overflow: hidden;
    background: #f9fafb;
}

body.sadekitap-menu-theme .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.04) saturate(0.92) brightness(0.96);
}

body.sadekitap-menu-theme .product-media--pending,
body.sadekitap-menu-theme .cart-item-pending,
body.sadekitap-menu-theme .search-result-pending,
body.sadekitap-menu-theme .smart-item-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    flex-shrink: 0;
    overflow: hidden;
}

body.sadekitap-menu-theme .product-media--pending {
    width: 100%;
    height: 100%;
}

body.sadekitap-menu-theme .cart-item-pending {
    width: 4rem;
    height: 4rem;
    border-radius: var(--skk-radius-xl);
}

body.sadekitap-menu-theme .search-result-pending {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: var(--skk-radius-xl);
}

body.sadekitap-menu-theme .smart-item-pending {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: var(--skk-radius-xl);
}

body.sadekitap-menu-theme .product-media-pending {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.35rem;
}

body.sadekitap-menu-theme .product-info {
    flex: 1;
    min-width: 0;
    margin-left: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.1rem 0;
}

body.sadekitap-menu-theme .product-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--skk-text);
    white-space: normal;
    overflow: visible;
    word-break: break-word;
    overflow-wrap: break-word;
}

body.sadekitap-menu-theme .product-category {
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    color: var(--skk-muted);
    background: #f3f4f6;
    border: 1px solid var(--skk-border-strong);
    border-radius: 0.35rem;
    padding: 0.15rem 0.4rem;
}

body.sadekitap-menu-theme .product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--skk-brand);
}

body.sadekitap-menu-theme .btn-add {
    min-height: 32px;
    padding: 0.25rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid var(--skk-border-strong);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: var(--skk-brand);
    font-size: 12px;
    font-weight: 700;
}

body.sadekitap-menu-theme .btn-add:active {
    transform: scale(0.97);
    background: var(--skk-brand-soft, rgba(15, 140, 168, 0.08));
}

body.sadekitap-menu-theme .fav-btn {
    color: #d1d5db;
    font-size: 18px;
}

body.sadekitap-menu-theme .fav-btn.active {
    color: var(--skk-brand);
}

body.sadekitap-menu-theme .tag-campaign,
body.sadekitap-menu-theme .tag-featured {
    background: rgba(15, 140, 168, 0.1);
    color: var(--skk-brand-dark);
    border: 1px solid rgba(15, 140, 168, 0.2);
}

/* ── Filter bar ── */
body.sadekitap-menu-theme .faz11b-filter-compact.card {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 0.5rem !important;
}

body.sadekitap-menu-theme .faz11b-filter-compact .card-body {
    padding: 0;
}

body.sadekitap-menu-theme .filter-bar label {
    font-size: 11px;
    font-weight: 600;
    color: var(--skk-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.sadekitap-menu-theme .filter-input,
body.sadekitap-menu-theme .filter-select {
    border-radius: var(--skk-radius-xl);
    border: 1px solid var(--skk-border-strong);
    background: #fff;
    font-family: inherit;
}

body.sadekitap-menu-theme .filter-input:focus,
body.sadekitap-menu-theme .filter-select:focus {
    outline: none;
    border-color: var(--skk-brand);
    box-shadow: 0 0 0 3px rgba(15, 140, 168, 0.15);
}

body.sadekitap-menu-theme .filter-count {
    color: var(--skk-brand);
    font-weight: 700;
}

body.sadekitap-menu-theme .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

body.sadekitap-menu-theme .filter-chip {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 9999px;
    border: 1px solid var(--skk-border-strong);
    background: #fff;
    color: var(--skk-muted);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
}

body.sadekitap-menu-theme .filter-chip.active {
    background: var(--skk-brand);
    border-color: var(--skk-brand);
    color: #fff;
    box-shadow: 0 8px 20px var(--skk-brand-glow);
}

/* ── Sticky bar ── */
body.sadekitap-menu-theme .menu-sticky-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 120;
    width: min(100%, var(--skk-shell-max));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--skk-border-strong);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

body.sadekitap-menu-theme .menu-sticky-btn {
    min-height: 48px;
    border-radius: var(--skk-radius-xl);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--skk-border-strong);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sadekitap-menu-theme .menu-sticky-btn:active {
    transform: scale(0.98);
}

body.sadekitap-menu-theme .menu-sticky-btn.menu-sticky-waiter {
    background: #fff;
    color: var(--skk-brand-dark);
}

body.sadekitap-menu-theme .menu-sticky-btn.menu-sticky-cart {
    background: var(--skk-brand);
    border-color: var(--skk-brand);
    color: #fff;
    box-shadow: 0 10px 25px var(--skk-brand-glow);
}

body.sadekitap-menu-theme .menu-sticky-badge {
    background: #fff;
    color: var(--skk-brand-dark);
}

/* ── Modals & overlays ── */
body.sadekitap-menu-theme .overlay .modal,
body.sadekitap-menu-theme .search-overlay {
    font-family: inherit;
}

body.sadekitap-menu-theme .modal {
    border-radius: var(--skk-radius-2xl) var(--skk-radius-2xl) 0 0;
    border: 1px solid var(--skk-border);
}

body.sadekitap-menu-theme .modal-title {
    color: var(--skk-brand-dark);
    font-weight: 800;
}

body.sadekitap-menu-theme .btn-primary {
    background: var(--skk-brand) !important;
    border-color: var(--skk-brand) !important;
    color: #fff !important;
    border-radius: var(--skk-radius-xl);
    font-weight: 700;
    box-shadow: 0 10px 25px var(--skk-brand-glow);
}

body.sadekitap-menu-theme .btn-secondary {
    border-radius: var(--skk-radius-xl);
    font-weight: 600;
    border-color: var(--skk-border-strong);
}

body.sadekitap-menu-theme .form-input,
body.sadekitap-menu-theme .form-textarea {
    border-radius: var(--skk-radius-xl);
    border-color: var(--skk-border-strong);
    font-family: inherit;
}

body.sadekitap-menu-theme .form-input:focus,
body.sadekitap-menu-theme .form-textarea:focus {
    border-color: var(--skk-brand);
    box-shadow: 0 0 0 3px rgba(15, 140, 168, 0.15);
}

body.sadekitap-menu-theme .preset-btn {
    border-radius: var(--skk-radius-xl);
    border-color: var(--skk-border-strong);
    font-family: inherit;
}

body.sadekitap-menu-theme .preset-btn:hover {
    border-color: var(--skk-brand);
    color: var(--skk-brand-dark);
}

body.sadekitap-menu-theme .cart-badge {
    background: #fff;
    color: var(--skk-brand-dark);
    font-weight: 800;
}

body.sadekitap-menu-theme .search-overlay {
    background: #fff;
}

body.sadekitap-menu-theme .search-header {
    border-bottom: 1px solid var(--skk-border);
}

body.sadekitap-menu-theme .search-title {
    font-weight: 800;
    color: var(--skk-brand-dark);
}

body.sadekitap-menu-theme .search-input {
    border-radius: var(--skk-radius-xl);
    background: #f3f4f6;
    border: none;
    font-family: inherit;
}

body.sadekitap-menu-theme .search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--skk-brand);
}

body.sadekitap-menu-theme .search-result-item {
    border-radius: var(--skk-radius-xl);
    border: 1px solid var(--skk-border);
}

body.sadekitap-menu-theme .search-result-price {
    color: var(--skk-brand);
    font-weight: 700;
}

/* ── Footer & misc ── */
body.sadekitap-menu-theme .footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 12px;
    color: var(--skk-muted);
}

body.sadekitap-menu-theme .footer a {
    color: var(--skk-brand);
    font-weight: 700;
    text-decoration: none;
}

body.sadekitap-menu-theme .error-card {
    border-radius: var(--skk-radius-2xl);
    border: 1px solid #fecaca;
    background: #fef2f2;
}

/* Hide legacy topbar if any remnant */
body.sadekitap-menu-theme .menu-topbar.faz11-topbar {
    display: none !important;
}

/* Desktop shell centering */
@media (min-width: 481px) {
    body.sadekitap-menu-theme {
        padding: 0;
    }
}

@media (max-width: 380px) {
    body.sadekitap-menu-theme .category-grid {
        grid-template-columns: 1fr;
    }

    body.sadekitap-menu-theme .skk-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.sadekitap-menu-theme .skk-hero-actions-right {
        justify-content: flex-start;
    }
}

/* Override legacy customer-menu.css category card rules */
body.cafe-menu-app.sadekitap-menu-theme .app-shell {
    max-width: var(--skk-shell-max, 480px) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.cafe-menu-app.sadekitap-menu-theme .main-content.skk-main-sheet,
body.cafe-menu-app.sadekitap-menu-theme .skk-main-sheet {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.cafe-menu-app.sadekitap-menu-theme .section-label::before,
body.cafe-menu-app.sadekitap-menu-theme .section-label::after {
    content: none !important;
    display: none !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 132px !important;
    border-radius: var(--skk-radius-2xl) !important;
    overflow: hidden !important;
    border: 1px solid var(--skk-border) !important;
    background: var(--skk-card-bg) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    text-decoration: none !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-card img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 0.2rem !important;
    padding: 0.75rem !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%) !important;
    pointer-events: none !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-card-name,
body.cafe-menu-app.sadekitap-menu-theme .category-card-count {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-card-name {
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55) !important;
}

body.cafe-menu-app.sadekitap-menu-theme .category-card-count {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Admin yüklenen ürün görselleri + kategori listesi düzeni (480px shell) */
body.cafe-menu-app.sadekitap-menu-theme .product-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.875rem !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0.75rem !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-media {
    width: 5.25rem !important;
    height: 5.25rem !important;
    min-width: 5.25rem !important;
    min-height: 5.25rem !important;
    max-width: 5.25rem !important;
    aspect-ratio: auto !important;
    flex-shrink: 0 !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-media::before {
    display: none !important;
    content: none !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-media img,
body.cafe-menu-app.sadekitap-menu-theme .product-list .product-media .product-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    position: relative !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-media--pending {
    width: 5.25rem !important;
    height: 5.25rem !important;
    min-width: 5.25rem !important;
    min-height: 5.25rem !important;
    max-width: 5.25rem !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    margin-left: 0.75rem !important;
    padding: 0.1rem 0 !important;
    overflow: visible !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-header .product-name {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-name {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-meta .product-category {
    display: inline-block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    margin-top: 0.35rem !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-price {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

body.cafe-menu-app.sadekitap-menu-theme .product-list .product-footer .btn-add {
    width: auto !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 0.4rem 0.7rem !important;
}
