/* =====================================================================
   Basilissa desktop redesign
   Linked with media="(min-width: 769px)", so phones never load this file
   and the mobile view stays exactly as styles.css draws it.
   ===================================================================== */

:root {
    --dk-yellow: #F6D401;
    --dk-yellow-dark: #E2C200;
    --dk-yellow-soft: #FFF7C2;
    --dk-blue: #5BBDE4;
    --dk-ink: #1A1A1A;
    --dk-ink-2: #3D3D3D;
    --dk-muted: #8A8A8A;
    --dk-line: #ECEAE4;
    --dk-cream: #F7F4EC;
    --dk-surface: #FFFFFF;
    --dk-radius: 16px;
    --dk-shadow: 0 1px 2px rgba(26, 26, 26, 0.04), 0 6px 20px -12px rgba(26, 26, 26, 0.18);
    --dk-shadow-lift: 0 18px 36px -18px rgba(26, 26, 26, 0.35);
    --dk-display: 'Alfa Slab One', Georgia, serif;
    --dk-body: 'Plus Jakarta Sans', Arial, sans-serif;
}

/* ---------- Swap the old desktop chrome for the new layout ---------- */
/* Every redesigned page has <body class="dk-page ...">; the old header,
   nav and footer give way to the shared ones from js/site-shell.js. */
body.dk-page { background: var(--dk-cream); }
body.dk-page .top-header,
body.dk-page .main-nav,
body.dk-page > .footer { display: none !important; }

/* Page-specific old sections */
body.dk-menu-page .page-header,
body.dk-menu-page .menu-filter,
body.dk-menu-page .menu-page-items,
body.dk-item-page .breadcrumb,
body.dk-item-page .item-details,
body.dk-item-page .related-items { display: none !important; }

.dk-only { display: block; font-family: var(--dk-body); color: var(--dk-ink); -webkit-font-smoothing: antialiased; }
.dk-only[hidden], .dk-only [hidden] { display: none !important; }
.dk-only *, .dk-only *::before, .dk-only *::after { box-sizing: border-box; }
.dk-only a { color: inherit; text-decoration: none; }
.dk-only button, .dk-only input, .dk-only select { font-family: inherit; }

.dk-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.dk-header { position: sticky; top: 0; z-index: 900; background: var(--dk-surface); border-bottom: 1px solid var(--dk-line); }
.dk-header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.dk-logo img { display: block; height: 30px; width: auto; }
.dk-nav { display: flex; gap: 30px; margin: 0 auto; }
.dk-nav a { position: relative; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--dk-muted); transition: color 0.2s; }
.dk-nav a:hover { color: var(--dk-ink); }
.dk-nav a.active { color: var(--dk-ink); font-weight: 700; }
.dk-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--dk-yellow); }
.dk-header-actions { display: flex; align-items: center; gap: 10px; }
.dk-circle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--dk-line); border-radius: 50%; background: var(--dk-surface); color: var(--dk-ink); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.dk-circle:hover { background: var(--dk-cream); border-color: #DDD8CC; }
.dk-cart-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--dk-surface); }
.dk-cart-badge[hidden] { display: none; }
.dk-btn-primary { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 30px; margin-left: 6px; border: none; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink) !important; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.dk-btn-primary:hover { background: var(--dk-yellow-dark); transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(160, 130, 0, 0.8); }

/* ---------- Title band ---------- */
.dk-band { background: var(--dk-cream); }
.dk-band-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 30px; padding-bottom: 40px; }
.dk-crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: 12.5px; color: var(--dk-muted); }
.dk-crumbs a:hover { color: var(--dk-ink); }
.dk-crumbs strong { color: var(--dk-ink); font-weight: 700; }
.dk-title { margin: 0; font-family: var(--dk-display); font-size: 44px; font-weight: 400; line-height: 1.05; letter-spacing: 0.005em; }
.dk-subtitle { margin: 10px 0 0; font-size: 14px; color: var(--dk-muted); }
.dk-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; height: 52px; padding: 0 6px 0 18px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); box-shadow: var(--dk-shadow); color: var(--dk-muted); }
.dk-search:focus-within { border-color: var(--dk-ink); box-shadow: 0 0 0 4px rgba(246, 212, 1, 0.35); }
.dk-search input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-size: 14px; color: var(--dk-ink); }
.dk-search input::-webkit-search-cancel-button { cursor: pointer; }
.dk-search button { height: 40px; padding: 0 22px; border: none; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.dk-search button:hover { background: var(--dk-yellow-dark); }

/* ---------- Shop: filters + results ---------- */
.dk-shop { padding: 8px 0 72px; background: linear-gradient(var(--dk-cream) 0, #FBFAF6 220px); }
.dk-shop-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }

.dk-filters { position: sticky; top: 96px; padding: 22px 20px 10px; border: 1px solid var(--dk-line); border-radius: var(--dk-radius); background: var(--dk-surface); box-shadow: var(--dk-shadow); max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
.dk-filters-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--dk-line); }
.dk-filters-head h2 { margin: 0; font-family: var(--dk-display); font-size: 19px; font-weight: 400; }
.dk-filters-head button { padding: 0; border: none; background: none; font-size: 12px; color: var(--dk-muted); cursor: pointer; }
.dk-filters-head button:hover { color: var(--dk-ink); text-decoration: underline; }
.dk-filter-group { padding: 18px 0; border-bottom: 1px solid var(--dk-line); }
.dk-filter-group:last-child { border-bottom: none; }
.dk-filter-group h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; }
.dk-checks { display: flex; flex-direction: column; gap: 10px; }
.dk-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dk-ink-2); cursor: pointer; }
.dk-check input { flex-shrink: 0; width: 16px; height: 16px; margin: 0; accent-color: var(--dk-yellow); cursor: pointer; }
.dk-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; border: 1.5px solid #CFCBC0; border-radius: 4px; background: var(--dk-surface); display: inline-grid; place-content: center; transition: background 0.15s, border-color 0.15s; }
.dk-check input[type="checkbox"]::before { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid var(--dk-ink); border-bottom: 2px solid var(--dk-ink); transform: rotate(-45deg) scale(0); transition: transform 0.12s; }
.dk-check input[type="checkbox"]:checked { background: var(--dk-yellow); border-color: var(--dk-yellow); }
.dk-check input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }
.dk-check input:focus-visible { outline: 2px solid var(--dk-ink); outline-offset: 2px; }
.dk-check span { flex: 1; min-width: 0; line-height: 1.35; }
.dk-check small { margin-left: auto; font-size: 11.5px; color: var(--dk-muted); }
.dk-check .dk-count-pill { flex: none; font-size: 11px; font-style: normal; color: var(--dk-muted); }
.dk-stars { flex: none !important; color: var(--dk-yellow); letter-spacing: 2px; font-size: 13px; }
.dk-stars i { font-style: normal; color: #E3E0D8; }

.dk-range { position: relative; height: 24px; margin: 0 4px; }
.dk-range-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--dk-line); }
.dk-range-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--dk-yellow); }
.dk-range input[type="range"] { position: absolute; left: -8px; right: -8px; top: 0; width: calc(100% + 16px); height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dk-range input[type="range"]::-webkit-slider-runnable-track { background: none; border: none; }
.dk-range input[type="range"]::-moz-range-track { background: none; border: none; }
.dk-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border: 2px solid var(--dk-ink); border-radius: 50%; background: var(--dk-surface); pointer-events: auto; cursor: grab; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.dk-range input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--dk-ink); border-radius: 50%; background: var(--dk-surface); pointer-events: auto; cursor: grab; }
.dk-range input[type="range"]:focus { outline: none; }
.dk-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(246, 212, 1, 0.5); }
.dk-range-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--dk-muted); }

.dk-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; min-height: 44px; }
.dk-results-head p { margin: 0; font-size: 14px; color: var(--dk-ink-2); }
.dk-results-head strong { color: var(--dk-ink); }
.dk-sort { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); font-size: 12.5px; color: var(--dk-muted); cursor: pointer; }
.dk-sort select { border: none; outline: none; background: transparent; font-size: 12.5px; font-weight: 700; color: var(--dk-ink); cursor: pointer; }

