/* =========================================================
   Sorprende Lima — menu page clone
   ========================================================= */

:root {
  --accent: #e6004c;
  --accent-strong: #c70042;
  --accent-soft: #ffe9f0;
  --ink: #100423;
  --ink-2: #3b3545;
  --muted: #77727f;
  --line: #ececf1;
  --soft: #f6f6f8;
  --white: #ffffff;
  --green: #25d366;
  --star: #f5a623;
  --shadow-sm: 0 2px 10px rgba(16, 4, 35, 0.06);
  --shadow-md: 0 14px 36px rgba(16, 4, 35, 0.13);
  --shadow-lg: 0 30px 80px rgba(16, 4, 35, 0.28);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1440px;
  --font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.sheet-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; }

button,
input { font: inherit; }

button { color: inherit; }

:focus-visible {
  outline: 3px solid rgba(230, 0, 76, 0.55);
  outline-offset: 2px;
}

.muted { color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- Top bar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar__inner {
  max-width: var(--max);
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex: none;
}

.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(16, 4, 35, 0.18);
}

.brand__name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__actions { display: flex; align-items: center; gap: 2px; }


/* ---------------- Page layout ---------------- */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.page__content { min-width: 0; }

/* ---------------- Store header ---------------- */

.store {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 0 26px;
}

.store__logo {
  width: 104px;
  height: 104px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex: none;
}

.store__body { min-width: 0; }

.store__title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store__name {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.chip--delivery {
  background: var(--accent);
  color: #fff;
}

.store__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.rating svg {
  width: 16px;
  height: 16px;
  color: var(--star);
}

.meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9c6cf;
}

.store__address {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------------- Search ---------------- */

.searchbar {
  position: relative;
  margin: 0 0 34px;
}

.searchbar input {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  padding: 0 64px 0 22px;
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.15s ease, background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.searchbar input::placeholder { color: #8c8794; }

.searchbar input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px var(--accent-soft), 0 10px 26px rgba(16, 4, 35, 0.07);
}

.searchbar__btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.searchbar__btn:hover { background: var(--accent-strong); }
.searchbar__btn svg { width: 20px; height: 20px; }

/* ---------------- Category / shelves ---------------- */

.menu-sections { min-width: 0; }

.category { margin-bottom: 38px; }

.category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.category__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.link-btn:hover { color: var(--accent); }
.link-btn svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.link-btn:hover svg { transform: translateX(2px); }

.shelf { position: relative; }

.shelf__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  margin: -6px -2px -14px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shelf__track::-webkit-scrollbar { display: none; }

.shelf__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.shelf__arrow svg { width: 20px; height: 20px; }
.shelf__arrow--prev { left: -17px; }
.shelf__arrow--next { right: -17px; }
.shelf__arrow[disabled] { opacity: 0; pointer-events: none; }
.shelf__arrow:hover { transform: translateY(-50%) scale(1.06); }

/* ---------------- Product card ---------------- */

.product-card {
  position: relative;
  flex: 0 0 182px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  border-color: #dedee6;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__open {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--soft);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.04); }

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  pointer-events: none;
}

.badge--age {
  left: auto;
  right: 8px;
  background: var(--ink);
}

.add-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(230, 0, 76, 0.32);
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
}

.product-card:hover .add-btn,
.add-btn:focus-visible {
  opacity: 1;
  transform: none;
}

.add-btn:hover { background: var(--accent-strong); }
.add-btn svg { width: 17px; height: 17px; }

.product-card__body { padding: 10px 12px 14px; }

.product-card__name {
  margin: 0;
  min-height: 36px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  min-height: 22px;
  flex-wrap: wrap;
}

.price {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.price--old {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
}

/* ---------------- Product grid (category / search) ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

.product-grid .product-card { flex: none; width: auto; }

.search-results { margin-bottom: 36px; }

.search-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-results__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.empty-state {
  margin: 0;
  padding: 48px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ---------------- Sidebar ---------------- */

.sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar { display: none; }

.cart-card,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.cart-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cart-card__head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.cart-card__head-actions { display: flex; align-items: center; gap: 6px; }

.cart-card__close { display: none; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 8px 26px;
  color: var(--muted);
}

.cart-empty__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--soft);
  color: #b5b1bd;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.cart-empty__icon svg { width: 36px; height: 36px; }
.cart-empty strong { color: var(--ink); font-size: 15px; }
.cart-empty span { margin-top: 4px; font-size: 13px; max-width: 220px; }

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 36vh;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}

