:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17231f;
    background: #f5f3ed;
}

* {
    box-sizing: border-box;
}

h1:focus, h1:focus-visible,
h2:focus, h2:focus-visible,
h3:focus, h3:focus-visible,
h4:focus, h4:focus-visible,
h5:focus, h5:focus-visible,
h6:focus, h6:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 90% 10%, rgba(207, 229, 205, 0.7), transparent 30rem),
        #f5f3ed;
}

a {
    color: inherit;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem clamp(1.25rem, 5vw, 5rem);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(23, 35, 31, 0.09);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
    text-decoration: none;
    font-weight: 800;
}

.brand-maitre {
    color: #215c45;
    letter-spacing: 0.04em;
}

nav {
    display: flex;
    gap: 1.25rem;
}

nav a {
    padding: 0.55rem 0;
    color: #44534d;
    font-weight: 650;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

nav a.active {
    color: #215c45;
    border-color: #d49b43;
}

.topbar-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5d1;
    border-radius: 0.55rem;
    background: #fff;
    color: #215c45;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.topbar-logout:hover,
.topbar-logout:focus-visible {
    border-color: #215c45;
    background: #eff8f3;
    outline: none;
}

.topbar-logout svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.topbar-login {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: #215c45;
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-login:hover,
.topbar-login:focus-visible {
    background: #194a36;
    transform: translateY(-1px);
    outline: none;
}

.topbar-login svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.app-shell:has(.checkout-page-container) .topbar,
.app-shell:has(.pizza-top-banner) .topbar {
    display: none;
}

.hero {
    display: grid;
    gap: 2.25rem;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: #9b651f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

h1 {
    max-width: 860px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 7vw, 5.7rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.lead {
    max-width: 670px;
    margin: 1.5rem 0 0;
    color: #52615b;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(23, 35, 31, 0.08);
    border-radius: 1.35rem;
    box-shadow: 0 20px 60px rgba(36, 54, 46, 0.07);
}

.portal-card {
    max-width: 1100px;
    width: calc(100% - 2rem);
    margin: 0 auto 2.5rem;
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
    background: #ffffff;
    border: 1px solid #dbe4dd;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.portal-card.login-card,
.portal-card.astarte-card-narrow {
    max-width: 460px;
    margin: 2.5rem auto;
}

.service-icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    color: white;
    background: #215c45;
    border-radius: 50%;
    font-weight: 850;
}

.service-card h2 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.45rem;
}

.service-card p,
.portal-card p {
    color: #64748b;
    line-height: 1.6;
}

.portal-card h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.4rem;
}

.portal-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.portal-card .eyebrow {
    color: #5d9d24;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

/* Navegación del Portal estilo Registro Astarte */
.portal-nav-wrapper {
    max-width: 1100px;
    width: calc(100% - 2rem);
    margin: 1.5rem auto 0;
    padding: 0;
}

.portal-nav.astarte-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    background: transparent;
    overflow-x: auto;
    width: 100%;
}

.portal-tab.astarte-tab {
    position: relative;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 0.5rem 0.5rem 0 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portal-tab.astarte-tab i {
    font-size: 1rem;
}

.portal-tab.astarte-tab:hover {
    color: #0f172a;
    background: rgba(93, 157, 36, 0.08);
}

.portal-tab.astarte-tab.active {
    color: #5d9d24;
    background: #f0fdf4;
    font-weight: 600;
}

.portal-tab.astarte-tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #72c02c, #5d9d24);
}

.portal-form {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.portal-form label {
    display: grid;
    gap: 0.4rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

.portal-form input:not([type="checkbox"]),
.portal-form select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    color: #0f172a;
    font: inherit;
    background: white;
    border: 1px solid #b6c5bc;
    border-radius: 0.55rem;
}

.portal-form button {
    width: fit-content;
    padding: 0.8rem 1.1rem;
    color: white;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    background: #215c45;
    border: 0;
    border-radius: 0.65rem;
}

.portal-form button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.check-row {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    color: #304b40;
}

.form-error {
    margin: 0;
    color: #8f2929 !important;
    font-weight: 650;
}

.form-success {
    margin: 0;
    color: #216743 !important;
    font-weight: 650;
}

/* Hide default site topbar on store catalog page for clean full-bleed fixed header */
.app-shell:has(.pizza-top-banner) .topbar {
    display: none;
}

.app-shell:has(.pizza-top-banner) main {
    padding-top: 0 !important;
    width: 100% !important;
    max-width: 1200px !important;
}

/* Store & Checkout Dynamic Branding Variables with Defaults */
.store-theme,
.checkout-page-container {
    --store-primary: #72c02c;
    --store-accent: #5d9d24;
    --store-dark: #487a1c;
    --store-focus: #9fd864;
    --store-primary-rgb: 114, 192, 44;
    --store-accent-rgb: 93, 157, 36;
    --store-primary-text: #0f172a;
}

/* App Banner Header - Dynamic Store Branding */
.pizza-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    background: var(--store-primary);
}

.banner-food-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--store-primary) 0%, var(--store-accent) 100%),
        radial-gradient(circle at 50% 50%, var(--store-focus) 0%, var(--store-dark) 100%);
    background-size: cover;
    background-position: center;
    opacity: 0.98;
}

.banner-overlay-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.25rem;
    height: 60px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pizza-circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--store-accent);
    color: #ffffff;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.pizza-circle-btn:hover {
    transform: scale(1.08);
    background: var(--store-dark);
}

.banner-title-box {
    display: flex;
    align-items: center;
}