/* ---------- Product cards ---------- */
.dk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dk-card { position: relative; display: flex; flex-direction: column; padding: 10px 10px 14px; border: 1px solid var(--dk-line); border-radius: var(--dk-radius); background: var(--dk-surface); cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; animation: dk-in 0.35s ease both; }
.dk-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--dk-shadow-lift); }
.dk-card.unavailable { cursor: default; }
.dk-card.unavailable .dk-card-media img { filter: grayscale(0.85); opacity: 0.65; }
.dk-card-media { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--dk-cream); }
.dk-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.dk-card:hover .dk-card-media img { transform: scale(1.05); }
.dk-card-media .dk-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #CFC9B8; }
.dk-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.dk-badge.new { background: var(--dk-ink); color: var(--dk-yellow); }
.dk-badge.off { background: #FDECEC; color: #C62828; }
.dk-heart { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--dk-ink); cursor: pointer; transition: transform 0.2s, color 0.2s; }
.dk-heart:hover { transform: scale(1.1); }
.dk-heart.on { color: var(--dk-yellow); }
.dk-heart.on svg { fill: var(--dk-yellow); stroke: var(--dk-yellow-dark); }
.dk-card-body { display: flex; flex: 1; flex-direction: column; padding: 12px 4px 0; }
.dk-card-body h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-card-desc { margin: 4px 0 0; font-size: 12px; color: var(--dk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--dk-muted); }
.dk-meta span { display: inline-flex; align-items: center; gap: 4px; }
.dk-meta b { color: var(--dk-ink); font-weight: 700; }
.dk-meta .star { color: var(--dk-yellow); font-size: 13px; }
.dk-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.dk-price { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.dk-price small { margin-right: 3px; font-size: 11px; font-weight: 700; color: var(--dk-muted); }
.dk-add { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: none; border-radius: 50%; background: var(--dk-yellow); color: var(--dk-ink); cursor: pointer; transition: transform 0.2s, background 0.2s; }
.dk-add:hover { transform: scale(1.1) rotate(90deg); background: var(--dk-yellow-dark); }
.dk-add.done { background: #2E7D32; color: #fff; transform: none; }
.dk-add:disabled { background: var(--dk-line); color: var(--dk-muted); cursor: not-allowed; transform: none; }

.dk-loading, .dk-empty { grid-column: 1 / -1; padding: 70px 20px; border: 1.5px dashed var(--dk-line); border-radius: var(--dk-radius); background: var(--dk-surface); text-align: center; font-size: 14px; color: var(--dk-muted); }
.dk-empty h3 { margin: 0 0 6px; font-family: var(--dk-display); font-size: 22px; font-weight: 400; color: var(--dk-ink); }
.dk-empty button { margin-top: 14px; height: 40px; padding: 0 20px; border: none; border-radius: 999px; background: var(--dk-yellow); font-size: 13px; font-weight: 700; cursor: pointer; }
.dk-spinner { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; border: 2px solid var(--dk-line); border-top-color: var(--dk-ink); border-radius: 50%; animation: dk-spin 0.8s linear infinite; }

/* ---------- Pagination ---------- */
.dk-pages { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.dk-pages:empty { display: none; }
.dk-pages button, .dk-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--dk-line); border-radius: 10px; background: var(--dk-surface); font-size: 13px; font-weight: 600; color: var(--dk-ink-2); }
.dk-pages button { cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.dk-pages button:hover:not(:disabled) { border-color: var(--dk-ink); }
.dk-pages button.active { border-color: var(--dk-yellow); background: var(--dk-yellow); color: var(--dk-ink); font-weight: 800; }
.dk-pages button:disabled { opacity: 0.4; cursor: default; }
.dk-pages span { border-color: transparent; background: none; }

/* ---------- Recently viewed ---------- */
.dk-recent { padding: 56px 0 64px; border-top: 1px solid var(--dk-line); background: var(--dk-cream); }
.dk-section-title { margin: 0 0 24px; font-family: var(--dk-display); font-size: 28px; font-weight: 400; }

/* ---------- Item details ---------- */
.dk-band-slim .dk-wrap { padding-top: 22px; padding-bottom: 6px; }
.dk-band-slim .dk-crumbs { margin: 0; }
.dk-product { padding: 18px 0 72px; background: var(--dk-cream); }
.dk-product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.dk-gallery { position: sticky; top: 100px; }
.dk-gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--dk-surface); box-shadow: var(--dk-shadow); }
.dk-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.dk-gallery-main .dk-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #CFC9B8; }
.dk-gallery-main .dk-badge { top: 18px; left: 18px; padding: 6px 14px; font-size: 11px; }
.dk-heart-lg { top: 14px; right: 14px; width: 44px; height: 44px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.3); }
.dk-heart-lg svg { width: 20px; height: 20px; }
.dk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.dk-fact { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border: 1px solid var(--dk-line); border-radius: 14px; background: var(--dk-surface); text-align: center; }
.dk-fact-icon { font-size: 16px; line-height: 1.2; color: var(--dk-yellow-dark); }
.dk-fact strong { font-size: 14px; font-weight: 800; }
.dk-fact small { font-size: 11px; color: var(--dk-muted); }

