:root {
    --bg: #0a0a0a;
    --card: #111118;
    --accent: #00ffff;
    --accent-2: #ff00ff;
    --accent-3: #ff6600;
    --muted: #cccccc;
    --glass: rgba(0,255,255,0.05);
    --radius: 12px;
    --gap: 10px;
    --safe-bottom: 78px;
    --text: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html, body, #app {
    height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: rgb(255, 255, 255);
    background: white;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-size: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    color: rgb(255, 255, 255);
}

.brand .logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.brand .logo.round {
    border-radius: 50%;
}

input, textarea, select {
    font-size: 16px;
    line-height: 1.4;
    color: white;
    margin-right: 4px;
}

input::placeholder {
    color: white;
    opacity: 0.4;
}

h3 {
    color: rgb(255, 255, 255);
    font-size: 15px;
    padding-bottom: 5px;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: black;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    gap: 12px;
    background: rgb(0, 0, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 0.7px;
    color: var(--accent);
    text-transform: uppercase;
}

.icon-btn {
    background: transparent;
    border: 0px;
    color: rgb(255, 252, 252);
    font-size: 18px;
    padding: 8px;
    border-radius: 8px;
}

#menu-btn {
    background: transparent;
    border: 0px;
    color: rgb(255, 255, 255);
    font-size: 18px;
    padding: 8px;
    border-radius: 8px;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(253, 151, 10));
    border: 1px solid rgb(255, 210, 210);
    padding: 6px 10px;
    border-radius: 10px;
}

.cart-count {
    background: rgb(255, 242, 242);
    padding: 2px 8px;
    border-radius: 999px;
    color: rgb(0, 0, 0);
    font-weight: 700;
}

.content {
    flex: 1 1 0%;
    overflow: auto;
    padding: 10px 12px calc(var(--safe-bottom) + 12px);
}

.search-row {
    margin-bottom: 8px;
}

#search {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(252, 150, 7);
    background: transparent;
    color: rgb(255, 255, 255);
}

#search::placeholder {
    color: rgb(161, 139, 139);
    opacity: 1;
}

.categories {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow: auto;
    padding-bottom: 6px;
}

.categories button {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 10, 10, 0.05);
    color: rgb(255, 255, 255);
    font-weight: 600;
    transition: 0.25s;
    border: 1px solid rgb(146, 88, 4);
}

.categories button.active {
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(249, 150, 8));
    color: rgb(255, 255, 255);
}

.catalog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.card {
    background: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    padding: 10px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(252, 62, 27);
    gap: 8px;
    min-height: 180px;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: rgba(255, 79, 139, 0.08) 0px 0px 14px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(209, 255, 0, 0.18) 0px 0px 18px;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    background: transparent;
    display: block;
    margin: 0px auto;
    transition: transform 0.3s;
}

.card:hover img {
    transform: scale(1.04);
}

.card .title {
    font-weight: 800;
    font-size: 14px;
    color: rgb(0, 0, 0);
}

.card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.price {
    font-weight: 900;
    color: rgb(0, 0, 0);
}

.add {
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 89, 89));
    color: rgb(0, 0, 0);
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgb(255, 0, 0);
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s;
}

.add:hover {
    opacity: 0.9;
}

.bottom-nav {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px;
    z-index: 40;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-btn {
    background: transparent;
    border: 0px;
    color: var(--muted);
    font-weight: 700;
    transition: color 0.25s;
}

.nav-btn.active {
    color: var(--accent-2);
}

.modal {
    position: fixed;
    inset: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 60;
}

.modal.hidden {
    display: none;
}

.modal-panel {
    width: 90%;
    max-width: 300px;
    background: rgb(0, 0, 0);
    border-radius: 16px;
    padding: 14px 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 24px;
    transform: translateY(0px);
    animation: 0.25s ease-out 0s 1 normal none running modalIn;
}

@keyframes modalIn {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

.modal-panel img {
    width: 130px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 6px auto 10px;
    box-shadow: rgba(255, 213, 79, 0.25) 0px 0px 10px;
}

.modal-panel h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
    text-align: center;
    color: rgb(255, 255, 255);
}

.modal-panel p {
    font-size: 0.82rem;
    color: var(--muted, #ccc);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.modal-panel h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 4px;
    color: var(--text, #fff);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 3px;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px 0px;
}

.option-list label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--text, #fff);
    padding: 4px 0px;
}

.option-list input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--accent-3);
    cursor: pointer;
    flex-shrink: 0;
}

.qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 0px;
}

.qty-controls button {
    min-width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 0px;
    background: rgb(174, 105, 5);
    color: rgb(0, 0, 0);
    transition: background 0.2s;
}

.qty-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.total {
    font-size: 0.9rem;
    text-align: right;
    margin: 6px 0px;
    color: var(--accent-3);
    font-weight: 600;
}

