/* =====================================================================
   Layout 5 — vendor storefront
   public/frontend/css/theme5/store.css
   Colours come from the vendor's own colour (--primaryColor). Light/dark
   follows body.theme-light / body.theme-dark set by the theme toggle.
   ===================================================================== */
:root {
    --t5-ink: #0f172a;
    --t5-text: #475467;
    --t5-muted: #667085;
    --t5-bg: #f7f7f9;
    --t5-card: #ffffff;
    --t5-soft: #f1f2f6;
    --t5-line: #e8e9ef;
    --t5-ok: #12b76a;
    --t5-veg: #16a34a;
    --t5-nonveg: #dc2626;
    --t5-r: 18px;
    --t5-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 30px -14px rgba(16, 24, 40, .18);
    --t5-h: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --t5-b: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --t5-p: var(--primaryColor, #c5306a);
    --t5-p50: color-mix(in srgb, var(--t5-p) 8%, #fff);
    --t5-p100: color-mix(in srgb, var(--t5-p) 16%, #fff);
    --t5-p600: color-mix(in srgb, var(--t5-p) 82%, #000);
}

.theme-dark {
    --t5-ink: #f3f4f8;
    --t5-text: #c3c8d4;
    --t5-muted: #8b93a7;
    --t5-bg: #0c111c;
    --t5-card: #141b2b;
    --t5-soft: #1a2234;
    --t5-line: #232c40;
    --t5-p50: color-mix(in srgb, var(--t5-p) 12%, #0c111c);
    --t5-p100: color-mix(in srgb, var(--t5-p) 24%, #0c111c);
    --t5-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .7);
}

body.t5-body {
    background: var(--t5-bg) !important;
    color: var(--t5-text);
    font-family: var(--t5-b);
    -webkit-font-smoothing: antialiased;
}

.t5-body .mainWrapper {
    overflow: visible !important;
    overflow-x: clip !important;
}

.t5-body .mainWrapper,
.t5-body .sectionDefault,
.t5-body .sectionDefaults {
    background: transparent !important;
}

.t5-page,
.t5-head,
.t5-drawer,
.t5-foot,
.t5-tabbar {
    font-family: var(--t5-b);
    font-size: 15px;
    line-height: 1.6;
}

.t5-page *,
.t5-head *,
.t5-drawer *,
.t5-foot * {
    box-sizing: border-box;
}

.t5-page a,
.t5-head a,
.t5-drawer a,
.t5-foot a,
.t5-tabbar a {
    color: inherit;
    text-decoration: none;
}

.t5-page h1,
.t5-page h2,
.t5-page h3,
.t5-page h4,
.t5-drawer b,
.t5-foot h5 {
    font-family: var(--t5-h);
    color: var(--t5-ink);
    margin: 0;
    letter-spacing: -.015em;
    text-transform: none;
}

.t5-page p {
    margin: 0;
}

.t5-page img {
    max-width: 100%;
}

.t5-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* buttons */
.t5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border-radius: 13px;
    font: 700 14.5px var(--t5-b);
    border: 1px solid transparent;
    transition: .2s;
    white-space: nowrap;
    cursor: pointer;
}

.t5-btn.p,
.t5-btn.p:hover,
.t5-btn.p:focus {
    background: var(--t5-p);
    color: #fff !important;
    box-shadow: 0 10px 22px -10px var(--t5-p);
}

.t5-btn.p:hover {
    background: var(--t5-p600);
    transform: translateY(-1px);
}

.t5-btn.g {
    background: var(--t5-card);
    border-color: var(--t5-line);
    color: var(--t5-ink) !important;
}

.t5-btn.g:hover {
    border-color: var(--t5-p);
    color: var(--t5-p) !important;
}

.t5-btn.i {
    width: 46px;
    padding: 0;
}

.t5-btn.full {
    width: 100%;
}

.t5-btn.big {
    width: 100%;
    height: 54px;
    font-size: 16px;
}

.t5-ib {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink) !important;
    display: inline-grid;
    place-items: center;
    flex: none;
    transition: .2s;
    cursor: pointer;
}

.t5-ib:hover {
    border-color: var(--t5-p);
    color: var(--t5-p) !important;
}

.t5-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 12.5px var(--t5-b);
    color: var(--t5-ok);
    background: color-mix(in srgb, var(--t5-ok) 12%, transparent);
    padding: 4px 10px;
    border-radius: 99px;
    vertical-align: middle;
    letter-spacing: 0;
}

.t5-open i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
    animation: t5pulse 2s infinite;
}

.t5-open.closed {
    color: var(--t5-nonveg);
    background: color-mix(in srgb, var(--t5-nonveg) 12%, transparent);
}

.t5-open.closed i {
    animation: none;
}

@keyframes t5pulse {
    50% {
        box-shadow: 0 0 0 6px transparent;
    }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.t5-body .branchBar {
    font-family: var(--t5-b);
}

.t5-head {
    position: sticky;
    top: var(--t5-bb, 0px);
    z-index: 1000;
    background: color-mix(in srgb, var(--t5-card) 84%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--t5-line);
}

.t5-head .t5-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 70px;
}

.t5-brand {
    display: flex;
    align-items: center;
    flex: none;
}

.t5-brand .t5-logo {
    height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: none;
}

.theme-light .t5-brand ._light_logo,
.theme-dark .t5-brand ._dark_logo,
body:not(.theme-dark):not(.theme-light) .t5-brand ._light_logo {
    display: block;
}

.t5-brand b {
    font: 800 19px var(--t5-h);
    color: var(--t5-ink);
}

.t5-nav {
    display: flex;
    gap: 2px;
    margin: 0 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.t5-nav::-webkit-scrollbar {
    display: none;
}

.t5-nav a {
    padding: 9px 13px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--t5-muted) !important;
    white-space: nowrap;
    transition: .2s;
    text-transform: capitalize;
}

.t5-nav a:hover {
    color: var(--t5-ink) !important;
    background: var(--t5-soft);
}

.t5-nav a.on {
    color: var(--t5-p) !important;
    background: var(--t5-p50);
}

.t5-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.t5-tablechip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--t5-p50);
    border: 1px solid var(--t5-p100);
    color: var(--t5-p);
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
}

.t5-theme .theme-toggle {
    margin: 0 !important;
}

.t5-theme .theme-toggle.hidden {
    display: none !important;
}

.t5-theme:has(.theme-toggle.hidden) {
    display: none;
}

.t5-theme .theme-toggle-btn {
    margin: 0 !important;
}

.t5-lang {
    position: relative;
}

.t5-langbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    font: 600 14px var(--t5-b);
    cursor: pointer;
}

.t5-langbtn .fa-chevron-down {
    font-size: 10px;
}

.t5-langmenu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 170px;
    padding: 6px;
    border-radius: 14px;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    box-shadow: var(--t5-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s;
    z-index: 5;
}

.t5-lang.open .t5-langmenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.t5-langmenu a {
    display: block;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--t5-text) !important;
}

.t5-langmenu a:hover {
    background: var(--t5-soft);
}

.t5-langmenu a.on {
    color: var(--t5-p) !important;
    font-weight: 700;
}

.t5-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 6px 0 14px;
    border-radius: 12px;
    background: var(--t5-p);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 10px 20px -10px var(--t5-p);
    list-style: none;
}

.t5-cart-n {
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .22);
    display: grid;
    place-items: center;
    font-size: 13px;
}