.banner-restaurant-name {
    font-weight: 800;
    color: #ffffff;
    font-size: 1.25rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.banner-right-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pizza-cart-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    background: rgba(20, 20, 20, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pizza-cart-badge-btn:hover {
    background: #000000;
    transform: scale(1.04);
}

.cart-badge-count {
    font-size: 1rem;
    font-weight: 900;
}

.pizza-circle-btn.btn-search.active {
    background: #ffffff !important;
    color: var(--store-primary) !important;
    transform: scale(1.08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.pizza-search-backdrop {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1001;
    animation: fadeInBackdrop 0.2s ease;
}

.pizza-search-dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 1002;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    border-bottom: 2px solid var(--store-primary);
    padding: 0.85rem 1.25rem;
    animation: slideDownSearch 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownSearch {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pizza-search-dropdown-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.pizza-search-dropdown .pizza-search-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    padding: 0.55rem 1.1rem;
    transition: all 0.2s ease;
}

.pizza-search-dropdown .pizza-search-input-box:focus-within {
    background: #ffffff;
    border-color: var(--store-primary);
    box-shadow: 0 0 0 4px rgba(var(--store-primary-rgb), 0.15);
}

.search-box-icon {
    color: var(--store-accent);
    flex-shrink: 0;
}

.pizza-search-dropdown .pizza-search-input {
    border: 0;
    outline: none;
    width: 100%;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
}

.pizza-search-dropdown .pizza-search-input::placeholder {
    color: #94a3b8;
}

.btn-clear-search {
    background: #e2e8f0;
    color: #475569;
    border: 0;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-clear-search:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.pizza-search-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pizza-search-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.pizza-search-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0.65rem auto 0;
    padding: 0 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.btn-search-reset-link {
    background: transparent;
    border: 0;
    color: var(--store-accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.btn-search-reset-link:hover {
    color: var(--store-dark);
}

.pizza-cat-item--dimmed {
    opacity: 0.35 !important;
    filter: grayscale(0.7);
}

/* Empty search results in catalog */
.pizza-no-results {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin: 2rem auto;
    max-width: 480px;
}

.pizza-no-results-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(var(--store-primary-rgb), 0.12);
    color: var(--store-accent);
    margin-bottom: 1.25rem;
}

.pizza-no-results h3 {
    font-size: 1.25rem;
    font-weight: 750;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.pizza-no-results p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
}

.pizza-no-results-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 2rem;
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    font-weight: 700;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(var(--store-primary-rgb), 0.3);
    transition: all 0.2s ease;
}

.pizza-no-results-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(var(--store-primary-rgb), 0.4);
}

.pizza-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 1.5rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    color: #616161;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pizza-mode-btn.active {
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff) !important;
    box-shadow: 0 3px 10px rgba(var(--store-primary-rgb), 0.35);
}

/* Category Navigation Bar - Fixed at top 60px */
.pizza-category-bar-wrapper {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.65rem 0 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pizza-category-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    overflow-x: auto;
    padding: 0.25rem 2.8rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    max-width: 1200px;
    margin: 0 auto;
}

.pizza-category-nav::-webkit-scrollbar {
    display: none;
}

.cat-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--store-accent);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.cat-scroll-arrow:hover {
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    border-color: var(--store-primary);
    transform: translateY(-50%) scale(1.1);
}

.cat-scroll-arrow.left {
    left: 0.75rem;
}

.cat-scroll-arrow.right {
    right: 0.75rem;
}

@media (max-width: 991px) {
    .pizza-category-nav {
        justify-content: flex-start;
        padding: 0.25rem 2.8rem;
    }
}

@media (min-width: 992px) {
    .cat-scroll-arrow {
        display: none;
    }
}

.pizza-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.2s ease;
    font-family: inherit;
    min-width: 70px;
}

.pizza-cat-item:hover,
.pizza-cat-item.active {
    opacity: 1;
    transform: translateY(-2px);
}

.cat-icon {
    font-size: 1.85rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.pizza-cat-item.active .cat-dot {
    background: var(--store-primary);
}

.cat-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #616161;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pizza-cat-item.active .cat-label {
    color: var(--store-accent);
}

/* Category Title Section */
.pizza-category-block {
    scroll-margin-top: 110px;
    margin-bottom: 3.5rem;
}

.pizza-category-title {
    text-align: center;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--store-accent);
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pizza-category-sub {
    text-align: center;
    color: #757575;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

/* Main Layout Grid - Up to 4 Columns Max */
.pizza-main-layout {
    display: block;
    width: 100%;
}

.pizza-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .pizza-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pizza-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .pizza-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.pizza-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #eaeaea;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pizza-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.pizza-card-img-wrap {
    position: relative;
    width: 100%;
    height: 175px;
    background: #f8f8f8;
    overflow: hidden;
}

.pizza-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.pizza-card-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4rem;
    background: #f2f4f5;
}

.pizza-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.15rem 1.65rem 1.15rem;
}

.pizza-card-title {
    margin: 0 0 0.4rem 0;
    font-size: 1rem;
    font-weight: 750;
    color: var(--store-dark);
    text-transform: uppercase;
    line-height: 1.35;
    padding-right: 2rem;
}

.pizza-card-desc {
    margin: 0 0 0.85rem 0;
    font-size: 0.85rem;
    color: #556860;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pizza-option-box {
    margin-top: 0.65rem;
    margin-bottom: 0.65rem;
}

.pizza-option-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--store-dark);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.pizza-select {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 1px solid #d1d8e0;
    border-radius: 0.5rem;
    font: inherit;
    font-size: 0.85rem;
    background: #fafafa;
    color: #2d3436;
}

.pizza-check-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #3b5047;
    margin-top: 0.25rem;
    cursor: pointer;
}

.pizza-card-price-row {
    margin-top: 0.5rem;
}

.pizza-price {
    font-size: 1.25rem;
    font-weight: 850;
    color: #17231f;
}

/* Dynamic Branding Corner Plus Button */
.pizza-red-corner-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 54px;
    height: 54px;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0 0 1.25rem 0;
    padding: 0;
    margin: 0;
}

.red-triangle-bg {
    position: absolute;
    inset: 0;
    background: var(--store-primary);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.pizza-red-corner-btn:hover .red-triangle-bg {
    background: var(--store-accent);
    transform: scale(1.08);
}

.pizza-red-corner-btn.has-items .red-triangle-bg {
    background: var(--store-dark);
}

.red-triangle-content {
    position: absolute;
    bottom: 5px;
    right: 9px;
    color: var(--store-primary-text, #ffffff);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.corner-plus {
    display: block;
}

.corner-count {
    display: inline-block;
    font-size: 0.85rem;
    background: #ffffff;
    color: var(--store-dark);
    padding: 0.1rem 0.4rem;
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Cart Modal Backdrop & Popup Window */
.pizza-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.pizza-cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 460px);
    max-height: 85vh;
    z-index: 1051;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    animation: modalPop 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.pizza-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eeeeee;
}

.pizza-cart-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #2d3436;
}

.btn-close-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #f1f2f6;
    border: 0;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #555555;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-close-cart:hover {
    background: #e4e5ea;
    color: var(--store-primary);
}

.pizza-cart-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #a4b0be;
}