.btn-primary {
    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 8px;
    display: block;
    width: 100%;
    border: none;
    background: var(--accent-3);
    color: rgb(17, 17, 17);
    font-weight: 600;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: rgba(255, 217, 0, 0.4) 0px 0px 10px;
}

.modal-close {
    position: absolute;
    right: 8px;
    top: 6px;
    background: transparent;
    border: 0px;
    color: var(--muted, #aaa);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: rgb(255, 217, 0);
}

.cart-drawer {
    position: fixed;
    right: 12px;
    bottom: 80px;
    width: 92%;
    max-width: 420px;
    background: rgb(0, 0, 0);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgb(253, 152, 6);
    color: white;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 12px 30px;
    z-index: 50;
}

.cart-drawer.hidden {
    display: none;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    max-height: 320px;
    overflow: auto;
    padding-right: 7px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    align-items: center;
}

.cart-item .info {
    flex: 1 1 0%;
}

.cart-item .muted {
    color: rgb(64, 255, 168);
    font-size: 12px;
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0px;
}

.row.total {
    font-weight: 900;
    color: rgb(255, 255, 255);
}

.cart-summary {
    margin-top: 10px;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(251, 240, 238));
    border: 0px;
    color: rgb(0, 0, 0);
    font-weight: 900;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgb(255, 255, 255);
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    color: var(--muted);
    margin: 10px 0px;
}

.btn-clear {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgb(253, 151, 7);
    color: var(--muted);
}

#checkout-form label {
    display: block;
    margin: 8px 0px;
}

#checkout-form input, #checkout-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(255, 237, 237);
    background: rgba(0, 0, 0, 0);
    color: rgb(255, 255, 255);
}

.radio-row {
    display: flex;
    gap: 12px;
}

.hidden {
    display: none;
}

.fade-in {
    animation: 0.28s ease 0s 1 normal both running fadeIn;
}

.fade-out {
    animation: 0.18s ease 0s 1 normal both running fadeOut;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@media (min-width: 900px) {
    .catalog {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-nav {
        display: none;
    }

    body {
        font-size: 16px;
    }
}

.side-menu {
    position: fixed;
    inset: 0px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px) saturate(160%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.side-menu.show {
    opacity: 1;
    pointer-events: all;
}

.side-menu-panel {
    width: 78%;
    max-width: 340px;
    background: rgb(0, 0, 0);
    border-right: 2px solid rgba(38, 132, 199, 0.08);
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 36px 24px;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: rgba(255, 180, 0, 0.15) 12px 0px 30px;
    position: relative;
    overflow: hidden;
}

.side-menu.show .side-menu-panel {
    transform: translateX(0px);
}

.side-menu-panel::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: radial-gradient(circle at left top, rgba(0, 0, 0, 0.15), transparent 70%), radial-gradient(circle at right bottom, rgba(0, 0, 0, 0.12), transparent 70%);
    pointer-events: none;
}

.menu-logo {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 50px;
}

.menu-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(rgba(255, 255, 255, 0.4) 0px 0px 10px);
    border-radius: 12px;
}

.social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0px;
    margin: 0px;
}

.social-links li a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.4px;
    transition: transform 0.3s, color 0.3s;
}

.social-links li a:hover {
    transform: translateX(8px);
    color: var(--accent-3);
}

.social-links li a i {
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
    color: rgb(254, 153, 9) !important;
}

.social-links li a:hover i {
    transform: scale(1.2) rotate(-6deg);
    color: rgb(17, 17, 17);
    filter: drop-shadow(rgba(13, 2, 140, 0.7) 0px 0px 10px);
}

.close-menu {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 24px;
    color: rgb(253, 150, 7);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s, transform 0.3s;
}

.close-menu:hover {
    color: var(--accent-3);
    transform: rotate(90deg) scale(1.15);
}

.app-footer {
    position: relative;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: linear-gradient(145deg, rgb(10, 10, 10), rgb(26, 26, 26));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 10px 8px 12px;
    color: rgb(204, 204, 204);
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    z-index: 100;
    box-shadow: rgba(0, 0, 0, 0.6) 0px -2px 10px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-logo {
    width: 58px;
    height: auto;
    animation: 3.5s ease-in-out 0s infinite normal none running pulseGlow;
    filter: drop-shadow(rgba(0, 64, 255, 0.55) 0px 0px 8px);
    transition: transform 0.4s, filter 0.4s;
}

.footer-logo:hover {
    transform: scale(1.12) rotate(2deg);
    filter: drop-shadow(rgba(255, 215, 0, 0.9) 0px 0px 15px) drop-shadow(rgba(255, 223, 70, 0.6) 0px 0px 25px);
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(rgba(255, 255, 255, 0.4) 0px 0px 6px) drop-shadow(rgba(255, 255, 255, 0.25) 0px 0px 12px);
    }

    50% {
        filter: drop-shadow(rgba(255, 255, 255, 0.9) 0px 0px 18px) drop-shadow(rgba(255, 255, 255, 0.6) 0px 0px 30px);
    }

    100% {
        filter: drop-shadow(rgba(255, 255, 255, 0.4) 0px 0px 6px) drop-shadow(rgba(255, 255, 255, 0.25) 0px 0px 12px);
    }
}

