/* =========================================================
   CEMAL CEMIL KPS
   MAIN STYLE
   Pink / Black
   Light / Dark Mode
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --bg: #fff7fb;
    --card: #ffffff;
    --card-soft: #fffafd;

    --text: #17131a;
    --muted: #756c75;

    --primary: #eb4294;
    --primary-dark: #cf2478;
    --primary-soft: #ffe1ef;

    --line: #ead8e2;

    --success: #16a36a;
    --success-bg: #dcfaea;

    --danger: #d93655;
    --danger-bg: #ffe1e7;

    --shadow:
        0 12px 35px rgba(38, 15, 29, 0.08);

    --radius: 18px;

    --max-width: 1320px;

}


/* =========================================================
   DARK MODE
========================================================= */

html[data-theme="dark"] {

    --bg: #111014;
    --card: #1b181e;
    --card-soft: #211d24;

    --text: #f8f3f7;
    --muted: #b8adb5;

    --primary: #ef4a9b;
    --primary-dark: #d92f82;
    --primary-soft: #3a172b;

    --line: #38313a;

    --success: #42d995;
    --success-bg: #17382b;

    --danger: #ff617d;
    --danger-bg: #421d27;

    --shadow:
        0 15px 40px rgba(0, 0, 0, 0.35);

}


/* =========================================================
   RESET
========================================================= */

* {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 1.6;

    transition:
        background 0.25s ease,
        color 0.25s ease;

}


button,
input,
textarea,
select {

    font: inherit;

}


button {

    cursor: pointer;

}


img {

    max-width: 100%;

}


a {

    color: inherit;

}


/* =========================================================
   GLOBAL WRAPPER
========================================================= */

.wrap {

    width: min(
        calc(100% - 32px),
        var(--max-width)
    );

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background:
        color-mix(
            in srgb,
            var(--bg) 94%,
            transparent
        );

    backdrop-filter: blur(16px);

    border-top:
        2px solid var(--primary);

    border-bottom:
        1px solid var(--line);

}


.nav {

    min-height: 66px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 6px;

    min-width: 0;

    font-weight: 900;

    font-size: 18px;

    letter-spacing: -0.4px;

    color: var(--text);

}


/*
   When logo exists
*/

.site-header .brand {

    min-width: 0;

    overflow: hidden;

}


/*
   IMPORTANT:
   LOGO CAN NEVER BECOME A HUGE BANNER
*/

.site-header .brand .site-logo,
.site-logo {

    display: block !important;

    width: 150px !important;

    height: 46px !important;

    max-width: 150px !important;

    max-height: 46px !important;

    min-width: 0 !important;

    min-height: 0 !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

}


/* fallback brand text */

.brand span {

    color: var(--primary);

}


/* admin small label */

.brand small {

    margin-left: 8px;

    padding: 3px 8px;

    border-radius: 999px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

}


/* =========================================================
   HEADER BUTTONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

}


.nav-button {

    min-height: 36px;

    padding: 7px 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--line);

    border-radius: 999px;

    background: var(--card);

    color: var(--text);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        0.2s ease;

}


.nav-button:hover {

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-1px);

}


/* =========================================================
   MAIN
========================================================= */

main.wrap {

    padding-bottom: 100px;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    padding-top: 52px;

    padding-bottom: 30px;

}


.eyebrow,
.section-kicker {

    color: var(--primary);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.hero h1 {

    margin: 7px 0 12px;

    font-size:
        clamp(
            52px,
            6vw,
            76px
        );

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 950;

}


.hero h1 span {

    color: var(--primary);

}


.hero p {

    max-width: 680px;

    margin: 0 0 24px;

    color: var(--muted);

    font-size: 15px;

}


/* =========================================================
   SEARCH
========================================================= */

.search-box {

    width: 100%;

}


.search-box input {

    width: 100%;

    height: 52px;

    padding:
        0 16px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    outline: none;

    background: var(--card);

    color: var(--text);

    box-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.02);

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease;

}