.cart-empty-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.5rem;
}

.pizza-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 350px;
    overflow-y: auto;
}

.pizza-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f2f6;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-weight: 750;
    font-size: 0.9rem;
    color: #2d3436;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--store-accent);
    font-weight: 800;
}

.cart-item-selection {
    font-size: 0.76rem;
    color: #636e72;
    padding-left: 0.35rem;
    border-left: 2px solid #dfe6e9;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-cart-qty {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f2f6;
    border: 1px solid #dcdde1;
    border-radius: 0.4rem;
    font-weight: 800;
    color: #2d3436;
    cursor: pointer;
}

.btn-cart-qty:hover {
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    border-color: var(--store-primary);
}

.cart-item-qty {
    font-weight: 800;
    font-size: 0.88rem;
    min-width: 1.2rem;
    text-align: center;
}

.pizza-cart-delivery-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #e0e0e0;
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 750;
    color: #4b6584;
}

.pizza-input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #d1d8e0;
    border-radius: 0.5rem;
    font: inherit;
    font-size: 0.88rem;
}

.btn-pizza-checkout {
    width: 100%;
    padding: 0.85rem;
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    font: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    border: 0;
    border-radius: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(var(--store-primary-rgb), 0.35);
    transition: all 0.2s ease;
}

.btn-pizza-checkout:hover:not(:disabled) {
    background: var(--store-accent);
    transform: translateY(-1px);
}

/* Floating Bottom Bar Mobile */
.pizza-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    padding: 0.85rem 1.25rem;
    background: #17231f;
    color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
}

.mobile-bar-btn {
    padding: 0.45rem 1rem;
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    border-radius: 1.2rem;
    font-size: 0.85rem;
}

/* Side Menu Drawer */
.pizza-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.pizza-side-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 1001;
    background: #ffffff;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 100dvh;
    overflow: hidden;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    flex-shrink: 0;
}

