/* public-style.css - Unified stylesheet for Baked by Geulis public site */

/* Global Design Tokens & Aesthetic CSS (from layout.php) */
:root {
    --bg-color: #FCE3CD;
    /* Warm peach cream background */
    --fg-color: #1A1513;
    /* Elegant Dark Cocoa */
    --primary: #5C3E35;
    /* Creamy Milk Chocolate */
    --accent: #E58E26;
    /* Warm Baked Amber / Gold */
    --secondary: #F3EFE9;
    /* Smooth Stone Grey */
    --card-bg: #FFFFFF;
    --border: #EAE3D8;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;

    --shadow-soft: 0 4px 20px -2px rgba(92, 62, 53, 0.06);
    --shadow-deep: 0 10px 30px -5px rgba(92, 62, 53, 0.12);
}

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

body {
    background-color: var(--bg-color);
    color: var(--fg-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.font-display {
    font-family: var(--font-display);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
    color: inherit;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.solid {
    background-color: rgba(87, 39, 3, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header Navigation for Web View */
.header-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

.header-nav-link {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: #FCE3CD;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.header-nav-link:hover {
    color: #FCE3CD;
    opacity: 1;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.header-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsiveness break points for Nav and Layout */
@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }

    .burger-btn {
        display: none !important;
    }

    .site-header {
        background-color: rgba(87, 39, 3, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        left: 0;
        right: 0;
        width: 100vw;
    }

    main,
    .footer {
        width: 70vw;
        max-width: 70vw;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}


.brand-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo em {
    color: var(--accent);
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
    cursor: pointer;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Cart Badge Icon */
.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-btn:hover {
    background-color: var(--secondary);
}

.cart-icon-svg {
    width: 22px;
    height: 22px;
    stroke: var(--fg-color);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(229, 142, 38, 0.4);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.show {
    transform: scale(1);
}

/* Global Footer */
.footer {
    padding: 40px 24px;
    background-color: #331600;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-col {
    flex: 1;
    display: flex;
    align-items: center;
    color: #FCE3CD;
    font-size: 13px;
}

.footer-left {
    justify-content: flex-start;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-center {
    justify-content: center;
    color: #A39690;
    font-weight: 500;
    text-align: center;
    font-size: x-small;
}

.footer-right {
    justify-content: flex-end;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(252, 227, 205, 0.1);
    color: #FCE3CD;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.social-icon:hover {
    background-color: #FCE3CD;
    color: #572703;
    transform: translateY(-2px);
}

/* Helper Utilities */
.min-h-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Burger Menu Button */
.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1010;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.burger-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2.5px;
    background-color: #FCE3CD;
    transition: transform 0.3s, opacity 0.3s;
}

/* Active state */
.burger-btn.open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Burger Menu Drawer & Overlay */
.burger-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(26, 21, 19, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.burger-overlay.show {
    opacity: 1;
    visibility: visible;
}

.burger-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    z-index: 1005;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 90px 32px 40px;
}

.burger-drawer.show {
    transform: translateX(0);
}

.burger-drawer-header {
    margin-bottom: 40px;
}

.burger-drawer-title {
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 700;
}

.burger-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.burger-nav-link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: color 0.2s, transform 0.2s;
}

.burger-nav-link .num {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.8;
    margin-top: 4px;
}

.burger-nav-link:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.burger-drawer-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}


/* Home View Specific Styles (from home.php) */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px 24px 64px;
    color: #FCE3CD;
}

.hero-top-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.hero-main-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 0.95;
    text-align: right;
    max-width: 400px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.hero-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.0;
    text-align: left;
    max-width: 500px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FCE3CD;
    color: #5C3E35;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-display);
    box-shadow: var(--shadow-deep);
    transition: opacity 0.2s;
}

.hero-cta-btn:hover {
    opacity: 0.9;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(to bottom, rgba(26, 21, 19, 0.3) 0%, rgba(26, 21, 19, 0.4) 60%, rgba(26, 21, 19, 0.85) 100%), url('../assets/hero-offline.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 0.1s ease-out;
}

.hero-content {
    max-width: 450px;
}

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-title {
    font-size: 52px;
    line-height: 0.95;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-title em {
    color: var(--accent);
    font-style: normal;
}

.hero-desc {
    color: rgba(253, 251, 247, 0.85);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 320px;
}

.btn-pickup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 28px;
    box-shadow: 0 4px 15px rgba(229, 142, 38, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pickup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 142, 38, 0.4);
}

.founder-quote-sec {
    width: 100%;
    display: block;
}

.founder-quote-img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.showcase-header {
    margin-bottom: 48px;
    text-align: center;
}

.showcase-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.showcase-desc {
    font-size: 15px;
    color: #7A726E;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 32px !important;
    text-align: left;
}

.product-variant-card {
    display: block;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    transition: transform 0.2s;
}

.product-variant-card:hover {
    transform: translateY(-2px);
}

.product-variant-card-img-wrapper {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
}

.product-variant-card-img {
    width: 100%;
    object-fit: contain;
    transform: scale(1.05);
    transition: transform 0.3s;
}

.product-variant-card:hover .product-variant-card-img {
    transform: scale(1.08);
}

.product-variant-card-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.product-variant-card-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    text-transform: capitalize;
    white-space: nowrap;
}

.product-variant-card-desc {
    font-size: 11px;
    color: #7A726E;
    font-weight: 500;
    line-height: 1.3;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-deep);
}

.product-img-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-card:hover .product-card-img {
    transform: scale(1.05);
}

.product-card-info {
    padding: 16px;
}

.product-card-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
}

.product-card-price {
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
}

.reviews-section {
    padding: 80px 24px;
    background-color: #572703;
    color: white;
}

.reviews-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background-color: var(--card-bg);
    color: var(--fg-color);
    padding: 24px;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
}

.review-stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
    font-size: 12px;
    margin-top: 4px;
}

