/* ============================================================
   style-desktop.css — Layout Desktop Completo
   Totalmente desvinculado do CSS mobile (style.css)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #ea1d2c;
    --primary-hover: #c81020;
    --bg-body: #f0f2f5;
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f5f6f8;
    --text-primary: #1a1d23;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --sidebar-width: 280px;
    --transition: 0.2s ease;
}

/* ============================================================
   DARK MODE
   ============================================================ */
body.dark-mode {
    --bg-body: #0f1117;
    --bg-sidebar: #161822;
    --bg-card: #1c1e2a;
    --bg-input: #222433;
    --text-primary: #e9ecf2;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: #2a2d3a;
    --border-light: #222433;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.4);
}

/* Dark mode: destaque qty-active */
body.dark-mode .desktop-layout .det-section[data-grade-tipo="Múltiplo"] .item-adicional.qty-active,
body.dark-mode .desktop-layout .combo-section .item-adicional.qty-active {
    background: color-mix(in srgb, var(--primary) 12%, transparent) !important;
}

/* Dark mode: seletor de quantidade — mantém cores do modo claro */

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body.desktop-layout {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.dsk-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: 100vh;
    position: sticky;
    top: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
}

.dsk-sidebar-top {
    flex: 1;
    padding: 24px 16px 16px;
}

.dsk-sidebar-bottom {
    padding: 16px;
    border-top: 1px solid var(--border);
}

/* Brand */
.dsk-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.dsk-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.dsk-brand-info {
    min-width: 0;
}

.dsk-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dsk-brand-status {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.dsk-brand-status.dsk-open { color: #16a34a; }
.dsk-brand-status.dsk-closed { color: var(--primary); }

.dsk-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dsk-open .dsk-status-dot { background: #16a34a; }
.dsk-closed .dsk-status-dot { background: var(--primary); }

.dsk-status-sub {
    color: var(--text-muted);
    font-weight: 400;
}

/* Navigation */
.dsk-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dsk-cat-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    padding: 16px 4px 8px;
}

.dsk-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.dsk-nav-item:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.dsk-nav-item.active {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.dsk-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.dsk-cart-badge {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.dsk-nav-item.active .dsk-cart-badge {
    background: #fff;
    color: var(--primary);
}

.dsk-nav-cats {
    max-height: calc(100vh - 420px);
    overflow-y: auto;
}

.dsk-nav-cats::-webkit-scrollbar { width: 4px; }
.dsk-nav-cats::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Cart Summary */
.dsk-cart-summary {
    background: var(--bg-input);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 12px;
}

.dsk-cart-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.dsk-cart-info i {
    color: var(--primary);
    font-size: 16px;
}

.dsk-cart-info strong {
    margin-left: auto;
    color: var(--text-primary);
    font-size: 14px;
}

.dsk-cart-minimo-sidebar {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4px;
}

.dsk-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition);
}

.dsk-btn-cart:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.25);
}

.dsk-btn-finalizar-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
}

.dsk-btn-finalizar-sidebar:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.25);
}

/* Dark mode toggle */
.dsk-btn-dark {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    margin-bottom: 8px;
}

.dsk-btn-dark:hover { background: var(--bg-input); color: var(--text-primary); }
.dsk-btn-dark i { font-size: 15px; width: 20px; text-align: center; }

.dsk-footer-credit {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding-top: 4px;
}

.dsk-footer-credit a {
    color: var(--primary);
    font-weight: 500;
}

.dsk-footer-credit a:hover { text-decoration: underline; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.dsk-main {
    flex: 1;
    min-width: 0;
    padding: 28px 32px;
    overflow-y: auto;
    max-height: 100vh;
}

/* ============================================================
   INDEX — CATEGORY GRID
   ============================================================ */
.dsk-page-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dsk-page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Banners */
.dsk-banners {
    margin-bottom: 28px;
}

.dsk-banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 500px));
    gap: 16px;
    justify-content: center;
}

.dsk-banner-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.dsk-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dsk-banner-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Category Grid */
.dsk-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dsk-section-title i {
    color: var(--primary);
}

