* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;

    background:
        linear-gradient(rgba(0, 0, 0, .60), rgba(0, 0, 0, .60)),
        url("images/meti.jpg") center center / cover no-repeat fixed;

    min-height: 100vh;
    padding: 65px 15px;

    overflow-x: hidden;
}


/* =========================
   ANIMACION
========================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   HEADER
========================= */

header {
    width: 100%;
    max-width: 760px;

    min-height: 85px;
    height: auto;

    margin: 0 auto;
    padding: 10px 12px;

    text-align: center;

    background: rgba(20, 20, 20, .88);

    border: 1px solid #d4af37;
    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .55);

    animation: fadeUp .8s ease;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    overflow: visible;
}

header h1 {
    font-family: 'Great Vibes', cursive;

    font-size: clamp(calc(1rem + 2px), calc(6vw + 2px), calc(2.5rem + 2px));

    font-weight: normal;

    color: #d4af37;

    letter-spacing: clamp(0px, 0.22vw, .5px);

    line-height: 1.15;

    margin: 0;

    white-space: nowrap;

    width: 100%;
    max-width: 100%;

    overflow: visible;

    min-width: 0;
}

/* Mbaje titullin e header-it ne nje rresht */
header h1 br {
    display: none;
}

header p {
    color: #ddd;

    font-size: clamp(.68rem, 2.5vw, .9rem);

    line-height: 1.2;

    margin: 5px 0 0;

    width: 100%;
    max-width: 100%;
}


/* =========================
   SHIRITI I SHPORTES
========================= */

.cart-sticky-bar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 30px);
    max-width: 760px;

    background: rgba(245, 245, 245, .97);

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;
    align-items: center;

    padding: 10px 15px;

    border: 1px solid #d4af37;
    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .35);

    gap: 10px;
}


/* =========================
   INFORMACIONI I SHPORTES
========================= */

.cart-summary-info {
    display: flex;

    flex-direction: column;

    min-width: 90px;

    flex: 0 1 auto;

    flex-shrink: 1;
}

.cart-summary-info h3 {
    margin: 0;

    font-size: 13px;

    color: #222;
}

#cart-count-badge {
    font-size: 13px;

    color: #555;
}


/* =========================
   TAVOLINA
========================= */

.table-input-container {
    display: flex;

    align-items: center;

    gap: 5px;

    flex: 0 1 auto;

    flex-shrink: 1;

    min-width: 0;
}

.table-input-container label {
    font-size: 12px;

    color: #333;

    font-weight: 600;

    white-space: nowrap;
}

.table-input-container input {
    width: 48px;

    min-width: 48px;

    max-width: 48px;

    height: 32px;

    padding: 5px;

    text-align: center;

    background: #fff;

    border: 1px solid #bbb;

    color: #222;

    border-radius: 7px;

    font-size: 13px;

    outline: none;

    cursor: text;

    pointer-events: auto;
}

.table-input-container input:focus {
    border-color: #d4af37;

    box-shadow:
        0 0 0 2px rgba(212, 175, 55, .15);
}


/* =========================
   TOTALI
========================= */

.cart-total-badge {
    font-size: 14px;

    font-weight: bold;

    color: #222;

    white-space: nowrap;

    flex-shrink: 0;
}


/* =========================
   BUTONI SHPORTA
========================= */

.toggle-cart-btn {
    background: #1a1a1a;

    color: #d4af37;

    border: 1px solid #d4af37;

    padding: 7px 12px;

    font-weight: 600;

    border-radius: 30px;

    cursor: pointer;

    font-size: 12px;

    transition: all .3s ease;

    white-space: nowrap;

    flex-shrink: 0;
}

.toggle-cart-btn:hover {
    background: #d4af37;

    color: #111;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(212, 175, 55, .35);
}


/* =========================
   KONTAINERI KRYESOR
========================= */

.container {
    width: 100%;
    max-width: 760px;

    margin: 15px auto 25px;

    padding: 35px 15px;

    background: rgba(20, 20, 20, .88);

    border: 1px solid #d4af37;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .55);

    animation: fadeUp .8s ease;

    overflow: hidden;
}

.menu-container {
    width: 100%;
    max-width: 100%;

    margin: 0;

    padding: 0;

    min-width: 0;
}


/* =========================
   BUTONI KRYEFAQJA
========================= */

