/* ============================================
   ELEGANT V2 - Glow Theme V2
   Mobile-first ordering experience
   Inspired by Uber Eats & McDonald's kiosk
   ============================================ */

/* --- 1. CSS Variables --- */
:root {
    --v2-black: #000000;
    --v2-gray-900: #1a1a1a;
    --v2-gray-700: #333333;
    --v2-gray-500: #666666;
    --v2-gray-400: #999999;
    --v2-gray-300: #cccccc;
    --v2-gray-200: #e6e6e6;
    --v2-gray-100: #f5f5f5;
    --v2-gray-50: #fafafa;
    --v2-white: #ffffff;
    --v2-accent: #000000;
    --v2-success: #00B87C;
    --v2-error: #E11D48;

    --v2-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --v2-space-1: 4px;
    --v2-space-2: 8px;
    --v2-space-3: 12px;
    --v2-space-4: 16px;
    --v2-space-5: 20px;
    --v2-space-6: 24px;
    --v2-space-8: 32px;

    --v2-radius-sm: 4px;
    --v2-radius-md: 8px;
    --v2-radius-lg: 12px;
    --v2-radius-xl: 16px;
    --v2-radius-full: 9999px;

    --v2-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --v2-shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --v2-shadow-lg: 0 10px 15px rgba(0,0,0,0.08);
    --v2-shadow-sheet: 0 -4px 20px rgba(0,0,0,0.12);

    /* Legacy compat */
    --packer: 1200px;
    --padding: 64px;
    --gap: 16px;
    --gap-sm: 12px;
    --gap-lg: 20px;
    --color-background: #FFF;
    --color-background-shadow: #f7f7f7;
    --font-color: #999;
    --hfont-color: #000;
    --border-radius: 4px;
    --transition-speed: .3s ease-in-out;
    --transition: all var(--transition-speed);
    --shadow: 0 16px 48px rgba(0,0,0,0.1);
    --header-height: 100px;
}