.search-box input:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(235, 66, 148, 0.10);

}


.search-box input::placeholder {

    color: var(--muted);

}


/* =========================================================
   CATEGORY BUTTONS
========================================================= */

.categories {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 14px;

}


.category-button {

    min-height: 34px;

    padding:
        6px 13px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    background: var(--card);

    color: var(--text);

    font-size: 12px;

    font-weight: 700;

    transition:
        0.2s ease;

}


.category-button:hover {

    border-color: var(--primary);

    color: var(--primary);

}


.category-button.active {

    border-color: var(--primary);

    background: var(--primary);

    color: white;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding:
        28px 0;

}


.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;

}


.section-heading h2 {

    margin: 2px 0 0;

    font-size: 27px;

    line-height: 1.1;

    letter-spacing: -1px;

}


.muted {

    color: var(--muted);

    font-size: 12px;

}


/* =========================================================
   SPECIAL MENU
========================================================= */

.special-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

}


/* =========================================================
   MENU GRID
========================================================= */

.menu-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

}


/* =========================================================
   FOOD CARD
========================================================= */

.food-card {

    overflow: hidden;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background: var(--card);

    box-shadow: var(--shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border 0.2s ease;

}


.food-card:hover {

    transform: translateY(-3px);

    border-color:
        rgba(235, 66, 148, 0.35);

}


/* =========================================================
   FOOD IMAGE
========================================================= */

.food-image {

    position: relative;

    width: 100%;

    height: 205px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary-soft),
            var(--card-soft)
        );

}


.food-image img {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    object-fit: cover;

    object-position: center;

}


/* =========================================================
   FOOD CONTENT
========================================================= */

.food-content {

    padding: 17px;

}


.food-content h3 {

    margin: 3px 0 5px;

    font-size: 18px;

    line-height: 1.25;

}


.food-content p {

    min-height: 42px;

    margin: 0 0 12px;

    color: var(--muted);

    font-size: 12px;

}


.food-content > strong {

    display: block;

    margin-bottom: 13px;

    color: var(--primary);

    font-size: 18px;

}


/* =========================================================
   BADGE
========================================================= */

.badge {

    display: inline-flex;

    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.4px;

}


/* =========================================================
   ADD BUTTON
========================================================= */

.add-button {

    width: 100%;

    min-height: 42px;

    border: 0;

    border-radius: 11px;

    background: var(--primary);

    color: white;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.3px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.add-button:hover:not(:disabled) {

    background: var(--primary-dark);

    transform: translateY(-1px);

}


.add-button:disabled {

    cursor: not-allowed;

    background:
        var(--line);

    color:
        var(--muted);

}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {

    width: 100%;

    padding: 30px 20px;

    text-align: center;

    border:
        1px dashed var(--line);

    border-radius: 14px;

    color: var(--muted);

    background: var(--card-soft);

}


/* =========================================================
   CART BAR
========================================================= */

.cart-bar {

    position: fixed;

    left: 50%;

    bottom: 18px;

    z-index: 200;

    transform: translateX(-50%);

    width: min(
        calc(100% - 30px),
        520px
    );

    min-height: 58px;

    display: none;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    padding:
        8px 10px 8px 18px;

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius: 999px;

    background:
        #171318;

    color: white;

    box-shadow:
        0 18px 50px
        rgba(0,0,0,0.28);

}


.cart-bar span {

    font-size: 13px;

    font-weight: 800;

}


.cart-bar button {

    min-height: 42px;

    padding:
        0 18px;

    border: 0;

    border-radius: 999px;

    background: var(--primary);

    color: white;

    font-size: 12px;

    font-weight: 900;

}


/* =========================================================
   MODAL
========================================================= */

.modal {

    position: fixed;

    inset: 0;

    z-index: 300;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(10, 7, 10, 0.68);

    backdrop-filter: blur(8px);

}


.modal-panel {

    position: relative;

    width: min(
        100%,
        580px
    );

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

    padding: 25px;

    border:
        1px solid var(--line);

    border-radius: 22px;

    background: var(--card);

    color: var(--text);

    box-shadow:
        0 30px 90px
        rgba(0,0,0,0.35);

}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.close-button {

    position: absolute;

    top: 14px;

    right: 14px;

    width: 34px;

    height: 34px;

    border:
        1px solid var(--line);

    border-radius: 50%;

    background: var(--card);

    color: var(--text);

}


/* =========================================================
   FORM ELEMENTS
========================================================= */

label {

    display: block;

    margin:
        14px 0 6px;

    font-size: 12px;

    font-weight: 800;

}


.input,
.modal-panel input,
.modal-panel textarea,
.modal-panel select {

    width: 100%;

    padding:
        11px 13px;

    border:
        1px solid var(--line);

    border-radius: 11px;

    outline: none;

    background: var(--card);

    color: var(--text);

}


.input:focus,
.modal-panel input:focus,
.modal-panel textarea:focus,
.modal-panel select:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(235, 66, 148, 0.10);

}