.menu-home-btn {
    display: inline-block;

    padding: 10px 20px;

    background: #1a1a1a !important;

    color: #d4af37 !important;

    border: 2px solid #d4af37 !important;

    border-radius: 40px !important;

    text-decoration: none !important;

    font-weight: 600 !important;

    font-size: .95rem !important;

    transition: all .35s ease !important;
}

.menu-home-btn:hover {
    background: #d4af37 !important;

    color: #111 !important;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(212, 175, 55, .45);
}


/* =========================
   TITULLAT
========================= */

.section-title {
    width: 100%;
    max-width: 100%;

    color: #d4af37;

    font-size: 1.5rem;

    font-weight: 600;

    margin-top: 30px;
    margin-bottom: 15px;

    padding-bottom: 8px;

    border-bottom:
        1px solid rgba(212, 175, 55, .35);

    line-height: 1.3;
}

.subsection-title {
    width: 100%;
    max-width: 100%;

    color: #d4af37;

    font-size: 1.15rem;

    margin-top: 20px;
    margin-bottom: 10px;

    line-height: 1.3;
}


/* =========================
   PRODUKTET
========================= */

.items-grid {
    width: 100%;
    max-width: 100%;

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 10px 0 0;

    padding: 0;

    min-width: 0;
}


/* =========================
   KARTA E PRODUKTIT
========================= */

.item-card {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    padding: 13px 15px;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .10);

    border-radius: 12px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

    overflow: visible;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.item-card:hover {
    background: rgba(255, 255, 255, .06);

    border-color:
        rgba(212, 175, 55, .55);

    transform: translateY(-2px);
}


/* =========================
   INFORMACIONI I PRODUKTIT
========================= */

.item-info {
    min-width: 0;

    flex: 1 1 auto;

    max-width: 100%;

    overflow: hidden;
}

.item-info h4 {
    margin: 0 0 4px;

    font-size: 14px;

    color: #fff;

    line-height: 1.35;

    max-width: 100%;

    overflow-wrap: anywhere;

    word-break: break-word;
}

.ingredients {
    margin: 0;

    font-size: 11px;

    color: #aaa;

    line-height: 1.45;

    max-width: 100%;

    overflow-wrap: anywhere;

    word-break: break-word;
}


/* =========================
   CMIMI + POROSIT
========================= */

.price-action-row {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    flex: 0 0 auto;

    max-width: 45%;

    min-width: 0;

    margin: 0;
}

.item-price {
    color: #d4af37;

    font-weight: bold;

    font-size: 13px;

    white-space: nowrap;

    flex-shrink: 0;
}

.add-btn {
    background: transparent;

    color: #d4af37;

    border: 1px solid #d4af37;

    padding: 6px 10px;

    border-radius: 20px;

    cursor: pointer;

    font-weight: 600;

    font-size: 11px;

    white-space: nowrap;

    flex-shrink: 0;

    transition: all .3s ease;
}

.add-btn:hover {
    background: #d4af37;

    color: #111;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(212, 175, 55, .35);
}


/* =========================
   PIZZA
========================= */

.pizza-prices {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.item-card > .pizza-prices {
    flex: 0 0 auto;

    width: auto;

    max-width: none;

    min-width: 0;

    margin-left: auto;
}

.item-card > .pizza-prices > .price-action-row {
    width: auto;

    max-width: none;

    flex: 0 0 auto;

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;
}


/* =========================
   MODALJA
========================= */

.cart-modal-overlay {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, .75);

    justify-content: center;

    align-items: center;

    z-index: 2000;

    padding: 15px;
}

.cart-modal-content {
    width: 100%;

    max-width: 420px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 20px;

    background: rgba(20, 20, 20, .98);

    border: 1px solid #d4af37;

    border-radius: 15px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .65);
}


/* =========================
   HEADER I MODALIT
========================= */

.cart-modal-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    border-bottom:
        1px solid rgba(212, 175, 55, .3);

    padding-bottom: 10px;
}

.cart-modal-header h2 {
    margin: 0;

    color: #d4af37;

    font-size: 20px;
}

.close-modal-btn {
    background: transparent;

    border: none;

    color: #fff;

    font-size: 25px;

    cursor: pointer;

    line-height: 1;

    flex-shrink: 0;
}