.dk-buy { padding-top: 6px; }
.dk-pill { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--dk-yellow-soft); font-size: 12px; font-weight: 700; transition: background 0.2s; }
.dk-pill:hover { background: var(--dk-yellow); }
.dk-buy-title { margin: 0; font-family: var(--dk-display); font-size: 42px; font-weight: 400; line-height: 1.08; }
.dk-buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--dk-muted); }
.dk-buy-meta b { color: var(--dk-ink); }
.dk-buy-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.dk-stars-lg { gap: 1px !important; font-size: 16px; color: #E3E0D8; }
.dk-stars-lg .on { color: var(--dk-yellow); }
.dk-dot { width: 4px; height: 4px; border-radius: 50%; background: #CFC9B8; }
.dk-stock.in { color: #2E7D32; font-weight: 700; }
.dk-stock.out { color: #C62828; font-weight: 700; }
.dk-buy-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.dk-buy-price small { font-size: 13px; font-weight: 600; color: var(--dk-muted); letter-spacing: 0; }
.dk-buy-price span { font-size: 15px; font-weight: 700; color: var(--dk-muted); letter-spacing: 0; }
.dk-buy-desc { margin: 14px 0 0; max-width: 560px; font-size: 14.5px; line-height: 1.7; color: var(--dk-ink-2); }

.dk-opt { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--dk-line); }
.dk-opt h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 14px; font-weight: 800; }
.dk-opt h3 em { padding: 3px 10px; border-radius: 999px; background: var(--dk-surface); border: 1px solid var(--dk-line); font-size: 10.5px; font-style: normal; font-weight: 700; color: var(--dk-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dk-chips span { padding: 6px 12px; border-radius: 999px; background: var(--dk-surface); border: 1px solid var(--dk-line); font-size: 12.5px; font-weight: 600; color: var(--dk-ink-2); }

.dk-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.dk-size { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--dk-line); border-radius: 14px; background: var(--dk-surface); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.dk-size input { position: absolute; opacity: 0; pointer-events: none; }
.dk-size strong { font-size: 14px; }
.dk-size span { font-size: 12.5px; color: var(--dk-muted); font-weight: 600; }
.dk-size:hover { border-color: #CFC9B8; }
.dk-size.on { border-color: var(--dk-ink); background: var(--dk-yellow-soft); box-shadow: 0 0 0 3px rgba(246, 212, 1, 0.35); }
.dk-size:focus-within { outline: 2px solid var(--dk-ink); outline-offset: 2px; }

.dk-addons { display: flex; flex-direction: column; gap: 8px; }
.dk-addon { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--dk-line); border-radius: 12px; background: var(--dk-surface); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.dk-addon:hover { border-color: #CFC9B8; }
.dk-addon input { position: absolute; opacity: 0; pointer-events: none; }
.dk-addon-box { flex: none; width: 20px; height: 20px; border: 1.5px solid #CFC9B8; border-radius: 6px; display: grid; place-content: center; transition: background 0.15s, border-color 0.15s; }
.dk-addon-box::before { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid var(--dk-ink); border-bottom: 2px solid var(--dk-ink); transform: rotate(-45deg) scale(0); transition: transform 0.12s; }
.dk-addon input:checked + .dk-addon-box { background: var(--dk-yellow); border-color: var(--dk-yellow); }
.dk-addon input:checked + .dk-addon-box::before { transform: rotate(-45deg) scale(1); }
.dk-addon:has(input:checked) { border-color: var(--dk-ink); background: #FFFDF0; }
.dk-addon:focus-within { outline: 2px solid var(--dk-ink); outline-offset: 2px; }
.dk-addon-name { flex: 1; font-size: 13.5px; font-weight: 600; }
.dk-addon-price { font-size: 13px; font-weight: 700; color: var(--dk-muted); }

.dk-opt textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--dk-line); border-radius: 12px; background: var(--dk-surface); font-family: inherit; font-size: 13.5px; color: var(--dk-ink); resize: vertical; }
.dk-opt textarea:focus { outline: none; border-color: var(--dk-ink); box-shadow: 0 0 0 4px rgba(246, 212, 1, 0.35); }

.dk-purchase { display: flex; gap: 12px; margin-top: 26px; }
.dk-qty { display: flex; align-items: center; height: 56px; padding: 0 6px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); }
.dk-qty button { width: 42px; height: 42px; border: none; border-radius: 50%; background: none; font-size: 20px; font-weight: 600; color: var(--dk-ink); cursor: pointer; transition: background 0.2s; }
.dk-qty button:hover:not(:disabled) { background: var(--dk-cream); }
.dk-qty button:disabled { color: #CFC9B8; cursor: default; }
.dk-qty output { min-width: 32px; font-size: 16px; font-weight: 800; text-align: center; }
.dk-cta { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 26px; border: none; border-radius: 999px; background: var(--dk-ink); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.dk-cta b { padding: 6px 14px; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-size: 14px; font-weight: 800; }
.dk-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.7); }
.dk-cta:disabled { background: #D9D5CB; color: #fff; cursor: not-allowed; justify-content: center; }
.dk-cta.done { justify-content: flex-start; background: #2E7D32; }
.dk-cta-link { margin-left: auto; color: #fff !important; font-size: 13px; text-decoration: underline !important; }
.dk-assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--dk-muted); }
.dk-assure li { display: flex; align-items: center; gap: 8px; }
.dk-assure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dk-yellow); }
.dk-assure a { color: var(--dk-ink); font-weight: 700; text-decoration: underline; }

.dk-related { padding: 56px 0 64px; border-top: 1px solid var(--dk-line); background: #FBFAF6; }
.dk-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dk-section-head .dk-section-title { margin: 0; }
.dk-link-arrow { font-size: 13.5px; font-weight: 700; }
.dk-link-arrow:hover { text-decoration: underline; }

/* =====================================================================
   Cart, checkout, orders and profile.
   These pages keep their existing markup and scripts (cart.js,
   checkout.js, my-orders.js, profile.js), so this section only restyles
   them for wide screens. The selectors are scoped to each page's body class.
   ===================================================================== */
body.dk-cart-page .cart-header,
body.dk-cart-page .continue-shopping,
body.dk-checkout-page .checkout-progress,
body.dk-orders-page .page-header-yellow,
body.dk-profile-page .profile-header > h1 { display: none !important; }

.dk-btn-ghost { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); font-size: 14px; font-weight: 700; transition: border-color 0.2s; }
.dk-btn-ghost:hover { border-color: var(--dk-ink); }

/* Shared look for the existing content blocks */
body.dk-page .cart-page,
body.dk-page .checkout-page,
body.dk-page .orders-page,
body.dk-page .profile-page { font-family: var(--dk-body); color: var(--dk-ink); }
body.dk-cart-page .cart-page,
body.dk-checkout-page .checkout-page,
body.dk-orders-page .orders-page { max-width: 1240px; margin: 0 auto; padding: 8px 32px 80px; min-height: 0; background: none; }

body.dk-page .order-summary,
body.dk-page .checkout-summary { padding: 26px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); box-shadow: var(--dk-shadow); top: 100px; }
body.dk-page .order-summary h2,
body.dk-page .checkout-summary h2 { margin: 0 0 18px; font-family: var(--dk-display); font-size: 22px; font-weight: 400; }
body.dk-page .summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--dk-ink-2); }
body.dk-page .summary-row.discount-row { color: #2E7D32; }
body.dk-page .summary-row.total-row { margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--dk-line); font-size: 18px; font-weight: 800; color: var(--dk-ink); }
body.dk-page .checkout-btn,
body.dk-page .place-order-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; margin-top: 20px; border: none; border-radius: 999px; background: var(--dk-ink); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-page .checkout-btn:hover:not(:disabled),
body.dk-page .place-order-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.7); }
body.dk-page .checkout-btn:disabled,
body.dk-page .place-order-btn:disabled { background: #D9D5CB; cursor: not-allowed; }
body.dk-page .secure-checkout,
body.dk-page .terms-text { margin-top: 14px; justify-content: center; text-align: center; font-size: 12px; color: var(--dk-muted); }
body.dk-page .terms-text a { color: var(--dk-ink); text-decoration: underline; }

/* ---------- Cart ---------- */
body.dk-cart-page .cart-container { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
body.dk-cart-page .cart-items-header { align-items: center; justify-content: space-between; margin-bottom: 14px; }
body.dk-cart-page .items-count { font-size: 14px; font-weight: 700; }
body.dk-cart-page .clear-cart-btn { padding: 8px 16px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); font-family: inherit; font-size: 12.5px; font-weight: 700; color: #C62828; cursor: pointer; }
body.dk-cart-page .clear-cart-btn:hover { border-color: #F5C2C2; background: #FDECEC; }
body.dk-cart-page .cart-item-card { align-items: center; gap: 18px; margin-bottom: 12px; padding: 14px 18px 14px 14px; border: 1px solid var(--dk-line); border-radius: 18px; background: var(--dk-surface); box-shadow: none; transition: box-shadow 0.2s; }
body.dk-cart-page .cart-item-card:hover { box-shadow: var(--dk-shadow); }
body.dk-cart-page .cart-item-image { flex: none; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--dk-cream); }
body.dk-cart-page .cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
body.dk-cart-page .cart-item-content { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "price foot" "addons foot"; align-items: center; column-gap: 16px; }
body.dk-cart-page .cart-item-header { grid-area: head; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
body.dk-cart-page .cart-item-name { margin: 0; font-size: 15.5px; font-weight: 700; }
body.dk-cart-page .remove-item-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: none; border-radius: 50%; background: none; color: var(--dk-muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
body.dk-cart-page .remove-item-btn:hover { background: #FDECEC; color: #C62828; }
body.dk-cart-page .cart-item-price-unit { grid-area: price; margin: 2px 0 0; font-size: 14px; font-weight: 800; color: var(--dk-ink); }
body.dk-cart-page .cart-item-addons { grid-area: addons; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.dk-cart-page .addon-tag { padding: 4px 10px; border-radius: 999px; background: var(--dk-cream); font-size: 11.5px; font-weight: 600; color: var(--dk-ink-2); }
body.dk-cart-page .cart-item-footer { grid-area: foot; margin: 0; }
body.dk-cart-page .cart-quantity-controls { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); }
body.dk-cart-page .qty-btn-small { width: 32px; height: 32px; border: none; border-radius: 50%; background: none; font-size: 17px; font-weight: 700; color: var(--dk-ink); cursor: pointer; }
body.dk-cart-page .qty-btn-small:hover { background: var(--dk-cream); }
body.dk-cart-page .qty-btn-small.qty-plus { background: var(--dk-yellow); }
body.dk-cart-page .qty-btn-small.qty-plus:hover { background: var(--dk-yellow-dark); }
body.dk-cart-page .qty-display { min-width: 24px; font-size: 14px; font-weight: 800; text-align: center; }
body.dk-cart-page .empty-cart { padding: 70px 24px; border: 1.5px dashed var(--dk-line); border-radius: 20px; background: var(--dk-surface); }
body.dk-cart-page .empty-cart h3 { margin: 16px 0 6px; font-family: var(--dk-display); font-size: 24px; font-weight: 400; }
body.dk-cart-page .empty-cart p { color: var(--dk-muted); }
body.dk-cart-page .browse-menu-btn { display: inline-flex; align-items: center; height: 46px; margin-top: 18px; padding: 0 26px; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-weight: 700; text-decoration: none; }

/* ---------- Checkout ---------- */
.dk-steps { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dk-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--dk-muted); }
.dk-steps li + li::before { content: ""; width: 34px; height: 2px; margin-right: 2px; border-radius: 2px; background: var(--dk-line); }
.dk-steps span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1.5px solid #CFC9B8; border-radius: 50%; font-size: 12px; font-weight: 800; }
.dk-steps li.done { color: var(--dk-ink); }
.dk-steps li.done span { border-color: var(--dk-ink); background: var(--dk-ink); color: var(--dk-yellow); }
.dk-steps li.current { color: var(--dk-ink); font-weight: 800; }
.dk-steps li.current span { border-color: var(--dk-yellow); background: var(--dk-yellow); color: var(--dk-ink); }
.dk-steps li.done + li::before, .dk-steps li.current::before { background: var(--dk-ink); }

body.dk-checkout-page .checkout-container { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
body.dk-checkout-page .checkout-form-section { padding: 0; border: none; background: none; box-shadow: none; }
body.dk-checkout-page .form-section { margin-bottom: 16px; padding: 24px 26px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); }
body.dk-checkout-page .form-section h2 { margin: 0 0 16px; font-size: 16px; font-weight: 800; }
body.dk-checkout-page .section-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
body.dk-checkout-page .section-header-row h2 { margin: 0; }
body.dk-checkout-page .add-address-btn,
body.dk-checkout-page .edit-btn { padding: 8px 16px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--dk-ink); cursor: pointer; }
body.dk-checkout-page .add-address-btn:hover,
body.dk-checkout-page .edit-btn:hover { border-color: var(--dk-ink); }

body.dk-checkout-page .delivery-type-options,
body.dk-checkout-page .payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.dk-checkout-page .delivery-type-box,
body.dk-checkout-page .payment-box,
body.dk-checkout-page .address-box { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border: 1.5px solid var(--dk-line); border-radius: 16px; background: var(--dk-surface); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
body.dk-checkout-page .delivery-type-box:hover,
body.dk-checkout-page .payment-box:hover,
body.dk-checkout-page .address-box:hover { border-color: #CFC9B8; }
body.dk-checkout-page .delivery-type-option input:checked + .delivery-type-box,
body.dk-checkout-page .payment-option input:checked + .payment-box,
body.dk-checkout-page .address-option input:checked + .address-box,
body.dk-checkout-page .address-option.selected .address-box { border-color: var(--dk-ink); background: var(--dk-yellow-soft); box-shadow: 0 0 0 3px rgba(246, 212, 1, 0.35); }
body.dk-checkout-page .delivery-type-name,
body.dk-checkout-page .payment-name,
body.dk-checkout-page .address-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--dk-ink); }
body.dk-checkout-page .delivery-type-time,
body.dk-checkout-page .payment-desc,
body.dk-checkout-page .address-text { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dk-muted); }
body.dk-checkout-page .payment-icon { font-size: 22px; }
body.dk-checkout-page .saved-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.dk-checkout-page .address-option { display: block; margin: 0; }
body.dk-checkout-page .default-badge { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--dk-ink); color: var(--dk-yellow); font-size: 10px; font-weight: 800; }
body.dk-checkout-page .no-address-card { padding: 28px; border: 1.5px dashed var(--dk-line); border-radius: 16px; text-align: center; }
body.dk-checkout-page .add-address-btn-primary,
body.dk-checkout-page .apply-coupon-btn { height: 46px; padding: 0 22px; border: none; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
body.dk-checkout-page .apply-coupon-btn:hover,
body.dk-checkout-page .add-address-btn-primary:hover { background: var(--dk-yellow-dark); }

body.dk-checkout-page .branch-dropdown,
body.dk-checkout-page .coupon-input-row input,
body.dk-checkout-page .phone-edit-form input,
body.dk-checkout-page #order-notes { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--dk-line); border-radius: 12px; background: #FBFAF6; font-family: inherit; font-size: 14px; color: var(--dk-ink); }
body.dk-checkout-page #order-notes { height: auto; min-height: 90px; padding: 14px 16px; resize: vertical; }
body.dk-checkout-page .branch-dropdown:focus,
body.dk-checkout-page .coupon-input-row input:focus,
body.dk-checkout-page .phone-edit-form input:focus,
body.dk-checkout-page #order-notes:focus { outline: none; border-color: var(--dk-ink); background: #fff; box-shadow: 0 0 0 4px rgba(246, 212, 1, 0.35); }
body.dk-checkout-page .coupon-input-row { display: flex; gap: 10px; }
body.dk-checkout-page .branch-details { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--dk-cream); font-size: 13px; }
body.dk-checkout-page .contact-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--dk-cream); }
body.dk-checkout-page .contact-label { display: block; font-size: 12px; color: var(--dk-muted); }
body.dk-checkout-page .contact-value { display: block; font-size: 15px; font-weight: 700; }