.t5-cart-n:empty,
.t5-tab-cart b:empty {
    display: none !important;
}

.t5-cart-n * {
    color: #fff !important;
    background: none !important;
    position: static !important;
    font-size: 13px !important;
}

.t5-menubtn-r {
    display: none;
}

.t5-style-2 .t5-menubtn {
    display: none;
}

.t5-style-2 .t5-menubtn-r {
    display: inline-grid;
}

/* style 3: floating menu button / style 4: bottom tab bar (mobile only) */
.t5-fab,
.t5-tabbar {
    display: none;
}

/* =====================================================================
   DRAWER
   ===================================================================== */
.t5-scrim {
    position: fixed;
    inset: 0;
    z-index: 1990;
    background: rgba(8, 12, 22, .5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.t5-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1991;
    width: min(340px, 88vw);
    display: flex;
    flex-direction: column;
    background: var(--t5-card);
    border-right: 1px solid var(--t5-line);
    box-shadow: 20px 0 60px -20px rgba(0, 0, 0, .4);
    transform: translateX(-102%);
    transition: transform .35s cubic-bezier(.3, .7, .2, 1);
}

[dir=rtl] .t5-drawer {
    left: auto;
    right: 0;
    transform: translateX(102%);
}

body.t5-dr-open .t5-scrim {
    opacity: 1;
    visibility: visible;
}

body.t5-dr-open .t5-drawer {
    transform: none;
}

body.t5-dr-open {
    overflow: hidden;
}

.t5-dr-head {
    position: relative;
    padding: 22px 20px 18px;
    background: radial-gradient(300px 160px at 0 0, var(--t5-p100), transparent 70%);
    border-bottom: 1px solid var(--t5-line);
}

.t5-dr-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--t5-line);
    object-fit: cover;
    margin-bottom: 12px;
}

.t5-dr-head b {
    display: block;
    font-size: 19px;
    margin-bottom: 6px;
}

.t5-dr-x {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
}

.t5-dr-table {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font: 700 12.5px var(--t5-b);
    padding: 5px 10px;
    border-radius: 99px;
    background: var(--t5-p);
    color: #fff;
}

.t5-dr-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.t5-dr-label {
    font: 700 11.5px var(--t5-b);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--t5-muted);
    margin: 16px 10px 8px;
}

.t5-dr-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: var(--t5-ink) !important;
    font: 600 15px var(--t5-b);
    text-align: start;
    text-transform: capitalize;
    cursor: pointer;
    transition: .2s;
}

.t5-dr-link>i:first-child {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--t5-soft);
    color: var(--t5-muted);
    font-size: 14px;
    flex: none;
    transition: .2s;
}

.t5-dr-link:hover {
    background: var(--t5-soft);
}

.t5-dr-link.on {
    background: var(--t5-p50);
    color: var(--t5-p) !important;
}

.t5-dr-link.on>i:first-child {
    background: var(--t5-p);
    color: #fff;
}

.t5-dr-link .chev {
    margin-inline-start: auto;
    font-size: 11px;
    color: var(--t5-muted);
    transition: transform .25s;
}

.t5-dr-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s;
}

.t5-dr-sub>div {
    overflow: hidden;
    padding-inline-start: 58px;
}

.t5-dr-sub a,
.t5-dr-custom a {
    display: block;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--t5-text) !important;
    text-transform: capitalize;
}

.t5-dr-sub a:hover,
.t5-dr-custom a:hover {
    background: var(--t5-soft);
    color: var(--t5-p) !important;
}

.t5-dr-custom {
    list-style: none;
    margin: 0;
    padding: 0;
}

.t5-dr-custom li {
    list-style: none;
}

.t5-dr-grp.open .t5-dr-sub {
    grid-template-rows: 1fr;
}

.t5-dr-grp.open .chev {
    transform: rotate(180deg);
}

.t5-dr-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 10px;
}

.t5-dr-langs a {
    height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--t5-line);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--t5-text) !important;
}

.t5-dr-langs a.on {
    background: var(--t5-p);
    border-color: var(--t5-p);
    color: #fff !important;
}

.t5-dr-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--t5-line);
}

.t5-dr-foot .t5-btn {
    height: 44px;
    font-size: 13.5px;
    padding: 0 10px;
}

.t5-dr-foot .full {
    grid-column: 1 / -1;
}

/* =====================================================================
   HERO
   ===================================================================== */
.t5-hero {
    padding: 22px 0 0;
}

.t5-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1120 / 400;
    background: var(--t5-soft);
    box-shadow: var(--t5-shadow);
}

.t5-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s;
}

.t5-slide[data-href] {
    cursor: pointer;
}

.t5-slide.on {
    opacity: 1;
    z-index: 1;
}

.t5-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-sdots {
    position: absolute;
    right: 22px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.t5-sdots button {
    width: 8px;
    height: 8px;
    border-radius: 9px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .6);
    transition: width .3s;
    cursor: pointer;
}

.t5-sdots button.on {
    width: 24px;
    background: #fff;
}

.t5-sarrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: #111;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    transition: .25s;
    cursor: pointer;
}

.t5-slider:hover .t5-sarrow {
    opacity: 1;
}

.t5-sarrow.l {
    left: 16px;
}

.t5-sarrow.r {
    right: 16px;
}

.t5-perks {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    gap: 10px;
    padding: 60px 22px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
    pointer-events: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.t5-perks::-webkit-scrollbar {
    display: none;
}

.t5-perk {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    pointer-events: auto;
}

.t5-perk-ic {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--t5-p);
    font-style: normal;
    overflow: hidden;
}

.t5-perk-ic img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.t5-perk-ic i {
    color: var(--t5-p) !important;
    font-size: 15px;
}

.t5-store {
    margin-top: 16px;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: 22px;
    box-shadow: var(--t5-shadow);
    padding: 20px 22px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.t5-store-logo {
    width: 86px;
    height: 86px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--t5-line);
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .35);
}

.t5-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-store h1 {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.t5-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 6px;
    font-size: 14px;
    color: var(--t5-muted);
}

.t5-meta a,
.t5-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--t5-muted) !important;
}

.t5-meta a:hover {
    color: var(--t5-p) !important;
}

.t5-meta i {
    color: var(--t5-p);
    font-size: 13px;
}

.t5-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* search */
.t5-searchwrap {
    padding-top: 30px;
}

.t5-search {
    position: relative;
    display: block;
    max-width: 640px;
    margin: 0 auto;
}

.t5-search>i {
    position: absolute;
    inset-inline-start: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--t5-muted);
    z-index: 1;
}

.t5-search input {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    padding: 0 130px 0 52px;
    font: 500 15px var(--t5-b);
    outline: none;
    box-shadow: var(--t5-shadow);
    transition: .2s;
}

[dir=rtl] .t5-search input {
    padding: 0 52px 0 130px;
}

.t5-search input:focus {
    border-color: var(--t5-p);
    box-shadow: 0 0 0 4px var(--t5-p100);
}