/* --- 2. Reset --- */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}:focus{outline:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none;-moz-appearance:none}input[type=search]{-webkit-appearance:none;-moz-appearance:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}textarea{overflow:auto;vertical-align:top;resize:vertical}audio,canvas,video{display:inline-block;max-width:100%}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted}a:active,a:hover{outline:0}img{border:0;-ms-interpolation-mode:bicubic}figure{margin:0}form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}button,html,input,select,textarea{color:#222}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}img{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}
*{box-sizing: border-box;}

/* --- 3. Base Typography --- */
html {
    scroll-padding-top: 64px;
    scroll-behavior: smooth;
    background-color: var(--v2-white);
    -webkit-overflow-scrolling: touch;
    overflow-x: clip;
}

body {
    font-family: var(--v2-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--v2-gray-700);
    background: var(--v2-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

h1, h2, h3, h4 {
    font-family: var(--v2-font);
    color: var(--v2-black);
    margin: 0;
    line-height: 1.25;
}

a { color: var(--v2-black); text-decoration: none; transition: all 0.2s ease; }
a:hover { text-decoration: none; }
a[disabled], button:disabled, .button[disabled] { opacity: .5; pointer-events: none; }

small { font-size: 14px; }
strong { color: var(--v2-black); font-weight: 600; }

section, picture { display: block; margin: 0; position: relative; }
img { max-width: 100%; display: block; height: auto; }
picture[data-background="true"] { position: absolute; inset: 0; }
picture[data-background="true"] img { object-position: center center; width: 100%; height: 100%; object-fit: cover; }

/* --- 4. Utility Classes --- */
.packer { width: var(--packer); margin: 0 auto; position: relative; z-index: 1; max-width: calc(100% - var(--padding) * 2); }
@media only screen and (max-width: 1200px) { .packer { max-width: calc(100% - var(--gap-lg) * 2); } }
@media only screen and (max-width: 576px) { .packer { max-width: calc(100% - var(--gap) * 2); } }

.content-tab:not(.expanded) { display: none !important; }
.full-width { width: 100%; }
.align-center { text-align: center; }
.align-left { text-align: left; }

/* tag */
.tag { display: inline-flex; font-size: 11px; font-weight: 600; letter-spacing: 1px; line-height: 1; padding: 6px 8px; background: #edf7ee; color: #00bc8b; border-radius: var(--v2-radius-sm); }
.tag.disabled { background: #EEE; color: #CCC; }

/* map */
.map { width: 100%; position: relative; padding-top: 56.25%; background: #FFF; }
.map > iframe { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* schedule-map */
.schedule-map { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 32px; }
@media only screen and (max-width: 1200px) { .schedule-map { grid-template-columns: 1fr; } }
.schedule .items > li { font-size: 14px; display: flex; justify-content: space-between; padding: 12px 0; color: var(--v2-black); }
.schedule .items > li > .day { font-weight: 600; }
.schedule .items > li + li { border-top: 1px solid var(--v2-gray-100); }

/* actionsCart (legacy compat) */
.actionsCart { padding: 16px; }

/* wrapper */
#wrapper { position: relative; }

/* tiny-slider (keep for carousel compat) */
.tns-outer{padding:0!important}.tns-outer [hidden]{display:none!important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{-webkit-transition:all 0s;-moz-transition:all 0s;transition:all 0s}.tns-slider>.tns-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:'';display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-no-calc{position:relative;left:0}.tns-gallery{position:relative;left:0;min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;-webkit-transition:transform 0s,opacity 0s;-moz-transition:transform 0s,opacity 0s;transition:transform 0s,opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:auto!important}.tns-gallery>.tns-moving{-webkit-transition:all .25s;-moz-transition:all .25s;transition:all .25s}.tns-autowidth{display:inline-block}.tns-lazy-img{-webkit-transition:opacity .6s;-moz-transition:opacity .6s;transition:opacity .6s;opacity:.6}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{-webkit-transition:height 0s;-moz-transition:height 0s;transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;z-index:0}.tns-fadeOut,.tns-normal{opacity:0;z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}

/* --- 5. ORDER TYPE GATE --- */
.v2-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-white);
    transition: opacity 0.3s ease;
}

.v2-gate__backdrop {
    width: 100%;
    max-width: 480px;
    padding: 48px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v2-gate__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.v2-gate__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--v2-gray-100);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.v2-gate__name {
    font-family: var(--v2-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
}

.v2-gate__content {
    width: 100%;
}

.v2-gate__title {
    font-family: var(--v2-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.v2-gate__options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.v2-gate__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 160px;
    height: 160px;
    padding: 24px 16px;
    background: var(--v2-white);
    border: 1.5px solid var(--v2-gray-200, #e5e5e5);
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--v2-font);
    box-shadow: none;
}

.v2-gate__btn:hover {
    border-color: var(--v2-black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: scale(1.03);
}

.v2-gate__btn:active {
    transform: scale(0.98);
    box-shadow: none;
}

.v2-gate__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--v2-black);
    border-radius: 0;
    transition: all 0.2s ease;
}

.v2-gate__icon svg {
    width: 36px;
    height: 36px;
}

.v2-gate__btn:hover .v2-gate__icon {
    transform: scale(1.1);
}

.v2-gate__icon svg {
    stroke: currentColor;
}

.v2-gate__label {
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-black);
    display: block;
    line-height: 1.3;
    margin-top: 12px;
}

.v2-gate__sublabel {
    font-size: 13px;
    color: var(--v2-gray-400);
    display: block;
    margin-top: 4px;
}

/* Gate responsive */
@media (max-width: 480px) {
    .v2-gate__backdrop {
        padding: 32px 20px 24px;
        justify-content: center;
        height: 100%;
    }
    .v2-gate__brand {
        margin-bottom: 32px;
    }
    .v2-gate__logo {
        width: 64px;
        height: 64px;
    }
    .v2-gate__name {
        font-size: 18px;
    }
    .v2-gate__options {
        gap: 12px;
    }
    .v2-gate__btn {
        width: calc(50% - 6px);
        height: auto;
        aspect-ratio: 1;
        padding: 20px 12px;
    }
    .v2-gate__icon svg {
        width: 32px;
        height: 32px;
    }
    .v2-gate__label {
        font-size: 14px;
        margin-top: 10px;
    }
}

/* Postal Code Step */
.v2-gate__postal-step {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.v2-gate__back-btn {
    align-self: flex-start;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v2-gate__back-btn:hover {
    background: var(--v2-gray-200);
}

.v2-gate__postal-title {
    font-family: var(--v2-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
    text-align: center;
}

.v2-gate__postal-input {
    width: 100%;
    padding: 20px 24px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    border: 3px solid var(--v2-gray-200);
    border-radius: var(--v2-radius-lg);
    outline: none;
    transition: all 0.2s ease;
    font-family: var(--v2-font);
    letter-spacing: 4px;
}

.v2-gate__postal-input:focus {
    border-color: var(--v2-black);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.v2-gate__postal-btn {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-white);
    background: var(--v2-black);
    border: none;
    border-radius: var(--v2-radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--v2-font);
}

.v2-gate__postal-btn:hover {
    background: var(--v2-gray-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.v2-gate__postal-btn:active {
    transform: translateY(0);
}

.v2-gate__skip-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-gray-600);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--v2-font);
}

.v2-gate__skip-btn:hover {
    color: var(--v2-black);
    text-decoration: underline;
}

/* Gate - Postal code result / delivery info */
@keyframes v2-gate-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gate delivery info items (shown after valid postal code) */
.v2-gate__delivery-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: var(--v2-gray-50);
    border-radius: var(--v2-radius-lg);
    border: 1.5px solid var(--v2-gray-200);
    overflow: hidden;
    animation: v2-gate-fadeIn 0.35s ease;
}

.v2-gate__delivery-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--v2-gray-200);
}

.v2-gate__delivery-info-item:last-child {
    border-bottom: none;
}

.v2-gate__delivery-info-item svg {
    flex-shrink: 0;
    color: var(--v2-gray-500);
}

.v2-gate__delivery-info-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.v2-gate__delivery-info-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--v2-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.v2-gate__delivery-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--v2-black);
}

/* Gate error card */
.v2-gate__postal-result {
    width: 100%;
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
    animation: v2-gate-fadeIn 0.3s ease;
}

.v2-gate__postal-result--error {
    border: 2px solid var(--v2-error);
    background: #fef2f2;
}

.v2-gate__postal-result-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #991b1b;
}

.v2-gate__postal-result-header svg {
    flex-shrink: 0;
}

.v2-gate__postal-result-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.v2-gate__postal-error-actions {
    display: flex;
    gap: 8px;
    padding: 0 20px 16px;
}

.v2-gate__postal-error-btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--v2-radius-md);
    border: none;
    cursor: pointer;
    font-family: var(--v2-font);
    transition: all 0.2s ease;
}

.v2-gate__postal-error-btn--retry {
    background: var(--v2-white);
    color: var(--v2-black);
    border: 1.5px solid var(--v2-gray-200);
}

.v2-gate__postal-error-btn--retry:hover {
    border-color: var(--v2-black);
}

.v2-gate__postal-error-btn--takeaway {
    background: var(--v2-black);
    color: var(--v2-white);
}

.v2-gate__postal-error-btn--takeaway:hover {
    background: var(--v2-gray-900);
}

/* Cart minimum warning */
.v2-cart__minimum-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--v2-radius-md);
    margin-bottom: 12px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.4;
}

.v2-cart__minimum-warning svg {
    flex-shrink: 0;
    color: #d97706;
}

@media (min-width: 768px) {
    .v2-gate__backdrop {
        max-width: 600px;
        padding: 64px 32px 48px;
    }
    .v2-gate__options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .v2-gate__btn {
        flex-direction: column;
        text-align: center;
        width: calc(33.333% - 12px);
        min-width: 150px;
        padding: 28px 20px;
        gap: 12px;
    }
    .v2-gate__title {
        font-size: 32px;
    }
    .v2-gate__logo {
        width: 96px;
        height: 96px;
    }
}

/* --- 6. HEADER V2 (Uber Eats Style) --- */
.v2-header {
    background: var(--v2-white);
    position: relative;
}

.v2-header__cover {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Action buttons on cover */
.v2-header__actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.v2-header__actions-right {
    display: flex;
    gap: 8px;
}

.v2-header__action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--v2-black);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.v2-header__action-btn:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: var(--v2-black);
}