.drawer-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.btn-close-drawer {
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

.drawer-body {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    min-height: 0;
    overflow-y: auto;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    color: #2d3436;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #f1f2f6;
    transition: background 0.15s ease;
}

.drawer-nav-item:hover {
    background: #f8f9fa;
    color: var(--store-accent);
}

.drawer-nav-button {
    width: 100%;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.tracking-lookup-card,
.restaurant-contact-card { max-width: 560px; margin: 2rem auto; }
.tracking-lookup-form { display: grid; gap: .65rem; margin-top: 1.25rem; }
.tracking-lookup-form input { width: 100%; box-sizing: border-box; padding: .8rem 1rem; border: 1px solid #d1d5db; border-radius: .6rem; font: inherit; }
.tracking-lookup-form button { padding: .8rem 1rem; border: 0; border-radius: .6rem; background: var(--store-primary, #72c02c); color: #fff; font-weight: 700; cursor: pointer; }
.tracking-lookup-form button:disabled { opacity: .55; cursor: not-allowed; }
.tracking-lookup-error { color: #b91c1c; }
.contact-detail { display: block; margin: .8rem 0; color: var(--store-accent, #3d7f17); font-weight: 700; text-decoration: none; }
.contact-back-link { display: inline-block; margin-top: 1.25rem; font-weight: 700; }
.store-info-modal { position: fixed; z-index: 1051; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vw, 520px); max-height: min(82vh, 620px); overflow-y: auto; box-sizing: border-box; padding: 2rem; border-radius: 16px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.store-info-modal h2 { margin: 0 0 .6rem; }
.store-info-modal .btn-close-modal { position: absolute; top: .6rem; right: .8rem; }
.tracking-modal-result { display: grid; gap: .35rem; margin-top: 1.2rem; padding: .9rem 1rem; border-radius: .65rem; background: #f0fdf4; color: #166534; }

.pizza-loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    text-align: center;
}

.pizza-spinner {
    font-size: 3.5rem;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .pizza-main-layout {
        grid-template-columns: 1fr;
    }

    .pizza-cart-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        z-index: 150;
        border-radius: 1.5rem 1.5rem 0 0;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .pizza-cart-sidebar.mobile-open {
        transform: translateY(0);
    }

    .btn-close-cart {
        display: block;
    }

    .pizza-mobile-bottom-bar {
        display: flex;
    }
}

.checkout-card {
    max-width: 600px;
    margin-top: 2rem;
}

.checkout-card h2 {
    margin-top: 0;
}

.checkout-card select {
    width: 100%;
    padding: .75rem;
    color: #17231f;
    font: inherit;
    background: white;
    border: 1px solid #b6c5bc;
    border-radius: .55rem;
}

.checkout-mode-switch {
    margin: 1rem 0;
}

.orders-list {
    display: grid;
    gap: .75rem;
    margin-top: 1.5rem;
}

.order-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: #f5f7f5;
    border: 1px solid transparent;
    border-radius: .65rem;
}

.order-row:hover,
.order-row:focus-visible {
    border-color: #4d8067;
    outline: none;
}

.order-row span {
    color: #5b6963;
    font-size: .9rem;
}

.order-detail-card {
    max-width: 900px;
    margin-top: 1.5rem;
}

.order-detail-card h2 {
    margin: 0;
    font-size: 1.75rem;
}

.order-detail-card h3 {
    margin: 1.5rem 0 .45rem;
    font-size: 1rem;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.order-detail-grid>div {
    padding: .9rem;
    background: #f5f7f5;
    border-radius: .65rem;
}

.order-detail-grid h3 {
    margin-top: 0;
}

.order-detail-grid p {
    margin: 0;
}

.order-lines {
    display: grid;
    gap: .35rem;
}

.order-lines div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid #e4e8e5;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    margin-top: 1.5rem;
}

.order-actions button,
.secondary-action {
    padding: .65rem .85rem;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #215c45;
    border: 0;
    border-radius: .55rem;
}

.order-actions button:disabled {
    opacity: .65;
    cursor: wait;
}

.secondary-action {
    color: #215c45;
    background: white;
    border: 1px solid #a9bcb1;
}

.tracking-card {
    max-width: 760px;
}

.tracking-card h2 {
    margin-top: 2rem;
}

.tracking-status {
    font-size: 1.3rem;
    color: #215c45 !important;
}

.tracking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.tracking-grid div {
    display: grid;
    gap: .3rem;
    padding: .85rem;
    background: #f5f7f5;
    border-radius: .6rem;
}

.tracking-grid span,
.tracking-hint {
    color: #5b6963;
    font-size: .88rem;
}

.tracking-line {
    padding: .65rem 0;
    border-bottom: 1px solid #e4e8e5;
}

.zone-editor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e4e8e5;
}

.zone-editor label {
    display: grid;
    gap: .35rem;
    color: #304b40;
    font-weight: 700;
}

.zone-editor input:not([type="checkbox"]) {
    padding: .55rem;
    font: inherit;
    border: 1px solid #b6c5bc;
    border-radius: .45rem;
}

.closures-card {
    margin-top: 1.5rem;
}

.closures-card h2 {
    margin-top: 0;
}

.schedule-editor {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    align-items: end;
    padding: 1rem 0;
    border-bottom: 1px solid #e4e8e5;
}

.schedule-editor label {
    display: grid;
    gap: .35rem;
    color: #304b40;
    font-weight: 700;
}

.schedule-editor input,
.schedule-editor select {
    padding: .55rem;
    font: inherit;
    border: 1px solid #b6c5bc;
    border-radius: .45rem;
}

.catalog-admin-list {
    display: grid;
    gap: .65rem;
    margin: 1.5rem 0;
}

.catalog-admin-row {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, auto);
    gap: .8rem;
    align-items: center;
    padding: .9rem;
    background: #f5f7f5;
    border-radius: .65rem;
}

.catalog-admin-row span {
    color: #5b6963;
    font-size: .9rem;
}

.astarte-shell {
    width: min(100% - 2rem, 1100px);
    margin: 2rem auto;
}

.astarte-hero {
    padding: 2rem;
    color: #fff;
    background: #215c45;
    border-radius: 1rem 1rem 0 0;
}

.astarte-hero span,
.astarte-hero p {
    opacity: .82;
}

.astarte-kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.astarte-hero h1 {
    margin: .35rem 0;
}

.astarte-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #dbe4de;
    border-radius: 0 0 1rem 1rem;
}

.astarte-card-narrow {
    max-width: 520px;
    margin: 3rem auto;
    border-radius: 1rem;
}

.astarte-card-head {
    margin-bottom: 1.5rem;
}

.astarte-card-head h2 {
    margin: 0 0 .35rem;
}

.astarte-card-head p {
    margin: 0;
    color: #5b6963;
}

.astarte-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.astarte-toolbar h2,
.astarte-toolbar p {
    margin: 0;
}

.astarte-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.astarte-tabs {
    display: flex;
    gap: .5rem;
    margin: 2rem 0 1.25rem;
    border-bottom: 1px solid #dbe4de;
}

.astarte-tab {
    padding: .75rem 1rem;
    color: #345346;
    font: inherit;
    font-weight: 700;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.astarte-tab.active,
.astarte-tab--active {
    color: #215c45;
    border-bottom-color: #215c45;
}

.astarte-tab-panel {
    padding: 1.25rem 0 .5rem;
}

.astarte-edit-badge {
    padding: .35rem .6rem;
    color: #5d4600;
    background: #fff3cd;
    border-radius: .35rem;
    font-size: .85rem;
    font-weight: 700;
}

.astarte-panel h3 {
    margin-top: 0;
}

.astarte-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.astarte-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e4e8e5;
}

.astarte-section h4 {
    margin-top: 0;
}

.astarte-list {
    display: grid;
    gap: .65rem;
}

.astarte-list button {
    display: grid;
    gap: .25rem;
    padding: 1rem;
    text-align: left;
    font: inherit;
    background: #f5f7f5;
    border: 1px solid #dbe4de;
    border-radius: .65rem;
    cursor: pointer;
}

.astarte-list span,
.muted {
    color: #5b6963;
}

.astarte-client-table-wrapper {
    overflow-x: auto;
}

.astarte-client-table {
    width: 100%;
    border-collapse: collapse;
}

.astarte-client-table th,
.astarte-client-table td {
    padding: .85rem .7rem;
    text-align: left;
    border-bottom: 1px solid #dbe4de;
}

.astarte-client-table th {
    color: #5b6963;
    font-size: .8rem;
    text-transform: uppercase;
}

.astarte-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: .55rem;
}

.astarte-active-badge {
    padding: .25rem .5rem;
    color: #fff;
    background: #215c45;
    border-radius: .35rem;
    font-size: .82rem;
    font-weight: 700;
}

.danger-action {
    padding: .55rem .8rem;
    color: #9d2b2b;
    background: #fff;
    border: 1px solid #c56a6a;
    border-radius: .45rem;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.notice {
    padding: 1rem 1.2rem;
    color: #304b40;
    background: #e5eee6;
    border-left: 4px solid #4d8067;
    border-radius: 0.35rem 0.8rem 0.8rem 0.35rem;
}

.button-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    color: white;
    background: #215c45;
    border-radius: 0.65rem;
    font-weight: 700;
    text-decoration: none;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
    color: #67736e;
    border-top: 1px solid rgba(23, 35, 31, 0.09);
    font-size: 0.9rem;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1000;
    padding: 1rem 3rem 1rem 1rem;
    color: white;
    background: #8f2929;
    border-radius: 0.75rem;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.65rem;
    right: 0.9rem;
    cursor: pointer;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #d8ddd9;
    stroke-width: 0.6rem;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
    stroke: #215c45;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
}

.loading-progress-text {
    position: absolute;
    inset: calc(20vh + 3.3rem) 0 auto;
    text-align: center;
    font-weight: 750;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Cargando");
}

@media (max-width: 720px) {

    .topbar,
    footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .store-layout {
        grid-template-columns: 1fr;
    }

    .zone-editor {
        grid-template-columns: 1fr;
    }

    .schedule-editor {
        grid-template-columns: 1fr;
    }

    .catalog-admin-row {
        grid-template-columns: 1fr;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .tracking-grid {
        grid-template-columns: 1fr;
    }

    .astarte-grid {
        grid-template-columns: 1fr;
    }

    .astarte-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    main {
        width: min(100% - 1.5rem, 1120px);
    }
}

/* Product Detail Modal & Allergens */
.pizza-product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 500px);
    max-height: 88vh;
    z-index: 1051;
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: modalPop 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-modal-img-wrap {
    position: relative;
    width: 100%;
    height: 210px;
    background: #f8f8f8;
}

.product-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4.5rem;
    background: #f2f4f5;
}

.btn-close-modal {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 10;
    width: 2.2rem;
    height: 2.2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #333333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.btn-close-modal:hover {
    background: #ffffff;
    color: var(--store-primary);
}

.product-modal-body {
    padding: 1.35rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--store-dark);
}

.product-modal-desc-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.desc-heading {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--store-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-modal-desc {
    margin: 0;
    font-size: 0.92rem;
    color: #4b6584;
    line-height: 1.5;
}

.product-modal-allergens {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.allergens-heading {
    font-size: 0.82rem;
    font-weight: 800;
    color: #856404;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.allergens-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.allergen-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    border: 1px solid #ffd54f;
    padding: 0.35rem 0.7rem;
    border-radius: 1rem;
    font-size: 0.82rem;
    font-weight: 750;
    color: #5d4037;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eeeeee;
}

.product-modal-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: #17231f;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
}

/* Card Allergens Mini Preview */
.pizza-card-allergens-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.allergen-mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 0.4rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 750;
    color: #856404;
}

.allergen-mini-tag.more {
    background: #f1f2f6;
    border-color: #dcdde1;
    color: #555;
}

/* Category icon configuration */
.category-icon-settings {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.category-icon-setting-row {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) minmax(11rem, 15rem);
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.category-icon-preview {
    font-size: 1.6rem;
    text-align: center;
}

@media (max-width: 600px) {
    .category-icon-setting-row {
        grid-template-columns: 2.5rem 1fr;
    }

    .category-icon-setting-row select {
        grid-column: 1 / -1;
    }
}

/* Allergen PNG Icons */
.allergen-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
    transition: transform 0.15s ease;
}

.allergen-icon-img:hover {
    transform: scale(1.2);
}

.allergen-modal-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
    vertical-align: middle;
}

