.snx-demos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(15px, 2vw, 27px);
}

.snx-demo-card { min-width: 0; }

.snx-demo-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 400px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(42, 45, 39, .07);
  border-radius: 25px;
  isolation: isolate;
}

.snx-booking-visual {
  background:
    radial-gradient(ellipse at 11% 16%, rgba(255,255,255,.85), transparent 38%),
    linear-gradient(145deg, #dce9d8, #c6ddcd 58%, #b8d1c7);
}

.snx-payment-visual {
  background:
    radial-gradient(ellipse at 86% 16%, rgba(255,255,255,.72), transparent 39%),
    linear-gradient(143deg, #e9e3f4, #d9d0ec 57%, #cbc9e2);
}

.snx-restaurant-visual { background: #d49f77; }

.snx-demo-halo { position: absolute; z-index: -1; display: block; border-radius: 50%; pointer-events: none; }
.snx-booking-halo-one { top: -91px; right: -64px; width: 235px; height: 235px; border: 1px solid rgba(72, 111, 88, .16); box-shadow: 0 0 0 17px rgba(255,255,255,.09), 0 0 0 35px rgba(255,255,255,.08); }
.snx-booking-halo-two { bottom: -115px; left: -72px; width: 240px; height: 240px; background: rgba(247, 247, 227, .3); }
.snx-payment-halo-one { top: -130px; left: -65px; width: 270px; height: 270px; border: 1px solid rgba(105, 87, 145, .17); box-shadow: 0 0 0 19px rgba(255,255,255,.09), 0 0 0 39px rgba(255,255,255,.08); }
.snx-payment-halo-two { right: -58px; bottom: -115px; width: 245px; height: 245px; background: rgba(255,255,255,.25); }

.snx-glass-widget {
  position: relative;
  z-index: 1;
  width: calc(100% - 36px);
  max-width: 390px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 19px;
  background: rgba(255, 255, 252, .86);
  box-shadow: 0 16px 42px rgba(35, 45, 36, .13), 0 2px 5px rgba(39, 40, 36, .035);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.snx-calendar-widget { padding: 17px 17px 13px; }
.snx-widget-head { display: flex; min-width: 0; align-items: center; gap: 9px; }
.snx-business-mark { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; font-family: var(--d-serif, "Instrument Serif", Georgia, serif); font-size: 21px; font-style: italic; }
.snx-business-mark-green { background: #dfe9da; color: #536b54; }
.snx-widget-brand { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 1px; }
.snx-widget-brand strong { overflow: hidden; color: #2e372f; font-size: 11px; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.snx-widget-brand span { color: #798178; font-size: 9px; }
.snx-widget-overline { padding: 5px 7px; border: 1px solid rgba(74, 107, 80, .13); border-radius: 30px; color: #647b65; font-size: 6px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.snx-calendar-month { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; color: #39433a; font-size: 10px; font-weight: 800; }
.snx-calendar-month span:last-child { color: #858c81; font-size: 6px; letter-spacing: .15em; }
.snx-day-picker { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-top: 9px; }
.snx-day-button { display: flex; min-width: 0; min-height: 51px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; border: 1px solid rgba(62, 80, 64, .13); border-radius: 10px; background: rgba(255,255,255,.69); color: #687468; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.snx-day-button:hover { transform: translateY(-2px); border-color: rgba(66, 105, 75, .36); }
.snx-day-button > span { font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.snx-day-button > b { color: #3f4b40; font-size: 14px; font-weight: 700; line-height: 1.2; }
.snx-day-button.is-selected { border-color: #496b51; background: #42674d; color: #fff; box-shadow: 0 5px 12px rgba(50, 86, 58, .15); }
.snx-day-button.is-selected > span,
.snx-day-button.is-selected > b { color: #fff; }
.snx-calendar-times { margin-top: 13px; }
.snx-calendar-times-title,
.snx-payment-label { color: #7d857a; font-size: 6px; font-weight: 800; letter-spacing: .14em; }
.snx-time-picker { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-top: 7px; }
.snx-time-button { min-height: 32px; padding: 4px 6px; border: 1px solid rgba(62,80,64,.16); border-radius: 8px; background: rgba(255,255,255,.7); color: #536255; cursor: pointer; font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 8px; font-weight: 700; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.snx-time-button:hover { border-color: #729077; }
.snx-time-button.is-selected { border-color: #56795d; background: #e5eee0; color: #3e6448; }
.snx-demo-status { min-height: 24px; margin: 10px 0 0; color: #747d72; font-size: 7px; line-height: 1.55; }
.snx-booking-status { color: #566b58; }

.snx-checkout-widget { padding: 16px 16px 12px; }
.snx-checkout-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.snx-checkout-head > div { display: flex; flex-direction: column; gap: 2px; }
.snx-checkout-overline { color: #7e7a8b; font-size: 6px; font-weight: 800; letter-spacing: .15em; }
.snx-checkout-head > div > strong { color: #302d3c; font-size: 11px; letter-spacing: -.03em; }
.snx-checkout-lock { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: #ece8f4; color: #77679a; font-size: 13px; }
.snx-order-item { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 9px; margin-top: 13px; padding: 9px; border: 1px solid rgba(80,70,112,.09); border-radius: 12px; background: rgba(255,255,255,.56); }
.snx-order-thumb { overflow: hidden; width: 42px; height: 43px; border-radius: 7px; background: #ddd8cd; }
.snx-order-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.snx-order-description { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.snx-order-description strong { overflow: hidden; color: #393744; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.snx-order-description span { color: #85818e; font-size: 7px; }
.snx-order-price { color: #484453; font-size: 8px; white-space: nowrap; }
.snx-order-total { display: flex; justify-content: space-between; margin: 12px 1px 11px; color: #767281; font-size: 8px; }
.snx-order-total strong { color: #383542; font-size: 10px; }
.snx-payment-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; margin-top: 7px; }
.snx-payment-option { display: flex; min-width: 0; min-height: 34px; align-items: center; justify-content: center; gap: 5px; padding: 4px 3px; border: 1px solid rgba(74,66,100,.15); border-radius: 8px; background: rgba(255,255,255,.66); color: #595565; cursor: pointer; font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 8px; font-weight: 700; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.snx-payment-option:hover { border-color: rgba(90,73,139,.5); }
.snx-payment-option.is-selected { border-color: #7966a4; background: #efebf7; color: #4c3c72; }
.snx-payment-mark { display: grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; border-radius: 5px; font-size: 9px; font-weight: 800; }
.snx-vipps-mark { background: #5c50a4; color: #fff; }
.snx-klarna-mark { background: #f1c9cf; color: #34272d; }
.snx-card-mark { background: #e7e4ed; color: #595276; font-size: 9px; }
.snx-checkout-button { display: flex; width: 100%; min-height: 34px; align-items: center; justify-content: space-between; margin-top: 9px; padding: 0 12px; border: 0; border-radius: 8px; background: #4d426a; color: #fff; cursor: pointer; font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 8px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.snx-checkout-button:hover { transform: translateY(-1px); background: #38304f; }
.snx-checkout-button span { font-size: 13px; font-weight: 400; }
.snx-payment-status { margin-top: 7px; color: #696477; font-size: 6.5px; }

.snx-restaurant-visual { padding: 13px; }
.snx-restaurant-backdrop { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.snx-restaurant-photo-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg, rgba(64,39,25,.19), rgba(96,49,27,.34)), linear-gradient(0deg, rgba(36,25,19,.2), transparent 62%); }
.snx-food-widget { width: 100%; max-width: 390px; padding: 16px 16px 12px; background: rgba(255, 250, 243, .88); }
.snx-food-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #8b674d; font-size: 6px; font-weight: 800; letter-spacing: .16em; }
.snx-food-open { display: inline-flex; align-items: center; gap: 5px; color: #7b765e; font-size: 6px; letter-spacing: .08em; white-space: nowrap; }
.snx-food-open i { width: 5px; height: 5px; border-radius: 50%; background: #9eaa72; }
.snx-food-item { display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.snx-food-flower { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; background: #f1dfca; color: #a2704e; font-size: 18px; }
.snx-food-details { min-width: 0; }
.snx-food-details h4 { margin: 0; color: #3c342f; font-family: var(--d-serif, "Instrument Serif", Georgia, serif); font-size: 19px; font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.snx-food-details p { overflow: hidden; margin: 4px 0 0; color: #877b70; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.snx-food-price-row,
.snx-food-total { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.snx-food-price-row { margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(111,83,63,.16); color: #847b71; font-size: 8px; }
.snx-food-price-row strong { color: #4b3c32; font-size: 9px; }
.snx-food-quantity-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: #777064; font-size: 8px; }
.snx-quantity-control { display: inline-flex; min-height: 30px; align-items: center; gap: 12px; padding: 2px 4px; border: 1px solid rgba(117,88,65,.17); border-radius: 8px; background: rgba(255,255,255,.68); }
.snx-quantity-control button { display: grid; width: 23px; height: 23px; place-items: center; padding: 0; border: 0; border-radius: 6px; background: #f1e8dc; color: #76563f; cursor: pointer; font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 15px; line-height: 1; transition: background .18s ease; }
.snx-quantity-control button:hover:not(:disabled) { background: #e8d4bd; }
.snx-quantity-control button:disabled { cursor: not-allowed; opacity: .45; }
.snx-quantity-control output { min-width: 9px; color: #423a32; font-size: 9px; font-weight: 800; text-align: center; }
.snx-food-total { margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(111,83,63,.16); color: #625448; font-size: 8px; }
.snx-food-total strong { color: #392c23; font-size: 13px; }
.snx-food-add { display: flex; width: 100%; min-height: 34px; align-items: center; justify-content: space-between; margin-top: 10px; padding: 0 12px; border: 0; border-radius: 8px; background: #754d35; color: #fff; cursor: pointer; font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 8px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.snx-food-add:hover { transform: translateY(-1px); background: #5d3c2b; }
.snx-food-add span { font-size: 13px; font-weight: 400; }
.snx-food-status { margin-top: 6px; color: #775b48; font-size: 6.5px; }

.snx-visual-caption { position: absolute; right: 16px; bottom: 13px; left: 16px; display: flex; align-items: center; gap: 6px; color: rgba(42,52,43,.66); font-size: 6px; font-weight: 800; letter-spacing: .15em; text-shadow: 0 1px rgba(255,255,255,.4); }
.snx-visual-caption i { width: 5px; height: 5px; border-radius: 50%; background: #607d63; }
.snx-payment-visual .snx-visual-caption { color: rgba(53,48,73,.75); }
.snx-payment-visual .snx-visual-caption i { background: #8475a4; }
.snx-restaurant-visual .snx-visual-caption { color: rgba(255,255,255,.91); text-shadow: 0 1px 5px rgba(34,22,15,.65); }
.snx-restaurant-visual .snx-visual-caption i { background: #f4d2aa; }

.snx-demo-copy { padding: 20px 6px 0; }
.snx-demo-index { color: #858a7d; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.snx-demo-copy h3 { margin: 7px 0 5px; color: var(--d-ink, #262923); font-family: var(--d-serif, "Instrument Serif", Georgia, serif); font-size: clamp(23px, 2.1vw, 30px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.snx-demo-copy p { max-width: 340px; margin: 0; color: var(--d-muted, #72766c); font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 10px; line-height: 1.75; }
.snx-payment-card .snx-demo-copy h3 { color: #524566; }
.snx-restaurant-card .snx-demo-copy h3 { color: #73543e; }
.snx-demos-footnote { margin: 27px 0 0; color: #85887e; font-family: var(--d-sans, "Manrope", Arial, sans-serif); font-size: 8px; line-height: 1.6; text-align: center; }

.snx-demos-grid button:focus-visible { outline: 2px solid #596b4c; outline-offset: 3px; }
.snx-payment-card button:focus-visible { outline-color: #69528d; }
.snx-restaurant-card button:focus-visible { outline-color: #895e3f; }

@media (max-width: 980px) {
  .snx-demos-grid { grid-template-columns: 1fr; gap: 22px; }
  .snx-demo-card { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: 22px; }
  .snx-demo-visual { min-height: 400px; }
  .snx-demo-copy { padding: 15px 6px; }
  .snx-demo-copy h3 { font-size: 30px; }
  .snx-demo-copy p { font-size: 11px; }
  .snx-demos-footnote { text-align: left; }
}

@media (max-width: 640px) {
  .snx-demos-grid { gap: 29px; }
  .snx-demo-card { display: block; }
  .snx-demo-visual { min-height: 0; aspect-ratio: 1 / 1.02; border-radius: 22px; }
  .snx-booking-visual { min-height: 410px; aspect-ratio: auto; }
  .snx-glass-widget { width: calc(100% - 28px); }
  .snx-calendar-widget { padding: 15px 14px 11px; }
  .snx-checkout-widget { padding: 14px 14px 10px; }
  .snx-food-widget { padding: 14px 14px 10px; }
  .snx-demo-copy { padding: 14px 3px 0; }
  .snx-demo-index { font-size: 7px; }
  .snx-demo-copy h3 { margin-top: 6px; font-size: 28px; }
  .snx-demo-copy p { max-width: 400px; font-size: 10px; }
  .snx-demos-footnote { margin-top: 24px; font-size: 8px; }
}

@media (max-width: 390px) {
  .snx-demo-visual { aspect-ratio: 1 / 1.08; }
  .snx-booking-visual { aspect-ratio: auto; }
  .snx-glass-widget { width: calc(100% - 24px); }
  .snx-calendar-widget,
  .snx-checkout-widget,
  .snx-food-widget { padding-right: 12px; padding-left: 12px; }
  .snx-day-picker,
  .snx-time-picker { gap: 5px; }
  .snx-day-button { min-height: 48px; }
  .snx-payment-option { gap: 3px; font-size: 7px; }
  .snx-payment-mark { width: 14px; height: 14px; flex-basis: 14px; }
  .snx-order-item { grid-template-columns: 38px minmax(0,1fr) auto; gap: 7px; padding: 7px; }
  .snx-order-thumb { width: 38px; height: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  .snx-demos-grid *,
  .snx-demos-grid *::before,
  .snx-demos-grid *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