.t5-search button,
.t5-body .t5-search .search-btn {
    width: auto !important;
    min-width: 0;
    text-indent: 0;
    font-size: 14.5px !important;
    line-height: 1;
    position: absolute;
    inset-inline-end: 6px;
    top: 6px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    background: var(--t5-p);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.t5-searchres:not(:empty) {
    margin-top: 24px;
}

/* =====================================================================
   SECTIONS / CARDS
   ===================================================================== */
.t5-section {
    padding-top: 46px;
}

.t5-sh {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.t5-sh h2 {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: none;
}

.t5-sh h2 img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
}

.t5-sh p {
    color: var(--t5-muted);
    font-size: 14px;
    margin-top: 2px;
}

.t5-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--t5-p) !important;
    white-space: nowrap;
}

.t5-cats {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
    scrollbar-width: none;
}

.t5-cats::-webkit-scrollbar {
    display: none;
}

.t5-cat {
    flex: none;
    scroll-snap-align: start;
    width: 128px;
    text-align: center;
    padding: 14px 10px 12px;
    border-radius: 18px;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    transition: .2s;
}

.t5-cat:hover {
    border-color: var(--t5-p);
    transform: translateY(-3px);
    box-shadow: var(--t5-shadow);
}

.t5-cat img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    box-shadow: 0 0 0 4px var(--t5-p50);
}

.t5-cat b {
    display: block;
    font: 700 14px var(--t5-h);
    color: var(--t5-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* item card */
.t5-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.t5-cell {
    display: flex;
}

.t5-cell>.t5-item {
    flex: 1;
}

.t5-item {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: var(--t5-r);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    min-width: 0;
}

.t5-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--t5-shadow);
    border-color: var(--t5-p100);
}

.t5-item-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--t5-soft);
    cursor: pointer;
}

.t5-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.t5-item:hover .t5-item-img img {
    transform: scale(1.06);
}

.t5-noimg {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--t5-muted);
    font-size: 30px;
    background: repeating-linear-gradient(45deg, var(--t5-soft), var(--t5-soft) 10px, color-mix(in srgb, var(--t5-soft) 70%, var(--t5-card)) 10px, color-mix(in srgb, var(--t5-soft) 70%, var(--t5-card)) 20px);
}

.t5-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.t5-badges>span {
    display: flex;
    gap: 6px;
}

.t5-badge {
    font: 700 11px/1 var(--t5-b);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--t5-p);
    color: #fff;
}

.t5-badge.off {
    background: #f59e0b;
}

.t5-veg {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fff;
    display: inline-grid;
    place-items: center;
    border: 1.5px solid currentColor;
    flex: none;
    vertical-align: middle;
}

.t5-veg i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.t5-veg.sm {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.t5-veg.sm i {
    width: 7px;
    height: 7px;
}

.t5-veg.v {
    color: var(--t5-veg);
}

.t5-veg.n {
    color: var(--t5-nonveg);
}

.t5-item-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
    min-width: 0;
}

.t5-item h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.t5-desc {
    color: var(--t5-muted);
    font-size: 13.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.t5-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.t5-price .priceGroup {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
}

.t5-price .currentPrice,
.t5-price>.currentPrice {
    font: 800 17px var(--t5-h);
    color: var(--t5-ink) !important;
}

.t5-price .previous_price {
    font: 500 13px var(--t5-b) !important;
    color: var(--t5-muted) !important;
    text-decoration: line-through;
    margin: 0 !important;
}

.t5-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    border: 1.5px solid var(--t5-p);
    background: transparent;
    color: var(--t5-p) !important;
    font-weight: 700;
    font-size: 14px;
    transition: .2s;
    flex: none;
}

.t5-add:hover,
.t5-add.added {
    background: var(--t5-p);
    color: #fff !important;
}

.t5-item.no-img .t5-desc {
    min-height: 0;
}

.t5-out {
    font-size: 13px;
    font-weight: 700;
    color: var(--t5-nonveg);
}

/* list view */
.t5-list .t5-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.t5-list .t5-item {
    flex-direction: row;
}

.t5-list .t5-item-img {
    width: 150px;
    flex: none;
    aspect-ratio: auto;
    min-height: 130px;
}

/* rail */
.t5-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.t5-rail::-webkit-scrollbar {
    display: none;
}

.t5-rail>* {
    scroll-snap-align: start;
}

.t5-railnav {
    display: flex;
    gap: 8px;
}

.t5-railnav button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    cursor: pointer;
}

.t5-railnav button:hover {
    border-color: var(--t5-p);
    color: var(--t5-p);
}

/* offers (vendor offer banners) */
.t5-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.t5-offer {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: var(--t5-soft);
    box-shadow: var(--t5-shadow);
}

.t5-offer img {
    width: 100%;
    display: block;
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
    transition: transform .6s;
}

.t5-offer:hover img {
    transform: scale(1.04);
}

.t5-offer-cta {
    position: absolute;
    inset-inline-end: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 11px;
    background: #fff;
    color: #111;
    font-weight: 700;
    font-size: 13.5px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

/* specialities */
.t5-specials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.t5-spec {
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
    min-height: 250px;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.t5-spec:hover {
    transform: translateY(-4px);
    box-shadow: var(--t5-shadow);
}

.t5-spec-img {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--t5-soft);
}

.t5-spec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.t5-spec:hover .t5-spec-img img {
    transform: scale(1.06);
}

.t5-spec-img .t5-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.t5-spec-body {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    min-width: 0;
}

.t5-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 11.5px var(--t5-b);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--t5-p);
    margin-bottom: 8px;
}

.t5-spec-body h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 8px;
}

.t5-spec-body p {
    font-size: 14px;
    color: var(--t5-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t5-spec-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    flex-wrap: wrap;
}

.t5-spec-foot .currentPrice {
    font-size: 22px;
}

.t5-spec-btns {
    display: flex;
    gap: 8px;
}

.t5-spec-btns .t5-btn {
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
}

/* packages */
.t5-packs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.t5-pack {
    display: flex;
    flex-direction: column;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.t5-pack:hover {
    transform: translateY(-4px);
    box-shadow: var(--t5-shadow);
}

.t5-pack-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--t5-p50), transparent);
}

.t5-pack-stack {
    display: flex;
    flex: none;
}

.t5-pack-stack img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--t5-card);
    margin-inline-start: -16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.t5-pack-stack img:first-child {
    margin-inline-start: 0;
}

.t5-pack-head h3 {
    font-size: 20px;
    font-weight: 800;
}

.t5-pack-head small {
    color: var(--t5-muted);
    font-size: 13px;
}

.t5-save {
    position: absolute;
    top: 16px;
    inset-inline-end: 18px;
    font: 800 12px var(--t5-b);
    padding: 6px 10px;
    border-radius: 99px;
    background: #fef3c7;
    color: #b45309;
}

.theme-dark .t5-save {
    background: #422006;
    color: #fbbf24;
}

.t5-pack-desc {
    padding: 14px 22px 0;
    color: var(--t5-muted);
    font-size: 14px;
}

.t5-pack ul {
    list-style: none;
    margin: 0;
    padding: 6px 22px;
    flex: 1;
}

.t5-pack li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--t5-line);
}

.t5-pack li:last-child {
    border-bottom: 0;
}

.t5-pack li img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    flex: none;
    background: var(--t5-soft);
}

.t5-pack li>div {
    min-width: 0;
}

.t5-pack li b {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--t5-ink);
    font-size: 14.5px;
}

.t5-pack li small {
    color: var(--t5-muted);
    font-size: 12.5px;
    display: block;
}

.t5-pack li .q {
    margin-inline-start: auto;
    font: 700 13px var(--t5-b);
    color: var(--t5-muted);
    white-space: nowrap;
}