.footer-social {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 5px 0px 2px;
    padding: 0px;
}

.footer-social a {
    color: rgb(245, 197, 66);
    font-size: 1.4rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: rgb(255, 255, 255);
    transform: scale(1.2);
}

.app-footer p {
    color: rgb(153, 153, 153);
    margin: 0px;
    font-weight: 500;
    font-family: Poppins, sans-serif;
    font-size: 0.8rem;
}

.radio-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgb(255, 255, 255);
}

.radio-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0px 10px;
    font-size: 0.9rem;
    color: rgb(255, 255, 255);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

#payment-method {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    outline: none;
    background: rgb(254, 150, 7);
    color: rgb(255, 255, 255);
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
}

#payment-method option {
    background: rgb(17, 17, 17);
    color: rgb(255, 255, 255);
}

.hidden {
    display: none !important;
}

.transfer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    color: rgb(255, 255, 255);
    font-size: 0.9rem;
    animation: 0.3s ease 0s 1 normal both running fadeIn;
}

.transfer-box p {
    margin: 5px 0px;
}

.copy-btn {
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(230, 213, 12));
    color: rgb(0, 0, 0);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgb(230, 213, 12);
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: rgba(255, 251, 0, 0.4) 0px 0px 10px;
}

.copy-btn.copied {
    background: var(--accent-2);
    color: rgb(0, 0, 0);
}

.qr-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 10px;
}

.qr-item {
    flex: 1 1 0%;
    text-align: center;
}

.qr-item img {
    width: 100%;
    max-width: 140px;
    border-radius: 8px;
}

.qr-item p {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.8;
}

.section {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.section-header {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.section-body {
    max-height: 250px;
    overflow-y: auto;
    transition: max-height 0.4s, padding 0.3s;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
}

.section.collapsed .section-body {
    max-height: 0px;
    padding: 0px 10px;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgb(221, 221, 221);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px 10px;
    transition: background 0.2s, transform 0.15s;
    min-height: 36px;
}

.check-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: rgb(223, 120, 120);
    cursor: pointer;
}

.section-body::-webkit-scrollbar {
    width: 6px;
}

.section-body::-webkit-scrollbar-thumb {
    background-color: rgba(238, 118, 118, 0.6);
    border-radius: 3px;
}

.section-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.extra-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.extra-qty button {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgb(255, 255, 255);
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.extra-qty button:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: scale(1.1);
}

.extra-qty .ex-val {
    min-width: 18px;
    text-align: center;
    color: rgb(55, 170, 212);
    font-weight: 600;
    font-size: 14px;
}

#price-breakdown {
    font-size: 13px;
    line-height: 1.4;
    color: rgb(204, 204, 204);
}

#price-breakdown div {
    margin-bottom: 3px;
}

#price-breakdown strong {
    font-size: 13px;
    color: rgb(255, 255, 255);
}

#price-breakdown span {
    font-weight: 500;
}

.checkout-step {
    display: none;
    animation: 0.3s ease 0s 1 normal forwards running fadeIn;
}

.checkout-step.active {
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.client-summary {
    background: rgb(249, 149, 9);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding: 10px;
}

.card {
    background: rgb(12, 12, 12);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(255, 151, 9);
    box-shadow: rgba(255, 192, 203, 0.25) 0px 4px 14px;
    transition: 0.25s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(255, 182, 193, 0.35) 0px 6px 20px;
}

.card img {
    width: 80%;
    height: 120px;
    object-fit: contain;
    background: rgb(0, 0, 0);
    margin: 14px auto 8px;
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.3s;
}

.card:hover img {
    transform: scale(1.05);
}

.card .title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 4px;
}

.card .desc {
    font-size: 0.8rem;
    color: rgb(179, 177, 177);
    text-align: center;
    margin: 4px 8px;
    line-height: 1.3;
    min-height: 36px;
}

.card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 12px;
    margin-top: auto;
}

.price {
    font-weight: 800;
    color: rgb(255, 255, 255);
    font-size: 0.9rem;
}

.add {
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(254, 151, 6));
    border: none;
    color: rgb(255, 255, 255);
    padding: 7px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: rgba(255, 255, 255, 0.5) 0px 2px 6px;
    transition: 0.25s;
}