/* =========================
   PRODUKTET NE SHPORTË
========================= */

.cart-items {
    list-style: none;

    padding: 0;

    margin: 15px 0;

    max-height: 250px;

    overflow-y: auto;

    width: 100%;
}

.cart-items li {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 8px;

    padding: 8px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, .08);

    font-size: 13px;

    max-width: 100%;

    overflow-wrap: anywhere;
}


/* =========================
   TOTALI I MODALIT
========================= */

.cart-modal-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    font-weight: bold;

    font-size: 16px;

    margin: 15px 0;

    border-top:
        1px solid rgba(212, 175, 55, .3);

    padding-top: 10px;

    color: #d4af37;
}


/* =========================
   WHATSAPP
========================= */

.checkout-btn {
    width: 100%;

    background: transparent;

    color: #fff;

    border: 2px solid #28a745;

    padding: 11px;

    font-weight: 600;

    border-radius: 30px;

    cursor: pointer;

    font-size: 14px;

    transition: all .3s ease;
}

.checkout-btn:hover {
    background: #28a745;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(40, 167, 69, .3);
}


/* =========================
   TABLET
========================= */

@media (max-width: 768px) {

    body {
        padding: 20px 12px;

        background-attachment: scroll;
    }

    header {
        min-height: 85px;

        padding: 9px 12px;

        border-radius: 17px;
    }

    header h1 {
        font-size: clamp(calc(1rem + 2px), calc(6vw + 2px), calc(2.5rem + 2px));

        letter-spacing: clamp(0px, 0.22vw, .5px);

        line-height: 1.15;
    }

    header p {
        font-size: clamp(.7rem, 2.5vw, .86rem);
    }


    /* SHPORTA */

    .cart-sticky-bar {
        top: 5px;

        padding: 9px 11px;

        border-radius: 13px;

        gap: 8px;
    }

    .table-input-container input {
        width: 48px;

        min-width: 48px;

        max-width: 48px;

        height: 32px;
    }


    /* KONTAINERI */

    .container {
        width: 100%;

        max-width: 760px;

        padding: 30px 15px;

        border-radius: 17px;
    }


    /* PRODUKTET */

    .item-card {
        padding: 12px 15px;

        gap: 10px;
    }

    .item-info h4 {
        font-size: 13px;
    }

    .ingredients {
        font-size: 10px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .subsection-title {
        font-size: 1.1rem;
    }


    /* PIZZA */

    .item-card > .pizza-prices {
        gap: 8px;
    }

    .item-card > .pizza-prices > .price-action-row {
        gap: 8px;
    }
}


/* =========================
   TELEFON
========================= */

@media (max-width: 480px) {

    body {
        padding: 47px 10px 15px;
    }


    /* HEADER */

    header {
        width: 100%;

        min-height: 85px;

        padding: 9px 8px;

        border-radius: 15px;
    }

    header h1 {
        font-size: clamp(calc(1rem + 2px), calc(6vw + 2px), calc(2.5rem + 2px));

        letter-spacing: clamp(0px, 0.22vw, .5px);

        line-height: 1.15;

        white-space: nowrap;
    }

    header p {
        font-size: clamp(.65rem, 2.8vw, .76rem);

        line-height: 1.2;

        margin-top: 5px;
    }


    /* SHPORTA */

    .cart-sticky-bar {
        top: 5px;

        width: calc(100% - 20px);

        max-width: calc(100% - 20px);

        padding: 8px;

        background: rgba(250, 250, 250, .98);

        border-radius: 12px;

        gap: 5px;

        justify-content: space-between;
    }

    .cart-summary-info {
        min-width: 0;

        flex: 0 1 auto;
    }

    .cart-summary-info h3 {
        font-size: 11px;
    }

    #cart-count-badge {
        font-size: 10px;
    }


    /* TAVOLINA */

    .table-input-container {
        gap: 3px;

        flex: 0 1 auto;

        min-width: 0;
    }

    .table-input-container label {
        font-size: 10px;
    }

    .table-input-container input {
        width: 36px;

        min-width: 36px;

        max-width: 36px;

        height: 28px;

        padding: 4px;

        font-size: 11px;
    }


    /* SHUMA + POROSIT */

    .cart-sticky-bar > div:last-child {
        display: flex !important;

        align-items: center;

        gap: 5px !important;

        flex: 0 1 auto;

        min-width: 0;

        transform: none;
    }

    .cart-total-badge {
        font-size: 11px;
    }

    .toggle-cart-btn {
        padding: 6px 8px;

        font-size: 9px;
    }


    /* KONTAINERI */

    .container {
        width: 100%;

        max-width: 100%;

        margin: 12px auto 20px;

        padding: 25px 10px;

        border-radius: 15px;

        overflow: hidden;
    }

    .menu-container {
        width: 100%;

        max-width: 100%;

        padding: 0;
    }


    /* BUTONI */

    .menu-home-btn {
        padding: 9px 16px !important;

        font-size: .85rem !important;
    }


    /* TITULLAT */

    .section-title {
        font-size: 1.25rem;

        margin-top: 24px;

        margin-bottom: 12px;
    }

    .subsection-title {
        font-size: 1rem;

        margin-top: 17px;
    }


    /* PRODUKTET */

    .items-grid {
        width: 100%;

        max-width: 100%;

        gap: 8px;

        margin-left: 0;

        margin-right: 0;
    }

    .item-card {
        width: 100%;

        max-width: 100%;

        padding: 10px 12px;

        gap: 6px;

        border-radius: 10px;
    }

    .item-info {
        min-width: 0;

        max-width: 58%;
    }

    .item-info h4 {
        font-size: 12px;

        line-height: 1.3;
    }

    .ingredients {
        font-size: 9px;

        line-height: 1.35;
    }


    /* CMIMET */

    .price-action-row {
        max-width: 42%;

        gap: 4px;

        margin: 0;
    }

    .item-price {
        font-size: 10px;
    }

    .add-btn {
        padding: 5px 7px;

        font-size: 9px;
    }


    /* PIZZA */

    .pizza-prices {
        gap: 4px;
    }

    .item-card > .pizza-prices {
        flex: 0 0 auto;

        width: auto;

        max-width: none;

        min-width: 0;

        margin-left: auto;

        gap: 4px;
    }

    .item-card > .pizza-prices > .price-action-row {
        width: auto;

        max-width: none;

        gap: 4px;

        margin: 0;

        justify-content: flex-end;
    }


    /* MODAL */

    .cart-modal-overlay {
        padding: 10px;
    }

    .cart-modal-content {
        max-width: 100%;

        max-height: 92vh;

        padding: 16px;

        border-radius: 13px;
    }

    .cart-modal-header h2 {
        font-size: 18px;
    }

    .cart-items li {
        font-size: 11px;

        align-items: flex-start;

        flex-wrap: wrap;
    }

    .cart-modal-total {
        font-size: 14px;
    }

    .checkout-btn {
        font-size: 12px;

        padding: 10px;
    }


    /* FOOTER */

    .container footer {
        width: 100%;

        max-width: 100%;

        margin: 0;

        padding: 20px 10px;

        text-align: center;

        color: #aaa;

        font-size: .78rem;

        line-height: 1.4;
    }
}