.t5-pack-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px 20px;
    border-top: 1px solid var(--t5-line);
}

.t5-pack-foot .currentPrice {
    font-size: 24px;
}

/* course menus */
.t5-sets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.t5-set {
    display: flex;
    flex-direction: column;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.t5-set:hover {
    transform: translateY(-4px);
    box-shadow: var(--t5-shadow);
}

.t5-set-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.t5-set-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-set-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent 55%);
}

.t5-set-media .cnt {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 12px var(--t5-b);
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .92);
    color: #111;
}

.t5-set-media .sv {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    font: 800 12px var(--t5-b);
    padding: 6px 10px;
    border-radius: 99px;
    background: #16a34a;
    color: #fff;
}

.t5-set-media .pr {
    position: absolute;
    left: 16px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
}

.t5-set-media .pr em {
    font-style: normal;
    font-size: 12px;
    opacity: .85;
    display: block;
}

.t5-set-media .pr del {
    font-size: 14px;
    opacity: .75;
    margin-inline-end: 6px;
}

.t5-set-media .pr b {
    font: 800 24px var(--t5-h);
}

.t5-set-body {
    display: block;
    padding: 18px 20px 6px;
    flex: 1;
}

.t5-set-body h3 {
    font-size: 19px;
    font-weight: 800;
}

.t5-set-body p {
    font-size: 14px;
    color: var(--t5-muted);
    margin-top: 4px;
}

.t5-steps {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.t5-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--t5-ink);
    font-weight: 600;
}

.t5-steps .n {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 12px;
    background: var(--t5-p50);
    color: var(--t5-p);
}

.t5-steps small {
    margin-inline-start: auto;
    font-weight: 600;
    color: var(--t5-muted);
    font-size: 12.5px;
}

.t5-set-cta {
    margin: 16px 20px 20px;
}

/* =====================================================================
   INNER PAGE HEADER + MENU PAGE
   ===================================================================== */
.t5-phead {
    padding: 34px 0 26px;
    background: radial-gradient(800px 260px at 15% 0%, var(--t5-p100), transparent 70%);
}

.t5-phead .t5-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.t5-phead-ic {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--t5-p), var(--t5-p600));
    box-shadow: 0 12px 24px -12px var(--t5-p);
    flex: none;
}

.t5-phead-txt {
    min-width: 0;
}

.t5-crumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--t5-muted);
    margin-bottom: 6px;
}

.t5-crumb i {
    font-size: 9px;
}

.t5-crumb a:hover {
    color: var(--t5-p);
}

.t5-phead h1 {
    font-size: 30px;
    font-weight: 800;
    text-transform: none;
}

.t5-phead p {
    color: var(--t5-muted);
    margin-top: 4px;
}

.t5-phead-r {
    margin-inline-start: auto;
}

.t5-mhead-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--t5-line);
    object-fit: cover;
    flex: none;
}

.t5-msearch {
    margin: 0;
    margin-inline-start: auto;
    flex: 1;
    max-width: 420px;
}

.t5-msearch input {
    height: 50px;
    padding-inline-end: 20px !important;
    box-shadow: none;
}

.t5-ctabs {
    position: sticky;
    top: calc(var(--t5-bb, 0px) + 70px);
    z-index: 900;
    background: color-mix(in srgb, var(--t5-bg) 88%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--t5-line);
}

.t5-ctabs .t5-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 66px;
}

.t5-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.t5-chips::-webkit-scrollbar {
    display: none;
}

.t5-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px 0 5px;
    border-radius: 99px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink) !important;
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
}

[dir=rtl] .t5-chip {
    padding: 0 5px 0 14px;
}

.t5-chip img,
.t5-chip .all {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.t5-chip .all {
    display: grid;
    place-items: center;
    background: var(--t5-soft);
    font-size: 13px;
}

.t5-chip small {
    color: var(--t5-muted);
    font-weight: 600;
}

.t5-chip:hover {
    border-color: var(--t5-p);
}

.t5-chip.on {
    background: var(--t5-p);
    border-color: var(--t5-p);
    color: #fff !important;
}

.t5-chip.on small {
    color: rgba(255, 255, 255, .8);
}

.t5-chip.on .all {
    background: rgba(255, 255, 255, .2);
}

.t5-view {
    display: flex;
    padding: 4px;
    border-radius: 12px;
    background: var(--t5-soft);
    flex: none;
}

.t5-view button {
    width: 36px;
    height: 34px;
    border-radius: 9px;
    border: 0;
    background: transparent;
    color: var(--t5-muted);
    cursor: pointer;
}

.t5-view button.on {
    background: var(--t5-card);
    color: var(--t5-p);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.t5-mbody {
    padding-top: 28px;
}

.t5-catsec {
    scroll-margin-top: 150px;
    margin-bottom: 40px;
}

.t5-catsec .t5-sh {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--t5-line);
}

.t5-catsec .t5-sh h2 {
    font-size: 22px;
}

.t5-subs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: -4px 0 16px;
    padding-bottom: 2px;
}

.t5-subs::-webkit-scrollbar {
    display: none;
}

.t5-sub {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 12px 0 4px;
    border-radius: 10px;
    border: 1px dashed var(--t5-line);
    background: transparent;
    color: var(--t5-text);
    font: 600 13px var(--t5-b);
    cursor: pointer;
    transition: .2s;
    text-transform: capitalize;
}

.t5-sub img {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    object-fit: cover;
}

.t5-sub.all {
    padding: 0 12px;
}

.t5-sub:hover {
    border-color: var(--t5-p);
    color: var(--t5-p);
}

.t5-sub.on {
    border-style: solid;
    border-color: var(--t5-p);
    background: var(--t5-p50);
    color: var(--t5-p);
}

.t5-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--t5-muted);
}

.t5-empty i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.t5-pbody {
    padding-top: 24px;
}

/* shared highlight / coupon partials on the menu page */
.t5-shared:empty {
    display: none;
}

/* =====================================================================
   FORMS / CARDS / SUMMARY (reservation, checkout)
   ===================================================================== */
.t5-card {
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: 20px;
    padding: 22px;
}

.t5-card-h {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.t5-card-h.mt {
    margin-top: 28px;
}

.t5-card-h .n {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--t5-p);
    color: #fff;
    font: 800 14px var(--t5-h);
    flex: none;
}

.t5-card-h h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: capitalize;
}

.t5-label {
    font: 700 12px var(--t5-b);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--t5-muted);
    margin: 16px 0 8px;
}

.t5-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.t5-fields .full,
.t5-f.full {
    grid-column: 1 / -1;
}

.t5-f label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--t5-ink);
    margin-bottom: 6px;
    text-transform: capitalize;
}

.t5-f label em {
    color: var(--t5-p);
    font-style: normal;
}

.t5-f input:not([type=radio]):not([type=checkbox]),
.t5-f select,
.t5-f textarea {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--t5-line);
    background: var(--t5-bg);
    color: var(--t5-ink);
    padding: 0 14px;
    font: 500 15px var(--t5-b);
    outline: none;
    transition: .2s;
}

.t5-f textarea {
    height: auto;
    min-height: 90px;
    padding: 12px 14px;
}

.t5-f input:focus,
.t5-f select:focus,
.t5-f textarea:focus {
    border-color: var(--t5-p);
    box-shadow: 0 0 0 4px var(--t5-p100);
}