/* =========================================================
   CART ITEMS
========================================================= */

.cart-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        14px 0;

    border-bottom:
        1px solid var(--line);

}


.cart-row > div:first-child {

    min-width: 0;

}


.cart-row b {

    display: block;

    font-size: 14px;

}


.cart-row small {

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   QUANTITY
========================================================= */

.quantity {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

}


.quantity button {

    width: 30px;

    height: 30px;

    border:
        1px solid var(--line);

    border-radius: 8px;

    background: var(--card);

    color: var(--text);

}


.quantity strong {

    min-width: 70px;

    text-align: right;

    color: var(--primary);

}


/* =========================================================
   TOTAL
========================================================= */

.grand-total {

    margin:
        20px 0;

    padding:
        16px;

    border-radius: 13px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 20px;

    font-weight: 950;

    text-align: right;

}


/* =========================================================
   SEND BUTTONS
========================================================= */

.send-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin-top: 16px;

}


.send {

    min-height: 46px;

    border: 0;

    border-radius: 11px;

    color: white;

    font-size: 12px;

    font-weight: 900;

}


/* Telegram */

.send.telegram {

    background: #229ed9;

}


/* WhatsApp */

.send.whatsapp {

    background: #20b85a;

}


/* =========================================================
   ADMIN PAGE
========================================================= */

.admin-main {

    padding-top: 30px;

}


.admin-main > h1 {

    margin:
        0 0 20px;

    font-size: 34px;

    letter-spacing: -1.5px;

}


/* =========================================================
   LOGIN
========================================================= */

.admin-login-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

}


.login-card {

    width: min(
        100%,
        420px
    );

    padding: 25px;

    border:
        1px solid var(--line);

    border-radius: 20px;

    background: var(--card);

    box-shadow: var(--shadow);

}


.login-card h1 {

    margin:
        10px 0 20px;

    font-size: 28px;

}


.login-card label {

    margin-top: 14px;

}


.login-card input {

    width: 100%;

    height: 44px;

    padding:
        0 12px;

    border:
        1px solid var(--line);

    border-radius: 10px;

    outline: none;

    background: var(--card);

    color: var(--text);

}


.login-card input:focus {

    border-color: var(--primary);

}


/* =========================================================
   ADMIN CARDS
========================================================= */

.admin-card {

    margin-bottom: 22px;

    padding: 22px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background: var(--card);

    box-shadow: var(--shadow);

}


.admin-card h2 {

    margin:
        0 0 17px;

    font-size: 19px;

}


/* =========================================================
   ADMIN STATS
========================================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 22px;

}


.stat-card {

    padding: 17px;

    border:
        1px solid var(--line);

    border-radius: 15px;

    background: var(--card);

}


.stat-card strong {

    display: block;

    color: var(--primary);

    font-size: 26px;

    line-height: 1;

}


.stat-card span {

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   ADMIN FORM
========================================================= */