/* =========================
   TELEFON SHUME I VOGEL
========================= */

@media (max-width: 360px) {

    body {
        padding: 47px 7px 10px;
    }


    /* HEADER */

    header {
        width: 100%;

        min-height: 85px;

        padding: 7px 6px;

        border-radius: 14px;
    }

    header h1 {
        font-size: clamp(calc(1rem + 2px), calc(6vw + 2px), calc(2.5rem + 2px));

        letter-spacing: clamp(0px, 0.22vw, .5px);

        line-height: 1.15;

        white-space: nowrap;
    }

    header p {
        font-size: clamp(.6rem, 2.8vw, .69rem);

        line-height: 1.15;
    }


    /* SHPORTA */

    .cart-sticky-bar {
        padding: 7px;

        gap: 4px;

        border-radius: 11px;
    }

    .cart-summary-info h3,
    #cart-count-badge {
        font-size: 9px;
    }

    .table-input-container {
        gap: 2px;
    }

    .table-input-container label {
        font-size: 8px;
    }

    .table-input-container input {
        width: 32px;

        min-width: 32px;

        max-width: 32px;

        height: 26px;

        padding: 3px;

        font-size: 9px;
    }

    .cart-sticky-bar > div:last-child {
        transform: none;

        gap: 3px !important;
    }

    .cart-total-badge {
        font-size: 9px;
    }

    .toggle-cart-btn {
        padding: 5px 6px;

        font-size: 8px;
    }


    /* KONTAINERI */

    .container {
        width: 100%;

        max-width: 100%;

        padding: 22px 8px;

        border-radius: 14px;
    }

    .section-title {
        font-size: 1.15rem;
    }


    /* PRODUKTET */

    .item-card {
        padding: 8px 10px;

        gap: 5px;
    }

    .item-info {
        max-width: 55%;
    }

    .item-info h4 {
        font-size: 11px;
    }

    .ingredients {
        font-size: 8px;
    }


    /* CMIMET */

    .price-action-row {
        max-width: 45%;

        gap: 3px;

        margin: 0;
    }

    .item-price {
        font-size: 9px;
    }

    .add-btn {
        padding: 4px 5px;

        font-size: 8px;
    }


    /* PIZZA */

    .pizza-prices {
        gap: 3px;
    }

    .item-card > .pizza-prices {
        gap: 3px;
    }

    .item-card > .pizza-prices > .price-action-row {
        gap: 3px;
    }


    /* FOOTER */

    .container footer {
        padding: 18px 5px;

        font-size: .7rem;
    }
}


