/* ===== CSS Variables ===== */
:root {
    --color-bg: #0f172a;
    --color-bg-light: #1e293b;
    --color-surface: #ffffff;
    --color-surface-soft: #f8fafc;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-primary: #f97316;
    --color-primary-dark: #ea580c;
    --color-primary-light: #fff7ed;
    --color-accent: #fbbf24;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text);
    background: var(--color-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    line-height: 1.2;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgb(249 115 22 / 0.35);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(249 115 22 / 0.45);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: var(--color-text);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.cart-btn {
    position: relative;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-btn svg {
    display: block;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-accent);
    color: var(--color-text);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 6rem;
    max-width: 680px;
}

.hero-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    margin-bottom: 1.25rem;
}

.hero h1 .accent {
    color: var(--color-primary);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

/* ===== Features ===== */
.features {
    padding: 5rem 0;
    background: var(--color-surface-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header.light {
    color: white;
}

.section-tag {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.section-header.light .section-sub {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== Menu ===== */
.menu {
    padding: 6rem 0;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    background: var(--color-surface-soft);
    transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--color-primary);
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.menu-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.menu-card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.menu-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.menu-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.price {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
}

.add-to-cart {
    width: 100%;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: background var(--transition);
}

.add-to-cart:hover {
    background: var(--color-primary-dark);
}

/* ===== Order Section ===== */
.order-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
    color: white;
    text-align: center;
}

.order-cta {
    margin-top: 2rem;
}

/* ===== Contact ===== */
.contact {
    padding: 6rem 0;
    background: var(--color-surface-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    color: var(--color-primary);
}

.contact-icon svg {
    display: block;
}

.contact-list strong {
    display: block;
    margin-bottom: 0.15rem;
}

.contact-list p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-map {
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    transition: transform var(--transition), color var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--color-primary);
}

.social-links a svg {
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Cart Sidebar ===== */
/* ============================================================
   CART SIDEBAR
============================================================ */

.cart-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.5);

    z-index: 1100;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}


.cart-sidebar {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    max-width: 420px;

    /*
     * Use dynamic viewport height where supported.
     * This fixes Android Chrome viewport issues.
     */
    height: 100vh;
    height: 100dvh;

    background: white;

    z-index: 1200;

    transform: translateX(100%);

    transition: transform 0.3s ease;

    display: flex;
    flex-direction: column;

    box-shadow: var(--shadow-xl);

    overflow: hidden;
}


.cart-sidebar.open {
    transform: translateX(0);
}


/* ============================================================
   CART HEADER
============================================================ */

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-shrink: 0;

    padding: 1.25rem;

    border-bottom: 1px solid var(--color-border);

    background: white;
}


.cart-header h3 {
    font-size: 1.3rem;
}


.close-cart {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.8rem;
    color: var(--color-text-muted);

    line-height: 1;

    border-radius: 50%;
}


.close-cart:hover {
    color: var(--color-text);

    background: var(--color-surface-soft);
}


/* ============================================================
   CART BODY
============================================================ */

.cart-body {
    flex: 1;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 1.25rem;

    /*
     * Makes scrolling smoother on Android.
     */
    -webkit-overflow-scrolling: touch;

    /*
     * Prevents flexbox from forcing the body
     * larger than the available space.
     */
    overscroll-behavior: contain;
}


.empty-cart {
    text-align: center;

    padding: 3rem 1rem;
}


.empty-cart p {
    color: var(--color-text-muted);

    margin-bottom: 1.5rem;
}


/* ============================================================
   CART ITEMS
============================================================ */

.cart-item {
    display: flex;

    gap: 1rem;

    padding: 1rem 0;

    border-bottom: 1px solid var(--color-border);
}


.cart-item-image {
    width: 70px;
    height: 70px;

    border-radius: var(--radius-md);

    overflow: hidden;

    flex-shrink: 0;
}


.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.cart-item-details {
    flex: 1;

    min-width: 0;
}


.cart-item-details h4 {
    font-family: 'Inter', sans-serif;

    font-size: 0.95rem;
    font-weight: 600;

    margin-bottom: 0.25rem;
}


.cart-item-details .item-price {
    color: var(--color-text-muted);

    font-size: 0.85rem;
}


.cart-item-actions {
    display: flex;

    align-items: center;

    gap: 0.5rem;

    margin-top: 0.5rem;
}


.qty-btn {
    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: var(--color-surface-soft);

    font-weight: 700;

    display: grid;
    place-items: center;
}


.qty-btn:hover {
    background: var(--color-border);
}


.remove-item {
    margin-left: auto;

    color: #ef4444;

    font-size: 0.85rem;
    font-weight: 500;
}


/* ============================================================
   CART FOOTER
============================================================ */

.cart-footer {
    flex-shrink: 0;

    width: 100%;

    padding: 1.25rem;

    border-top: 1px solid var(--color-border);

    background: var(--color-surface-soft);

    /*
     * Important for phones with bottom navigation/safe areas.
     */
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
}


.cart-total {
    display: flex;

    justify-content: space-between;
    align-items: center;

    font-size: 1.15rem;
    font-weight: 700;

    margin-bottom: 1rem;
}


/* ============================================================
   PROCEED TO CHECKOUT
============================================================ */

#checkoutBtn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 50px;

    padding: 0.85rem 1rem;

    box-sizing: border-box;

    white-space: nowrap;

    text-align: center;

    font-size: 0.95rem;
    font-weight: 700;

    line-height: 1.2;

    border-radius: var(--radius-md);

    background: var(--color-primary);

    color: white;

    box-shadow: 0 4px 14px rgb(249 115 22 / 0.25);

    -webkit-appearance: none;
    appearance: none;

    touch-action: manipulation;
}


#checkoutBtn:hover {
    background: var(--color-primary-dark);
}


#checkoutBtn:active {
    transform: scale(0.99);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    font-size: 1.3rem;
}

