/* Kosár, étlap, checkout */
.checkout-rules {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.checkout-min-warn {
    padding: 0.5rem 0.75rem;
    background: rgba(220, 53, 69, 0.12);
    border-radius: 6px;
}

.cart-fab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--dark-bg);
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.cart-fab:hover {
    transform: scale(1.05);
    color: var(--dark-bg);
}

.cart-fab .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.625rem;
    font-weight: 700;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-fab.has-items .cart-count {
    display: flex;
}

/* Cart drawer */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.cart-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #141414;
    border-left: 1px solid var(--glass-border);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin: 0;
    color: var(--gold);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-line {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.cart-line img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-line-info {
    flex: 1;
    min-width: 0;
}

.cart-line-info h4 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.cart-line-price {
    color: var(--gold);
    font-size: 0.9rem;
}

.cart-line--daily-menu {
    background: rgba(225, 167, 49, 0.06);
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 10px;
    border-bottom-color: rgba(225, 167, 49, 0.2);
}

.cart-line-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.cart-line-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.cart-line-meta i {
    color: var(--gold);
}

.cart-line-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(61, 122, 74, 0.25);
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.checkout-item--daily-menu span:first-child {
    color: var(--gold-light);
}

.checkout-daily-menu-hint {
    line-height: 1.5;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-qty button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    background: var(--dark-card);
    color: var(--text-primary);
    line-height: 1;
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: #111;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-total-row.grand {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-total-row.grand span:last-child {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

/* Menu page */
.page-menu {
    --menu-nav-height: 88px;
    background: var(--dark-bg);
}

.menu-page-hero {
    padding: calc(var(--menu-nav-height) + 1.75rem) 0 1.5rem;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, var(--dark-bg) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.menu-page-hero .section-title {
    margin-bottom: 0.5rem;
}

.menu-page-lead {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.menu-toolbar-wrap {
    position: sticky;
    top: var(--menu-nav-height);
    z-index: 1040;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.menu-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    min-height: 3.5rem;
}

.menu-cat-tabs {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0;
}

.menu-cat-tabs::-webkit-scrollbar {
    display: none;
}

.menu-cat-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
}

.menu-cat-tab i {
    font-size: 0.85rem;
    opacity: 0.85;
}

.menu-cat-tab.active,
.menu-cat-tab:hover {
    background: rgba(225, 167, 49, 0.12);
    border-color: rgba(225, 167, 49, 0.45);
    color: var(--gold);
}

.menu-view-toggle {
    flex-shrink: 0;
    display: inline-flex;
    padding: 0.2rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.35);
}

.menu-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.menu-view-btn i {
    font-size: 1rem;
}

.menu-view-btn.active {
    background: var(--gold);
    color: var(--dark-bg);
}

.menu-page-body {
    padding-top: 0.5rem;
}

.menu-category-block {
    scroll-margin-top: calc(var(--menu-nav-height) + 5.5rem);
    padding-top: 2.75rem;
}

.menu-category-block__head {
    margin-bottom: 1.25rem;
}

.menu-category-block__head h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-category-block__head h2 i {
    color: var(--gold);
}

.menu-category-block__head p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Product items – shared */
.menu-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-product {
    display: grid;
    gap: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.menu-product:hover {
    border-color: rgba(225, 167, 49, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.menu-product.is-sold-out {
    opacity: 0.72;
}

.menu-product__media {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.menu-product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.menu-product:hover .menu-product__media img {
    transform: scale(1.04);
}

.menu-product__media--placeholder {
    min-height: 4rem;
}

.menu-product__tag {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--gold);
    border: 1px solid rgba(225, 167, 49, 0.35);
}

.menu-product__badge--sold {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
}

.menu-product__body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.menu-product__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.menu-product__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.menu-product__price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
}

.menu-product__attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.menu-product__attr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(61, 122, 74, 0.18);
    color: var(--basil-light);
    font-size: 0.9rem;
}

.menu-product__desc {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-product__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.menu-product__footer .btn-add-cart {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.menu-product__details {
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.menu-product__details:hover {
    color: var(--gold) !important;
}

.menu-product__status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Lista nézet (mobil + asztali választás) */
.menu-view-list .menu-product {
    grid-template-columns: 112px 1fr;
    grid-template-rows: auto;
}

.menu-view-list .menu-product__media {
    grid-row: 1 / -1;
    min-height: 112px;
}

.menu-view-list .menu-product__media img {
    height: 100%;
    min-height: 112px;
}

.menu-view-list .menu-product__body {
    padding: 1rem 1.15rem;
}

.menu-view-list .menu-product__desc {
    -webkit-line-clamp: 2;
}

/* Kártya nézet – asztali */
@media (min-width: 992px) {
    .menu-view-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .menu-view-grid .menu-product {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .menu-view-grid .menu-product__media {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .menu-view-grid .menu-product__media img {
        min-height: 0;
        height: 100%;
    }

    .menu-view-grid .menu-product__body {
        flex: 1;
        padding: 1.15rem 1.25rem 1.25rem;
    }

    .menu-view-grid .menu-product__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .menu-view-grid .menu-product__title {
        font-size: 1.5rem;
    }

    .menu-view-grid .menu-product__price {
        font-size: 1.4rem;
    }

    .menu-view-grid .menu-product__desc {
        -webkit-line-clamp: 3;
        flex: 1;
    }

    .menu-view-grid .menu-product__footer {
        padding-top: 0.5rem;
        border-top: 1px solid var(--glass-border);
    }

    .menu-view-grid .menu-product__footer .btn-add-cart {
        flex: 1;
    }
}

@media (min-width: 1200px) {
    .menu-view-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobil: mindig kompakt lista (függetlenül a mentett nézettől) */
@media (max-width: 991.98px) {
    .menu-view-grid {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .menu-view-grid .menu-product {
        display: grid !important;
        grid-template-columns: 96px 1fr !important;
        flex-direction: unset !important;
        height: auto !important;
    }

    .menu-view-grid .menu-product__media {
        aspect-ratio: unset !important;
        grid-row: 1 / -1;
        min-height: 96px;
    }

    .menu-view-grid .menu-product__head {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    .menu-view-grid .menu-product__footer {
        border-top: none !important;
        padding-top: 0 !important;
    }

    .menu-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0;
    }

    .menu-cat-tabs {
        width: 100%;
    }

    .menu-page-hero {
        padding-bottom: 1rem;
    }

    .menu-page-lead {
        font-size: 0.875rem;
        padding: 0 0.5rem;
    }

    .menu-view-list .menu-product {
        grid-template-columns: 96px 1fr;
    }

    .menu-view-list .menu-product__media {
        min-height: 96px;
    }

    .menu-view-list .menu-product__media img {
        min-height: 96px;
    }

    .menu-product__title {
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    .menu-view-list .menu-product {
        grid-template-columns: 1fr;
    }

    .menu-view-list .menu-product__media {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .menu-view-list .menu-product__media img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

/* Főoldal – kedvencek (kompakt kártyarács) */
.home-favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.home-favorites-grid .menu-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.home-favorites-grid .menu-product__media {
    aspect-ratio: 4 / 3;
}

.home-favorites-grid .menu-product__media img {
    min-height: 0;
    height: 100%;
}

.home-favorites-grid .menu-product__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1rem 1rem;
}

.home-favorites-grid .menu-product__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.25rem;
}

.home-favorites-grid .menu-product__title {
    font-size: 1.15rem;
    line-height: 1.15;
}

.home-favorites-grid .menu-product__price {
    font-size: 1.1rem;
}

.home-favorites-grid .menu-product__desc {
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.home-favorites-grid .menu-product__attrs {
    margin-bottom: 0.35rem;
}

.home-favorites-grid .menu-product__footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
    gap: 0.25rem;
}

.home-favorites-grid .menu-product__footer .btn-add-cart {
    flex: 1;
    font-size: 0.62rem;
    padding: 0.45rem 0.5rem;
}

.home-favorites-grid .menu-product__details {
    display: none;
}

@media (min-width: 768px) {
    .home-favorites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.15rem;
    }

    .home-favorites-grid .menu-product__title {
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .home-favorites-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 399.98px) {
    .home-favorites-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.btn-add-cart:disabled {
    background: #444;
    color: #888;
}

/* Product modal */
.product-modal .modal-content {
    background: #161616;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.product-modal .modal-header {
    border-color: var(--glass-border);
}

.product-modal .btn-close {
    filter: invert(1);
}

.product-modal-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.product-modal-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.product-modal-attr {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(61, 122, 74, 0.15);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--basil-light);
}

.product-modal-ingredients {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.product-modal-ingredients span {
    display: inline-block;
    margin-right: 0.25rem;
}

.product-modal-ingredients span::after {
    content: '·';
    margin-left: 0.35rem;
    opacity: 0.5;
}

.product-modal-ingredients span:last-child::after {
    content: '';
}

.product-modal-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold);
}

/* Checkout */
.page-checkout {
    --checkout-nav-height: 88px;
    background: var(--dark-bg);
}

.page-checkout .navbar-custom {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.checkout-hero {
    padding: calc(var(--checkout-nav-height) + 1.5rem) 0 2rem;
    background: linear-gradient(165deg, rgba(61, 122, 74, 0.08) 0%, rgba(10, 10, 10, 0) 40%),
                linear-gradient(180deg, #141414 0%, var(--dark-bg) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    transition: color var(--transition);
}

.checkout-back:hover {
    color: var(--gold);
}

.checkout-hero .section-title {
    margin-bottom: 0.5rem;
}

.checkout-hero-lead {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 28rem;
    margin: 0 0 1.5rem;
}

.checkout-steps {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 420px;
}

.checkout-steps li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
}

.checkout-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.1rem;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.checkout-steps li i {
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
}

.checkout-steps li.done {
    color: var(--basil-light);
}

.checkout-steps li.done i {
    background: rgba(61, 122, 74, 0.2);
    border-color: rgba(79, 154, 95, 0.4);
    color: var(--basil-light);
}

.checkout-steps li.active {
    color: var(--gold);
}

.checkout-steps li.active i {
    background: rgba(225, 167, 49, 0.15);
    border-color: rgba(225, 167, 49, 0.45);
    color: var(--gold);
}

.checkout-layout {
    padding: 2rem 0 4rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkout-panel {
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.9) 0%, rgba(18, 18, 18, 0.95) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.65rem;
}

.checkout-panel--note {
    padding-top: 1.25rem;
}

.checkout-time-panel {
    border-color: rgba(225, 167, 49, 0.35);
    background: linear-gradient(145deg, rgba(225, 167, 49, 0.08) 0%, rgba(18, 18, 18, 0.96) 55%);
    box-shadow: 0 0 0 1px rgba(225, 167, 49, 0.12), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.checkout-time-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkout-time-mode {
    margin: 0;
    cursor: pointer;
}

.checkout-time-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-time-mode__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.1rem 0.75rem;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.checkout-time-mode__card i {
    font-size: 1.5rem;
    color: var(--gold);
}

.checkout-time-mode__card strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-time-mode__card small {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.checkout-time-mode.is-active .checkout-time-mode__card,
.checkout-time-mode input:checked + .checkout-time-mode__card {
    border-color: rgba(225, 167, 49, 0.55);
    background: rgba(225, 167, 49, 0.1);
    box-shadow: 0 0 0 1px rgba(225, 167, 49, 0.2);
}

.checkout-time-hint {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
}

.checkout-time-hint i {
    color: var(--gold);
    margin-right: 0.35rem;
}

.checkout-time-schedule__label {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.checkout-time-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkout-time-day {
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-primary);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.checkout-time-day.is-active {
    border-color: rgba(225, 167, 49, 0.6);
    background: rgba(225, 167, 49, 0.15);
    color: var(--gold);
}

.checkout-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.checkout-time-slot {
    min-width: 4.1rem;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.checkout-time-slot.is-active {
    border-color: rgba(225, 167, 49, 0.6);
    background: rgba(225, 167, 49, 0.12);
    color: var(--gold);
}

.checkout-time-selected {
    margin: 0.85rem 0 0;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: rgba(61, 122, 74, 0.15);
    border: 1px solid rgba(79, 154, 95, 0.35);
}

.checkout-time-selected i {
    color: var(--basil-light);
    margin-right: 0.35rem;
}

.checkout-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.checkout-panel__head--compact {
    align-items: center;
    margin-bottom: 1rem;
}

.checkout-panel__head--compact h2 {
    font-size: 1.15rem;
    margin: 0;
}

.checkout-panel__head h2 {
    font-size: 1.35rem;
    margin: 0 0 0.2rem;
}

.checkout-panel__head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.checkout-panel__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.checkout-panel__icon--gold {
    background: rgba(225, 167, 49, 0.1);
    border-color: rgba(225, 167, 49, 0.25);
    color: var(--gold);
}

.checkout-panel__icon--basil {
    background: rgba(61, 122, 74, 0.12);
    border-color: rgba(79, 154, 95, 0.3);
    color: var(--basil-light);
}

.checkout-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.checkout-option {
    margin: 0;
    cursor: pointer;
}

.checkout-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-option__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.15rem 0.85rem;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.checkout-option__card i {
    font-size: 1.65rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.checkout-option__card strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-option__card small {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.checkout-option input:checked + .checkout-option__card {
    border-color: rgba(225, 167, 49, 0.55);
    background: rgba(225, 167, 49, 0.08);
    box-shadow: 0 0 0 1px rgba(225, 167, 49, 0.2);
}

.checkout-option input:focus-visible + .checkout-option__card {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.checkout-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-field {
    margin: 0;
}

.checkout-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}

.checkout-label i {
    color: var(--gold);
    font-size: 0.9rem;
    opacity: 0.85;
}

.checkout-input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.checkout-input::placeholder {
    color: rgba(163, 163, 163, 0.55);
}

.checkout-input:hover {
    border-color: rgba(255, 255, 255, 0.16) !important;
}

.checkout-input:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(225, 167, 49, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(225, 167, 49, 0.12) !important;
    color: var(--text-primary) !important;
}

.checkout-submit-wrap {
    margin-top: 0.5rem;
}

.checkout-summary-card {
    background: linear-gradient(160deg, rgba(30, 30, 28, 0.98) 0%, rgba(18, 18, 16, 0.99) 100%);
    border: 1px solid rgba(225, 167, 49, 0.2);
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.65rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
    .checkout-summary-card {
        position: sticky;
        top: calc(var(--checkout-nav-height) + 1rem);
    }
}

.checkout-summary-card__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.checkout-summary-card__head i {
    font-size: 1.35rem;
    color: var(--gold);
}

.checkout-summary-card__head h2 {
    font-size: 1.35rem;
    margin: 0;
}

.checkout-info-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkout-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
}

.checkout-chip--gold {
    background: rgba(225, 167, 49, 0.12);
    color: var(--gold);
    border: 1px solid rgba(225, 167, 49, 0.25);
}

.checkout-chip--basil {
    background: rgba(61, 122, 74, 0.15);
    color: var(--basil-light);
    border: 1px solid rgba(79, 154, 95, 0.3);
}

.checkout-items {
    margin-bottom: 1rem;
    max-height: 240px;
    overflow-y: auto;
}

.checkout-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-items li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.checkout-items li:last-child {
    border-bottom: none;
}

.checkout-items li span:last-child {
    color: var(--gold);
    font-weight: 500;
    white-space: nowrap;
}

.checkout-empty-msg {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem 0;
}

.checkout-empty-msg a {
    color: var(--gold);
}

.checkout-totals {
    margin: 0 0 1.25rem;
    padding: 0;
}

.checkout-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.checkout-totals__row dt {
    margin: 0;
    font-weight: 400;
    color: var(--text-secondary);
}

.checkout-totals__row dd {
    margin: 0;
    font-weight: 500;
}

.checkout-totals__row--grand {
    margin-top: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(225, 167, 49, 0.25);
}

.checkout-totals__row--grand dt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.checkout-totals__row--grand dd {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    color: var(--gold);
    font-weight: 600;
}

.checkout-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.checkout-help {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.checkout-help a {
    color: var(--gold);
    font-weight: 500;
}

.checkout-help i {
    margin-right: 0.25rem;
    color: var(--basil-light);
}

@media (max-width: 991.98px) {
    .checkout-options,
    .checkout-time-modes {
        grid-template-columns: 1fr;
    }

    .checkout-hero-lead {
        font-size: 0.875rem;
    }

    .checkout-summary-card {
        margin-top: 0.5rem;
    }

    .checkout-submit-btn.d-none {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .checkout-panel {
        padding: 1.15rem;
    }

    .checkout-steps li span {
        font-size: 0.6rem;
    }
}

.pizza-card--clickable {
    cursor: pointer;
}

/* Checkout – összecsukható cím panel */
.checkout-panel--collapsible {
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease, padding 0.35s ease, border-width 0.35s;
    max-height: 520px;
    opacity: 1;
}

.checkout-panel--collapsible.is-collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0;
    pointer-events: none;
}

.checkout-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 1rem 0 0;
    margin: 0 0 0.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.checkout-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.checkout-trust i {
    color: var(--basil-light);
}

/* Checkout – mobil sticky sáv */
.checkout-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(225, 167, 49, 0.28);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
}

.checkout-mobile-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.checkout-mobile-bar__summary {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.checkout-mobile-bar__summary:active {
    background: rgba(225, 167, 49, 0.08);
    border-color: rgba(225, 167, 49, 0.35);
}

.checkout-mobile-bar__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.checkout-mobile-bar__count {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-mobile-bar__hint {
    font-size: 0.68rem;
    color: var(--basil-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-mobile-bar__total-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.checkout-mobile-bar__total-wrap small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.checkout-mobile-bar__total-wrap strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1.1;
    transition: transform 0.25s ease, color 0.25s ease;
}

.checkout-mobile-bar__total-wrap strong.is-updated {
    transform: scale(1.06);
    color: var(--gold-light);
}

.checkout-mobile-bar__chevron {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.checkout-mobile-bar__submit {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 5.5rem;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
}

.checkout-mobile-bar__submit i {
    font-size: 1.15rem;
}

.checkout-mobile-bar__submit:disabled {
    opacity: 0.45;
}


/* Étlap – mobil kosár sáv */
.shop-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.3s, visibility 0.3s;
}

.shop-mobile-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.shop-mobile-bar__cart {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    cursor: pointer;
}

.shop-mobile-bar__icon {
    position: relative;
    font-size: 1.25rem;
    color: var(--gold);
}

.shop-mobile-bar__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.625rem;
    font-weight: 700;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-mobile-bar__total {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    margin-left: auto;
    transition: transform 0.25s ease;
}

.shop-mobile-bar__total.is-updated {
    transform: scale(1.05);
}

.shop-mobile-bar__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 12px;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    body.has-checkout-mobile-bar .checkout-layout {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    body.has-shop-mobile-bar .menu-page-body {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }

    body.has-shop-mobile-bar.page-menu .navbar-custom .cart-fab {
        display: none;
    }
}

@media (min-width: 992px) {
    .checkout-mobile-bar,
    .shop-mobile-bar {
        display: none !important;
    }
}