.cart-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.cart-item__img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-item__name {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__price {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.cart-item__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-item__remove {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-item__remove:hover { color: var(--accent); }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.stepper button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.stepper button:hover { background: var(--accent-soft); color: var(--accent); }
.stepper button svg { width: 14px; height: 14px; }
.stepper span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 900; }

.stepper--lg { padding: 4px; }
.stepper--lg button { width: 34px; height: 34px; }
.stepper--lg button svg { width: 17px; height: 17px; }
.stepper--lg span { min-width: 28px; font-size: 15px; }

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.cart-summary__row strong { font-size: 17px; font-weight: 900; }
.cart-summary__row--muted { color: var(--muted); font-size: 13px; }

.cart-summary__note {
  margin: 2px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* ---------------- Contact card ---------------- */

.contact-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-card__icon svg { width: 21px; height: 21px; }

.contact-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.contact-card__head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
}

.contact-card__meta div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
}

.contact-card__meta dt { color: var(--muted); }
.contact-card__meta dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--soft); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { filter: brightness(0.95); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }

/* ---------------- Footer ---------------- */

.footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  flex: none;
}

.footer__brand strong { font-size: 16px; font-weight: 900; }

.footer__brand p {
  margin: 4px 0 0;
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.footer h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer a,
.footer button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.footer a:hover,
.footer button:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------------- Modals ---------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 4, 35, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn 0.18s ease;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  animation: panelIn 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
  scrollbar-width: thin;
}

.modal__panel--wide { max-width: 1100px; }

.modal__head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
}

.modal__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.modal__head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.modal__body { padding: 20px 24px 26px; }

.modal__close-float {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

/* Product detail modal */

.modal__panel--product { max-width: 900px; padding: 0; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 430px;
}

.product-detail__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 22px 0 0 22px;
  background: var(--soft);
}

.product-detail__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__body {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 28px;
}

.product-detail__eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.product-detail__desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.product-detail__note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 12px;
}

.product-detail__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  flex-wrap: wrap;
}

.product-detail__prices .price { font-size: 26px; }

.pill-discount {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.product-detail__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

/* Contact modal */

.contact-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-modal__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
}

.contact-modal__meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
}

.contact-modal__meta dt { color: var(--muted); }
.contact-modal__meta dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }

.contact-modal__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------------- Mobile bar / sheet ---------------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(16, 4, 35, 0.08);
}

.mobile-bar__info { display: flex; flex-direction: column; line-height: 1.2; }
.mobile-bar__info span { color: var(--muted); font-size: 12px; }
.mobile-bar__info strong { font-size: 18px; font-weight: 900; }

.sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(16, 4, 35, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sheet-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Animations ---------------- */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.cart-bump { animation: bump 0.3s ease; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1120px) {
  .page { grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; }
  .shelf__arrow--prev { left: -8px; }
  .shelf__arrow--next { right: -8px; }
}

@media (max-width: 1024px) {
  .page {
    display: block;
    padding: 20px 18px 112px;
  }

  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 88vh;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -20px 60px rgba(16, 4, 35, 0.24);
    overflow: auto;
    transform: translateY(105%);
    transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.3, 1);
  }

  .sidebar::before {
    content: "";
    display: block;
    flex: none;
    width: 44px;
    height: 5px;
    margin: 0 auto 2px;
    border-radius: 99px;
    background: #ddd;
  }

  .sidebar.is-open { transform: translateY(0); }

  .sheet-backdrop { display: block; }

  .cart-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .cart-card__close { display: grid; }
  .cart-empty { padding: 18px 8px 22px; }
  .cart-items { max-height: 40vh; }

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

  .mobile-bar { display: flex; }

  .shelf__arrow { display: none; }
  .product-card { flex-basis: 158px; }
  .add-btn { opacity: 1; transform: none; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }

  .store__name { font-size: 28px; }
  .store__logo { width: 82px; height: 82px; border-radius: 16px; }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal__panel {
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }

  .modal__panel--product { max-width: 100%; }

  .product-detail { grid-template-columns: 1fr; min-height: 0; }

  .product-detail__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 22px 22px 0 0;
  }

  .product-detail__media img { position: static; height: 100%; }
  .product-detail__body { padding: 22px 20px 24px; }
  .product-detail h2 { font-size: 23px; }
  .product-detail__desc { font-size: 13px; }

  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .topbar__inner { height: 58px; padding: 0 14px; gap: 8px; }
  .brand__name { font-size: 16px; }
  .icon-btn { width: 34px; height: 34px; }

  .store { align-items: flex-start; gap: 14px; padding-bottom: 22px; }
  .store__logo { width: 64px; height: 64px; border-radius: 13px; }
  .store__name { font-size: 23px; }
  .store__meta { gap: 8px; font-size: 12px; }
  .store__address { font-size: 12px; }

  .searchbar { margin-bottom: 28px; }
  .searchbar input { height: 50px; font-size: 15px; padding-left: 18px; }
  .searchbar__btn { top: 7px; right: 7px; width: 36px; height: 36px; }
  .searchbar__btn svg { width: 18px; height: 18px; }

  .category { margin-bottom: 32px; }
  .category__title { font-size: 18px; }
  .link-btn { font-size: 13px; }
  .product-card { flex-basis: 150px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card__name { font-size: 13px; min-height: 34px; }
  .price { font-size: 15px; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { font-size: 11px; }

  .cart-item { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .cart-item__img { width: 46px; height: 46px; }

  .modal__head { padding: 18px 16px 12px; }
  .modal__body { padding: 16px; }
  .contact-modal__meta div { grid-template-columns: 80px minmax(0, 1fr); }

  .product-detail__actions { position: sticky; bottom: 0; background: #fff; padding-bottom: 4px; }
  .product-detail__actions .btn { min-height: 46px; }
}

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

/* =========================================================
   Checkout / order detail — Rappi-inspired layout
   Payment methods are intentionally replaced by contact channels.
   ========================================================= */

.ck-body {
  --ck-green: #00b35f;
  --ck-green-strong: #009a50;
  --ck-green-soft: #e9fbf2;
  --ck-orange: #f2a900;
  --ck-border: #e4e4e7;
  --ck-muted: #6f6f76;
  --ck-soft: #f4f4f5;
  --ck-bg: #f6f6f7;
  --ck-ink: #1f1f22;
  background: var(--ck-bg);
  color: var(--ck-ink);
}

.ck-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 247, 0.96);
  border-bottom: 1px solid var(--ck-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ck-topbar__inner {
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.ck-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 6px;
  border-radius: 8px;
  color: var(--ck-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.ck-back:hover { background: rgba(16, 4, 35, 0.05); }
.ck-back svg { width: 22px; height: 22px; }

.ck-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.ck-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.ck-brand__name {
  color: var(--ck-ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.ck-topbar__spacer { justify-self: end; width: 38px; }

.ck-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.ck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.ck-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.ck-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ck-card {
  background: #fff;
  border: 1px solid var(--ck-border);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(16, 4, 35, 0.03);
}

.ck-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ck-card__title {
  margin: 0;
  color: var(--ck-ink);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.ck-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ck-green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ck-link:hover { color: var(--ck-green-strong); text-decoration: underline; }
.ck-link--muted { color: var(--ck-muted); font-weight: 700; }

.ck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ck-btn--green { background: var(--ck-green); color: #fff; }
.ck-btn--green:hover { background: var(--ck-green-strong); }
.ck-btn--ghost { background: #fff; border-color: var(--ck-border); color: var(--ck-ink); }
.ck-btn--ghost:hover { background: var(--ck-soft); }
.ck-btn--soft { background: var(--ck-green-soft); color: var(--ck-green-strong); }
.ck-btn--soft:hover { background: #ddf6e9; }
.ck-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; }

/* Delivery address */

.ck-address__value {
  margin: 0 0 16px;
  color: var(--ck-ink);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.ck-address__value.is-placeholder { color: #9a9aa2; font-weight: 600; }

.ck-address__editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 16px;
}

.ck-address__editor .ck-input { flex: 1 1 260px; padding-right: 14px; }
.ck-address__editor-actions { display: flex; gap: 8px; }

.ck-label {
  display: block;
  margin: 0 0 8px;
  color: #3f3f46;
  font-size: 14px;
  font-weight: 600;
}

.ck-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ck-soft);
  color: var(--ck-ink);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ck-input::placeholder { color: #9a9aa2; }

.ck-input:focus {
  background: #fff;
  border-color: var(--ck-green);
  box-shadow: 0 0 0 3px rgba(0, 179, 95, 0.13);
}

.ck-input-wrap { position: relative; }
.ck-input-wrap .ck-input { padding-right: 46px; }

.ck-input-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e7e7e9;
  color: #5f5f66;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ck-input-clear:hover { background: #dedee1; }
.ck-input-clear svg { width: 16px; height: 16px; }

/* Store / order items */

.ck-store { padding: 0; overflow: hidden; scroll-margin-top: 80px; }

.ck-store__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
}

.ck-store__logo {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ck-border);
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

.ck-store__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.ck-store__name {
  color: var(--ck-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.ck-store__count { color: var(--ck-muted); font-size: 13px; }

.ck-store__toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #55555c;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

.ck-store__toggle:hover { background: var(--ck-soft); }
.ck-store__toggle svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.ck-store__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.ck-store__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid #ededf0;
  color: #3f3f46;
  font-size: 15px;
}

.ck-store__meta strong { color: var(--ck-ink); font-weight: 900; }

.ck-items {
  padding: 2px 24px 6px;
  border-top: 1px solid #ededf0;
}

.ck-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f3;
}

.ck-item:last-child { border-bottom: 0; }

.ck-item__img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--ck-border);
  border-radius: 8px;
  object-fit: cover;
}

.ck-item__info { min-width: 0; }

.ck-item__name {
  margin: 0;
  color: var(--ck-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ck-item__unit { margin: 4px 0 0; color: var(--ck-muted); font-size: 12px; }

.ck-item__side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ck-item__total {
  min-width: 70px;
  text-align: right;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.ck-item__remove {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a8a91;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ck-item__remove:hover { background: #fff0f3; color: #d2374f; }
.ck-item__remove svg { width: 15px; height: 15px; }

/* Contact (replaces payment methods) */

.ck-contact {
  padding: 22px 24px;
  border: 2px solid var(--ck-orange);
}

.ck-contact__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.ck-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ck-green);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.ck-check svg { width: 15px; height: 15px; }

.ck-contact__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid #ededf0;
}

.ck-contact__row:nth-child(2) { padding-top: 12px; border-top: 0; }

.ck-contact__label {
  padding-top: 12px;
  color: #3f3f46;
  font-size: 14px;
  font-weight: 600;
}

.ck-options { display: flex; flex-direction: column; gap: 10px; }

.ck-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dedee2;
  border-radius: 8px;
  background: #fff;
  color: var(--ck-ink);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ck-option:hover { border-color: #c9c9cf; }

.ck-option.is-selected {
  border-color: var(--ck-green);
  background: #fbfffc;
  box-shadow: inset 0 0 0 1px var(--ck-green);
}

.ck-option__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef0f3;
  color: #5c5c64;
  display: grid;
  place-items: center;
  flex: none;
}

.ck-option__icon svg { width: 17px; height: 17px; }
.ck-option__icon--whatsapp { background: var(--ck-green-soft); color: var(--ck-green); }
.ck-option__icon.has-custom-icon { background: transparent; overflow: hidden; }
.ck-option__icon.has-custom-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}
.ck-option__label { flex: 1; }

.ck-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #b9b9c0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}

.ck-option.is-selected .ck-radio { border-color: var(--ck-green); }
.ck-option.is-selected .ck-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ck-green);
}

.ck-contact__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 11px;
  color: #4a4a52;
  font-size: 14px;
}

.ck-contact__details a {
  color: var(--ck-ink);
  font-weight: 700;
  text-decoration: none;
}

.ck-contact__details a:hover { color: var(--ck-green); }
.ck-dot { color: #b5b5bc; }

.ck-contact__note {
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid #ededf0;
  color: var(--ck-muted);
  font-size: 13px;
}

.ck-contact__customer {
  padding: 16px 0 2px;
  border-top: 1px solid #ededf0;
}

.ck-contact__customer-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.ck-contact__customer-head strong { color: #3f3f46; font-size: 14px; }
.ck-contact__customer-head span { color: var(--ck-muted); font-size: 13px; }

.ck-contact__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ck-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ck-field--wide { grid-column: 1 / -1; }
.ck-contact__fields .ck-input { height: 44px; }

.ck-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ck-contact__actions .ck-btn { flex: 1 1 160px; }

.ck-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}
.ck-qr img {
  width: min(280px, 100%);
  height: auto;
  border: 1px solid #ededf0;
  border-radius: 12px;
  background: #fff;
}
.ck-qr__caption {
  margin: 10px 0 0;
  color: #3f3f46;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.ck-qr__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.ck-qr__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d4d4da;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.ck-qr__dot.is-active {
  width: 22px;
  background: var(--ck-green);
}
.ck-qr__empty {
  margin: 0;
  padding: 18px;
  color: var(--ck-muted);
  font-size: 14px;
  text-align: center;
}

.ck-account-content {
  margin: 0;
  padding: 16px;
  max-height: 50vh;
  overflow: auto;
  border: 1px solid #ededf0;
  border-radius: 10px;
  background: #f7f7f9;
  color: var(--ck-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.ck-account__actions { display: flex; justify-content: flex-end; margin-top: 12px; }

/* Coupon */

.ck-coupon { padding: 18px 24px; }

.ck-coupon__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ck-coupon__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ck-ink);
  font-size: 18px;
  font-weight: 900;
}

.ck-coupon__icon {
  width: 28px;
  height: 28px;
  color: #ef9400;
  display: grid;
  place-items: center;
}

.ck-coupon__icon svg { width: 26px; height: 26px; }

.ck-coupon__form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ck-coupon__form .ck-input { flex: 1 1 220px; padding-right: 14px; }
.ck-coupon__message { flex-basis: 100%; margin: 0; color: #c2374d; font-size: 13px; }
.ck-coupon__hint { flex-basis: 100%; margin: 0; color: var(--ck-muted); font-size: 12px; }

.ck-coupon__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--ck-green-soft);
  color: var(--ck-green-strong);
  font-size: 14px;
  font-weight: 800;
}

/* Summary */

.ck-summary { padding: 22px 24px; }

.ck-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ck-summary__toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #55555c;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ck-summary__toggle:hover { background: var(--ck-soft); }
.ck-summary__toggle svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.ck-summary__toggle[aria-expanded="false"] svg { transform: rotate(180deg); }

.ck-summary__body { margin-top: 16px; }

.ck-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  color: #333338;
  font-size: 15px;
}

.ck-summary__row s { color: #9a9aa2; margin-right: 5px; }
.ck-free { color: var(--ck-green); font-weight: 800; }
.ck-summary__row--discount { color: var(--ck-green-strong); font-weight: 700; }

.ck-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #ededf0;
  color: var(--ck-ink);
  font-size: 17px;
  font-weight: 900;
}

.ck-summary__total strong { font-size: 22px; letter-spacing: -0.01em; }

.ck-summary__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ck-summary__links .ck-link { font-size: 12px; }

.ck-cta {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--ck-green);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.ck-cta:hover { background: var(--ck-green-strong); }
.ck-cta:active { transform: translateY(1px); }
.ck-cta:disabled { opacity: 0.5; cursor: not-allowed; }

.ck-cta-note {
  margin: 10px 0 0;
  color: var(--ck-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Empty state / footer / costs modal */

.ck-empty {
  max-width: 640px;
  margin: 40px auto;
  padding: 56px 24px;
  background: #fff;
  border: 1px solid var(--ck-border);
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ck-empty__icon {
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ck-soft);
  color: #a9a9b1;
  display: grid;
  place-items: center;
}

.ck-empty__icon svg { width: 34px; height: 34px; }
.ck-empty h1 { margin: 0; font-size: 23px; font-weight: 900; }
.ck-empty p { margin: 6px 0 18px; color: var(--ck-muted); font-size: 14px; }

.ck-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ck-muted);
  font-size: 12px;
}

.ck-costs { display: flex; flex-direction: column; gap: 16px; }

.ck-costs__row {
  padding-bottom: 14px;
  border-bottom: 1px solid #ededf0;
}

.ck-costs__row:last-child { padding-bottom: 0; border-bottom: 0; }
.ck-costs__row strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 900; }
.ck-costs__row p { margin: 0; color: var(--ck-muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 1024px) {
  .ck-grid { grid-template-columns: 1fr; }
  .ck-aside { position: static; }
  .ck-summary__links { justify-content: flex-start; gap: 18px; }
}

@media (max-width: 720px) {
  .ck-topbar__inner { height: 58px; padding: 0 14px; }
  .ck-brand__name { display: none; }

  .ck-main { padding: 18px 14px 30px; }
  .ck-grid { gap: 16px; }
  .ck-col { gap: 14px; }
  .ck-card { padding: 18px; }
  .ck-card__title { font-size: 19px; }

  .ck-contact { padding: 16px 18px; }
  .ck-contact__row { grid-template-columns: 1fr; gap: 8px; }
  .ck-contact__label { padding-top: 0; }
  .ck-options { gap: 8px; }
  .ck-contact__fields { grid-template-columns: 1fr; }
  .ck-contact__actions { flex-direction: column; }
  .ck-contact__actions .ck-btn { flex: 1 1 auto; }

  .ck-store { padding: 0; }
  .ck-store__head { padding: 16px 18px; }
  .ck-store__meta { padding: 14px 18px; }
  .ck-items { padding: 2px 18px 6px; }

  .ck-item {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
  }

  .ck-item__img { width: 48px; height: 48px; }
  .ck-item__side {
    grid-column: 2;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  .ck-item__total { min-width: 0; margin-left: auto; }
  .ck-item__remove { order: -1; margin-left: -6px; }

  .ck-summary { padding: 18px; }
  .ck-summary__links { gap: 14px; }
  .ck-cta { min-height: 52px; font-size: 16px; }
  .ck-footer { padding: 16px 14px 26px; }
}

@media (max-width: 420px) {
  .ck-contact__details { font-size: 13px; }
}
