/* Customer app overhaul. Native system typography and controls, separate from the website. */
body.customer-app {
    --red: #722334;
    --gold: #edc875;
    --ink: #202722;
    --muted: #70756f;
    --cream: #f8f9f6;
    --line: #e5e9e2;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(ellipse at 20% 25%, #e5ded3 0, transparent 50%), #edf0eb;
    color: var(--ink);
    padding: 30px;
    gap: 80px;
    align-items: center;
}
.customer-app .studio {
    width: 350px;
    color: #273029;
}
.customer-app .studio .brand img {
    width: 150px;
    margin-bottom: 35px;
}
.customer-app .studio .eyebrow {
    color: #722334;
    font-size: 10px;
    letter-spacing: .14em;
}
.customer-app .studio h1 {
    font: 650 43px/1.12 var(--font-system);
    letter-spacing: -.05em;
    margin: 20px 0;
}
.customer-app .studio > p {
    color: #687068;
    font-size: 15px;
    line-height: 1.9;
}
.customer-app .studio .switch {
    border: 1px solid #dce0d8;
    background: #e2e7de;
    box-shadow: none;
}
.customer-app .studio .switch a {
    padding: 12px 16px;
    font-size: 12px;
    color: #465043;
    border-radius: 8px;
}
.customer-app .studio .switch a.active {
    background: white;
    color: #722334;
}
.customer-app .studio small {
    color: #6a7368;
}
.customer-app #shell {
    width: 420px;
    height: min(880px, calc(100dvh - 60px));
    min-height: 660px;
    border: 7px solid #252a25;
    border-radius: 48px;
    background: #f8f9f6;
    box-shadow: 0 32px 80px #22301f24, 0 0 0 1px #ffffff80;
}
.customer-app .status {
    padding: 14px 26px 8px;
    background: #fff;
    flex-shrink: 0;
    font-size: 12px;
    color: #1b241d;
}
.customer-app .status > span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}
.customer-app #screen {
    background: #f8f9f6;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    overscroll-behavior: contain;
    flex: 1;
    min-height: 0;
}
.customer-app #screen::-webkit-scrollbar {
    display: none;
}
.customer-app .app-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 20px 17px;
    background: #fff;
}
.customer-app .app-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}
.customer-app .app-brand img {
    width: 55px;
    height: 45px;
    object-fit: contain;
}
.customer-app .app-brand strong {
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -.03em;
    display: block;
}
.customer-app .app-brand small {
    font-size: 9px;
    color: #70756f;
    display: block;
    margin-top: 4px;
}
.customer-app .app-notification-button {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #e5e9e2;
    border-radius: 50%;
    color: #253329;
    background: white;
    text-decoration: none;
    flex-shrink: 0;
}
.customer-app .pickup {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 0;
    border-top: 1px solid #edf0e9;
    padding: 12px 20px;
    margin: 0;
    text-decoration: none;
}
.customer-app .pickup > i:first-child {
    color: #722334;
    font-size: 17px;
}
.customer-app .pickup > i:last-child {
    color: #788173;
    font-size: 9px;
}
.customer-app .pickup > div {
    margin-right: auto;
}
.customer-app .pickup small {
    display: block;
    color: #8a9185;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .1em;
}
.customer-app .pickup strong {
    display: block;
    font-size: 11px;
    margin-top: 3px;
    color: #263128;
    font-weight: 650;
}
.customer-app .pickup .open {
    font-size: 8px;
    border-radius: 30px;
    padding: 5px 8px;
    color: #376643;
    background: #edf4e9;
    white-space: nowrap;
}
.customer-app .hours-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 20px;
    margin: 0;
    background: #f0f3ed;
    color: #6f7869;
    border: 0;
    font-size: 8px;
    line-height: 1.4;
}
.customer-app .hours-strip i {
    margin-right: 3px;
}
.customer-app .app-home-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 17px 20px;
    padding: 12px 14px;
    background: white;
    border: 1px solid #e0e6db;
    color: #7a8275;
    border-radius: 12px;
    font-size: 11px;
    text-decoration: none;
    min-height: 44px;
}
.customer-app .app-home-search > i:first-child {
    color: #404e3d;
    font-size: 14px;
}
.customer-app .app-home-search > i:last-child {
    margin-left: auto;
    color: #722334;
}
.customer-app .hero {
    position: relative;
    margin: 0 20px 16px;
    height: 174px;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f1e4cb;
    box-shadow: none;
}
.customer-app .hero > img {
    position: absolute;
    inset: 0 0 0 auto;
    width: 51%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.customer-app .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f1e4cb 0%, #f1e4cb 40%, #f1e4cb90 53%, transparent 72%);
    pointer-events: none;
}
.customer-app .hero > div {
    position: relative;
    inset: auto;
    z-index: 1;
    padding: 23px 18px;
    width: 67%;
    background: none;
    color: #4a3427;
}
.customer-app .hero small {
    display: block;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .13em;
    color: #8a6337;
    margin-bottom: 10px;
}
.customer-app .hero h2 {
    font-family: var(--font-system);
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #56302e;
}
.customer-app .hero a {
    font-size: 10px;
    font-weight: 650;
    color: #722334;
    text-decoration: none;
}
.customer-app .hero a i {
    margin-left: 6px;
}
.customer-app .section {
    padding: 0 20px 22px;
}
.customer-app .heading {
    margin: 6px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.customer-app .heading h2 {
    font-size: 19px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -.035em;
    margin: 0;
}
.customer-app .heading > a {
    font-size: 10px;
    color: #722334;
    font-weight: 600;
    text-decoration: none;
}
.customer-app[data-page="home"] .section {
    padding-bottom: 0;
}
.customer-app .categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: -6px 0 22px;
    padding: 0 20px 4px;
}
.customer-app .categories::-webkit-scrollbar {
    display: none;
}
.customer-app .chip {
    border-radius: 11px;
    border: 1px solid #dfe5d9;
    background: white;
    color: #5c6657;
    padding: 11px 15px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    min-height: 42px;
}
.customer-app .chip.active {
    background: #722334;
    color: #fff;
    border-color: #722334;
    box-shadow: 0 3px 8px #72233414;
}
.customer-app .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.customer-app .card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 15px;
    border: 1px solid #e5e9e2;
    background: white;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px #20311b04;
}
.customer-app .card > a {
    display: block;
    overflow: hidden;
}
.customer-app .card img {
    display: block;
    width: 100%;
    height: 138px;
    object-fit: cover;
    border-radius: 0;
}
.customer-app .card .info {
    padding: 12px;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.customer-app .card h3 {
    font-size: 13px;
    line-height: 1.35;
    min-height: 35px;
    font-weight: 700;
    margin: 0 0 5px;
    letter-spacing: -.015em;
}
.customer-app .card h3 a {
    text-decoration: none;
    color: #273029;
}
.customer-app .card small {
    font-size: 9px;
    color: #7c8476;
    line-height: 1.5;
}
.customer-app .card .price {
    display: grid;
    grid-template-columns: 1fr 36px;
    column-gap: 5px;
    margin-top: auto;
    padding-top: 10px;
    color: #722334;
    font-size: 15px;
    font-weight: 750;
    align-items: center;
}
.customer-app .card .price del {
    grid-column: 1;
    font-size: 10px;
    color: #8a9185;
    font-weight: 400;
    margin-bottom: 2px;
}
.customer-app .card .price [data-field="price"] {
    grid-column: 1;
}
.customer-app .card .add {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #722334;
    color: white;
    display: grid;
    place-items: center;
    font-size: 13px;
    box-shadow: none;
}
.customer-app .card .fav {
    position: absolute;
    right: 9px;
    top: 9px;
    width: 30px;
    height: 30px;
    border: 1px solid #ffffffa0;
    border-radius: 50%;
    background: #ffffffee;
    color: #722334;
    box-shadow: 0 2px 10px #0000000c;
}
.customer-app .banner {
    background: #edf2e8;
    color: #66745c;
    border: 1px solid #dce5d4;
    border-radius: 14px;
    margin: 24px 0 0;
    padding: 20px;
    font-size: 11px;
    line-height: 1.8;
}
.customer-app .banner b {
    font-size: 17px;
    font-weight: 700;
    color: #3c5235;
    letter-spacing: -.02em;
}
.customer-app #app-nav {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 18px;
    border-top: 1px solid #e5e9e2;
    background: #fff;
    margin: 0;
    gap: 0;
}
.customer-app #app-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    padding: 7px 7px 4px;
    min-width: 56px;
    font-size: 9px;
    text-decoration: none;
    color: #8a9185;
    font-weight: 500;
    border-radius: 12px;
}
.customer-app #app-nav a i {
    display: block;
    font-size: 18px;
    margin: 0;
}
.customer-app #app-nav a.active {
    background: #f5eaf0;
    color: #722334;
}
.customer-app #app-nav a [data-cart-count] {
    position: absolute;
    top: -2px;
    right: 0;
    background: #722334;
    color: white;
    border-radius: 20px;
    min-width: 14px;
    font-size: 8px;
    line-height: 15px;
    padding: 0 4px;
}
.customer-app #app-nav a [data-cart-count]:empty {
    display: none;
}
.customer-app .app-mini-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #722334;
    color: white;
    margin: 0 12px 10px;
    padding: 13px 14px;
    border-radius: 13px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 5px 16px #72233420;
}
.customer-app .app-mini-cart-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #ffffff18;
    border-radius: 9px;
}
.customer-app .app-mini-cart-icon > b {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 15px;
    padding: 0 3px;
    line-height: 15px;
    text-align: center;
    border-radius: 50%;
    background: #edc875;
    color: #4d3030;
    font-size: 8px;
}
.customer-app .app-mini-cart > span:nth-child(2) {
    flex: 1;
}
.customer-app .app-mini-cart strong {
    display: block;
    font-size: 12px;
    font-weight: 650;
}
.customer-app .app-mini-cart small {
    display: block;
    font-size: 8px;
    margin-top: 3px;
    color: #e1bfc6;
}
.customer-app .app-mini-cart > b {
    font-size: 14px;
}
.customer-app .app-mini-cart > i {
    font-size: 11px;
}
/* Dedicated screens share a compact navigation bar and crisp, roomy panels. */
.customer-app .titlebar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e9e2;
    margin: 0 0 20px;
}
.customer-app .page-title {
    font-family: var(--font-system);
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.04em;
    margin: 0;
    color: #263128;
}
.customer-app .back {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #f0f3ed;
    color: #4b5944;
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}
.customer-app .panel, .customer-app .form-block {
    background: white;
    color: #273029;
    border: 1px solid #e2e7dd;
    border-radius: 15px;
    box-shadow: none;
    padding: 18px;
    margin-bottom: 16px;
}
.customer-app .panel h2, .customer-app .detail h2 {
    font-family: var(--font-system);
    color: #263128;
    font-size: 24px;
    letter-spacing: -.04em;
    font-weight: 750;
}
.customer-app .panel h3, .customer-app .form-block h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.025em;
}
.customer-app .muted {
    color: #7a8273;
    font-size: 12px;
    line-height: 1.7;
}
.customer-app .primary {
    background: #722334;
    color: white;
    border: 1px solid #722334;
    border-radius: 12px;
    min-height: 49px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    box-shadow: 0 4px 10px #7223340a;
}
.customer-app .primary:hover {
    background: #561827;
    color: white;
}
.customer-app .secondary {
    border: 1px solid #dfe5d9;
    border-radius: 12px;
    min-height: 45px;
    padding: 12px 16px;
    background: white;
    color: #57654f;
    font-size: 12px;
    font-weight: 600;
}
.customer-app .secondary:hover {
    background: #edf2e8;
    color: #354d2d;
}
.customer-app .badge {
    background: #eaf2e4;
    color: #49653a;
    border: 0;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 600;
}
.customer-app .search {
    margin: 0;
    border-radius: 12px;
    border-color: #dfe5d9;
    background: white;
    padding: 13px 15px;
    min-height: 48px;
    font-size: 13px;
    box-shadow: none;
}
.customer-app input:not([type="checkbox"]):not([type="radio"]), .customer-app select, .customer-app textarea {
    border-color: #dfe5d9;
    border-radius: 10px;
    background: #fcfdfb;
    color: #263128;
    min-height: 45px;
    font-size: 14px;
    padding: 11px 12px;
}
.customer-app input:focus, .customer-app select:focus, .customer-app textarea:focus {
    border-color: #a46672;
    box-shadow: 0 0 0 3px #7223340d;
    outline: none;
}
.customer-app label {
    font-size: 11px;
    font-weight: 600;
    color: #5c6655;
    margin-bottom: 7px;
}
.customer-app .detail-img {
    display: block;
    width: calc(100% - 40px);
    height: 270px;
    margin: 0 20px 24px;
    border-radius: 18px;
    object-fit: cover;
}
.customer-app .detail h2 {
    font-size: 28px;
    margin-bottom: 16px;
}
.customer-app .detail > .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 12px;
    gap: 10px;
}
.customer-app .detail > .row > * {
    width: auto;
    padding: 0;
}
.customer-app .detail > .row .badge {
    padding: 6px 8px;
}
.customer-app [data-detail-price] {
    color: #722334;
    font-size: 23px;
}
.customer-app [data-detail-regular] {
    color: #87917e;
    font-size: 12px;
    margin-left: auto;
}
.customer-app .detail > p {
    font-size: 13px;
    line-height: 1.8;
}
.customer-app .detail .primary {
    width: 100%;
    margin-top: 8px;
}
.customer-app .cart-row {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #e2e7dd;
    border-radius: 14px;
    padding: 13px;
    background: white;
    margin-bottom: 12px;
}
.customer-app .cart-row img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 10px;
}
.customer-app .cart-row h3 {
    font-size: 13px;
    font-weight: 650;
    margin: 0 0 5px;
}
.customer-app .cart-row .quantity, .customer-app .qty {
    background: #f0f3ed;
    border: 1px solid #dfe5d9;
    border-radius: 9px;
}
.customer-app .cart-row button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #edf2e8;
    color: #536949;
}
.customer-app .totals {
    background: white;
    border: 1px solid #e2e7dd;
    padding: 18px;
    border-radius: 14px;
}
.customer-app .totals .row {
    margin: 0;
    padding: 8px 0;
    font-size: 13px;
}
.customer-app .empty {
    padding: 40px 20px;
    background: white;
    border: 1px solid #e2e7dd;
    border-radius: 16px;
    text-align: center;
}
.customer-app .empty h2 {
    font-family: var(--font-system);
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -.035em;
    margin-bottom: 16px;
}
.customer-app .app-checkout-steps {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 22px;
    font-size: 9px;
    color: #6d7964;
}
.customer-app .app-checkout-steps span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.customer-app .app-checkout-steps b {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #e9eee3;
    color: #4e6542;
    font-size: 9px;
}
.customer-app .block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.customer-app .block-title > span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f5eaf0;
    color: #722334;
    font-size: 11px;
}
.customer-app .block-title h3 {
    margin: 0;
}
.customer-app .tabs {
    gap: 8px;
    background: #f0f3ed;
    border: 0;
    border-radius: 11px;
    padding: 5px;
}
.customer-app .tabs label {
    font-size: 10px;
    margin: 0;
    padding: 9px;
    color: #58654f;
}
.customer-app .checkout-intro {
    border: 0;
    padding: 0 0 15px;
}
.customer-app .payment-block {
    border-color: #d5decd;
}
.customer-app .notice-banner {
    background: #edf3e6;
    border-bottom: 1px solid #dce5d4;
}
.customer-app .notice-banner button {
    color: #405a34;
}
.customer-app .notice-banner b {
    font-size: 11px;
}
.customer-app .notice-banner small, .customer-app .notice-banner em {
    font-size: 9px;
}
.customer-app .pairing-card {
    background: white;
    border-color: #dfe5d9;
    border-radius: 13px;
}
.customer-app .pairing-card img {
    border-radius: 10px;
}
.customer-app #shell .app-feedback-layer > dialog {
    background: #fff;
    border: 1px solid #e2e7dd;
    border-radius: 20px;
    color: #263128;
}
.customer-app #shell .app-feedback-layer > dialog h2 {
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -.035em;
}
.customer-app #shell > #toast {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: calc(100% - 44px);
    max-width: 340px;
    padding: 22px;
    border: 3px solid white;
    border-radius: 18px;
    background: #253b2e;
    color: white;
    box-shadow: 0 15px 50px #10231540;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
.customer-app [hidden] {
    display: none !important;
}
@media (max-width: 900px) {
    body.customer-app {
        padding: 20px;
        gap: 40px;
    }
    .customer-app .studio {
        width: 270px;
    }
    .customer-app .studio h1 {
        font-size: 36px;
    }
}
@media (max-width: 700px) {
    body.customer-app {
        display: block;
        padding: 0;
        min-height: 100dvh;
        background: #f8f9f6;
    }
    .customer-app .studio {
        display: none;
    }
    .customer-app #shell {
        width: min(100%, 460px);
        height: 100dvh;
        min-height: 0;
        margin: 0 auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .customer-app .status {
        padding-top: max(12px, env(safe-area-inset-top));
    }
    .customer-app #app-nav {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}
@media (max-height: 740px) and (min-width: 701px) {
    .customer-app #shell {
        height: calc(100dvh - 24px);
        min-height: 0;
    }
    body.customer-app {
        padding: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .customer-app * {
        scroll-behavior: auto;
        transition: none !important;
    }
}
