* {
    box-sizing: border-box;
}

:root {
    --bg: #f6f4ef;
    --text: #171717;
    --muted: #6e6a63;
    --gold: #c79a57;
    --gold-strong: #b7843c;
    --blue: #2f67db;
    --shadow-soft: 0 10px 24px rgba(0,0,0,0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(199,154,87,0.06), transparent 26%),
        linear-gradient(180deg, #f8f6f2 0%, #f4f1eb 100%);
    color: var(--text);
}

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

button,
input {
    font-family: inherit;
}

.hero {
    position: relative;
    background: #111;
    color: white;
    overflow: hidden;
    min-height: 370px;
}

.hero-cover {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
    opacity: 0.30;
    background: #1c1c1c;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at right top, rgba(199,154,87,0.24), transparent 30%),
        linear-gradient(to bottom, rgba(0,0,0,0.26), rgba(0,0,0,0.82));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 34px 18px 42px;
}

.hero-box {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.hero-top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.logo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    object-fit: cover;
    background: white;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 36px rgba(0,0,0,0.20);
    flex-shrink: 0;
}

.title-wrap {
    min-width: 0;
    max-width: 760px;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.10);
}

.restaurant-name {
    font-size: 54px;
    line-height: 1.02;
    margin: 0 0 14px 0;
    letter-spacing: -1px;
    word-break: break-word;
}

.restaurant-desc {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 17px;
    line-height: 1.65;
    max-width: 720px;
}

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

.hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    color: white;
    font-weight: bold;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

.hero-action:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.16);
}

.content {
    max-width: 1140px;
    margin: -42px auto 0;
    padding: 0 16px 34px;
    position: relative;
    z-index: 3;
}

.menu-shell {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.08);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.section-title {
    font-size: 34px;
    line-height: 1.05;
    margin: 0 0 8px 0;
    letter-spacing: -0.7px;
}

.section-sub {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.section-badge {
    align-self: center;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(199,154,87,0.10);
    color: #80571f;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid rgba(199,154,87,0.20);
}

.menu-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.search-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b877f;
    pointer-events: none;
}