.v2-header__action-btn:active {
    transform: scale(0.95);
}

/* White card overlapping cover with rounded top corners */
.v2-header__card {
    position: relative;
    margin-top: -24px;
    background: var(--v2-white);
    border-radius: 48px 48px 0 0;
    z-index: 5;
}

.v2-header__card-inner {
    padding: 20px 16px 12px;
}

/* Name + Badge Row */
.v2-header__name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.v2-header__name {
    font-family: var(--v2-font);
    font-size: 30px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

/* Description + Badge Row */
.v2-header__desc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.v2-header__info-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--v2-gray-300);
    border-radius: 50%;
    cursor: pointer;
    margin-top: 4px;
    color: var(--v2-gray-500);
    transition: all 0.15s ease;
}

.v2-header__info-btn:hover {
    background: var(--v2-gray-100);
    color: var(--v2-black);
}

/* Rating (now on name row) */
.v2-header__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--v2-black);
}

.v2-header__rating svg {
    width: 16px;
    height: 16px;
    color: var(--v2-black);
}

.v2-header__rating-count {
    font-weight: 400;
    font-size: 15px;
    color: var(--v2-gray-500);
}

.v2-header__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--v2-gray-400);
    display: inline-block;
    margin: 0 8px;
    vertical-align: middle;
}

.v2-header__desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--v2-gray-600);
}

/* Delivery info row */
.v2-header__delivery-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.v2-header__delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--v2-gray-800);
    font-weight: 500;
    width: 100%;
    line-height: 1.5;
}

.v2-header__delivery-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--v2-gray-600);
}

/* Delivery text container */
.v2-delivery-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.v2-delivery-label {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
    line-height: 1.5;
}

.v2-delivery-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
}

/* ============================================
   DELIVERY INFO SECTION - Polished & Native
   ============================================ */

/* Details section (expandable) - Smooth transitions */
.v2-header__details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.3s ease;
}

.v2-header__details.is-open {
    max-height: 500px;
    opacity: 1;
    margin-top: 16px;
}

.v2-header__details .v2-header__delivery-info {
    margin-top: 0;
    margin-bottom: 0;
}

/* See more button - Primary section */
.v2-header__see-more-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.v2-header__see-more-btn:hover .v2-delivery-value {
    color: var(--v2-black);
}

.v2-header__see-more-btn:active {
    transform: scale(0.96);
}

.v2-header__see-more-btn .v2-delivery-value {
    color: var(--v2-gray-600);
    font-weight: 600;
}

.v2-header__see-more-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--v2-gray-500);
}

.v2-header__see-more-btn.is-open svg {
    transform: rotate(180deg);
}

/* Postal code button - Interactive & clickable */
.v2-header__postal-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.v2-header__postal-btn:hover {
    background: var(--v2-gray-50);
    margin: -4px;
    padding: 4px;
    border-radius: 8px;
}

.v2-header__postal-btn:active {
    transform: scale(0.98);
}

.v2-header__postal-btn .v2-delivery-value {
    color: var(--v2-gray-600);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.v2-header__postal-btn:hover .v2-delivery-value {
    color: var(--v2-black);
}

/* Postal Code Modal */
.v2-postal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.v2-postal-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: v2-fade-in 0.2s ease;
}

.v2-postal-modal__content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    animation: v2-slide-up 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 16px;
}

@media (min-width: 577px) {
    .v2-postal-modal {
        align-items: center;
    }

    .v2-postal-modal__content {
        border-radius: 24px;
        margin-bottom: 0;
    }
}

.v2-postal-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-postal-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--v2-black);
    margin: 0;
}

.v2-postal-modal__close {
    background: var(--v2-gray-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--v2-gray-600);
    -webkit-tap-highlight-color: transparent;
}

.v2-postal-modal__close:hover {
    background: var(--v2-gray-200);
    color: var(--v2-black);
}

.v2-postal-modal__close:active {
    transform: scale(0.95);
}

.v2-postal-modal__body {
    padding: 24px;
}

.v2-postal-modal__description {
    margin: 0 0 20px 0;
    color: var(--v2-gray-600);
    font-size: 15px;
    line-height: 1.5;
}

.v2-postal-modal__input {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 500;
    border: 2px solid var(--v2-gray-200);
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    font-family: inherit;
}