/* =========================
   TOUCH
========================= */

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

button {
    touch-action: manipulation;
}


/* =========================
   SCROLLBAR
========================= */

.cart-items::-webkit-scrollbar,
.cart-modal-content::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-thumb,
.cart-modal-content::-webkit-scrollbar-thumb {
    background: #d4af37;

    border-radius: 10px;
}
/* Product previews: shared width for the image and its photo button. */
body.safari-menu-page .item-card .menu-product-media{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-top:8px;width:120px;max-width:100%}
body.safari-menu-page .item-card .menu-product-thumbnail{display:block;box-sizing:border-box;width:100%;max-width:100%;height:90px;object-fit:contain;background:rgba(0,0,0,.16);border:1px solid rgba(212,175,55,.24);border-radius:9px}
body.safari-menu-page .item-card .item-info .menu-product-media>.add-btn{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:7px 4px!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important;text-align:center}
@media(max-width:600px){
 body.safari-menu-page .item-card .menu-product-media{width:100px;gap:6px;margin-top:7px}
 body.safari-menu-page .item-card .menu-product-thumbnail{height:75px}
}
@media(max-width:380px){
 body.safari-menu-page .item-card .menu-product-media{width:84px}
 body.safari-menu-page .item-card .menu-product-thumbnail{height:63px}
}

/* Safari action alignment, 10 October 2026. */
body.safari-menu-page .item-card:has(.menu-product-media){align-items:flex-end!important}
body.safari-menu-page .item-card:has(.menu-product-media)>.price-action-row,
body.safari-menu-page .item-card:has(.menu-product-media)>.pizza-prices{align-self:flex-end!important;margin-bottom:0!important}
body.safari-menu-page .item-card:has(.menu-product-media)>.pizza-prices{gap:12px!important}
body.safari-menu-page .item-card .menu-product-media>.add-btn{min-height:36px!important}
@media(max-width:700px){
body.safari-menu-page .item-card:has(.menu-product-media){display:flex!important;flex-wrap:nowrap!important;justify-content:space-between;align-items:flex-end!important}
body.safari-menu-page .item-card:has(.menu-product-media)>.item-info{display:block!important;flex:1 1 auto;min-width:0}
body.safari-menu-page .item-card:has(.menu-product-media)>.price-action-row{display:flex!important;flex:0 0 auto;align-items:center!important;gap:8px;margin:0!important}
body.safari-menu-page .item-card:has(.menu-product-media)>.price-action-row>.item-price{margin:0!important}
body.safari-menu-page .item-card:has(.menu-product-media)>.price-action-row>.add-btn,
body.safari-menu-page .item-card:has(.menu-product-media)>.pizza-prices>.price-action-row>.add-btn{box-sizing:border-box;min-height:36px!important;font-size:12px!important;padding:6px 9px!important;line-height:normal!important}
}
@media(max-width:380px){
body.safari-menu-page .item-card:has(.menu-product-media)>.price-action-row>.add-btn,
body.safari-menu-page .item-card:has(.menu-product-media)>.pizza-prices>.price-action-row>.add-btn{font-size:11px!important;padding:6px!important}
}