body.dk-checkout-page .checkout-items { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
body.dk-checkout-page .checkout-item { display: flex; align-items: flex-start; gap: 12px; }
body.dk-checkout-page .checkout-item-qty { flex: none; min-width: 34px; padding: 4px 6px; border-radius: 8px; background: var(--dk-yellow-soft); font-size: 12px; font-weight: 800; text-align: center; }
body.dk-checkout-page .checkout-item-info { flex: 1; min-width: 0; }
body.dk-checkout-page .checkout-item-name { display: block; font-size: 13.5px; font-weight: 700; }
body.dk-checkout-page .checkout-item-options,
body.dk-checkout-page .checkout-item-notes { display: block; margin-top: 2px; font-size: 12px; color: var(--dk-muted); }
body.dk-checkout-page .checkout-item-price { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
body.dk-checkout-page .summary-divider { height: 1px; margin: 18px 0 8px; background: var(--dk-line); }

/* ---------- My orders ---------- */
body.dk-orders-page .orders-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
body.dk-orders-page .orders-list[style*="display: none"] { display: none !important; }
body.dk-orders-page .order-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); transition: transform 0.2s, box-shadow 0.2s; }
body.dk-orders-page .order-card:hover { transform: translateY(-3px); box-shadow: var(--dk-shadow-lift); }
body.dk-orders-page .order-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.dk-orders-page .order-id { font-size: 15px; font-weight: 800; }
body.dk-orders-page .order-status { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
body.dk-orders-page .order-date { font-size: 12.5px; color: var(--dk-muted); }
body.dk-orders-page .order-items { margin-top: 6px; padding: 12px 0; border-top: 1px dashed var(--dk-line); border-bottom: 1px dashed var(--dk-line); font-size: 13.5px; line-height: 1.5; color: var(--dk-ink-2); }
body.dk-orders-page .order-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
body.dk-orders-page .order-total { font-size: 17px; font-weight: 800; }
body.dk-orders-page .order-action { padding: 8px 16px; border-radius: 999px; background: var(--dk-ink); color: #fff; font-size: 12.5px; font-weight: 700; }
body.dk-orders-page .orders-empty,
body.dk-orders-page .orders-loading { padding: 70px 24px; border: 1.5px dashed var(--dk-line); border-radius: 20px; background: var(--dk-surface); text-align: center; }
body.dk-orders-page .orders-empty h2 { margin: 14px 0 6px; font-family: var(--dk-display); font-size: 24px; font-weight: 400; }
body.dk-orders-page .orders-empty .btn-primary { display: inline-flex; align-items: center; height: 46px; margin-top: 16px; padding: 0 26px; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-weight: 700; text-decoration: none; }
body.dk-orders-page .order-details-content { border-radius: 22px; font-family: var(--dk-body); }

/* ---------- Profile ---------- */
body.dk-profile-page .profile-page { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1240px; min-height: 0; margin: 0 auto; padding: 8px 32px 80px; background: none; }
body.dk-profile-page .profile-header { position: sticky; top: 100px; padding: 32px 24px; border: 1px solid var(--dk-line); border-radius: 22px; background: linear-gradient(180deg, var(--dk-yellow) 0, var(--dk-yellow) 96px, var(--dk-surface) 96px); text-align: center; box-shadow: var(--dk-shadow); }
body.dk-profile-page .profile-avatar { position: relative; display: inline-block; }
body.dk-profile-page .avatar-circle { width: 112px; height: 112px; border: 5px solid var(--dk-surface); background: var(--dk-cream); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5); }
body.dk-profile-page .profile-name { margin: 14px 0 4px; font-family: var(--dk-display); font-size: 24px; font-weight: 400; }
body.dk-profile-page .profile-email { margin: 0; font-size: 13.5px; color: var(--dk-muted); word-break: break-word; }
body.dk-profile-page .profile-content { max-width: none; margin: 0; padding: 0; }
body.dk-profile-page .profile-card { margin-bottom: 16px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); }
body.dk-profile-page .phone-card { padding: 20px 24px; }
body.dk-profile-page .menu-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; border: none; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
body.dk-profile-page .menu-card:hover { box-shadow: none; }
body.dk-profile-page .menu-divider { display: none; }
body.dk-profile-page .profile-menu-item { gap: 16px; padding: 20px; border: 1px solid var(--dk-line); border-radius: 18px; background: var(--dk-surface); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
body.dk-profile-page .profile-menu-item:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--dk-shadow-lift); }
body.dk-profile-page .menu-item-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; border-radius: 14px; background: var(--dk-yellow-soft); }
body.dk-profile-page .menu-item-title { display: block; font-size: 15px; font-weight: 800; }
body.dk-profile-page .menu-item-subtitle { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dk-muted); }
body.dk-profile-page .auth-card { padding: 0; border: none; background: none; }
body.dk-profile-page .logout-btn,
body.dk-profile-page .login-btn-profile { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; height: 50px; padding: 0 26px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
body.dk-profile-page .logout-btn { color: #C62828; }
body.dk-profile-page .logout-btn:hover { border-color: #F5C2C2; background: #FDECEC; }
body.dk-profile-page .login-btn-profile { border-color: var(--dk-ink); background: var(--dk-ink); color: #fff; }

/* ---------- Login (split screen: sign-in card + brand panel) ---------- */
body.dk-login-page .login-page { min-height: 0; padding: 48px 32px 80px; background: none; font-family: var(--dk-body); color: var(--dk-ink); }
body.dk-login-page .login-container { max-width: 1176px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; border: 1px solid var(--dk-line); border-radius: 28px; overflow: hidden; background: var(--dk-surface); box-shadow: 0 30px 60px -36px rgba(26, 26, 26, 0.45); }
body.dk-login-page .login-card { padding: 56px 64px; border-radius: 0; background: var(--dk-surface); box-shadow: none; }
body.dk-login-page .login-header { text-align: left; }
body.dk-login-page .login-logo { width: 52px; margin: 0 0 22px; }
body.dk-login-page .login-header h1 { margin: 0 0 8px; font-family: var(--dk-display); font-size: 34px; font-weight: 400; line-height: 1.1; }
body.dk-login-page .login-header p { margin: 0 0 28px; font-size: 14px; color: var(--dk-muted); }
body.dk-login-page .form-group label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
body.dk-login-page .phone-input-group { align-items: stretch; height: 54px; border: 1px solid var(--dk-line); border-radius: 14px; background: #FBFAF6; overflow: hidden; gap: 0; }
body.dk-login-page .phone-input-group:focus-within { border-color: var(--dk-ink); background: #fff; box-shadow: 0 0 0 4px rgba(246, 212, 1, 0.35); }
body.dk-login-page .country-code-text { display: flex; align-items: center; padding: 0 16px; border-right: 1px solid var(--dk-line); font-size: 14.5px; font-weight: 700; }
body.dk-login-page #phone { flex: 1; min-width: 0; height: 100%; padding: 0 16px; border: none; outline: none; background: transparent; font-family: inherit; font-size: 15px; box-shadow: none; }
body.dk-login-page .login-btn { height: 54px; margin-top: 18px; padding: 0 20px; border-radius: 999px; background: var(--dk-ink); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-login-page .login-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.7); }
body.dk-login-page .login-btn:disabled { background: #D9D5CB; transform: none; box-shadow: none; }
body.dk-login-page .otp-title { margin: 0 0 6px; font-family: var(--dk-display); font-size: 24px; font-weight: 400; }
body.dk-login-page .otp-status, body.dk-login-page .otp-message { font-size: 13.5px; color: var(--dk-muted); }
body.dk-login-page .otp-inputs { display: flex; gap: 10px; margin: 18px 0 12px; }
body.dk-login-page .otp-input { flex: 1; width: auto; max-width: 58px; height: 62px; border: 1.5px solid var(--dk-line); border-radius: 14px; background: #FBFAF6; font-family: inherit; font-size: 24px; font-weight: 800; }
body.dk-login-page .otp-input:focus { outline: none; border-color: var(--dk-ink); background: #fff; box-shadow: 0 0 0 4px rgba(246, 212, 1, 0.35); }
body.dk-login-page .back-btn { margin-top: 10px; border: none; background: none; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--dk-muted); cursor: pointer; }
body.dk-login-page .divider { margin: 26px 0 18px; font-size: 12px; color: var(--dk-muted); }
body.dk-login-page .social-btn { height: 52px; border: 1px solid var(--dk-line); border-radius: 999px; font-family: inherit; font-size: 14.5px; font-weight: 700; transition: border-color 0.2s, background 0.2s; }
body.dk-login-page .social-btn:hover { border-color: var(--dk-ink); background: #FBFAF6; }
body.dk-login-page .skip-section { margin-top: 22px; text-align: left; }
body.dk-login-page .skip-link { font-size: 14px; font-weight: 700; color: var(--dk-ink); text-decoration: underline; }
body.dk-login-page .skip-note, body.dk-login-page .terms-notice { font-size: 12px; color: var(--dk-muted); text-align: left; }
body.dk-login-page .terms-notice a { color: var(--dk-ink); text-decoration: underline; }

body.dk-login-page .login-benefits { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px 64px; overflow: hidden; background: var(--dk-yellow); }
body.dk-login-page .login-benefits::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 300px; height: 340px; background: url("../assets/images/or-logo.png") no-repeat center / contain; filter: brightness(0); opacity: 0.07; transform: rotate(-12deg); pointer-events: none; }
body.dk-login-page .login-benefits h2 { position: relative; margin: 0 0 28px; font-family: var(--dk-display); font-size: 38px; font-weight: 400; line-height: 1.05; color: var(--dk-ink); }
body.dk-login-page .benefits-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
body.dk-login-page .benefit-icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.4); }
body.dk-login-page .benefit-text h3 { margin: 4px 0 2px; font-size: 16px; font-weight: 800; color: var(--dk-ink); }
body.dk-login-page .benefit-text p { margin: 0; font-size: 13.5px; color: rgba(26, 26, 26, 0.72); }

/* ---------- Coupons, notifications, settings, favorites ---------- */
body.dk-coupons-page .page-header-yellow,
body.dk-notifications-page .page-header-yellow,
body.dk-settings-page .page-header-yellow,
body.dk-favorites-page .page-header-white { display: none !important; }

body.dk-coupons-page .coupons-page,
body.dk-notifications-page .notifications-page,
body.dk-settings-page .settings-page,
body.dk-favorites-page .favorites-page { max-width: 1240px; min-height: 0; margin: 0 auto; padding: 8px 32px 80px; background: none; font-family: var(--dk-body); color: var(--dk-ink); }

/* Shared states */
body.dk-page .coupons-loading,
body.dk-page .coupons-empty,
body.dk-page .favorites-loading,
body.dk-page .favorites-empty,
body.dk-page .notifications-loading,
body.dk-page .notifications-empty { padding: 60px 24px; border: 1.5px dashed var(--dk-line); border-radius: 20px; background: var(--dk-surface); text-align: center; color: var(--dk-muted); }
body.dk-page .coupons-empty h2,
body.dk-page .favorites-empty h2 { margin: 12px 0 6px; font-family: var(--dk-display); font-size: 24px; font-weight: 400; color: var(--dk-ink); }
body.dk-page .favorites-empty .btn-primary { display: inline-flex; align-items: center; height: 46px; margin-top: 16px; padding: 0 26px; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-weight: 700; text-decoration: none; }

/* Coupons: ticket cards in a grid */
body.dk-coupons-page .coupons-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
body.dk-coupons-page .coupons-list[style*="display: none"] { display: none !important; }
body.dk-coupons-page .coupon-card { position: relative; min-height: 150px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); box-shadow: none; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-coupons-page .coupon-card:hover { transform: translateY(-3px); box-shadow: var(--dk-shadow-lift); }
body.dk-coupons-page .coupon-left { position: relative; width: 132px; padding: 18px; background: var(--dk-yellow); border-right: 2px dashed rgba(26, 26, 26, 0.25); }
body.dk-coupons-page .coupon-left::before,
body.dk-coupons-page .coupon-left::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--dk-cream); }
body.dk-coupons-page .coupon-left::before { top: -10px; }
body.dk-coupons-page .coupon-left::after { bottom: -10px; }
body.dk-coupons-page .coupon-discount { font-family: var(--dk-display); font-size: 26px; line-height: 1.05; text-align: center; }
body.dk-coupons-page .coupon-type { margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
body.dk-coupons-page .coupon-right { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
body.dk-coupons-page .coupon-code { align-self: flex-start; padding: 4px 12px; border: 1.5px dashed var(--dk-ink); border-radius: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; }
body.dk-coupons-page .coupon-description { font-size: 13.5px; color: var(--dk-ink-2); }
body.dk-coupons-page .coupon-details { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--dk-muted); }
body.dk-coupons-page .copy-code-btn { align-self: flex-start; margin-top: auto; height: 36px; padding: 0 18px; border: none; border-radius: 999px; background: var(--dk-ink); color: #fff; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
body.dk-coupons-page .copy-code-btn:hover { background: #000; }

/* Notifications: preferences on the left, feed on the right */
body.dk-notifications-page .notifications-page { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; }
body.dk-notifications-page .notifications-settings { position: sticky; top: 100px; }
body.dk-page .section-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dk-muted); }
body.dk-page .settings-card { border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); }
body.dk-page .settings-toggle-item { gap: 16px; padding: 18px 20px; }
body.dk-page .toggle-info { flex: 1; min-width: 0; }
body.dk-page .toggle-title { display: block; font-size: 14.5px; font-weight: 700; }
body.dk-page .toggle-subtitle { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dk-muted); }
body.dk-page .settings-divider { height: 1px; margin: 0 20px; background: var(--dk-line); }
body.dk-page .toggle-switch input:checked + .toggle-slider { background-color: var(--dk-ink); }
body.dk-page .toggle-switch input:focus-visible + .toggle-slider { box-shadow: 0 0 0 3px rgba(246, 212, 1, 0.6); }
body.dk-notifications-page .notifications-header { margin-bottom: 12px; }
body.dk-notifications-page .notifications-header .section-title { margin: 0; }
body.dk-notifications-page .mark-all-read-btn { padding: 8px 16px; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--dk-ink); }
body.dk-notifications-page .mark-all-read-btn:hover { border-color: var(--dk-ink); }
body.dk-notifications-page .notifications-list { overflow: hidden; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); }
body.dk-notifications-page .notification-item { gap: 16px; margin: 0; padding: 18px 20px; border: none; border-bottom: 1px solid var(--dk-line); border-radius: 0; background: var(--dk-surface); cursor: pointer; transition: background 0.2s; }
body.dk-notifications-page .notification-item:last-child { border-bottom: none; }
body.dk-notifications-page .notification-item:hover { background: #FBFAF6; }
body.dk-notifications-page .notification-item.unread { background: #FFFDF0; box-shadow: inset 4px 0 0 var(--dk-yellow); }
body.dk-notifications-page .notification-title { font-size: 14.5px; font-weight: 800; }
body.dk-notifications-page .notification-message { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--dk-ink-2); }
body.dk-notifications-page .notification-time { margin-top: 6px; font-size: 12px; color: var(--dk-muted); }

/* Settings: two columns of cards */
body.dk-settings-page .settings-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
body.dk-settings-page .settings-main[style*="display: none"] { display: none !important; }
body.dk-settings-page .settings-section { margin: 0; }
body.dk-settings-page .settings-menu-item { gap: 14px; padding: 16px 20px; font-family: inherit; transition: background 0.2s; }
body.dk-settings-page .settings-menu-item:hover { background: #FBFAF6; }
body.dk-settings-page .menu-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--dk-yellow-soft); }
body.dk-settings-page .menu-icon.danger { background: #FDECEC; }
body.dk-settings-page .menu-title { flex: 1; font-size: 14.5px; font-weight: 700; color: var(--dk-ink); }
body.dk-settings-page .menu-title.danger { color: #C62828; }
body.dk-settings-page .settings-subpage { max-width: 820px; padding: 36px 44px; border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); }
body.dk-settings-page .legal-content { font-size: 14.5px; line-height: 1.75; color: var(--dk-ink-2); }
body.dk-settings-page .legal-content h2 { margin: 0 0 6px; font-family: var(--dk-display); font-size: 26px; font-weight: 400; color: var(--dk-ink); }
body.dk-settings-page .legal-content h3 { margin: 26px 0 8px; font-size: 16px; font-weight: 800; color: var(--dk-ink); }

/* Favorites: same card feel as the menu grid */
body.dk-favorites-page .favorites-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
body.dk-favorites-page .favorites-grid[style*="display: none"] { display: none !important; }
body.dk-favorites-page .favorite-card { padding: 10px 10px 14px; border: 1px solid var(--dk-line); border-radius: var(--dk-radius); background: var(--dk-surface); box-shadow: none; transition: transform 0.25s, box-shadow 0.25s; }
body.dk-favorites-page .favorite-card:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lift); }
body.dk-favorites-page .favorite-card-image { position: relative; aspect-ratio: 4 / 3; height: auto; border-radius: 12px; overflow: hidden; background: var(--dk-cream); }
body.dk-favorites-page .favorite-card-image img { width: 100%; height: 100%; object-fit: cover; }
body.dk-favorites-page .remove-favorite-btn { top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
body.dk-favorites-page .favorite-card-content { padding: 12px 4px 0; }
body.dk-favorites-page .favorite-card-title { margin: 0; font-size: 14.5px; font-weight: 700; }
body.dk-favorites-page .favorite-card-category { margin: 4px 0 0; font-size: 12px; color: var(--dk-muted); }
body.dk-favorites-page .favorite-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
body.dk-favorites-page .favorite-card-price { font-size: 16px; font-weight: 800; }
body.dk-favorites-page .favorite-card .add-to-cart-btn { height: 34px; padding: 0 14px; border: none; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- Delivery (marketing page): re-themed sections ---------- */
body.dk-delivery-page .delivery-hero,
body.dk-delivery-page .how-it-works,
body.dk-delivery-page .delivery-features,
body.dk-delivery-page .delivery-stats-section,
body.dk-delivery-page .track-order,
body.dk-delivery-page .delivery-cta { font-family: var(--dk-body); }
body.dk-delivery-page .delivery-hero { padding: 72px 32px; background: var(--dk-ink); }
body.dk-delivery-page .delivery-hero-content,
body.dk-delivery-page .features-content,
body.dk-delivery-page .track-content { max-width: 1176px; }
body.dk-delivery-page .delivery-hero h1 { font-family: var(--dk-display); font-weight: 400; line-height: 1.02; }
body.dk-delivery-page .delivery-badge { background: var(--dk-yellow); color: var(--dk-ink); }
body.dk-delivery-page .delivery-hero .btn-primary { border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); }
body.dk-delivery-page .delivery-hero .btn-secondary { border-radius: 999px; }
body.dk-delivery-page .stat-number { color: var(--dk-yellow); }
body.dk-delivery-page .section-title-center,
body.dk-delivery-page .stats-header h2,
body.dk-delivery-page .features-text h2,
body.dk-delivery-page .track-text h2,
body.dk-delivery-page .cta-content h2 { font-family: var(--dk-display); font-weight: 400; letter-spacing: 0.005em; }
body.dk-delivery-page .how-it-works { background: var(--dk-cream); }
body.dk-delivery-page .step-card { border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); }
body.dk-delivery-page .step-number { background: var(--dk-ink); color: var(--dk-yellow); }
body.dk-delivery-page .delivery-features { background: var(--dk-surface); }
body.dk-delivery-page .feature-icon-circle { background: var(--dk-yellow-soft); }
body.dk-delivery-page .delivery-stats-section { background: var(--dk-cream); }
body.dk-delivery-page .stat-card { border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); box-shadow: none; }
body.dk-delivery-page .stat-card:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lift); }
body.dk-delivery-page .track-order { background: var(--dk-ink); }
body.dk-delivery-page .track-input { border-radius: 999px; }
body.dk-delivery-page .track-btn { border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); }
body.dk-delivery-page .delivery-cta { background: var(--dk-yellow); }
body.dk-delivery-page .delivery-cta a { border-radius: 999px; }