.t5-inico {
    position: relative;
}

.t5-inico i {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--t5-muted);
}

.t5-inico input {
    padding-inline-start: 40px !important;
}

.t5-stepper {
    display: flex;
    align-items: center;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--t5-line);
    background: var(--t5-bg);
    overflow: hidden;
}

.t5-stepper button {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--t5-ink);
    cursor: pointer;
}

.t5-stepper button:hover {
    background: var(--t5-soft);
    color: var(--t5-p);
}

.t5-stepper input {
    flex: 1;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center;
    font: 800 17px var(--t5-h) !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.t5-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.t5-seg,
.t5-chipsel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.t5-seg label,
.t5-chipsel label {
    margin: 0;
    cursor: pointer;
}

.t5-seg input,
.t5-chipsel input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.t5-seg span,
.t5-chipsel span {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 11px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
}

.t5-seg span:hover,
.t5-chipsel span:hover {
    border-color: var(--t5-p);
}

.t5-seg input:checked+span,
.t5-chipsel input:checked+span {
    background: var(--t5-p);
    border-color: var(--t5-p);
    color: #fff;
}

.t5-days {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(64px, 1fr);
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.t5-days::-webkit-scrollbar {
    display: none;
}

.t5-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 0;
    border-radius: 12px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    cursor: pointer;
}

.t5-day small {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--t5-muted);
    text-transform: uppercase;
}

.t5-day b {
    font: 800 18px var(--t5-h);
}

.t5-day.on {
    background: var(--t5-p);
    border-color: var(--t5-p);
    color: #fff;
}

.t5-day.on small {
    color: rgba(255, 255, 255, .85);
}

.t5-day[disabled] {
    opacity: .4;
    cursor: not-allowed;
}

.t5-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
}

.t5-slots button {
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
}

.t5-slots button.on {
    background: var(--t5-p50);
    border-color: var(--t5-p);
    color: var(--t5-p);
}

.t5-hint {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--t5-muted);
    margin-top: 10px;
}

.t5-hint i {
    color: var(--t5-p);
    margin-top: 3px;
}

.t5-resv {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.t5-sum {
    position: sticky;
    top: 90px;
    background: var(--t5-card);
    border: 1px solid var(--t5-line);
    border-radius: 22px;
    box-shadow: var(--t5-shadow);
    overflow: hidden;
}

.t5-sum-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--t5-line);
}

.t5-sum-head img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.t5-sum-head b {
    display: block;
    color: var(--t5-ink);
    font: 800 16px var(--t5-h);
}

.t5-sum-head small {
    color: var(--t5-muted);
}

.t5-sum-body {
    padding: 4px 20px 16px;
}

.t5-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    padding: 4px 0;
}

.t5-line b {
    color: var(--t5-ink);
    font-weight: 600;
}

.t5-avail .row {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px dashed var(--t5-line);
    font-size: 14px;
}

.t5-avail .row:last-child {
    border-bottom: 0;
}

.t5-avail .row b {
    color: var(--t5-ink);
    font-weight: 600;
}

.t5-avail .row.today b,
.t5-avail .row.today span {
    color: var(--t5-p);
}

.t5-avail .row.closed span {
    color: var(--t5-nonveg);
}

.t5-sum-foot {
    padding: 0 20px 20px;
}

.t5-body .reg_msg .alert {
    border-radius: 14px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.t5-foot {
    margin-top: 64px;
    background: var(--t5-card);
    border-top: 1px solid var(--t5-line);
}

.t5-foot-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

.t5-foot h5 {
    font: 700 13px var(--t5-h);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 14px !important;
}

.t5-foot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.t5-foot-brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--t5-line);
}

.t5-foot-brand b {
    font: 800 18px var(--t5-h);
    color: var(--t5-ink);
}

.t5-foot-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--t5-text) !important;
}

.t5-foot-row i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--t5-p50);
    color: var(--t5-p);
    flex: none;
}

.t5-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.t5-social a {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--t5-soft);
    color: var(--t5-text) !important;
    transition: .2s;
}

.t5-social a:hover {
    background: var(--t5-p);
    color: #fff !important;
}

.t5-foot-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.t5-foot-qr img {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    border: 1px solid var(--t5-line);
}

.t5-foot-qr small {
    color: var(--t5-muted);
    font-size: 13px;
}

.t5-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    font-size: 14px;
}

.t5-hours b {
    color: var(--t5-ink);
    font-weight: 600;
    text-transform: capitalize;
}

.t5-hours span {
    text-align: end;
}

.t5-hours .today {
    color: var(--t5-p);
}

.t5-hours .closed {
    color: var(--t5-nonveg);
}

.t5-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 14px;
}

.t5-links a {
    color: var(--t5-text) !important;
    text-transform: capitalize;
}

.t5-links a:hover {
    color: var(--t5-p) !important;
}

.t5-copy {
    border-top: 1px solid var(--t5-line);
    text-align: center;
    padding: 18px;
    font-size: 13px;
    color: var(--t5-muted);
}

.t5-copy img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.t5-copy a {
    color: var(--t5-p) !important;
    font-weight: 600;
}

/* =====================================================================
   SHARED PARTIALS restyled for Layout 5
   (cart sidebar, modals, branch bar, checkout, course menu)
   ===================================================================== */
.t5-body .footer_area {
    display: none;
}

.t5-body .shopping_cart {
    background: var(--t5-card) !important;
    border-left: 1px solid var(--t5-line);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .35);
    font-family: var(--t5-b);
}

.t5-body .modal-content {
    border: 0;
    border-radius: 22px;
    background: var(--t5-card);
    color: var(--t5-text);
    overflow: hidden;
    font-family: var(--t5-b);
}

.t5-body .modal-header {
    border-color: var(--t5-line);
}

.t5-body .modal-title {
    font-family: var(--t5-h);
    font-weight: 800;
    color: var(--t5-ink);
}

/* checkout (shared layouts/checkout_content.php) */
.t5-body .checkoutWrap {
    padding-top: 10px;
}

.t5-body #showCheckoutData .singlePage,
.t5-body #showCheckoutData .order_page,
.t5-body #showCheckoutData .total_sum {
    background: var(--t5-card) !important;
    border: 1px solid var(--t5-line) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    padding: 20px !important;
    margin-bottom: 18px;
}

.t5-body #showCheckoutData .total_sum {
    box-shadow: var(--t5-shadow) !important;
}

.t5-body #showCheckoutData .form-control {
    height: 48px;
    border-radius: 12px !important;
    border: 1px solid var(--t5-line) !important;
    background: var(--t5-bg) !important;
    color: var(--t5-ink) !important;
    font: 500 15px var(--t5-b);
    box-shadow: none !important;
}

.t5-body #showCheckoutData textarea.form-control {
    height: auto;
    min-height: 90px;
}

.t5-body #showCheckoutData .form-control:focus {
    border-color: var(--t5-p) !important;
    box-shadow: 0 0 0 4px var(--t5-p100) !important;
}

.t5-body #showCheckoutData label {
    font-weight: 600;
    color: var(--t5-ink);
}

.t5-body #showCheckoutData .btn-primary,
.t5-body #showCheckoutData .custom_btn,
.t5-body #showCheckoutData button[type=submit] {
    background: var(--t5-p) !important;
    border-color: var(--t5-p) !important;
    border-radius: 13px !important;
    font-weight: 700;
    min-height: 46px;
    box-shadow: 0 10px 22px -10px var(--t5-p);
}