.add:hover {
    transform: scale(1.05);
    box-shadow: rgba(255, 182, 193, 0.6) 0px 4px 10px;
}

body {
    background: rgb(255, 245, 248);
}

.content {
    background: rgb(0, 0, 0);
    border-radius: 16px 16px 0px 0px;
    padding: 14px;
}

@media (min-width: 768px) {
    .catalog {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .card img {
        height: 140px;
    }
}

.product-overlay {
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 9999;
    animation: 0.25s ease 0s 1 normal none running fadeIn;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.product-sheet {
    width: 100%;
    max-width: 480px;
    background: rgb(0, 0, 0);
    border-radius: 24px 24px 0px 0px;
    padding-bottom: 2rem;
    overflow-y: auto;
    animation: 0.35s cubic-bezier(0.25, 1, 0.5, 1) 0s 1 normal none running slideUp;
    color: white;
    max-height: 90vh;
    box-shadow: rgba(0, 0, 0, 0.15) 0px -8px 30px;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0px);
    }
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
    border-top: 1px solid rgb(230, 213, 12);
}

.modal-header .close {
    font-size: 24px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-header .close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 0px 24px 24px;
}

.image-wrap {
    text-align: center;
    background: rgb(228, 140, 17);
    border-radius: 16px;
    margin-bottom: 18px;
    padding: 12px 0px;
}

.image-wrap img {
    width: 60%;
    max-width: 180px;
    border-radius: 14px;
}

.info h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 6px;
}

.info p {
    text-align: center;
    font-size: 0.95rem;
    color: rgb(255, 255, 255);
    margin-bottom: 14px;
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.extras-list label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(228, 140, 17);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgb(0, 0, 0);
    cursor: pointer;
    transition: 0.2s;
    color: rgb(17, 17, 17);
}

.extras-list label:hover {
    background: rgb(186, 172, 54);
}

.extras-list input {
    accent-color: rgb(0, 0, 0);
    transform: scale(1.2);
}

.extras-list small {
    color: rgb(0, 0, 0);
    font-weight: 600;
    padding-left: 5px;
}

.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px 0px;
}

.quantity button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(255, 209, 225);
    font-size: 22px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 6px;
}

.quantity span {
    font-size: 18px;
    font-weight: 600;
    color: rgb(255, 255, 255);
    min-width: 24px;
    text-align: center;
}

.add-btn {
    width: 100%;
    padding: 16px;
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-weight: 700;
    border-radius: 14px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.25s;
    border: 1px solid rgb(228 140 17);
}

.add-btn:hover {
    background: rgb(41, 49, 41);
}

.add-btn .price {
    font-weight: 800;
}

.cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0px;
}

.cart-item-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-item .info {
    flex: 1 1 0%;
}

.cart-item .price {
    min-width: 72px;
    text-align: right;
}

.checkout-modal {
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.checkout-modal.show {
    opacity: 1;
    pointer-events: all;
}

.checkout-panel {
    width: 100%;
    max-width: 420px;
    max-height: 80vh;
    background: rgb(0, 0, 0);
    border-radius: 20px 20px 0px 0px;
    padding: 20px 16px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px -4px 20px;
    scroll-behavior: smooth;
    animation: 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0s 1 normal none running slideUp;
    color: rgb(255, 255, 255);
    overflow-y: auto;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.checkout-panel form {
    width: 100%;
}

.checkout-panel .btn-primary {
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(196, 118, 6));
    color: rgb(255, 231, 231);
    font-weight: 800;
    border: 1px solid rgb(253, 152, 6);
}

.checkout-panel .btn-secondary {
    border: 1px solid rgb(253, 152, 6);
    color: rgb(255, 255, 255);
    background: transparent;
}

.extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.extra-item .extra-name {
    flex: 1 1 0%;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.extra-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}

.extra-controls button {
    background-color: rgb(17, 17, 17);
    border: none;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-weight: bold;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.extra-controls button:hover {
    background-color: rgb(255, 143, 66);
}

.extra-controls .extra-qty {
    display: inline-block;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.radio-row {
    display: flex;
    gap: 1rem;
}

.radio-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    cursor: pointer;
    background-color: rgb(179, 109, 18);
    transition: 0.2s;
    font-weight: 500;
}

.radio-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-btn input[type="radio"]:checked + span {
    background-color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    color: rgb(0, 0, 0);
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.radio-btn:hover {
    border-color: rgb(0, 0, 0);
}

.cart-bubble {
    position: fixed;
    bottom: 620px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgb(249, 149, 9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 15px;
    z-index: 999;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.cart-bubble:hover {
    transform: scale(1.1);
}

.cart-bubble.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#open-cart-floating {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.bubble-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background: rgb(47, 53, 66);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}