.v2-postal-modal__input:focus {
    outline: none;
    border-color: var(--v2-primary, #0ea5e9);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.v2-postal-modal__input::placeholder {
    color: var(--v2-gray-400);
    font-weight: 400;
}

.v2-postal-modal__submit {
    width: 100%;
    padding: 16px;
    background: var(--v2-black, #1a1a1a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
}

.v2-postal-modal__submit:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.v2-postal-modal__submit:active {
    transform: translateY(0);
}

/* Animations */
@keyframes v2-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes v2-slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ============================================
   MOBILE POLISH - Apple-friendly design
   Perfect spacing, alignment, readability
   ============================================ */
@media (max-width: 576px) {
    /* Header Card - Clean overlap */
    .v2-header__card {
        margin-top: -24px;
        border-radius: 48px 48px 0 0;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
    }

    .v2-header__card-inner {
        padding: 24px 20px 20px;
    }

    /* Name Row - Perfect alignment */
    .v2-header__name-row {
        gap: 12px;
        margin-bottom: 12px;
        align-items: center;
    }

    .v2-header__name {
        font-size: 26px;
        line-height: 1.2;
        letter-spacing: -0.3px;
        font-weight: 700;
    }

    /* Description Row - Breathing room */
    .v2-header__desc-row {
        gap: 12px;
        margin-top: 8px;
        margin-bottom: 27px;
    }

    .v2-header__desc-row .v2-badge {
        font-size: 12px;
        padding: 5px 12px;
        flex-shrink: 0;
        border-radius: 6px;
    }

    .v2-header__desc {
        font-size: 15px;
        line-height: 1.5;
        margin: 0;
        color: var(--v2-gray-700);
    }

    /* Rating - Refined sizing */
    .v2-header__rating {
        gap: 4px;
        font-size: 15px;
        font-weight: 600;
    }

    .v2-header__rating svg {
        width: 15px;
        height: 15px;
    }

    /* Delivery Info - Grid layout */
    .v2-header__delivery-info {
        gap: 12px;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .v2-header__delivery-item {
        gap: 10px;
        font-size: 14px;
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        padding: 0;
        align-items: flex-start;
    }

    .v2-header__delivery-item svg {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .v2-delivery-text {
        gap: 6px;
        min-width: 0;
    }

    .v2-delivery-label {
        font-size: 14px;
        line-height: 1.5;
        color: #4b5563;
    }

    .v2-delivery-value {
        font-size: 14px;
        line-height: 1.3;
        font-weight: 600;
        color: var(--v2-black);
    }

    /* Footer Info - Proper spacing */
    .v2-header__footer-info {
        margin-top: 16px;
        margin-bottom: 8px;
    }

    /* See More Button - Touch friendly */
    .v2-header__see-more {
        min-height: 44px;
        padding: 8px 0;
    }

    /* Category Pills - Horizontal scroll refinement */
    .v2-category-bar {
        padding: 12px 0;
        background: var(--v2-white);
    }

    .v2-category-bar__pills {
        gap: 8px;
        padding: 0 20px;
    }

    .v2-pill {
        padding: 10px 16px;
        font-size: 15px;
        min-height: 40px;
        border-radius: 12px;
    }

    /* Item Cards - Perfect touch targets */
    .v2-item-card {
        padding: 16px 20px;
        gap: 16px;
        min-height: 88px;
    }

    .v2-item-card__name {
        font-size: 16px;
        line-height: 1.3;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .v2-item-card__desc {
        font-size: 14px;
        line-height: 1.4;
        color: var(--v2-gray-600);
        margin-bottom: 8px;
    }

    .v2-item-card__price {
        font-size: 15px;
        font-weight: 700;
    }

    .v2-item-card__img-wrap {
        width: 88px;
        height: 88px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
    }

    /* Category Sections - Clean separation */
    .v2-category-section {
        padding: 24px 0 16px;
    }

    .v2-category-title {
        font-size: 22px;
        font-weight: 700;
        margin: 0 0 16px 20px;
        letter-spacing: -0.3px;
    }

    /* FAB Button - Bottom safe area */
    .v2-cart-fab {
        bottom: max(20px, env(safe-area-inset-bottom));
        left: 20px;
        right: 20px;
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }

    /* Mobile Cart - Proper spacing */
    .v2-mobile-cart {
        padding: 20px;
        gap: 16px;
    }

    .v2-mobile-cart__title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .v2-mobile-cart__item {
        padding: 16px 0;
        gap: 12px;
        min-height: 56px;
    }

    /* Badges - Consistent sizing */
    .v2-badge {
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 6px;
        letter-spacing: 0.2px;
    }

    /* Content padding - Safe areas */
    .v2-content__inner {
        padding-bottom: max(120px, calc(120px + env(safe-area-inset-bottom)));
    }

    /* Category Menu - Bottom sheet optimization */
    .v2-category-menu__panel {
        border-radius: 28px 28px 0 0;
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }

    .v2-category-menu__header {
        padding: 24px 20px 20px;
    }

    .v2-category-menu__item {
        padding: 18px 20px;
        font-size: 17px;
        min-height: 56px;
    }

    /* Delivery Details - Mobile polish */
    .v2-header__see-more-btn {
        min-height: 44px;
    }

    .v2-header__see-more-btn .v2-delivery-value {
        font-size: 15px;
    }

    .v2-header__postal-btn {
        min-height: 44px;
    }

    .v2-header__postal-btn .v2-delivery-value {
        font-size: 14px;
    }

    .v2-header__actions-row {
        margin-top: 16px;
        padding-top: 16px;
        gap: 12px;
    }

    .v2-header__action-btn {
        font-size: 14px;
        padding: 6px 0;
    }

    .v2-header__action-btn svg {
        width: 18px;
        height: 18px;
    }
}

.v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: var(--v2-gray-100);
    color: var(--v2-gray-700);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.v2-badge--open {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
}

.v2-badge--closed {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
}

/* Order type indicator */
.v2-header__order-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 10px 14px;
    background: var(--v2-gray-50);
    border-radius: var(--v2-radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--v2-black);
}

.v2-header__change-type {
    background: none;
    border: none;
    color: var(--v2-black);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: var(--v2-font);
}

/* Footer info button */
.v2-header__footer-info {
    margin-top: 12px;
    margin-bottom: 4px;
}

.v2-header__info-btn-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--v2-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--v2-gray-600);
    padding: 0;
    transition: color 0.15s ease;
}

.v2-header__info-btn-footer:hover {
    color: var(--v2-black);
}

.v2-header__info-btn-footer svg {
    flex-shrink: 0;
    color: var(--v2-gray-500);
}

.v2-header__info-btn-footer:hover svg {
    color: var(--v2-black);
}

/* Language pills */
.v2-header__langs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.v2-header__lang-pill {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    background: var(--v2-gray-100);
    border-radius: var(--v2-radius-full);
    color: var(--v2-gray-700);
    text-decoration: none;
}

.v2-header__lang-pill:hover {
    background: var(--v2-gray-200);
    color: var(--v2-black);
    text-decoration: none;
}

.v2-header__lang-pill--active {
    background: var(--v2-black);
    color: var(--v2-white);
}

.v2-header__lang-pill--active:hover {
    background: var(--v2-black);
    color: var(--v2-white);
}

/* Search overlay */
.v2-search {
    background: var(--v2-white);
    padding: 8px 0;
    border-bottom: 1px solid var(--v2-gray-200);
}

.v2-search__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.v2-search__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--v2-gray-200);
    border-radius: var(--v2-radius-full);
    font-family: var(--v2-font);
    font-size: 15px;
    background: var(--v2-gray-50);
    outline: none;
}

.v2-search__input:focus {
    border-color: var(--v2-black);
    background: var(--v2-white);
}

.v2-search__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--v2-gray-500);
}

/* Burger menu dropdown */
.v2-burger {
    position: fixed;
    inset: 0;
    z-index: 600;
}