/* order types as cards (built by store.js from the original select) */
.t5-otypes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 4px 0 14px;
}

.t5-otype {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 2px solid var(--t5-line);
    background: var(--t5-card);
    color: var(--t5-ink);
    text-align: start;
    font: 700 14px var(--t5-b);
    cursor: pointer;
    transition: .2s;
    text-transform: capitalize;
}

.t5-otype i {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--t5-soft);
    color: var(--t5-muted);
    flex: none;
}

.t5-otype:hover {
    border-color: var(--t5-p100);
}

.t5-otype.on {
    border-color: var(--t5-p);
    background: var(--t5-p50);
}

.t5-otype.on i {
    background: var(--t5-p);
    color: #fff;
}

.t5-otype[disabled] {
    opacity: .5;
    pointer-events: none;
}

/* login options */
.t5-body .guestLoginArea,
.t5-body .otpLoginArea,
.t5-body .socialLoginBtn {
    margin-bottom: 10px;
}

.t5-body .guestLoginArea .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid var(--t5-line);
    font-weight: 700;
    color: var(--t5-ink);
    cursor: pointer;
}

.t5-body .guestLoginArea .custom-checkbox:has(input:checked) {
    border-color: var(--t5-p);
    background: var(--t5-p50);
}

.t5-body .singlePageLogin .or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: var(--t5-muted);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.t5-body .singlePageLogin .or::before,
.t5-body .singlePageLogin .or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--t5-line);
}

.t5-body .otpLoginArea a,
.t5-body .otpLoginArea .btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    border-radius: 12px !important;
    border: 1px solid var(--t5-line) !important;
    background: var(--t5-card) !important;
    color: var(--t5-ink) !important;
    font-weight: 700;
}

.t5-body .tabArea .nav-tabs {
    display: flex;
    padding: 4px;
    border: 0;
    border-radius: 12px;
    background: var(--t5-soft);
    margin-bottom: 14px;
}

.t5-body .tabArea .nav-tabs .nav-item {
    flex: 1;
}

.t5-body .tabArea .nav-tabs .nav-link {
    border: 0 !important;
    border-radius: 9px !important;
    text-align: center;
    font-weight: 700;
    color: var(--t5-muted) !important;
    background: transparent !important;
}

.t5-body .tabArea .nav-tabs .nav-link.active {
    background: var(--t5-card) !important;
    color: var(--t5-ink) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.t5-body .tabArea .tab-pane.container {
    padding: 0;
}

/* pay now / later + gateways */
.t5-body .paymentTypeArea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.t5-body .paymentTypeArea label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 14px;
    border-radius: 14px;
    border: 2px solid var(--t5-line);
    cursor: pointer;
}

.t5-body .paymentTypeArea label:has(input:checked) {
    border-color: var(--t5-p);
    background: var(--t5-p50);
}

.t5-body .onlinePaymentList ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.t5-body .onlinePaymentList li {
    list-style: none;
}

.t5-body .onlinePaymentList label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 13px;
    border: 2px solid var(--t5-line);
    background: var(--t5-card);
    font-weight: 700;
    color: var(--t5-ink);
    cursor: pointer;
    text-transform: capitalize;
}

.t5-body .onlinePaymentList label:has(input:checked) {
    border-color: var(--t5-p);
    background: var(--t5-p50);
}

.t5-body .onlinePaymentList .payout_img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px;
    background-color: #fff !important;
    background-size: 75% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1px solid var(--t5-line);
    flex: none;
}

/* course menu (shared course-menu.css) — accent + radius alignment */
.t5-body .cmf-card,
.t5-body .cmf-hero,
.t5-body .cmf-course,
.t5-body .cmf-summary {
    border-radius: 22px !important;
    border-color: var(--t5-line) !important;
    background: var(--t5-card) !important;
}

.t5-body .cmf-wizard-wrap h1,
.t5-body .cmf-wizard-wrap h2,
.t5-body .cmf-wizard-wrap h3 {
    font-family: var(--t5-h);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
    .t5-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .t5-rail {
        grid-auto-columns: calc((100% - 40px) / 3);
    }

    .t5-sets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .t5-spec {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
    }

    .t5-nav a {
        padding: 9px 9px;
    }
}

@media (max-width: 991px) {

    .t5-nav,
    .t5-lang,
    .t5-hide-sm {
        display: none;
    }

    .t5-store {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .t5-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }

    .t5-actions .t5-btn.i {
        width: auto;
    }

    .t5-specials,
    .t5-packs,
    .t5-offers {
        grid-template-columns: 1fr;
    }

    .t5-spec {
        grid-template-columns: 40% minmax(0, 1fr);
        grid-template-rows: auto;
    }

    .t5-resv {
        grid-template-columns: minmax(0, 1fr);
    }

    .t5-sum {
        position: static;
    }

    .t5-foot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .t5-list .t5-grid {
        grid-template-columns: 1fr;
    }

    /* menu styles 3 & 4 */
    .t5-style-3 .t5-menubtn,
    .t5-style-4 .t5-menubtn {
        display: none;
    }

    .t5-fab {
        position: fixed;
        left: 16px;
        bottom: 18px;
        z-index: 1500;
        width: 56px;
        height: 56px;
        border-radius: 18px;
        border: 0;
        background: var(--t5-p);
        color: #fff;
        font-size: 20px;
        display: grid;
        place-items: center;
        box-shadow: 0 14px 30px -10px var(--t5-p);
    }

    .t5-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1500;
        display: flex;
        align-items: flex-end;
        justify-content: space-around;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        background: var(--t5-card);
        border-top: 1px solid var(--t5-line);
        box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .18);
    }

    .t5-tabbar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 11.5px;
        font-weight: 600;
        color: var(--t5-muted) !important;
        min-width: 0;
    }

    .t5-tabbar a span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-transform: capitalize;
    }

    .t5-tabbar a i {
        font-size: 18px;
    }

    .t5-tabbar a.on {
        color: var(--t5-p) !important;
    }

    .t5-tabbar .t5-tab-cart {
        position: relative;
        flex: none;
        width: 58px;
        height: 58px;
        margin-top: -26px;
        border-radius: 50%;
        background: var(--t5-p);
        color: #fff !important;
        justify-content: center;
        box-shadow: 0 10px 24px -8px var(--t5-p), 0 0 0 5px var(--t5-card);
    }

    .t5-tabbar .t5-tab-cart b {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 20px;
        height: 20px;
        border-radius: 10px;
        background: #fff;
        color: var(--t5-p);
        font-size: 11px;
        display: grid;
        place-items: center;
    }

    .t5-tabbar .t5-tab-cart b * {
        color: var(--t5-p) !important;
        background: none !important;
        position: static !important;
        font-size: 11px !important;
    }

    body.t5-body:has(.t5-tabbar) {
        padding-bottom: 80px;
    }
}