.field {

    margin-bottom: 15px;

}


.field label {

    margin-top: 0;

}


.field input,
.field textarea,
.field select,
.admin-card input[type="text"],
.admin-card input[type="number"],
.admin-card input[type="file"],
.admin-card textarea,
.admin-card select {

    width: 100%;

    min-height: 42px;

    padding:
        9px 12px;

    border:
        1px solid var(--line);

    border-radius: 10px;

    outline: none;

    background: var(--card);

    color: var(--text);

}


.field textarea,
.admin-card textarea {

    min-height: 90px;

    resize: vertical;

}


.field input:focus,
.field textarea:focus,
.field select:focus,
.admin-card input:focus,
.admin-card textarea:focus,
.admin-card select:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(235, 66, 148, 0.08);

}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.primary-button {

    width: 100%;

    min-height: 43px;

    border: 0;

    border-radius: 10px;

    background: var(--primary);

    color: white;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.3px;

    transition:
        0.2s ease;

}


.primary-button:hover {

    background: var(--primary-dark);

    transform: translateY(-1px);

}


/* =========================================================
   CHECKBOXES
========================================================= */

.checkboxes {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin:
        10px 0 16px;

}


.checkboxes label {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin: 0;

    padding:
        8px 10px;

    border:
        1px solid var(--line);

    border-radius: 10px;

    background: var(--card-soft);

    font-size: 11px;

}


.checkboxes input {

    width: auto !important;

    min-height: auto !important;

}


/* =========================================================
   ADMIN ROW
========================================================= */

.admin-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        13px 0;

    border-bottom:
        1px solid var(--line);

}


.admin-row:last-child {

    border-bottom: 0;

}


.admin-row > div:first-child {

    min-width: 0;

}


.admin-row b {

    display: block;

    font-size: 13px;

}


.admin-row small {

    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   ROW ACTIONS
========================================================= */

.row-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 6px;

}


.row-actions form,
.admin-row > form {

    margin: 0;

}


/* =========================================================
   STATUS PILL
========================================================= */

.status-pill {

    min-height: 31px;

    padding:
        5px 9px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    background: var(--card);

    color: var(--text);

    font-size: 9px;

    font-weight: 900;

}


.status-pill.on {

    border-color:
        rgba(22, 163, 106, 0.35);

    background:
        var(--success-bg);

    color:
        var(--success);

}


.status-pill.off {

    border-color:
        rgba(217, 54, 85, 0.25);

    background:
        var(--danger-bg);

    color:
        var(--danger);

}


/* =========================================================
   CATEGORY FORM
========================================================= */

.category-form {

    display: grid;

    grid-template-columns:
        1fr 1fr auto;

    gap: 8px;

    margin-bottom: 18px;

}


.category-form input {

    width: 100%;

}


.category-form .primary-button {

    width: auto;

    min-width: 150px;

    padding:
        0 18px;

}


/* =========================================================
   LOGO PREVIEW
========================================================= */

/*
   IMPORTANT:
   Even if user uploads a huge banner,
   the preview stays inside this box.
*/

.logo-preview {

    width: 150px !important;

    height: 150px !important;

    max-width: 150px !important;

    max-height: 150px !important;

    min-width: 150px !important;

    min-height: 150px !important;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    margin-bottom: 12px;

    padding: 12px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background: var(--card-soft);

}


/*
   This rule is intentionally strong
   so uploaded banner images cannot
   stretch the admin page.
*/

.logo-preview img {

    display: block !important;

    width: 100% !important;

    height: 100% !important;

    max-width: 100% !important;

    max-height: 100% !important;

    min-width: 0 !important;

    min-height: 0 !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

}


/* =========================================================
   ALERTS
========================================================= */