/* =====================================================================
   Home page
   ===================================================================== */
body.dk-home-page { background: var(--dk-surface); }
body.dk-home-page .categories { display: none !important; } /* replaced by .dk-cats */

/* Header floats over the banner; turns solid white once scrolled */
.dk-header-overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; transition: background 0.25s, border-color 0.25s, box-shadow 0.25s; }
.dk-header-overlay .dk-nav a { color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.dk-header-overlay .dk-nav a:hover,
.dk-header-overlay .dk-nav a.active { color: #fff; }
.dk-header-overlay .dk-circle { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dk-header-overlay .dk-circle:hover { background: rgba(255, 255, 255, 0.28); }
.dk-header-overlay.solid { background: var(--dk-surface); border-bottom-color: var(--dk-line); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.4); }
.dk-header-overlay.solid .dk-nav a { color: var(--dk-muted); text-shadow: none; }
.dk-header-overlay.solid .dk-nav a:hover,
.dk-header-overlay.solid .dk-nav a.active { color: var(--dk-ink); }
.dk-header-overlay.solid .dk-circle { border-color: var(--dk-line); background: var(--dk-surface); color: var(--dk-ink); backdrop-filter: none; }

/* Banner: full width at the very top, under the floating header */
body.dk-home-page .hero { position: relative; margin: 0; padding: 0; }
body.dk-home-page .hero-slider { height: min(82vh, 760px); min-height: 480px; border-radius: 0; background: var(--dk-ink); }
body.dk-home-page .hero-slider .slide { border-radius: 0; }
body.dk-home-page .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 180px; background: linear-gradient(rgba(0, 0, 0, 0.55), transparent); pointer-events: none; }

/* Brand pattern strip under the banner (static) */
.dk-pattern { overflow: hidden; padding: 16px 0; background: var(--dk-yellow); }
.dk-pattern-row { display: flex; align-items: center; justify-content: center; gap: 36px; width: max-content; margin: 0 auto; }
.dk-pattern-row img { display: block; flex-shrink: 0; }
.dk-pattern-row .mark-text { height: 20px; }
.dk-pattern-row .mark-text.lamour { height: 17px; }
.dk-pattern-row .mark-icon { height: 32px; }

/* Categories row */
.dk-cats { padding: 64px 0 8px; }
.dk-cats .hm-head { display: flex; align-items: flex-end; justify-content: space-between; }
.dk-cats-nav { display: flex; gap: 8px; }
.dk-cats-nav .dk-circle { width: 42px; height: 42px; font-size: 20px; line-height: 1; }
.dk-cats-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 12px; }
.dk-cats-row::-webkit-scrollbar { display: none; }
.dk-cat { flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px 18px; border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); text-align: center; scroll-snap-align: start; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.dk-cat:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--dk-shadow-lift); }
.dk-cat-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; background: var(--dk-cream); }
.dk-cat-icon img { width: 44px; height: 44px; object-fit: contain; }
.dk-cat strong { font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.dk-cat small { font-size: 11.5px; color: var(--dk-muted); }
.dk-cats .dk-cat-premium { border-color: var(--dk-ink); background: var(--dk-ink); color: #fff; }
.dk-cats .dk-cat-premium strong { color: #fff; }
.dk-cat-premium .dk-cat-icon { background: var(--dk-yellow); color: var(--dk-ink); }
.dk-cat-premium small { color: var(--dk-yellow); }

/* Popular row + food grid use css/home.css; background accents here */
body.dk-home-page .hm-popular { background: linear-gradient(var(--dk-surface), var(--dk-cream)); }
body.dk-home-page .hm-all { background: var(--dk-cream); }
body.dk-home-page .hm-eyebrow { color: #A88F00; }
body.dk-home-page .hm-eyebrow.light { color: var(--dk-yellow); }

/* Premium Menu teaser */
.dk-premium-teaser { position: relative; overflow: hidden; padding: 0; background: radial-gradient(circle at 80% 50%, rgba(246, 212, 1, 0.22), transparent 42%), linear-gradient(135deg, #1A1A1A 0%, #232323 100%); }
.dk-pt-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; overflow: visible; border-radius: 0; background: none; color: #fff; }
.dk-pt-text { position: relative; z-index: 1; padding: 80px 0; }
.dk-pt-crown { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--dk-yellow); color: var(--dk-ink); font-size: 26px; }
.dk-pt-text h2 { margin: 0 0 12px; font-family: var(--dk-display); font-size: 44px; font-weight: 400; line-height: 1.05; }
.dk-pt-text p { max-width: 480px; margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.75); }
.dk-pt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.dk-pt-chips:empty { display: none; }
.dk-pt-chips a { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; transition: border-color 0.2s, background 0.2s; }
.dk-pt-chips a:hover { border-color: var(--dk-yellow); background: rgba(246, 212, 1, 0.12); }
.dk-pt-text .dk-btn-primary { margin-left: 0; }
.dk-pt-art { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.dk-pt-art { padding: 48px 0; }
.dk-pt-video { display: block; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; background: #111; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(246, 212, 1, 0.9); }

/* How it works */
.dk-steps-band { padding: 72px 0; background: var(--dk-surface); }
.dk-steps-band .hm-head { margin-bottom: 36px; }
.dk-howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.dk-howto li { position: relative; padding: 30px 28px; border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); transition: transform 0.2s, box-shadow 0.2s; }
.dk-howto li:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lift); }
.dk-howto-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: var(--dk-yellow); font-family: var(--dk-display); font-size: 22px; }
.dk-howto h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.dk-howto p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--dk-muted); }