@media (max-width: 767px) {
    .t5-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .t5-rail {
        grid-auto-columns: 72%;
        gap: 12px;
    }

    .t5-sets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .t5-wrap {
        padding: 0 14px;
    }

    .t5-head .t5-wrap {
        height: 62px;
        gap: 8px;
    }

    .t5-ctabs {
        top: calc(var(--t5-bb, 0px) + 62px);
    }

    .t5-brand .t5-logo {
        height: 34px;
        max-width: 120px;
    }

    .t5-ib {
        width: 38px;
        height: 38px;
    }

    .t5-cart {
        height: 38px;
        padding: 0 5px 0 10px;
    }

    .t5-cart-t,
    .t5-tablechip {
        display: none;
    }

    .t5-slider {
        border-radius: 16px;
    }

    .t5-sarrow {
        display: none;
    }

    .t5-perks {
        padding: 18px 10px 8px;
        gap: 6px;
    }

    .t5-perk {
        font-size: 12.5px;
        padding: 4px 10px 4px 4px;
        border-radius: 11px;
    }

    .t5-perk-ic {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .t5-sdots {
        bottom: auto;
        top: 12px;
        right: 14px;
    }

    .t5-store {
        padding: 16px;
        gap: 12px;
        align-items: start;
    }

    .t5-store-logo {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .t5-store h1 {
        font-size: 20px;
    }

    .t5-meta {
        flex-direction: column;
        gap: 4px;
    }

    .t5-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .t5-actions .t5-btn {
        padding: 0 10px;
        min-width: 0;
    }

    .t5-search input {
        padding-inline-end: 100px;
    }

    .t5-section {
        padding-top: 36px;
    }

    .t5-sh h2 {
        font-size: 20px;
    }

    .t5-item-body {
        padding: 12px;
    }

    .t5-item h4 {
        font-size: 14.5px;
    }

    .t5-desc {
        font-size: 12.5px;
        min-height: 0;
        -webkit-line-clamp: 1;
    }

    .t5-price .currentPrice {
        font-size: 15px;
    }

    .t5-add {
        height: 34px;
        padding: 0 10px;
    }

    .t5-add .t {
        display: none;
    }

    .t5-list .t5-item-img {
        width: 110px;
        min-height: 110px;
    }

    .t5-spec {
        grid-template-columns: 1fr;
        grid-template-rows: 180px auto;
    }

    .t5-pack-head {
        flex-wrap: wrap;
    }

    .t5-save {
        position: static;
        order: -1;
    }

    .t5-phead h1 {
        font-size: 24px;
    }

    .t5-msearch {
        max-width: none;
        flex-basis: 100%;
    }

    .t5-ctabs .t5-wrap {
        height: 60px;
    }

    .t5-fields {
        grid-template-columns: 1fr;
    }

    .t5-card {
        padding: 16px;
        border-radius: 16px;
    }

    .t5-foot-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .t5-body .paymentTypeArea {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .t5-page *,
    .t5-drawer {
        transition: none !important;
        animation: none !important;
    }
}

.t5-shake {
    animation: t5shake .5s;
}

@keyframes t5shake {
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* header: keep the tool buttons pinned right when the inline nav is hidden */
.t5-head .t5-tools {
    margin-inline-start: auto;
}

/* course menus: table-QR gate */
.t5-gate {
    max-width: 560px;
    margin: 10px auto 0;
    padding: 40px 24px;
    text-align: center;
    background: var(--t5-card);
    border: 1.5px dashed var(--t5-line);
    border-radius: 24px;
}

.t5-gate-ic {
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 34px;
    background: var(--t5-p50);
    color: var(--t5-p);
}

.t5-gate h3 {
    font: 800 22px var(--t5-h);
    color: var(--t5-ink);
    margin: 0 0 6px;
}

.t5-gate p {
    color: var(--t5-muted);
    margin: 0 auto 20px;
    max-width: 420px;
}

/* veg / non-veg mark — compact glass chip */
.t5-veg {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .25), inset 0 0 0 1px rgba(15, 23, 42, .05);
}

.t5-veg i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1.5px solid currentColor;
    background: transparent;
    display: grid;
    place-items: center;
}

.t5-veg i::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.t5-veg.sm {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.t5-veg.sm i {
    width: 11px;
    height: 11px;
}

body.theme-dark .t5-veg:not(.sm) {
    background: rgba(17, 24, 39, .72);
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ---- checkout: compact order types ---- */
.t5-body #showCheckoutData .form-group:has(> .t5-otypes) {
    flex: 0 0 100%;
    max-width: 100%;
}

.t5-body .t5-otypes {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin: 6px 0 10px;
}

.t5-body .t5-otype {
    gap: 9px;
    padding: 7px 10px 7px 7px;
    min-height: 44px;
    border-width: 1.5px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
    position: relative;
}

.t5-body .t5-otype i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 12px;
}

.t5-body .t5-otype span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t5-body .t5-otype.on {
    box-shadow: 0 6px 16px -10px var(--t5-p);
}

/* ---- checkout: one joined phone field ---- */
.t5-body #showCheckoutData .guestPhone,
.t5-body #showCheckoutData .form-group:has(> .customPhone) {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
}

.t5-body #showCheckoutData .customPhone .ci-input-group {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--t5-line);
    border-radius: 12px;
    background: var(--t5-card);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.t5-body #showCheckoutData .customPhone .ci-input-group:focus-within {
    border-color: var(--t5-p);
    box-shadow: 0 0 0 4px var(--t5-p100);
}

.t5-body #showCheckoutData .customPhone .dial-field,
.t5-body #showCheckoutData .customPhone .dial-field.is-editable {
    display: flex !important;
    align-items: center;
    flex: none;
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 6px 0 4px !important;
    border: 0 !important;
    border-inline-end: 1px solid var(--t5-line) !important;
    border-radius: 0 !important;
    background: var(--t5-soft) !important;
    box-shadow: none !important;
}

.t5-body #showCheckoutData .customPhone .dial-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--t5-ink) !important;
}

.t5-body #showCheckoutData .customPhone .dial-btn:hover {
    background: var(--t5-card) !important;
}

.t5-body #showCheckoutData .customPhone .dial-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.t5-body #showCheckoutData .customPhone .dial-field.is-editable .dial-label {
    display: none;
}

.t5-body #showCheckoutData .customPhone .dial-plus {
    padding: 0 0 0 2px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--t5-muted) !important;
    font-weight: 600;
}

.t5-body #showCheckoutData .customPhone .dial-input {
    width: 44px !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 4px 0 1px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--t5-ink) !important;
    font-weight: 600;
}

.t5-body #showCheckoutData .customPhone .ci-input-group > input.form-control {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: 100% !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.t5-body #showCheckoutData .guestPhone {
    padding-inline: 15px;
}

/* ---- checkout: tip chips ---- */
.t5-body #showCheckoutData .tipsArea {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
}

.t5-body #showCheckoutData .tipsArea > p {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--t5-ink);
}

.t5-body #showCheckoutData .tipsHeader ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
    border: 0;
}

.t5-body #showCheckoutData .tipsHeader li {
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
}

.t5-body #showCheckoutData .tipsLabel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    margin: 0;
    border: 1.5px solid var(--t5-line);
    border-radius: 11px;
    background: var(--t5-card) !important;
    color: var(--t5-ink) !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s;
}

.t5-body #showCheckoutData .tipsLabel input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.t5-body #showCheckoutData .tipsLabel:hover {
    border-color: var(--t5-p100);
}

.t5-body #showCheckoutData .tipsLabel:has(input:checked),
.t5-body #showCheckoutData .tipsLabel.active {
    border-color: var(--t5-p);
    background: var(--t5-p50) !important;
    color: var(--t5-p) !important;
}

.t5-body #showCheckoutData .tipsfields {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.t5-body #showCheckoutData .tipsfields .btn {
    flex: none;
    border-radius: 11px;
}

