/* KOCO Kitchen — Build Your Own Thali: reference-matched customiser */
.custom-thali-page{--thali-ink:#1B392B;--thali-rust:#3B8160;--thali-rust-dark:#296549;--thali-paper:#fbf6ed;--thali-line:#e7d9c7;--thali-muted:#746b64;background:linear-gradient(135deg,#FAF4E6 0%,#f7efe3 100%);padding:22px 0 118px;min-height:calc(100vh - 90px);color:#302722}
.custom-thali-shell{max-width:1540px;padding-left:clamp(16px,4.5vw,74px);padding-right:clamp(16px,3.2vw,54px)}
.custom-thali-heading{margin:0 0 16px}.custom-thali-heading h1{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:clamp(2.55rem,4.3vw,4.1rem);letter-spacing:-.045em;line-height:1.02;margin:0 0 4px;color:#4a1d14}.custom-thali-heading p{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:clamp(1rem,1.35vw,1.25rem);color:#2A3630;margin:0}
.custom-thali-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(350px,.98fr);gap:30px;align-items:start}.custom-thali-builder,.custom-thali-summary{background:rgba(255,252,247,.72);border:1px solid var(--thali-line);border-radius:18px;box-shadow:0 5px 22px rgba(30, 61, 47,.045)}.custom-thali-builder{padding:20px 23px 22px;min-width:0}.thali-step{padding:0 0 19px;margin:0 0 18px;border-bottom:1px solid #eadfce}.thali-step:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0}.thali-step h2,.summary-curries-section h3,.summary-included-section h3{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1.16rem;font-weight:700;color:#142B21;margin:0 0 10px}.meal-type-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.meal-type-card{min-height:74px;border:1px solid #e3d8c9;border-radius:12px;background:rgba(255,255,255,.52);display:flex;align-items:center;gap:14px;padding:11px 16px;cursor:pointer;position:relative;transition:.18s ease}.meal-type-card input,.thali-bread-card input{position:absolute;opacity:0;pointer-events:none}.meal-type-card:has(input:checked),.meal-type-card.is-selected{border:1.5px solid var(--thali-rust);background:#fff8f2;box-shadow:inset 0 0 0 1px rgba(59, 129, 96,.1)}.meal-type-icon{font-size:1.7rem;width:34px;text-align:center}.veg-icon{color:#66834c}.nonveg-icon{color:#397E5E}.meal-type-card strong{display:block;font-size:1rem;color:#1E2C25}.meal-type-card small{display:block;font-size:.84rem;color:#766b64;margin-top:1px}
.thali-curry-step{padding-top:0}.thali-search-wrap{height:48px;border:1px solid #dfd2c2;border-radius:11px;background:#fffdf9;display:flex;align-items:center;gap:12px;padding:0 15px;color:#716b66}.thali-search-wrap>span{font-size:1.7rem;line-height:1;transform:rotate(-20deg)}.thali-search-wrap input{border:0;outline:0;background:transparent;flex:1;min-width:0;font-size:.96rem;color:#342a25}.thali-search-wrap input:focus{outline:0;box-shadow:none}.thali-search-wrap button{border:0;background:none;font-size:1.35rem;color:#8c776c}.thali-filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 15px}.thali-filter-row>strong{font-size:.83rem;font-weight:650;color:#3b302a}.thali-filter-chips{display:flex;gap:8px;flex-wrap:wrap}.thali-filter-chips button{border:1px solid #e3d6c6;background:#fffdf9;color:#51463f;padding:6px 16px;border-radius:24px;font-size:.82rem;line-height:1.25;transition:.15s ease}.thali-filter-chips button:hover,.thali-filter-chips button.is-active{background:var(--thali-rust);border-color:var(--thali-rust);color:#fff}.thali-curry-count{margin-left:auto;color:#77716b;font-size:.84rem;white-space:nowrap}.thali-curry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 13px;max-height:390px;overflow-y:auto;padding:1px 5px 2px 0;scrollbar-color:#c7b8a6 #f1e9df;scrollbar-width:thin}.thali-curry-card{display:grid;grid-template-columns:116px minmax(0,1fr) 22px;align-items:center;gap:12px;min-height:104px;padding:5px 10px 5px 5px;border:1px solid #e7ddcf;border-radius:12px;background:rgba(255,255,255,.5);cursor:pointer;position:relative;transition:border-color .16s,background .16s,box-shadow .16s}.thali-curry-card:hover{border-color:#8AB197;box-shadow:0 3px 12px rgba(39, 70, 55,.07)}.thali-curry-card.is-selected{border:1.5px solid var(--thali-rust);background:#fff8f2;box-shadow:inset 0 0 0 1px rgba(59, 129, 96,.08)}.thali-curry-card.is-unavailable{opacity:.55;cursor:not-allowed}.thali-curry-card>input{position:absolute;opacity:0;pointer-events:none}.thali-curry-card>img{width:116px;height:88px;object-fit:cover;border-radius:9px;background:#eee1d0}.thali-curry-info{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px}.thali-curry-info strong{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:.98rem;color:#211b18;line-height:1.2}.thali-curry-info small{font-size:.77rem;color:#776e68;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.thali-curry-info b{font-size:.87rem;color:#3C8462;margin-top:3px}.thali-curry-tick{width:21px;height:21px;border:1.5px solid #aaa29b;border-radius:4px;color:transparent;display:grid;place-items:center;font-size:.85rem;font-weight:800}.thali-curry-card.is-selected .thali-curry-tick{background:var(--thali-rust);border-color:var(--thali-rust);color:white}.thali-no-results{padding:20px;text-align:center;color:#776b62;background:#f7f0e7;border-radius:10px;margin:0}
.thali-included-step h2{margin-bottom:11px}.thali-included-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#f3ecdf;border-radius:11px;padding:12px 8px}.thali-included-strip>span{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:8px;padding:0 10px;border-right:1px solid #dfd2c1}.thali-included-strip>span:last-child{border-right:0}.thali-included-strip i{grid-row:1/3;font-style:normal;font-size:1.45rem}.thali-included-strip b{font-size:.83rem;color:#392e28}.thali-included-strip small{font-size:.73rem;color:#81776f}.thali-bread-step h2 small{font-family:Arial,sans-serif;font-size:.84rem;font-weight:400;color:#6f6761}.thali-bread-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.thali-bread-card{min-height:65px;border:1px solid #e4d9ca;border-radius:11px;background:#fffdf9;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 5px;position:relative;cursor:pointer;font-size:.79rem;font-weight:600;line-height:1.25;color:#453831;text-align:left}.thali-bread-card.is-selected,.thali-bread-card:has(input:checked){border:1.5px solid var(--thali-rust);background:#fff7f0;box-shadow:inset 0 0 0 1px rgba(59, 129, 96,.08)}.bread-thumb{font-size:1.6rem;color:#3C7F60;white-space:nowrap}.vade-thumb{font-size:.9rem;letter-spacing:-3px;color:#b77821}.thali-extra-vade{margin-top:12px;padding:12px 14px;border:1px solid #CFE1D5;border-radius:10px;background:#fff8f1;display:grid;grid-template-columns:1fr auto;gap:5px 14px}.thali-extra-vade[hidden]{display:none}.thali-extra-vade strong,.thali-extra-vade small{display:block}.thali-extra-vade strong{color:#213A2E}.thali-extra-vade small{font-size:.77rem;color:#796d64}.thali-quantity-control{display:flex;align-items:center;gap:13px}.thali-quantity-control button{width:30px;height:30px;border:1px solid #B3CBBB;border-radius:50%;background:white;color:#337054;font-size:1.1rem;line-height:1}.thali-quantity-control button:disabled{opacity:.35}.thali-quantity-control output{font-weight:700;min-width:12px;text-align:center}.extra-vade-price-note{grid-column:1/-1}.thali-feedback{padding:11px 14px;margin-top:14px;border-radius:9px;background:#f8e9df;color:#2F624A;font-size:.9rem}.thali-feedback.is-success{background:#eaf0e2;color:#52623b}
.custom-thali-summary{position:sticky;top:20px;padding:22px 22px 18px;min-width:0}.summary-heading{padding:0 0 13px;border-bottom:1px solid #e8dece}.summary-heading h2{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1.75rem;margin:0 0 1px;color:#1C3227}.summary-heading p{font-size:.91rem;margin:0;color:#6e655e}.summary-curries-section{padding:15px 0 0}.summary-curries-section h3,.summary-included-section h3{font-size:1.04rem;margin-bottom:10px}.summary-curries-section h3 span{color:var(--thali-rust)}.summary-curry-list{display:flex;flex-direction:column;gap:7px}.summary-curry-item{display:grid;grid-template-columns:66px minmax(0,1fr) auto 25px;align-items:center;gap:9px;padding:5px;border:1px solid #eee4d7;border-radius:10px;background:rgba(255,255,255,.56)}.summary-curry-item img{width:66px;height:59px;object-fit:cover;border-radius:7px}.summary-curry-item strong{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:.86rem;color:#1B2621;line-height:1.2}.summary-curry-item b{font-size:.85rem;color:#357457;white-space:nowrap}.summary-curry-item button{border:0;background:transparent;color:#3C7D5F;font-size:1.2rem;line-height:1;padding:2px}.summary-empty{font-size:.86rem;color:#81776e;margin:8px 0 12px}.summary-subtotal{display:flex;align-items:center;justify-content:space-between;padding:12px 0 13px;margin-top:9px;border-top:1px dashed #dfd1bf}.summary-subtotal strong{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:.96rem;color:#1E2C25}.summary-subtotal b{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1.25rem;color:#3B7F5F}.summary-included-section{background:#f0f0e5;border-radius:13px;padding:13px 12px 10px;margin:1px -4px 13px}.summary-included-section h3{color:#34412a;margin:0 0 8px}.summary-included-section ul{list-style:none;margin:0;padding:0;background:rgba(255,255,255,.48);border-radius:9px}.summary-included-section li{display:grid;grid-template-columns:18px 50px 1fr;align-items:center;gap:8px;padding:5px 8px}.summary-included-section li>span{width:15px;height:15px;background:#81936a;color:white;border-radius:3px;font-size:.72rem;display:grid;place-items:center;font-weight:700}.summary-included-section li>i{font-style:normal;font-size:1.65rem;text-align:center}.summary-included-section li b,.summary-included-section li small{display:block}.summary-included-section li b{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:.84rem;color:#302b24}.summary-included-section li small{font-size:.72rem;color:#83796e}.summary-total-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0 5px;border-top:1px solid #e7d9c8}.summary-total-row span{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1rem;font-weight:700;color:#1E3229}.summary-total-row strong{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1.55rem;color:#367759}.summary-pricing-note{display:block;color:#80756c;font-size:.73rem;line-height:1.4;margin-top:3px}
.thali-sticky-bar{position:fixed;z-index:80;bottom:0;left:0;right:0;background:rgba(255,251,243,.96);border:1px solid #eadcc9;border-bottom:0;border-radius:17px 17px 0 0;box-shadow:0 -8px 28px rgba(33, 58, 46,.1);backdrop-filter:blur(12px)}.thali-sticky-inner{max-width:1540px;margin:auto;padding:12px clamp(16px,5.8vw,95px);display:grid;grid-template-columns:minmax(240px,1fr) minmax(210px,.55fr) minmax(190px,.48fr);align-items:center;gap:24px}.sticky-selection strong,.sticky-selection small,.sticky-total small,.sticky-total strong{display:block}.sticky-selection strong{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1.15rem;color:#3B7F5F}.sticky-selection small{font-size:.8rem;color:#6A6355}.sticky-total{padding-left:24px;border-left:1px solid #C0D5C7}.sticky-total small{font-size:.76rem;color:#6A6355}.sticky-total strong{font-family:"Bricolage Grotesque", "Segoe UI", sans-serif;font-size:1.45rem;line-height:1.1;color:#245040}.thali-continue-button{height:47px;border:0;border-radius:12px;background:#2C5541;color:#fff;font-weight:700;font-size:.96rem;box-shadow:0 5px 14px rgba(48, 111, 81,.16);transition:.18s ease}.thali-continue-button:hover{background:#316D51;transform:translateY(-1px)}.thali-continue-button span{font-size:1.15rem;margin-left:8px}
@media(max-width:1100px){.custom-thali-layout{grid-template-columns:minmax(0,1.5fr) minmax(310px,.9fr);gap:18px}.custom-thali-builder{padding:17px}.thali-curry-card{grid-template-columns:90px minmax(0,1fr) 20px;gap:9px}.thali-curry-card>img{width:90px;height:82px}.thali-filter-row{gap:8px}.thali-curry-count{width:100%;margin-left:0}}
@media(max-width:800px){.custom-thali-page{padding-top:17px;padding-bottom:145px}.custom-thali-layout{grid-template-columns:1fr}.custom-thali-summary{position:static;grid-row:2}.custom-thali-heading h1{font-size:2.65rem}.custom-thali-heading p{font-size:1rem}.thali-curry-grid{max-height:440px}.thali-sticky-inner{grid-template-columns:1fr auto;gap:8px 16px;padding:10px 16px}.sticky-selection{grid-column:1}.sticky-selection strong{font-size:.98rem}.sticky-selection small{font-size:.7rem}.sticky-total{grid-column:1;padding:0;border:0}.sticky-total small{font-size:.68rem}.sticky-total strong{font-size:1.15rem}.thali-continue-button{grid-column:2;grid-row:1/3;width:150px;height:45px}}
@media(max-width:560px){.custom-thali-shell{padding-left:12px;padding-right:12px}.custom-thali-heading h1{font-size:2.25rem}.custom-thali-builder{padding:14px 12px;border-radius:14px}.meal-type-options{gap:7px}.meal-type-card{padding:9px 8px;gap:7px;min-height:68px}.meal-type-card strong{font-size:.86rem}.meal-type-card small{font-size:.7rem}.meal-type-icon{font-size:1.3rem;width:24px}.thali-filter-row{align-items:flex-start}.thali-filter-row>strong{width:100%}.thali-curry-count{width:auto;margin-left:auto}.thali-curry-grid{grid-template-columns:1fr;max-height:390px}.thali-curry-card{grid-template-columns:92px minmax(0,1fr) 20px;min-height:92px}.thali-curry-card>img{width:92px;height:80px}.thali-included-strip{padding:10px 3px}.thali-included-strip>span{grid-template-columns:25px 1fr;column-gap:4px;padding:0 5px}.thali-included-strip i{font-size:1.15rem}.thali-included-strip b{font-size:.69rem}.thali-included-strip small{font-size:.64rem}.thali-bread-options{grid-template-columns:repeat(2,minmax(0,1fr))}.thali-bread-card{justify-content:flex-start;padding-left:12px}.custom-thali-summary{padding:17px 14px}.summary-curry-item{grid-template-columns:54px minmax(0,1fr) auto 20px;gap:7px}.summary-curry-item img{width:54px;height:50px}.summary-curry-item strong{font-size:.78rem}.summary-curry-item b{font-size:.76rem}.summary-included-section li{grid-template-columns:16px 42px 1fr}.summary-included-section li>i{font-size:1.4rem}.thali-sticky-inner{padding:9px 11px;gap:6px 10px}.thali-continue-button{width:116px;font-size:.84rem}.sticky-selection small{max-width:210px;line-height:1.25}}

/* KOCO Kitchen illustrated food icons (SVG assets) */
.thali-included-strip .thali-food-icon{grid-row:1/3;width:31px;height:31px;object-fit:contain;align-self:center}
.bread-thumb-icon{width:43px;height:43px;object-fit:contain;flex:0 0 43px}
.summary-included-section li>.summary-food-icon{width:42px;height:42px;object-fit:contain;display:block;margin:auto}
@media(max-width:560px){.thali-included-strip .thali-food-icon{width:25px;height:25px}.bread-thumb-icon{width:36px;height:36px;flex-basis:36px}.summary-included-section li>.summary-food-icon{width:36px;height:36px}}


/* Curry catalogue pagination and provisional-entry cues */
.thali-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.5rem 0 .25rem;
}
.thali-pagination button {
    min-width: 2.5rem;
    padding: .55rem .8rem;
    border: 1px solid rgba(92, 105, 72, .28);
    border-radius: 999px;
    background: #fff;
    color: #424b35;
    font: inherit;
    cursor: pointer;
}
.thali-pagination button.is-active {
    background: #596448;
    color: #fff;
    border-color: #596448;
}
.thali-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.thali-discover-button {
    display: inline-block;
    margin-top: .4rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #68764f;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* One-curry thali: the curry list shows at full height (no inner scroll box, which trapped
   thumbs on phones); paging alone keeps it short. */
.thali-curry-grid,
.custom-thali-page .thali-curry-grid { max-height: none; overflow: visible; padding-right: 0; }
.thali-curry-step h2 small,
.thali-bread-step h2 small { font-family: inherit; font-size: .84rem; font-weight: 400; color: #6f6761; }
.thali-curry-hint { margin: -4px 0 12px; color: #6f6761; font-size: .86rem; }
.thali-curry-hint a { color: var(--thali-rust); font-weight: 650; }
.thali-curry-tick { border-radius: 50%; }
.thali-filter-chips[hidden], .thali-filter-row > strong[hidden], .thali-filter-chips button[hidden] { display: none; }
.thali-continue-button { padding-inline: 18px; white-space: nowrap; }
@media (max-width: 800px) { .thali-continue-button { width: auto; min-width: 150px; } }
@media (max-width: 560px) { .thali-continue-button { min-width: 0; font-size: .84rem; padding-inline: 12px; } }


/* ---- Bread step: bread / vade toggle, "Your plate" strip and a tile per bread ---- */
.thali-bread-head { margin-bottom: 12px; }
.thali-bread-head h2 { margin: 0 0 2px; }
.thali-bread-head p { margin: 0; color: #6A6355; font-size: .84rem; }

/* Toggle: two halves, the active one lifted */

/* "Your plate": the chosen pieces sitting on a round plate */
.thali-bread-picker[hidden] { display: none; }
.thali-plate-strip { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 10px 14px; border: 1px solid #eadcc9; border-radius: 14px; background: linear-gradient(120deg, #fffaf2, #f6eddf); }
.thali-plate { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 78px; height: 78px; padding-left: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #ffffff 0 52%, #efe4d4 53% 60%, #fbf6ee 61%); box-shadow: inset 0 0 0 1px #e2d3bf, 0 4px 12px rgba(33, 58, 46, .1); }
.thali-plate-piece { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -14px; border: 1.5px dashed #d8c3aa; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.thali-plate-piece.is-filled { border: 0; background: transparent; animation: thali-pop .25s ease; }
.thali-plate-piece img { width: 38px; height: 38px; filter: drop-shadow(0 2px 2px rgba(33, 58, 46, .18)); }
.thali-plate-text { display: grid; flex: 1 1 auto; min-width: 0; }
.thali-plate-text small { color: #9a8b7e; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.thali-plate-text strong { color: #142B21; font-family: "Bricolage Grotesque", "Segoe UI", sans-serif; font-size: 1rem; }
.thali-plate-status { flex: 0 0 auto; padding: 5px 11px; border-radius: 999px; background: #DCECE1; color: #245040; font-size: .8rem; font-weight: 700; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.thali-plate-status.is-complete { background: #e5ecd6; color: #4f6131; }

/* Bread tiles */
.thali-bread-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thali-bread-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 10px; border: 1.5px solid #e6dbcc; border-radius: 16px; background: #fffdf9; text-align: center; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease; }
.thali-bread-tile:hover { border-color: #ADC6B5; box-shadow: 0 6px 16px rgba(33, 58, 46, .08); transform: translateY(-2px); }
.thali-bread-art { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; border-radius: 50%; background: radial-gradient(circle, #fbefdf 0 60%, #f5e6d2 61%); transition: transform .2s ease; }
.thali-bread-art img { width: 50px; height: 50px; }
.thali-bread-tile:hover .thali-bread-art { transform: rotate(-6deg) scale(1.04); }
.thali-bread-tile > strong { color: #142B21; font-size: .9rem; line-height: 1.2; }
.thali-bread-tile > small { display: -webkit-box; overflow: hidden; min-height: 2.5em; color: #6A6355; font-size: .72rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.thali-bread-count { position: absolute; top: 8px; right: 8px; display: none; min-width: 30px; padding: 2px 8px; border-radius: 999px; background: #2C5541; color: #fff; font-size: .74rem; font-weight: 700; }
.thali-bread-tile.is-selected { border-color: #2C5541; background: #fff6f0; box-shadow: 0 6px 16px rgba(63, 132, 100, .12); }
.thali-bread-tile.is-selected .thali-bread-count { display: block; }
/* One bread per thali: each tile is a radio button (hidden input, the tile shows the state). */
.thali-bread-tile { margin: 0; }
.thali-bread-tile input { position: absolute; opacity: 0; pointer-events: none; }
.thali-bread-tile:has(input:focus-visible) { outline: 2px solid #2C5541; outline-offset: 2px; }
.thali-bread-pieces { margin-top: 6px; padding: 3px 10px; border: 1px solid #eadcc9; border-radius: 999px; background: #fff; color: #455950; font-size: .74rem; font-weight: 700; }
.thali-bread-tile.is-selected .thali-bread-pieces { border-color: #B5D3BF; color: #245040; }
.thali-bread-none { margin: 0 0 10px; color: #6A6355; font-size: .85rem; }
.thali-bread-tile.is-bumped .thali-bread-count,
.thali-bread-tile.is-bumped .thali-bread-art { animation: thali-pop .25s ease; }

.thali-bread-tile.is-unavailable { cursor: not-allowed; }
.thali-bread-tile.is-unavailable:hover { border-color: #e6dbcc; box-shadow: none; transform: none; }
.thali-bread-tile.is-unavailable .thali-bread-art,
.thali-bread-tile.is-unavailable > strong,
.thali-bread-tile.is-unavailable > small { opacity: .45; filter: grayscale(1); }
.thali-bread-soldout { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; background: #efe7dc; color: #8a7a6c; font-size: .68rem; font-weight: 700; text-transform: uppercase; }

@keyframes thali-pop { 0% { transform: scale(.8); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .thali-bread-tile, .thali-bread-art, .thali-plate-piece, .thali-bread-count { animation: none !important; transition: none !important; transform: none !important; }
}

@media (max-width: 560px) {
    .thali-plate-strip { gap: 10px; padding: 8px 10px; }
    .thali-plate { width: 64px; height: 64px; }
    .thali-plate-piece { width: 28px; height: 28px; }
    .thali-plate-piece img { width: 32px; height: 32px; }
    .thali-plate-text strong { font-size: .88rem; }
    .thali-bread-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .thali-bread-tile { padding: 12px 8px 8px; }
    .thali-bread-art { width: 54px; height: 54px; }
    .thali-bread-art img { width: 42px; height: 42px; }
}

/* Keep the back-to-top button above this page's fixed action bar. */
.custom-thali-page ~ .back-to-top,
body:has(.thali-sticky-bar) .back-to-top { bottom: calc(var(--thali-bar-h, 92px) + 12px); }


/* ==== Layout "T1" (UI redesign 2026-11-21): numbered steps, compact curry rows, bread buttons,
   green summary card. The page title is the green band above (.koco-page-band, site.css). ==== */
.custom-thali-page { background: #FAF4E6; padding-top: 22px; }
@media (min-width: 801px) { .custom-thali-page .custom-thali-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 24px; } }
.custom-thali-page .custom-thali-builder { padding: 0; border: 0; background: transparent; box-shadow: none; }
.custom-thali-page .thali-step { margin: 0 0 14px; padding: 16px 18px; border: 0; border-radius: 16px; background: #FFFDF7; box-shadow: 0 1px 0 #E7DCC4, 0 6px 18px rgba(30, 61, 47, .05); }
.custom-thali-page .thali-step:last-of-type { margin-bottom: 14px; padding-bottom: 16px; }
.custom-thali-page .thali-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #1E3D2F; font-size: 1.25rem; }
.custom-thali-page .thali-step h2 small { margin-left: auto; color: #5B5446; font-size: .82rem; font-weight: 500; }
.thali-step-num { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1E3D2F; color: #F2C14E; font-family: Inter, "Segoe UI", sans-serif; font-size: .86rem; font-weight: 700; }

/* 1 · Meal type: a two-way switch next to the heading */
.custom-thali-page .thali-meal-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.custom-thali-page .thali-meal-type h2 { margin: 0; }
.custom-thali-page .meal-type-options { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #EFE8D8; }
.custom-thali-page .meal-type-card { justify-content: center; min-height: 0; padding: 9px 22px; border: 0; border-radius: 9px; background: transparent; box-shadow: none; }
.custom-thali-page .meal-type-card .meal-type-icon,
.custom-thali-page .meal-type-card small { display: none; }
.custom-thali-page .meal-type-card strong { color: #2A2620; font-size: .92rem; }
.custom-thali-page .meal-type-card:has(input:checked),
.custom-thali-page .meal-type-card.is-selected { border: 0; background: #1E3D2F; box-shadow: none; }
.custom-thali-page .meal-type-card:has(input:checked) strong,
.custom-thali-page .meal-type-card.is-selected strong { color: #FAF4E6; }
.custom-thali-page .meal-type-card:has(input:focus-visible) { outline: 2px solid #E0A93B; outline-offset: 2px; }

/* 2 · Curry: search, chips with the group's thali price, compact rows with a round radio */
.custom-thali-page .thali-curry-hint a { color: #1E4D36; }
.custom-thali-page .thali-search-wrap { border-color: #E7DCC4; border-radius: 12px; background: #FFFDF7; }
.custom-thali-page .thali-filter-row > strong { color: #5B5446; font-size: .8rem; }
.custom-thali-page .thali-filter-chips button { padding: 6px 13px; border-color: #E7DCC4; background: #FFFDF7; color: #2A2620; }
.custom-thali-page .thali-filter-chips button:hover,
.custom-thali-page .thali-filter-chips button.is-active { border-color: #1E3D2F; background: #1E3D2F; color: #FAF4E6; }
.thali-chip-price { margin-left: 5px; color: #5B5446; font-style: normal; font-weight: 600; }
.thali-filter-chips button:hover .thali-chip-price,
.thali-filter-chips button.is-active .thali-chip-price { color: #F2C14E; }
.custom-thali-page .thali-curry-grid { gap: 10px; }
.custom-thali-page .thali-curry-card { grid-template-columns: 64px minmax(0, 1fr) 22px; gap: 12px; min-height: 0; padding: 8px 10px; border: 1px solid #E7DCC4; border-radius: 12px; background: #FFFDF7; }
.custom-thali-page .thali-curry-card:hover { border-color: #8AB197; }
.custom-thali-page .thali-curry-card > img { width: 64px; height: 64px; border-radius: 10px; }
.custom-thali-page .thali-curry-card.is-selected { padding: 7px 9px; border: 2px solid #1E3D2F; background: #F4F8F2; box-shadow: none; }
.custom-thali-page .thali-curry-card:has(input:focus-visible) { outline: 2px solid #E0A93B; outline-offset: 2px; }
.custom-thali-page .thali-curry-info strong { color: #1E3D2F; font-size: .95rem; }
.custom-thali-page .thali-curry-info small { color: #5B5446; }
.custom-thali-page .thali-curry-tick { width: 22px; height: 22px; border: 2px solid #B9AE95; border-radius: 50%; background: transparent; color: transparent; font-size: 0; }
.custom-thali-page .thali-curry-card.is-selected .thali-curry-tick { border: 7px solid #1E3D2F; background: #FFFDF7; }
.custom-thali-page .thali-discover-button { margin-top: 3px; color: #1E4D36; font-size: .8rem; text-underline-offset: 3px; }
.custom-thali-page .thali-pagination button { border-color: #E7DCC4; color: #1E3D2F; }
.custom-thali-page .thali-pagination button.is-active { border-color: #1E3D2F; background: #1E3D2F; color: #FAF4E6; }

/* 3 · Bread: one row of buttons (name + "2 pieces"), like the ladoo pack buttons */
.custom-thali-page .thali-bread-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 12px; }
.custom-thali-page .thali-bread-head h2 { margin: 0; }
.custom-thali-page .thali-bread-head p { margin-left: auto; color: #5B5446; font-size: .82rem; }
.custom-thali-page .thali-plate-strip { display: none; }
.custom-thali-page .thali-bread-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #EFE8D8; }
.custom-thali-page .thali-bread-tile { gap: 1px; padding: 10px 8px; border: 0; border-radius: 9px; background: transparent; box-shadow: none; transform: none; }
.custom-thali-page .thali-bread-tile:hover { border: 0; background: rgba(255, 253, 247, .75); box-shadow: none; transform: none; }
.custom-thali-page .thali-bread-art,
.custom-thali-page .thali-bread-tile > small,
.custom-thali-page .thali-bread-count { display: none !important; }
.custom-thali-page .thali-bread-tile > strong { color: #2A2620; font-size: .92rem; }
.custom-thali-page .thali-bread-pieces { margin: 0; padding: 0; border: 0; background: none; color: #5B5446; font-size: .76rem; font-weight: 500; }
.custom-thali-page .thali-bread-tile.is-selected { border: 0; background: #1E3D2F; box-shadow: none; }
.custom-thali-page .thali-bread-tile.is-selected > strong { color: #FAF4E6; }
.custom-thali-page .thali-bread-tile.is-selected .thali-bread-pieces { color: #F2C14E; }
.custom-thali-page .thali-bread-tile:has(input:focus-visible) { outline: 2px solid #E0A93B; outline-offset: 2px; }
.custom-thali-page .thali-bread-soldout { position: static; margin-bottom: 2px; }

/* Summary: a green card with the curry, what is included, the price and Add */
.custom-thali-page .custom-thali-summary { top: 108px; padding: 20px; border: 0; border-radius: 18px; background: #1E3D2F; color: #FAF4E6; box-shadow: 0 10px 26px rgba(30, 61, 47, .18); }
.custom-thali-page .summary-heading { padding: 0 0 4px; border: 0; }
.custom-thali-page .summary-heading h2 { color: #F2C14E; font-size: 1.6rem; }
.custom-thali-page .summary-curries-section h3,
.custom-thali-page .summary-included-section h3 { margin: 0 0 8px; color: #C9D6CC; font-family: Inter, "Segoe UI", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.custom-thali-page .summary-empty { color: #C9D6CC; }
.custom-thali-page .summary-curry-item { border-color: rgba(250, 244, 230, .16); background: rgba(250, 244, 230, .08); }
.custom-thali-page .summary-curry-item strong { color: #FAF4E6; }
.custom-thali-page .summary-curry-item b { color: #F2C14E; }
.custom-thali-page .summary-curry-item button { color: #F3EBD8; }
.custom-thali-page .summary-included-section { margin: 0; padding: 14px 0 0; border-radius: 0; background: transparent; }
.custom-thali-page .summary-included-section ul { border-radius: 0; background: transparent; }
.custom-thali-page .summary-included-section li { grid-template-columns: 34px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(250, 244, 230, .14); }
.custom-thali-page .summary-included-section li > span { display: none; }
.custom-thali-page .summary-included-section li > .summary-food-icon { width: 34px; height: 34px; padding: 3px; border-radius: 50%; background: #FAF4E6; }
.custom-thali-page .summary-included-section li b { color: #FAF4E6; }
.custom-thali-page .summary-included-section li small { color: #C9D6CC; }
.custom-thali-page .summary-total-row { padding: 14px 0 0; border: 0; }
.custom-thali-page .summary-total-row span { color: #C9D6CC; font-family: Inter, "Segoe UI", sans-serif; font-size: .9rem; font-weight: 600; }
.custom-thali-page .summary-total-row strong { color: #F2C14E; font-size: 1.9rem; }
.custom-thali-page .summary-pricing-note { color: #C9D6CC; }
.thali-side-add-button { width: 100%; min-height: 48px; margin: 12px 0 10px; border: 0; border-radius: 12px; background: #F2C14E; color: #1E3D2F; font-weight: 700; font-size: .98rem; }
.thali-side-add-button:hover { background: #FFD36A; }
.thali-side-add-button:focus-visible { outline: 2px solid #FAF4E6; outline-offset: 2px; }

/* Bottom bar: only where the summary card is not beside the steps (phones and small tablets). */
.custom-thali-page .thali-sticky-bar { border: 0; background: #1E3D2F; box-shadow: 0 -8px 24px rgba(20, 43, 33, .25); }
.custom-thali-page .sticky-selection strong { color: #FAF4E6; }
.custom-thali-page .sticky-selection small,
.custom-thali-page .sticky-total small { color: #C9D6CC; }
.custom-thali-page .sticky-total { border-color: rgba(250, 244, 230, .2); }
.custom-thali-page .sticky-total strong { color: #F2C14E; }
.custom-thali-page .thali-continue-button { background: #F2C14E; color: #1E3D2F; box-shadow: none; }
.custom-thali-page .thali-continue-button:hover { background: #FFD36A; }
@media (min-width: 801px) {
    .custom-thali-page { padding-bottom: 48px; }
    .custom-thali-page .thali-sticky-bar { display: none; }
}
@media (max-width: 800px) {
    .thali-side-add-button { display: none; }
}
@media (max-width: 560px) {
    .custom-thali-page .thali-step { padding: 14px 12px; }
    .custom-thali-page .thali-step h2 { font-size: 1.12rem; }
    .custom-thali-page .meal-type-options { width: 100%; }
    .custom-thali-page .meal-type-card { padding: 9px 10px; }
    .custom-thali-page .thali-curry-card { grid-template-columns: 56px minmax(0, 1fr) 22px; }
    .custom-thali-page .thali-curry-card > img { width: 56px; height: 56px; }
    .custom-thali-page .thali-bread-head p { margin-left: 38px; }
}