.review-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.maps-section {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    background-color: #EEE;
}

.maps-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.maps-card-btn {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    padding: 14px 20px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-deep);
}


/* Menu View Specific Styles (from menu.php) */
.menu-header {
    padding: 100px 24px 24px;
    max-width: 600px;
}

.menu-title {
    font-size: 42px;
    color: var(--primary);
}

.menu-desc {
    color: #7A726E;
    margin-top: 8px;
    font-size: 15px;
}

.sticky-tabs {
    position: sticky;
    top: 70px;
    z-index: 90;
    background-color: transparent;
    border-bottom: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sticky-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 18px;
    background-color: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    background-color: #483029;
    color: white;
}

.menu-section {
    padding: 40px 24px 0;
    max-width: 600px;
    margin: 0 auto;
    scroll-margin-top: 130px;
}

.sec-title {
    font-size: 24px;
    color: var(--primary);
}

.sec-sub {
    font-size: 13px;
    color: #7A726E;
    margin-bottom: 20px;
}

.menu-items-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .menu-items-stack {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .menu-section {
        max-width: 50vw;
    }

    .menu-items-stack {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Larger images for menu-section items on web view */
    .menu-section .item-img-wrapper {
        aspect-ratio: 1.5 / 1;
    }

    /* Brownies section (cat-1) has exactly 3 columns (giving 2 rows) */
    #cat-1 .menu-items-stack {
        grid-template-columns: repeat(3, 1fr);
    }
}

.menu-item-btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s;
}

.menu-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.menu-item-btn:active {
    transform: scale(0.99);
}

.item-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1.2 / 1;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
}

.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--accent);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
}

.item-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
}

.item-desc {
    font-size: 13px;
    color: #7A726E;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

.plus-circle {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(92, 62, 53, 0.2);
}

.fixed-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 80;
    max-width: 552px;
    margin: 0 auto;
}