.alert {

    margin-bottom: 18px;

    padding:
        11px 14px;

    border-radius: 10px;

    background: var(--danger-bg);

    color: var(--danger);

    font-size: 12px;

    font-weight: 700;

}


.success {

    margin-bottom: 18px;

    padding:
        11px 14px;

    border-radius: 10px;

    background: var(--success-bg);

    color: var(--success);

    font-size: 12px;

    font-weight: 700;

}


/* =========================================================
   TINY TEXT
========================================================= */

.tiny {

    display: block;

    margin-top: 7px;

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   ORDER HISTORY
========================================================= */

.order-card {

    margin-bottom: 10px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background: var(--card-soft);

    overflow: hidden;

}


.order-card summary {

    padding:
        13px;

    cursor: pointer;

    font-size: 12px;

    list-style: none;

}


.order-card summary::-webkit-details-marker {

    display: none;

}


.order-detail {

    padding:
        0 13px 15px;

    border-top:
        1px solid var(--line);

    font-size: 12px;

}


.order-detail p {

    margin:
        10px 0;

}


.inline-form {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 14px;

}


.inline-form select {

    flex: 1;

}


.inline-form .primary-button {

    width: auto;

    padding:
        0 15px;

}


/* =========================================================
   TABLE / GENERAL ADMIN SAFETY
========================================================= */

.admin-card table {

    width: 100%;

    border-collapse: collapse;

}


.admin-card th,
.admin-card td {

    padding: 10px;

    border-bottom:
        1px solid var(--line);

    text-align: left;

    font-size: 12px;

}


/* =========================================================
   FILE INPUT
========================================================= */

input[type="file"] {

    cursor: pointer;

    padding: 8px !important;

}


input[type="file"]::file-selector-button {

    margin-right: 10px;

    padding:
        7px 11px;

    border: 0;

    border-radius: 8px;

    background: var(--primary);

    color: white;

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 800px) {


    .hero {

        padding-top: 40px;

    }


    .hero h1 {

        font-size: 56px;

        letter-spacing: -3px;

    }


    .menu-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .special-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .category-form {

        grid-template-columns:
            1fr;

    }


    .category-form .primary-button {

        width: 100%;

    }


}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 600px) {


    .wrap {

        width:
            calc(100% - 24px);

    }


    .nav {

        min-height: 58px;

        gap: 8px;

    }


    .site-header .brand .site-logo,
    .site-logo {

        width: 120px !important;

        height: 40px !important;

        max-width: 120px !important;

        max-height: 40px !important;

    }


    .brand {

        font-size: 15px;

    }


    .brand small {

        display: none;

    }


    .nav-actions {

        gap: 5px;

    }


    .nav-button {

        min-height: 32px;

        padding:
            5px 9px;

        font-size: 11px;

    }


    .hero {

        padding-top: 35px;

        padding-bottom: 20px;

    }


    .hero h1 {

        margin-top: 5px;

        font-size: 47px;

        letter-spacing: -2.5px;

    }


    .hero p {

        font-size: 13px;

    }


    .section {

        padding:
            22px 0;

    }


    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 4px;

    }


    .section-heading h2 {

        font-size: 23px;

    }


    .menu-grid,
    .special-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

    }


    .food-image {

        height: 145px;

    }


    .food-content {

        padding: 12px;

    }


    .food-content h3 {

        font-size: 14px;

    }


    .food-content p {

        min-height: 36px;

        font-size: 10px;

    }


    .food-content > strong {

        font-size: 15px;

    }


    .add-button {

        min-height: 37px;

        font-size: 9px;

    }


    .cart-bar {

        bottom: 10px;

    }


    .modal {

        padding: 10px;

    }


    .modal-panel {

        padding: 20px;

        border-radius: 18px;

    }


    .send-grid {

        grid-template-columns:
            1fr;

    }


    .stats-grid {

        grid-template-columns:
            repeat(3, 1fr);

        gap: 7px;

    }


    .stat-card {

        padding: 11px;

    }


    .stat-card strong {

        font-size: 20px;

    }


    .admin-card {

        padding: 15px;

        border-radius: 15px;

    }


    .admin-row {

        align-items: flex-start;

        flex-direction: column;

    }


    .row-actions {

        width: 100%;

        justify-content: flex-start;

    }


    .row-actions .status-pill {

        font-size: 8px;

    }


    .inline-form {

        align-items: stretch;

        flex-direction: column;

    }


    .inline-form .primary-button {

        width: 100%;

    }


}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {


    .menu-grid,
    .special-grid {

        grid-template-columns:
            1fr;

    }


    .food-image {

        height: 190px;

    }


    .hero h1 {

        font-size: 42px;

    }


    .nav-button {

        padding:
            5px 7px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline:
        3px solid
        rgba(235, 66, 148, 0.30);

    outline-offset: 2px;

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;

    }

}