/* nav cart — icon only with floating count */
.t5-cart {
    position: relative;
    justify-content: center;
    width: 42px;
    padding: 0;
    gap: 0;
    font-size: 16px;
}

.t5-cart .t5-cart-n {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    background: var(--t5-ink);
    color: var(--t5-bg, #fff);
    box-shadow: 0 0 0 2px var(--t5-card);
}

body.theme-dark .t5-cart .t5-cart-n {
    background: #fff;
}

body.theme-dark .t5-cart .t5-cart-n * {
    color: #111827 !important;
}

/* ---- checkout: cart items as compact rows ---- */
.t5-body #showCheckoutData .singlePage.style_2 > ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.t5-body #showCheckoutData .singlePage.style_2 > ul > li {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.t5-body #showCheckoutData .single_item_cart {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    padding: 8px 10px 8px 8px !important;
    border: 1.5px solid var(--t5-line) !important;
    border-radius: 14px !important;
    background: var(--t5-card) !important;
    box-shadow: none !important;
}

.t5-body #showCheckoutData .single_item_cart .left_cart {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.t5-body #showCheckoutData .single_item_cart .left_cart img {
    width: 52px !important;
    height: 52px !important;
    flex: none;
    border-radius: 11px !important;
    object-fit: cover;
}

.t5-body #showCheckoutData .single_cart_item_details {
    min-width: 0;
    width: auto !important;
}

.t5-body #showCheckoutData .single_cart_item_details h4 {
    margin: 0 0 2px !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.3;
    color: var(--t5-ink) !important;
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none !important;
}

.t5-body #showCheckoutData .single_cart_item_details p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.45;
    color: var(--t5-muted) !important;
}

.t5-body #showCheckoutData .single_cart_item_details p:empty,
.t5-body #showCheckoutData .single_cart_item_details .sizePrice:has(> p:empty:only-child) {
    display: none;
}

.t5-body #showCheckoutData .single_cart_item_details .currencyTag {
    color: var(--t5-ink) !important;
    font-weight: 600;
}

.t5-body #showCheckoutData .single_item_cart .incress_area {
    order: 2;
    flex: none;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 2px;
    width: auto !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 3px !important;
    border-radius: 10px !important;
    background: var(--t5-soft) !important;
    border: 0 !important;
}

.t5-body #showCheckoutData .incress_area .value-button {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
    border-radius: 8px !important;
    background: var(--t5-card) !important;
    color: var(--t5-ink) !important;
    border: 0 !important;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.t5-body #showCheckoutData .incress_area .value-button.minus {
    order: 1;
}

.t5-body #showCheckoutData .incress_area .cart_qty_field {
    order: 2;
}

.t5-body #showCheckoutData .incress_area .value-button.add {
    order: 3;
    background: var(--t5-p) !important;
    color: #fff !important;
}

.t5-body #showCheckoutData .incress_area .qty {
    width: 26px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--t5-ink) !important;
}

.t5-body #showCheckoutData .single_item_cart .right_cart {
    order: 3;
    flex: none;
    position: static !important;
}

.t5-body #showCheckoutData .single_item_cart .remove_item {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--t5-muted) !important;
    background: transparent !important;
    font-size: 14px;
    position: static !important;
}

.t5-body #showCheckoutData .single_item_cart .remove_item:hover {
    color: var(--t5-nonveg) !important;
    background: color-mix(in srgb, var(--t5-nonveg) 10%, transparent) !important;
}

@media (max-width: 480px) {
    .t5-body #showCheckoutData .single_item_cart {
        flex-wrap: wrap;
    }
    .t5-body #showCheckoutData .single_item_cart .left_cart {
        flex-basis: calc(100% - 44px);
    }
    .t5-body #showCheckoutData .single_item_cart .incress_area {
        order: 4;
        margin-inline-start: 64px !important;
    }
}

/* ---- checkout: flatter login block ---- */
.t5-body #showCheckoutData .singlePageLogin {
    padding: 0 !important;
}

.t5-body #showCheckoutData .loginSection .guestLoginArea {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    margin-bottom: 0;
}

.t5-body #showCheckoutData .guestLoginArea .custom-checkbox {
    padding: 11px 14px;
    border-width: 1.5px;
    border-radius: 12px;
    font-size: 14px;
}

/* summary column: no box-in-a-box */
.t5-body #showCheckoutData .row > .singlePage[class*="col-"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 15px !important;
    min-height: 0 !important;
}

.t5-body #showCheckoutData .total_sum_area {
    padding-bottom: 16px !important;
}

@media (min-width: 992px) {
    .t5-body #showCheckoutData .row > .singlePage[class*="col-"] .total_sum {
        position: sticky;
        top: 90px;
    }
}

.t5-body #showCheckoutData .extrasTitleCard {
    display: block;
    background: transparent !important;
    padding: 0 !important;
    height: auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--t5-muted);
}

/* ---- checkout: pay now / pay later on one line ---- */
.t5-body .paymentTypeArea {
    display: flex !important;
    gap: 8px;
    font-size: 0; /* hides the &nbsp; between the labels */
}

.t5-body .paymentTypeArea label.custom-radio-2 {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    gap: 10px;
    height: 46px;
    padding: 0 14px !important;
    border-width: 1.5px;
    border-radius: 12px;
    background: var(--t5-card);
    font-size: 14px;
}

.t5-body .paymentTypeArea label b {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--t5-ink) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t5-body .paymentTypeArea label:has(input:checked) b {
    color: var(--t5-p) !important;
}

.t5-body .paymentTypeArea label.custom-radio-2 input[type=radio] {
    -webkit-appearance: none;
    appearance: none;
    position: static !important;
    flex: none;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--t5-line) !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transition: border .15s;
}

.t5-body .paymentTypeArea label.custom-radio-2 input[type=radio]::before,
.t5-body .paymentTypeArea label.custom-radio-2 input[type=radio]::after {
    display: none !important;
}

.t5-body .paymentTypeArea label.custom-radio-2 input[type=radio]:checked {
    border: 5px solid var(--t5-p) !important;
    background: #fff !important;
}

@media (max-width: 575px) {
    .t5-body .paymentTypeArea {
        grid-template-columns: none;
    }
}

/* ---- checkout: terms checkbox ---- */
.t5-body #showCheckoutData .checkoutBtnList .custom-checkbox {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 2px !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--t5-muted) !important;
}

.t5-body #showCheckoutData .checkoutBtnList .custom-checkbox a {
    margin: 0 3px;
    color: var(--t5-p) !important;
    font-weight: 700;
}

.t5-body #showCheckoutData .checkoutBtnList .custom-checkbox input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    position: static !important;
    flex: none;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--t5-line) !important;
    border-radius: 5px !important;
    background: transparent no-repeat center / 12px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer;
}

.t5-body #showCheckoutData .checkoutBtnList .custom-checkbox input[type=checkbox]::before,
.t5-body #showCheckoutData .checkoutBtnList .custom-checkbox input[type=checkbox]::after {
    display: none !important;
}

.t5-body #showCheckoutData .checkoutBtnList .custom-checkbox input[type=checkbox]:checked {
    border-color: var(--t5-p) !important;
    background-color: var(--t5-p) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.t5-body #showCheckoutData .checkoutBtnList .confirm_btn {
    width: 100%;
}