.dsk-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.dsk-cat-card {
    position: relative;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dsk-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.dsk-cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.dsk-cat-card:hover .dsk-cat-bg { transform: scale(1.08); }

.dsk-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
}

.dsk-cat-name {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    width: 100%;
}

/* ============================================================
   PRODUTOS — PRODUCT LIST
   ============================================================ */
.dsk-prod-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.dsk-prod-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.dsk-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    align-self: flex-start;
}

.dsk-back-link:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.25);
}

.dsk-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 16px;
}

.dsk-prod-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
}

.dsk-prod-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dsk-prod-img-wrap {
    width: 130px;
    min-width: 130px;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dsk-prod-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.dsk-prod-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dsk-prod-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.dsk-prod-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}

.dsk-prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.dsk-prod-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.dsk-prod-price-from {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.dsk-prod-price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.dsk-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.4px;
}

.dsk-badge-promo { background: var(--primary); color: #fff; }
.dsk-badge-combo { background: #8b5cf6; color: #fff; }
.dsk-badge-destaque { background: #f59e0b; color: #1a1d23; }

/* ============================================================
   DETALHES — PRODUCT DETAIL
   ============================================================ */
.dsk-detail-layout {
    display: flex;
    gap: 28px;
    max-width: 1100px;
}

.dsk-detail-img-area {
    width: 400px;
    min-width: 320px;
    flex-shrink: 0;
}

.dsk-detail-img-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.dsk-detail-img-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    padding: 20px;
    background: var(--bg-input);
}

.dsk-detail-content {
    flex: 1;
    min-width: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.dsk-detail-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.dsk-detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dsk-detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.dsk-detail-price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.dsk-detail-price-from {
    font-size: 16px;
    color: var(--text-secondary);
}

.dsk-detail-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Grades */
.dsk-grade-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.dsk-grade-section:last-child { border-bottom: none; }

.dsk-grade-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dsk-grade-label i { color: var(--primary); }

.dsk-grade-required {
    font-size: 10px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.dsk-grade-max {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.dsk-adicionais-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dsk-adicional-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.dsk-adicional-item:hover {
    border-color: var(--primary);
    background: var(--bg-card);
}

.dsk-adicional-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.dsk-adicional-nome {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.dsk-adicional-preco {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* Custom checkmark/radio for grades */
.dsk-adicional-check {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.dsk-adicional-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.dsk-checkmark {
    position: absolute;
    top: 0; left: 0;
    width: 22px; height: 22px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: all var(--transition);
}

.dsk-checkmark-radio { border-radius: 50%; }

.dsk-adicional-check input:checked ~ .dsk-checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.dsk-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dsk-checkmark-radio::after {
    left: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: none;
    transform: none;
}

.dsk-adicional-check input:checked ~ .dsk-checkmark::after { display: block; }

/* Qty Mini Controls */
.dsk-qty-mini {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dsk-btn-qty-mini {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 6px;
    color: var(--primary);
    font-size: 12px;
    transition: background var(--transition);
}

.dsk-btn-qty-mini:hover { background: var(--border-light); }

.dsk-input-qty-mini {
    width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    border: none;
    background: transparent;
    color: var(--text-primary);
}

/* Detail Actions */
.dsk-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.dsk-qty-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.dsk-btn-qty {
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.dsk-btn-qty:hover { background: var(--border-light); }

.dsk-qty-display {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    font-size: 15px;
    color: var(--text-primary);
}

.dsk-btn-add-cart {
    flex: 1;
    max-width: 360px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--transition);
}

.dsk-btn-add-cart:hover { background: var(--primary-hover); }

.dsk-btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   CARRINHO / SACOLA
   ============================================================ */
.dsk-cart-page {
    width: 100%;
}

.dsk-cart-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.dsk-cart-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dsk-cart-title i { color: var(--primary); font-size: 18px; }

.dsk-cart-count {
    font-size: 11px;
    font-weight: 600;
    background: var(--bg-input);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 999px;
}

.dsk-cart-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .dsk-cart-list { grid-template-columns: 1fr; }
}

.dsk-cart-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    gap: 12px;
    padding: 12px;
}

.dsk-cart-item-img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsk-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.dsk-cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dsk-cart-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.dsk-cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    line-height: 1.25;
}

.dsk-cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.dsk-cart-item-grades {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.dsk-cart-item-grades span {
    background: var(--bg-input);
    padding: 1px 6px;
    border-radius: 3px;
}

.dsk-cart-item-grades strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.dsk-cart-item-obs {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

.dsk-cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dsk-cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dsk-cart-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 11px;
    transition: all var(--transition);
}

.dsk-cart-qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

.dsk-cart-qty-count {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
    padding: 2px 6px;
    background: var(--bg-input);
    border-radius: 6px;
}

.dsk-cart-remove-btn {
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all var(--transition);
}

.dsk-cart-remove-btn:hover {
    background: rgba(234,29,44,0.08);
    color: var(--primary);
}

/* Summary Bar */
.dsk-cart-summary-bar {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    bottom: 12px;
}

.dsk-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dsk-cart-total-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.dsk-cart-total-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.dsk-cart-minimo {
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    margin-top: -8px;
}

.dsk-btn-finalizar {
    width: 100%;
    padding: 14px;
    background: #16a34a;
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
}

.dsk-btn-finalizar:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.25);
}

.dsk-btn-finalizar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Empty State */
.dsk-cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.dsk-cart-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-input);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsk-cart-empty-icon i {
    font-size: 32px;
    color: var(--text-muted);
}

.dsk-cart-empty h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dsk-cart-empty p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.dsk-btn-cart-empty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition);
}

.dsk-btn-cart-empty:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(234,29,44,0.2);
}

/* ============================================================
   FINALIZAR PEDIDO
   ============================================================ */
.dsk-checkout-page {
    max-width: 700px;
}

.dsk-checkout-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.dsk-checkout-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.dsk-checkout-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.dsk-checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dsk-checkout-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}