.v2-burger__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.v2-burger__panel {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 220px;
    background: var(--v2-white);
    border-radius: var(--v2-radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 1;
    animation: v2-fade-in 0.15s ease;
}

.v2-burger__link {
    display: block;
    padding: 12px 20px;
    font-family: var(--v2-font);
    font-size: 15px;
    font-weight: 500;
    color: var(--v2-black);
    text-decoration: none;
    transition: background 0.1s ease;
}

.v2-burger__link:hover {
    background: var(--v2-gray-50);
    text-decoration: none;
    color: var(--v2-black);
}

.v2-burger__divider {
    height: 1px;
    background: var(--v2-gray-100);
    margin: 4px 16px;
}

.v2-burger__lang-row {
    display: flex;
    gap: 6px;
    padding: 10px 20px 12px;
}

.v2-burger__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    font-family: var(--v2-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-gray-500);
    background: var(--v2-gray-50);
    border-radius: var(--v2-radius-full);
    text-decoration: none;
    transition: all 0.15s ease;
    letter-spacing: 0.03em;
}

.v2-burger__lang:hover {
    background: var(--v2-gray-200);
    color: var(--v2-black);
    text-decoration: none;
}

.v2-burger__lang--active {
    background: var(--v2-black);
    color: var(--v2-white);
}

.v2-burger__lang--active:hover {
    background: var(--v2-black);
    color: var(--v2-white);
}

/* Tablet optimization */
@media (min-width: 577px) and (max-width: 1023px) {
    .v2-header__card-inner {
        padding: 22px 20px 14px;
    }

    .v2-header__name {
        font-size: 28px;
    }

    .v2-header__delivery-item {
        flex: 1 1 auto;
        min-width: 140px;
    }
}

/* Desktop header */
@media (min-width: 1024px) {
    .v2-header__cover { height: 300px; }
    .v2-header__card-inner { padding: 24px 24px 16px; }
    .v2-header__name { font-size: 32px; }
    .v2-header__actions { padding: 16px 24px; }
}

/* --- 7. CATEGORY BAR V2 --- */
.v2-category-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--v2-white);
    border-bottom: 1px solid var(--v2-gray-200);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    transition: box-shadow 0.2s ease;
}

.v2-category-bar--scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.v2-category-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* Left fade mask to indicate more content */
.v2-category-bar__inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 16px;
    background: linear-gradient(to right, var(--v2-white), transparent);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.v2-category-bar__inner--scrolled-right::before {
    opacity: 1;
}

.v2-category-bar__pills {
    display: flex;
    gap: 6px;
    padding: 10px 0 10px 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.v2-category-bar__pills::-webkit-scrollbar {
    display: none;
}

/* Spacer at the end so last pill isn't cut off */
.v2-category-bar__pills::after {
    content: '';
    flex-shrink: 0;
    width: 32px;
}

.v2-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: var(--v2-radius-full);
    font-family: var(--v2-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--v2-gray-500);
    background: transparent;
    border: 1.5px solid var(--v2-gray-200);
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    line-height: 1.3;
}

.v2-pill:hover {
    border-color: var(--v2-gray-400);
    color: var(--v2-black);
    text-decoration: none;
}

.v2-pill:active {
    transform: scale(0.96);
}

.v2-pill--active {
    background: var(--v2-black);
    color: var(--v2-white);
    border-color: var(--v2-black);
}

.v2-pill--active:hover {
    background: var(--v2-gray-900);
    color: var(--v2-white);
    border-color: var(--v2-gray-900);
}

/* Menu pill button */
.v2-pill--menu {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.v2-pill--menu svg {
    flex-shrink: 0;
}

/* Category Menu Popup */
.v2-category-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.v2-category-menu__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.v2-category-menu__panel {
    position: relative;
    background: var(--v2-white);
    border-radius: 24px 24px 0 0;
    max-height: 70vh;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.v2-category-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--v2-gray-200);
}

.v2-category-menu__title {
    font-family: var(--v2-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
}

.v2-category-menu__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--v2-gray-700);
    transition: all 0.15s ease;
}

.v2-category-menu__close:hover {
    background: var(--v2-gray-200);
    color: var(--v2-black);
}

.v2-category-menu__list {
    overflow-y: auto;
    padding: 8px;
}

.v2-category-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--v2-black);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.15s ease;
    cursor: pointer;
}

.v2-category-menu__item:hover {
    background: var(--v2-gray-100);
    text-decoration: none;
}

.v2-category-menu__item svg {
    flex-shrink: 0;
    color: var(--v2-gray-400);
}

/* --- 8. CONTENT LAYOUT V2 --- */
.v2-content {
    background: var(--v2-white);
    min-height: 60vh;
    padding-bottom: 100px;
}

.v2-content__inner {
    padding: 0;
}

.v2-layout {
    display: flex;
    gap: 24px;
}

.v2-menu {
    flex: 1;
    min-width: 0;
}

.v2-sidebar {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 16px 0;
}

@media (max-width: 1023px) {
    .v2-sidebar { display: none; }
}

/* FAB button: show on mobile, hide on desktop */
@media (min-width: 1024px) {
    .v2-cart-fab {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .v2-content__inner { padding: 0 24px; }
    .v2-layout { gap: 32px; }
}

/* --- CATEGORY SECTIONS --- */
.v2-category-section {
    padding: 20px 16px 8px;
}

.v2-category-title {
    font-family: var(--v2-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0 0 12px 0;
}

/* --- ITEM CARDS --- */
.v2-items-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
    border-radius: var(--v2-radius-lg);
}

.v2-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--v2-white);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.1s ease;
    -webkit-tap-highlight-color: transparent;
    border-bottom: 1px solid var(--v2-gray-200);
}

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

.v2-item-card:hover {
    background: var(--v2-gray-50);
    text-decoration: none;
}

.v2-item-card:active {
    background: var(--v2-gray-100);
}

.v2-item-card__info {
    flex: 1;
    min-width: 0;
}

.v2-item-card__name {
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-black);
    margin: 0;
    line-height: 1.3;
}

