/* HORECA catalogue: shared visual language with the company website.
   Applied last so the approved Bento interactions and data stay intact. */
body.theme-bento {
  --brand: #890707;
  --brand-dark: #680505;
  --ink: #242832;
  --muted: #656b78;
  --line: #e4e5e9;
  --field: #d5d7dd;
  --canvas: #fff;
  --soft: #f7eded;
  --surface: #f5f5f8;
  --font: 'Corporate Inter', Arial, sans-serif;
  --heading-font: 'Corporate Montserrat', Arial, sans-serif;
  background: var(--canvas);
  font-family: var(--font);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
.theme-bento :is(h1,h2,h3) { font-family: var(--heading-font); letter-spacing: -.035em; }
.theme-bento :is(button,input,textarea,select) { font-family: var(--font); }
.theme-bento .site-header {
  position: sticky; top: 0; z-index: 8;
  width: 100%; max-width: none; min-height: 88px; margin: 0;
  padding: 16px max(32px, calc((100% - 1280px) / 2));
  display: flex; gap: 28px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: #fff; box-shadow: none;
}
.theme-bento .brand img { width: 185px; height: auto; }
.theme-bento .header-brand-group { gap: 24px; }
.theme-bento .department-switch {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--surface); border: 0; border-radius: 999px;
}
.theme-bento .department-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; min-width: 78px; padding: 8px 18px;
  border-radius: 999px; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 500; letter-spacing: -.015em;
  transition: background-color .2s ease, color .2s ease;
}
.theme-bento .department-switch a::after { content: none; }
.theme-bento .department-switch a:hover { background: #e8e8ee; color: var(--ink); }
.theme-bento .department-switch a[aria-current] {
  background: var(--brand); color: #fff; border-radius: 999px;
  box-shadow: none;
}
.theme-bento .department-switch a[aria-current]:hover { background: var(--brand-dark); color: #fff; }
.theme-bento .department-switch a:focus-visible { outline-offset: 3px; }
.theme-bento .main-nav { gap: 24px; margin-left: auto; }
.theme-bento :is(.main-nav a,.header-account>a) { font-size: 13px; font-weight: 500; }
.theme-bento .main-nav a { position: relative; }
.theme-bento .main-nav a[aria-current] { color: var(--brand); }
.theme-bento .main-nav a[aria-current]::after { content: ''; height: 2px; background: var(--brand); position: absolute; inset: auto 0 0; }
.theme-bento .main-nav a:hover { color: var(--brand); }
.theme-bento .header-account { gap: 24px; }
.theme-bento .header-account .cart-link { padding: 0 18px; min-height: 46px; border-radius: 999px; background: var(--brand); font-weight: 600; }
.theme-bento .header-account .cart-link [data-count] { border: 0; padding: 0; }
.theme-bento .cart-link:hover { background: var(--brand-dark); }
.theme-bento main { width: 100%; max-width: 1344px; margin: 0 auto; padding: 48px 32px 72px; }
.theme-bento :is(main,section,input,select,button,a) { scroll-margin-top: 110px; }
.theme-bento .catalog-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.theme-bento .catalog-intro .eyebrow { font-size: 12px; font-weight: 500; margin-bottom: 10px; color: var(--muted); }
.theme-bento #catalog-title,.theme-bento .page-heading h1 { font-size: clamp(30px,3.2vw,44px); line-height: 1.16; font-weight: 600; letter-spacing: -.045em; }
.catalog-description { color: var(--muted); margin-top: 14px; font-size: 15px; }
.corporate-about-link { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; font-size: 13px; white-space: nowrap; color: var(--muted); }
.corporate-about-link span { color: var(--brand); font-size: 20px; }
.corporate-about-link:hover { color: var(--brand); }
.theme-bento .category-nav { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 28px; }
.theme-bento .category-nav button { display: grid; grid-template-columns: minmax(0,1fr) min(44%,100px); align-items: center; gap: 3px; height: 104px; padding: 8px; border: 1px solid transparent; border-radius: 20px; background: var(--surface); }
.theme-bento .category-nav .category-copy { position: static; display: grid; min-width: 0; gap: 5px; }
.theme-bento .category-copy strong { font-family: var(--heading-font); font-size: 13.5px; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; white-space: normal; }
.theme-bento .category-copy small { font-size: 10px; line-height: 1.35; font-weight: 400; color: var(--muted); }
.theme-bento .category-nav button[data-category] img { width: 100%; height: 88px; object-fit: cover; border-radius: 0; mix-blend-mode: darken; }
.theme-bento .category-nav button[data-category] img.category-cutout { padding: 7px; object-fit: contain; mix-blend-mode: normal; }
.theme-bento .category-nav [data-category="Микрозелень"] strong { font-size: 12px; }
.theme-bento .category-nav button:hover { border-color: #c7b1b1; background: #f0f0f4; }
.theme-bento .category-nav button[aria-pressed=true] { border-color: var(--brand); background: var(--surface); }
.theme-bento .category-nav button[aria-pressed=true] .category-copy { color: var(--ink); }
.theme-bento .category-nav button:focus-visible { outline: none; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.theme-bento .product-list-heading { align-items: center; }
.theme-bento .selected-category { font-family: var(--heading-font); font-size: 24px; letter-spacing: -.035em; margin: 10px 0 18px; }
.theme-bento .category-reset { font-size: 12px; }
.theme-bento .search-line { margin-bottom: 24px; }
.theme-bento .search-line .search-field { width: 100%; max-width: 520px; }
.theme-bento .search-field input { height: 48px; border-radius: 12px; border-color: var(--field); padding: 12px 16px; font-size: 14px; background: #fff; }
.theme-bento .products { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.theme-bento .product { padding: 14px; border: 1px solid transparent; border-radius: 20px; background: var(--surface); box-shadow: none; transition: border-color .2s; }
.theme-bento .product:hover { border-color: #d7d8df; }
.theme-bento .product-photo { height: 132px; background: transparent; border-radius: 12px; }
.theme-bento .product-photo img { padding: 6px; mix-blend-mode: multiply; }
.theme-bento .product-identity { min-height: 62px; padding: 12px 0 8px; }
.theme-bento .product h3 { font-family: var(--font); font-size: 14px; line-height: 1.45; letter-spacing: -.02em; font-weight: 500; overflow-wrap: normal; text-wrap: pretty; }
.theme-bento .purchase { padding: 0; }
.theme-bento .product-meta { min-height: 40px; gap: 8px; }
.theme-bento .product-price strong { font-family: var(--font); font-size: 22px; letter-spacing: -.04em; font-weight: 600; }
.theme-bento .product-price .price-unknown { font-size: 12px; letter-spacing: 0; max-width: 96px; }
.theme-bento .unit-caption { color: var(--muted); font-size: 12px; }
.theme-bento .unit-segments { background: #e9e9ee; }
.theme-bento .unit-segments button { color: var(--muted); min-height: 32px; font-size: 11px; }
.theme-bento .unit-segments button[aria-pressed=true] { background: #fff; color: var(--brand); box-shadow: none; }
.theme-bento .purchase-controls { gap: 8px; margin-top: 10px; }
.theme-bento .quantity-stepper { border-radius: 999px; }
.theme-bento .quantity-stepper>button { border-radius: 999px; }
.theme-bento .purchase-controls .quantity-stepper { min-width: 100px; height: 44px; background: #fff; border-color: var(--line); border-radius: 999px; }
.theme-bento .purchase-controls .quantity-stepper>button { border-radius: 999px; }
.theme-bento .purchase-controls .quantity-stepper>button { width: 30px; min-width: 30px; height: 42px; }
.theme-bento .purchase-controls .quantity-stepper .quantity { min-height: 42px; }
.theme-bento .purchase-controls .quantity-stepper input { font-size: 13px; min-height: 42px; }
.theme-bento .purchase-controls .quantity-stepper .quantity span { font-size: 10px; color: var(--muted); }
.theme-bento .purchase-controls .btn { flex: 0 0 44px; min-height: 44px; border-radius: 999px; }
.theme-bento .btn { border-radius: 12px; font-weight: 500; }
.theme-bento .btn.primary { background: var(--brand); border-color: var(--brand); }
.theme-bento .btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.theme-bento .catalog-more { margin-top: 32px; gap: 12px; }
.theme-bento .catalog-more .btn { min-height: 48px; background: var(--surface); border-color: transparent; }
.theme-bento .catalog-more .btn:hover { background: #e9e9ee; }
.theme-bento .catalog-more p { font-size: 12px; }
.theme-bento .panel { background: var(--surface); border-radius: 24px; border-color: transparent; box-shadow: none; }
.theme-bento .page-heading { margin-bottom: 32px; }
.theme-bento .page-heading .intro { font-size: 15px; max-width: 600px; }
.theme-bento .loyalty-card { background: var(--soft); }
.theme-bento .order-summary { top: 112px; }
.theme-bento .profile-nav { background: var(--surface); border-color: transparent; }
.theme-bento .profile-nav a[aria-current] { color: var(--brand); background: #fff; }
.theme-bento .cart-row img { background: #fff; }
.theme-bento :is(.balance,.grand-total,.row-total) { font-family: var(--font); }
.theme-bento .bento-about { margin-top: 80px; grid-template-columns: 1fr 1.15fr; background: var(--surface); border: 0; border-radius: 24px; }
.theme-bento .about-editorial-photo { min-height: 400px; }
.theme-bento .about-story { padding: 44px; }
.theme-bento .about-story h2 { font-size: clamp(26px,2.6vw,36px); line-height: 1.25; font-weight: 600; }
.theme-bento .about-story>p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
.theme-bento .about-numbers { gap: 44px; margin: 28px 0 18px; }
.theme-bento .about-numbers strong { font-family: var(--font); font-size: 34px; font-weight: 500; }
.theme-bento .about-numbers span { font-size: 12px; }
.theme-bento .about-delivery { padding: 28px 32px; background: var(--surface); border-color: var(--line); }
.theme-bento .about-delivery h3 { font-size: 15px; }
.theme-bento .delivery-rule strong { font-size: 22px; font-weight: 500; }
.theme-bento .delivery-rule span { font-size: 12px; }
.theme-bento .bento-footer { max-width: 1280px; margin: 0 auto 24px; padding: 48px 0 0; background: #fff; border-top: 1px solid var(--line); border-radius: 0; }
.theme-bento .footer-grid { gap: 48px; padding-bottom: 40px; }
.theme-bento .footer-brand img { width: 185px; }
.theme-bento .footer-grid h3 { font-family: var(--heading-font); font-size: 15px; }
.theme-bento .footer-grid a { font-size: 13px; }
.theme-bento .footer-grid :is(span,p) { font-size: 12px; color: var(--muted); }
.theme-bento .footer-bottom { padding: 20px 0; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .theme-bento * { scroll-behavior: auto; transition: none; } }
@media (max-width: 1343px) { .theme-bento .bento-footer { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 1140px) {
  .theme-bento .site-header { padding: 14px 24px; gap: 20px; }
  .theme-bento .brand img { width: 160px; }
  .theme-bento .header-brand-group,.theme-bento .main-nav,.theme-bento .header-account { gap: 16px; }
  .theme-bento .products { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .theme-bento .category-nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .theme-bento .site-header { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; }
  .theme-bento .header-brand-group { grid-column: 1/-1; grid-row: 1; }
  .theme-bento .main-nav { grid-column: 1; grid-row: 2; justify-content: flex-start; margin: 0; width: auto; order: 0; padding: 0; border: 0; }
  .theme-bento .header-account { grid-column: 2; grid-row: 2; }
  .theme-bento main { padding-top: 36px; }
  .theme-bento .category-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .theme-bento .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .theme-bento .product-photo { height: 120px; }
  .theme-bento .footer-grid { gap: 32px; }
  .theme-bento .bento-about { margin-top: 56px; }
  .theme-bento .about-story { padding: 32px; }
  .theme-bento .about-delivery { grid-template-columns: 1fr 1fr; gap: 20px; }
  .theme-bento .about-delivery>div:first-child { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  .theme-bento .site-header { padding: 12px 16px 8px; gap: 8px 12px; }
  .theme-bento .brand img { width: 154px; }
  .theme-bento .header-brand-group { justify-content: space-between; }
  .theme-bento .department-switch a { min-height: 40px; padding: 8px 14px; min-width: 66px; font-size: 12px; }
  .theme-bento .main-nav { gap: 12px; }
  .theme-bento .main-nav a { min-height: 44px; font-size: 11px; }
  .theme-bento .main-nav a[aria-current]::after { bottom: 4px; }
  .theme-bento .header-account { gap: 10px; }
  .theme-bento .header-account>a:not(.cart-link) { font-size: 0; width: 32px; min-height: 44px; max-width: none; }
  .theme-bento .header-account>a:not(.cart-link)::before { content: ''; width: 22px; height: 22px; background: var(--ink); mask: url('/assets/storefront/user.svg') center / contain no-repeat; }
  .theme-bento .header-account .cart-link { min-height: 40px; padding: 0 12px; font-size: 11px; }
  .theme-bento main { padding: 28px 16px 48px; }
  .theme-bento .catalog-intro { align-items: flex-start; margin-bottom: 24px; gap: 12px; }
  .theme-bento .catalog-intro .eyebrow { font-size: 10px; margin-bottom: 10px; }
  .theme-bento #catalog-title,.theme-bento .page-heading h1 { font-size: 29px; }
  .catalog-description { font-size: 13px; margin-top: 10px; max-width: 220px; }
  .corporate-about-link { display: none; }
  .theme-bento .category-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 24px; }
  .theme-bento .category-nav button { grid-template-columns: minmax(0,1fr) min(44%,88px); height: 90px; padding: 7px; border-radius: 16px; gap: 2px; }
  .theme-bento .category-copy strong { font-size: 13px; }
  .theme-bento .category-nav [data-category="Микрозелень"] strong { font-size: 11.5px; }
  .theme-bento .category-nav button[data-category] img { height: 74px; }
  .theme-bento .selected-category { font-size: 22px; margin-top: 4px; margin-bottom: 16px; }
  .theme-bento .search-line { margin-bottom: 18px; }
  .theme-bento .search-field input { font-size: 16px; }
  .theme-bento .products { grid-template-columns: 1fr; gap: 12px; }
  .theme-bento .product { padding: 16px; grid-template-columns: 84px minmax(0,1fr); gap: 0 16px; border-radius: 18px; }
  .theme-bento .product-photo { height: 90px; grid-column: 1; grid-row: 1/3; }
  .theme-bento .product-identity { min-height: 0; padding: 0 0 8px; grid-column: 2; grid-row: 1; }
  .theme-bento .product h3 { font-size: 15px; }
  .theme-bento .purchase { display: contents; }
  .theme-bento .purchase-info { grid-column: 2; grid-row: 2; }
  .theme-bento .product-price strong { font-size: 22px; }
  .theme-bento .purchase-controls { grid-column: 1/-1; grid-row: 3; justify-content: flex-end; gap: 12px; margin-top: 14px; }
  .theme-bento .purchase-controls .quantity-stepper { flex: 1; max-width: none; }
  .theme-bento .purchase-controls .quantity-stepper>button { min-width: 44px; width: 44px; }
  .theme-bento .purchase-controls .quantity-stepper input { width: 44px; font-size: 16px; }
  .theme-bento .unit-segments button { min-height: 36px; min-width: 36px; }
  .theme-bento .bento-about { grid-template-columns: 1fr; margin-top: 48px; border-radius: 20px; }
  .theme-bento .about-editorial-photo { min-height: 0; height: 290px; }
  .theme-bento .about-story { padding: 28px 24px; }
  .theme-bento .about-story h2 { font-size: 27px; }
  .theme-bento .about-delivery { padding: 24px; gap: 20px 16px; }
  .theme-bento .about-delivery .text-link { grid-column: 1/-1; }
  .theme-bento .delivery-rule span { font-size: 11px; }
  .theme-bento .bento-footer { margin: 0 16px 16px; padding-top: 32px; }
  .theme-bento .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .theme-bento .footer-brand { grid-column: 1/-1; }
  .theme-bento .footer-brand p br { display: none; }
  .theme-bento .footer-grid h3 { font-size: 13px; }
  .theme-bento .footer-grid a { font-size: 12px; }
  .theme-bento .footer-grid nav { grid-column: 1/-1; }
  .theme-bento .footer-bottom { flex-direction: column; gap: 4px; }
  .theme-bento .page-heading { margin-bottom: 24px; }
}
@media (max-width: 359px) {
  .theme-bento .site-header { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .theme-bento .brand img { width: 128px; }
  .theme-bento .department-switch a { font-size: 12px; }
  .theme-bento .main-nav { gap: 9px; }
  .theme-bento .main-nav a { font-size: 10px; }
  .theme-bento .header-account { gap: 6px; }
  .theme-bento .header-account .cart-link { padding: 0 9px; }
  .theme-bento .category-copy strong { font-size: 12px; }
  .theme-bento .category-nav [data-category="Микрозелень"] strong { font-size: 11px; }
  .theme-bento .category-nav button[data-category] img { height: 70px; }
  .theme-bento .category-nav button { grid-template-columns: minmax(0,1fr) 39%; gap: 2px; padding: 6px; }
  .theme-bento .product { grid-template-columns: 68px minmax(0,1fr); padding: 12px; gap: 0 10px; }
  .theme-bento .product-price strong { font-size: 20px; }
  .theme-bento .footer-grid { grid-template-columns: 1fr; }
}