.dsk-checkout-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234,29,44,0.1);
}

.dsk-checkout-radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dsk-checkout-radio {
    flex: 1;
    min-width: 140px;
}

.dsk-checkout-radio input { display: none; }

.dsk-checkout-radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.dsk-checkout-radio input:checked + .dsk-checkout-radio-label {
    border-color: var(--primary);
    background: rgba(234,29,44,0.05);
    color: var(--primary);
}

.dsk-checkout-radio-label:hover { border-color: var(--primary); }

.dsk-btn-submit {
    width: 100%;
    padding: 16px;
    background: #16a34a;
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    transition: all var(--transition);
}

.dsk-btn-submit:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

/* ============================================================
   LOADING / INFINITE SCROLL
   ============================================================ */
.dsk-loading {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: 14px;
}

.dsk-loading i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    animation: dsk-spin 0.8s linear infinite;
}

@keyframes dsk-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.dsk-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.dsk-empty i {
    font-size: 48px;
    opacity: 0.2;
    margin-bottom: 12px;
}

.dsk-empty p {
    font-size: 15px;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
.dsk-main::-webkit-scrollbar,
.dsk-sidebar::-webkit-scrollbar { width: 6px; }

.dsk-main::-webkit-scrollbar-track,
.dsk-sidebar::-webkit-scrollbar-track { background: transparent; }

.dsk-main::-webkit-scrollbar-thumb,
.dsk-sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ============================================================
   RESPONSIVE FALLBACK (telas muito pequenas)
   ============================================================ */
@media (max-width: 1024px) {
    .dsk-sidebar { width: 240px; min-width: 240px; }
    .dsk-cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .dsk-prod-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .dsk-prod-card { flex-direction: column; }
    .dsk-prod-img-wrap { width: 100%; min-width: auto; height: 180px; }
    .dsk-prod-img { aspect-ratio: auto; object-fit: contain; padding: 12px; }
    .dsk-detail-layout { flex-direction: column; }
    .dsk-detail-img-area { width: 100%; min-width: auto; }
    .dsk-detail-img-card { position: static; }
    .dsk-detail-img-card img { height: 250px; }
}

/* ============================================================
   DESKTOP OVERRIDES: Detalhes (mobile classes → desktop)
   ============================================================ */
.desktop-layout .custom-alert-overlay,
.desktop-layout .custom-alert {
    display: none !important;
}

.desktop-layout .details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.desktop-layout .details-img-area {
    width: 100%;
    flex-shrink: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-bottom: none;
    position: relative;
}

.desktop-layout .details-img-full {
    width: 100%;
    height: 340px;
    object-fit: contain;
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-input) 0%, color-mix(in srgb, var(--bg-input) 60%, var(--primary) 2%) 100%);
}