.close-modal {
    font-size: 1.8rem;
    color: var(--color-text-muted);
    line-height: 1;
}

.close-modal:hover {
    color: var(--color-text);
}

.modal form {
    padding: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.order-summary {
    background: var(--color-surface-soft);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.order-summary h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 20px);
    
    background: #111827;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    
    font-size: 14px;
    font-weight: 500;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transition: opacity 0.25s ease, transform 0.25s ease;
    
    z-index: 9999;
    max-width: calc(100% - 30px);
    text-align: center;
}

/* Show only when this class is added */
.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .mobile-toggle {
        display: flex;
    }

    /* Mobile sidebar */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;

        width: 280px;
        max-width: 85%;
        height: 100vh;

        background: var(--color-bg);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 5rem 1.5rem 1.5rem;

        gap: 1.25rem;

        transform: translateX(100%);
        transition: transform 0.3s ease;

        z-index: 9999;

        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    /* OPEN */
    .nav-links.open {
        transform: translateX(0);
    }

    /* CLOSE BUTTON */
    .mobile-nav-close {
        position: absolute !important;
        top: 18px;
        right: 18px;

        width: 40px !important;
        height: 40px;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-nav-close button {
        position: relative;

        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);

        background: rgba(255, 255, 255, 0.08);

        cursor: pointer;

        z-index: 10000;
    }

    /* X lines */
    .mobile-nav-close button span {
        position: absolute;

        width: 18px;
        height: 2px;

        background: #ffffff;

        border-radius: 10px;
    }

    .mobile-nav-close button span:first-child {
        transform: rotate(45deg);
    }

    .mobile-nav-close button span:last-child {
        transform: rotate(-45deg);
    }

    .mobile-nav-close button:hover {
        background: var(--color-primary);
        border-color: var(--color-primary);
    }

    /* Links */
    .nav-links li:not(.mobile-nav-close) {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

}

@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column;
    }

    .badge {
        width: fit-content;
    }
}

/* ===== Floating Cart ===== */
#floatingCart {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 58px;
    height: 58px;

    display: none;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: var(--color-primary);
    color: white;

    font-size: 21px;

    cursor: pointer;

    z-index: 1050;

    box-shadow:
        0 8px 25px rgba(249, 115, 22, 0.35);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