.btn-view-cart {
    width: 100%;
    height: 56px;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-deep);
    border: none;
    cursor: pointer;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background-color: rgba(26, 21, 19, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer-content {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 160;
    background-color: var(--card-bg);
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 440px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

.drawer-content.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background-color: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-hero-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.drawer-body {
    padding: 24px;
}

.drawer-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.drawer-item-name {
    font-size: 22px;
    color: var(--primary);
}

.drawer-item-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.drawer-item-desc {
    font-size: 14px;
    color: #7A726E;
    line-height: 1.5;
    margin-bottom: 24px;
}

.drawer-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-counter {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--secondary);
    border-radius: 20px;
    padding: 4px;
}

.counter-btn {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.counter-val {
    width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}

.btn-add-cart {
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}


/* Cart View Specific Styles (from cart.php) */
.cart-header {
    padding: 100px 24px 24px;
    max-width: 600px;
}

.cart-title {
    font-size: 42px;
    color: var(--primary);
}

.cart-desc {
    color: #7A726E;
    margin-top: 8px;
    font-size: 15px;
}

.cart-stack {
    padding: 0 24px;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-row {
    display: flex;
    gap: 16px;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
    align-items: center;
}

.cart-item-img {
    height: 80px;
    width: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cart-item-name {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
}

.btn-trash {
    background: none;
    border: none;
    cursor: pointer;
    color: #7A726E;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-trash:hover {
    opacity: 1;
    color: #C0392B;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.cart-qty-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--secondary);
    border-radius: 16px;
    padding: 2px;
}

.cart-qty-btn {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.cart-qty-val {
    width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}

.cart-item-total {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
}

.pickup-widget {
    margin: 24px;
    max-width: 452px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.pickup-widget:active {
    transform: scale(0.99);
}

.pickup-icon-circle {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.pickup-title {
    font-size: 12px;
    color: #7A726E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pickup-val {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-display);
}

.pickup-link {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

.details-section {
    padding: 0 24px;
    max-width: 500px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-title {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.input-wrapper {
    display: block;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.input-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7A726E;
    display: block;
    margin-bottom: 4px;
}

.input-field {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-display);
}

.bill-section {
    margin: 24px;
    max-width: 452px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
}

.bill-label {
    color: #7A726E;
}

.bill-val {
    font-weight: 500;
}

.bill-divider {
    border-top: 1px solid var(--border);
    margin: 10px 0;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.fixed-checkout-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 80;
    max-width: 452px;
    margin: 0 auto;
}

.btn-checkout {
    width: 100%;
    height: 56px;
    background-color: #D3C1B5;
    color: #7A726E;
    font-weight: 700;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: not-allowed;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.btn-checkout.ready {
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-deep);
}

.success-screen {
    padding: 120px 24px 60px;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-circle {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(229, 142, 38, 0.4);
    margin-bottom: 24px;
}

.success-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-desc {
    font-size: 15px;
    color: #7A726E;
    margin-bottom: 32px;
    line-height: 1.5;
}

.btn-home {
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 28px;
    box-shadow: var(--shadow-deep);
}


/* Order View Specific Styles (from order.php) */
.order-header {
    padding: 100px 24px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.order-title {
    font-size: 42px;
    color: var(--primary);
    line-height: 1.1;
}

.order-desc {
    color: #7A726E;
    margin-top: 8px;
    font-size: 15px;
}

.step-section {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0 24px;
}

.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 8px;
}

.step-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 16px;
}

.calendar-card {
    background-color: #5C3E35;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    margin: 0 auto 16px auto;
    width: 100%;
    max-width: 100%;
}

.calendar-header-title {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.date-scroll-stack {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.date-scroll-stack::-webkit-scrollbar {
    display: none;
}

.date-btn {
    flex: 0 0 58px;
    height: 72px;
    border-radius: 16px;
    background-color: var(--secondary);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.2s;
}

.date-btn:hover {
    background-color: var(--border);
}

.date-btn-day {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

.date-btn-num {
    font-size: 18px;
    font-family: var(--font-display);
    font-weight: 700;
}

.window-selector {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.window-btn {
    height: 64px;
    border-radius: 18px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.window-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-deep);
}

.window-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: var(--secondary);
}

.window-label {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.window-time {
    font-size: 10px;
    opacity: 0.8;
}

.slots-grid {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 8px;
}

.slot-btn {
    height: 48px;
    border-radius: 14px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: var(--shadow-soft);
}

.slot-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(229, 142, 38, 0.2);
}

.slot-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: var(--secondary);
}

.slot-time {
    font-weight: 600;
    font-size: 12px;
}

.slot-stock {
    font-size: 8px;
    opacity: 0.75;
}

.schedule-summary-card {
    background-color: #F3EFE9;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.summary-text {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-change-schedule {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.catalog-placeholder-card {
    background-color: var(--primary);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--border);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.order-menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item-card {
    display: flex;
    gap: 16px;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    align-items: center;
    transition: transform 0.15s;
}

.order-item-img {
    height: 80px;
    width: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.order-item-desc {
    font-size: 12px;
    color: #7A726E;
    line-clamp: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.order-item-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.order-item-stock-badge {
    font-size: 10px;
    font-weight: 700;
    background-color: #F9F1EB;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
}

.order-item-stock-badge.limited {
    background-color: #FDF2F2;
    color: #9B1C1C;
}

.order-item-qty-control {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--secondary);
    border-radius: 18px;
    padding: 3px;
}

.order-qty-btn {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: opacity 0.2s;
}

.order-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.order-qty-val {
    width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    border: none;
    background: transparent;
    outline: none;
    margin: 0;
}


/* Track View Specific Styles (from track.php) */
.track-header {
    padding: 100px 24px 24px;
    max-width: 600px;
}

.track-title {
    font-size: 36px;
    color: var(--primary);
    line-height: 1.1;
}

.calendar-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.date-scroll-stack {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.date-scroll-stack::-webkit-scrollbar {
    display: none;
}

.date-btn {
    flex: 0 0 64px;
    height: 78px;
    border-radius: 18px;
    background-color: var(--secondary);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.date-btn:hover {
    background-color: var(--border);
}

.date-btn.active {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(92, 62, 53, 0.25);
}

.date-btn-day {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

.date-btn-num {
    font-size: 20px;
    font-family: var(--font-display);
    font-weight: 700;
}

.booking-body {
    padding: 0 24px 100px;
    max-width: 500px;
}

.booking-subtitle {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.window-selector {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.window-btn {
    height: 72px;
    border-radius: 20px;
    background-color: var(--card-bg);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.window-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.window-label {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-time {
    font-size: 11px;
    opacity: 0.8;
}

.slots-grid {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 10px;
}

.slot-btn {
    height: 52px;
    border-radius: 16px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: var(--shadow-soft);
}

.slot-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(229, 142, 38, 0.25);
}

.slot-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: var(--secondary);
}

.slot-time {
    font-weight: 600;
    font-size: 13px;
}

.slot-stock {
    font-size: 9px;
    opacity: 0.75;
}

.fixed-confirm-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 80;
    max-width: 452px;
    margin: 0 auto;
}

.btn-confirm {
    width: 100%;
    height: 56px;
    background-color: #D3C1B5;
    color: #7A726E;
    font-weight: 700;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: not-allowed;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.btn-confirm.ready {
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-deep);
}

/* Home Page Specific Elements */
.promo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Dine-In Menu Card */
.dine-in-menu-card {
    display: block;
    text-decoration: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
    width: 80vw;
    max-width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

.dine-in-platter-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dine-in-platter-img {
    width: 80vw;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.dine-in-menu-card:hover .dine-in-platter-img {
    transform: scale(1.02);
}

.dubai-chewy-banner {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.dubai-chewy-banner:hover {
    opacity: 0.95;
}

.dubai-chewy-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Address Info Section */
.address-section {
    background-color: #FFF2E5;
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid rgba(92, 62, 53, 0.08);
}

.address-container {
    max-width: 600px;
    margin: 0 auto;
}

.address-brand {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: #5C3E35;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.address-text {
    font-size: 15px;
    color: #7A726E;
    line-height: 1.6;
    margin-bottom: 12px;
}

.address-phone {
    font-size: 16px;
    font-weight: 700;
    color: #5C3E35;
    margin-bottom: 12px;
}

.address-phone a {
    color: #5C3E35;
    text-decoration: none;
    transition: opacity 0.2s;
}

.address-phone a:hover {
    opacity: 0.8;
}

.address-hours {
    font-size: 14px;
    font-weight: 600;
    color: #A39690;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Centralized View Utilities and Component Classes */
.no-items-placeholder {
    font-size: 14px;
    color: #7A726E;
    text-align: center;
    padding: 20px;
}

.btn-view-cart {
    background-color: var(--accent) !important;
    color: white !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-deep) !important;
}

.drawer-options-container {
    margin-bottom: 24px;
}

.drawer-options-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7A726E;
    margin-bottom: 8px;
}

.drawer-options-select {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--secondary);
    color: var(--primary);
    outline: none;
    cursor: pointer;
}

.drawer-action-margin {
    margin-top: 16px;
}

.btn-add-cart-primary {
    width: 100%;
    text-align: center;
    background-color: var(--primary);
    color: white;
}

/* Order Page Specific View Classes */
.wita-timezone-hint {
    font-size: 13px;
    color: #7A726E;
    margin-top: -8px;
    margin-bottom: 16px;
}

.order-step-subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 16px 0 8px;
}

.step-section-spaced {
    padding-bottom: 120px;
}

.placeholder-emoji {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.placeholder-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
}

.placeholder-text {
    font-size: 13px;
    line-height: 1.4;
}

.cat-group-section {
    margin-bottom: 32px;
}

.cat-group-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
}

.cat-group-subtitle {
    font-size: 12px;
    color: #7A726E;
    margin-bottom: 16px;
}

.float-btn-qty {
    font-weight: 500;
    font-size: 14px;
    opacity: 0.9;
}

.float-btn-total {
    font-size: 16px;
    font-weight: 700;
}

/* Track Page Specific View Classes */
.track-header {
    text-align: center;
    max-width: 600px;
    margin: 120px auto 40px;
    padding: 0 24px;
}

.track-title {
    font-size: 38px;
    color: var(--primary);
    margin-top: 8px;
    margin-bottom: 12px;
    font-weight: 800;
}

.order-desc {
    color: #7A726E;
    font-size: 15px;
}

.track-card-narrow {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--fg-color) !important;
    width: calc(100% - 48px) !important;
    max-width: 520px !important;
    margin: 0 auto 32px !important;
    padding: 28px !important;
    box-shadow: var(--shadow-deep) !important;
}

.track-form-group-20 {
    margin-bottom: 20px;
}

.track-form-group-24 {
    margin-bottom: 24px;
}

.track-label {
    text-align: left;
    display: block;
}

.track-label-span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.track-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    outline: none;
    background: #FAF9F8;
    color: var(--fg-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.track-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(229, 142, 38, 0.15);
}

.btn-track-submit {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-track-submit:hover {
    background-color: #4A312A;
}

.btn-track-submit:active {
    transform: scale(0.98);
}

.track-results-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 120px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.track-results-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--fg-color) !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto 24px !important;
    padding: 28px !important;
    box-shadow: var(--shadow-deep) !important;
    position: relative;
}

.track-status-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 12px;
    background: #FFF9E6;
    color: #8A6D1C;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.res-order-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.res-order-date {
    font-size: 13px;
    color: #7A726E;
    margin-bottom: 24px;
}

.track-divider {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.track-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.track-detail-row:last-child {
    margin-bottom: 0;
}

.track-detail-label {
    color: #7A726E;
    font-weight: 500;
}

.track-detail-val {
    font-weight: 600;
    color: var(--fg-color);
}

.track-detail-val-paid {
    font-weight: 700;
    color: #22C55E;
}

.track-summary-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--fg-color) !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto 24px !important;
    padding: 28px !important;
    box-shadow: var(--shadow-deep) !important;
}

.track-summary-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.track-summary-footer {
    border-top: 1.5px dashed var(--border);
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
}

/* Dynamically loaded item classes */
.track-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--fg-color);
}

.track-item-name {
    font-weight: 500;
}

.track-item-qty {
    color: #7A726E;
    margin-left: 4px;
}

.track-item-subtotal {
    font-weight: 600;
}

.card-error-border {
    border: 1.5px solid #ef4444 !important;
}

.btn-exceeds {
    background-color: #ef4444 !important;
    cursor: not-allowed !important;
}

.stock-warn-msg {
    color: #ef4444;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}