.desktop-layout .details-content-area {
    flex: 1;
    min-width: 0;
    background: var(--bg-card);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 24px 28px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-top: none;
}

.desktop-layout .dsk-back-link {
    margin-bottom: 14px;
}

.dsk-back-float {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all var(--transition);
}

.dsk-back-float:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.25);
}

.desktop-layout .det-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 10px;
}

.desktop-layout .det-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

.desktop-layout .det-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.desktop-layout .det-price-old {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.desktop-layout .badge-mini {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.desktop-layout .bg-promo { background: var(--primary); color: #fff; }

.desktop-layout .det-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.desktop-layout .det-actions-bar {
    position: sticky;
    bottom: 0;
    padding: 16px 20px;
    margin-top: 24px;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    z-index: 10;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.desktop-layout .det-section {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.desktop-layout .det-section:last-child { border-bottom: none; }

.desktop-layout .det-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.desktop-layout .det-label i { color: var(--primary); font-size: 13px; }

.desktop-layout .item-adicional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    min-height: 44px;
}

.desktop-layout .item-adicional:hover {
    border-color: var(--primary);
    background: var(--bg-card);
}

.desktop-layout .adic-info:not(.tem-descricao) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.desktop-layout .adic-nome {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.desktop-layout .adic-preco {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Grid para itens com descrição (nome+preço na 1ª linha, descrição na 2ª) */
body.desktop-layout .adic-info.tem-descricao {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    align-items: start;
    flex: 1 1 auto;
    min-width: 0;
}
body.desktop-layout .adic-info.tem-descricao .adic-nome {
    grid-column: 1;
    grid-row: 1;
    flex: none !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word;
}
body.desktop-layout .adic-info.tem-descricao .adic-preco {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
}
body.desktop-layout .adic-info.tem-descricao .adic-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.78rem;
    color: #888;
    line-height: 1.3;
}

/* Alinhar radio/checkbox ao topo quando tem descrição */
body.desktop-layout .item-adicional.tem-descricao {
    align-items: flex-start !important;
}

/* Dark mode — descrições */
body.dark-mode.desktop-layout .adic-info.tem-descricao .adic-nome {
    color: #e0e0e0 !important;
}
body.dark-mode.desktop-layout .adic-info.tem-descricao .adic-desc {
    color: #888 !important;
}

.desktop-layout .grade-badge-min {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.desktop-layout .grade-badge-max {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--bg-input);
    color: var(--text-muted);
}

.desktop-layout .det-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
    transition: border-color var(--transition);
}

.desktop-layout .det-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234,29,44,0.08);
}

.desktop-layout .qty-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 3px;
    height: 44px;
}

.desktop-layout .btn-qty {
    width: 34px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: background var(--transition);
}

.desktop-layout .btn-qty:hover { background: var(--border-light); }

.desktop-layout #qtd-display {
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    font-size: 15px;
    color: var(--text-primary);
}

.desktop-layout .qty-mini-control {
    display: flex;
    align-items: center;
    gap: 1px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 7px;
    padding: 1px;
    min-width: 82px;
    height: 30px;
    flex-shrink: 0;
}