/* =========================================================
   FINAL CEMAL CEMIL KPS — WIDE DESKTOP LAYOUT
========================================================= */

@media (min-width: 1001px) {

    /*
       Use almost the whole desktop screen.
       This intentionally overrides the previous 1320px
       and 1180px limits that made the page look narrow.
    */

    .wrap,
    main.wrap {
        width: calc(100% - 80px) !important;
        max-width: 1600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }


    .hero {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 48px;
        padding-bottom: 34px;
    }


    .hero h1 {
        max-width: 900px;
        font-size: clamp(58px, 5vw, 82px);
    }


    .hero p {
        max-width: 850px;
    }


    .search-box {
        width: 100% !important;
        max-width: none !important;
    }


    .categories {
        width: 100% !important;
        max-width: none !important;
    }


    .section {
        width: 100%;
        padding: 34px 0;
    }


    .section-heading {
        width: 100%;
        margin-bottom: 20px;
    }


    /*
       Four equal columns across the available desktop width.
    */

    .special-grid,
    .menu-grid {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;

        gap: 22px !important;
    }


    .food-card {
        width: 100%;
        min-width: 0;
    }


    .food-image {
        width: 100%;
        height: 230px;
    }


    .food-content {
        padding: 18px;
    }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {

    .wrap,
    main.wrap {
        width: calc(100% - 100px) !important;
        max-width: 1650px !important;
    }


    .food-image {
        height: 245px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 601px) and (max-width: 1000px) {

    .wrap,
    main.wrap {
        width: calc(100% - 40px);
        max-width: 900px;
    }


    .menu-grid,
    .special-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 16px;
    }


    .food-image {
        height: 180px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .wrap,
    main.wrap {
        width: calc(100% - 24px);
        max-width: none;
    }


    .hero {
        padding-top: 34px;
        padding-bottom: 20px;
    }


    .hero h1 {
        font-size: 48px;
        letter-spacing: -2.5px;
    }


    .menu-grid,
    .special-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px;
    }


    .food-image {
        height: 145px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .menu-grid,
    .special-grid {
        grid-template-columns: 1fr;
    }


    .food-image {
        height: 190px;
    }

}


/* =========================================================
   DARK MODE CART FIX
========================================================= */

html[data-theme="dark"] .cart-bar {
    background: #1b181e !important;
    color: #f8f3f7 !important;
    border-color: #38313a !important;
}

html[data-theme="dark"] .cart-bar strong,
html[data-theme="dark"] .cart-bar span,
html[data-theme="dark"] #cartCount,
html[data-theme="dark"] #cartItemTotal {
    color: #f8f3f7 !important;
}

html[data-theme="dark"] .cart-bar button {
    color: #ffffff !important;
    background: var(--primary) !important;
}


/* =========================================================
   LIGHT MODE CART TEXT FIX
   Keep dark mode unchanged.
========================================================= */

html:not([data-theme="dark"]) .cart-bar {
    background: #ffffff !important;
    color: #171318 !important;
    border-color: #efc9df !important;
}

html:not([data-theme="dark"]) .cart-bar strong,
html:not([data-theme="dark"]) .cart-bar span,
html:not([data-theme="dark"]) #cartCount,
html:not([data-theme="dark"]) #cartItemTotal {
    color: #171318 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html:not([data-theme="dark"]) .cart-bar button {
    color: #ffffff !important;
    background: var(--primary) !important;
}


