.info-btn {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--gold-line); background: rgba(11,12,11,0.72);
    color: var(--gold); font-family: var(--serif); font-style: italic;
    font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.menu-item { position: relative; }
.combo-section { padding: 4px 16px 10px; }
.combo-section h2 {
    font-family: var(--serif); color: var(--gold); font-size: 26px;
    font-weight: 600; margin: 6px 0 10px; letter-spacing: 0.03em;
}
.combo-card {
    background: var(--card); border: 1px solid var(--gold-line); border-radius: 12px;
    padding: 12px; margin-bottom: 10px;
}
.combo-card h3 { font-family: var(--serif); font-size: 22px; color: var(--text); font-weight: 600; }
.combo-card .combo-desc { color: var(--text-secondary); font-size: 13px; margin: 4px 0 8px; }
.combo-comps { color: var(--text-secondary); font-size: 13px; margin-bottom: 8px; }
.price-was { text-decoration: line-through; color: var(--muted); margin-right: 8px; font-size: 15px; }
.price-now { color: var(--gold); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.price-save { color: var(--text-secondary); font-size: 12px; margin-left: 8px; }
.nutrition-box { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.nutrition-box .warn {
    display: block; margin-bottom: 10px; color: var(--gold);
    font-size: 13px; letter-spacing: 0.02em;
}
.nutrition-box .basis { margin-bottom: 8px; }
.nutrition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.nutrition-grid div { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.nutrition-grid b { display: block; color: var(--gold); font-family: var(--serif); font-size: 20px; }
.nutrition-src { font-size: 12px; color: var(--muted); margin-top: 10px; }
.item-image-wrap { position: relative; }

.combo-card, .combo-comps, .combo-desc { min-width: 0; overflow-wrap: anywhere; }
.nutrition-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nutrition-grid b { overflow-wrap: anywhere; }
/* Structured recipes: usable at 320px, no horizontal ingredient carousel. */
.food-choices{border:1px solid var(--border,#444);border-radius:10px;padding:10px;margin:14px 0;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
.food-choices legend{font-size:14px;max-width:100%;white-space:normal}
.food-check{display:flex;align-items:flex-start;gap:7px;font-size:14px;overflow-wrap:anywhere;max-width:100%;flex:1 1 170px;min-width:0}
.food-check input{flex:0 0 auto;margin-top:3px;width:auto;max-width:20px}
.food-select{display:flex;flex-direction:column;gap:6px;margin:10px 0;min-width:0}
.food-select select{width:100%;min-width:0;max-width:100%;padding:10px;background:#222;color:#eee;border:1px solid #555;border-radius:8px}
.food-family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}
#food-quote-error{overflow-wrap:anywhere;font-size:14px}
.groups{display:flex;gap:6px;padding:6px 16px 4px}.group-btn{flex:1;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 6px;color:var(--text-secondary);font-weight:600;font-size:17px;box-shadow:none}.group-btn.active{background:transparent;color:var(--text);border-color:#af8d50}
.menu-intro{padding:16px}.menu-intro h2{font-size:26px;letter-spacing:-.035em;font-weight:600}.menu-intro p{font-size:14px;color:var(--text-secondary)}
.categories{gap:8px;padding:0 16px 16px}.category{background:#fffbf5;border:1px solid var(--border);color:var(--text);border-radius:22px;min-height:44px}.category.active{background:#254333;color:#fff9ef;border-color:#254333}
.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 16px}.menu-item{background:var(--card);border:0;border-radius:16px;overflow:hidden;min-width:0;box-shadow:0 4px 16px #203c2e08;cursor:pointer;display:flex;flex-direction:column}
.menu-item:first-child{grid-column:1/-1}.menu-item:first-child .item-image{height:250px}.item-image{width:100%;height:160px;object-fit:cover;display:block}.item-info{padding:12px;min-height:130px;display:flex;align-items:flex-end;justify-content:space-between;gap:6px;flex:1}.item-name{font-size:18px;font-weight:600;line-height:1.25;font-family:var(--sans);color:var(--text)}.item-price{font-family:var(--sans);font-size:18px;font-weight:650;margin-top:10px;color:var(--text)}.item-description{font-size:14px;line-height:1.45;color:var(--text-secondary);margin-top:7px;overflow-wrap:anywhere}.add-plus{width:38px;height:38px;min-width:38px;background:#254333;color:#fff8eb;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center}.add-plus svg{width:20px;height:20px}
.info-btn{left:auto;right:8px;width:44px;height:44px;background:#fffaf0ed;color:#254333;border:0;font:italic 22px Georgia,serif;box-shadow:0 2px 10px #0001}
.combo-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;padding:0 16px}.combo-section>h2{grid-column:1/-1;font-family:var(--sans);font-size:24px;margin:0}.combo-card{padding:0 0 16px;border:0;overflow:hidden;border-radius:16px}.combo-card>:not(img){margin-left:14px;margin-right:14px}.combo-card h3{font-family:var(--sans);font-size:22px;margin-top:12px}.combo-card .combo-desc{font-size:15px}.combo-image{width:100%;height:240px;object-fit:cover}.combo-comps{font-size:14px}.price-now{font-family:var(--sans);font-size:21px}.price-save{display:block;margin-left:0;margin-top:4px;font-size:14px}
.image-note{font-size:12px;color:var(--muted);padding:24px 16px}.food-select select{background:var(--field);color:var(--text);border-color:var(--border);min-height:48px}.food-check{min-height:44px;align-items:center;flex:1 1 180px;font-size:15px}.food-check:has(input:disabled){opacity:.5}.food-choices{border-color:var(--border);gap:8px;padding:12px}.food-choices .option-btn{flex:1 1 130px}.food-choices legend{font-size:15px;color:var(--text);padding:0 6px}.cheese-note{padding:10px;background:#e5e9dd;color:#254333;border-radius:10px}.food-family-grid .size-btn{padding:14px;font-size:16px}
@media(min-width:760px){.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.menu-item:first-child{grid-column:auto}.menu-item:first-child .item-image,.item-image{height:230px}.groups{max-width:620px}.menu-intro h2{font-size:36px}.item-info{min-height:150px}.combo-image{height:280px}}
@media(max-width:360px){.menu-grid{gap:10px;padding:0 12px}.item-image{height:135px}.item-info{padding:10px;display:block}.item-name{font-size:17px}.add-plus{margin-top:8px}.menu-item:first-child .item-image{height:220px}.item-description{font-size:14px}}

/* All subcategories remain visible, including the final chip at 320px. */
.categories{flex-wrap:wrap;overflow-x:visible;overflow-y:visible}
.categories .category{flex:0 1 auto;min-width:0;max-width:100%;min-height:44px}
.categories .category span{white-space:normal;overflow-wrap:anywhere;font-size:14px}

/* Cart fulfillment select: use the full totals width at 320–390px. */
.total-section .form-group{padding-left:0;padding-right:0;min-width:0}
#cart-fulfillment{width:100%;min-width:0;max-width:100%;box-sizing:border-box}

.business-info{overflow-wrap:anywhere;font-size:14px;line-height:1.5;margin:10px 0}.business-info p{margin:6px 0}

/* Food tiles have no featured first card; keep uniform photo geometry. */
.food-grid .menu-item:first-child{grid-column:auto}.food-grid .menu-item:first-child .item-image{height:160px}
@media(max-width:360px){.food-grid .menu-item:first-child .item-image{height:135px}}
@media(min-width:760px){.food-grid .menu-item:first-child .item-image{height:230px}}

/* Combo "Выбрать" must stay fully visible at 320 and 390px. */
.combo-section{min-width:0;overflow:visible;grid-template-columns:1fr}
.combo-card{overflow:visible;display:flex;flex-direction:column;min-width:0;box-sizing:border-box;padding-bottom:16px}
.combo-card .add-btn{
  display:block;box-sizing:border-box;width:auto;max-width:100%;align-self:stretch;
  margin:12px 14px 0;min-height:44px;flex-shrink:0;white-space:normal;overflow:visible;
  text-overflow:clip;padding:12px 16px
}
@media(min-width:400px){
  .combo-section{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
}

.cinnamon-opt{display:flex;align-items:center;gap:8px;margin:10px 0;min-height:44px;font-size:15px}
.guest-auth-form .form-group{margin:10px 0}
.auth-tabs{display:flex;gap:8px;margin:8px 0}

/* Electronic loyalty cards — Design B cream / forest green / light gold. */
.loyalty-cards{display:grid;gap:16px;margin:16px 0;min-width:0}
.loyalty-card{
  position:relative;display:flex;flex-direction:column;min-width:0;
  padding:16px 16px 14px;border-radius:22px;
  background:
    radial-gradient(120% 90% at 100% -10%, rgba(178,142,81,.16), transparent 46%),
    linear-gradient(165deg, #fffef9 0%, #f7f1e6 100%);
  border:1px solid #d8c8a9;
  box-shadow:0 10px 28px #203c2e10, inset 0 1px 0 #fffefc;
  overflow:hidden;
}
.loyalty-card::before{
  content:"";position:absolute;right:-18px;top:18px;width:120px;height:120px;
  background:currentColor;opacity:.05;pointer-events:none;
  -webkit-mask:var(--loyalty-mark) center / contain no-repeat;
  mask:var(--loyalty-mark) center / contain no-repeat;
}
.loyalty-card-coffee{color:#254333;--loyalty-mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='4' transform='rotate(-28 32 32)'%3E%3Cellipse cx='32' cy='32' rx='16' ry='25'/%3E%3Cpath d='M32 9c-6 10-4 18 0 23s6 14 0 23'/%3E%3C/g%3E%3C/svg%3E")}
.loyalty-card-lunch{color:#254333;--loyalty-mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%23000' stroke-width='4' d='M10 22 L32 58 L54 22 Q32 8 10 22Z'/%3E%3C/svg%3E")}
.loyalty-card.is-complete{box-shadow:0 10px 28px #203c2e10, inset 0 0 0 1px rgba(178,142,81,.45)}
.loyalty-card-head{display:flex;align-items:center;gap:10px;min-width:0;position:relative;z-index:1}
.loyalty-card-emblem{
  flex:0 0 44px;width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:#254333;color:#fff9ef;box-shadow:0 0 0 2px rgba(178,142,81,.55);
}
.loyalty-card-emblem svg{width:28px;height:28px;display:block}
.loyalty-card-titles{flex:1;min-width:0}
.loyalty-card h3{margin:0;font-size:18px;line-height:1.2;color:#254333;font-weight:700}
.loyalty-card-num{margin:2px 0 0;font-size:13px;color:#65695d}
.loyalty-card-progress{
  flex:0 0 auto;margin:0;padding:6px 10px;border-radius:999px;
  background:#e2e8dc;color:#254333;font-size:13px;font-weight:700;white-space:nowrap;
}
.loyalty-card.is-complete .loyalty-card-progress{background:#254333;color:#fff9ef}
.loyalty-card-rule{height:1px;margin:12px 0 14px;background:linear-gradient(90deg, transparent, #b28e51, transparent);opacity:.7;border:0;position:relative;z-index:1}
.stamp-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;position:relative;z-index:1}
.stamp{
  aspect-ratio:1;display:flex;align-items:center;justify-content:center;
  position:relative;border:0;border-radius:50%;background:transparent;
  color:#254333;min-width:0;min-height:44px;
}
.stamp svg{width:78%;height:78%;display:block;overflow:visible}
.stamp .body{fill:none;stroke:currentColor;stroke-width:2.1;stroke-linejoin:round;stroke-linecap:round}
.stamp .cleft,.stamp .crust-line{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.stamp .topping{fill:none;stroke:currentColor;stroke-width:1.6}
.stamp:not(.filled){background:#fffbf5;box-shadow:inset 0 0 0 1px #d8c8a9}
.stamp:not(.filled){color:#25433399}
.stamp.filled{
  background:#254333;color:#fff9ef;
  box-shadow:0 3px 0 #1b3228, 0 8px 14px #2543332e;
}
.stamp.filled .body{fill:currentColor;stroke:none}
.stamp.filled .cleft,.stamp.filled .crust-line{stroke:#254333;stroke-width:2}
.stamp.filled .topping{fill:#254333;stroke:none}
.stamp.filled.stamp-lunch .crust{fill:#e8c37a;stroke:none}
.stamp.filled.stamp-lunch .body{fill:#fff4d8;stroke:none}
.stamp.welcome.filled{
  box-shadow:0 0 0 2px #b28e51, 0 3px 0 #1b3228, 0 8px 14px #2543332e;
}
.stamp.welcome.filled .body{fill:#f3e0a8}
.stamp-letter{
  position:absolute;z-index:2;left:50%;bottom:5px;top:auto;transform:translateX(-50%);
  min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:#fff9ef;color:#254333;font-size:11px;font-weight:800;line-height:18px;
  text-align:center;letter-spacing:0;pointer-events:none;font-family:var(--sans);
  box-shadow:0 1px 2px #1b322833;
}
.loyalty-card-foot{margin:12px 0 0;font-size:14px;line-height:1.45;color:#536054;position:relative;z-index:1}
.loyalty-rewards{display:grid;gap:12px;margin:8px 0 16px}
.loyalty-rewards-title,.loyalty-history>summary{
  font-size:17px;font-weight:700;color:#254333;margin:8px 0;
}
.loyalty-reward{
  display:flex;align-items:flex-start;gap:12px;min-width:0;
  padding:14px;border-radius:18px;
  background:linear-gradient(165deg, #fffef9, #f7f1e6);
  border:1px solid #d8c8a9;
  box-shadow:inset 0 0 0 1px rgba(178,142,81,.28), 0 6px 18px #203c2e0c;
}
.loyalty-reward-icon{
  flex:0 0 44px;width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:#254333;color:#f3e0a8;
}
.loyalty-reward-icon svg{width:28px;height:28px;display:block}
.loyalty-reward h3{margin:0 0 4px;font-size:16px;color:#254333}
.loyalty-reward p{margin:0;font-size:14px;color:#536054;line-height:1.45}
.loyalty-history{margin:12px 0;min-width:0}
.loyalty-history>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;list-style:none}
.loyalty-history>summary::-webkit-details-marker{display:none}
.loyalty-history>summary::after{content:"▾";margin-left:8px;color:#b28e51}
.loyalty-history .loyalty-card{margin-top:12px;opacity:.96}
.loyalty-checkout .loyalty-reward{margin:10px 0}
.loyalty-profile,.loyalty-auth,.loyalty-checkout{min-width:0}
.guest-loyalty-block{margin:0 16px 18px;padding:16px;border-radius:20px;background:var(--card,#fffbf5);border:1px solid var(--border,#dcd8ca);min-width:0}
.guest-loyalty-block>p{margin:0 0 10px}
@media(max-width:360px){
  .loyalty-card{padding:14px 12px 12px;border-radius:18px}
  .stamp-row{gap:8px}
  .loyalty-card-emblem,.loyalty-reward-icon{flex-basis:40px;width:40px;height:40px}
}
@media(min-width:760px){
  .loyalty-cards{grid-template-columns:repeat(2,minmax(0,420px));align-items:start}
  .stamp-letter{font-size:15px}
}

.loyalty-card-emblem .body{fill:currentColor;stroke:none}
.loyalty-card-emblem .cleft{fill:none;stroke:#254333;stroke-width:3;stroke-linecap:round}
.loyalty-card-lunch .loyalty-card-emblem .body,.loyalty-reward-icon .body{fill:#fff4d8;stroke:none}
.loyalty-card-lunch .loyalty-card-emblem .crust,
.loyalty-card-lunch .loyalty-card-emblem .crust-line,
.loyalty-reward-icon .crust,
.loyalty-reward-icon .crust-line{fill:none;stroke:#e8c37a;stroke-width:5;stroke-linecap:round}
.loyalty-card-lunch .loyalty-card-emblem .topping,
.loyalty-reward-icon .topping{fill:#254333;stroke:none}
.loyalty-reward-icon .cleft{fill:none;stroke:#254333;stroke-width:3;stroke-linecap:round}
.stamp.filled.stamp-lunch .crust,
.stamp.filled.stamp-lunch .crust-line{stroke:#e8c37a;fill:none;stroke-width:5;stroke-linecap:round}
