/* Complementary fruit-bar palettes: brand, secondary action, highlight and neutral surfaces. */
.demo-02 {
  --theme-accent: #1947b9;
  --theme-hover: #10358f;
  --theme-ink: #20314b;
  --theme-muted: #5c6170;
  --theme-paper: #fffaf5;
  --theme-hero: #fff0e6;
  --theme-soft: #eef1fb;
  --theme-orbit: #ffd16b;
  --theme-line: #e4d8ca;
  --theme-on-accent: #e1eaff;
  --theme-secondary: #b53c26;
  --theme-secondary-hover: #8f2c1b;
  --theme-highlight: #fff1a8;
  --theme-highlight-ink: #644500;
}
.demo-02[data-color-theme="mint"] {
  --theme-accent: #12694e;
  --theme-hover: #0c4f3a;
  --theme-ink: #233b31;
  --theme-muted: #5b665c;
  --theme-paper: #fcfcf4;
  --theme-hero: #eee8f7;
  --theme-soft: #e7f3e9;
  --theme-orbit: #d8ec93;
  --theme-line: #d7ddcc;
  --theme-on-accent: #d9f3e1;
  --theme-secondary: #7546a8;
  --theme-secondary-hover: #593181;
  --theme-highlight: #e4efb4;
  --theme-highlight-ink: #3c540a;
}
.demo-02[data-color-theme="berry"] {
  --theme-accent: #a12b56;
  --theme-hover: #7e1e42;
  --theme-ink: #3c2934;
  --theme-muted: #75636c;
  --theme-paper: #fffbf8;
  --theme-hero: #e7f3ef;
  --theme-soft: #fae8ee;
  --theme-orbit: #f4bfd2;
  --theme-line: #e1d7d0;
  --theme-on-accent: #ffe0eb;
  --theme-secondary: #08786d;
  --theme-secondary-hover: #075b53;
  --theme-highlight: #ffe5a0;
  --theme-highlight-ink: #694703;
}
.demo-02[data-color-theme="violet"] {
  --theme-accent: #6940ac;
  --theme-hover: #502d89;
  --theme-ink: #342c49;
  --theme-muted: #6b6277;
  --theme-paper: #fcfaf7;
  --theme-hero: #eee8f8;
  --theme-soft: #eee8f8;
  --theme-orbit: #ffd395;
  --theme-line: #e0d7ce;
  --theme-on-accent: #ece0ff;
  --theme-secondary: #1c6d69;
  --theme-secondary-hover: #15514e;
  --theme-highlight: #f6dd9b;
  --theme-highlight-ink: #624600;
}
.demo-02[data-color-theme="citrus"] {
  --theme-accent: #aa490c;
  --theme-hover: #833706;
  --theme-ink: #333847;
  --theme-muted: #646675;
  --theme-paper: #fffdf5;
  --theme-hero: #fff3d1;
  --theme-soft: #fff0df;
  --theme-orbit: #b8dae4;
  --theme-line: #e5dcc3;
  --theme-on-accent: #ffe8cd;
  --theme-secondary: #153c5b;
  --theme-secondary-hover: #0d2c45;
  --theme-highlight: #fbd38c;
  --theme-highlight-ink: #5d3d09;
}
/* Shared layout; colors express different roles in each palette. */
.demo-02 { --ink: var(--theme-ink); --paper: var(--theme-paper); --blue: var(--theme-accent); --orange: #ff9d38; background: var(--theme-paper); }
.demo-02 .ticker { background: var(--theme-accent); color: #fff; padding-block: 9px; }
.demo-02 .ticker div { animation: none; width: 100%; }
.demo-02 .ticker b { color: var(--theme-on-accent); }
.demo-02 .site-header { height: 80px; background: #fff; border-color: var(--theme-line); padding-inline: max(24px, calc((100vw - 1200px)/2)); }
.demo-02 .brand span { color: var(--theme-accent); font-size: 30px; }
.demo-02 .brand strong { background: var(--theme-soft); color: var(--theme-accent); border: 0; transform: none; font-size: 13px; }
.demo-02 .call-link { font-size: 13px; }
.demo-02 .call-link i { background: var(--theme-accent); box-shadow: none; }
.demo-02 .blue-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 620px; padding: 35px max(28px, calc((100vw - 1200px)/2)) 84px; background: var(--theme-hero); color: var(--theme-ink); overflow: hidden; }
.demo-02 .hero:before { display: none; }
.demo-02 .hero-copy { margin: 0; max-width: 520px; padding: 0; }
.demo-02 .overline { font-size: 14px; letter-spacing: 0; color: var(--theme-muted); margin-bottom: 24px; }
.demo-02 .hero h1 { font-size: clamp(52px, 6.7vw, 90px); line-height: 1.2; letter-spacing: -.055em; color: var(--theme-accent); }
.demo-02 .intro { font-size: 16px; line-height: 2; color: var(--theme-muted); max-width: 390px; margin-top: 22px; }
.demo-02 .primary-action { border-radius: 12px; background: var(--theme-secondary); border: 0; box-shadow: none; padding: 15px 18px; font-size: 15px; max-width: 220px; }
.demo-02 .primary-action:hover { background: var(--theme-secondary-hover); transform: translateY(-3px); }
.demo-02 .primary-action b { background: transparent; color: #fff; }
.blue-hero-note { color: var(--theme-muted); font-size: 12px; margin: 17px 0 0; }
.blue-product { position: relative; margin: 0; display: grid; place-items: center; min-width: 0; }
.blue-orbit { position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: var(--theme-orbit); }
.blue-product img { position: relative; width: 100%; height: 440px; object-fit: contain; filter: drop-shadow(0 24px 15px #28477916); }
.blue-product figcaption { z-index: 1; display: flex; gap: 22px; align-items: center; background: white; padding: 16px 22px; border-radius: 12px; color: var(--theme-accent); margin-top: -25px; }
.blue-product figcaption > span { font-size: 14px; }
.blue-product figcaption strong { font-size: 24px; }
.blue-product figcaption small { font-size: 10px; font-weight: 500; }
.blue-hero-bottom { position: absolute; bottom: 0; inset-inline: 0; border-top: 1px solid var(--theme-line); display: flex; justify-content: space-between; padding: 20px max(28px, calc((100vw - 1200px)/2)); font-size: 13px; }
.blue-hero-bottom a { text-decoration: none; font-weight: 700; }
.demo-02 .menu { background: var(--theme-paper); padding-top: 64px; }
.demo-02 .juice-waterfall, .demo-02 .section-heading > span, .demo-02 .menu-group > header span { display: none; }
.demo-02 .menu-heading { max-width: 1200px; padding-inline: 24px; }
.demo-02 .section-heading h2 { color: var(--theme-ink); font-size: 36px; line-height: 1.5; }
.demo-02 .menu-heading p { color: var(--theme-muted); font-size: 13px; }
.demo-02 .menu-controls { background: var(--theme-paper); box-shadow: none; padding-inline: max(24px, calc((100vw - 1152px)/2)); padding-block: 8px 18px; }
.demo-02 .search { background: #fff; border: 1px solid var(--theme-line); border-radius: 10px; height: 52px; }
.demo-02 .search input { font-size: 14px; }
.demo-02 .search button { background: var(--theme-hero); }
.demo-02 .category { background: var(--theme-soft); color: var(--theme-muted); font-size: 13px; padding: 11px 18px; box-shadow: none; }
.demo-02 .category.active { background: var(--theme-accent); color: white; }
.demo-02 .category span { color: inherit; }
.demo-02 .result-count { font-size: 12px; color: var(--theme-muted); }
.demo-02 .menu-groups { max-width: 1200px; padding: 0 24px 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.demo-02 .menu-group { margin: 0; padding: 0; }
.demo-02 .menu-group > header { border-bottom: 2px solid var(--theme-accent); padding-bottom: 14px; margin-bottom: 0; }
.demo-02 .menu-group > header h2 { font-size: 23px; color: var(--theme-accent); }
.demo-02 .menu-group > header small { font-size: 11px; color: var(--theme-muted); }
.demo-02 .items { display: block; }
.demo-02 .menu-item, .demo-02 .menu-item:nth-child(3n+1) { background: transparent; border: 0; border-bottom: 1px solid var(--theme-line); border-radius: 0; box-shadow: none; min-height: 102px; padding: 20px 0 18px 100px; transform: none; transition: background .2s; }
.demo-02 .menu-item:nth-child(even) { border-radius: 0; transform: none; }
.demo-02 .menu-item:hover, .demo-02 .menu-item:focus-visible { transform: none; box-shadow: none; background: var(--theme-soft); }
.demo-02 .menu-item:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 3px; }
.demo-02 .menu-item:after { display: none; }
.demo-02 .item-top { justify-content: flex-start; align-items: center; gap: 10px; }
.demo-02 .item-top h3 { font-size: 16px; color: var(--theme-ink); }
.demo-02 .item-top mark { font-size: 9px; background: var(--theme-highlight); color: var(--theme-highlight-ink); padding: 3px 8px; }
.demo-02 .menu-item > p { font-size: 12px; color: var(--theme-muted); margin: 7px 0 0; line-height: 1.8; }
.demo-02 .price { inset-inline-start: auto; inset-inline-end: 0; top: 22px; bottom: auto; gap: 6px; }
.demo-02 .price strong { font: 800 23px 'Vazirmatn', sans-serif; color: var(--theme-secondary); }
.demo-02 .price span { font-size: 9px; color: var(--theme-muted); line-height: 1.5; }
.demo-02 .motion-reveal, .demo-02 .menu-item.motion-card { opacity: 1; translate: none; transition: none; }
.demo-02 .visit { background: var(--theme-secondary); padding: 70px max(24px, calc((100vw - 1152px)/2)); }
.demo-02 .visit-copy > p { color: #fff; font-size: 14px; }
.demo-02 .visit h2 { font-size: clamp(36px, 4vw, 56px); }
.demo-02 .visit h2 em { color: #fff; font-style: normal; }
.demo-02 .visit-copy > span { font-size: 14px; }
.demo-02 .qr-ticket { border-radius: 16px; transform: none; box-shadow: none; background: #fff; color: var(--theme-ink); }
.demo-02 footer { background: #fff; border-color: var(--theme-line); color: var(--theme-ink); font-size: 12px; padding-inline: max(24px, calc((100vw - 1152px)/2)); }
.demo-02 .back-to-top { background: var(--theme-accent); }
.demo-02 .back-to-top svg { stroke: #fff; }
.demo-02 :focus-visible { outline-color: var(--theme-accent); }
@media (max-width: 719px) {
  .demo-02 .site-header { height: 70px; padding-inline: 18px; }
  .demo-02 .call-link { font-size: 10px; }
  .demo-02 .blue-hero { grid-template-columns: 1fr; gap: 15px; padding: 35px 24px 75px; min-height: 0; }
  .demo-02 .hero h1 { font-size: clamp(46px, 12vw, 74px); }
  .demo-02 .overline { margin-bottom: 15px; font-size: 12px; }
  .demo-02 .intro { font-size: 14px; margin-top: 14px; }
  .demo-02 .primary-action { margin-top: 18px; padding: 12px 16px; font-size: 13px; }
  .blue-product { width: 100%; max-width: 390px; margin: 0 auto; }
  .blue-product img { height: 285px; }
  .blue-product figcaption { padding: 11px 17px; }
  .blue-hero-bottom { padding: 18px; font-size: 10px; gap: 12px; }
  .demo-02 .section-heading h2 { font-size: 28px; }
  .demo-02 .menu-groups { grid-template-columns: 1fr; gap: 35px; padding-inline: 24px; }
  .demo-02 .visit { display: grid; gap: 32px; padding-block: 45px; }
  .demo-02 .qr-ticket { width: 210px; margin: 0; }
  .demo-02 footer { font-size: 9px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .demo-02 *, .hamburger i { transition: none; } }

.demo-02 .theme-toolbar { background: #fff; border-bottom: 1px solid var(--theme-line); padding: 14px max(18px, calc((100vw - 1200px)/2)); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.theme-toolbar-label { font-size: 13px; font-weight: 700; color: var(--theme-ink); }
.theme-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-choice { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--theme-line); border-radius: 9px; background: #fff; color: var(--theme-ink); cursor: pointer; font-size: 12px; }
.theme-choice i { background: var(--swatch); width: 20px; height: 20px; border-radius: 50%; flex: none; }
.theme-choice[aria-pressed="true"] { border-color: var(--theme-accent); background: var(--theme-soft); box-shadow: inset 0 0 0 1px var(--theme-accent); font-weight: 800; }
.theme-choice:hover { background: var(--theme-soft); }
.demo-02 .design-switcher nav { color: var(--theme-ink); border-color: var(--theme-line); }
.demo-02 .design-switcher nav p { color: var(--theme-muted); }
.demo-02 .design-switcher nav a:hover, .demo-02 .design-switcher nav a[aria-current] { color: var(--theme-accent); background: var(--theme-soft); }
.demo-02 .search input::placeholder { color: var(--theme-muted); opacity: 1; }
.theme-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 719px) {
  .demo-02 .theme-toolbar { gap: 10px; }
  .theme-toolbar-label { width: 100%; font-size: 12px; }
  .theme-choices { width: 100%; gap: 6px; }
  .theme-choice { flex: 1; padding-inline: 8px; font-size: 11px; gap: 5px; }
}

/* Motion follows the product and the visitor's actions. */
.demo-02, .demo-02 .hero, .demo-02 .menu, .demo-02 .menu-controls, .demo-02 .visit, .demo-02 .blue-orbit, .demo-02 .hero h1, .demo-02 .primary-action, .demo-02 .price strong, .demo-02 .category, .demo-02 .theme-choice { transition: background-color .45s ease, color .35s ease, border-color .35s ease, transform .3s ease; }
.blue-product { transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0) rotate(var(--scene-roll, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-float { width: 100%; position: relative; z-index: 2; animation: cup-hover 7s ease-in-out infinite; }
.blue-product .juice-cup { display: block; }
.blue-product .floating-orange { position: absolute; left: 0; bottom: 13%; width: 28%; height: auto; z-index: 3; transform: rotate(-18deg); animation: fruit-hover 8s ease-in-out infinite; filter: drop-shadow(0 12px 12px #28351c20); pointer-events: none; }
.blue-orbit { border-radius: 46% 54% 53% 47%; transform: rotate(-12deg); }
.blue-orbit:after { content: ''; position: absolute; inset: -16px 14px 12px -18px; border: 1px solid var(--theme-secondary); opacity: .3; border-radius: 50%; transform: rotate(15deg); }
.blue-product figcaption { position: relative; z-index: 4; border: 1px solid var(--theme-line); box-shadow: 0 12px 28px #2530470e; }
.demo-02 .primary-action b { transition: transform .3s ease; }
.demo-02 .primary-action:hover b { transform: translateY(4px); }
.demo-02 .category:not(.active):hover { background: var(--theme-highlight); color: var(--theme-highlight-ink); transform: translateY(-2px); }
.demo-02 .theme-choice:hover { transform: translateY(-2px); }
.demo-02 .theme-choice:active, .demo-02 .category:active { transform: scale(.96); }
.demo-02 .menu-group > header { border-image: linear-gradient(90deg, var(--theme-secondary), var(--theme-accent)) 1; }
.demo-02 .menu-item { transition: background-color .3s ease, box-shadow .3s ease; }
.demo-02 .menu-item .item-top h3, .demo-02 .menu-item > p, .demo-02 .menu-item .price { transition: translate .3s ease; }
.demo-02 .menu-item:hover { background: color-mix(in srgb, var(--theme-highlight) 25%, var(--theme-paper)); box-shadow: inset -3px 0 var(--theme-secondary); }
.demo-02 .menu-item:hover .item-top h3, .demo-02 .menu-item:hover > p { translate: -8px 0; }
.demo-02 .menu-item:hover .price { translate: 5px 0; }
.demo-02 .qr-ticket { transition: transform .35s ease; }
.demo-02 .qr-ticket:hover { transform: rotate(-2deg) translateY(-5px); }
.scene-paused .product-float, .scene-paused .floating-orange { animation-play-state: paused; }
@keyframes cup-hover { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes fruit-hover { 0%, 100% { transform: translate(0, 0) rotate(-18deg); } 50% { transform: translate(8px, -18px) rotate(-8deg); } }
@media (max-width: 719px) {
  .blue-orbit:after { inset: -8px 10px 8px -10px; }
  .blue-product .floating-orange { width: 25%; left: 2%; bottom: 17%; }
}
@media (hover: none) { .demo-02 .menu-item:hover .item-top h3, .demo-02 .menu-item:hover > p, .demo-02 .menu-item:hover .price { translate: none; } }
@media (prefers-reduced-motion: reduce) {
  .demo-02 *, .demo-02 *:before, .demo-02 *:after { animation: none !important; transition: none !important; }
  .blue-product { transform: none; }
  .product-float { transform: none; }
  .blue-product .floating-orange { transform: rotate(-18deg); }
  .demo-02 .menu-item:hover .item-top h3, .demo-02 .menu-item:hover > p, .demo-02 .menu-item:hover .price { translate: none; }
}