/* ---------- Lower home sections (offer, team, reviews, app), redesigned ---------- */

/* Offer: dark card with a big yellow "25%" and a coupon chip */
body.dk-home-page .special-offer { position: relative; overflow: hidden; margin: 0; padding: 0 max(32px, calc((100% - 1176px) / 2)); background: var(--dk-ink); font-family: var(--dk-body); }
body.dk-home-page .special-offer::before { content: ""; position: absolute; right: -140px; top: 50%; width: 600px; height: 600px; border-radius: 50%; background: var(--dk-yellow); transform: translateY(-50%); }
body.dk-home-page .special-offer .offer-content { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 24px; max-width: none; margin: 0; padding: 0; overflow: visible; border-radius: 0; background: none; }
body.dk-home-page .special-offer .offer-text { position: relative; z-index: 1; padding: 80px 0; text-align: left; }
body.dk-home-page .special-offer .offer-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(246, 212, 1, 0.14); color: var(--dk-yellow); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; }
body.dk-home-page .special-offer .offer-title { margin: 18px 0 14px; font-family: var(--dk-display); font-size: 50px; font-weight: 400; line-height: 1.04; color: #fff; }
body.dk-home-page .special-offer .offer-pct { color: var(--dk-yellow); }
body.dk-home-page .special-offer .offer-description { max-width: 440px; margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.72); }
body.dk-home-page .special-offer .offer-description strong { display: inline-block; margin: 0 4px; padding: 3px 12px; border: 1.5px dashed var(--dk-yellow); border-radius: 8px; background: transparent; color: var(--dk-yellow); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; letter-spacing: 0.08em; }
body.dk-home-page .special-offer .offer-btn { height: 54px; padding: 0 34px; border: none; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-home-page .special-offer .offer-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(246, 212, 1, 0.7); }
body.dk-home-page .special-offer .offer-image { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 56px 0; }
body.dk-home-page .special-offer .offer-image img { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--dk-ink); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6); }

/* Team: title + text, then tall portrait cards */
body.dk-home-page .team-section { max-width: none; margin: 0; padding: 80px max(32px, calc((100% - 1176px) / 2)); background: var(--dk-surface); font-family: var(--dk-body); text-align: left; }
body.dk-home-page .team-title { margin: 0 0 10px; font-family: var(--dk-display); font-size: 40px; font-weight: 400; letter-spacing: 0.005em; text-transform: lowercase; text-align: left; }
body.dk-home-page .team-title::first-letter { text-transform: uppercase; }
body.dk-home-page .team-description { max-width: 620px; margin: 0 0 36px; font-size: 15px; line-height: 1.65; color: var(--dk-muted); text-align: left; }
body.dk-home-page .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: none; }
body.dk-home-page .team-card { overflow: hidden; border-radius: 26px; background: var(--dk-cream); box-shadow: none; transition: transform 0.25s, box-shadow 0.25s; }
body.dk-home-page .team-card:hover { transform: translateY(-6px); box-shadow: var(--dk-shadow-lift); }
body.dk-home-page .team-card img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; transition: transform 0.5s; }
body.dk-home-page .team-card:hover img { transform: scale(1.04); }
/* Admin-managed team cards: photo + name/role caption below */
body.dk-home-page .team-grid-db .team-card { display: flex; flex-direction: column; background: var(--dk-surface); border: 1px solid var(--dk-line); }
body.dk-home-page .team-grid-db .team-card .team-noimg { display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--dk-cream); }
body.dk-home-page .team-card-meta { padding: 16px 18px; text-align: left; }
body.dk-home-page .team-card-meta h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--dk-ink); }
body.dk-home-page .team-card-meta span { font-size: 13px; color: var(--dk-muted); }

/* Reviews: quote cards on cream */
body.dk-home-page .reviews { padding: 80px max(32px, calc((100% - 1176px) / 2)); background: var(--dk-cream); font-family: var(--dk-body); }
body.dk-home-page .reviews .section-title-center { margin: 0 0 36px; font-family: var(--dk-display); font-size: 40px; font-weight: 400; letter-spacing: 0.005em; text-transform: lowercase; text-align: left; }
body.dk-home-page .reviews .section-title-center::first-letter { text-transform: uppercase; }
body.dk-home-page .reviews-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: none; margin: 0; }
body.dk-home-page .review-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px 28px; border: 1px solid var(--dk-line); border-radius: 24px; background: var(--dk-surface); box-shadow: none; text-align: left; transition: transform 0.25s, box-shadow 0.25s; }
body.dk-home-page .review-card:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lift); }
body.dk-home-page .review-card::before { content: "\201C"; position: absolute; right: 26px; top: 6px; font-family: Georgia, serif; font-size: 96px; line-height: 1; color: var(--dk-yellow); }
body.dk-home-page .review-stars { justify-content: flex-start; margin-bottom: 16px; }
body.dk-home-page .review-text { flex: 1; margin: 0 0 24px; font-size: 16px; font-style: normal; line-height: 1.65; color: var(--dk-ink); }
body.dk-home-page .reviewer { justify-content: flex-start; padding-top: 18px; border-top: 1px solid var(--dk-line); }
body.dk-home-page .reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--dk-ink); color: var(--dk-yellow); font-weight: 800; }
body.dk-home-page .reviewer-name { font-weight: 800; color: var(--dk-ink); }
body.dk-home-page .reviewer-location { color: var(--dk-muted); }

/* App download: yellow card, phone mockup, real store buttons */
body.dk-home-page .app-download { padding: 72px 32px 80px; background: var(--dk-surface); font-family: var(--dk-body); overflow: visible; }
body.dk-home-page .app-content { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 48px; max-width: 1176px; margin: 0 auto; padding: 0; border-radius: 0; background: none; }
body.dk-home-page .app-mockup { display: flex; justify-content: center; margin: 0; }
body.dk-home-page .phone-image { width: 100%; max-width: 420px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
body.dk-home-page .app-text { text-align: left; }
body.dk-home-page .app-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--dk-ink); color: var(--dk-yellow); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; }
body.dk-home-page .app-title { margin: 16px 0 12px; font-family: var(--dk-display); font-size: 46px; font-weight: 400; line-height: 1.04; color: var(--dk-ink); }
body.dk-home-page .app-description { max-width: 480px; margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--dk-muted); }
body.dk-home-page .app-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
body.dk-home-page .app-feature { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--dk-yellow-soft); font-size: 13.5px; font-weight: 700; color: var(--dk-ink); }
body.dk-home-page .app-feature svg { stroke: var(--dk-ink); }
body.dk-home-page .app-buttons { display: flex; gap: 12px; }
body.dk-home-page .app-store-btn,
body.dk-home-page .play-store-btn { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px; border: none; border-radius: 16px; background: var(--dk-ink); color: #fff; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-home-page .app-store-btn:hover,
body.dk-home-page .play-store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(0, 0, 0, 0.7); }
body.dk-home-page .app-store-btn .btn-small,
body.dk-home-page .play-store-btn .btn-small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, 0.7); }
body.dk-home-page .app-store-btn .btn-large,
body.dk-home-page .play-store-btn .btn-large { display: block; font-size: 17px; font-weight: 800; }

@media (max-width: 1000px) {
    body.dk-home-page .special-offer .offer-content,
    body.dk-home-page .app-content { grid-template-columns: 1fr; }
    body.dk-home-page .special-offer .offer-image,
    body.dk-home-page .app-mockup { display: none; }
    body.dk-home-page .special-offer .offer-text { padding: 56px 0; }
    body.dk-home-page .special-offer::before { display: none; }
    body.dk-home-page .team-grid,
    body.dk-home-page .reviews-container { grid-template-columns: 1fr 1fr; }
    .dk-pt-card { grid-template-columns: 1fr; }
    .dk-pt-art { display: none; }
    .dk-pt-text { padding: 56px 0; }
    .dk-howto { grid-template-columns: 1fr; }
}

/* =====================================================================
   Branches, combos, support, legal, addresses, tracking, 404
   (existing markup and scripts, re-themed for wide screens)
   ===================================================================== */