/* Mandatory badge & Radio label styles */
.mandatory-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #d97706;
    background: #fef3c7;
    padding: 0.15rem 0.5rem;
    border-radius: 0.4rem;
    margin-left: 0.4rem;
    text-transform: none;
}

.pizza-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #2d3436;
    margin-top: 0.35rem;
    cursor: pointer;
}

.pizza-radio-label input[type="radio"] {
    accent-color: var(--store-primary);
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}

/* Toast Pop-up Notification Container & Cards */
.maitre7-toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: min(90vw, 380px);
    pointer-events: none;
}

.maitre7-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1.1rem;
    background: #ffffff;
    border-radius: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #215c45;
    animation: toastSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.25s ease;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.maitre7-toast.toast-warning {
    border-left-color: #f59e0b;
    background: #fffdf5;
}

.maitre7-toast.toast-success {
    border-left-color: #72c02c;
    background: #f7fdf3;
}

.maitre7-toast.toast-error {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.maitre7-toast.toast-info {
    border-left-color: #3b82f6;
    background: #eff6ff;
}

.toast-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.toast-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1f2937;
}

.toast-message {
    font-size: 0.84rem;
    color: #4b5563;
    line-height: 1.4;
}

.toast-close-btn {
    background: transparent;
    border: 0;
    font-size: 1.3rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    transition: color 0.15s ease;
}

.toast-close-btn:hover {
    color: #1f2937;
}

/* Split Pizza Half and Half Builder Styling */
.half-builder-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.85rem;
}

.half-builder-header {
    text-align: center;
    background: linear-gradient(135deg, #f7fdf3 0%, #edf7e4 100%);
    border: 1px solid #c8e6c9;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
}

.half-builder-badge {
    font-size: 0.85rem;
    font-weight: 900;
    color: #215c45;
    letter-spacing: 0.04em;
}

.half-builder-sub {
    margin: 0.25rem 0 0 0;
    font-size: 0.78rem;
    color: #4b6584;
}

.half-pizza-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.1rem;
    transition: all 0.22s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

.half-pizza-card.active {
    border-color: var(--store-primary);
    box-shadow: 0 6px 20px rgba(var(--store-primary-rgb), 0.12);
}

.half-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.half-card-title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.half-icon-badge {
    font-size: 1.3rem;
    line-height: 1;
}

.half-card-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 850;
    color: #1f2937;
    letter-spacing: 0.02em;
}

/* Flavors Grid */
.half-flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.65rem;
}

.half-flavor-tile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.half-flavor-tile:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.half-flavor-tile.selected {
    background: #f7fdf3;
    border-color: var(--store-primary);
    box-shadow: 0 4px 12px rgba(var(--store-primary-rgb), 0.18);
}

.half-flavor-radio {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.half-flavor-tile.selected .half-flavor-radio {
    border-color: var(--store-primary);
    background: var(--store-primary);
}

.half-flavor-radio .radio-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ffffff;
    display: none;
}

.half-flavor-tile.selected .half-flavor-radio .radio-dot {
    display: block;
}

.half-flavor-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.flavor-name {
    font-size: 0.84rem;
    font-weight: 750;
    color: #334155;
    line-height: 1.2;
    word-break: break-word;
}

.half-flavor-tile.selected .flavor-name {
    color: #1b4d3e;
}

.flavor-price {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--store-primary);
}

/* Extras per Half */
.half-extras-section {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
    transition: opacity 0.2s ease;
}

.half-extras-section.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.half-extras-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.extras-section-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.extras-hint {
    font-size: 0.74rem;
    color: #94a3b8;
    font-style: italic;
    margin-left: 0.3rem;
}