.desktop-layout .btn-qty-mini {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.desktop-layout .btn-qty-mini:hover { background: #f0f2f5; }
.desktop-layout .btn-qty-mini:active { transform: scale(0.9); }

.desktop-layout .input-qty-mini {
    width: 24px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 0.8rem;
    color: #2d3436;
    flex-shrink: 0;
}

.desktop-layout .btn-add-cart {
    flex: 1;
    max-width: 360px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background var(--transition);
}

.desktop-layout .btn-add-cart:hover { background: var(--primary-hover); }
.desktop-layout .btn-add-cart:disabled { opacity: 0.5; cursor: not-allowed; }

.desktop-layout .btn-price-tot {
    font-weight: 800;
    font-size: 15px;
}

.desktop-layout .btn-text {
    font-weight: 700;
}

.desktop-layout .qty-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.desktop-layout .btn-qty {
    width: 36px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
}

.desktop-layout .btn-qty:hover { background: var(--border-light); }

.desktop-layout #qtd-display {
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    font-size: 16px;
    color: var(--text-primary);
}

.desktop-layout .det-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
}

.desktop-layout .det-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.desktop-layout .badge-mini {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.desktop-layout .bg-promo { background: var(--primary); color: #fff; }

.desktop-layout .grade-badge-min,
.desktop-layout .grade-badge-max {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
}

.desktop-layout .grade-badge-min { background: var(--primary); color: #fff; }
.desktop-layout .grade-badge-max { background: var(--bg-input); color: var(--text-muted); }

.desktop-layout .adic-check {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

/* Esconder checkmark para grades sem quantidade — destaque no card */
.desktop-layout .det-section:not([data-grade-tipo="Múltiplo"]) .adic-check {
    display: none;
}

.desktop-layout .det-section:not([data-grade-tipo="Múltiplo"]) .item-adicional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    min-height: 44px;
}

.desktop-layout .det-section:not([data-grade-tipo="Múltiplo"]) .item-adicional:has(input:checked) {
    border-color: var(--primary) !important;
    background: color-mix(in srgb, var(--primary) 6%, transparent) !important;
    border-left-color: var(--primary) !important;
    box-shadow: inset 0 0 0 1px var(--primary);
}

/* Múltiplo mantém controles de quantidade */
.desktop-layout .det-section[data-grade-tipo="Múltiplo"] .adic-check {
    width: auto;
    height: auto;
}

/* Borda neutra para itens não selecionados (Múltiplo e Combo) */
.desktop-layout .det-section[data-grade-tipo="Múltiplo"] .item-adicional,
.desktop-layout .combo-section .item-adicional {
    display: flex;
    align-items: center;
    gap: 8px;
    border-color: var(--border);
    border-left: 3px solid color-mix(in srgb, var(--primary) 50%, transparent);
}

/* Destaque para itens Múltiplo com quantidade > 0 */
.desktop-layout .det-section[data-grade-tipo="Múltiplo"] .item-adicional.qty-active {
    border-color: var(--primary) !important;
    background: color-mix(in srgb, var(--primary) 6%, transparent) !important;
    border-left-color: var(--primary) !important;
    box-shadow: inset 0 0 0 1px var(--primary);
}

/* Destaque para itens Combo Múltiplo com quantidade > 0 */
.desktop-layout .combo-section .item-adicional.qty-active {
    border-color: var(--primary) !important;
    background: color-mix(in srgb, var(--primary) 6%, transparent) !important;
    border-left-color: var(--primary) !important;
    box-shadow: inset 0 0 0 1px var(--primary);
}

.desktop-layout .adicionais-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 8px;
}

.desktop-layout .checkmark,
.desktop-layout .checkmark-radio {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    background-color: var(--bg-card);
    border-radius: 6px;
    transition: all 0.15s ease;
}

.desktop-layout .checkmark-radio { border-radius: 50%; }

.desktop-layout input:checked + .checkmark,
.desktop-layout input:checked + .checkmark-radio {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(0.92);
}

.desktop-layout input:checked + .checkmark {
    transform: none;
}

.desktop-layout .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.desktop-layout input:checked + .checkmark::after { display: block; }

.desktop-layout .checkmark-radio::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.desktop-layout input:checked + .checkmark-radio::after { display: block; }

.desktop-layout .adic-check input[type="checkbox"],
.desktop-layout .adic-check input[type="radio"] {
    cursor: pointer;
}

.desktop-layout .combo-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.desktop-layout .combo-badge-req,
.desktop-layout .combo-badge-opt {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
}

.desktop-layout .combo-badge-req { background: var(--primary); color: #fff; }
.desktop-layout .combo-badge-opt { background: var(--bg-input); color: var(--text-muted); }

.desktop-layout .det-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.desktop-layout .det-price-old {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.desktop-layout .btn-qty-mini {
    color: var(--primary);
}

.desktop-layout .input-qty-mini {
    color: #2d3436;
}

/* ============================================================
   DESKTOP OVERRIDES: Produtos (mobile classes → desktop)
   ============================================================ */

/* ============================================================
   DESKTOP OVERRIDES: Finalizar (Bootstrap dentro do desktop)
   ============================================================ */
.desktop-layout .main-container {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.desktop-layout .page-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: static;
    gap: 12px;
}

.desktop-layout .page-header .header-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.desktop-layout .page-header .btn-icon-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transition: all var(--transition);
}
.desktop-layout .page-header .btn-icon-back:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.desktop-layout #loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 20000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.desktop-layout #loading-overlay.dsk-active { display: flex; }
.desktop-layout #loading-overlay .spinner-border { color: #fff !important; }
.desktop-layout #loading-overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 16px;
}

.desktop-layout .ifood-header {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: static;
}

.desktop-layout .accordion-button {
    font-weight: 700;
    background: var(--bg-card) !important;
    color: var(--text-primary);
    font-size: 0.95rem;
    box-shadow: none !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    padding: 14px 16px;
}
.desktop-layout .accordion-button:not(.collapsed) {
    color: var(--primary) !important;
    background: var(--bg-card) !important;
    border-bottom-color: var(--border) !important;
}
.desktop-layout .accordion-button::after { display: none; }
.desktop-layout .accordion-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 20px;
}
.desktop-layout .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 10px;
}

