/* ── SCROLLBAR ── */
html::-webkit-scrollbar {
    display: block;
    width: 7px;
}

html::-webkit-scrollbar-track {
    background: #f5f5f5;
}

html::-webkit-scrollbar-thumb {
    background: #FB6E36;
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #e85e28;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #FB6E36 #f5f5f5;
}

/* Full menu page background — matches the This Week's Menu page (cream beige).
   !important overrides the inline background on layouts.customer's <body>. */
body.full-menu-page { background: #FEF1E5 !important; }

/* ── VENDOR LISTING PAGE ── */
:root {
    --motw-red: #C42127;
    --motw-red-dark: #A8181F;
    --motw-orange: #F39C2D;
    --motw-orange-dark: #E08A1B;
    --motw-green: #6FA936;
    --motw-green-dark: #5B8E2A;
    --motw-cream: #FCEEE0;
    --motw-dark: #6B0A0A;
}

.vendor-listing-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--motw-red);
    text-transform: uppercase;
    margin: 0 0 0.4rem;
    letter-spacing: 0.5px;
    line-height: 1;
}

.vendor-listing-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--motw-green);
    font-weight: 700;
    margin: 0;
}

/* Location banner */
.vendor-location-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FDEBD9;
    border: 1px solid #F6D4B3;
    color: var(--motw-red);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 1.5rem 0 2rem;
}

.vendor-location-banner svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Card */
.vendor-listing-card {
    display: flex;
    align-items: stretch;
    gap: clamp(16px, 2.5vw, 32px);
    background: var(--motw-red);
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    padding: clamp(14px, 1.5vw, 20px);
    margin-bottom: 1.75rem;
    box-shadow: 0 6px 22px rgba(196, 33, 39, 0.18);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.vendor-listing-card:hover {
    box-shadow: 0 12px 32px rgba(196, 33, 39, 0.28);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Photo (vendor profile picture) */
.vlc-photo {
    flex-shrink: 0;
    width: clamp(180px, 32%, 300px);
    background: var(--motw-cream);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.vlc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vlc-photo--placeholder {
    color: var(--motw-red);
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 3rem;
    text-transform: uppercase;
}

/* Content */
.vlc-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(10px, 1.5vw, 18px) clamp(10px, 1.5vw, 18px) clamp(8px, 1.5vw, 14px) 0;
    color: #fff;
}

.vlc-name {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin: 0 0 0.6rem;
    letter-spacing: 0.5px;
}

.vlc-tagline {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.vlc-footer {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.vlc-pill {
    display: inline-block;
    background: var(--motw-cream);
    color: var(--motw-green-dark);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.vlc-btn {
    display: inline-block;
    background: var(--motw-green);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.vlc-btn:hover {
    background: var(--motw-green-dark);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .vendor-listing-card {
        flex-direction: column;
    }
    .vlc-photo {
        width: 100%;
        min-height: 160px;
    }
    .vlc-content {
        padding: 12px 10px 6px;
    }
    .vlc-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .vlc-btn {
        text-align: center;
    }
}

.vendor-listing-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
    color: #9CA3AF;
    font-size: 0.95rem;
}

/* ── VENDOR COVER ── */
.vendor-cover {
    width: 100%;
    overflow: hidden;
    height: 28vh;
    border-radius: 18px 18px 0 0;
}

.vendor-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── VENDOR INFO SECTION ── */
.vendor-info-section {
    background: var(--motw-cream);
    padding: 1.75rem 2rem 2rem;
    border-radius: 0 0 18px 18px;
    border: 2px solid #F6D9C4;
    border-top: 0;
    margin-bottom: 2.5rem;
}

.vendor-logo {
    width: clamp(64px, 12vw, 92px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(196, 33, 39, 0.15);
}

.vendor-page-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--motw-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0.5rem 0 0.35rem;
    line-height: 1.05;
}

.vendor-page-desc {
    color: #6B5448;
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0;
    max-width: 62ch;
}

/* ── MEALS SECTION ── */
.meals-section-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--motw-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem;
}

/* ── PRODUCT GRID ── */
.vendor-products {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-content: start;
}

@media (max-width: 900px) {
    .vendor-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .vendor-products {
        grid-template-columns: 1fr;
    }
}

/* ── MEAL CARD ── */
.meal-card {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--motw-cream);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    min-width: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.meal-card:hover {
    box-shadow: 0 14px 34px rgba(196, 33, 39, 0.16);
    transform: translateY(-4px);
    border-color: #F6D9C4;
}

/* ── IMAGE ── */
.meal-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--motw-cream);
}

.meal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.meal-card:hover .meal-image-wrapper img {
    transform: scale(1.05);
}

/* Eye preview button */
.meal-eye-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 10, 10, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: none;
    z-index: 10;
}

.meal-image-wrapper:hover .meal-eye-btn {
    opacity: 1;
}

.meal-eye-btn svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Title band over image */
.meal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 0.8rem;
    /* background: linear-gradient(to top, rgba(107, 10, 10, 0.88), transparent); */
    color: #fff;
    pointer-events: none;
}

