/* Bite Bros Café - Customer Storefront Aesthetic Stylesheet */
/* Designed with Harmonious Cyberpunk Yellow and Crimson Red KFC-inspired branding */

:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #141414;
    --color-bg-panel: #1a1a1a;
    --color-border: rgba(255,255,255,0.08);
    
    --color-brand-red: #ea002a; /* Crimson Red */
    --color-brand-yellow: #fded1b; /* Cyberpunk Yellow */
    --color-text-white: #ffffff;
    --color-text-muted: #9e9e9e;
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 50px rgba(0, 0, 0, 0.6);
}

/* Reset & Scrollbar aesthetics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-red);
}

/* Header Container */
.store-header {
    background-color: #000000;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 2rem;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-text-white);
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
}

.brand-name span {
    font-size: 0.72rem;
    color: var(--color-brand-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: -2px;
}

/* Header Action Buttons */
.order-type-selector {
    display: flex;
    background: #151515;
    border: 1px solid var(--color-border);
    padding: 3px;
    border-radius: var(--radius-sm);
    gap: 2px;
}

.type-btn {
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.type-btn.active {
    background-color: var(--color-brand-yellow);
    color: #111111;
}

.pickup-location-info {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #111;
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.pickup-location-info strong {
    color: var(--color-brand-yellow);
}

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

.btn-auth-trigger {
    background-color: var(--color-brand-yellow);
    color: #111111;
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-auth-trigger:hover {
    background-color: #e8d900;
    transform: translateY(-1px);
}

.btn-auth-trigger.logged-in {
    background: #1c1c1c;
    border: 1px solid var(--color-border);
    color: var(--color-brand-yellow);
}

.btn-auth-trigger.logged-in:hover {
    background: #222;
    transform: none;
}

/* Category Navigation Capsules Subheader */
.category-nav-bar {
    background: #000000;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 67px;
    z-index: 99;
    padding: 0.75rem 2rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-nav-bar.sticky-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.category-nav-bar::-webkit-scrollbar {
    display: none; /* Hide scrollbar Webkit */
}

.category-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.cat-capsule {
    display: inline-flex;
    align-items: center;
    background: #111111;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.cat-capsule:hover {
    border-color: var(--color-brand-yellow);
    color: var(--color-brand-yellow);
}

.cat-capsule.active {
    background-color: var(--color-brand-yellow);
    border-color: var(--color-brand-yellow);
    color: #111111;
    box-shadow: 0 4px 16px rgba(253, 237, 27, 0.3);
}

/* Main Shop Grid layout */
.shop-layout {
    display: flex;
    max-width: 1440px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    gap: 2rem;
    min-height: 80vh;
}

.showcase-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-group-header {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-brand-yellow);
    padding-bottom: 6px;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* Product Showcase Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* KFC Style Card */
.store-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    position: relative;
    padding: 1rem;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    overflow: visible;
}

.store-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-brand-yellow);
    box-shadow: 0 8px 30px rgba(253, 237, 27, 0.12);
}

.store-card-stripes {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.store-card-stripes span {
    width: 6px;
    height: 12px;
    background-color: var(--color-brand-yellow);
    border-radius: 0 0 3px 3px;
}

.store-card-image-slot {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem 0 0.5rem;
}

.store-card-img {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.store-card-fallback-icon {
    font-size: 3rem;
    color: #2a2a2a;
}

.store-card-details {
    margin-top: 0.5rem;
}

.store-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-text-white);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.store-card-desc {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.3;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.store-card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.store-card-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-text-white);
}

.btn-add-bucket {
    background-color: var(--color-brand-yellow);
    color: #111111;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(253, 237, 27, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    width: 100%;
}

.btn-add-bucket:hover {
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Bucket Cart Sidebar Panel */
.bucket-pane {
    width: 380px;
    flex-shrink: 0;
}

.bucket-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
}

.bucket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.bucket-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bucket-clear-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bucket-clear-btn:hover {
    color: var(--color-brand-red);
}

.bucket-lines {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

.bucket-empty-state {
    text-align: center;
    padding: 2rem 0;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bucket-line {
    background-color: #1a1a1a;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.bucket-line-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bucket-line-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-white);
}

.bucket-line-price {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.bucket-line-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-pill {
    display: flex;
    background: #111111;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 2px;
    align-items: center;
}

.qty-pill-btn {
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    width: 20px;
    height: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-pill-btn:hover {
    color: var(--color-brand-yellow);
}

.qty-pill-val {
    font-size: 0.8rem;
    font-weight: 700;
    width: 24px;
    text-align: center;
    color: white;
}

.bucket-line-subtotal {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-brand-yellow);
    min-width: 65px;
    text-align: right;
}

.checkout-btn {
    background-color: var(--color-brand-yellow);
    color: #111111;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(253, 237, 27, 0.25);
}

.checkout-btn:hover:not(:disabled) {
    background-color: #e8d900;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(253, 237, 27, 0.35);
}

.checkout-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* Modals Overlay & slide-ins */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show .modal-card {
    transform: translateY(0);
}

.modal-card-header {
    background: #000;
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-brand-yellow);
    text-transform: uppercase;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
}

.modal-close-btn:hover {
    color: white;
}

.modal-card-body {
    padding: 1.5rem;
}

/* Floating Mobile Footer Cart Bucket Bar */
.mobile-bucket-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0d0d0d;
    border-top: 1px solid var(--color-border);
    z-index: 90;
    padding: 12px 1.5rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

@media (min-width: 1025px) {
    #mobile-bucket-bar,
    .mobile-bucket-bar {
        display: none !important;
    }
}

.mobile-bucket-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-bucket-total {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-brand-yellow);
}

/* Breakpoints for dynamic layouts responsive styling */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .shop-layout {
        flex-direction: column;
    }
    
    .bucket-pane {
        width: 100%;
        padding-bottom: 90px !important; /* Extra bottom padding so checkout button doesn't get covered by mobile cart bar */
    }
    
    .bucket-card {
        position: static;
        box-shadow: none;
    }
    
    .category-nav-bar {
        top: 110px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .category-nav-bar {
        top: 160px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .store-card {
        min-height: 250px;
        padding: 0.6rem;
    }
    
    .store-card-image-slot {
        height: 100px;
    }
    
    .store-card-img {
        max-height: 90px;
    }
    
    .store-card-title {
        font-size: 0.85rem;
    }
    
    .store-card-price {
        font-size: 0.8rem;
    }

    .btn-add-bucket span {
        display: inline;
    }

    .btn-add-bucket {
        padding: 0.45rem 0.6rem;
        font-size: 0.7rem;
        width: 100%;
        min-height: 32px;
        border-radius: 6px;
        justify-content: center;
        align-items: center;
        min-width: auto;
    }

    .store-header {
        padding: 0.6rem 1rem;
    }

    .order-type-selector {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .type-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .pickup-location-info {
        display: none;
    }

    .shop-layout {
        padding: 0 0.75rem;
    }
}

/* ============================================================
   Toast Notifications
   ============================================================ */

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #1c1c1c;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-brand-yellow);
    color: var(--color-text-white);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 340px;
    min-width: 240px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    pointer-events: none;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-notification.toast-success {
    border-left-color: var(--color-brand-yellow);
}

.toast-notification.toast-error {
    border-left-color: var(--color-brand-red);
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   Category Section Scroll Smooth Anchor Target Highlighting
   ============================================================ */

.category-section {
    scroll-margin-top: 150px;
}

/* ============================================================
   Form Inputs inside the Bucket
   ============================================================ */

.form-input,
.form-select {
    background: #111;
    color: white;
    border: 1px solid var(--color-border);
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--color-brand-red);
}

/* ============================================================
   Checkout Button Loading State Spinner Indicator
   ============================================================ */

.status-indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--color-brand-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   Success page animation
   ============================================================ */

@keyframes bell-bounce {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.1); }
    80%  { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   Premium Hero Teardrop Menu Categories Grid (Storefront)
   ============================================================ */

.storefront-categories-hero {
    background: linear-gradient(180deg, #000000 0%, #060606 50%, #0a0a0a 100%);
    padding: 3rem 2rem 1rem;
    width: 100%;
}

.storefront-categories-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.storefront-hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 0.5rem;
}

.storefront-hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-brand-yellow);
    border-radius: 2px;
}

.storefront-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* Premium Dark KFC-Style Category Teardrop Card selection on Storefront */
.store-category-card {
    background: #121212;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50% 50% 12px 50%; /* Distinct KFC Teardrop Dome Shape! Pointed bottom-right */
    padding: 1.5rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 195px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
}

.store-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(253, 237, 27, 0.1), 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: var(--color-brand-yellow);
}

.store-category-card:active {
    transform: scale(0.97) translateY(-3px);
}

/* Center circular image display for category cover graphics */
.store-category-card-img-container {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 5px;
    margin-bottom: 5px;
}

.store-category-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-category-card:hover .store-category-card-img {
    transform: scale(1.16) translateY(-4px);
    filter: drop-shadow(0 10px 20px rgba(253, 237, 27, 0.15)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.65));
}

/* Fallback icons circular styles */
.store-category-watermark {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 237, 27, 0.02);
    border: 1px dashed rgba(253, 237, 27, 0.12);
    border-radius: 50%;
    color: var(--color-brand-yellow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 5px;
    margin-bottom: 5px;
}

.store-category-card:hover .store-category-watermark {
    background: rgba(253, 237, 27, 0.05);
    border-color: rgba(253, 237, 27, 0.3);
    box-shadow: 0 0 15px rgba(253, 237, 27, 0.12);
    transform: scale(1.05);
}

.store-category-card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.store-category-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-category-name::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-brand-yellow);
    margin-top: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.store-category-card:hover .store-category-name::after {
    width: 45px;
    background-color: #ffffff;
}

