:root {
    --shop-primary: #840283;
    --shop-primary-hover: #a503a3;
    --shop-primary-rgb: 132, 2, 131;
    --shop-success: #2a9d6e;
    --shop-bg: #ffffff;
    --shop-surface: #f7f7f8;
    --shop-border: #e8e4e8;
    --shop-text: #1a1a1a;
    --shop-text-muted: #6b7280;
    --shop-card-radius: 16px;
    --shop-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.market-body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--shop-text);
    background: var(--shop-surface);
    -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.fixme-branding-header {
    background: #fff;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--shop-text-muted);
}
.fixme-branding-header a { color: var(--shop-primary); text-decoration: none; font-weight: 500; }
.fixme-branding-rotate { display: inline-block; transition: opacity 0.28s ease; }
.fixme-branding-rotate.is-fading { opacity: 0; }

.shell { min-height: 100vh; }
.top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid #ebe6ee;
}
.bar, .page, .cat-rail { width: min(1440px, calc(100% - 32px)); margin: 0 auto; }
.bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    position: relative;
}
.bar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    border-bottom: 1px solid #ebe6ee;
    transform: translateX(-50%);
}
.logo {
    background: none;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.logo img { height: 36px; width: auto; display: block; }
.search-wrap { position: relative; order: 5; flex: 1 1 100%; }
.search-wrap .ico { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--shop-text-muted); }
.search {
    width: 100%;
    height: 44px;
    background: #f1eef3;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 16px 0 44px;
    color: #17111a;
    font-size: 14px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.search::placeholder { color: #6b6470; }
.search:focus {
    outline: none;
    border-color: rgba(122, 26, 130, 0.4);
    background: #fff;
}
.location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    min-width: 0;
    max-width: 100%;
    background: transparent;
    border: 1px solid rgba(122, 26, 130, 0.25);
    color: #7a1a82;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
.location .ico { width: 16px; height: 16px; flex: 0 0 auto; }
.location-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.location:hover { background: #f5e9f6; }
.ghost {
    background: #fff;
    border: 1.5px solid rgba(var(--shop-primary-rgb), 0.28);
    color: var(--shop-primary);
    border-radius: 999px;
    padding: 8px 14px;
}
.solid {
    background: var(--shop-primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}
.solid:hover:not(:disabled) { background: var(--shop-primary-hover); }
.solid:disabled { opacity: 0.6; cursor: default; }
.page { padding: 18px 0 132px; }
.cat-rail {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: 140px;
    padding: 0;
    scrollbar-width: none;
    transition: max-height 0.28s ease, opacity 0.22s ease;
}
.top.cats-hidden .cat-rail {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
.top.cats-hidden .bar::after { border-bottom-color: transparent; }
.cat-rail::-webkit-scrollbar { display: none; }
.rail-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 16px 12px 12px;
    color: #7a1a82;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 132px;
    color: #7a1a82;
    font-weight: 650;
}
.page-loading { min-height: 70vh; }
.spin {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(122, 26, 130, 0.18);
    border-top-color: #7a1a82;
    border-radius: 50%;
    display: inline-block;
    animation: shop-spin 0.7s linear infinite;
}
@keyframes shop-spin { to { transform: rotate(360deg); } }
.cat-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: rgba(23, 17, 26, 0.8);
    font-size: 12px;
    font-weight: 600;
    padding: 16px 12px 12px;
    transition: color 0.15s ease;
}
.cat-chip > span:last-child { white-space: nowrap; }
.cat-chip:hover { color: #7a1a82; }
.cat-ico {
    width: 44px;
    height: 44px;
    border-radius: 1.575rem;
    display: grid;
    place-items: center;
    background: #f5e9f6;
    color: #7a1a82;
    transition: background 0.15s ease, color 0.15s ease;
}
.cat-chip:hover .cat-ico { background: rgba(122, 26, 130, 0.15); }
.cat-chip.active { color: #7a1a82; border-bottom-color: #7a1a82; }
.cat-chip.active .cat-ico,
.cat-chip.active:hover .cat-ico { background: #7a1a82; color: #fff; }
.ico { width: 20px; height: 20px; display: block; }
.bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 0;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 999px;
    border: 1px solid rgba(122, 26, 130, 0.25);
    background: #fff;
    color: #7a1a82;
    display: grid;
    place-items: center;
    transition: background 0.15s ease;
}
.icon-btn:hover { background: #f5e9f6; }
.icon-btn .ico { width: 20px; height: 20px; display: block; margin: 0; }
.login-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 4px 0 4px;
    background: #7a1a82;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.15s ease;
}
.login-pill:hover { opacity: 0.9; }
.login-pill .avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}
.account { position: relative; }
.account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    min-width: 168px;
    padding: 6px;
    background: #fff;
    border: 1px solid #ebe6ee;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(23, 17, 26, 0.14);
}
.account-menu button {
    width: 100%;
    border: 0;
    background: none;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    color: #c0262d;
}
.account-menu button:hover { background: #fde8ee; }
.signout-card { width: min(420px, 100%); }
.signout-card h2 { margin: 8px 0 8px; font-size: 1.5rem; }
.signout-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.signout-actions .ghost, .signout-actions .solid { min-width: 108px; height: 44px; border-radius: 999px; }
.hero {
    overflow: hidden;
    border-radius: 28px;
    background: var(--shop-primary);
    color: #fff;
    margin-bottom: 36px;
}
.hero-copy { padding: 28px 22px; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: #fff; }
.hero-copy p { margin: 0; max-width: 460px; color: rgba(255,255,255,0.82); }
.hero-pill { width: fit-content; border-radius: 999px; background: rgba(255,255,255,0.15); padding: 4px 12px; font-size: 12px; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-primary, .hero-secondary { border-radius: 999px; padding: 12px 18px; font-weight: 800; }
.hero-primary { background: #fff; color: var(--shop-primary); border: 0; }
.hero-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.hero-steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-steps li { display: flex; gap: 12px; padding: 18px 20px; background: var(--shop-primary); }
.hero-steps strong, .hero-steps span { display: block; }
.hero-steps span { color: rgba(255,255,255,0.75); font-size: 14px; }
.popular-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.popular-scroll .square,
.popular-scroll .card,
.popular-scroll .event-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
}
@media (min-width: 700px) {
    .popular-scroll .square,
    .popular-scroll .card,
    .popular-scroll .event-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (min-width: 1100px) {
    .popular-scroll .square,
    .popular-scroll .card,
    .popular-scroll .event-card { flex-basis: calc((100% - 48px) / 4); }
}
.h-scroll { position: relative; }
.h-scroll-btn {
    display: none;
    place-items: center;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid #ebe6ee;
    border-radius: 999px;
    background: #fff;
    color: #17111a;
    box-shadow: 0 8px 24px rgba(23, 17, 26, 0.16);
    cursor: pointer;
}
.h-scroll-btn .ico { width: 22px; height: 22px; }
.h-scroll-btn.prev { left: 8px; }
.h-scroll-btn.next { right: 8px; }
.h-scroll-btn:hover { background: #f5e9f6; color: #7a1a82; }
.search-vendors .h-scroll-btn:not([hidden]),
.market-vendors .h-scroll-btn:not([hidden]) { display: grid; }
@media (min-width: 700px) {
    .h-scroll-btn:not([hidden]) { display: grid; }
    .h-scroll.can-next .popular-scroll {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent);
    }
    .h-scroll.can-prev .popular-scroll {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 72px);
        mask-image: linear-gradient(to right, transparent, #000 72px);
    }
    .h-scroll.can-prev.can-next .popular-scroll {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
        mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
    }
}
.cards, .grid, .squares, .shops { display: grid; gap: 16px; }
.cards, .grid, .squares, .shops { grid-template-columns: 1fr; margin-bottom: 8px; }
.shops.item-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 699px) {
    .shops.item-grid .product .meta { padding: 8px 8px 10px; }
    .shops.item-grid .photo-pad .photo { height: 120px; }
    .shops.item-grid .add-btn { height: 32px; font-size: 13px; }
    .shops.item-grid .add-btn.is-unavailable {
        height: auto;
        min-height: 32px;
        padding: 6px 8px;
        font-size: 12px;
    }
    .shops.item-grid .add-btn.is-unavailable small {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 10px;
    }
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 999px;
    background: #7a1a82;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}
.login-card {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 24px;
    padding: 28px 24px 22px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.login-logo { height: 34px; }
.login-kicker { color: var(--shop-primary); font-weight: 700; font-size: 13px; margin: 16px 0 4px; }
.login-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: #f4f3f5;
    width: 32px;
    height: 32px;
    border-radius: 999px;
}
.phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    padding: 4px 4px 4px 14px;
    margin: 16px 0;
}
.phone-row span { font-weight: 700; color: var(--shop-text-muted); }
.phone-row input, .otp {
    border: 0;
    width: 100%;
    padding: 12px;
    background: transparent;
    font-size: 18px;
}
.phone-row input:focus, .otp:focus { outline: none; }
.otp {
    letter-spacing: 0.4em;
    text-align: center;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    margin: 12px 0;
}
.login-switch { margin: 0 0 16px; text-align: center; font-size: 13px; line-height: 1.4; color: var(--shop-text-muted); font-weight: 500; }
.login-switch .linkish { font-size: 13px; font-weight: 700; }
.remember { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; color: var(--shop-text-muted); font-weight: 600; }
.remember input { width: 16px; height: 16px; margin: 0; }
.login-card .login-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth-card { width: min(480px, 100%); }
.auth-head { display: flex; align-items: center; gap: 12px; margin: 0 28px 18px 0; }
.auth-mark { width: 48px; height: 48px; border-radius: 16px; background: #f5e9f6; color: #7a1a82; display: grid; place-items: center; flex-shrink: 0; }
.auth-mark .ico { width: 24px; height: 24px; }
.auth-kicker { margin: 0; color: #7a1a82; font-size: 14px; font-weight: 700; }
.auth-card h2 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.auth-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.auth-steps.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-step { display: flex; align-items: center; gap: 8px; min-width: 0; border-radius: 12px; padding: 8px 10px; background: #f1eef3; color: #6b6470; font-size: 12px; font-weight: 650; line-height: 1.2; }
.auth-step.is-active { background: #f5e9f6; color: #7a1a82; }
.auth-step.is-done { background: #e6f4ec; color: #12784a; }
.auth-step i { width: 20px; height: 20px; border-radius: 999px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.auth-step i .ico { width: 12px; height: 12px; }
.auth-step span { min-width: 0; }
.auth-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 650; }
.auth-phone { display: flex; height: 48px; border: 1px solid #ebe6ee; border-radius: 12px; background: #fff; }
.auth-phone:focus-within { border-color: #7a1a82; box-shadow: 0 0 0 3px rgba(122, 26, 130, 0.15); }
.auth-code-pick { position: relative; flex: 0 0 auto; }
.auth-code-btn {
    height: 46px;
    border: 0;
    border-right: 1px solid #ebe6ee;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: #fff;
    padding: 0 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    color: #17111a;
    cursor: pointer;
    white-space: nowrap;
}
.auth-code-menu {
    position: absolute;
    z-index: 6;
    top: calc(100% + 6px);
    left: 0;
    margin: 0;
    padding: 4px;
    list-style: none;
    min-width: 132px;
    max-height: 240px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ebe6ee;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(23, 17, 26, 0.12);
}
.auth-code-option {
    width: 100%;
    border: 0;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    color: #17111a;
    cursor: pointer;
}
.auth-code-option:hover,
.auth-code-option.is-selected { background: #f5e9f6; color: #7a1a82; }
.auth-card .login-switch { margin: 28px 0 0; }
.auth-phone input { border: 0; min-width: 0; flex: 1; padding: 0 12px; background: transparent; font-size: 14px; }
.auth-phone input:focus { outline: none; }
.auth-note { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: #6b6470; }
.auth-card .remember { margin-top: 14px; }
.auth-card .login-submit { height: 48px; margin-top: 16px; border-radius: 12px; }
.auth-card .login-submit .ico { width: 16px; height: 16px; }
.auth-legal { margin: 14px 0 0; text-align: center; font-size: 12px; line-height: 1.45; color: #6b6470; }
.auth-change { display: inline-block; margin: 4px 0 14px; padding: 0; }
.auth-card .otp { height: 56px; margin: 0; border-radius: 12px; font-size: 24px; font-weight: 800; letter-spacing: 0.45em; }
.auth-resend { width: 100%; height: 40px; margin-top: 8px; border: 1px solid #ebe6ee; border-radius: 12px; background: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.auth-input { display: block; width: 100%; height: 44px; margin: 0 0 12px; border: 1px solid #ebe6ee; border-radius: 12px; padding: 0 12px; font-size: 14px; background: #fff; }
.auth-readonly { background: #f1eef3; }
.auth-card .error { margin: 10px 0 0; }
@media (max-width: 480px) {
    .auth-grid { grid-template-columns: 1fr; }
}
.is-hidden { display: none !important; }
.photo-pad { padding: 10px 10px 0; background: #f3f4f6; }
.photo-pad .photo { height: 150px; border-radius: 12px; }
.product { background: #f7f7f8; border: 0; }
.product .meta { padding: 10px 12px 12px; }
.deliver { margin: 4px 0 0; font-size: 12px; color: var(--shop-text-muted); }
.qty-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.qty-row button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--shop-border);
    background: #fff;
}
.qty-row .plus { background: var(--shop-primary); color: #fff; border-color: var(--shop-primary); }
.add-btn {
    width: 100%;
    margin-top: 8px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: var(--shop-primary);
    color: #fff;
    font-weight: 700;
}
.add-btn.is-unavailable,
.pdp-unavailable,
.menu-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 8px;
    height: auto;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f3f0f4;
    color: #6b6470;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    pointer-events: none;
}
.add-btn.is-unavailable small,
.pdp-unavailable small,
.menu-unavailable small {
    max-width: 100%;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #6b6470;
    overflow-wrap: anywhere;
}
.pdp-actions.catalogue-book {
    flex-direction: column;
    align-items: stretch;
}
.pdp-actions.catalogue-book > * {
    width: 100%;
    min-width: 0;
}
.pdp-actions.catalogue-book label {
    display: block;
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b6470;
}
.pdp-actions.catalogue-book .muted {
    margin: 0;
}
.pdp-actions.catalogue-book .field {
    margin: 6px 0 0;
}
.pdp-actions.catalogue-book .pdp-add,
.pdp-actions.catalogue-book .pdp-browse {
    flex: none;
    width: 100%;
    white-space: nowrap;
}
.view-cart {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 26;
    width: max-content;
    max-width: calc(100% - 32px);
    border: 0;
    border-radius: 16px;
    background: var(--shop-primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 8px;
    box-shadow: 0 12px 28px rgba(122, 26, 130, 0.32);
}
.view-cart-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.view-cart-copy { display: flex; align-items: baseline; gap: 6px; line-height: 1.2; min-width: 0; }
.view-cart-copy strong { font-size: 13px; white-space: nowrap; }
.view-cart-copy small { color: rgba(255, 255, 255, 0.75); font-weight: 500; white-space: nowrap; }
.view-cart-total { font-size: 14px; font-weight: 800; white-space: nowrap; }
@media (min-width: 1100px) {
    .view-cart { bottom: 22px; }
}

.guide-title, .guide-head h1, .guide-head h2, .checkout-grid h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
}
.guide-head { margin-bottom: 16px; }
.guide-head p, .guide-section > .guide-head p { color: var(--shop-text-muted); margin: 0; }
.guide-section { margin-bottom: 36px; }
.vendor-band { margin-bottom: 80px; }
.guide-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: 1px dashed var(--shop-border);
    background: #fff;
    border-radius: 24px;
    padding: 40px 20px;
}
.guide-empty > span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(var(--shop-primary-rgb), 0.1);
    color: var(--shop-primary);
    display: grid;
    place-items: center;
    font-size: 22px;
}
.guide-empty p { max-width: 360px; color: var(--shop-text-muted); margin: 0; }
.cart-empty {
    max-width: 28rem;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    border: 1px solid #ebe6ee;
    background: #fff;
    border-radius: 28px;
    padding: 32px 24px;
}
.cart-empty h1 { font-size: 1.5rem; font-weight: 800; margin: 0; letter-spacing: -0.03em; }
.cart-empty p { margin: 0; color: #6b6470; }
.cart-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #f5e9f6;
    color: #7a1a82;
    display: grid;
    place-items: center;
}
.cart-empty-icon.success { background: #e6f4ec; color: #12784a; }
.cart-empty-icon .ico { width: 32px; height: 32px; }
.cart-cta { border-radius: 999px; padding: 12px 24px; font-weight: 800; }
.checkout-grid { display: grid; gap: 24px; }
.cart-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.cart-head h1 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.cart-head p { margin: 4px 0 0; font-size: 14px; color: #6b6470; }
.clear-cart { border: 0; background: none; padding: 0; color: #6b6470; font-size: 14px; font-weight: 650; }
.clear-cart:hover { color: #c0262d; }
.ship-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.shipment { background: #fff; border: 1px solid #ebe6ee; border-radius: 16px; overflow: hidden; }
.shipment header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #ebe6ee; }
.vend-ava { width: 40px; height: 40px; border-radius: 12px; background: #7a1a82; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.ship-title { min-width: 0; flex: 1; }
.ship-title p { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6b6470; }
.ship-title h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.ship-name { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: inherit; }
.ship-name:hover { color: #7a1a82; }
.ship-eta { display: none; align-items: center; gap: 4px; border-radius: 999px; background: #f1eef3; padding: 4px 10px; font-size: 12px; font-weight: 650; }
.ship-eta .ico { width: 14px; height: 14px; }
.ship-remove { width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: #6b6470; display: grid; place-items: center; flex-shrink: 0; }
.ship-remove:hover { background: #f1eef3; color: #c0262d; }
.ship-remove .ico { width: 16px; height: 16px; }
.shipment ul { list-style: none; margin: 0; padding: 0; }
.ship-line { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid #ebe6ee; }
.ship-line:first-child { border-top: 0; }
.ship-thumb { width: 56px; height: 56px; border-radius: 12px; background: #f1eef3 center/cover no-repeat; flex-shrink: 0; }
.ship-thumb-empty { display: grid; place-items: center; color: rgba(107, 100, 112, 0.5); }
.ship-thumb-empty .ico { width: 20px; height: 20px; }
.ship-copy { flex: 1; min-width: 0; }
.ship-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ship-copy p { margin: 2px 0 0; color: #6b6470; font-size: 14px; }
.ship-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ship-side b { font-size: 14px; }
.qty-pill { display: flex; align-items: center; height: 32px; border-radius: 999px; background: #7a1a82; color: #fff; box-shadow: 0 4px 12px rgba(122, 26, 130, 0.25); }
.qty-pill button { width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: #fff; display: grid; place-items: center; padding: 0; }
.qty-pill button:hover { background: rgba(255, 255, 255, 0.15); }
.qty-pill .ico { width: 14px; height: 14px; }
.qty-pill span { min-width: 16px; text-align: center; font-size: 13px; font-weight: 800; }
.shipment footer { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #ebe6ee; background: rgba(241, 238, 243, 0.4); padding: 12px 16px; }
.meter { display: flex; align-items: center; gap: 8px; border-radius: 12px; background: #f1eef3; padding: 10px 12px; font-size: 14px; }
.meter .ico { width: 16px; height: 16px; color: #7a1a82; flex-shrink: 0; }
.meter-free { background: #e6f4ec; color: #12784a; }
.meter-free .ico { color: #12784a; }
.fee-free { color: #12784a; }
.cart-saving { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; border-radius: 12px; background: #e6f4ec; color: #12784a; padding: 12px 16px; font-size: 14px; font-weight: 650; }
.cart-saving .ico { width: 16px; height: 16px; }
.pay-confirm { z-index: 80; background: rgba(23, 17, 26, 0.82); overflow: auto; }
.pay-confirm .location-card { width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto; }
.pay-confirm .saved-address { margin-top: 8px; }
.pay-confirm label { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #6b6470; }
.pay-confirm .pay-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 72px;
    min-width: 0;
}
.pay-confirm .pay-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f5e9f6;
    color: #7a1a82;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.pay-confirm .pay-ico .ico { width: 20px; height: 20px; }
.pay-confirm .pay-option.selected .pay-ico { background: #7a1a82; color: #fff; }
.pay-confirm .pay-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; text-align: left; }
.pay-confirm .pay-copy strong,
.pay-confirm .pay-copy span { display: block; width: 100%; }
.pay-confirm .pay-copy strong { font-size: 15px; font-weight: 800; line-height: 1.2; }
.pay-confirm .pay-copy span { color: #6b6470; font-size: 13px; font-weight: 500; line-height: 1.35; }
.ship-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.ship-more { border: 0; background: none; padding: 0; color: #7a1a82; font-weight: 700; }
.ship-more:hover { text-decoration: underline; }
.ship-foot dl { display: flex; gap: 16px; margin: 0; }
.ship-foot dl div { display: flex; gap: 6px; }
.ship-foot dt { color: #6b6470; }
.ship-foot dd { margin: 0; font-weight: 700; }
.ship-details { margin-top: 16px; background: #fff; border: 1px solid #ebe6ee; border-radius: 16px; padding: 16px; }
.ship-details h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; }
.ship-details-sub { margin: 0 0 14px; color: #6b6470; }
.ship-details-hint { margin: 6px 0 12px; color: #6b6470; font-size: 13px; }
.ship-details label { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #6b6470; }
.fee-card { margin-top: 16px; border: 1px solid #ebe6ee; border-radius: 16px; background: #f7f7f8; padding: 16px; }
.fee-card.calculated { border-color: rgba(22, 163, 74, 0.35); background: rgba(22, 163, 74, 0.04); }
.fee-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fee-badge { background: rgba(22, 163, 74, 0.12); color: #12784a; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.fee-card-amount { font-size: 1.25rem; font-weight: 800; }
.fee-card-eta, .fee-card-status { font-size: 14px; color: #6b6470; margin-top: 4px; }
.timing-block { margin-top: 16px; padding: 16px; border: 1px solid #ebe6ee; border-radius: 16px; background: #fafafa; }
.timing-label { margin: 0 0 10px; font-weight: 700; }
.timing-option { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-weight: 500; color: #17111a; cursor: pointer; }
.timing-option input { margin-top: 3px; }
.schedule-fields { margin-top: 8px; }
.addr-ac { position: relative; }
.addr-ac-field { position: relative; }
.addr-ac-input {
    width: 100%;
    border: 1px solid #ebe6ee;
    border-radius: 12px;
    padding: 12px 40px 12px 14px;
    font-size: 15px;
    background: #fff;
    color: #17111a;
}
.addr-ac-input:focus { outline: none; border-color: #7a1a82; box-shadow: 0 0 0 3px rgba(122, 26, 130, 0.15); }
.addr-ac-spinner { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.addr-ac-dropdown {
    position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
    background: #fff; border: 1px solid #ebe6ee; border-radius: 12px;
    box-shadow: 0 12px 32px rgba(23, 17, 26, 0.12); max-height: 280px; overflow-y: auto;
    margin: 0; padding: 6px 0; list-style: none;
}
.addr-ac-option { padding: 10px 14px; cursor: pointer; }
.addr-ac-option:hover, .addr-ac-option.is-active { background: rgba(122, 26, 130, 0.06); }
.addr-ac-option-main { font-weight: 700; font-size: 14px; }
.addr-ac-option-secondary { font-size: 13px; color: #6b6470; margin-top: 2px; }
.addr-ac-highlight { background: rgba(122, 26, 130, 0.18); }
.addr-ac-status { font-size: 13px; color: #6b6470; margin: 6px 0 0; }
.addr-ac-status.is-error, .addr-ac-input.is-invalid { color: #a1263d; }
.addr-ac-input.is-invalid { border-color: #a1263d; }
.detail-grid { display: grid; gap: 12px; }
.store-banner {
    position: relative;
    z-index: 0;
    height: 160px;
    overflow: hidden;
    border-radius: 28px;
    background: #f1eef3 center/cover no-repeat;
}
.store-banner-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 17, 26, 0.5), transparent);
}
.store-banner-actions {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 12px;
    display: flex;
    justify-content: space-between;
}
.store-round {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #17111a;
    display: grid;
    place-items: center;
    padding: 0;
}
.store-round .ico { width: 20px; height: 20px; }
.store-id { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.store-ava {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    border-radius: 16px;
    font-size: 28px;
    box-shadow: 0 0 0 4px #fff;
}
.store-cat { margin: 10px 0 0; color: #7a1a82; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.store-id h1 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.store-id h1 .ico { width: 24px; height: 24px; color: #7a1a82; }
.store-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; font-size: 14px; color: #6b6470; }
.store-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.store-meta .ico { width: 16px; height: 16px; }
.store-rating { font-weight: 700; color: #17111a; }
.store-rating span { font-weight: 400; color: #6b6470; }
.store-rating .ico, .store-rating .ico polygon { fill: #f59e0b; stroke: #f59e0b; }
.is-open { color: #12784a; font-weight: 700; }
.is-closed { color: #c0262d; font-weight: 700; }
.store-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border-radius: 16px;
    background: #ebe6ee;
    border: 1px solid #ebe6ee;
}
.store-stats div { background: #fff; padding: 12px 16px; }
.store-stats dt { font-size: 12px; color: #6b6470; }
.store-stats dd { margin: 0; font-weight: 800; }
.store-layout { display: grid; gap: 32px; margin-top: 32px; }
.store-menu h2 { margin: 0 0 12px; font-size: 1.125rem; font-weight: 800; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.book-offer { height: 40px; border-radius: 999px; padding: 0 16px; align-self: center; }
.catalog-block { margin: 0; }
.catalog-grid { display: grid; gap: 24px; }
.catalog-grid .menu-list { grid-template-columns: 1fr; }
.catalog-block h2 { margin: 16px 0 12px; font-size: 1.125rem; font-weight: 800; }
.catalog-block:first-child h2 { margin-top: 0; }
.menu-item.is-booked { outline: 2px solid #7a1a82; border-radius: 16px; }
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.slot { border: 1px solid #ebe6ee; background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.slot.selected { border-color: #7a1a82; background: #f5e9f6; color: #7a1a82; }
.book-types { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.menu-item { display: flex; gap: 12px; border: 1px solid #ebe6ee; background: #fff; border-radius: 16px; padding: 12px; }
.menu-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.menu-copy h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.menu-copy p { margin: 4px 0 0; color: #6b6470; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-copy p.menu-price { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; -webkit-line-clamp: unset; overflow: visible; color: inherit; }
.menu-price strong { color: #17111a; font-weight: 800; }
.menu-price .was { color: #6b6470; font-size: 12px; text-decoration: line-through; font-weight: 500; }
.menu-photo { position: relative; width: 96px; height: 96px; border-radius: 12px; background: #f1eef3 center/cover no-repeat; flex-shrink: 0; }
.menu-open { flex: 1; min-width: 0; cursor: pointer; text-align: left; }
.menu-open-photo { position: absolute; inset: 0; border: 0; background: transparent; z-index: 1; cursor: pointer; }
.menu-add, .menu-qty, .deal-add, .deal-off { z-index: 2; }
.menu-photo-empty { display: grid; place-items: center; color: rgba(107, 100, 112, 0.45); }
.menu-photo-empty > .ico { width: 28px; height: 28px; }
.menu-add {
    position: absolute; right: 6px; bottom: 6px; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: 999px; background: #7a1a82; color: #fff;
    display: grid; place-items: center; box-shadow: 0 6px 16px rgba(122, 26, 130, 0.3);
}
.menu-add .ico { width: 16px; height: 16px; }
.menu-qty { position: absolute; right: 6px; bottom: 6px; }
.order-panel { background: #fff; border: 1px solid #ebe6ee; border-radius: 16px; padding: 16px; height: fit-content; }
.order-panel h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.order-empty { margin-top: 16px; background: #f1eef3; border-radius: 12px; padding: 24px 12px; text-align: center; color: #6b6470; }
.order-empty .ico { width: 24px; height: 24px; }
.order-lines { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.order-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-line > div { min-width: 0; flex: 1; }
.order-line p { margin: 0; font-size: 14px; font-weight: 700; }
.order-line small { display: block; color: #6b6470; font-size: 12px; }
.order-line .qty-pill { position: static; flex: 0 0 auto; width: auto; }
.order-add { position: static; flex: 0 0 auto; }
.store-ava-photo { background-color: #f1eef3; background-position: center; background-size: cover; background-repeat: no-repeat; }
.order-panel .meter { margin-top: 16px; }
.order-totals { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #ebe6ee; }
.order-totals div { display: flex; justify-content: space-between; margin-top: 6px; font-size: 14px; }
.order-totals dt { color: #6b6470; }
.order-totals dd { margin: 0; }
.order-grand, .order-grand dt, .order-grand dd { color: #17111a; font-weight: 800; font-size: 16px; }
.store-cart { width: 100%; margin-top: 16px; border-radius: 999px; height: 44px; font-weight: 800; }
.store-cart:disabled { opacity: 0.4; cursor: default; }
@media (min-width: 700px) {
    .store-banner { height: 256px; }
    .store-id { flex-direction: row; align-items: flex-start; gap: 20px; padding: 0 24px; }
    .store-ava { width: 96px; height: 96px; margin-top: -48px; }
    .store-id h1 { font-size: 1.875rem; }
    .store-stats { grid-template-columns: repeat(4, 1fr); }
    .menu-photo { width: 112px; height: 112px; }
    .menu-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .store-layout { grid-template-columns: 1fr 340px; align-items: start; }
    .order-panel { position: sticky; top: 96px; }
    .catalog-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .catalog-grid .menu-list { grid-template-columns: 1fr; }
}
.feed-more {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    padding: 12px 0 28px;
}
.shops > .feed-more { grid-column: 1 / -1; min-height: 72px; }
.popular-scroll > .feed-more {
    flex: 0 0 48px;
    align-self: center;
    min-height: 0;
    min-width: 48px;
    padding: 0;
}
.pay-row { display: grid; gap: 8px; margin-top: 8px; }
.pay-row .pay-option { margin-bottom: 0; }
.summary {
    background: #fff;
    border: 1px solid #ebe6ee;
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
}
.summary h2 { margin: 0; font-size: 1.125rem; font-weight: 800; }
.summary > .line { margin-top: 16px; font-size: 14px; border: 0; padding: 0; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 0; }
.summary-box { background: #f1eef3; border-radius: 12px; padding: 12px; margin: 16px 0 0; }
.summary-box p { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6b6470; }
.summary-box .line { font-size: 14px; margin-top: 6px; }
.summary-box .line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-delivery-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid #ebe6ee; font-weight: 800; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #ebe6ee; padding-top: 16px; margin-top: 16px; }
.summary-total span { font-weight: 800; }
.summary-total strong { font-size: 1.5rem; font-weight: 800; }
.place-order { width: 100%; margin-top: 16px; border-radius: 999px; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; box-shadow: 0 10px 24px rgba(122, 26, 130, 0.25); }
.place-order .ico { width: 16px; height: 16px; }
.place-order:disabled { opacity: 0.4; box-shadow: none; cursor: not-allowed; }
.summary-note { display: flex; gap: 8px; margin: 12px 0 0; font-size: 12px; color: #6b6470; }
.summary-note .ico { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
@media (min-width: 640px) {
    .ship-eta { display: inline-flex; }
    .detail-grid { grid-template-columns: 1fr 1fr; }
    .cart-head h1 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
    .checkout-grid { grid-template-columns: 1fr 360px; align-items: start; }
    .summary { position: sticky; top: 96px; }
}
.deal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.deal-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #ebe6ee; border-radius: 16px; overflow: hidden; }
.deal-photo { position: relative; aspect-ratio: 1; background: #f1eef3 center/cover no-repeat; }
.deal-off {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    background: #7a1a82;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    box-shadow: 0 1px 2px rgba(23, 17, 26, 0.12);
}
.deal-add {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #7a1a82;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 16px rgba(122, 26, 130, 0.25);
}
.deal-add .ico { width: 16px; height: 16px; }
.deal-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 12px; }
.deal-vendor { display: flex; align-items: center; gap: 8px; min-width: 0; width: 100%; background: none; border: 0; padding: 0; color: #6b6470; font-size: 12px; font-weight: 650; text-align: left; }
.deal-ava { width: 24px; height: 24px; border-radius: 6px; background: #f1eef3 center/cover no-repeat; flex-shrink: 0; }
.deal-vendor-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deal-vendor .ico { width: 14px; height: 14px; color: #7a1a82; flex-shrink: 0; }
.deal-chip { width: fit-content; border-radius: 999px; background: #f5e9f6; color: #7a1a82; padding: 2px 8px; font-size: 10px; font-weight: 800; }
.deal-body h3 { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.3; }
.deal-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; background: none; border: 0; padding: 0; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.deal-desc { margin: 0; color: #6b6470; font-size: 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-price { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; padding-top: 8px; border-top: 1px solid #ebe6ee; }
.deal-price strong { font-size: 16px; font-weight: 800; }
.deal-price .was { color: #6b6470; text-decoration: line-through; font-size: 12px; }
.deal-save { border-radius: 999px; background: #fde8ee; color: #be123c; padding: 2px 8px; font-size: 10px; font-weight: 800; }
.deal-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: #6b6470; font-size: 11px; }
.deal-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.deal-meta .ico { width: 14px; height: 14px; }
.deal-meta > span:first-child { font-weight: 800; color: #17111a; }
.deal-fee { display: flex; flex-direction: column; gap: 2px; border-radius: 12px; background: #f5e9f6; color: #7a1a82; padding: 8px 10px; font-size: 12px; }
.deal-fee div { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; }
.deal-fee span { display: inline-flex; align-items: center; gap: 6px; }
.deal-fee .ico { width: 16px; height: 16px; }
.deal-fee p { margin: 0; text-align: center; font-size: 11px; font-weight: 650; }
.deal-open { margin: 0; display: flex; align-items: center; gap: 6px; min-width: 0; color: #12784a; font-size: 12px; font-weight: 800; }
.deal-open i { width: 8px; height: 8px; border-radius: 999px; background: #12784a; flex-shrink: 0; }
.deal-open.is-closed { color: #6b6470; font-weight: 700; }
.deal-open.is-closed i { background: #b7b1bc; }
.deal-open small { min-width: 0; font-size: 10px; font-weight: 600; line-height: 1.3; }
.deal-open span { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6b6470; font-size: 10px; font-weight: 600; }
.stock-left { margin: 2px 0 0; color: #12784a; font-size: 12px; font-weight: 700; }
.stock-left.is-out { color: #be123c; }
.menu-copy p.stock-left, .menu-copy p.prep-time { -webkit-line-clamp: unset; display: flex; overflow: visible; }
.prep-time { display: flex; flex-direction: row; align-items: center; gap: 6px; margin: 6px 0 0; color: #6b6470; font-size: 13px; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.prep-time .ico { width: 14px; height: 14px; flex-shrink: 0; display: block; }
.card-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 6px 0 0; color: #7a1a82; }
.card-price strong { font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.price-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.card-price .was { margin-left: 0; font-size: 13px; }
.search-product .meta { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.search-product .meta small { display: block; margin-top: 4px; line-height: 1.3; }
.search-product .eta-pill { margin-top: 8px; align-self: flex-start; }
.eta-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    box-sizing: border-box;
    max-width: 100%;
    background: #f4e8f6;
    color: #7a1a82;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.eta-pill .ico { width: 16px; height: 16px; flex-shrink: 0; }
.eta-pill strong { font-weight: 800; color: #7a1a82; white-space: nowrap; }
.eta-time { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.eta-dot { font-weight: 600; }
.deal-card .eta-pill {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 7px 8px;
}
.deal-card .eta-time { flex-basis: 100%; justify-content: center; }
.deal-card .eta-dot { display: none; }
.deal-card .add-btn.is-unavailable { font-size: 12px; padding: 6px 8px; }
.deal-card .add-btn.is-unavailable small { font-size: 10px; }
.off-pill {
    background: #fde8ee;
    color: #be123c;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    line-height: 1.3;
}
.ends-in { display: inline-flex; align-items: center; gap: 4px; color: #7a1a82; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ends-in .ico { width: 13px; height: 13px; flex-shrink: 0; }
.order-sale, .ship-sale { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.order-sale strong, .ship-sale strong { font-weight: 800; font-size: 13px; }
.order-sale .was, .ship-sale .was { color: #9a93a3; text-decoration: line-through; font-size: 12px; }
.account-page { margin: 0 auto; }
.account-page > h1 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #17111a;
}
.tasks-page { max-width: 1152px; }
.tasks-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    border: 1px dashed #ebe6ee;
    background: #fff;
    border-radius: 16px;
    padding: 40px 20px;
}
.tasks-empty .task-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f5e9f6;
    color: #7a1a82;
    display: grid;
    place-items: center;
}
.tasks-empty .task-mark .ico { width: 28px; height: 28px; }
.tasks-empty .tasks-empty-title { margin: 0; font-size: 16px; font-weight: 700; color: #17111a; }
.tasks-empty p { max-width: 24rem; margin: 0; font-size: 14px; color: #6b6470; }
.tasks-cta {
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: #7a1a82;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
}
.task-list { display: flex; flex-direction: column; gap: 12px; }
.task-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ebe6ee;
    border-radius: 16px;
    padding: 16px;
}
.task-date {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-shrink: 0;
    min-width: 52px;
}
.task-date-bar {
    width: 3px;
    border-radius: 999px;
    background: #12784a;
}
.task-date strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.1; color: #17111a; }
.task-date span { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #6b6470; }
.task-main { flex: 1; min-width: 0; }
.task-top { display: flex; align-items: flex-start; gap: 12px; }
.task-copy { flex: 1; min-width: 0; }
.task-copy strong { display: block; font-weight: 800; line-height: 1.3; }
.task-copy p, .task-kind { margin: 4px 0 0; font-size: 13px; color: #6b6470; }
.task-copy p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-status {
    flex-shrink: 0;
    border-radius: 999px;
    background: #f5e9f6;
    color: #7a1a82;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}
.task-status.is-done { background: #e6f4ec; color: #12784a; }
.task-status.is-cancel { background: #f3f1f4; color: #9a93a3; }
.task-kind { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.task-kind .ico { width: 14px; height: 14px; color: #2563eb; flex-shrink: 0; }
.task-code {
    margin-top: 12px;
    background: #faf5fa;
    border: 1px solid #e8c8e8;
    border-radius: 12px;
    padding: 10px 12px;
}
.task-code span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b6470;
}
.task-code strong {
    display: block;
    margin-top: 2px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #6b026a;
}
.task-code p { margin: 4px 0 0; font-size: 13px; color: #6b6470; white-space: normal; }
.closed-note { margin: 8px 0 0; color: #6b6470; font-size: 12px; line-height: 1.4; }
.wallet-page { max-width: 672px; display: flex; flex-direction: column; gap: 24px; }
.wallet-page > h1 { margin: 0; }
.wallet-balance {
    border-radius: 24px;
    background: #7a1a82;
    color: #fff;
    padding: 24px;
}
.wallet-balance p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.wallet-balance .wallet-amount {
    margin-top: 4px;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: #fff;
}
.wallet-topup {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #7a1a82;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
}
.wallet-topup .ico { width: 16px; height: 16px; }
.wallet-fund { display: flex; flex-direction: column; gap: 10px; }
.wallet-fund .solid { width: 100%; }
.wallet-activity {
    border: 1px solid #ebe6ee;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.wallet-activity h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    font-weight: 800;
}
.wallet-activity-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ebe6ee;
    padding: 12px 16px;
}
.wallet-activity-head h2 { margin-right: auto; }
.tx-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b6470;
    font-size: 13px;
    font-weight: 700;
}
.tx-filter input {
    border: 1px solid #ebe6ee;
    border-radius: 10px;
    padding: 6px 8px;
    color: #17111a;
    background: #fff;
    font: inherit;
}
.tx-clear {
    border: 0;
    background: transparent;
    color: #7a1a82;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.wallet-activity ul { margin: 0; padding: 0; list-style: none; }
.tx-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #ebe6ee;
}
.tx-row:first-child { border-top: 0; }
.tx-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #f1eef3;
    color: #17111a;
}
.tx-mark.credit { background: #e6f4ec; color: #12784a; }
.tx-mark .ico { width: 16px; height: 16px; }
.tx-copy { flex: 1; min-width: 0; }
.tx-copy p { margin: 0; }
.tx-copy p:first-child { font-weight: 600; }
.tx-copy p:last-child { font-size: 12px; color: #6b6470; }
.tx-amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-amt.credit { color: #12784a; }
.tx-empty { margin: 0; padding: 16px; color: #6b6470; font-size: 14px; list-style: none; }
@media (min-width: 768px) {
    .account-page > h1 { font-size: 1.875rem; }
}
@media (min-width: 1280px) {
    .deal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .deal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
h1, h2 { margin: 0 0 14px; letter-spacing: -0.02em; }
h2 { font-size: 1.25rem; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; }
.linkish { background: none; border: 0; color: var(--shop-primary); padding: 0; font-weight: 600; }

.cards, .grid, .squares, .shops { display: grid; gap: 16px; margin-bottom: 8px; }
.card, .product, .square, .panel, .deal, .event-card {
    background: #fff;
    border-radius: var(--shop-card-radius);
    box-shadow: var(--shop-shadow);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover, .product:hover, .square:hover, .deal:hover, .event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(132, 2, 131, 0.12);
}
.card button, .product button.hit, .square button, .deal button.hit {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
}
.photo {
    height: 168px;
    background: #f4f3f5 center/cover no-repeat;
    transition: transform 0.25s ease;
}
.square:hover .photo, .product:hover .photo, .card:hover .photo { transform: scale(1.04); }
.meta { padding: 12px 14px 16px; }
.meta strong { display: block; }
.meta small, .muted { color: var(--shop-text-muted); }
.price { color: var(--shop-primary); font-weight: 700; }
.was { color: #9a93a3; text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #fff;
    color: #e11d48;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
}
.product .photo { position: relative; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.panel { padding: 18px; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--shop-border); }
.pay-option {
    width: 100%;
    text-align: left;
    border: 1px solid var(--shop-border);
    background: #fff;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 16px;
}
.pay-option.selected { border-color: var(--shop-primary); box-shadow: inset 0 0 0 1px var(--shop-primary); }
.field { width: 100%; border: 1px solid var(--shop-border); border-radius: 12px; padding: 12px; margin: 8px 0 14px; background: #fff; }
.chips { display: flex; gap: 10px; overflow: auto; margin-bottom: 18px; padding-bottom: 4px; }
.chips button { white-space: nowrap; }
.modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.45);
    display: grid;
    place-items: center;
    z-index: 60;
    padding: 16px;
}
.address-gate { z-index: 70; }
.address-modal {
    z-index: 80;
    background: rgba(23, 17, 26, 0.82);
    padding: 24px;
}
.address-modal .location-card {
    width: min(640px, calc(100vw - 48px));
    min-height: min(680px, calc(100vh - 48px));
    padding: 40px 36px 32px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}
.address-modal .login-kicker {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.address-modal .location-card h2 {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.address-modal .location-card .muted {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.55;
    color: #6b6470;
}
.address-modal .address-label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #17111a;
}
.address-modal #addressModalSearch { margin: 0; }
.address-modal .addr-ac-input {
    height: 56px;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.4;
}
.address-modal .addr-ac-dropdown { z-index: 5; }
.address-modal #address-modal-error {
    min-height: 1.25em;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.4;
}
.address-modal .location-actions {
    margin-top: auto;
    padding-top: 32px;
}
.address-modal .location-actions .solid,
.address-modal .location-actions .ghost {
    height: 52px;
    min-width: 140px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
}
.address-modal .location-actions .solid { width: 100%; }
.shop-hidden { display: none !important; }
body.address-locked { overflow: hidden; }
.address-gate-card { width: min(440px, 100%); }
@media (max-width: 640px) {
    .address-modal { padding: 12px; }
    .address-modal .location-card {
        width: 100%;
        min-height: calc(100vh - 24px);
        padding: 32px 20px 24px;
        border-radius: 24px;
    }
    .address-modal .location-card h2 { font-size: 1.75rem; }
}
.dialog { width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 20px; }
.location-card h2 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -0.03em; }
.location-card .muted { margin: 0; }
.location-field { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; color: #6b6470; }
.location-field .field { margin: 6px 0 0; }
.location-card .error, .location-card #location-error { min-height: 1.2em; margin: 10px 0 0; }
.location-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.location-actions .solid, .location-actions .ghost { min-width: 96px; height: 40px; }
.location-gps {
    width: 100%;
    margin-top: 10px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.location-gps .ico { width: 16px; height: 16px; }
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(380px, 100%);
    background: #fff;
    z-index: 50;
    box-shadow: var(--shop-shadow);
    padding: 18px;
    overflow: auto;
}
.cart-btn { position: relative; }
.error { color: #a1263d; }
.ok { color: var(--shop-success); }
.empty {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    color: var(--shop-text-muted);
    margin-bottom: 28px;
}
.status {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(var(--shop-primary-rgb), 0.08);
    color: var(--shop-primary);
    font-size: 12px;
}
.task { margin-bottom: 12px; }
.vendor-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: #6b6470;
}
.vendor-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #17111a; }
.vendor-rating .ico { width: 14px; height: 14px; color: #f59e0b; }
.vendor-fee {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: #f5e9f6;
    color: #7a1a82;
    font-weight: 700;
    padding: 4px 8px;
}
.vendor-fee .vendor-eta { font-weight: 650; opacity: 0.9; }
.vendor-fee .vendor-eta::before { content: "·"; margin: 0 4px; font-weight: 500; }
.fee-card-time { font-size: 0.95rem; font-weight: 700; color: #6b6470; }
.vendor-cover { aspect-ratio: 16/9; height: auto; }
.events-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px dashed #ebe6ee;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}
.events-empty-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 16px;
    background: #f5e9f6;
    color: #7a1a82;
    display: grid;
    place-items: center;
}
.events-empty-icon .ico { width: 24px; height: 24px; }
.events-empty p { margin: 0; }
.events-empty p:first-child { font-weight: 700; color: #17111a; }
.events-empty p:last-child { margin-top: 2px; font-size: 14px; color: #6b6470; }
.event-card { display: flex; gap: 14px; padding: 16px; align-items: center; }
.popular-scroll .event-card { margin-bottom: 0; }
.event-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(var(--shop-primary-rgb), 0.1);
    color: var(--shop-primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dock {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    gap: 4px;
    padding: 8px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.16);
    border: 1px solid rgba(132, 2, 131, 0.08);
}
.dock button {
    width: 76px;
    border: 0;
    background: transparent;
    color: var(--shop-text-muted);
    border-radius: 16px;
    padding: 8px 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
}
.dock button .ico { width: 20px; height: 20px; }
.dock button.active, .dock button:hover {
    background: #f5e9f6;
    color: var(--shop-primary);
}
.toast {
    position: fixed;
    left: 50%;
    bottom: 108px;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    z-index: 35;
    font-size: 14px;
}

@media (min-width: 700px) {
    .cards, .grid, .squares, .shops, .split { grid-template-columns: repeat(2, 1fr); }
    .hero-steps { grid-template-columns: repeat(3, 1fr); }
    .search-wrap { order: 0; flex: 1 1 280px; }
    .bar { gap: 16px; padding: 16px 0; flex-wrap: nowrap; }
    .bar-actions { order: 4; }
    .login-pill { padding-right: 16px; }
    .cat-chip { font-size: 14px; }
}
@media (min-width: 1100px) {
    .cards, .grid, .squares, .shops { grid-template-columns: repeat(3, 1fr); }
    .shops.item-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1320px) {
    .cards, .grid, .squares, .shops { grid-template-columns: repeat(4, 1fr); }
    .shops.item-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 699px) {
    .bar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 10px;
    }
    .bar-actions { display: contents; }
    .bar .location { width: calc(100% - 12px); justify-self: start; }
    .bar .icon-btn { width: 40px; min-width: 40px; height: 40px; }
    .bar .search-wrap { grid-column: 1 / -1; }
    .bar .login-pill { padding-right: 14px; flex-shrink: 0; }
    .bar .login-name {
        display: inline;
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .view-cart {
        right: 12px;
        bottom: 112px;
        max-width: 176px;
        gap: 6px;
        padding: 8px 10px 8px 8px;
    }
    .view-cart-copy { flex-direction: column; align-items: flex-start; gap: 1px; }
    .view-cart-copy strong { font-size: 12px; }
    .view-cart-copy small { display: none; }
    .view-cart-total { font-size: 12px; }
    .dock button { width: 58px; font-size: 10px; }
    .bar, .page, .cat-rail { width: min(1440px, calc(100% - 20px)); }
}
.saved-address { background: #fff; border: 1px solid #ebe6ee; border-radius: 16px; padding: 14px 16px; margin: 8px 0 12px; }
.saved-address p { margin: 0 0 8px; }
.deal-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; background: none; border: 0; padding: 0; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.pdp { display: flex; flex-direction: column; gap: 32px; max-width: 1152px; margin: 0 auto; }
.pdp-back { display: inline-flex; align-items: center; gap: 8px; width: fit-content; background: none; border: 0; padding: 0; font-size: 14px; font-weight: 650; color: #6b6470; }
.pdp-back:hover { color: #7a1a82; }
.pdp-back .ico { width: 16px; height: 16px; }
.pdp-layout { display: grid; gap: 24px; }
.pdp-gallery { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: #f1eef3; }
.pdp-scroller { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdp-scroller::-webkit-scrollbar { display: none; }
.pdp-slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.pdp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-empty { height: 100%; display: grid; place-items: center; color: rgba(107, 100, 112, 0.35); font-size: 4rem; font-weight: 900; }
.pdp-save { position: absolute; left: 16px; top: 16px; border-radius: 999px; background: #7a1a82; color: #fff; font-size: 14px; font-weight: 800; padding: 6px 12px; }
.pdp-heart { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); color: #17111a; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(23,17,26,.08); }
.pdp-heart .ico { width: 20px; height: 20px; }
.pdp-heart.is-saved { color: #7a1a82; }
.pdp-heart.is-saved .ico { fill: #7a1a82; }
.pdp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 999px; background: #fff; color: #17111a; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.pdp-nav.prev { left: 12px; }
.pdp-nav.next { right: 12px; }
.pdp-nav .ico { width: 18px; height: 18px; }
.pdp-buy { display: flex; flex-direction: column; gap: 20px; }
.pdp-store { display: inline-flex; align-items: center; gap: 12px; width: fit-content; border: 1px solid #ebe6ee; background: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; text-align: left; }
.pdp-store:hover { border-color: rgba(122, 26, 130, .4); }
.pdp-ava { width: 40px; height: 40px; border-radius: 999px; background: #f1eef3 center/cover no-repeat; flex-shrink: 0; }
.pdp-ava-fallback { display: grid; place-items: center; background: #7a1a82; color: #fff; font-size: 12px; font-weight: 800; }
.pdp-store-name { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; }
.pdp-store-name .ico { width: 16px; height: 16px; color: #7a1a82; }
.pdp-store:hover .pdp-store-name { color: #7a1a82; }
.pdp-store-sub { display: block; font-size: 12px; color: #6b6470; }
.pdp-buy h1 { margin: 0; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.pdp-rating span:first-child { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.pdp-rating .ico { width: 16px; height: 16px; fill: #f59e0b; color: #f59e0b; }
.pdp-copy { margin: 0; color: #6b6470; font-size: 16px; line-height: 1.6; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 0; }
.pdp-price strong { font-size: 1.875rem; font-weight: 800; }
.pdp-price .was { font-size: 1.125rem; }
.pdp-save-text { color: #12784a; font-size: 14px; font-weight: 650; }
.pdp-actions { display: flex; flex-direction: column; gap: 12px; }
.pdp-add { min-height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; box-shadow: 0 10px 24px rgba(122, 26, 130, .2); }
.pdp-add .ico { width: 20px; height: 20px; }
.pdp-add:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }
.pdp-browse { min-height: 56px; border-radius: 12px; border: 1px solid #ebe6ee; background: #fff; padding: 12px 24px; font-size: 14px; font-weight: 800; }
.pdp-browse:hover { border-color: #7a1a82; color: #7a1a82; }
.pdp-note { margin: 0; text-align: center; font-size: 12px; color: #6b6470; }
.pdp-ship { border: 1px solid #ebe6ee; background: #fff; border-radius: 16px; padding: 16px; }
.pdp-ship-row { display: flex; align-items: flex-start; gap: 12px; }
.pdp-ship-row > .ico { width: 20px; height: 20px; color: #7a1a82; margin-top: 2px; flex-shrink: 0; }
.pdp-ship-title { margin: 0; font-weight: 800; }
.pdp-ship-row .muted { margin: 4px 0 0; font-size: 14px; }
.pdp-ship-fee { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #ebe6ee; font-size: 14px; }
.pdp-ship-fee span { color: #6b6470; }
.pdp-trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; color: #6b6470; font-size: 12px; }
.pdp-trust li { display: flex; align-items: center; gap: 8px; }
.pdp-trust .ico { width: 16px; height: 16px; color: #7a1a82; flex-shrink: 0; }
.pdp-more { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid #ebe6ee; padding-top: 28px; }
.pdp-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pdp-more-head p { margin: 0; }
.pdp-more-head p:first-child { color: #7a1a82; font-size: 14px; font-weight: 650; }
.pdp-more h2 { margin: 4px 0 0; font-size: 1.5rem; font-weight: 800; }
.pdp-more-head .muted { margin-top: 4px; font-size: 14px; }
.pdp-view-all { border: 0; background: none; padding: 0; color: #7a1a82; font-size: 14px; font-weight: 800; }
.pdp-view-all:hover { text-decoration: underline; }
.pdp-view-mobile { display: none; }
.pdp-more-empty { margin: 0; border: 1px solid #ebe6ee; background: #fff; border-radius: 16px; padding: 20px; color: #6b6470; font-size: 14px; }
.pdp-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rel-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ebe6ee; background: #fff; border-radius: 16px; }
.rel-photo { position: relative; aspect-ratio: 1; background: #f1eef3; }
.rel-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-open { position: absolute; inset: 0; border: 0; background: transparent; }
.rel-off { position: absolute; left: 10px; top: 10px; border-radius: 999px; background: #7a1a82; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; }
.rel-add { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border: 0; border-radius: 12px; background: #fff; color: #7a1a82; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.rel-add .ico { width: 16px; height: 16px; }
.rel-body { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.rel-vendor { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: #6b6470; font-size: 12px; font-weight: 500; text-align: left; }
.rel-vendor span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-ava { width: 16px; height: 16px; border-radius: 4px; background: #f1eef3 center/cover no-repeat; flex-shrink: 0; }
.rel-ava-fallback { display: grid; place-items: center; background: #7a1a82; color: #fff; font-size: 7px; font-weight: 800; }
.rel-body h3 { margin: 0; font-size: 14px; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-body h3 button { border: 0; background: none; padding: 0; font: inherit; text-align: left; }
.rel-body h3 button:hover { color: #7a1a82; }
.rel-body p { margin: auto 0 0; display: flex; align-items: baseline; gap: 6px; }
.rel-body p strong { font-weight: 800; }
@media (min-width: 640px) {
    .pdp-gallery { aspect-ratio: 1.1 / 1; }
    .pdp-buy h1 { font-size: 2.25rem; }
    .pdp-actions { flex-direction: row; }
    .pdp-add, .pdp-unavailable { flex: 1; }
    .pdp-trust { font-size: 14px; }
    .pdp-more-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
    .pdp-view-all { display: none; }
    .pdp-view-mobile { display: inline-flex; }
}
@media (min-width: 1024px) {
    .pdp { gap: 48px; }
    .pdp-layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: start; }
    .pdp-gallery { position: sticky; top: 96px; }
    .pdp-buy { padding: 8px 0; }
    .pdp-more { padding-top: 36px; }
    .pdp-more-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Phones only. Tablets start at 700px and keep the current sizes. */
@media (max-width: 699px) {
    html {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    .market-body { font-size: 14px; }
    .search, .field, .auth-input, .auth-phone input, .addr-ac-input, .tx-filter input, textarea, select {
        font-size: 16px;
    }
    .guide-title, .guide-head h1, .guide-head h2, .checkout-grid h1,
    .account-page > h1, .cart-head h1, .cart-empty h1, .auth-card h2, .signout-card h2,
    .location-card h2, .address-modal .location-card h2 {
        font-size: 1.3rem;
    }
    h2, .store-menu h2, .catalog-block h2, .summary h2, .pdp-more h2, .ship-details h2 {
        font-size: 1.05rem;
    }
    .hero h1 { font-size: 1.45rem; }
    .hero-copy { padding: 20px 16px; gap: 12px; }
    .hero-copy p, .hero-steps span, .guide-head p { font-size: 13px; }
    .pdp-buy h1, .pdp-price strong { font-size: 1.4rem; }
    .pdp-copy { font-size: 14px; }
    .pdp-more h2 { font-size: 1.15rem; }
    .store-id h1 { font-size: 1.2rem; }
    .store-meta, .menu-copy p, .menu-copy h3 { font-size: 13px; }
    .wallet-balance .wallet-amount { font-size: 1.75rem; }
    .summary-total strong { font-size: 1.25rem; }
    .meta strong, .deal-body h3, .rel-body h3 {
        font-size: 13px;
        line-height: 1.3;
    }
    .meta strong, .deal-body h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-price strong, .price, .deal-price strong { font-size: 14px; }
    .prep-time, .meta small, .search-product .meta small { font-size: 12px; }
    .cat-chip { font-size: 11px; padding: 10px 10px 8px; gap: 6px; }
    .cat-ico { width: 36px; height: 36px; }
    .cat-ico .ico { width: 16px; height: 16px; }
    .location, .login-pill { font-size: 13px; }
    .guide-section { margin-bottom: 24px; }
    .vendor-band { margin-bottom: 36px; }
    .page { padding-bottom: 108px; }
    .dock {
        left: 10px;
        right: 10px;
        width: auto;
        transform: none;
        justify-content: space-between;
    }
    .dock button { width: auto; flex: 1; min-width: 0; font-size: 10px; }
    .task-code strong { font-size: 18px; letter-spacing: 0.08em; }
    .bar::after {
        left: -10px;
        right: -10px;
        width: auto;
        transform: none;
    }
    .checkout-grid,
    .cart-main,
    .shipment,
    .shipment header,
    .shipment footer,
    .ship-line,
    .ship-foot,
    .ship-copy,
    .meter,
    .summary,
    .summary-box {
        min-width: 0;
        max-width: 100%;
    }
    .ship-line { align-items: flex-start; }
    .ship-side { flex-shrink: 0; }
    .ship-copy strong { white-space: normal; }
    .ship-foot { flex-direction: column; align-items: flex-start; }
    .ship-foot dl { flex-wrap: wrap; }
    .meter span,
    .summary-box .line span { white-space: normal; }
}