.meal-overlay h3 {
    margin: 0;
    font-family: var(--font-heading, 'Sailor', sans-serif);
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    line-height: 1.15;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── CARD BODY ── */
.meal-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
    flex: 1;
}

.meal-body p {
    margin: 0;
    color: #6B5448;
    font-size: 0.88rem;
    line-height: 1.45;
    flex: 1;
}

/* ── MEAL FOOTER (price + action pinned to bottom) ── */
.meal-footer {
    margin-top: auto;
    padding-top: 0.6rem;
}

/* ── MEAL PRICE ── */
.meal-price {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 1.4rem;
    color: var(--motw-red);
    margin: 0;
    letter-spacing: 0.3px;
}

/* ── CALORIES + DIETARY TAGS ── */
.meal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.meal-calories {
    display: inline-block;
    background: var(--motw-green);
    color: #fff;
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.meal-diet-tags {
    margin: 0;
    color: #6B5448;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}

/* ── ADD TO ORDER BUTTON ── */
.meal-button {
    background: var(--motw-orange);
    color: #fff;
    border: none;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-family: var(--font-heading, 'Sailor', sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.92rem;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    display: block;
    margin-top: 0.75rem;
    transition: background 0.15s ease, transform 0.1s ease;
}

.meal-button:hover {
    background: var(--motw-orange-dark);
}

.meal-button:active {
    transform: scale(0.98);
}

/* ── QUANTITY STEPPER ── */
.qty-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 2px solid var(--motw-orange);
    border-radius: 40px;
    padding: 0.2rem 0.6rem;
    background: #fff;
    margin-top: 0.75rem;
    box-shadow: 0 1px 4px rgba(243, 156, 45, 0.18);
}

.qty-stepper-btn {
    background: var(--motw-orange);
    border: none;
    color: white;
    font-size: clamp(0.7rem, 1.2vw, 1.1rem);
    font-weight: 700;
    width: clamp(1.4rem, 2.2vw, 2.1rem);
    height: clamp(1.4rem, 2.2vw, 2.1rem);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.1s ease;
    line-height: 1;
    flex-shrink: 1;
}

.qty-stepper-btn:hover {
    background: var(--motw-orange-dark);
}

.qty-stepper-btn:active {
    transform: scale(0.92);
}

.qty-stepper-count {
    color: var(--motw-orange);
    font-weight: 700;
    min-width: 0;
    text-align: center;
    font-size: 1.2rem;
    flex-shrink: 1;
}

/* ── REMOVE BUTTON ── */
.remove-btn {
    display: block;
    margin: 0.3rem auto 0;
    background: none;
    border: none;
    color: var(--motw-red);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    letter-spacing: 0.01em;
    transition: color 0.15s ease;
}

.remove-btn:hover {
    color: var(--motw-red-dark);
}

/* ── LAYOUT ── */
.vendor-menu-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .vendor-menu-layout {
        flex-direction: column;
        padding-bottom: 160px;
    }
}

/* ── MY ORDERS PAGE ── */
.orders-page-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 2rem;
    color: #1F2937;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Empty state */
.orders-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.orders-empty-text {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 1rem;
    color: #9CA3AF;
    margin: 0 0 1.25rem;
}

.orders-browse-btn {
    display: inline-block;
    background: #1F2937;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 40px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.orders-browse-btn:hover {
    background: #374151;
    color: #fff;
    text-decoration: none;
}

/* Orders list */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual order card */
.order-card {
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F9F0EA;
    gap: 0.75rem;
}

.order-card-id-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.order-card-id {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 1.1rem;
    color: #1F2937;
    letter-spacing: -0.02em;
}

.order-card-date {
    font-size: 0.82rem;
    color: #9CA3AF;
}

/* Status badge */
.order-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
}