.store-category-count {
    display: block;
    font-size: 0.68rem;
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
    text-align: center;
}

/* Little corner dot indicator at teardrop pointed bottom-right corner */
.store-category-card::after {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background-color: #080808;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.store-category-card:hover::after {
    background-color: var(--color-brand-yellow);
    box-shadow: 0 0 8px var(--color-brand-yellow);
    border-color: var(--color-brand-yellow);
}

/* Mobile responsive fixes for storefront categories */
@media (max-width: 1024px) {
    /* Hide sticky category capsules bar on tablet & mobile —
       it overlaps content and isn't useful on touch screens */
    .category-nav-bar,
    .category-nav-bar.sticky-visible {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .storefront-categories-hero {
        padding: 2rem 1rem 0.5rem;
    }
    .storefront-hero-title {
        font-size: 1.5rem;
    }
    .storefront-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .store-category-card {
        min-height: 175px;
        padding: 1.2rem 0.8rem;
        border-radius: 40% 40% 12px 40%;
    }
    .store-category-card-img-container,
    .store-category-watermark {
        width: 65px;
        height: 65px;
    }
    .store-category-name {
        font-size: 0.85rem;
    }
    .store-category-count {
        font-size: 0.62rem;
    }
}

/* Order Type Confirmation Cards */
.order-type-card {
    transition: var(--transition);
}
.order-type-card:hover {
    border-color: var(--color-brand-yellow) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 237, 27, 0.15);
}