.desktop-layout .input-moderno {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 14px;
    transition: border-color var(--transition);
}
.desktop-layout .input-moderno:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(234,29,44,0.1);
}

.desktop-layout .container {
    max-width: 100% !important;
}

/* Cards e list groups */
.desktop-layout .card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.desktop-layout .card-retirada-modern {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
}

.desktop-layout .list-group-item {
    background: var(--bg-card) !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
    padding: 14px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
}
.desktop-layout .list-group-item:hover {
    background: var(--bg-input) !important;
    border-color: var(--primary) !important;
}
.desktop-layout .list-group-item.active-mode {
    background: rgba(234,29,44,0.04) !important;
    border-color: var(--primary) !important;
    border-left: 3px solid var(--primary);
}

/* Form controls */
.desktop-layout .form-check-input {
    width: 18px;
    height: 18px;
    border-color: var(--border);
    cursor: pointer;
}
.desktop-layout .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.desktop-layout .form-check-label {
    font-size: 14px;
    color: var(--text-primary);
}

/* Labels */
.desktop-layout .small.fw-bold.text-muted {
    display: block;
    color: var(--text-secondary) !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    margin-left: 2px;
}

/* Badges */
.desktop-layout .badge.bg-success {
    background: var(--primary) !important;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
}

/* Botões step */
.desktop-layout .btn-step {
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.desktop-layout .btn-step:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.2);
}
.desktop-layout .btn-step.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Botão finalizar */
.desktop-layout .btn-success.shadow {
    background: var(--primary) !important;
    border: none !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(234,29,44,0.2) !important;
    transition: all var(--transition);
}
.desktop-layout .btn-success.shadow:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234,29,44,0.3) !important;
}

/* Select2 */
.desktop-layout .select2-container--default .select2-selection--single {
    height: 44px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border) !important;
    background: var(--bg-input) !important;
}
.desktop-layout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
    padding-left: 14px !important;
    color: var(--text-primary);
}
.desktop-layout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 10px !important;
}
.desktop-layout .select2-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.desktop-layout .select2-results__option {
    color: var(--text-primary);
    padding: 8px 14px;
}
.desktop-layout .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary) !important;
    color: #fff !important;
}

/* Divisores de valores */
.desktop-layout .d-flex.justify-content-between {
    font-size: 14px;
    color: var(--text-primary);
}
.desktop-layout .d-flex.justify-content-between .text-danger {
    color: var(--primary) !important;
}
.desktop-layout .d-flex.justify-content-between .text-success {
    color: #16a34a !important;
}