.half-extras-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.half-extra-checkbox-tile {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.6rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.half-extra-checkbox-tile:hover:not(.disabled) {
    border-color: var(--store-primary);
    background: #f8fafc;
}

.half-extra-checkbox-tile.checked {
    background: #f7fdf3;
    border-color: var(--store-primary);
    color: #1b4d3e;
    box-shadow: 0 2px 6px rgba(var(--store-primary-rgb), 0.15);
}

.half-extra-checkbox-tile input[type="checkbox"] {
    accent-color: var(--store-primary);
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.extra-price {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--store-accent);
}

/* Checkout Page Modern Styling */
.checkout-page-container {
    min-height: 100vh;
    background: #f4f6f8;
    padding-bottom: 4rem;
}

.checkout-header-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-back-store {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 0.6rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-store:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.checkout-header-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checkout-brand {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--store-primary);
    letter-spacing: 0.08em;
}

.checkout-restaurant {
    font-size: 1rem;
    font-weight: 850;
    color: #1e293b;
}

.checkout-header-space {
    width: 130px;
}

@media (max-width: 600px) {
    .checkout-header-bar {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.65rem 0.75rem;
        min-height: 66px;
        box-sizing: border-box;
    }

    .btn-back-store {
        width: 132px;
        min-height: 44px;
        box-sizing: border-box;
        justify-content: center;
        padding: 0.4rem 0.45rem;
        line-height: 1.15;
        text-align: center;
    }

    .checkout-header-title {
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    .checkout-brand {
        font-size: 0.68rem;
        line-height: 1.1;
    }

    .checkout-restaurant {
        display: block;
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .checkout-header-space {
        display: none;
    }
}

/* Grid Layout */
.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.75rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.25rem;
}

@media (max-width: 900px) {
    .checkout-grid-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-card-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.block-title {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    font-weight: 850;
    color: #1e293b;
    letter-spacing: 0.01em;
}

.single-mode-badge {
    background: #f7fdf3;
    border: 1px solid #c8e6c9;
    border-radius: 0.7rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #215c45;
}

.checkout-edit-form {
    display: flex;
    flex-direction: column;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 580px) {
    .form-group-grid {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field.margin-top {
    margin-top: 0.85rem;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 750;
    color: #475569;
}

.checkout-input,
.checkout-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.65rem;
    font-size: 0.88rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-input:focus,
.checkout-select:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px rgba(var(--store-primary-rgb), 0.15);
}

.checkout-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: #475569;
    cursor: pointer;
}

.checkout-checkbox-label input[type="checkbox"] {
    accent-color: var(--store-primary);
    width: 1.05rem;
    height: 1.05rem;
}

.checkout-error-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    border: 0;
    border-radius: 0.85rem;
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(var(--store-primary-rgb), 0.35);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-checkout-submit:hover:not(:disabled) {
    background: var(--store-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--store-primary-rgb), 0.45);
}

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

/* Right Summary Column */
.checkout-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.summary-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.summary-card-header h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 850;
    color: #1e293b;
}

.cart-count-badge {
    font-size: 0.76rem;
    font-weight: 800;
    background: #edf7e4;
    color: #215c45;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
}

/* Items List Breakdown */
.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 0;
    max-height: 340px;
    overflow-y: auto;
    border-bottom: 1px solid #f1f5f9;
}

.checkout-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.item-quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

.item-quantity-button {
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border: 1px solid #dbe4ee;
    border-radius: 0.4rem;
    background: #ffffff;
    color: var(--store-primary);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}

.item-quantity-button:hover:not(:disabled) {
    background: #f7fdf3;
    border-color: var(--store-primary);
}

.item-quantity-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.item-qty-badge {
    font-size: 0.82rem;
    font-weight: 850;
    color: var(--store-primary);
    background: #f7fdf3;
    padding: 0.15rem 0.45rem;
    border-radius: 0.4rem;
    flex-shrink: 0;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.item-name {
    font-size: 0.85rem;
    font-weight: 750;
    color: #1e293b;
    line-height: 1.3;
}

.item-selections {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.selection-pill {
    font-size: 0.72rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.1rem 0.4rem;
    border-radius: 0.3rem;
}

.item-price {
    font-size: 0.86rem;
    font-weight: 800;
    color: #1e293b;
    white-space: nowrap;
}

/* Summary Totals */
.summary-totals-box {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.9rem;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

.total-row.final-total {
    margin-top: 0.4rem;
    padding-top: 0.65rem;
    border-top: 1.5px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 900;
    color: #1e293b;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--store-primary);
}

.quoting-spinner {
    font-size: 0.84rem;
    color: #64748b;
    text-align: center;
    padding: 0.5rem;
}

.quote-pending-notice {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
}

.free-delivery-progress {
    margin: 0.15rem 0 0;
    padding: 0.6rem 0.75rem;
    border-radius: 0.55rem;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.85rem;
    font-weight: 700;
}

.free-delivery-progress.free-delivery-achieved {
    background: #ecfdf5;
    color: #166534;
}

/* Empty & Success Boxes */
.checkout-empty-box {
    max-width: 480px;
    margin: 4rem auto;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.checkout-empty-box h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #1e293b;
}

.checkout-empty-box p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.btn-checkout-primary {
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    border: 0;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-checkout-primary:hover {
    background: var(--store-accent);
}

.checkout-success-card {
    max-width: 520px;
    margin: 3.5rem auto;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: modalPop 0.3s ease;
}

.success-icon-badge {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background: var(--store-primary);
    color: var(--store-primary-text, #ffffff);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 8px 24px rgba(var(--store-primary-rgb), 0.35);
}

.checkout-success-card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e293b;
}

.success-sub {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.order-ref-box {
    background: #f7fdf3;
    border: 1.5px dashed var(--store-primary);
    border-radius: 0.85rem;
    padding: 1rem;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ref-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #215c45;
    letter-spacing: 0.06em;
}

.ref-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: 0.04em;
}

/* Loading Screens & Centered Spinner */
.pizza-loading-screen,
.checkout-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    width: 100%;
    text-align: center;
    padding: 3rem 1.5rem;
    margin: 0 auto;
}

.pizza-spinner {
    font-size: 3.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem auto;
    animation: pulseBounce 1.4s ease-in-out infinite;
}

@keyframes pulseBounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.2) rotate(12deg);
        opacity: 1;
    }
}

.pizza-loading-screen p,
.checkout-loading p {
    font-size: 1.05rem;
    font-weight: 750;
    color: #4b6584;
    margin: 0;
}

/* ============================================================
   Registro Astarte — Estilos sincronizados con Maitre 7 Reservas
   ============================================================ */

