:root {
  color-scheme: light;
  --blue: #233be8;
  --ink: #101b42;
  --muted: #4e5b79;
  --yellow: #ffdf49;
  --line: #e0e6f6;
  --navigation-blue: #11264f;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #f7f8ff;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #ec731b; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.top { position: sticky; z-index: 3; top: 0; background: #fffffff5; box-shadow: 0 1px 0 #14245a15; backdrop-filter: blur(16px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; font-weight: 850; letter-spacing: -.045em; font-size: 1.4rem; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; margin-right: 9px; border-radius: 50%; background: var(--blue); color: var(--yellow); font-size: 1.55rem; }
.brand-period { color: var(--blue); }
.store-logo img { display: block; width: clamp(160px, 18vw, 225px); height: auto; }
.mobile-tabs { display: none; }
nav { display: flex; gap: clamp(14px, 4vw, 42px); font-weight: 650; }
nav a:hover, .footer > a:last-child:hover { color: var(--blue); }
.cart-button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 0; border-radius: 100px; background: var(--blue); color: white; font-weight: 750; transition: background-color .16s ease, color .16s ease; }
.bag-icon { position: relative; display: inline-block; width: 15px; height: 13px; margin-top: 4px; border: 1.5px solid currentColor; border-radius: 2px 2px 4px 4px; }
.bag-icon::before { content: ""; position: absolute; width: 5px; height: 5px; bottom: 100%; left: 50%; translate: -50%; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.cart-button:hover, .button:hover { background: #102faf; }
.count { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 4px; border-radius: 50px; color: var(--ink); background: var(--yellow); font-size: .875rem; }
.storefront {
  --mint: #dcf7ed;
  --blue: #204ac7;
  --night: #11264f;
  --hero-header: 76px;
  --mobile-nav-height: calc(68px + env(safe-area-inset-bottom, 0px));
  background: #f7f9fd;
}
.storefront .top, .admin-top {
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--navigation-blue);
  color: #fff;
  box-shadow: 0 1px 0 #153fae;
}
.storefront .bar { min-height: var(--hero-header); }
.storefront .store-logo img { width: clamp(156px, 16vw, 212px); }
.desktop-links { gap: clamp(14px, 2.8vw, 39px); color: #fff; font-size: .93rem; }
.desktop-links a { display: flex; align-items: center; min-height: 44px; transition: color .18s ease; }
.storefront .desktop-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.language-picker { min-height: 44px; max-width: 100%; padding: 0 8px; border: 1px solid #d3dff5; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; }
.storefront .cart-button { min-height: 44px; padding-inline: 14px; border: 1px solid #e6bd26; background: var(--yellow); color: var(--ink); }
.storefront .cart-button:hover { background: #ffef92; }
.storefront .cart-button .count { background: var(--ink); color: #fff; }
.storefront .count { background: #204ac7; color: white; }
.skip-link { position: fixed; z-index: 6; top: 10px; left: 10px; padding: 12px; border-radius: 10px; background: var(--mint); color: var(--night); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--night); background: #fcfdff; border-bottom: 1px solid #dce5f2; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 57%;
  background: #e8f0fd;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  min-height: calc(100svh - var(--hero-header) - env(safe-area-inset-top, 0px));
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(38px, 5vw, 76px);
}
.hero-copy { min-width: 0; animation: arrive .5s ease-out both; }
.hero-grid:has(.hero-visual[hidden]) { grid-template-columns: minmax(0, 1fr); min-height: auto; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .875rem; line-height: 1.35; font-weight: 800; letter-spacing: .11em; }
.eyebrow > [aria-hidden="true"] { width: 9px; height: 9px; border-radius: 2px; background: var(--yellow); rotate: 15deg; }
.hero .eyebrow { width: fit-content; padding: 7px 11px; border-radius: 7px; background: #fbefda; color: #694824; letter-spacing: .045em; }
.hero h1 {
  margin-block: 19px 22px;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.45rem, 4.55vw, 4.9rem);
  font-weight: 780;
  letter-spacing: -.064em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #234e98; font-style: normal; }
.intro { max-width: 38ch; margin-bottom: 24px; color: #415474; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; }
.hero-actions .hero-button { min-height: 50px; padding-inline: 23px; border-radius: 11px; background: var(--night); color: #fff; }
.hero-actions .hero-button:hover { background: #234e98; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: 13px; border-radius: 11px; color: #234e98; font-weight: 700; transition: background-color .18s ease; }
.hero-link:hover { background: #e8f0fd; }
.yellow { background: var(--yellow); color: var(--ink); }
.yellow:hover { background: #ffef92; }
.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  animation: arrive .58s .09s ease-out both;
}
.hero-photo { overflow: hidden; border-radius: 22px; border: 1px solid #d7e2f1; background: #fff; box-shadow: 0 12px 26px #253c6d0f; }
.hero-media { overflow: hidden; aspect-ratio: 1.52; background: #e5edf8; touch-action: pan-y pinch-zoom; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-visual[data-flavor="mete-bakar"] .hero-media img { object-position: center 55%; }
.hero-product { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px 14px; padding: clamp(12px, 1.6vw, 20px); border-top: 1px solid #e8edf5; color: var(--night); }
.hero-product strong, .hero-product span { display: block; }
.hero-product > div { min-width: 0; overflow-wrap: anywhere; }
.hero-product strong { font-size: clamp(1.05rem, 1.85vw, 1.55rem); letter-spacing: -.022em; line-height: 1.15; }
.hero-product span { margin-top: 4px; color: #495d7b; font-size: .875rem; font-variant-numeric: tabular-nums; }
.hero-add { flex: none; min-height: 44px; padding: 7px 14px; border: 1px solid #cfddf5; border-radius: 10px; background: #edf3ff; color: #20448d; font-size: .875rem; font-weight: 800; transition: transform .16s ease, background-color .2s ease; }
.hero-add:hover { transform: translateY(-1px); background: #e0ebfc; }
.hero-add:active { transform: scale(.96); }
.flavor-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 7px; margin-top: 12px; }
.flavor-picker button { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 53px; padding: 6px; border: 1px solid transparent; border-radius: 10px; background: #f5f8fe; color: #30476c; text-align: left; font-size: .875rem; font-weight: 700; line-height: 1.17; transition: background-color .18s ease, border-color .18s ease; }
.flavor-picker button img { flex: none; width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }
.flavor-picker button span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.flavor-picker button:hover { background: #e8f0fd; }
.flavor-picker button[aria-pressed="true"] { border-color: #abc2e9; background: #fff; color: var(--night); }
@keyframes arrive {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}
.revealed { animation: reveal-section .48s cubic-bezier(.2,.7,.2,1) both; }
@keyframes reveal-section {
  from { opacity: .62; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.catalog { padding-block: clamp(48px, 7vw, 96px); }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; margin-bottom: 20px; padding-bottom: 24px; border-bottom: 1px solid #d6e0f4; }
.section-label { color: #1c3fb4; }
.storefront .section-label > [aria-hidden="true"] { width: 17px; height: 3px; border-radius: 3px; background: #254fff; rotate: none; }
.catalog-description { max-width: 46ch; margin-top: 12px; color: #475981; line-height: 1.55; }
.catalog-count { margin-bottom: 14px; color: #475981; font-size: .875rem; font-weight: 650; }
h2 { font-size: clamp(2rem, 4.4vw, 3.45rem); line-height: 1.04; font-weight: 850; letter-spacing: -.06em; }
.catalog h2 { margin-top: 9px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 15px; border: 1px solid #d4ddf1; background: #e6edfc; }
.filters button { min-height: 44px; padding: 7px clamp(10px, 1.5vw, 18px); border-radius: 10px; border: 1px solid transparent; background: transparent; color: #28395d; font-size: .875rem; font-weight: 750; transition: background-color .18s ease, color .18s ease; }
.filters button:hover { background: #f5f8ff; }
.filters button[aria-pressed="true"] { background: #12265d; color: white; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 30px); }
.product { display: flex; min-width: 0; flex-direction: column; border: 1px solid #d7e1f4; border-radius: 22px; background: white; box-shadow: 0 10px 25px #1028620a; transition: translate .22s ease, border-color .22s ease, box-shadow .22s ease; animation: arrive .25s var(--card-delay, 0ms) ease-out both; }
.product:focus-within { border-color: #8aa4f2; }
.product-media { position: relative; overflow: hidden; margin: 8px 8px 0; border-radius: 15px; }
.product img { display: block; width: 100%; aspect-ratio: 1.43; object-fit: cover; background: #e4ebff; transition: transform .35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product:hover { translate: 0 -4px; border-color: #9db2ee; box-shadow: 0 16px 34px #122b6e1a; }
  .product:hover img { transform: scale(1.045); }
}
.product-selected { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: .875rem; font-weight: 750; }
.photo-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 1.43; border-radius: 15px; background: #e4ebff; color: var(--muted); font-size: .875rem; }
.product-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 17px clamp(13px, 2vw, 23px) 18px; }
.product h3 { font-size: clamp(1.21rem, 1.6vw, 1.47rem); letter-spacing: -.035em; line-height: 1.14; overflow-wrap: anywhere; }
.product p { flex: 1; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.product-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; padding-top: 13px; border-top: 1px solid #e6edf7; }
.product-actions .button:active { scale: .97; }
.product-price .price { font-size: 1.16rem; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.price { font-weight: 800; color: var(--blue); }
.product .button { min-height: 44px; padding: 7px 14px; font-size: .875rem; border: 1px solid #c8d7f6; border-radius: 11px; background: #eef4ff; color: #1b3eaf; }
.product .button:hover { border-color: #2448cc; background: #2448cc; color: white; }
.storefront .product-selected { background: var(--mint); }
.ordering { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 6vw, 72px); overflow: hidden; padding: clamp(23px, 5vw, 62px); border: 1px solid #d3e0f5; border-radius: 24px; background: #eaf2ff; color: var(--night); }
.ordering-head { position: relative; }
.ordering-head p { max-width: 28ch; margin-top: 12px; color: #415474; line-height: 1.55; }
.ordering-art { display: block; width: clamp(112px, 42%, 180px); height: auto; margin: 12px 0 -16px -8px; pointer-events: none; filter: drop-shadow(0 9px 12px #18315b30); }
.ordering ol { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2px; list-style-position: inside; }
.ordering li { padding: 14px 2px 15px; border-bottom: 1px solid #ccdaef; }
.ordering li:first-child { border-top: 1px solid #ccdaef; }
.ordering li::marker { color: var(--blue); font-weight: 800; }
.ordering li strong { font-size: 1.05rem; }
.ordering li span { display: block; color: #415474; margin-top: 5px; line-height: 1.55; }
.location { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1fr); align-items: stretch; gap: 12px; margin-top: clamp(27px, 5.5vw, 72px); padding: 10px; border: 1px solid #d6e0f4; border-radius: 27px; background: #fff; box-shadow: 0 12px 36px #1028620b; }
.location-copy { display: flex; min-width: 0; flex-direction: column; align-items: start; justify-content: center; padding: clamp(18px, 4vw, 46px); }
.location-copy p { max-width: 34ch; margin-block: 14px 21px; color: var(--muted); line-height: 1.55; }
.location-copy .button { border-radius: 11px; background: #e6edfc; color: #1a3aab; }
.location-copy .button:hover { background: #2448cc; color: white; }
.location-pin { position: relative; width: 24px; height: 24px; margin-bottom: 20px; rotate: -45deg; border: 2px solid #254fff; border-radius: 50% 50% 50% 3px; background: #edf3ff; }
.location-pin::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #254fff; }
.location iframe { display: block; width: 100%; min-width: 0; height: 100%; min-height: 345px; border: 0; border-radius: 18px; background: #eaf0ff; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 17px; font-weight: 650; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-credit { color: #415474; font-size: .875rem; }
.footer-credit a { font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.store-footer { margin-top: clamp(42px, 6.5vw, 84px); border-top: 1px solid #d3e0f5; color: var(--night); background: #eef4ff; }
.contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-block: 32px; border-bottom: 1px solid #d3e0f5; }
.contact h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.contact-intro { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; }
.contact-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #dce9ff; font: 1.65rem / 1 "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.contact p { grid-column: 2; color: #415474; line-height: 1.55; }
.contact .button { flex-direction: column; gap: 2px; border-radius: 11px; background: var(--blue); color: #fff; }
.contact .button span + span { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact .button:hover { background: #163ba8; }
.footer a:hover, .footer-credit a { color: var(--blue); }
dialog { position: fixed; inset: 0 0 0 auto; max-width: 100%; max-height: 100%; width: min(475px, 100%); height: 100%; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink); }
dialog[open] { animation: drawer-in .23s ease-out; }
@keyframes drawer-in { from { transform: translateX(25px); opacity: .72; } }
@keyframes sheet-in { from { transform: translateY(25px); opacity: .72; } }
dialog::backdrop { background: #071337a1; backdrop-filter: blur(4px); }
.drawer { display: flex; flex-direction: column; height: 100%; }
.drawer-head, .drawer-foot { flex-shrink: 0; padding: clamp(16px, 4vw, 24px); }
.drawer-head, .subtotal { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head { border-bottom: 1px solid #dce6fa; background: #f1f5ff; }
.drawer-head h2 { font-size: 2rem; }
.drawer-head p:not(:empty) { margin-top: 5px; color: var(--muted); }
.close, .qty button { min-width: 44px; height: 44px; color: #1a3aab; background: #e9f0ff; border: 0; border-radius: 10px; font-size: 1.3rem; font-weight: 750; }
.close:hover, .qty button:not(:disabled):hover { background: #d8e5fc; }
.drawer-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-inline: clamp(16px, 4vw, 24px); }
.empty { text-align: center; padding-block: 46px; }
.empty .bag-icon { color: #254fff; scale: 1.8; margin-bottom: 20px; }
.empty p { margin-bottom: 16px; }
.cart-row { display: grid; grid-template-columns: 63px minmax(0, 1fr); gap: 13px; padding-block: 16px; border-bottom: 1px solid #e1e9f9; }
.cart-row img { width: 63px; height: 73px; object-fit: cover; border-radius: 11px; }
.cart-row .photo-placeholder { width: 63px; height: 73px; border-radius: 11px; }
.cart-row h3 { font-size: 1rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.row-controls, .qty { display: flex; align-items: center; gap: 8px; }
.row-controls { justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.qty span { min-width: 2ch; text-align: center; font-weight: 700; }
.qty button:disabled { opacity: .55; cursor: default; }
.remove { color: #1a3aab; text-decoration: underline; text-underline-offset: 2px; min-height: 44px; padding: 7px 2px; border: 0; background: transparent; }
.drawer-foot { border-top: 1px solid #dce6fa; padding-bottom: max(18px, env(safe-area-inset-bottom)); background: #f1f5ff; }
.subtotal strong { font-size: 1.34rem; font-variant-numeric: tabular-nums; }
.checkout-note { margin-block: 8px 13px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.checkout { width: 100%; text-align: center; border-radius: 12px; }
.storefront .checkout:not(:disabled) { background: var(--mint); color: var(--ink); border: 1px solid #69cba9; }
.storefront .checkout:not(:disabled):hover { background: #d2ffed; }
.checkout:disabled { background: #e1e8f6; color: #4e5b79; cursor: default; }
.checkout-form { display: grid; gap: 12px; }
.customer-form { padding-block: 18px; }
.customer-note { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.checkout-form label, .admin-status label { display: grid; gap: 5px; font-weight: 700; }
.checkout-form input, .checkout-form select, .admin-status select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 11px; border: 1px solid #aebbdc; border-radius: 10px; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.checkout-form input::placeholder { color: var(--muted); }
.storefront .checkout-form input { background: #fafcff; }
.admin-shell { background: #f7f9fd; }
.admin-top { backdrop-filter: none; }
.admin-top .bar { gap: 12px; }
.admin-top .store-logo img { width: clamp(145px, 16vw, 212px); }
.admin-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.admin-public-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #fff; font-size: .875rem; font-weight: 700; }
.admin-public-link:hover { text-decoration: underline; }
.admin-menu { gap: 5px; }
.admin-menu a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 14px; border-radius: 10px; color: #fff; font-size: .9rem; font-weight: 750; transition: background-color .18s ease, color .18s ease; }
.admin-menu a:hover { background: #243d6b; color: #fff; }
.admin-menu a[aria-current="page"] { background: #edf4ff; color: var(--navigation-blue); }
.admin-main { padding-block: 36px 64px; }
.admin-heading, .admin-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin-heading { margin-bottom: 20px; }
.admin-section-heading { margin-bottom: 17px; }
.admin-section-heading h2 { margin-bottom: 0; }
.admin-heading .button { min-height: 44px; border: 1px solid #cbd7ed; border-radius: 10px; background: #fff; color: #28458b; }
.admin-heading .button:hover { background: #eef4ff; }
.admin-main .admin-primary { min-height: 44px; border-radius: 10px; background: #2148af; color: #fff; }
.admin-main .admin-primary:hover { background: #183783; }
.admin-main .admin-secondary { min-height: 44px; border: 1px solid #d2dcf0; border-radius: 10px; background: #fff; color: #294b89; }
.admin-main .admin-secondary:hover { background: #edf4ff; }
.admin-main h1 { margin-top: 0; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; }
.admin-main h2 { margin-bottom: 17px; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.admin-card { background: white; border: 1px solid var(--line); padding: clamp(16px, 3vw, 25px); border-radius: 20px; }
.admin-card > .checkout-form + .checkout-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.admin-dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-dashboard-stats a.admin-card { display: grid; align-content: space-between; gap: 8px; color: var(--ink); text-decoration: none; }
.admin-dashboard-stats a:hover { border-color: var(--blue); }
.admin-dashboard-stats span { color: var(--muted); font-size: .875rem; }
.admin-dashboard-stats strong { font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1; }
.admin-dashboard-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.admin-dashboard-recent ul { margin: 14px 0 0; padding: 0; list-style: none; }
.admin-dashboard-recent li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-dashboard-recent li div { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.admin-dashboard-recent li div:last-child { text-align: right; }
.admin-dashboard-recent li span { color: var(--muted); font-size: .875rem; }
.admin-dashboard-recent > p { margin-top: 12px; }
.admin-login { max-width: 420px; }
.admin-message { padding: 12px; margin-bottom: 16px; border-radius: 12px; background: #e6edff; }
.admin-help { color: var(--muted); margin-bottom: 15px; }
.admin-order { padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-order summary { padding: 5px 0; cursor: pointer; }
.admin-order p { margin: 6px 0; }
.admin-status { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.admin-page { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-page a, .admin-contact { color: var(--blue); text-decoration: underline; }
.admin-product { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 12px; padding-block: 13px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-product-photo { display: block; width: 56px; height: 56px; border-radius: 9px; object-fit: cover; }
.admin-product-state { display: inline-block; margin-top: 4px; padding: 2px 7px; border-radius: 6px; background: #eef1f8; color: var(--muted); font-size: .82rem; }
.admin-product-state[data-active="1"] { background: #e2f7ee; color: #165948; }
.admin-product-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-product-actions a, .admin-product-actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 11px; border: 1px solid #cad7f0; border-radius: 9px; background: #f5f8ff; color: #23448e; font-size: .875rem; font-weight: 700; transition: background-color .18s ease; }
.admin-product-actions a:hover, .admin-product-actions button:hover { background: #e7efff; }
.admin-product-actions .admin-visibility[data-active="0"] { border-color: #b9dfd1; background: #e9f8f2; color: #1b6251; }
.admin-product-actions .admin-visibility[data-active="0"]:hover { background: #d6f1e6; }
.admin-product-actions .admin-visibility[data-active="1"] { background: #fff; color: #415575; }
.admin-product-actions .admin-visibility[data-active="1"]:hover { background: #eff3fa; }
.admin-form-actions { display: grid; gap: 12px; }
@media (min-width: 761px) {
  .admin-main { padding-top: 27px; }
  .admin-main h1 { font-size: clamp(2.3rem, 4vw, 3.2rem); }
  .admin-main h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
  .admin-product-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .admin-form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; }
  .admin-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .admin-product { align-content: start; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
  .admin-empty-orders { padding: 12px 15px; border-radius: 9px; background: #f5f8ff; color: var(--muted); }
}
@media (min-width: 1040px) {
  .admin-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.notice { position: fixed; bottom: 18px; right: 18px; max-width: calc(100% - 36px); border-radius: 12px; background: var(--ink); color: white; font-weight: 650; z-index: 2; pointer-events: none; }
.notice:not(:empty) { padding: 12px 16px; }
@media (max-width: 980px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html:has(.storefront) { scroll-padding-top: calc(77px + env(safe-area-inset-top, 0px)); scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 64px; }
  .storefront { --hero-header: 64px; }
  .bar .brand { font-size: 1.2rem; }
  .bar nav:not(.admin-menu) { display: none; }
  .admin-main-signed-in { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .admin-menu { position: fixed; z-index: 4; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 6px max(7px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom, 0px)) max(7px, env(safe-area-inset-left)); border-top: 1px solid #294575; background: var(--navigation-blue); box-shadow: 0 -4px 18px #23447724; }
  .admin-menu a { flex-direction: column; gap: 4px; min-height: 56px; padding: 5px 4px; font-size: clamp(.68rem, 3vw, .82rem); }
  .admin-menu .admin-icon { width: 21px; height: 21px; }
  .cart-button { padding-inline: 11px; min-height: 44px; gap: 6px; }
  .cart-button .bag-icon { display: none; }
  .storefront .top .cart-button { display: none; }
  .contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 24px; }
  .contact-intro { grid-template-columns: auto minmax(0, 1fr); }
  .contact p { grid-column: 1 / -1; }
  .contact .button { width: 100%; }
  .storefront .store-footer { padding-bottom: var(--mobile-nav-height); }
  .mobile-tabs { position: fixed; z-index: 4; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; min-height: var(--mobile-nav-height); padding: 5px max(7px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom, 0px)) max(7px, env(safe-area-inset-left)); border-top: 1px solid #153fae; background: var(--navigation-blue); box-shadow: 0 -4px 18px #23447724; }
  .mobile-tabs a, .mobile-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 56px; padding: 3px 1px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: clamp(.69rem, 3vw, .85rem); font-weight: 700; }
  .mobile-tabs [aria-current="location"] { background: #fff; color: #153da9; }
  .mobile-tabs button { background: var(--yellow); color: var(--ink); }
  .mobile-tabs button:hover { background: #ffef92; }
  .mobile-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-count { position: absolute; top: 3px; left: calc(50% + 5px); min-width: 16px; padding-inline: 3px; border-radius: 20px; background: #153da9; color: white; font-size: .68rem; line-height: 16px; text-align: center; }
  .storefront .notice { bottom: calc(var(--mobile-nav-height) + 12px); }
  .hero-grid {
    min-height: calc(100svh - var(--hero-header) - var(--mobile-nav-height) - env(safe-area-inset-top, 0px));
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: clamp(18px, 4vw, 28px);
    padding-block: clamp(23px, 5vw, 36px);
  }
  .hero::before { display: none; }
  .hero h1 { font-size: clamp(2rem, 9vw, 4.1rem); margin-block: 12px 12px; text-wrap: initial; }
  .intro { margin-bottom: 15px; }
  .hero-actions .hero-button, .hero-link { min-height: 46px; padding-inline: 13px; }
  .hero-visual { align-self: stretch; }
  .hero-visual::before { content: ""; position: absolute; inset: 29% -16px calc(-1 * clamp(23px, 5vw, 36px)); z-index: -1; background: #e8f0fd; }
  .hero-photo { border-radius: 17px; }
  .hero-media { aspect-ratio: 1.72; }
  .catalog-head { align-items: start; flex-direction: column; }
  .catalog { padding-block: 42px; }
  .ordering { grid-template-columns: 1fr; }
  .ordering-head { padding-right: 76px; }
  .ordering-art { position: absolute; width: 89px; right: -10px; bottom: -7px; margin: 0; }
  .admin-grid { grid-template-columns: 1fr; }
  .location { grid-template-columns: minmax(0, 1fr); }
  .location iframe { height: 300px; min-height: 0; }
  dialog { inset: auto 0 0; width: 100%; height: min(85dvh, 680px); border-radius: 24px 24px 0 0; }
  dialog[open] { animation-name: sheet-in; }
}
@media (max-width: 420px) {
  .products { grid-template-columns: 1fr; }
  .product img, .product .photo-placeholder { aspect-ratio: 1.55; }
  .flavor-picker { gap: 5px; }
  .flavor-picker button { gap: 5px; min-height: 49px; padding: 5px; font-size: .78rem; }
  .flavor-picker button img { width: 29px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
