/* Shared geometry and muted rose palette. Loaded last in all four layouts. */

html.ponchata-dark,html.ponchata-dark body,body.dark {
 --cream:#40262b;--cream-dark:#503139;--white:#62414a;--dark:#fff3f3;
 --text:#fff3f3;--text-muted:#e3c4c8;--brown:#f5d8df;
 --pink:#ef9baf;--pink-dark:#a92d53;--pink-mid:#e890a5;--pink-light:#f3bbc8;--pink-pale:#71434f;
 --border:#ad7b88;--shadow-sm:0 3px 14px #250e1426;--shadow:0 10px 32px #250e1440;--shadow-lg:0 16px 48px #250e1450;
 --pot-good:#b4e5c9;--pot-good-bg:#2e5345;--pot-warning:#f3cd9c;
 background-color:#40262b;color:#fff3f3;color-scheme:dark;
}
body.dark.ponchata-shell .header,body.dark.ponchata-shell .mobile-nav,body.dark.ponchata-shell .cart-sidebar,
body.dark.ponchata-shell .ca-sidebar,body.dark.ponchata-shell .ca-auth,body.dark.ponchata-shell .ca-system .set,
body.dark.ponchata-shell .pc-card,body.dark.ponchata-shell .pc-section,body.dark.ponchata-shell .pc-main,
body.dark.ponchata-shell .cart-page__panel,body.dark.ponchata-shell .menu-card,
body.dark.ponchata-shell .constructor-card,body.dark.ponchata-shell .detail-modal__content,
body.dark.ponchata-shell .product-page__panel,body.dark.ponchata-shell .collection-card,
body.dark.ponchata-shell .pot-card,body.dark.ponchata-shell .pot-summary,body.dark.ponchata-shell .pot-refresh {background:var(--white);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .footer {background:#2f1b20;background-image:none;color:var(--text-muted);}
body.dark.ponchata-shell .footer a {color:var(--pink-light);}
body.dark.ponchata-shell .hero,body.dark.ponchata-shell .section,body.dark.ponchata-shell .pc-checkout,
body.dark.ponchata-shell .page,body.dark.ponchata-shell .ca-main {background:var(--cream);}
body.dark.ponchata-shell .menu-card__photo,body.dark.ponchata-shell .constructor-option__photo,
body.dark.ponchata-shell .detail-modal__photo,body.dark.ponchata-shell .product-page__image,
body.dark.ponchata-shell .collection-card__image {background:#76545c;}
body.dark.ponchata-shell .mode-btn,body.dark.ponchata-shell input,body.dark.ponchata-shell textarea,body.dark.ponchata-shell select {color:var(--text);background:var(--cream-dark);border-color:var(--border);}
body.dark.ponchata-shell .mode-btn--active,body.dark.ponchata-shell .mode-btn.active {background:var(--pink-dark);color:#fff;}
body.dark.ponchata-shell .ca-order-page .set-title,body.dark.ca-order-page .set-title,
body.dark.ponchata-shell .pc-doc h1,body.dark.ponchata-shell .pc-doc h2,body.dark.ponchata-shell .section__title {color:var(--brown);}
body.dark.ponchata-shell .ca-order-items thead th,body.dark.ponchata-shell .ca-system table th,
body.dark.ponchata-shell .pc-doc table th {background:var(--pink-pale);color:var(--pink-light);}
body.dark.ponchata-shell .ca-system table td,body.dark.ponchata-shell .pc-doc table td {background:var(--white);color:var(--text);}
body.dark.ponchata-shell .ca-sidebar__bonus {background:var(--pink-pale);border-color:var(--border);}
/* Keep real photographs whole. Equal frames do not crop food or straws. */
.menu-card {display:flex;flex-direction:column;min-width:0;}
.menu-card__photo {width:100%;height:200px;object-fit:contain;object-position:center;padding:18px;background:#fff1f3;border-radius:16px;margin-bottom:14px;}
.menu-card--constructor .menu-card__photo {height:200px;}
.constructor-option__photo {width:76px;height:76px;flex:0 0 76px;object-fit:contain;padding:7px;background:#fff1f3;}
.menu-card__name,.menu-card__desc,.constructor-option__name {overflow-wrap:anywhere;}
.menu-card__footer {margin-top:auto;}
.menu-card__bottom {margin-top:auto;}
.addon-chip__photo {width:76px;height:76px;object-fit:contain;padding:7px;background:#fff1f3;border-radius:10px;}
.addon-chip__plus {display:flex;flex-direction:column;align-items:center;gap:4px;min-height:44px;}
.addon-chip__name {text-align:center;white-space:normal;}
.product-detail__img {width:100%;height:360px;object-fit:contain;padding:24px;background:#fff1f3;}
body.dark.ponchata-shell .addon-chip__photo,body.dark.ponchata-shell .product-detail__img {background:#76545c;}
body.dark.ponchata-shell .constructor-option {color:var(--text);}
body.dark.ponchata-shell .constructor-option--selected,body.dark.ponchata-shell .add-btn,
body.dark.ponchata-shell .addon-chip--selected .addon-chip__plus {background:var(--pink-dark);color:#fff;}
body.dark.ponchata-shell .constructor-option--selected .constructor-option__name,
body.dark.ponchata-shell .constructor-option--selected .constructor-option__price {color:#fff;}
.detail-modal__photo {object-fit:contain;padding:18px;max-height:300px;background:#fff1f3;}
.menu-mode#menuModeToggle {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:380px;width:100%;padding:8px;margin:18px auto 0;}
.menu-mode#menuModeToggle .menu-mode__label {grid-column:1/-1;text-align:center;font-size:13px;line-height:1.4;padding:2px 0 3px;}
.menu-mode#menuModeToggle .mode-btn {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:none;min-width:0;min-height:44px;padding:8px 10px;margin:0;white-space:nowrap;font-size:14px;line-height:1.2;}
.mode-btn svg {width:20px;height:20px;flex:0 0 20px;}
.ca-content,.ca-system,.ca-container>* {min-width:0;}
.product-detail>* {min-width:0;}
.ca-order-back {display:inline-flex;align-items:center;min-height:44px;color:var(--pink-dark);font-weight:800;margin-bottom:8px;}
.ca-content .pot-inline {max-width:none;margin-bottom:18px;}
.ca-content .pot-notification-help {max-width:none;}
body.ca-order-page .ca-main {padding-top:calc(var(--header-h) + 24px);}
body.ca-order-page .ca-main--auth {padding-top:calc(var(--header-h) + 24px);}
.site-table-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:12px;-webkit-overflow-scrolling:touch;}
.site-table-scroll:focus-visible {outline:3px solid var(--pink-dark);outline-offset:2px;}
.site-table-scroll table {max-width:none;width:100%;}
.pc-doc,.widget-type_system_widget_v4_page_content_1 .layout__content {overflow-wrap:anywhere;min-width:0;}
.cart-page {padding-top:calc(var(--header-h) + 32px);min-height:55vh;}
.cart-page__empty {padding:48px 0 58px;}
.cart-page__title {margin-bottom:20px;}
.pot-empty {position:fixed;left:20px;bottom:22px;z-index:1050;display:flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid var(--border);background:var(--white);color:var(--brown);box-shadow:var(--shadow-sm);border-radius:18px;font-size:13px;font-weight:900;}
.pot-empty>span:first-child {color:var(--pink-dark);font-size:28px;line-height:1;}
.pot-empty small {display:block;font-size:11px;color:var(--text-muted);font-weight:700;}
.pot-empty:focus-visible,.pot-notification-help :focus-visible {outline:3px solid var(--pink-dark);outline-offset:3px;}
.pot-step.is-done.is-current {color:var(--pot-good);}
.pot-step.is-done.is-current .pot-step-mark {color:var(--pot-good);background:var(--pot-good-bg);border-color:var(--pot-good);}
.pot-notification-help {display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:22px;background:var(--pink-pale);border:1px solid var(--border);}
.pot-notification-icon {width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--white);color:var(--pink-dark);font-size:27px;}
.pot-notification-help h2 {font-size:20px;line-height:1.3;}
.pot-alert-toggle {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;margin-top:12px;background:var(--pink-dark);color:#fff;border-radius:12px;font-weight:900;font-size:13px;}
.pot-alert-toggle[aria-pressed=true] {background:var(--white);border:1px solid var(--border);color:var(--text);}
.pot-notification-help .pot-alert-note,.pot-notification-help .pot-channel-note,.pot-notification-help .pot-contact {font-size:12px;line-height:1.55;color:var(--text-muted);}
.pot-link {color:#fff;}
body.dark.ponchata-shell .pot-link {color:#fff;}
body.dark.ponchata-shell .pot-notify,body.dark.ponchata-shell .pot-kicker,
body.dark.ponchata-shell .ca-order-back,body.dark.ponchata-shell .pot-notification-help a,
body.dark.ponchata-shell .pc-doc a {color:var(--pink-light);}
body.ca-order-page:has(.pot-inline) .pot-floating {display:none;}
body.ponchata-checkout-page .pot-empty,body.ponchata-checkout-page .pot-floating {display:none;}
body:has(.cart-sidebar--open) .pot-empty,body:has(.cart-sidebar--open) .pot-floating,
body:has(.detail-overlay--visible) .pot-empty,body:has(.detail-overlay--visible) .pot-floating {visibility:hidden;}
@media(max-width:900px){
 .container {padding-left:18px;padding-right:18px;}
 .ca-container {gap:20px;}
 .ca-sidebar {width:auto;min-width:0;}
}
@media(max-width:768px){
 :root {--header-h:68px;}
 .ca-container {display:flex;flex-direction:column;align-items:stretch;}
 .ca-sidebar {position:static;width:100%;padding:16px;}
 .ca-sidebar__user {padding:0 0 12px;}
 .ca-sidebar__avatar {width:48px;height:48px;margin:0 auto 6px;}
 .ca-sidebar__nav {display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;}
 .ca-sidebar__link {flex:1 1 130px;width:auto;min-height:44px;padding:9px 12px;font-size:13px;}
 .ca-sidebar__bonus {padding:12px;margin-top:12px;}
 .ca-sidebar__bonus-value {font-size:24px;}
 .ca-sidebar__logout {min-height:44px;margin-top:12px;}
 .ca-content {width:100%;}
 .ca-main,.cart-page {padding-bottom:calc(120px + env(safe-area-inset-bottom));}
 .menu-card__photo,.menu-card--constructor .menu-card__photo {height:180px;padding:16px;}
 .constructor-option__photo {width:66px;height:66px;flex-basis:66px;}
 .menu-card {padding:16px;}
 .cart-page__item {display:grid;grid-template-columns:64px minmax(0,1fr) 44px;gap:10px;align-items:center;}
 .cart-page__item-image {width:64px;height:64px;grid-column:1;}
 .cart-page__item-info {grid-column:2;}
 .cart-page__item-total {grid-column:2;grid-row:2;text-align:left;}
 .cart-page__remove {grid-column:3;grid-row:1/3;}
 .cart-page__remove-btn {width:44px;height:44px;}
 .cart-page__actions {display:flex;flex-direction:column;gap:10px;}
 .cart-page__actions .ca-btn {width:100%;min-height:48px;}
 .pot-empty {left:12px;bottom:calc(80px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);padding:8px 13px;}
 .pot-floating {width:calc(100vw - 24px);max-width:360px;}
 .pot-notification-help {padding:18px;gap:10px;grid-template-columns:32px minmax(0,1fr);}
 .pot-notification-icon {width:32px;height:32px;font-size:23px;}
 .pot-notification-help h2 {font-size:18px;}
 .pot-alert-toggle {width:100%;}
 .footer {padding-bottom:calc(112px + env(safe-area-inset-bottom));}
 input:not([type=checkbox]):not([type=radio]),textarea,select {font-size:16px;max-width:100%;}
 .pc-doc {padding:calc(var(--header-h) + 24px) 16px 40px;}
 .pc-doc table {font-size:13px;}
 .pc-doc h1 {font-size:clamp(24px,7vw,32px);}
 .pc-main {max-width:100%;padding:0 12px;}
}
@media(max-width:480px){
 .menu-card__photo,.menu-card--constructor .menu-card__photo {height:170px;}
 .menu-cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .menu-cards:has(.menu-card--donut),.menu-cards:has(.menu-card--constructor) {grid-template-columns:1fr;}
 .menu-card {padding:12px;}
 .menu-card__name {font-size:16px;}
 .menu-card__desc {font-size:12px;}
 .menu-card--constructor {grid-column:1/-1;}
 .menu-card__footer {flex-wrap:wrap;gap:8px;}
 .menu-card__add {min-width:44px;min-height:44px;}
 .ca-system .set,.ca-auth {padding:18px 14px;}
 .constructor__options {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .constructor-option {padding:10px;align-items:flex-start;min-width:0;}
 .constructor-option__name {font-size:13px;line-height:1.3;}
 .constructor-option__desc {font-size:11px;}
 .pot-actions {gap:8px;}
 .pot-refresh {min-width:90px;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}.pot-empty,.mode-btn{transition:none;}}
@media print{.pot-empty{display:none;}}
body.dark.ponchata-shell .ca-sidebar__link--active {background:var(--pink-pale);color:var(--text);border:1px solid var(--pink-light);box-shadow:none;}

/* Appetizing examples use the same whole-photo frame across recommendations. */
.popular-card{min-width:0;}
.popular-card__emoji{width:min(140px,100%);height:110px;display:grid;place-items:center;margin:0 auto;}
.popular-card__photo{width:100%;max-width:140px;height:110px;object-fit:contain;padding:8px;}
.popular-card__example{display:block;color:var(--text-muted);font-size:11px;line-height:1.35;margin-top:5px;}
body.dark.ponchata-shell .menu-mode,body.dark.ponchata-shell .cart-mode-toggle{background:#503139;}
body.dark.ponchata-shell .popular-card,body.dark.ponchata-shell .about__card,body.dark.ponchata-shell .review-card,body.dark.ponchata-shell .faq-item,body.dark.ponchata-shell .detail-modal,body.dark.ponchata-shell .review-form,body.dark.ponchata-shell .history-sidebar{background:var(--white);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .popular-section,body.dark.ponchata-shell .about-section,body.dark.ponchata-shell .reviews-section,body.dark.ponchata-shell .faq-section{background:var(--cream);}
body.dark.ponchata-shell .hero__wave path{fill:var(--cream);}
body.dark.ponchata-shell .menu-section,body.dark.ponchata-shell .menu-tabs{background:var(--cream);}
body.dark.ponchata-shell .menu-tab{background:var(--cream-dark);border-color:var(--border);color:var(--text);}
body.dark.ponchata-shell .menu-tab--active{background:var(--pink-dark);border-color:var(--pink-dark);color:#fff;}
body.dark.ponchata-shell .gift-section{background:linear-gradient(135deg,var(--cream),var(--cream-dark),var(--white));}
body.dark.ponchata-shell .gift-card{background:var(--white);border-color:var(--border);color:var(--text);}
body.dark.ponchata-shell .gift-section::before,body.dark.ponchata-shell .gift-section::after{background:rgba(239,155,175,.07);}
body.dark.ponchata-shell .menu-card__badge{color:#40262b;}
@media(max-width:600px){.popular__grid{grid-template-columns:repeat(2,minmax(0,1fr));}.popular-card{padding-left:12px;padding-right:12px;}.popular-card__name{overflow-wrap:anywhere;}}
body.dark.ponchata-shell .stats-section,body.dark.ponchata-shell .promo-section{background:linear-gradient(135deg,var(--cream-dark),var(--white));}
body.dark.ponchata-shell .modal,body.dark.ponchata-shell .order-summary,body.dark.ponchata-shell .info-tooltip{background:var(--white);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .modal-close,body.dark.ponchata-shell .form-group input,body.dark.ponchata-shell .form-group textarea,
body.dark.ponchata-shell .form-group input:focus,body.dark.ponchata-shell .form-group textarea:focus{background:var(--cream-dark);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .cart-delivery-message,body.dark.ponchata-shell .cart-item--system{background:linear-gradient(135deg,var(--cream-dark),var(--white));}
body.dark.ponchata-shell .cart-toggle,body.dark.ponchata-shell .dark-toggle,body.dark.ponchata-shell .header__profile-btn,
body.dark.ponchata-shell .history-toggle,body.dark.ponchata-shell .scroll-top-btn,body.dark.ponchata-shell .hero__tag,
body.dark.ponchata-shell .hero__pickup-banner,body.dark.ponchata-shell .dock__bar,body.dark.ponchata-shell .dock__item{background:rgba(80,49,57,.86);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .pc-method,body.dark.ponchata-shell .history-order,
body.dark.ponchata-shell .detail-modal__nutrition{background:var(--white);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .pc-method-emoji,body.dark.ponchata-shell .pc-thumb,
body.dark.ponchata-shell .pc-summary-rows,body.dark.ponchata-shell .detail-modal__close,
body.dark.ponchata-shell .detail-modal__qty-btn,body.dark.ponchata-shell .pc-method--active{background:var(--cream-dark);color:var(--text);border-color:var(--border);}
body.dark.ponchata-shell .pc-input:-webkit-autofill,body.dark.ponchata-shell .pc-input:-webkit-autofill:hover,
body.dark.ponchata-shell .pc-input:-webkit-autofill:focus{box-shadow:0 0 0 1000px var(--cream-dark) inset;-webkit-text-fill-color:var(--text);}