.astarte-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.astarte-hero {
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.20), transparent 30%),
        linear-gradient(135deg, #0f172a, #5d9d24 70%);
    color: #f8fafc;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.astarte-hero h1 {
    margin: 0.25rem 0 0.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.astarte-hero span, .astarte-hero p {
    opacity: 0.9;
    margin: 0;
}

.astarte-kicker {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.astarte-card {
    padding: 1.75rem;
    border: 1px solid #dbe4dd;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.astarte-card-narrow {
    max-width: 440px;
    margin: 2.5rem auto;
}

.astarte-card-head {
    margin-bottom: 1.25rem;
}

.astarte-card-head h2,
.astarte-toolbar h2,
.astarte-toolbar h3 {
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.astarte-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.astarte-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

/* Tabs */
.astarte-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 0;
    overflow-x: auto;
}

.astarte-tab {
    position: relative;
    padding: 0.7rem 1.5rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 0.5rem 0.5rem 0 0;
    white-space: nowrap;
}

.astarte-tab:hover {
    color: #0f172a;
    background: rgba(93, 157, 36, 0.08);
}

.astarte-tab--active, .astarte-tab.active {
    color: #5d9d24;
    background: #f0fdf4;
    font-weight: 600;
}

.astarte-tab--active::after, .astarte-tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #72c02c, #5d9d24);
}

.astarte-tab-panel {
    padding: 1.25rem 0 0;
    animation: astarte-fade-in 0.25s ease;
}

@keyframes astarte-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.astarte-edit-badge {
    padding: 0.35rem 0.65rem;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.astarte-active-badge {
    padding: 0.25rem 0.6rem;
    color: #ffffff;
    background: #5d9d24;
    border-radius: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Grid & Form Sections */
.astarte-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.astarte-grid-span-2 {
    grid-column: span 2;
}

.astarte-section {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #fafaf9;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.astarte-section h4 {
    margin: 0 0 1rem;
    color: #5d9d24;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.4rem;
}

/* Form Controls (Inputs, Selects, Checkboxes como en ReservasApp) */
.portal-form label {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.portal-form input:not([type="checkbox"]),
.portal-form select,
select,
.form-select,
.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-form input:not([type="checkbox"]):hover,
.portal-form select:hover,
select:hover,
.form-select:hover,
.form-control:hover {
    border-color: #9ca3af;
}

.portal-form input:not([type="checkbox"]):focus,
.portal-form select:focus,
select:focus,
.form-select:focus,
.form-control:focus {
    outline: none;
    border-color: #9fd864;
    box-shadow: 0 0 0 0.15rem rgba(114, 192, 44, 0.25);
}

/* Checkbox styling exacto como ReservasApp */
input[type="checkbox"],
.form-check-input {
    appearance: auto;
    width: 1.15rem;
    height: 1.15rem;
    accent-color: #5d9d24;
    border: 1.5px solid #929292;
    border-radius: 0.25rem;
    cursor: pointer;
    vertical-align: middle;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="checkbox"]:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(114, 192, 44, 0.25);
    border-color: #9fd864;
    outline: none;
}

.check-row,
.astarte-checks label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
}

/* Botones */
.portal-form button:not(.secondary-action):not(.danger-action):not(.astarte-help-btn),
.primary-button,
.btn-success {
    padding: 0.65rem 1.25rem;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    background: #5d9d24;
    border: 1px solid #5d9d24;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(93, 157, 36, 0.2);
}

.portal-form button:not(.secondary-action):not(.danger-action):not(.astarte-help-btn):hover:not(:disabled),
.primary-button:hover:not(:disabled),
.btn-success:hover:not(:disabled) {
    background: #487a1c;
    border-color: #487a1c;
}

.portal-form button:disabled,
.primary-button:disabled,
.btn-success:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.secondary-action {
    padding: 0.55rem 0.9rem;
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: all 0.2s ease;
}

.secondary-action:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

.danger-action {
    padding: 0.55rem 0.9rem;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 0.5rem;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: all 0.2s ease;
}

.danger-action:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

/* Ayuda interactiva / Tooltips */
.astarte-label-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.astarte-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 50%;
    border: 1.5px solid #5d9d24;
    color: #5d9d24;
    background: #f0fdf4;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.astarte-help-btn:hover {
    background: #5d9d24;
    color: #ffffff;
}

.astarte-help-box {
    margin-top: 0.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.5rem;
    background: #f4faec;
    border: 1px solid #d0ebb0;
    color: #345714;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Alertas */
.astarte-alert {
    padding: 0.85rem 1.1rem;
    border-radius: 0.65rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.astarte-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.astarte-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.astarte-alert-close {
    background: transparent;
    border: 0;
    font-size: 1.2rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 0;
}

.astarte-alert-close:hover {
    opacity: 1;
}

/* Buscador de clientes */
.astarte-search-box {
    width: 100%;
    margin-bottom: 1rem;
}

.astarte-search-box input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font: inherit;
    font-size: 0.9375rem;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.astarte-search-box input:focus {
    outline: none;
    border-color: #9fd864;
    box-shadow: 0 0 0 0.15rem rgba(114, 192, 44, 0.25);
}

/* Modo switch para horarios */
.mode-switch {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.mode-switch button {
    padding: 0.6rem 1.25rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #4b5563;
    border-radius: 0.5rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-switch button.selected {
    background: #5d9d24;
    color: #ffffff;
    border-color: #5d9d24;
    box-shadow: 0 4px 12px rgba(93, 157, 36, 0.25);
}

/* Tablas */
.astarte-client-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.astarte-client-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.astarte-client-table th,
.astarte-client-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.astarte-client-table th {
    color: #6b7280;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    background: #f9fafb;
}

.astarte-client-table tr:last-child td {
    border-bottom: 0;
}

.astarte-client-table tr:hover td {
    background: #f8fafc;
}

.astarte-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
}

.astarte-actions-row {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.astarte-field-full {
    width: 100%;
    margin-bottom: 0.75rem;
}

.astarte-subhead {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.65rem;
}

.astarte-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem 1.25rem;
}

.astarte-checkbox-grid .check-row label {
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

/* Clases de utilidad de margen */
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1.25rem !important; }
.mt-4 { margin-top: 1.75rem !important; }

@media (max-width: 768px) {
    .astarte-grid {
        grid-template-columns: 1fr;
    }
    .astarte-grid-span-2 {
        grid-column: auto;
    }
    .astarte-toolbar {
        flex-direction: column;
.astarte-help-box {
    margin-top: 0.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.5rem;
    background: #f4faec;
    border: 1px solid #d0ebb0;
    color: #345714;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Alertas */
.astarte-alert {
    padding: 0.85rem 1.1rem;
    border-radius: 0.65rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.astarte-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.astarte-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.astarte-alert-close {
    background: transparent;
    border: 0;
    font-size: 1.2rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 0;
}

.astarte-alert-close:hover {
    opacity: 1;
}

/* Buscador de clientes */
.astarte-search-box {
    width: 100%;
    margin-bottom: 1rem;
}

.astarte-search-box input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font: inherit;
    font-size: 0.9375rem;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.astarte-search-box input:focus {
    outline: none;
    border-color: #9fd864;
    box-shadow: 0 0 0 0.15rem rgba(114, 192, 44, 0.25);
}

/* Modo switch para horarios */
.mode-switch {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.mode-switch button {
    padding: 0.6rem 1.25rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #4b5563;
    border-radius: 0.5rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-switch button.selected {
    background: #5d9d24;
    color: #ffffff;
    border-color: #5d9d24;
    box-shadow: 0 4px 12px rgba(93, 157, 36, 0.25);
}

/* Tablas */
.astarte-client-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.astarte-client-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.astarte-client-table th,
.astarte-client-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.astarte-client-table th {
    color: #6b7280;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    background: #f9fafb;
}

.astarte-client-table tr:last-child td {
    border-bottom: 0;
}

.astarte-client-table tr:hover td {
    background: #f8fafc;
}

.astarte-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
}

.astarte-actions-row {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.astarte-field-full {
    width: 100%;
    margin-bottom: 0.75rem;
}

.astarte-subhead {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.65rem;
}

.astarte-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem 1.25rem;
}

.astarte-checkbox-grid .check-row label {
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.portal-permission-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.6rem;
}

.portal-form label.portal-perm-card,
label.portal-perm-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.85rem !important;
    padding: 0.9rem 1.1rem !important;
    border-radius: 0.75rem !important;
    border: 1.5px solid rgba(140, 150, 160, 0.22) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    cursor: pointer !important;
    transition: all 0.18s ease-in-out !important;
    text-align: left !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.portal-form label.portal-perm-card:hover,
label.portal-perm-card:hover {
    border-color: #5d9d24 !important;
    background-color: rgba(93, 157, 36, 0.08) !important;
    transform: translateX(3px);
}

.portal-form label.portal-perm-card.active,
label.portal-perm-card.active {
    border-color: #5d9d24 !important;
    background-color: rgba(93, 157, 36, 0.12) !important;
    box-shadow: 0 0 0 1px #5d9d24;
}

.portal-perm-checkbox {
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin: 0 !important;
    accent-color: #5d9d24 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.portal-perm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.5rem;
    background: rgba(93, 157, 36, 0.15);
    color: #5d9d24;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.18s ease-in-out;
}

.portal-form label.portal-perm-card.active .portal-perm-icon,
label.portal-perm-card.active .portal-perm-icon {
    background: #5d9d24;
    color: #ffffff;
}

.portal-perm-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.portal-perm-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: inherit !important;
    line-height: 1.3 !important;
}

.portal-perm-desc {
    font-size: 0.84rem !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
    opacity: 0.9 !important;
}

.portal-permission-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.portal-permission-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
    margin: 0;
}

.portal-permission-copy label strong {
    font-weight: 600;
}

.portal-permission-copy span {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.35;
}

.password-field {
    display: grid;
    gap: 0.4rem;
}

.password-input-with-toggle {
    position: relative;
}

.password-input-with-toggle input {
    padding-right: 3rem;
}

.password-visibility-button {
    position: absolute;
    top: 50%;
    right: 0.6rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0.35rem;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.password-visibility-button:hover,
.password-visibility-button:focus-visible {
    background: #e2e8f0;
    color: #1e293b;
    outline: none;
}

.password-visibility-button svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* Clases de utilidad de margen */
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1.25rem !important; }
.mt-4 { margin-top: 1.75rem !important; }

@media (max-width: 768px) {
    .astarte-grid {
        grid-template-columns: 1fr;
    }
    .astarte-grid-span-2 {
        grid-column: auto;
    }
    .astarte-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .astarte-tabs {
        overflow-x: auto;
    }
    .astarte-tab {
        white-space: nowrap;
        padding: 0.6rem 1rem;
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   SCHEDULE & OPENING HOURS STYLES (CARTA & CHECKOUT)
   ========================================================================== */

/* Mode Status Pill (Abierto / Cerrado / Pausado / Completo) */
.mode-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.2;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mode-status-pill.open {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.mode-status-pill.closed {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.mode-status-pill.paused {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.mode-status-pill.full {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

/* Inside Active Mode Button: ensure crisp visibility against green background */
.pizza-mode-btn.active .mode-status-pill.open {
    background: #ffffff !important;
    color: #15803d !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.pizza-mode-btn.active .mode-status-pill.closed {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid #b91c1c !important;
}

.pizza-mode-btn.active .mode-status-pill.paused {
    background: #d97706 !important;
    color: #ffffff !important;
    border: 1px solid #b45309 !important;
}

.pizza-mode-btn.active .mode-status-pill.full {
    background: #7c3aed !important;
    color: #ffffff !important;
    border: 1px solid #6d28d9 !important;
}

/* Store Schedule Alert Banner */
.store-schedule-alert-wrap {
    max-width: 680px;
    margin: 0.25rem auto 1.25rem;
    padding: 0 1rem;
    box-sizing: border-box;
}

.store-schedule-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.1);
    text-align: left;
}

.schedule-alert-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.schedule-alert-body {
    flex: 1;
    min-width: 0;
}

.schedule-alert-title {
    font-size: 0.95rem;
    font-weight: 750;
    color: #92400e;
    margin: 0 0 0.3rem;
    line-height: 1.35;
}

.schedule-today-hours {
    font-size: 0.86rem;
    color: #78350f;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.schedule-today-hours strong {
    font-weight: 700;
    color: #92400e;
}

.schedule-order-hint {
    font-size: 0.82rem;
    color: #92400e;
    margin: 0;
    line-height: 1.45;
}

/* Checkout Schedule Warning Banner */
.checkout-schedule-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.1);
    text-align: left;
}

.schedule-banner-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.schedule-banner-content {
    flex: 1;
    min-width: 0;
}

.schedule-banner-title {
    font-size: 0.95rem;
    font-weight: 750;
    color: #92400e;
    margin: 0 0 0.3rem;
    line-height: 1.35;
}

.schedule-banner-hours {
    font-size: 0.86rem;
    color: #78350f;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.schedule-banner-hours strong {
    font-weight: 700;
    color: #92400e;
}

.schedule-banner-action {
    font-size: 0.82rem;
    color: #92400e;
    margin: 0;
    line-height: 1.45;
}

.schedule-banner-action.error {
    color: #b91c1c;
    font-weight: 600;
}