.order-status-paid {
    background: #FEF0E5;
    color: #FB6E36;
    border: 1px solid rgba(251, 110, 54, 0.2);
}

.order-status-pending {
    background: #F3F4F6;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

/* Meta rows */
.order-card-meta {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #F9F0EA;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.order-meta-row {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.85rem;
}

.order-meta-label {
    font-weight: 600;
    color: #374151;
    min-width: 62px;
}

.order-meta-value {
    color: #6B7280;
}

/* Items */
.order-items {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #F9F0EA;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.875rem;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-name {
    color: #374151;
    font-weight: 500;
}

.order-item-qty {
    color: #9CA3AF;
    font-weight: 400;
    margin-left: 0.25rem;
}

.order-item-subtotal {
    color: #1F2937;
    font-weight: 600;
}

/* Footer */
.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #FFFAF7;
}

.order-item-count {
    font-size: 0.82rem;
    color: #9CA3AF;
}

.order-total {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    color: #6B7280;
}

.order-total strong {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 1.1rem;
    color: #1F2937;
    letter-spacing: -0.02em;
    font-weight: 400;
}

/* ── CART PAGE ── */
.cart-page-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 2rem;
    color: #1F2937;
    margin: 0 0 0.25rem;
    line-height: 1.15;
}

.cart-page-subtitle {
    color: #6B7280;
    font-size: 0.95rem;
    margin: 0;
}

/* Items card */
.cart-items-card {
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Individual item row */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F9F0EA;
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

/* Left: image + name/price */
.cart-item-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #F0E8E0;
}

.cart-item-img-placeholder {
    background: #F3F4F6;
}

.cart-item-name {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.82rem;
    color: #9CA3AF;
    margin: 0;
}

/* Right: qty input + subtotal + remove */
.cart-item-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.cart-qty-input {
    width: 60px;
    padding: 0.3rem 0.5rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: #1F2937;
    text-align: center;
    outline: none;
    transition: border-color 0.15s;
}

.cart-qty-input:focus {
    border-color: #FB6E36;
}

.cart-item-subtotal {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    min-width: 52px;
    text-align: right;
    margin: 0;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #DC2626;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    transition: color 0.15s;
}

.cart-remove-btn:hover {
    color: #B91C1C;
}

/* Summary card */
.cart-summary-card {
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cart-summary-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 1.2rem;
    color: #1F2937;
    margin: 0 0 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.cart-summary-total-row {
    border-bottom: none;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}

.cart-summary-label {
    font-size: 0.9rem;
    color: #6B7280;
}

.cart-summary-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1F2937;
}

.cart-summary-total-label {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
}

.cart-summary-total-value {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 1.5rem;
    color: #1F2937;
    letter-spacing: -0.02em;
}

/* Delivery date section */
.cart-date-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #F3F4F6;
}