/* =========================================================
   CART — ALWAYS VISIBLE ACCENT COLOR
   Yellow-green works in BOTH light and dark mode.
========================================================= */

.cart-bar #cartCount,
.cart-bar #cartItemTotal,
.cart-bar .cart-icon {
    color: #c7f000 !important;
    -webkit-text-fill-color: #c7f000 !important;
    text-shadow: none !important;
}

.cart-bar #cartCount span,
.cart-bar #cartItemTotal {
    color: #c7f000 !important;
    -webkit-text-fill-color: #c7f000 !important;
}

.cart-bar {
    color: #c7f000 !important;
}

.cart-bar button {
    background: var(--primary) !important;
    color: #ffffff !important;
}


/* =========================================================
   CEMAL CEMIL KPS — ADMIN LOGIN PREMIUM
   Added on top of the user's latest style.css.
   Login page styling only.
========================================================= */

.admin-login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 12% 18%, rgba(235,66,148,.10) 0 90px, transparent 91px),
        radial-gradient(circle at 88% 82%, rgba(235,66,148,.08) 0 130px, transparent 131px),
        var(--bg);
}

.admin-login-page::before,
.admin-login-page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.admin-login-page::before {
    width: 280px;
    height: 280px;
    top: -150px;
    right: -120px;
    background: rgba(235,66,148,.08);
}

.admin-login-page::after {
    width: 220px;
    height: 220px;
    bottom: -130px;
    left: -100px;
    background: rgba(235,66,148,.06);
}

.admin-login-page .login-card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 30px;
    border: 1px solid rgba(235,66,148,.18);
    border-radius: 24px;
    background: var(--card);
    box-shadow:
        0 24px 70px rgba(38,15,29,.12),
        0 4px 18px rgba(235,66,148,.07);
}

.admin-login-page .login-card::before {
    content: "🍽️";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 15px;
    background: var(--primary-soft);
    font-size: 23px;
}

.admin-login-page .login-card h1 {
    margin: 0 0 20px;
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -.7px;
}

.admin-login-page .login-card h1::after {
    content: "ADMIN PANEL";
    display: block;
    margin-top: 8px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.admin-login-page .login-card label {
    margin: 18px 0 7px;
    font-size: 11px;
    font-weight: 800;
}

.admin-login-page .login-card input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: var(--card-soft);
    color: var(--text);
    font-size: 13px;
    transition: .2s ease;
}

.admin-login-page .login-card input::placeholder {
    color: var(--muted);
}

.admin-login-page .login-card input:focus {
    border-color: var(--primary);
    background: var(--card);
    box-shadow: 0 0 0 4px rgba(235,66,148,.10);
}

.admin-login-page .login-card .primary-button {
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    border-radius: 12px;
    font-size: 11px;
    letter-spacing: .5px;
    box-shadow: 0 8px 20px rgba(235,66,148,.18);
}

.admin-login-page .login-card .primary-button:hover {
    transform: translateY(-1px);
}

html[data-theme="dark"] .admin-login-page .login-card {
    border-color: rgba(235,66,148,.25);
    box-shadow:
        0 24px 70px rgba(0,0,0,.32),
        0 4px 20px rgba(235,66,148,.08);
}

@media (max-width: 480px) {
    .admin-login-page {
        padding: 16px;
    }

    .admin-login-page .login-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .admin-login-page .login-card h1 {
        font-size: 26px;
    }
}