.v2-item-card__desc {
    font-size: 14px;
    color: var(--v2-gray-500);
    margin: 4px 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-item-card__price {
    font-size: 15px;
    font-weight: 600;
    color: var(--v2-black);
    margin-top: 8px;
}

.v2-item-card__old-price {
    text-decoration: line-through;
    color: var(--v2-gray-400);
    margin-right: 6px;
    font-weight: 400;
}

.v2-item-card__img-wrap {
    flex: 0 0 96px !important;
    width: 96px !important;
    height: 96px !important;
    min-width: 96px;
    min-height: 96px;
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    background: var(--v2-gray-100);
}

.v2-item-card__img {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px;
    min-height: 96px;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0;
}

@media (min-width: 768px) {
    .v2-items-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        background: transparent;
    }

    .v2-item-card {
        border-bottom: 1px solid var(--v2-gray-100);
    }

    /* Right column items get a left border as separator */
    .v2-item-card:nth-child(2n) {
        border-left: 1px solid var(--v2-gray-100);
    }

    /* Last item never has bottom border */
    .v2-item-card:last-child {
        border-bottom: none;
    }

    /* Second-to-last when it's on the left column (odd count) */
    .v2-item-card:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }

    .v2-item-card__img-wrap {
        flex: 0 0 110px !important;
        width: 110px !important;
        height: 110px !important;
        min-width: 110px;
        min-height: 110px;
    }

    .v2-item-card__img {
        width: 110px !important;
        height: 110px !important;
        min-width: 110px;
        min-height: 110px;
    }
}

/* --- FLOATING CART BUTTON (Mobile) --- */
.v2-cart-fab {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 28px;
    background: var(--v2-black);
    color: var(--v2-white);
    border: none;
    border-radius: 16px;
    font-family: var(--v2-font);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-height: 68px;
}

.v2-cart-fab:active {
    transform: scale(0.97);
}

/* FAB when empty - subtle pill style */
.v2-cart-fab.v2-cart-fab--empty {
    padding: 14px 24px;
    min-height: auto;
    font-size: 14px;
    font-weight: 500;
    background: var(--v2-white);
    color: var(--v2-gray-500, #6b7280);
    border: 1.5px solid var(--v2-gray-200, #e5e7eb);
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    gap: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: 260px;
}

.v2-cart-fab.v2-cart-fab--empty:active {
    transform: translateX(-50%) scale(0.97);
}

.v2-cart-fab.v2-cart-fab--empty .v2-cart-fab__total {
    font-size: 14px;
    font-weight: 500;
    margin-left: 0;
}

.v2-cart-fab.v2-cart-fab--empty svg {
    width: 18px;
    height: 18px;
    opacity: 0.5;
}

.v2-cart-fab svg {
    width: 26px;
    height: 26px;
}

.v2-cart-fab__count {
    background: var(--v2-white);
    color: var(--v2-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.v2-cart-fab__total {
    margin-left: auto;
    font-size: 20px;
    font-weight: 700;
}

/* --- 9. PRODUCT MODAL V2 --- */
.v2-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.v2-modal--open {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.v2-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: v2-fade-in 0.2s ease;
}

@keyframes v2-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.v2-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 95vh;
    background: var(--v2-white);
    border-radius: var(--v2-radius-xl) var(--v2-radius-xl) 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: v2-slide-up 0.3s ease;
}

@keyframes v2-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.v2-modal__close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--v2-shadow-md);
    transition: background 0.15s ease;
}

.v2-modal__close:hover { background: var(--v2-gray-100); }

.v2-modal__scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.v2-modal__image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-color: var(--v2-gray-100);
}

.v2-modal__body {
    padding: 20px 20px 0;
}

/* Remove double border-top in modal content */
.v2-modal__body .border-top,
.v2-modal__body .card-content.border-top,
.v2-bottomsheet__body .border-top,
.v2-bottomsheet__body .card-content.border-top {
    border-top: none !important;
}

.v2-modal__title {
    font-family: var(--v2-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
    line-height: 1.2;
}

.v2-modal__price {
    font-size: 18px;
    font-weight: 600;
    color: var(--v2-black);
    margin: 8px 0 0;
}

.v2-modal__desc {
    font-size: 15px;
    color: var(--v2-gray-500);
    margin: 12px 0 0;
    line-height: 1.5;
}

/* Sections (Variants / Extras) */
.v2-modal__section {
    padding: 0 20px;
    margin-top: 20px;
    border-top: 8px solid var(--v2-gray-100);
    padding-top: 20px;
}

.v2-modal__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.v2-modal__section-title {
    font-family: var(--v2-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
}

.v2-modal__section-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--v2-gray-500);
    background: var(--v2-gray-100);
    padding: 4px 10px;
    border-radius: var(--v2-radius-full);
}

.v2-modal__section-sublabel {
    font-size: 13px;
    color: var(--v2-gray-400);
}

/* Variant option groups */
.v2-modal__section-content .btn-group,
.v2-modal__section-content .btn-group-toggle {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Variant option labels from order.js */
.v2-modal__section-content .btn-group .btn,
.v2-modal__section-content .btn-group-toggle .btn,
.v2-modal__section-content .btn,
.v2-modal__section-content label.btn {
    padding: 10px 18px !important;
    border-radius: var(--v2-radius-full) !important;
    border: 2px solid var(--v2-gray-200) !important;
    background: var(--v2-white) !important;
    color: var(--v2-gray-700) !important;
    font-family: var(--v2-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.4 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
}

.v2-modal__section-content .btn:hover {
    border-color: var(--v2-gray-400) !important;
}

.v2-modal__section-content .btn-outline-primary.active,
.v2-modal__section-content .btn.active,
.v2-modal__section-content label.btn.active {
    background: var(--v2-black) !important;
    color: var(--v2-white) !important;
    border-color: var(--v2-black) !important;
}

/* Variant section sub-labels from order.js */
.v2-modal__section-content .form-control-label {
    font-family: var(--v2-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--v2-black);
    display: block;
    margin-bottom: 8px;
}

.v2-modal__section-content > div {
    margin-bottom: 12px;
}

.v2-modal__section-content br {
    display: none;
}

/* Extras - Uber style checkboxes */
.v2-modal__extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--v2-gray-100);
    cursor: pointer;
    user-select: none;
}

.v2-modal__extra-item:last-child { border-bottom: none; }
.v2-modal__extra-item:active { opacity: 0.7; }

.v2-modal__extra-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-modal__extra-checkbox {
    position: relative;
    flex-shrink: 0;
}

