/* Circle Restaurant pages: green palette (Circle Restaurant = #059669). Loaded on /restaurant/ pages only,
   after theme.css; overrides the palette variables so all shared components turn green. */
body.circle-rest {
  --primary: #059669;
  --primary-light: #10B981;
  --primary-dark: #047857;
  --primary-glow: rgba(5, 150, 105, 0.15);
  --accent-pink: #34D399;
  --accent-purple: #10B981;
  --shadow-glow: 0 0 30px rgba(5, 150, 105, 0.15);
}
body.circle-rest .hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(5,150,105,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(52,211,153,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(16,185,129,0.06) 0%, transparent 50%),
    var(--bg);
}
body.circle-rest .hero-badge { background: rgba(5,150,105,0.10); border-color: rgba(5,150,105,0.25); color: #047857; }
body.circle-rest .nav-cta,
body.circle-rest .cta-section { background-image: linear-gradient(135deg, #059669, #10B981); }
body.circle-rest .nav-cta { background-color: #059669; }
body.circle-rest .nav-cta:hover { box-shadow: 0 6px 18px rgba(5,150,105,0.35); }
body.circle-rest .steps li::before { background: linear-gradient(135deg, #059669, #10B981); }
body.circle-rest .country-content a,
body.circle-rest .faq-answer a { color: #047857; }
body.circle-rest .footer-links a:hover,
body.circle-rest .nav-links a:hover { color: #059669; }
body.circle-rest .feature-card-icon { color: #059669; }
body.circle-rest .feature-list li::before { color: #059669; }
body.circle-rest .footer-apps a, body.circle-rest .nav-apps a { color: #047857; } /* contrast 5.5:1 on white (Lighthouse a11y 1 Dec 2026) */

body.circle-rest .section-label { background: rgba(5,150,105,0.10); color: #047857; border-color: rgba(5,150,105,0.25); }
body.circle-rest .rest-prose { padding: 2.25rem 0; }
body.circle-rest .rest-prose + .rest-prose { padding-top: 0; }

/* logo + app name */
.rest-logo { display: inline-flex; align-items: center; gap: .55rem; }
.rest-logo-name { font-weight: 700; font-size: 1rem; letter-spacing: .01em; color: #047857; padding-inline-start: .55rem; border-inline-start: 2px solid rgba(5,150,105,.35); line-height: 1.1; }

/* hero grid for the two-column landing hero (reuses country-hero) */
.rest-hero .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.rest-hero .hero-content { text-align: start; margin: 0; max-width: none; }
.rest-hero .hero-mockup { display: flex; justify-content: center; gap: 1rem; }
.rest-hero .store-badges-row { justify-content: flex-start; }
.rest-hero .hero-note { text-align: start; }

/* store badges: coming-soon state */
.rest-badges.is-soon .store-badge.is-disabled { opacity: .55; filter: grayscale(.35); cursor: default; pointer-events: none; }
.rest-soon { margin-top: .85rem; font-size: .95rem; color: var(--text-secondary); }
.rest-soon strong { color: #047857; display: block; margin-bottom: .15rem; }
.rest-soon a { color: #047857; text-decoration: underline; }
.cta-section .rest-soon, .cta-section .rest-soon strong, .cta-section .rest-soon a { color: #fff; }
.cta-section .store-badges { display: flex; flex-direction: column; align-items: center; }
.cta-section .store-badges-row { justify-content: center; }
html.os-android .rest-badges .badge-ios,
html.os-ios .rest-badges .badge-play { display: none; }

/* steps */
.rest-steps { grid-template-columns: repeat(4, 1fr); max-width: 1200px; }

/* trial block */
.rest-trial { max-width: 820px; margin: 0 auto; background: linear-gradient(135deg, rgba(5,150,105,.08), rgba(16,185,129,.05)); border: 1px solid rgba(5,150,105,.25); border-radius: var(--radius-2xl); padding: 2rem 2.25rem; }
.rest-trial h2 { font-size: 1.6rem; margin-bottom: .6rem; color: #047857; }
.rest-trial p { color: var(--text-secondary); line-height: 1.75; }

/* prices */
.rest-prices { max-width: 760px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.rest-prices-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); align-items: center; }
.rest-prices-row:last-child { border-bottom: 0; }
.rest-prices-head { background: #ECFDF5; font-weight: 700; }
.rest-prices-k { font-weight: 700; }
.rest-prices-row.is-highlight { background: rgba(5,150,105,.07); box-shadow: inset 4px 0 0 #059669; }
html[dir="rtl"] .rest-prices-row.is-highlight { box-shadow: inset -4px 0 0 #059669; }
.rest-price-cell { display: flex; flex-direction: column; gap: .1rem; }
.rest-price-old { color: var(--text-secondary); font-size: .9rem; }
.rest-price-now { color: #047857; font-size: 1.15rem; }
.rest-prices-note { max-width: 760px; margin: .85rem auto 0; font-size: .92rem; color: var(--text-secondary); text-align: center; }
@media (max-width: 640px) { .rest-prices-row { grid-template-columns: 1fr; gap: .35rem; padding: .9rem 1rem; } .rest-prices-head { display: none; } .rest-price-cell { flex-direction: row; align-items: baseline; gap: .6rem; } .rest-price-cell::before { content: attr(data-l) ':'; min-width: 4.5rem; color: var(--text-secondary); font-size: .9rem; } }

/* comparison table */
.rest-compare { max-width: 900px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.rest-compare-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--border); align-items: start; font-size: .98rem; }
.rest-compare-row:last-child { border-bottom: 0; }
.rest-compare-head { background: #ECFDF5; font-weight: 700; }
.rest-compare-head span:nth-child(3) { color: #4F46E5; }
.rest-compare-head span:nth-child(2) { color: #047857; }
.rest-compare-k { font-weight: 600; color: var(--text-primary); }

/* related links */
.rest-related-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; justify-content: center; }
.rest-related-list a { display: inline-block; padding: .55rem 1rem; border: 1px solid rgba(5,150,105,.3); border-radius: 999px; color: #047857; text-decoration: none; font-weight: 600; background: #fff; }
.rest-related-list a:hover { background: #ECFDF5; }

/* strip of screens */
.rest-hero + .section .screens-strip, .screens-strip { flex-wrap: wrap; justify-content: center; }

/* footer apps line (also on Business pages) */
.footer-apps { text-align: center; margin: 1.25rem 0 .25rem; color: var(--text-secondary); font-size: .95rem; }
.footer-apps a { font-weight: 600; text-decoration: none; }
.footer-apps a:hover { text-decoration: underline; }
.footer-apps-label { margin-inline-end: .35rem; }

@media (max-width: 1024px) {
  .rest-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rest-hero .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rest-hero .hero-content, .rest-hero .hero-note { text-align: center; }
  .rest-hero .store-badges-row { justify-content: center; }
  .rest-hero .store-badges { display: flex; flex-direction: column; align-items: center; }
  .rest-steps { grid-template-columns: 1fr; max-width: 560px; }
  .rest-compare-row { grid-template-columns: 1fr; gap: .25rem; }
  .rest-compare-head { display: none; }
  .rest-compare-row span[role="cell"]:nth-of-type(1)::before { content: "Circle Restaurant: "; font-weight: 600; color: #047857; }
  .rest-compare-row span[role="cell"]:nth-of-type(2)::before { content: "Circle Business: "; font-weight: 600; color: #4F46E5; }
  .rest-trial { padding: 1.5rem 1.25rem; }
}

/* price placeholder (filled by restaurant.js with the visitor's own country price) */
.rest-price-fallback { margin: 0; padding: 1.25rem; text-align: center; font-weight: 600; }
.rest-price-offer { margin: 0; padding: .9rem 1.25rem; text-align: center; background: #ECFDF5; font-weight: 600; }
.rest-prices > .rest-price-live { grid-template-columns: 1fr 1fr; }
.rest-price-label { font-weight: 700; color: var(--text-secondary); font-size: .9rem; }
@media (max-width: 640px) { .rest-prices > .rest-price-live { grid-template-columns: 1fr 1fr; gap: .5rem; padding: .9rem .75rem; } .rest-price-live .rest-price-cell { flex-direction: column; align-items: flex-start; } .rest-price-live .rest-price-cell::before { content: none; } }
.rest-prices > .rest-prices-note { max-width: none; margin: 0; padding: .85rem 1.25rem; border-top: 1px solid var(--border); }