.cart-date-label {
    display: block;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.cart-date-hint {
    font-size: 0.82rem;
    color: #9CA3AF;
    margin: 0 0 0.6rem;
}

.cart-date-input {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    color: #1F2937;
    outline: none;
    transition: border-color 0.15s;
    background: #fff;
}

.cart-date-input:focus {
    border-color: #FB6E36;
}

.cart-date-error {
    font-size: 0.82rem;
    color: #DC2626;
    margin-top: 0.4rem;
}

.cart-date-error.hidden {
    display: none;
}

/* Action buttons */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #F3F4F6;
    gap: 0.75rem;
}

.cart-back-btn {
    background: #F3F4F6;
    color: #374151;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 40px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
    white-space: nowrap;
}

.cart-back-btn:hover {
    background: #E5E7EB;
    color: #374151;
    text-decoration: none;
}

.cart-checkout-btn {
    background: #1F2937;
    color: #fff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 40px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.cart-checkout-btn:hover {
    background: #374151;
}

.cart-checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-guest-btn {
    background: none;
    border: none;
    color: #6B7280;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    transition: color 0.15s;
}

.cart-guest-btn:hover {
    color: #374151;
}

/* ── PROFILE PAGE (customer role) ── */
.profile-page-title {
    font-family: var(--font-heading, 'Sailor', sans-serif);
    font-size: 2rem;
    color: #1F2937;
    margin: 0;
    letter-spacing: -0.02em;
}

.profile-card {
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.profile-card--danger {
    border-color: #FEE2E2;
}

/* Section headings inside profile cards */
.profile-card header h2 {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 0.25rem;
}

.profile-card header p {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0;
}

/* Labels */
.profile-card label {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

/* Text inputs */
.profile-card input[type="text"],
.profile-card input[type="email"],
.profile-card input[type="password"] {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    color: #1F2937;
    outline: none;
    transition: border-color 0.15s;
    box-shadow: none;
    background: #fff;
    box-sizing: border-box;
}

.profile-card input[type="text"]:focus,
.profile-card input[type="email"]:focus,
.profile-card input[type="password"]:focus {
    border-color: #FB6E36;
    box-shadow: 0 0 0 3px rgba(251, 110, 54, 0.1);
}

/* Primary save button */
.profile-card button[type="submit"]:not(.danger-btn) {
    background: #1F2937 !important;
    color: #fff !important;
    border: none !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 40px !important;
    font-family: var(--font-body, 'Instrument Sans', sans-serif) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background 0.15s !important;
    box-shadow: none !important;
}

.profile-card button[type="submit"]:not(.danger-btn):hover {
    background: #374151 !important;
}

/* Danger button (delete account) */
.profile-card--danger button {
    background: #DC2626 !important;
    color: #fff !important;
    border: none !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 40px !important;
    font-family: var(--font-body, 'Instrument Sans', sans-serif) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background 0.15s !important;
    box-shadow: none !important;
}

.profile-card--danger button:hover {
    background: #B91C1C !important;
}

/* Delete confirmation modal overrides */
[id="confirm-user-deletion"] h2 {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
}

[id="confirm-user-deletion"] p {
    font-size: 0.85rem;
    color: #6B7280;
}

[id="confirm-user-deletion"] input[type="password"] {
    padding: 0.55rem 0.85rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s;
}

[id="confirm-user-deletion"] input[type="password"]:focus {
    border-color: #FB6E36;
    box-shadow: 0 0 0 3px rgba(251, 110, 54, 0.1);
}

/* Verification link */
.profile-card .underline {
    color: #FB6E36;
    text-underline-offset: 2px;
}

.profile-card .underline:hover {
    color: #e85e28;
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 1px solid #FEF0E5;
    border-radius: 14px;
}

.cart-empty-text {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 1rem;
    color: #9CA3AF;
    margin: 0 0 1.25rem;
}
