/* The shop's own pages (sign-in, basket, checkout, account, questions, written pages) in a shop with the motion look
   (html.look-motion, web/layout.ts): the same structure and scripts as every shop, in the motion look's colours and
   fonts, so leaving the home page for the checkout does not feel like another website. Loaded after site.css and the
   brand's colours. */

:root:root.look-motion {   /* above the brand colours (:root:root): the look keeps its own palette */
  --bg: #f4efe7; --surface: #fbf8f3; --surface-2: #ebe4d7; --line: rgba(22, 25, 43, .14);
  --text: #16192b; --muted: #5b5e71;
  --ember: #2443a6; --on-ember: #ffffff; --gold: #9a6a14; --herb: #16716e; --danger: #a11d2e; --info: #2443a6;
  --night: #0b1022; --night-2: #121a33; --night-3: #161f3b;
  --cream: #f2ece1; --cream-muted: #9d9fb3; --flame: #93a9ff; --saffron: #f0b952;
  --font-display: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --font-serif: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 30px 60px -30px rgba(22, 25, 43, .3);
}
:root:root.look-motion[data-theme="dark"] {
  --bg: #0b1022; --surface: #161f3b; --surface-2: #1c2647; --line: rgba(242, 236, 225, .14);
  --text: #f2ece1; --muted: #9d9fb3;
  --ember: #93a9ff; --on-ember: #0b1022; --gold: #f0b952; --herb: #7fd4c4; --danger: #f27a88; --info: #93a9ff;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

/* Bodoni is a thin display face: titles at its regular weight, never stretched */
html.look-motion :is(h1, h2, h3, .logo-name, .ticker span, .price, .board-center b, .stats div b, .step .num, .review-photo .score b, .wordmark,
  .totals .grand dd, .day b, .thanks .order-no, .rating-head .big, .error-page .big) { font-stretch: normal; letter-spacing: -0.01em; }
html.look-motion :is(h1, h2) { font-weight: 400; line-height: 1.04; }
html.look-motion :is(h3, .day b, .faq summary) { font-weight: 600; }
html.look-motion :is(.price, .totals .grand dd, .thanks .order-no, .stats div b, .rating-head .big) { font-weight: 600; }
html.look-motion :is(.wordmark, .error-page .big) { font-weight: 400; font-style: italic; }
html.look-motion .menu-sheet nav a { font-family: var(--font-display); font-weight: 400; }
html.look-motion :is(.btn, .eyebrow, label, input, select, textarea) { font-family: var(--font-body); }
html.look-motion .btn-primary { box-shadow: none; }

/* the motion look's mark in the top bar: the star and the name in two lines (a logo picture, when the shop has one) */
.look-motion .logo .brand-star { width: 30px; height: 30px; flex: none; color: var(--ember); }
.look-motion .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.look-motion .logo .brand-words { display: flex; flex-direction: column; line-height: 1; }
.look-motion .logo .brand-royal { font: italic 600 21px/1 var(--font-display); letter-spacing: -.01em; }
.look-motion .logo .brand-carpets { font: 800 10px/1 var(--font-body); letter-spacing: .4em; text-transform: uppercase; margin-top: 4px; opacity: .9; }
.look-motion .footer .logo { color: var(--cream); }
.look-motion .footer .logo .brand-star { color: var(--flame); }

/* the food look's warm darks, in this look's night blue */
.look-motion .auth-art::before { background: linear-gradient(180deg, rgba(11, 16, 34, .3), rgba(11, 16, 34, .92) 80%); }
.look-motion .tile::after { background: linear-gradient(180deg, rgba(11, 16, 34, 0) 28%, rgba(11, 16, 34, .92)); }
.look-motion :is(.board-center, .review-photo .score) { background: rgba(11, 16, 34, .8); }
.look-motion .btn-dark { background: #0b1022; }