.extra-input {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.extra-input:checked + .v2-modal__extra-box {
    background-color: var(--v2-black);
    border-color: var(--v2-black);
}

.extra-input:checked + .v2-modal__extra-box .v2-modal__extra-check {
    opacity: 1;
}

.v2-modal__extra-box {
    width: 24px;
    height: 24px;
    border: 2px solid var(--v2-gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.v2-modal__extra-check {
    width: 16px;
    height: 16px;
    color: var(--v2-white);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.v2-modal__extra-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--v2-gray-800, #1f2937);
}

.v2-modal__extra-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--v2-success, #16a34a);
}

/* Notice */
.v2-modal__notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--v2-radius-md);
    padding: 16px;
}

.v2-modal__notice-text {
    color: #92400e;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.v2-modal__notice-sub {
    color: #b45309;
    font-size: 14px;
    margin: 4px 0 0;
}

/* Footer (fixed bottom) */
.v2-modal__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--v2-white);
    border-top: 1px solid var(--v2-gray-200);
    box-shadow: var(--v2-shadow-sheet);
}

.v2-modal__qty {
    display: flex;
    align-items: center;
    background: var(--v2-gray-100);
    border-radius: var(--v2-radius-full);
}

.v2-modal__qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.15s ease;
    color: var(--v2-gray-700);
}

.v2-modal__qty-btn:hover { background: var(--v2-gray-200); }

.v2-modal__qty-input {
    width: 36px;
    text-align: center;
    background: none;
    border: none;
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-black);
    -moz-appearance: textfield;
}

.v2-modal__qty-input::-webkit-outer-spin-button,
.v2-modal__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.v2-modal__add {
    flex: 1;
}

.v2-modal__add-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--v2-black);
    color: var(--v2-white);
    border: none;
    border-radius: var(--v2-radius-md);
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.v2-modal__add-btn:hover { background: var(--v2-gray-900); }
.v2-modal__add-btn:active { transform: scale(0.98); }

.v2-modal__add-price {
    font-weight: 600;
}

/* Desktop: centered modal */
@media (min-width: 768px) {
    .v2-modal--open {
        align-items: center;
    }

    .v2-modal__panel {
        max-width: 520px;
        max-height: 85vh;
        border-radius: var(--v2-radius-xl);
        animation: v2-scale-in 0.2s ease;
    }

    @keyframes v2-scale-in {
        from { transform: scale(0.95); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    .v2-modal__image { height: 300px; }
}

/* --- 10. CART V2 --- */
.v2-cart {
    background: var(--v2-white);
    border-radius: var(--v2-radius-lg);
    border: 1px solid var(--v2-gray-200);
    overflow: hidden;
}

.v2-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-cart__title {
    font-family: var(--v2-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
}

.v2-cart__count {
    font-size: 13px;
    color: var(--v2-gray-500);
}

.v2-cart__items {
    max-height: 300px;
    overflow-y: auto;
}

.v2-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-cart__item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.v2-cart__item-info > div {
    min-width: 0;
    overflow: hidden;
}

.v2-cart__item-qty-badge {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-gray-100);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-black);
    flex-shrink: 0;
}

.v2-cart__item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--v2-black);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-cart__item-price {
    font-size: 13px;
    color: var(--v2-gray-500);
    margin: 2px 0 0;
}

.v2-cart__item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 8px;
}

.v2-cart__item-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--v2-gray-700);
    transition: all 0.15s ease;
}

.v2-cart__item-btn:hover { background: var(--v2-gray-200); }
.v2-cart__item-btn--remove:hover { background: #fee2e2; color: #dc2626; }

/* Empty state */
.v2-cart__empty {
    padding: 32px 20px;
    text-align: center;
    color: var(--v2-gray-400);
    font-size: 15px;
}

/* Suggestion */
.v2-cart__suggestion {
    padding: 12px 20px;
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-cart__suggestion-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--v2-gray-400);
    margin: 0 0 8px;
}

.v2-cart__suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--v2-black);
    font-size: 14px;
}

.v2-cart__suggestion-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.v2-cart__suggestion-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-cart__suggestion-item:hover {
    text-decoration: none;
}

.v2-cart__suggestion-price {
    color: var(--v2-gray-500);
}

/* Summary */
.v2-cart__summary {
    padding: 16px 20px;
}

.v2-cart__summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 15px;
    color: var(--v2-gray-700);
}

.v2-cart__summary-row--total {
    border-top: 1px solid var(--v2-gray-200);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 700;
    font-size: 17px;
    color: var(--v2-black);
}

.v2-cart__checkout-btn {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    background: var(--v2-black);
    color: var(--v2-white);
    border: none;
    border-radius: var(--v2-radius-md);
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.v2-cart__checkout-btn:hover {
    background: var(--v2-gray-900);
    color: var(--v2-white);
    text-decoration: none;
}

/* --- 11. BOTTOM SHEET (Mobile Cart) --- */
.v2-sheet {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
}

.v2-sheet--open {
    display: block;
}

.v2-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: v2-fade-in 0.2s ease;
}

.v2-sheet__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--v2-white);
    border-radius: var(--v2-radius-xl) var(--v2-radius-xl) 0 0;
    max-height: 85vh;
    overflow-y: auto;
    animation: v2-slide-up 0.3s ease;
}

.v2-sheet__handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px;
    cursor: pointer;
}

.v2-sheet__handle-bar {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--v2-gray-300);
}