/* Mapa Leaflet */
.desktop-layout #leafletMap {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* Titulos */
.desktop-layout .titulo-carrinho {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}
.desktop-layout .btn-voltar-compacto {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
}
.desktop-layout .btn-voltar-compacto:hover { color: var(--primary); }

/* Formulário de endereço */
.desktop-layout #area-endereco {
    margin-top: 8px;
}

.desktop-layout #campos-endereco .input-moderno {
    padding: 12px 14px;
    font-size: 14px;
    height: 46px;
    width: 100%;
    box-sizing: border-box;
}

.desktop-layout #campos-endereco .input-moderno::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.desktop-layout #campos-endereco .row.g-2 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.75rem;
}

.desktop-layout #campos-endereco .mb-3 {
    margin-bottom: 0.75rem !important;
}

.desktop-layout #cep,
.desktop-layout #cidade {
    background: var(--border-light);
    color: var(--text-muted);
    cursor: default;
}

.desktop-layout #rua {
    font-weight: 500;
}

.desktop-layout #numero {
    width: 100%;
    max-width: none;
}

.desktop-layout #campos-endereco .row .col-3 {
    flex: 0 0 130px;
    max-width: 130px;
}

.desktop-layout #campos-endereco .row .col-9 {
    flex: 1 1 auto;
    max-width: none;
}

.desktop-layout #complemento {
    margin-bottom: 0.5rem !important;
}

.desktop-layout #ponto_referencia {
    font-size: 13px;
}

/* Select2 dentro do endereço */
.desktop-layout #campos-endereco .select2-container {
    width: 100% !important;
}

.desktop-layout #campos-endereco .select2-container--default .select2-selection--single {
    height: 46px !important;
}

.desktop-layout #campos-endereco .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
}

/* ============================================================
   DESKTOP OVERRIDES: Pizza (mobile classes → desktop)
   ============================================================ */
.desktop-layout .section-label {
    font-weight: 700;
    color: var(--text-primary);
    margin: 16px 0 8px;
    font-size: 15px;
}

.desktop-layout .bloqueado-step {
    opacity: 0.5;
    pointer-events: none;
}

.desktop-layout .selectable-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    margin-bottom: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-primary);
}

.desktop-layout .selectable-item strong { color: var(--text-primary); }
.desktop-layout .selectable-item:hover { border-color: var(--primary); }
.desktop-layout .selectable-item input[type="radio"],
.desktop-layout .selectable-item input[type="checkbox"] {
    accent-color: var(--primary);
    width: 20px;
    height: 20px;
}

.desktop-layout .product-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    transition: all var(--transition);
}

.desktop-layout .product-card:hover { border-color: var(--primary); }
.desktop-layout .product-card.selected {
    border-color: var(--primary);
    background: rgba(234,29,44,0.03);
    box-shadow: inset 0 0 0 2px var(--primary);
}

.desktop-layout .product-info { flex: 1; min-width: 0; }
.desktop-layout .product-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-primary);
}
.desktop-layout .product-desc {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.desktop-layout .product-price-label {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.desktop-layout .product-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
}

.desktop-layout .obs-label {
    font-weight: 700;
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.desktop-layout .obs-textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    resize: none;
    font-size: 14px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
}

.desktop-layout .obs-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.desktop-layout .footer-fixed {
    position: sticky;
    bottom: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 14px 0;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 50;
}

.desktop-layout .qty-control,
.desktop-layout .qty-control-main {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
}

.desktop-layout .qty-num,
.desktop-layout .qty-val-main {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    border: none;
    background: transparent;
}

.desktop-layout .btn-qty-main,
.desktop-layout .btn-qty {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    cursor: pointer;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.desktop-layout .btn-qty-main:hover,
.desktop-layout .btn-qty:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.desktop-layout .btn-submit {
    flex: 1;
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition);
}

.desktop-layout .btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234,29,44,0.25);
}

.desktop-layout .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================================
   LOADING / INFINITE SCROLL
   ============================================================ */
.dsk-loading {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: 14px;
}