/* Show cart */
#floatingCart.show {
    display: flex;
}

/* Hover */
#floatingCart:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(249, 115, 22, 0.45);
}

/* Cart count */
.floating-cart-count {
    position: absolute;

    top: -4px;
    right: -4px;

    min-width: 22px;
    height: 22px;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--color-accent);
    color: var(--color-text);

    border: 2px solid white;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

/* Animation when item is added */
#floatingCart.cart-added {
    animation: cartBounce 0.45s ease;
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.18);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile */
@media (max-width: 480px) {

    #floatingCart {
        width: 54px;
        height: 54px;

        bottom: 20px;
        right: 20px;

        font-size: 19px;
    }

}

/* ============================================================
   STORE NOTIFICATION
============================================================ */

.store-notification {
    position: relative;
    width: 100%;
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}


/* Left accent */

.store-notification::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f59e0b;
}


/* Inner */

.notification-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 45px 14px 20px;

    display: flex;
    align-items: flex-start;
    gap: 13px;
}


/* Icon */

.notification-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(245, 158, 11, 0.10);

    color: #f59e0b;
    font-size: 14px;
}


/* Content */

.notification-content {
    flex: 1;
    min-width: 0;
}


/* Heading */

.notification-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}


/* Title */

.notification-heading h3 {
    margin: 0;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}


/* Badge */

.notification-badge {
    display: inline-flex;
    align-items: center;

    padding: 3px 7px;

    border-radius: 20px;

    background: rgba(245, 158, 11, 0.10);

    color: #f59e0b;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


/* Message */

.notification-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
    line-height: 1.7;
}


/* Close button */

.notification-close {
    position: absolute;

    right: 12px;
    top: 50%;

    width: 28px;
    height: 28px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: rgba(255, 255, 255, 0.35);

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.notification-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .notification-inner {
        padding: 12px 42px 12px 15px;
        gap: 10px;
    }


    .notification-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;

        font-size: 12px;
    }


    .notification-heading h3 {
        font-size: 13px;
    }


    .notification-badge {
        display: none;
    }


    .notification-content p {
        font-size: 12px;
        line-height: 1.6;
    }


    .notification-close {
        right: 8px;
    }

}

.product-image-wrapper {
    position: relative;
}

/* ============================================================
   PRODUCT STOCK
============================================================ */

.product-stock {
    position: absolute;
    top: 12px;
    right: 12px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 9px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    z-index: 5;
}


/* Stock dot */

.stock-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    flex-shrink: 0;
}


/* In stock */

.product-stock.in-stock {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;

    border: 1px solid rgba(34, 197, 94, 0.18);
}

.product-stock.in-stock .stock-dot {
    background: #4ade80;
}


/* Low stock */

.product-stock.low-stock {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;

    border: 1px solid rgba(245, 158, 11, 0.18);
}

.product-stock.low-stock .stock-dot {
    background: #fbbf24;
}


/* Out of stock */

.product-stock.out-stock {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;

    border: 1px solid rgba(239, 68, 68, 0.18);
}

.product-stock.out-stock .stock-dot {
    background: #f87171;
}

/* ============================================================
   MOBILE CART
============================================================ */

@media (max-width: 768px) {

    .cart-sidebar {
        /*
         * Android Chrome fix
         */
        height: 100dvh;
        max-height: 100dvh;

        /*
         * Fallback for older browsers
         */
        height: 100vh;

        width: 100%;
        max-width: 420px;
    }


    .cart-header {
        padding: 1rem;
    }


    .cart-body {
        padding: 1rem;

        /*
         * Critical:
         * lets the cart body shrink instead of
         * pushing the footer off-screen.
         */
        min-height: 0;
    }


    .cart-footer {
        padding: 1rem;

        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }


    #checkoutBtn {
        width: 100%;

        min-height: 50px;

        padding: 0.9rem 1rem;

        font-size: 14px;
    }

}