/* Shared dark hero (branches, combos, support): ink background, yellow glow, "B" watermark */
body.dk-branches-page .branches-hero,
body.dk-combos-page .combos-hero,
body.dk-support-page .support-hero { position: relative; overflow: hidden; padding: 80px max(32px, calc((100% - 1176px) / 2)) 72px; background: radial-gradient(circle at 85% 30%, rgba(246, 212, 1, 0.22), transparent 45%), linear-gradient(135deg, #1A1A1A 0%, #232323 100%); color: #fff; text-align: left; font-family: var(--dk-body); }
body.dk-branches-page .branches-hero::after,
body.dk-combos-page .combos-hero::after,
body.dk-support-page .support-hero::after { content: ""; position: absolute; right: max(32px, calc((100% - 1176px) / 2)); bottom: -70px; width: 300px; height: 340px; background: url("../assets/images/or-logo.png") no-repeat center / contain; opacity: 0.16; transform: rotate(-10deg); pointer-events: none; }
/* Hero text starts at the left edge of the page column, same as every other page */
body.dk-branches-page .branches-hero-content,
body.dk-combos-page .combos-hero-content { position: relative; z-index: 1; max-width: none; margin: 0; padding: 0; text-align: left; }
body.dk-support-page .support-hero > * { position: relative; z-index: 1; }
body.dk-branches-page .branches-hero h1,
body.dk-combos-page .combos-hero h1,
body.dk-support-page .support-hero h1 { margin: 0 0 12px; font-family: var(--dk-display); font-size: 52px; font-weight: 400; line-height: 1.02; color: #fff; }
body.dk-support-page .support-hero h1 span { color: #fff; box-shadow: inset 0 -0.3em 0 var(--dk-yellow); }
body.dk-branches-page .branches-hero p,
body.dk-combos-page .combos-hero p,
body.dk-support-page .support-hero p { max-width: 540px; margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }

/* ---------- Branches ---------- */
body.dk-branches-page .search-location { max-width: 520px; margin: 26px 0 0; border: 1px solid var(--dk-line); border-radius: 999px; background: var(--dk-surface); box-shadow: var(--dk-shadow); overflow: hidden; }
body.dk-branches-page .search-location input { font-family: inherit; }
body.dk-branches-page .search-location button { border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font-weight: 700; }
body.dk-branches-page .branch-stats { padding: 0 32px; background: var(--dk-cream); font-family: var(--dk-body); }
body.dk-branches-page .branch-stats > * { max-width: 1176px; margin-left: auto; margin-right: auto; }
body.dk-branches-page .branch-stat { padding: 22px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); }
body.dk-branches-page .branch-stat h3,
body.dk-branches-page .branch-stat .stat-number { font-family: var(--dk-display); font-weight: 400; color: var(--dk-ink); }
body.dk-branches-page .featured-branch { padding: 56px 32px; background: var(--dk-cream); font-family: var(--dk-body); }
body.dk-branches-page .featured-content { max-width: 1176px; padding: 28px; border: 1px solid var(--dk-line); border-radius: 28px; background: var(--dk-surface); }
body.dk-branches-page .featured-image img { border-radius: 20px; }
body.dk-branches-page .featured-info h2 { font-family: var(--dk-display); font-weight: 400; }
body.dk-branches-page .branch-details { border-radius: 16px; background: var(--dk-cream); }
body.dk-branches-page .featured-info .btn-primary,
body.dk-branches-page .featured-info a[class*="btn"] { border-radius: 999px; }
body.dk-branches-page .all-branches { padding: 64px 32px; background: var(--dk-surface); font-family: var(--dk-body); }
body.dk-branches-page .all-branches h2 { max-width: 1176px; margin: 0 auto 26px; font-family: var(--dk-display); font-weight: 400; font-size: 34px; text-align: left; }
body.dk-branches-page .branches-grid { max-width: 1176px; gap: 20px; }
body.dk-branches-page .branch-card { border: 1px solid var(--dk-line); border-radius: 22px; box-shadow: none; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-branches-page .branch-card:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lift); }
body.dk-branches-page .branch-info h3 { font-size: 17px; font-weight: 800; }
body.dk-branches-page .branch-actions a,
body.dk-branches-page .branch-actions button { border-radius: 999px; font-family: inherit; font-weight: 700; }
body.dk-branches-page .coming-soon,
body.dk-branches-page .new-branches { background: var(--dk-ink); font-family: var(--dk-body); }

/* ---------- Combos ---------- */
body.dk-combos-page .combos-hero .promo-badge { margin-bottom: 14px; border-radius: 999px; background: var(--dk-ink); color: var(--dk-yellow); }
body.dk-combos-page .combos-section { max-width: 1240px; margin: 0 auto; padding: 48px 32px 80px; font-family: var(--dk-body); }
body.dk-combos-page .combos-section .section-header h2 { font-family: var(--dk-display); font-size: 30px; font-weight: 400; }
body.dk-combos-page .combos-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
body.dk-combos-page .combo-card { border: 1px solid var(--dk-line); border-radius: 22px; box-shadow: none; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
body.dk-combos-page .combo-card:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lift); }
body.dk-combos-page .combo-card.featured { border: 2px solid var(--dk-yellow); }
body.dk-combos-page .combo-title { font-size: 18px; font-weight: 800; }
body.dk-combos-page .combo-price { font-weight: 800; color: var(--dk-ink); }
body.dk-combos-page .combo-tag { border-radius: 999px; }
body.dk-combos-page .combo-card button,
body.dk-combos-page .combo-card a[class*="btn"] { border-radius: 999px; font-family: inherit; font-weight: 700; }

/* ---------- Support: contact + hours on the left, FAQ on the right ---------- */
body.dk-support-page { background: var(--dk-cream); }
body.dk-support-page .support-content { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px 28px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 40px 32px 80px; font-family: var(--dk-body); }
body.dk-support-page .contact-card { grid-column: 1; grid-row: 1; }
body.dk-support-page .hours-card { grid-column: 1; grid-row: 2; }
body.dk-support-page .faq-card { grid-column: 2; grid-row: 1 / span 3; }
body.dk-support-page .social-links { grid-column: 1; grid-row: 3; justify-content: flex-start; }
body.dk-support-page .contact-card,
body.dk-support-page .hours-card,
body.dk-support-page .faq-card { margin: 0; padding: 26px; border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); box-shadow: none; }
body.dk-support-page .contact-card h2,
body.dk-support-page .hours-card h3,
body.dk-support-page .faq-card h3 { font-size: 17px; font-weight: 800; }
body.dk-support-page .contact-option { border-radius: 16px; transition: background 0.2s; }
body.dk-support-page .contact-option:hover { background: var(--dk-cream); }
body.dk-support-page .hours-row.highlight { border-radius: 12px; background: var(--dk-yellow-soft); }
body.dk-support-page .faq-item { border: 1px solid var(--dk-line); border-radius: 14px; background: var(--dk-surface); }
body.dk-support-page .faq-question { font-weight: 700; }
body.dk-support-page .faq-toggle { background: var(--dk-yellow); color: var(--dk-ink); }
body.dk-support-page .social-link { border: 1px solid var(--dk-line); background: var(--dk-surface); }