.dsk-loading i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    animation: dsk-spin 0.8s linear infinite;
}

@keyframes dsk-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.dsk-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.dsk-empty i {
    font-size: 48px;
    opacity: 0.2;
    margin-bottom: 12px;
}

.dsk-empty p {
    font-size: 15px;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
.dsk-main::-webkit-scrollbar,
.dsk-sidebar::-webkit-scrollbar { width: 6px; }

.dsk-main::-webkit-scrollbar-track,
.dsk-sidebar::-webkit-scrollbar-track { background: transparent; }

.dsk-main::-webkit-scrollbar-thumb,
.dsk-sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ============================================================
   RESPONSIVE FALLBACK
   ============================================================ */
@media (max-width: 1024px) {
    .dsk-sidebar { width: 240px; min-width: 240px; }
    .dsk-cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .dsk-prod-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .dsk-prod-card { flex-direction: column; }
    .dsk-prod-img-wrap { width: 100%; min-width: auto; height: 180px; }
    .dsk-prod-img { aspect-ratio: auto; object-fit: contain; padding: 12px; }
    .dsk-detail-layout { flex-direction: column; }
    .dsk-detail-img-area { width: 100%; min-width: auto; }
    .dsk-detail-img-card { position: static; }
    .dsk-detail-img-card img { height: 250px; }
    .desktop-layout .details-img-area { width: 100%; min-width: auto; position: static; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .desktop-layout .details-img-full { height: 220px; }
    .desktop-layout .details-content-area { padding: 16px 18px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .dsk-cart-item { flex-direction: column; }
    .dsk-cart-item-img { width: 100%; height: 140px; min-width: auto; }
    .dsk-cart-item-img img { object-fit: cover; }
}

/* ============================================================
   MODAL MAIS INFORMAÇÕES
   ============================================================ */
.dsk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dsk-modal-overlay.dsk-active {
    opacity: 1;
    pointer-events: auto;
}

.dsk-modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 440px;
    max-width: 92vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.dsk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-light);
}

.dsk-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.dsk-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 22px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}

.dsk-modal-close:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.dsk-modal-body {
    padding: 20px 24px;
}

.dsk-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.dsk-info-row i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dsk-info-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dsk-btn-whats,
.dsk-btn-insta {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: opacity var(--transition);
}

.dsk-btn-whats { background: #25d366; }
.dsk-btn-insta { background: #e1306c; }
.dsk-btn-whats:hover,
.dsk-btn-insta:hover { opacity: 0.9; }

.dsk-info-version {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dsk-info-version i {
    color: var(--primary);
    font-size: 14px;
}

.dsk-hours-block {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: 4px;
}

.dsk-hours-block h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.dsk-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dsk-hours-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    background: var(--bg-input);
}

.dsk-hours-list li.dsk-today {
    background: rgba(234,29,44,0.08);
    border: 1px solid rgba(234,29,44,0.2);
}

.dsk-day-name {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dsk-day-time {
    font-weight: 500;
    color: var(--text-secondary);
}

.dsk-badge-especial {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.dsk-badge-especial i { font-size: 9px; }

/* ============================================================
   ALERTA CUSTOMIZADO
   ============================================================ */
.dsk-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.dsk-alert-overlay.dsk-active { opacity: 1; pointer-events: auto; }

.dsk-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-lg);
    z-index: 20001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 300px;
    max-width: 92vw;
}
.dsk-alert.dsk-active { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.dsk-alert-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.dsk-alert-icon i { color: #fff; font-size: 24px; }

.dsk-alert-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.dsk-alert-message { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; }

.dsk-alert-actions { display: flex; gap: 12px; justify-content: center; }
.dsk-alert-btn-confirm,
.dsk-alert-btn-cancel {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity var(--transition);
}
.dsk-alert-btn-confirm { background: var(--primary); color: #fff; min-width: 120px; }
.dsk-alert-btn-cancel { background: var(--bg-input); color: var(--text-secondary); min-width: 100px; }
.dsk-alert-btn-confirm:hover,
.dsk-alert-btn-cancel:hover { opacity: 0.9; }