.v2-sheet__nav {
    padding: 12px 20px 24px;
    border-top: 1px solid var(--v2-gray-100);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v2-sheet__nav-link {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--v2-black);
    text-decoration: none;
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-sheet__nav-link:hover {
    text-decoration: none;
}

/* --- 12. ABOUT & GALLERY --- */
.v2-about {
    padding: 16px;
    max-width: 640px;
}

.v2-about__card {
    background: var(--v2-white);
    border-radius: var(--v2-radius-lg);
    padding: 24px;
    border: 1px solid var(--v2-gray-200);
}

.v2-about__heading {
    font-family: var(--v2-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0 0 12px;
}

.v2-about__text {
    font-size: 15px;
    color: var(--v2-gray-700);
    margin: 0 0 4px;
}

.v2-hours__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-hours__row--today {
    font-weight: 600;
}

.v2-hours__day {
    color: var(--v2-gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-hours__time {
    color: var(--v2-black);
}

.v2-about__map {
    margin-top: 20px;
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
}

/* Gallery */
.v2-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.v2-gallery__img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--v2-radius-md);
    transition: opacity 0.2s ease;
}

.v2-gallery__img:hover { opacity: 0.85; }

@media (max-width: 767px) {
    .v2-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- 12b. MOBILE INLINE CART --- */
/* Base cart hidden */
.v2-mobile-cart {
    display: none;
}

/* Permanent cart styles */
.v2-mobile-cart.v2-mobile-cart--permanent {
    display: none; /* Hidden on desktop by default */
}

/* Show permanent cart on mobile */
@media (max-width: 1023px) {
    .v2-mobile-cart.v2-mobile-cart--permanent {
        display: block !important;
        background: var(--v2-white);
        border: 2px solid var(--v2-gray-200);
        border-radius: var(--v2-radius-xl);
        margin: 24px 16px 80px;
        padding: 24px 20px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .v2-mobile-cart.v2-mobile-cart--permanent.v2-tab-hidden {
        display: none !important;
    }
}

.v2-mobile-cart__header {
    margin-bottom: 16px;
}

.v2-mobile-cart__title {
    font-family: var(--v2-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0;
    padding-bottom: 4px;
}

/* Vue utility class */
.v2-hide {
    display: none !important;
}

/* Empty cart state */
.v2-mobile-cart__empty {
    text-align: center;
    padding: 48px 20px;
}

.v2-mobile-cart__empty-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--v2-gray-700);
    margin: 0 0 8px 0;
}

.v2-mobile-cart__empty-hint {
    font-size: 15px;
    font-weight: 400;
    color: var(--v2-gray-500);
    margin: 0;
}

/* Cart items */
.v2-mobile-cart__items {
    margin-bottom: 8px;
}

.v2-mobile-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--v2-gray-200);
}

.v2-mobile-cart__item:last-child {
    border-bottom: none;
}

.v2-mobile-cart__item-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.v2-mobile-cart__item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--v2-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-mobile-cart__item-meta {
    font-size: 14px;
    color: var(--v2-gray-400);
}

.v2-mobile-cart__item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 12px;
}

.v2-mobile-cart__action-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-white);
    border: 1.5px solid var(--v2-gray-200);
    border-radius: 50%;
    cursor: pointer;
    color: var(--v2-gray-500);
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.v2-mobile-cart__action-btn:active {
    transform: scale(0.92);
}

.v2-mobile-cart__action-btn--remove {
    border-color: transparent;
    color: var(--v2-gray-400);
}

.v2-mobile-cart__action-btn--remove:active {
    color: #dc2626;
}

/* Suggestion */
.v2-mobile-cart__suggestion {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--v2-gray-200);
}

.v2-mobile-cart__suggestion-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 10px;
}

.v2-mobile-cart__suggestion-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--v2-white);
    border-radius: var(--v2-radius-lg);
    text-decoration: none;
    transition: box-shadow 0.15s ease;
}

.v2-mobile-cart__suggestion-card:hover {
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.v2-mobile-cart__suggestion-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-mobile-cart__suggestion-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--v2-black);
    line-height: 1.3;
}

.v2-mobile-cart__suggestion-desc {
    font-size: 13px;
    color: var(--v2-gray-500);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-mobile-cart__suggestion-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--v2-black);
    margin-top: 2px;
}

.v2-mobile-cart__suggestion-img {
    width: 80px;
    height: 80px;
    border-radius: var(--v2-radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

/* Subtotal + Checkout */
.v2-mobile-cart__footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--v2-gray-200);
}

.v2-mobile-cart__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.v2-mobile-cart__subtotal-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-black);
}

.v2-mobile-cart__subtotal-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-black);
}

.v2-mobile-cart__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--v2-black);
    color: var(--v2-white);
    border: none;
    border-radius: var(--v2-radius-lg);
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.v2-mobile-cart__checkout-btn:hover {
    background: var(--v2-gray-900);
    color: var(--v2-white);
    text-decoration: none;
}

.v2-mobile-cart__checkout-btn:active {
    transform: scale(0.98);
}

/* --- 13. FOOTER --- */
#footer,
.footer {
    background: var(--v2-white);
    border-top: 1px solid var(--v2-gray-200);
    padding: 24px 0;
}

#footer > .packer { padding: 24px 0; }

.copyright {
    font-size: 13px;
    color: var(--v2-gray-400);
}

.copyright a {
    color: var(--v2-gray-500);
}

.footer .nav-footer .nav-link {
    color: var(--v2-gray-400);
    font-size: 13px;
}

.footer .nav-footer .nav-link:hover {
    color: var(--v2-gray-600);
}

/* --- 14. THANK YOU PAGE --- */
.v2-success {
    text-align: center;
    padding: 48px 24px;
    max-width: 480px;
    margin: 0 auto;
}

.v2-success__check {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v2-check-pop 0.4s ease;
}

@keyframes v2-check-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.v2-success__check svg {
    width: 36px;
    height: 36px;
    color: #166534;
}

.v2-success__title {
    font-family: var(--v2-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--v2-black);
    margin: 0 0 8px;
}

.v2-success__subtitle {
    font-size: 16px;
    color: var(--v2-gray-500);
    margin: 0 0 32px;
}

.v2-success__btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--v2-black);
    color: var(--v2-white);
    border-radius: var(--v2-radius-md);
    font-family: var(--v2-font);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.v2-success__btn:hover {
    background: var(--v2-gray-900);
    color: var(--v2-white);
    text-decoration: none;
}

/* --- 15. ACCESSIBILITY --- */
*:focus-visible {
    outline: 2px solid var(--v2-black);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- 16a. MENU-ONLY MODE (read-only menu, no ordering UI) --- */
.v2-content--menu-only .v2-layout {
    max-width: 900px;
}

/* --- 16. LEGACY COMPAT (mobile-menu body class, etc.) --- */
body.mobile-menu-opened { overflow-y: hidden; }

/* Hide legacy elements that V2 replaces */
#theCartBottomButton { display: none !important; }