/* ---------- Legal pages: sticky contents + readable text ---------- */
body.dk-legal-page .policy-page { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 8px 32px 80px; background: none; font-family: var(--dk-body); color: var(--dk-ink); }
body.dk-legal-page .policy-header { grid-column: 1 / -1; margin: 0; padding: 0; border: none; text-align: left; }
body.dk-legal-page .policy-header h1 { display: none; } /* the band already shows the title */
body.dk-legal-page .policy-header .last-updated { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--dk-surface); border: 1px solid var(--dk-line); font-size: 12.5px; font-weight: 700; color: var(--dk-muted); }
body.dk-legal-page .toc { position: sticky; top: 100px; margin: 0; padding: 22px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); max-height: calc(100vh - 120px); overflow-y: auto; }
body.dk-legal-page .toc h3 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dk-muted); }
body.dk-legal-page .toc ul { margin: 0; padding: 0; list-style: none; }
body.dk-legal-page .toc li { margin: 0; }
body.dk-legal-page .toc li::before { display: none; }
body.dk-legal-page .toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--dk-ink-2); text-decoration: none; }
body.dk-legal-page .toc a:hover { background: var(--dk-cream); color: var(--dk-ink); }
body.dk-legal-page .policy-content { max-width: none; padding: 40px 48px; border: 1px solid var(--dk-line); border-radius: 24px; background: var(--dk-surface); font-size: 15px; line-height: 1.75; }
body.dk-legal-page .policy-content h2 { margin: 36px 0 12px; padding: 0; border: none; font-family: var(--dk-display); font-size: 24px; font-weight: 400; scroll-margin-top: 100px; }
body.dk-legal-page .policy-content h2::after { display: none; }
body.dk-legal-page .policy-content h2:first-child { margin-top: 0; }
body.dk-legal-page .policy-content h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 800; }
body.dk-legal-page .policy-content p,
body.dk-legal-page .policy-content li { color: var(--dk-ink-2); }
body.dk-legal-page .policy-content li::marker { color: var(--dk-yellow-dark); }
body.dk-legal-page .highlight-box { border-left: 4px solid var(--dk-yellow); border-radius: 12px; background: #FFFDF0; }
body.dk-legal-page .contact-box { border-radius: 18px; background: var(--dk-ink); color: #fff; }

/* ---------- Delivery addresses ---------- */
body.dk-addresses-page .page-header-yellow { display: none !important; }
body.dk-addresses-page .addresses-page { max-width: 1240px; min-height: 0; margin: 0 auto; padding: 8px 32px 80px; font-family: var(--dk-body); }
body.dk-addresses-page .addresses-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
body.dk-addresses-page .addresses-list[style*="display: none"] { display: none !important; }
body.dk-addresses-page .address-card { margin: 0; padding: 20px 22px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); box-shadow: none; }
body.dk-addresses-page .address-icon { border-radius: 12px; background: var(--dk-yellow-soft); }
body.dk-addresses-page .address-label { font-weight: 800; }
body.dk-addresses-page .default-badge { border-radius: 999px; background: var(--dk-ink); color: var(--dk-yellow); }
body.dk-addresses-page .addresses-empty,
body.dk-addresses-page .addresses-loading { padding: 60px 24px; border: 1.5px dashed var(--dk-line); border-radius: 20px; background: var(--dk-surface); text-align: center; }
body.dk-addresses-page .fab-btn { right: max(32px, calc((100vw - 1176px) / 2)); bottom: 40px; border-radius: 999px; background: var(--dk-ink); color: var(--dk-yellow); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6); }
body.dk-addresses-page .modal-content { border-radius: 24px; font-family: var(--dk-body); }
body.dk-addresses-page .modal .btn-primary { border-radius: 999px; background: var(--dk-ink); color: #fff; }

/* ---------- Order tracking ---------- */
body.dk-tracking-page { padding-bottom: 0; background: var(--dk-cream); }
body.dk-tracking-page .tracking-header-bar { display: none !important; }
body.dk-tracking-page .tracking-content,
body.dk-tracking-page .tracking-loader,
body.dk-tracking-page .tracking-error { max-width: 1000px; margin: 0 auto; padding: 8px 32px 80px; font-family: var(--dk-body); }
body.dk-tracking-page .status-card { border-radius: 24px; background: var(--dk-ink); color: #fff; box-shadow: none; }
body.dk-tracking-page .status-card .eta-value { color: var(--dk-yellow); }
body.dk-tracking-page .timeline-card,
body.dk-tracking-page .detail-card { border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); box-shadow: none; }
body.dk-tracking-page .details-grid { gap: 16px; }
body.dk-tracking-page .order-id-badge { border-radius: 999px; background: var(--dk-yellow-soft); color: var(--dk-ink); }
body.dk-tracking-page .order-again-btn,
body.dk-tracking-page .call-rider-btn,
body.dk-tracking-page .retry-btn { border-radius: 999px; font-family: inherit; }

/* ---------- 404 ---------- */
body.dk-notfound-page { background: var(--dk-cream); }
body.dk-notfound-page > .header { display: none !important; }
body.dk-notfound-page .container { max-width: 760px; margin: 0 auto; padding: 64px 32px 80px; font-family: var(--dk-body); }
body.dk-notfound-page .error-code { font-family: var(--dk-display); font-weight: 400; color: var(--dk-ink); }
body.dk-notfound-page .error-title { font-family: var(--dk-display); font-weight: 400; }
body.dk-notfound-page .btn { border-radius: 999px; }
body.dk-notfound-page .btn-primary { background: var(--dk-ink); color: #fff; }
body.dk-notfound-page .suggestion-link { border-radius: 999px; }

@media (max-width: 1000px) {
    body.dk-support-page .support-content,
    body.dk-legal-page .policy-page { grid-template-columns: 1fr; }
    body.dk-support-page .support-content > * { grid-column: auto !important; grid-row: auto !important; }
    body.dk-legal-page .toc { position: static; }
}

/* Yellow marker under the last word of page titles (added by js/site-shell.js) */
.dk-mark { padding: 0 0.04em; box-shadow: inset 0 -0.3em 0 var(--dk-yellow); }

/* Combos: perks + call to action under the combo grid */
.dk-combo-perks { padding: 0 0 72px; font-family: var(--dk-body); }
.dk-combo-perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dk-perk { padding: 26px; border: 1px solid var(--dk-line); border-radius: 22px; background: var(--dk-surface); }
.dk-perk-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--dk-yellow-soft); font-size: 22px; }
.dk-perk h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.dk-perk p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--dk-muted); }
.dk-combo-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 34px 40px; border-radius: 24px; background: var(--dk-yellow); }
.dk-combo-cta h3 { margin: 0 0 4px; font-family: var(--dk-display); font-size: 28px; font-weight: 400; }
.dk-combo-cta p { margin: 0; font-size: 14.5px; color: var(--dk-ink-2); }
.dk-combo-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }
.dk-combo-cta .dk-btn-dark { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px; background: var(--dk-ink); color: #fff; font-weight: 700; }
.dk-combo-cta .dk-btn-ghost { background: transparent; border-color: rgba(26, 26, 26, 0.35); }
body.dk-combos-page { background: var(--dk-cream); }
@media (max-width: 1000px) {
    .dk-combo-perks-grid { grid-template-columns: 1fr; }
    .dk-combo-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Order placed (confirmation) ---------- */
body.dk-placed-page { padding-bottom: 0; }
body.dk-placed-page .order-header,
body.dk-placed-page .success-section { display: none !important; }
body.dk-placed-page .dk-placed-band .dk-title::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 14px; border-radius: 50%; background: #2E7D32; color: #fff; font-family: var(--dk-body); font-size: 22px; font-weight: 800; vertical-align: 6px; }
body.dk-placed-page .order-confirmation { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px 28px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 8px 32px 24px; font-family: var(--dk-body); color: var(--dk-ink); }
body.dk-placed-page .order-confirmation > :nth-child(2) { grid-column: 2; grid-row: 1; }          /* ETA */
body.dk-placed-page .order-confirmation > :nth-child(3) { grid-column: 1; grid-row: 1 / span 2; } /* items */
body.dk-placed-page .order-confirmation > :nth-child(4) { grid-column: 1; grid-row: 3; }          /* delivery info */
body.dk-placed-page .order-confirmation > :nth-child(5) { grid-column: 2; grid-row: 2 / span 2; } /* payment */
body.dk-placed-page .eta-card { margin: 0; padding: 22px 24px; border-radius: 20px; background: var(--dk-ink); color: #fff; box-shadow: none; }
body.dk-placed-page .eta-icon { background: var(--dk-yellow); color: var(--dk-ink); }
body.dk-placed-page .eta-label { color: rgba(255, 255, 255, 0.7); }
body.dk-placed-page .eta-value { font-family: var(--dk-display); font-size: 26px; font-weight: 400; color: var(--dk-yellow); }
body.dk-placed-page .order-card { margin: 0; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-surface); box-shadow: none; overflow: hidden; }
body.dk-placed-page .card-header { padding: 18px 24px; border-bottom: 1px solid var(--dk-line); }
body.dk-placed-page .card-header h3 { font-size: 16px; font-weight: 800; }
body.dk-placed-page .order-id-badge { border-radius: 999px; background: var(--dk-yellow-soft); color: var(--dk-ink); font-weight: 800; }
body.dk-placed-page .card-body { padding: 8px 24px 20px; }
body.dk-placed-page .order-item { padding: 14px 0; }
body.dk-placed-page .item-qty { border-radius: 10px; background: var(--dk-yellow-soft); color: var(--dk-ink); font-weight: 800; }
body.dk-placed-page .item-name { font-size: 14.5px; font-weight: 700; }
body.dk-placed-page .item-price { font-weight: 800; }
body.dk-placed-page .info-icon { border-radius: 12px; background: var(--dk-yellow-soft); }
body.dk-placed-page .summary-row.total { font-size: 18px; font-weight: 800; }
body.dk-placed-page .payment-badge { border-radius: 999px; }
body.dk-placed-page .action-buttons { position: static; display: flex; justify-content: center; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 16px 32px 72px; background: none; box-shadow: none; border: none; }
body.dk-placed-page .btn-track,
body.dk-placed-page .btn-home { flex: 0 0 auto; min-width: 200px; height: 54px; padding: 0 28px; border-radius: 999px; font-family: var(--dk-body); font-size: 15px; font-weight: 700; }
body.dk-placed-page .btn-track { background: var(--dk-ink); color: #fff; }
body.dk-placed-page .btn-home { border: 1px solid var(--dk-line); background: var(--dk-surface); color: var(--dk-ink); }

@media (max-width: 1000px) {
    body.dk-placed-page .order-confirmation { grid-template-columns: 1fr; }
    body.dk-placed-page .order-confirmation > * { grid-column: auto !important; grid-row: auto !important; }
}

@media (max-width: 1100px) {
    body.dk-favorites-page .favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    body.dk-notifications-page .notifications-page { grid-template-columns: 1fr; }
    body.dk-notifications-page .notifications-settings { position: static; }
    body.dk-favorites-page .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.dk-login-page .login-container { grid-template-columns: 1fr; }
    body.dk-login-page .login-card, body.dk-login-page .login-benefits { padding: 40px; }
    body.dk-cart-page .cart-container,
    body.dk-checkout-page .checkout-container,
    body.dk-profile-page .profile-page { grid-template-columns: 1fr; }
    body.dk-page .order-summary,
    body.dk-page .checkout-summary,
    body.dk-profile-page .profile-header { position: static; }
    body.dk-checkout-page .saved-addresses { grid-template-columns: 1fr; }
    .dk-steps li + li::before { width: 18px; }
}

/* ---------- Footer ---------- */
.dk-footer { padding: 60px 0 0; border-top: 1px solid var(--dk-line); background: var(--dk-surface); }
.dk-footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.dk-footer-brand img { display: block; height: 30px; margin-bottom: 16px; }
.dk-footer-brand p { max-width: 260px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--dk-muted); }
.dk-footer-col { display: flex; flex-direction: column; gap: 10px; }
.dk-footer-col h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 800; }
.dk-footer-col a { font-size: 13px; color: var(--dk-muted); transition: color 0.2s; }
.dk-footer-col a:hover { color: var(--dk-ink); }
.dk-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 26px; border-top: 1px solid var(--dk-line); }
.dk-footer-bottom p { margin: 0; font-size: 12px; color: var(--dk-muted); }
.dk-socials { display: flex; gap: 10px; }
.dk-socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--dk-line); border-radius: 50%; color: var(--dk-ink); transition: background 0.2s, border-color 0.2s; }
.dk-socials a:hover { border-color: var(--dk-yellow); background: var(--dk-yellow); }

@keyframes dk-in { from { transform: translateY(8px); } to { transform: none; } }
@keyframes dk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .dk-card, .dk-card-media img, .dk-add { animation: none; transition: none; }
}

/* ---------- Narrower desktops and tablets (769px to 1180px) ---------- */
@media (max-width: 1180px) {
    .dk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dk-nav { gap: 22px; }
}
@media (max-width: 1000px) {
    .dk-wrap { padding: 0 24px; }
    .dk-header-inner { gap: 20px; }
    .dk-nav { gap: 16px; }
    .dk-nav a { font-size: 13px; }
    .dk-btn-primary { padding: 0 18px; }
    .dk-band-inner { flex-direction: column; align-items: stretch; }
    .dk-search { max-width: none; }
    .dk-shop-inner { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
    .dk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dk-footer-top { grid-template-columns: repeat(2, 1fr); }
    .dk-footer-brand { grid-column: 1 / -1; }
    .dk-product-grid { grid-template-columns: 1fr; gap: 28px; }
    .dk-gallery { position: static; max-width: 560px; }
    .dk-buy-title { font-size: 34px; }
}
@media (max-width: 880px) {
    .dk-btn-primary { display: none; }
}