.menu-search {
    width: 100%;
    height: 58px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 0 48px 0 46px;
    font-size: 15px;
    color: #222;
    outline: none;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.menu-search:focus {
    border-color: rgba(199,154,87,0.50);
    box-shadow: 0 0 0 5px rgba(199,154,87,0.12);
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: #f1eee7;
    color: #59544d;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-clear.show {
    display: inline-flex;
}

.search-result-info {
    font-size: 13px;
    color: #6e675f;
    font-weight: bold;
}

.empty,
.search-empty {
    background: rgba(255,255,255,0.88);
    border-radius: 18px;
    padding: 18px 20px;
    color: #69635b;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
}

.search-empty {
    display: none;
    margin-bottom: 16px;
}

.category-bar-wrap {
    position: sticky;
    top: 10px;
    z-index: 20;
    background: rgba(248,246,242,0.72);
    backdrop-filter: blur(10px);
    padding: 10px 0 14px;
    margin-bottom: 14px;
    transition: box-shadow 0.18s ease, background 0.18s ease;
    border-radius: 18px;
}

.category-bar-wrap.scrolled {
    box-shadow: 0 12px 26px rgba(0,0,0,0.06);
}

.category-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-chip {
    border: none;
    background: rgba(255,255,255,0.92);
    color: #37332e;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.18s ease;
}

.category-chip.active {
    background: #111;
    color: white;
    border-color: #111;
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

.category-block {
    margin-bottom: 30px;
    scroll-margin-top: 94px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 14px 0;
}

.category-name {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.category-count {
    font-size: 12px;
    color: #685e53;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow:
        0 10px 30px rgba(15,23,42,0.06),
        0 2px 8px rgba(15,23,42,0.04);
    border: 1px solid rgba(15,23,42,0.06);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.45),
            rgba(255,255,255,0)
        );
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(0,0,0,0.08);
}

.product-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.badge-popular {
    background: #fff1d1;
    color: #8a6200;
}

.badge-featured {
    background: linear-gradient(135deg, #ffd54f, #ffb300);
    color: #4e3b00;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.26);
    animation: pulse 1.8s infinite;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.product-desc {
    font-size: 13px;
    margin-bottom: 8px;
    color: #726b63;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
}

.product-more {
    font-size: 13px;
    font-weight: bold;
    color: var(--gold-strong);
}

.product-image-wrap {
    width: 90px;
    min-width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
}

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

.no-image-box {
    width: 170px;
    min-width: 170px;
    height: 170px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f3f2ee, #ebe7dd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #958e84;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    flex-shrink: 0;
}

.footer {
    background: #111;
    color: white;
    margin-top: 40px;
    padding: 34px 16px 38px;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.footer-brand h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.footer-brand p {
    margin: 0;
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.7;
    max-width: 560px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.footer-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px;
}

.footer-label {
    font-size: 12px;
    color: #bdbdbd;
    margin-bottom: 6px;
}

.footer-value {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    word-break: break-word;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.social-icon-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    transition: 0.2s ease;
}

.social-icon-link:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.12);
}

.social-icon-link svg {
    width: 22px;
    height: 22px;
    fill: white;
    display: block;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: #bcbcbc;
    font-size: 13px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(6px);
    padding: 18px;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 26px;
    max-width: 460px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.28);
    animation: modalIn 0.22s ease;
}

@keyframes modalIn {
    from {
        transform: translateY(10px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    background: #f2f2f2;
}

.modal-body {
    padding: 20px;
}

.modal-body h2 {
    margin: 0 0 10px 0;
    font-size: 26px;
    color: #222;
    line-height: 1.2;
}

.modal-body p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.modal-price {
    font-size: 24px;
    font-weight: bold;
    color: #111;
    margin-top: 14px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.42);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
}

.service-dock {
    position: fixed;
    right: 0;
    bottom: 18px;
    z-index: 120;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.service-dock-toggle {
    width: 82px;
    height: 168px;
    border-radius: 22px 0 0 22px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(15,20,31,0.90);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.26);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 12px 18px 12px 12px;
    transform: translateX(18px);
}

.service-dock-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 56px rgba(0,0,0,0.30);
}

.service-dock-handle {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    display: block;
}

.service-dock-toggle-icon {
    font-size: 28px;
    line-height: 1;
}

.service-panel {
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(16px) scale(0.96);
    transition: width 0.25s ease, opacity 0.22s ease, transform 0.22s ease;
}

.service-dock.open .service-panel {
    width: 310px;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.service-panel {
    background: rgba(15,20,31,0.94);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(16px);
    border-radius: 30px;
    box-shadow: 0 28px 60px rgba(0,0,0,0.28);
    padding: 18px;
}

.service-panel-head {
    padding: 6px 6px 14px;
}

.service-panel-table {
    font-size: 30px;
    font-weight: bold;
    color: white;
    line-height: 1.1;
    margin-bottom: 8px;
}

.service-panel-sub {
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.45;
}

.service-panel-btn {
    width: 100%;
    border: none;
    border-radius: 22px;
    padding: 18px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    cursor: pointer;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.service-panel-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.service-panel-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.service-panel-btn-waiter {
    background: linear-gradient(135deg, rgba(199,154,87,1), rgba(183,132,60,1));
}

.service-panel-btn-bill {
    background: linear-gradient(135deg, rgba(56,108,228,1), rgba(37,77,168,1));
}

.service-panel-btn-icon {
    font-size: 28px;
    line-height: 1;
    width: 38px;
    text-align: center;
    flex-shrink: 0;
}

.service-panel-btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-panel-btn-text strong {
    font-size: 17px;
    line-height: 1.2;
}

.service-panel-btn-text small {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.86);
}

.service-panel-note {
    padding: 8px 6px 2px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.5;
}

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 90;
    pointer-events: none;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 34px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: 0.2s ease;
    color: white;
    font-size: 22px;
    font-weight: bold;
    pointer-events: auto;
}

.floating-btn:hover {
    transform: translateY(-2px);
}

.floating-top {
    background: #111;
}

.toast-wrap {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 1200;
    width: calc(100% - 24px);
    max-width: 460px;
    pointer-events: none;
}

.toast {
    display: none;
    padding: 14px 16px;
    border-radius: 16px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    animation: toastIn 0.25s ease;
}

.toast.show {
    display: block;
}

.toast-success {
    background: linear-gradient(135deg, #1fa855, #167a3d);
}

.toast-error {
    background: linear-gradient(135deg, #d64545, #a92a2a);
}

.toast-info {
    background: linear-gradient(135deg, #333, #111);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 820px) {
    .hero-cover {
        height: 340px;
    }

    .hero-content {
        padding: 28px 16px 34px;
    }

    .hero-top {
        flex-direction: column;
        gap: 14px;
    }

    .logo {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .restaurant-name {
        font-size: 38px;
        margin-bottom: 12px;
    }

    .restaurant-desc {
        font-size: 15px;
    }

    .hero-action {
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }

    .content {
        margin-top: -28px;
        padding: 0 12px 28px;
    }

    .menu-shell {
        padding: 20px;
        border-radius: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .category-name {
        font-size: 22px;
    }

    .product-card {
        gap: 14px;
        padding: 14px;
        border-radius: 20px;
    }

    .product-image-wrap,
    .no-image-box {
        width: 116px;
        min-width: 116px;
        height: 116px;
        border-radius: 18px;
    }

    .product-name {
        font-size: 22px;
    }

    .product-price {
        font-size: 20px;
    }

    .modal-image {
        height: 230px;
    }

    .service-dock-toggle {
        width: 76px;
        height: 152px;
        border-radius: 20px 0 0 20px;
        transform: translateX(16px);
    }

    .service-dock.open .service-panel {
        width: 286px;
    }

    .service-panel-table {
        font-size: 26px;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 330px;
    }

    .hero-cover {
        height: 330px;
    }

    .restaurant-name {
        font-size: 32px;
        letter-spacing: -0.6px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-action {
        width: calc(50% - 5px);
    }

    .menu-shell {
        padding: 16px;
    }

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

    .section-title {
        font-size: 24px;
    }

    .section-sub {
        font-size: 13px;
    }

    .search-wrap {
        max-width: 100%;
    }

    .menu-search {
        height: 54px;
        font-size: 14px;
        border-radius: 16px;
    }

    .category-chip {
        font-size: 13px;
        padding: 10px 14px;
    }

    .product-card {
        flex-direction: column-reverse;
    }

    .product-image-wrap,
    .no-image-box {
        width: 100%;
        min-width: 100%;
        height: 200px;
        border-radius: 18px;
    }

    .product-name {
        font-size: 20px;
    }

    .product-desc {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .product-price {
        font-size: 18px;
    }

    .product-more {
        font-size: 12px;
    }

    .badge {
        font-size: 11px;
        min-height: 25px;
        padding: 4px 10px;
    }

    .footer {
        padding: 24px 12px 30px;
    }

    .footer-brand h3 {
        font-size: 20px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-value {
        font-size: 14px;
    }

    .social-icon-link {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .social-icon-link svg {
        width: 20px;
        height: 20px;
    }

    .modal {
        padding: 12px;
    }

    .modal-body h2 {
        font-size: 22px;
    }

    .modal-price {
        font-size: 20px;
    }

    .service-dock {
        right: 10px;
        bottom: 12px;
    }

    .service-dock-toggle {
        width: 68px;
        height: 138px;
        border-radius: 18px 0 0 18px;
        transform: translateX(14px);
    }

    .service-dock.open .service-panel {
        width: min(280px, calc(100vw - 96px));
    }

    .service-panel {
        padding: 14px;
        border-radius: 24px;
    }

    .service-panel-table {
        font-size: 24px;
    }

    .service-panel-sub {
        font-size: 14px;
    }

    .service-panel-btn {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .service-panel-btn-icon {
        font-size: 24px;
        width: 32px;
    }

    .service-panel-btn-text strong {
        font-size: 16px;
    }

    .floating-actions {
        right: 10px;
        bottom: 12px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 20px;
    }

    .toast-wrap {
        bottom: 16px;
    }
}



@media (max-width: 560px) {
    .hero {
        min-height: 290px;
    }

    .hero-cover {
        height: 290px;
    }

    .hero-content {
        padding: 22px 12px 24px;
    }

    .restaurant-name {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .restaurant-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-actions {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-action {
        min-height: 42px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 12px;
        width: auto;
    }

    .content {
        margin-top: -18px;
        padding: 0 10px 24px;
    }

    .menu-shell {
        padding: 14px;
        border-radius: 18px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-sub {
        font-size: 12px;
    }

    .menu-search {
        height: 48px;
        font-size: 13px;
        border-radius: 14px;
        padding: 0 42px 0 40px;
    }

    .category-bar-wrap {
        padding: 8px 0 10px;
        margin-bottom: 10px;
    }

    .category-chip {
        font-size: 12px;
        padding: 8px 12px;
    }

    .category-name {
        font-size: 18px;
    }

    .category-count {
        font-size: 11px;
        padding: 6px 9px;
    }

    .product-grid {
        gap: 10px;
    }

    .product-card {
        flex-direction: row !important;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .product-image-wrap,
    .no-image-box {
        width: 78px !important;
        min-width: 78px !important;
        height: 78px !important;
        border-radius: 12px !important;
    }

    .product-left {
        min-width: 0;
    }

    .product-badges {
        gap: 6px;
        margin-bottom: 6px;
    }

    .badge {
        font-size: 10px;
        min-height: 22px;
        padding: 3px 8px;
    }

    .product-name {
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 3px;
    }

    .product-desc {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-bottom {
        gap: 8px;
    }

    .product-price {
        font-size: 15px;
    }

    .product-more {
        font-size: 11px;
    }

    .service-dock {
        right: 8px;
        bottom: 10px;
    }

    .service-dock-toggle {
        width: 58px;
        height: 112px;
        border-radius: 18px;
        gap: 8px;
    }

    .service-dock-toggle-icon {
        font-size: 22px;
    }

    .service-dock.open .service-panel {
        width: min(250px, calc(100vw - 76px));
    }

    .service-panel {
        padding: 12px;
        border-radius: 18px;
    }

    .service-panel-table {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .service-panel-sub {
        font-size: 13px;
    }

    .service-panel-btn {
        padding: 12px;
        border-radius: 14px;
        gap: 10px;
        margin-bottom: 8px;
    }

    .service-panel-btn-icon {
        width: 26px;
        font-size: 20px;
    }

    .service-panel-btn-text strong {
        font-size: 14px;
    }

    .service-panel-btn-text small {
        font-size: 11px;
    }

    .floating-btn {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 18px;
    }
}



/* --- Premium final tweaks: centered hero + edge-aligned service dock --- */
.hero-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-wrap {
    text-align: center;
    max-width: 820px;
}

.hero-badges {
    justify-content: center;
}

.restaurant-desc {
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    justify-content: center;
}

.product-more {
    display: none !important;
}

.service-dock {
    right: 6px;
}

.service-dock-toggle {
    border-radius: 22px 0 0 22px;
}

@media (max-width: 820px) {
    .hero-top {
        align-items: center;
        text-align: center;
    }

    .title-wrap {
        text-align: center;
    }

    .hero-badges,
    .hero-actions {
        justify-content: center;
    }

    .service-dock {
        right: 0;
    }

    .service-dock-toggle {
        border-radius: 20px 0 0 20px;
        transform: translateX(16px);
    }
}

@media (max-width: 560px) {
    .hero-top {
        align-items: center;
        text-align: center;
    }

    .title-wrap {
        text-align: center;
    }

    .hero-badges,
    .hero-actions {
        justify-content: center;
    }

    .restaurant-desc {
        text-align: center;
    }

    .service-dock {
        right: 0;
    }

    .service-dock-toggle {
        border-radius: 18px 0 0 18px;
        transform: translateX(14px);
    }
	
	
}

/* Servis panel overlay */
.service-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.service-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* HERO KAPAK GÖRSELİ AYARI - 20260515 */
.hero-cover {
    opacity: 1 !important;
    filter: none !important;
}

.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.28),
        rgba(0,0,0,0.42)
    ) !important;
}


/* =========================
   MELIPOS PREMIUM UI v2
   Glass + App Store Look
   ========================= */

/* GENEL ARKA PLAN */
body {
  background: linear-gradient(180deg, #f7f8fc, #eef1f7);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
}

/* =========================
   CATEGORY HEADER (PREMIUM)
   ========================= */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 12px;
}

.category-name {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.3px;
}

.category-count {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: #444;
}

/* =========================
   PRODUCT CARD (GLASS STYLE)
   ========================= */
.product-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;

  padding: 14px;
  margin-bottom: 12px;

  border-radius: 18px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.6);

  box-shadow: 0 10px 30px rgba(0,0,0,0.06);

  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   PRODUCT TEXT AREA
   ========================= */
.product-title {
  font-size: 18px;
  font-weight: 900;
  color: #111;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* =========================
   PRICE (SATIN ALDIRAN)
   ========================= */
.product-price {
  font-size: 16px;
  font-weight: 900;
  color: #111;
  margin-top: 6px;
}

/* =========================
   IMAGE (APP STYLE)
   ========================= */
.product-image {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* =========================
   BADGES (MODERN)
   ========================= */
.badge {
  display: inline-flex;
  align-items: center;

  font-size: 11px;
  font-weight: 800;

  padding: 4px 10px;
  border-radius: 999px;

  margin-right: 6px;
}

.badge-recommended {
  background: linear-gradient(135deg, #ffd60a, #ffb703);
  color: #111;
}

.badge-option {
  background: rgba(43,89,255,0.1);
  color: #2b59ff;
}

/* =========================
   EMPTY STATE (SOFT)
   ========================= */
.empty {
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  color: #777;
  font-size: 13px;
}

/* =========================
   CATEGORY SPACING (APP FEEL)
   ========================= */
.category-block {
  margin-bottom: 28px;
}

/* =========================
   MOBILE POLISH
   ========================= */
@media (max-width: 768px) {
  .product-card {
    padding: 12px;
    border-radius: 16px;
  }

  .product-title {
    font-size: 17px;
  }

  .product-image {
    width: 68px;
    height: 68px;
  }
}


/* =========================
   MELIPOS PREMIUM MENU POLISH v3
   safe override - product/card/category only
   ========================= */

.category-block.subcategory-block .category-name{
    font-size: 22px !important;
    font-weight: 850 !important;
    letter-spacing: -0.3px !important;
}

.product-card .product-name{
    font-size: 21px !important;
    line-height: 1.18 !important;
    font-weight: 950 !important;
    color: #111827 !important;
    letter-spacing: -0.35px !important;
}

.product-card .product-desc{
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.45 !important;
    margin-top: 7px !important;
}

.product-card .product-price{
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin-top: 12px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #111827, #2f3645) !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    box-shadow: 0 10px 22px rgba(17,24,39,.16) !important;
}

.product-card .product-more{
    color: #c59d5f !important;
    font-weight: 900 !important;
}

.product-card .product-image{
    width: 92px !important;
    height: 92px !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.18) !important;
}

.category-chip{
    font-weight: 900 !important;
    letter-spacing: -0.1px !important;
}


/* =========================
   MELIPOS PREMIUM MENU POLISH v4
   safe final override - menu UI only
   ========================= */

.product-grid{
    gap: 18px !important;
}

.product-card{
    align-items: stretch !important;
    gap: 16px !important;
    padding: 16px !important;
    border-radius: 24px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,250,242,.90)) !important;
    border: 1px solid rgba(197,157,95,.22) !important;
    box-shadow:
        0 18px 46px rgba(15,23,42,.09),
        0 2px 8px rgba(15,23,42,.05) !important;
}

.product-left{
    min-width: 0 !important;
    padding: 2px 0 !important;
}

.product-badges{
    margin-bottom: 9px !important;
    gap: 7px !important;
}

.badge-featured,
.variant-badge{
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    padding: 6px 10px !important;
    line-height: 1 !important;
}

.badge-featured{
    background: linear-gradient(135deg,#facc15,#f59e0b) !important;
    color: #111827 !important;
    box-shadow: 0 8px 18px rgba(245,158,11,.20) !important;
}

.variant-badge{
    background: rgba(197,157,95,.12) !important;
    color: #8a5b13 !important;
    border: 1px solid rgba(197,157,95,.18) !important;
}

.product-card .product-name{
    font-size: 22px !important;
    line-height: 1.12 !important;
    margin-bottom: 4px !important;
}

.product-card .product-desc{
    margin: 6px 0 0 0 !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.product-bottom{
    margin-top: auto !important;
    padding-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.product-card .product-price{
    margin-top: 0 !important;
    font-size: 18px !important;
    padding: 8px 13px !important;
    white-space: nowrap !important;
}

.price-prefix{
    display: block !important;
    margin-top: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    opacity: .78 !important;
}

.product-card .product-more{
    flex: 0 0 auto !important;
    padding: 8px 11px !important;
    border-radius: 999px !important;
    background: rgba(197,157,95,.12) !important;
    color: #8a5b13 !important;
    font-size: 12px !important;
}

.product-image-wrap,
.no-image-box{
    flex: 0 0 auto !important;
}

.product-card .product-image,
.no-image-box{
    width: 104px !important;
    height: 104px !important;
    border-radius: 23px !important;
}

.no-image-box{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(135deg,#fff7ed,#fef3c7) !important;
    color: #92400e !important;
    font-weight: 950 !important;
    font-size: 12px !important;
    box-shadow: inset 0 0 0 1px rgba(146,64,14,.10) !important;
}

.category-block{
    scroll-margin-top: 112px !important;
}

.category-header{
    margin-bottom: 12px !important;
}

.category-block.subcategory-block{
    margin-left: 10px !important;
    padding-left: 13px !important;
    border-left: 3px solid rgba(197,157,95,.32) !important;
}

.category-block.subcategory-block .category-name::before{
    content: "↳ " !important;
    color: #c59d5f !important;
}

@media (max-width: 640px){
    .product-card{
        gap: 12px !important;
        padding: 13px !important;
        border-radius: 21px !important;
    }

    .product-card .product-name{
        font-size: 19px !important;
    }

    .product-card .product-desc{
        font-size: 13px !important;
        -webkit-line-clamp: 2 !important;
    }

    .product-bottom{
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .product-card .product-price{
        font-size: 16px !important;
        padding: 7px 11px !important;
    }

    .product-card .product-more{
        font-size: 11px !important;
        padding: 7px 10px !important;
    }

    .product-card .product-image,
    .no-image-box{
        width: 86px !important;
        height: 86px !important;
        border-radius: 19px !important;
    }
}


/* MELIPOS PREMIUM CATEGORY POLISH */
.category-bar-wrap{
    background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(248,246,242,.72));
    border:1px solid rgba(17,24,39,.06);
    box-shadow:0 10px 26px rgba(17,24,39,.05);
}

.category-bar-wrap.scrolled{
    background:rgba(255,255,255,.88);
    box-shadow:0 16px 38px rgba(17,24,39,.12);
}

.category-bar{
    padding:2px 2px 4px;
}

.category-chip{
    background:rgba(255,255,255,.9);
    color:#2f2a24;
    border:1px solid rgba(197,157,95,.22);
    box-shadow:0 8px 22px rgba(17,24,39,.06);
}

.category-chip:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(17,24,39,.10);
}

.category-chip.active{
    background:linear-gradient(135deg,#111827,#2d2116);
    color:#fff;
    border-color:rgba(197,157,95,.72);
    box-shadow:0 14px 34px rgba(17,24,39,.22),0 0 0 3px rgba(197,157,95,.12);
}

@media (max-width:560px){
    .category-bar-wrap{
        border-radius:16px;
    }

    .category-chip:hover{
        transform:none;
    }
}


/* MELIPOS PREMIUM PRODUCT CARD POLISH */

.product-card{
    backdrop-filter:blur(10px);
    border:1px solid rgba(197,157,95,.10);
}

.product-card:hover{
    transform:translateY(-3px);
    border-color:rgba(197,157,95,.24);
    box-shadow:
        0 28px 54px rgba(15,23,42,.10),
        0 10px 24px rgba(197,157,95,.10);
}

.product-image-wrap{
    position:relative;
    box-shadow:
        0 10px 24px rgba(15,23,42,.10),
        inset 0 0 0 1px rgba(255,255,255,.18);
}

.product-image{
    transition:transform .28s ease;
}

.product-card:hover .product-image{
    transform:scale(1.05);
}

.badge-featured{
    background:linear-gradient(135deg,#ffe082,#ffb300);
    color:#3d2c00;
    box-shadow:
        0 10px 24px rgba(255,193,7,.30),
        0 0 0 1px rgba(255,255,255,.24) inset;
}

.product-price{
    color:#111827;
    letter-spacing:-0.02em;
}

@media (max-width:560px){
    .product-card:hover{
        transform:none;
    }

    .product-card:hover .product-image{
        transform:none;
    }
}


/* MELIPOS MINI CART FIRST STEP */
.modal-add-cart-btn{
    width:100%;
    margin-top:18px;
    border:none;
    border-radius:18px;
    padding:16px 18px;
    background:linear-gradient(135deg,#111827,#2d2116);
    color:#fff;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 16px 36px rgba(17,24,39,.22),0 0 0 3px rgba(197,157,95,.12);
}

.modal-add-cart-btn:active{
    transform:scale(.99);
}

@media(max-width:700px){
    .modal-add-cart-btn{
        position:sticky;
        bottom:12px;
        z-index:5;
    }
}


/* MELIPOS MINI CART BAR */
.mini-cart-bar{
    position:fixed;
    left:50%;
    bottom:18px;
    transform:translateX(-50%);
    z-index:115;
    width:min(460px,calc(100vw - 120px));
    min-height:62px;
    border:none;
    border-radius:22px;
    padding:10px 14px;
    align-items:center;
    gap:12px;
    background:linear-gradient(135deg,#111827,#2d2116);
    color:#fff;
    box-shadow:0 22px 48px rgba(17,24,39,.28),0 0 0 1px rgba(255,255,255,.08) inset;
    cursor:pointer;
}

.mini-cart-icon{
    width:42px;
    height:42px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.12);
    font-size:20px;
    flex:0 0 auto;
}

.mini-cart-text{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    line-height:1.15;
    flex:1;
}

.mini-cart-text strong{
    font-size:15px;
    font-weight:900;
}

.mini-cart-text small{
    margin-top:3px;
    font-size:12px;
    color:rgba(255,255,255,.76);
    font-weight:700;
}

.mini-cart-total{
    font-size:15px;
    font-weight:900;
    white-space:nowrap;
    color:#f7d58a;
}

@media(max-width:560px){
    .mini-cart-bar{
        left:12px;
        right:92px;
        width:auto;
        transform:none;
        bottom:14px;
        min-height:58px;
        border-radius:18px;
    }

    .mini-cart-icon{
        width:38px;
        height:38px;
        border-radius:14px;
    }
}


/* MELIPOS MODAL CART QUANTITY */
.modal-cart-qty{
    margin-top:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
}

.modal-cart-qty button{
    width:42px;
    height:42px;
    border:none;
    border-radius:14px;
    background:#111827;
    color:#fff;
    font-size:22px;
    font-weight:900;
    cursor:pointer;
}

.modal-cart-qty span{
    min-width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f3f4f6;
    color:#111827;
    font-size:18px;
    font-weight:900;
}


/* MELIPOS CART PANEL */
.cart-overlay{
    position:fixed;
    inset:0;
    z-index:130;
    background:rgba(0,0,0,.42);
    backdrop-filter:blur(6px);
    opacity:0;
    pointer-events:none;
    transition:.18s ease;
}

.cart-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.cart-panel{
    position:fixed;
    right:18px;
    bottom:92px;
    z-index:131;
    width:min(420px,calc(100vw - 28px));
    max-height:min(620px,calc(100vh - 130px));
    display:flex;
    flex-direction:column;
    background:#fff;
    border-radius:26px;
    box-shadow:0 28px 70px rgba(15,23,42,.24);
    border:1px solid rgba(197,157,95,.18);
    overflow:hidden;
    transform:translateY(16px) scale(.98);
    opacity:0;
    pointer-events:none;
    transition:.2s ease;
}

.cart-panel.open{
    transform:translateY(0) scale(1);
    opacity:1;
    pointer-events:auto;
}

.cart-panel-head{
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    background:linear-gradient(135deg,#111827,#2d2116);
    color:#fff;
}

.cart-panel-head strong{
    display:block;
    font-size:20px;
    font-weight:900;
}

.cart-panel-head small{
    color:rgba(255,255,255,.72);
    font-weight:700;
}

.cart-panel-head button{
    width:38px;
    height:38px;
    border:none;
    border-radius:14px;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.cart-panel-items{
    padding:14px;
    overflow:auto;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.cart-empty{
    padding:18px;
    border-radius:18px;
    background:#f8fafc;
    color:#64748b;
    font-weight:800;
    text-align:center;
}

.cart-item{
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    padding:14px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    background:#fffaf2;
}

.cart-item-main{
    min-width:0;
}

.cart-item-main strong{
    display:block;
    color:#111827;
    font-size:15px;
    font-weight:900;
}

.cart-item-main small,
.cart-item-meta{
    display:block;
    margin-top:5px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.cart-item-side{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:10px;
    flex:0 0 auto;
}

.cart-item-side strong{
    color:#111827;
    font-weight:900;
    white-space:nowrap;
}

.cart-item-qty{
    display:flex;
    align-items:center;
    gap:6px;
}

.cart-item-qty button{
    width:30px;
    height:30px;
    border:none;
    border-radius:10px;
    background:#111827;
    color:#fff;
    font-size:18px;
    font-weight:900;
    cursor:pointer;
}

.cart-item-qty span{
    min-width:28px;
    text-align:center;
    font-weight:900;
    color:#111827;
}

.cart-panel-footer{
    padding:16px;
    border-top:1px solid rgba(15,23,42,.08);
    background:#fff;
}

.cart-panel-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
    color:#111827;
    font-weight:900;
}

.cart-submit-btn{
    width:100%;
    border:none;
    border-radius:18px;
    padding:15px 16px;
    background:linear-gradient(135deg,#16a34a,#15803d);
    color:#fff;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 14px 30px rgba(22,163,74,.22);
}

@media(max-width:560px){
    .cart-panel{
        left:10px;
        right:10px;
        bottom:86px;
        width:auto;
        max-height:calc(100vh - 110px);
        border-radius:24px;
    }
}


/* MELIPOS CART SUBMIT DISABLED */
.cart-submit-btn-disabled,
.cart-submit-btn:disabled{
    opacity:.55;
    cursor:not-allowed;
    background:linear-gradient(135deg,#6b7280,#374151) !important;
    box-shadow:none !important;
}


/* MELIPOS QR PRODUCT GRID 20260926 */
.category-block .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.category-block .product-card {
    display: flex;
    flex-direction: column !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 18px;
    cursor: pointer;
}

.category-block .product-image-wrap,
.category-block .no-image-box {
    order: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden;
}

.category-block .product-image-wrap {
    position: relative;
}

.category-block .product-image-wrap .product-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover;
    box-shadow: none !important;
}

.category-block .no-image-box {
    padding: 12px;
    box-sizing: border-box;
    text-align: center;
}

.category-block .product-left {
    width: 100%;
    flex: 1;
    justify-content: flex-start;
    padding: 12px;
    box-sizing: border-box;
}

.category-block .product-badges {
    gap: 4px;
    margin-bottom: 7px;
}

.category-block .product-name {
    font-size: 16px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.category-block .product-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
}

.category-block .product-bottom {
    align-items: flex-end;
    margin-top: auto;
    padding-top: 10px;
}

.category-block .product-price {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.category-block .product-price span[style*="font-size:28px"] {
    font-size: 17px !important;
}

.category-block .product-more {
    font-size: 11px;
}

@media (max-width: 560px) {
    .category-block .product-grid {
        gap: 10px;
    }

    .category-block .product-left {
        padding: 10px;
    }

    .category-block .product-name {
        font-size: 15px;
    }

    .category-block .product-bottom {
        display: block;
    }

    .category-block .product-more {
        margin-top: 7px;
    }
}

@media (min-width: 900px) {
    .category-block .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .category-block .product-left {
        padding: 16px;
    }

    .category-block .product-name {
        font-size: 18px;
    }
}

/* QR GRID VARIANT PRICE LABEL */
.category-block .product-price .price-prefix {
    display: block !important;
    margin-top: 5px !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    white-space: normal !important;
    opacity: .9;
}

/* QR GRID MOBILE COMPACT 20260926 */
@media (max-width: 560px) {
    .category-block .product-grid {
        align-items: stretch;
    }
    .category-block .product-card {
        height: 100% !important;
        min-height: 0 !important;
    }
    .category-block .product-left {
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }
    .category-block .product-bottom {
        margin-top: 0 !important;
    }
    .category-block .product-price {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 15px !important;
        white-space: nowrap;
        overflow-wrap: normal !important;
        word-break: normal !important;
        text-align: center;
    }
    .category-block .product-price .price-prefix {
        width: 100%;
        margin-top: 4px !important;
        font-size: 10px !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        text-align: center;
    }
}

/* QR GRID HIDE CARD DESCRIPTION 20260926 */
.category-block .product-card .product-desc {
    display: none !important;
}

/* QR GRID MOBILE TYPE SIZE 20260926 */
@media (max-width: 560px) {
    .category-block .product-name {
        font-size: 14px !important;
        line-height: 1.3;
    }
    .category-block .product-price {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }
}

/* QR GRID MOBILE PLAIN PRICE 20260926 */
@media (max-width: 560px) {
    .category-block .product-price {
        display: block !important;
        width: auto !important;
        max-width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #303848 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        text-align: left !important;
    }
}
