/* FoodMix: крупные фотографии и спокойная типографика по референсу Suborbia. */
:root{--bg:#fff;--paper:#fff;--ink:#343438;--muted:#737377;--line:#e6e6e7;--orange:#ef7f1b;--green:#707176;--pale:#f5f5f5;--radius:12px;--max:1600px;--accent-gradient:#ef7f1b;--soft-accent:#fff4eb;--page-gutter:clamp(16px,2.1vw,64px);background:#fff;color:var(--ink)}
body{font-family:var(--font-brand);background:#fff;padding-bottom:0;font-size:16px}
button,input,select,textarea{font-family:inherit}main{min-height:45vh}.container{width:calc(100% - 2 * var(--page-gutter));max-width:1600px;margin-inline:auto}
h1,h2,h3{font-family:var(--font-brand);font-weight:400;letter-spacing:0}h1{line-height:1.22}p{line-height:1.65}a:hover{color:#b65513}
html{scroll-padding-top:100px}#news-title,#catalog-title{scroll-margin-top:110px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #df7027;outline-offset:4px}
.button,.button.dark{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:14px 28px;border:1px solid #ed7b2d;border-radius:999px;background:#ed7b2d;color:#252527;box-shadow:none;font:400 16px/1.4 var(--font-brand);letter-spacing:0;transition:background .2s,color .2s,border-color .2s}
.button:hover,.button.dark:hover{background:#d66a22;border-color:#d66a22;color:#fff;box-shadow:none;transform:none}
.button.secondary{background:transparent;border-color:#a7a7aa;color:#343438}.button.secondary:hover{border-color:#d66a22;background:#ed7b2d;color:#252527}
.button.light{background:#fff;border-color:#fff;color:#343438}.text-link{color:#59595e;border-color:#9d9da1}.eyebrow{color:#666}.eyebrow:before{background:#ed7b2d}

/* Одна закреплённая панель: каталог, логотип, поиск и личные разделы. */
.header{display:block;position:sticky;top:0;inset-inline:0;z-index:40;width:100%;max-width:none;min-height:80px;margin:0;padding:0;border:0;border-bottom:1px solid #ededee;background:#fff;box-shadow:0 2px 10px #23232b05;backdrop-filter:none}
.header-inner{display:grid;grid-template-columns:minmax(0,1fr) clamp(180px,12vw,220px) minmax(0,1fr);align-items:center;gap:32px;width:100%;max-width:none;min-height:80px;padding:14px var(--page-gutter);margin:0}
.header-left,.header-right,.header-nav{display:flex;align-items:center;min-width:0}.header-left{gap:26px}.header-right{justify-content:flex-end;gap:22px}.header-nav{gap:26px}
.header-nav a{padding:10px 0;color:#434349;font-size:14px;line-height:1.4;font-weight:400;letter-spacing:.025em;white-space:nowrap}.header-nav a:hover{color:#bd5b19}
.header .brand{display:block;width:100%;max-width:220px;margin:0;justify-self:center}.header .brand img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.header .brand small{display:none}
.catalog-toggle{display:flex;align-items:center;justify-content:flex-start;gap:11px;flex:none;width:auto;min-height:44px;height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#434349;box-shadow:none}
.catalog-toggle:hover{background:transparent;color:#bd5b19}.catalog-toggle svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5}.catalog-toggle>span{display:block;font:400 14px/1.4 var(--font-brand);text-transform:uppercase;letter-spacing:.025em}
.header-search{display:flex;align-items:center;position:relative;flex:1;min-width:0;width:100%;max-width:240px;margin:0;border-bottom:1px solid #bdbdc1}
.header-search input{display:block;width:100%;min-width:0;min-height:44px;padding:10px 42px 10px 0;border:0;border-radius:0;background:transparent;color:#434349;font:400 15px/1.4 var(--font-brand);box-shadow:none}
.header-search input::placeholder{color:#737377;opacity:1}.header-search button{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;width:40px;height:44px;padding:10px;border:0;border-radius:0;background:transparent;color:#434349}.header-search button:hover{color:#bd5b19;background:transparent}.header-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
.header-actions{display:flex;align-items:center;flex:none;gap:12px;margin:0}.header-actions>a{position:relative;display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:44px;padding:0;border-radius:8px;color:#434349}.header-actions svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5}.header-actions>a>span{display:none}.header-actions>a:hover{color:#bd5b19}
.header-actions #favorites-count{position:absolute;top:0;right:-3px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#ed7b2d;color:#252527;font:12px/17px Arial}.header-actions #favorites-count[hidden]{display:none}

/* Широкий фотобаннер с текстом, который масштабируется отдельно от снимка. */
.reference-slider{display:block;position:relative;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#d9dada;isolation:isolate}
.reference-slider #feature-slide{position:relative;display:block;width:100%;aspect-ratio:1.85;min-height:0;overflow:hidden}
.editorial-slide picture{position:absolute;inset:0;display:block}.editorial-slide .hero-photo{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 58%}
.editorial-slide.slide-1 .hero-photo{object-position:center 52%}.editorial-slide.slide-2 .hero-photo{object-position:center 55%}
.editorial-slide:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#24242bba 0%,#24242b40 33%,transparent 70%)}
.hero-caption{position:absolute;z-index:1;left:clamp(28px,5.3vw,140px);bottom:clamp(66px,5.5vw,124px);width:min(750px,75%);color:#fff;text-align:left}
.hero-caption .hero-kicker{font-size:14px;line-height:1.4;letter-spacing:.16em;margin:0 0 20px;color:#fff}
.hero-caption h2{font:400 clamp(32px,3.6vw,70px)/1.08 var(--font-brand);letter-spacing:-.025em;color:#fff;margin:0 0 18px;text-wrap:balance}
.hero-caption .hero-description{font-size:clamp(16px,1.25vw,22px);line-height:1.5;color:#fff;margin:0 0 26px;max-width:550px}
.hero-caption .hero-cta{min-width:220px;padding:14px 28px;background:#fff;border-color:#fff;color:#343438}.hero-caption .hero-cta:hover{background:#ed7b2d;border-color:#ed7b2d;color:#252527}
.reference-slider .slide-controls{position:absolute;inset:0;display:block;margin:0;padding:0;pointer-events:none;background:none}
.reference-slider .slide-arrow{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:12px;border:1px solid #ffffff90;border-radius:50%;background:#ffffffd9;color:#444449;box-shadow:none;pointer-events:auto}
.reference-slider .slide-arrow:hover{background:#fff;color:#bd5b19}.slide-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.reference-slider .previous{left:20px}.reference-slider .next{right:20px}
.reference-slider .slide-dots{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);display:flex;gap:5px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:auto}
.reference-slider .slide-dots button{display:block;position:relative;width:38px;height:38px;padding:0;border:0;border-radius:0;background:transparent}.reference-slider .slide-dots button:after{content:"";position:absolute;left:4px;right:4px;top:18px;height:3px;border-radius:2px;background:#ffffff70}.reference-slider .slide-dots button[aria-pressed="true"]:after{background:#fff}

/* Три большие фотографии в ряд; подписи не закрывают изображение. */
.container.reference-home{width:calc(100% - 2 * var(--page-gutter));max-width:none;padding:0 0 80px;margin-inline:auto}
.reference-news,.home-catalog{margin:0;padding:0}.reference-heading{margin:0;padding:clamp(42px,4vw,76px) 0 32px;color:#434349;text-align:center;font:400 clamp(28px,2.2vw,40px)/1.3 var(--font-brand);letter-spacing:.04em}.reference-heading a{color:inherit}
.reference-category-grid,.reference-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(12px,1vw,24px);row-gap:36px}
.catalog-tile{display:flex;flex-direction:column;align-items:stretch;position:relative;min-width:0;width:100%;padding:0;aspect-ratio:auto;overflow:hidden;border:0;border-radius:12px 12px 0 0;background:transparent;color:#434349;text-align:center;font:inherit;box-shadow:none;transition:none}
.catalog-tile>img{display:block;flex:none;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center;border-radius:12px;transition:filter .2s}
.catalog-tile>span{position:static;display:block;min-height:0;margin:0;padding:20px 12px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#434349;font:400 clamp(16px,1.15vw,23px)/1.45 var(--font-brand);text-transform:uppercase;letter-spacing:.025em;overflow-wrap:anywhere}
.catalog-tile>small{display:block;margin:9px 0 0;padding:0 12px;font:400 14px/1.5 var(--font-brand);color:#757579;text-decoration:underline;text-underline-offset:4px}
.catalog-tile:hover{box-shadow:none}.catalog-tile:hover>img{transform:none;filter:brightness(.96)}.catalog-tile:hover>span,.catalog-tile:hover>small{background:transparent;color:#b65513}
.home-catalog-action{display:flex;justify-content:center;padding:44px 0 0}.home-catalog-action .button{min-width:260px}

/* Выезжающая панель на треть широкого экрана, с вложенными разделами. */
body.drawer-open{overflow:hidden}
#catalog-drawer{position:fixed;inset:0 auto 0 0;z-index:100;margin:0;width:clamp(390px,34vw,650px);max-width:calc(100vw - 24px);height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0 14px 14px 0;background:#fff;color:#434349;overflow:hidden;box-shadow:18px 0 70px #2222}
#catalog-drawer[open]{display:flex;flex-direction:column;animation:drawer-enter .22s ease-out}#catalog-drawer::backdrop{background:#25252a66;backdrop-filter:blur(2px)}
@keyframes drawer-enter{from{transform:translateX(-35px);opacity:.6}to{transform:none;opacity:1}}
.drawer-head{position:relative;display:flex;align-items:center;justify-content:center;flex:none;gap:0;padding:32px 65px 28px;border:0;background:#fff;color:#434349}
.drawer-brand{display:block;width:180px;max-width:100%;margin:0}.drawer-brand img{display:block;width:100%;height:auto}
.drawer-close{position:absolute;right:20px;top:26px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:10px;border:0;border-radius:50%;background:transparent;color:#55555a;box-shadow:none}.drawer-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}.drawer-close:hover{background:#f1f1f2}
.drawer-body{flex:1;min-height:0;overflow:auto;padding:0 clamp(26px,3vw,60px) 28px;scrollbar-width:thin;overscroll-behavior:contain}
.drawer-sections{display:flex;gap:28px;margin:0 0 25px;padding:8px 0 22px;border-bottom:1px solid #e7e7e8}.drawer-sections>a{display:block;padding:8px 0;font:400 15px/1.4 var(--font-brand);text-transform:uppercase;color:#434349;letter-spacing:.02em}.drawer-sections .menu-new{margin:0;border:0;border-radius:0;background:none;color:#b65513}.drawer-sections>a:hover{color:#b65513}
.drawer-menu{display:block}.menu-category,.menu-group summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;width:100%;padding:12px 0;margin:0;border:0;background:none;color:#434349;text-align:left;font:400 15px/1.5 var(--font-brand);text-transform:uppercase;letter-spacing:.015em;text-decoration:none;white-space:normal;cursor:pointer;list-style:none}
.menu-group summary::-webkit-details-marker{display:none}.menu-group summary::marker{content:""}.menu-category:hover,.menu-group summary:hover{color:#b65513}.menu-chevron{display:block;flex:0 0 7px;width:7px;height:7px;margin:0 4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .18s}.menu-group[open] .menu-chevron{transform:rotate(45deg)}
.menu-sub{padding:2px 0 8px 16px;margin:0 0 8px 2px;border-left:1px solid #ed7b2d;background:none;border-radius:0}.menu-sub a{display:block;padding:9px 0;color:#66666a;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.menu-sub a:hover,.menu-sub a:first-child{color:#b65513}
.drawer-information{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin:28px 0 0;padding:22px 0 0;border-top:1px solid #e7e7e8}.drawer-information a{padding:9px 0;color:#6c6c72;font-size:14px;line-height:1.4}.drawer-information a:hover{color:#b65513}
.drawer-footer{display:flex;flex:none;justify-content:space-between;flex-wrap:wrap;gap:14px 20px;margin:0;padding:22px clamp(26px,3vw,60px);border-top:1px solid #e7e7e8;background:#fafafa}.drawer-footer a{color:#55555a;font-size:14px;line-height:1.5}.drawer-footer a:hover{color:#b65513}

/* Подвал: фирменная подпись, рассылка и три небольших раздела. */
.footer.reference-footer{display:block;max-width:none;margin:0;padding:24px 0 18px;border:0;background:#56575c;color:#fff;font-size:16px}
.footer.reference-footer>.footer-inner:first-child{display:block;width:calc(100% - 2 * var(--page-gutter));max-width:none;margin:auto}
.footer-signature{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 18px;margin:0 0 20px;border-bottom:1px solid #ffffff35;text-align:left}
.reference-footer .footer-brand{display:block;flex-shrink:0;width:154px;max-width:45%;margin:0}.reference-footer .footer-brand img{display:block;width:100%;height:auto;max-height:none}
.reference-footer p{color:#e7e7e9;font-size:14px;line-height:1.5;margin:0 0 12px}.reference-footer .footer-signature p{margin:0;font-size:14px;letter-spacing:.03em}
.footer-main{display:grid;grid-template-columns:1.65fr 1fr .85fr 1.05fr;gap:clamp(24px,3vw,60px);padding:0 0 24px}.footer-main>section{min-width:0}
.reference-footer .footer-subscribe{display:block;grid-column:auto;grid-row:auto;max-width:450px;margin:0;padding:0;border:0}
.reference-footer h2{font:400 20px/1.35 var(--font-brand);color:#fff;margin:0 0 10px;letter-spacing:0}.reference-footer h3{font:400 14px/1.4 var(--font-brand);text-transform:uppercase;letter-spacing:.05em;color:#fff;margin:0 0 12px}
.reference-footer form{min-width:0;margin:0}.subscribe-row{display:flex;gap:8px;margin:14px 0 12px}.reference-footer .subscribe-row .field{display:block;flex:1;min-width:0;margin:0;padding:0}
.reference-footer input[type="email"]{display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #ffffff70;border-radius:8px;background:#fff;color:#343438;font:400 16px/1.4 var(--font-brand);box-shadow:none}
.reference-footer .subscribe-row .button{width:auto;min-width:0;min-height:44px;margin:0;padding:10px 14px;border-radius:6px;box-shadow:none;font-size:12px;letter-spacing:.02em}
.reference-footer .consent{display:flex;align-items:flex-start;gap:8px;margin:8px 0;color:#e7e7e9;font-size:13px;line-height:1.5}.reference-footer .consent input{flex:0 0 17px;width:17px;height:17px;margin:2px 0 0;accent-color:#ed7b2d}.reference-footer .consent span{min-width:0;overflow-wrap:anywhere}
.reference-footer .consent a{display:inline;padding:0;margin:0;color:#fff;font:inherit;text-decoration:underline}.reference-footer .form-mode{margin:10px 0 0;color:#d1d1d5;font-size:12px}.reference-footer .form-result{margin:14px 0 0;color:#fff;font-size:14px}.reference-footer .form-result:empty{display:none}.reference-footer .form-result.success{color:#fff}
.reference-footer .footer-main a,.reference-footer .footer-link{display:block;margin:0 0 4px;padding:4px 0;border:0;border-radius:0;background:none;color:#e7e7e9;text-align:left;text-decoration:none;box-shadow:none;font:400 14px/1.5 var(--font-brand)}
.reference-footer .footer-main a:hover,.reference-footer .footer-link:hover{color:#ffbb89}.reference-footer .footer-main .footer-phone{font-size:18px;line-height:1.4;color:#fff;margin-bottom:6px;white-space:nowrap}.reference-footer .footer-contacts p{margin:12px 0}
.reference-footer .footer-question{min-width:170px;background:transparent;color:#fff;border-color:#ffffff80}.reference-footer .footer-question:hover{background:#ed7b2d;border-color:#ed7b2d;color:#252527}
.reference-footer .footer-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;margin:0;padding:14px 0 0;border-top:1px solid #ffffff35;color:#d9d9dd;font-size:13px;line-height:1.5}.footer-legal a{color:inherit;text-decoration:none}.footer-legal a:hover{color:#fff}
.prototype-bar{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f5f5f5;color:#666;padding:14px var(--page-gutter);min-height:44px;border:0;box-shadow:none;font-size:12px}.prototype-bar>span,.prototype-bar>div{flex-wrap:wrap;gap:10px}.prototype-bar i{background:#ed7b2d}.prototype-bar button{border:1px solid #ddd;border-radius:8px;background:#fff;color:#666;padding:6px 10px}.prototype-bar a{font-size:12px}
.contact-launchers{right:20px;bottom:20px;gap:10px}.contact-launchers button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:13px;border:1px solid #dcdce0;border-radius:50%;background:#fff;color:#55555a;box-shadow:0 3px 15px #2222}.contact-launchers button span{display:none}.contact-launchers button svg{width:22px;height:22px}.contact-launchers button:hover{background:#fff5ed}.contact-launchers button[data-chat]{background:#ed7b2d;border-color:#ed7b2d;color:#252527}

/* Каталог и фотографии продуктов */
.page-top{padding:36px 0 30px}.page-top h1{font-size:clamp(27px,3.1vw,46px);font-family:var(--font-brand),Arial,sans-serif;max-width:1000px;margin-bottom:12px}.page-top>p{font-size:17px;color:#666;max-width:850px}.breadcrumbs{font-size:14px;color:#777;margin-bottom:25px;flex-wrap:wrap}.catalog-layout{grid-template-columns:260px minmax(0,1fr);gap:38px;padding-bottom:55px}.catalog-sidebar{min-width:0}.catalog-sidebar h2{font-size:20px}.category-filters{gap:2px}.filter-category{border-radius:0;padding:12px 9px;border-bottom:1px solid #e5e5e5;font-size:15px;line-height:1.4;gap:12px}.filter-category span{background:#f4f4f4;color:#666;font-size:12px;min-width:25px;text-align:center}.filter-category.active{background:#f5f5f5;color:#b85816;border-left:3px solid #ed7b2d}.filter-category.active span{background:#ed7b2d;color:white}.subtle-box{background:#f6f6f6;color:#555;border-radius:16px;line-height:1.65;font-size:14px}.search-box input{min-height:46px;font-size:16px;border-radius:16px;background:#fff;border:1px solid #bbb}.chip,.subcategory{border-radius:12px;min-height:40px;font-size:14px;background:#fff;border:1px solid #d2d2d2;line-height:1.4}.chip.active,.subcategory.selected{background:#707176;color:white;border-color:#707176}.catalog-heading-line h2{font-size:26px;line-height:1.3}.catalog-heading-line{gap:12px;flex-wrap:wrap}.subcategories{gap:9px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.product-card{border:1px solid #ddd;background:white;border-radius:18px;overflow:hidden;min-width:0;box-shadow:none;display:flex;flex-direction:column}.product-visual{position:relative;aspect-ratio:4/3;height:auto;min-height:0;padding:0;background:#f5f5f5;overflow:hidden;border-radius:0}.ingredient-photo{display:block;width:100%;height:100%;object-fit:cover}.product-info{padding:18px;display:flex;flex-direction:column;flex:1}.product-code{font-size:12px;color:#777;line-height:1.5;margin-bottom:8px}.product-info h4{font-size:19px;font-weight:500;line-height:1.35;margin:0 0 14px;overflow-wrap:anywhere}.product-info p{font-size:13px;color:#666}.product-pack{font-size:13px;line-height:1.5;gap:12px;border-color:#ddd}.product-view{margin-top:auto;border:0;border-top:1px solid #e1e1e1;padding:14px 0 0;color:#b55513;font-size:15px;text-align:left;background:none}.product-card .favorite-toggle{position:absolute;top:10px;right:10px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#666;width:42px;height:42px;padding:10px;box-shadow:0 2px 5px #0001}.favorite-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}.favorite-toggle[aria-pressed="true"]{color:#d26721}.favorite-toggle[aria-pressed="true"] svg{fill:#f7bb90}.catalog-preview-note,.product-section-heading p{font-size:14px;color:#666;line-height:1.55}.catalog-pagination{font-size:14px;gap:15px}.empty-state{background:#fafafa;border-radius:16px}.empty-state h2,.empty-state h3{font-size:24px}.empty-icon{background:#f8e8dc;color:#ad571c}
#modal{border-radius:24px;max-width:min(1080px,calc(100% - 40px));width:900px;max-height:calc(100dvh - 40px);padding:0}#modal-content{padding:30px}.modal-header h2{font-size:30px;line-height:1.3}.modal-header>p{font-size:16px}.product-detail-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:30px;align-items:start}.product-detail-preview figure{margin:0;min-width:0}.product-detail-preview .ingredient-photo{aspect-ratio:4/5;height:auto;object-fit:cover;max-height:560px}.product-detail-preview figcaption{font-size:13px;color:#777;margin-top:8px}.product-detail-preview h3{font-size:22px}.product-detail-preview p{font-size:17px;color:#555;line-height:1.65}.product-source{overflow-wrap:anywhere}.product-source a{font-size:14px}.product-source small{display:block;font-size:12px;margin-top:12px}.product-specs dt{color:#666}.product-specs dd{color:#333}.product-detail-bottom{gap:15px;flex-wrap:wrap}.field input,.field textarea,.field select{font-size:16px;border:1px solid #bbb;border-radius:12px;background:#fff}.notice{border-radius:12px;font-size:14px;line-height:1.55}.notice.neutral{background:#f4f4f4;color:#555}.form-actions{gap:15px;flex-wrap:wrap}.portal-layout{grid-template-columns:250px minmax(0,1fr)}.portal-sidebar{background:#f4f4f4;border-radius:16px}.portal-nav a.active{background:#707176;color:white}.company-monogram{background:#ed7b2d;color:white}.request-card,.member-row,.profile-summary,.empty-docs,.support-block,.resource-card{border-radius:16px}.status{font-size:12px}.brand-about-art{border-radius:24px;background:#f5eade}.brand-about-copy>p{color:#555;font-size:17px}.brand-about-copy>.brand-about-lead{font-size:20px}.brand-about-goal{background:#fff2e7;border-color:#ed7b2d}.contact-card,.document-card,.video-card,.seminar-form,.content-card{border-radius:16px}.map-placeholder{background:#f3f3f3}.contact-tabs button.active{background:#707176;color:white}.support-block{background:#707176;color:white}.step-number{color:#ed7b2d}


/* Карточки каталога поддерживают тот же спокойный стиль, сценарии не меняются. */
.catalog-sidebar .category-filters{overflow:visible}.catalog-sidebar .filter-category{white-space:normal;min-width:0;width:100%;align-items:start;border-radius:8px}.filter-category span{flex-shrink:0}
.product-card{border:0;border-radius:12px 12px 0 0;box-shadow:none}.product-visual{aspect-ratio:4/5;border-radius:12px}.product-info{padding:18px 2px}.product-info h4{font-weight:400}.product-view{margin-top:auto;padding:12px 0;border:0;border-top:1px solid #e2e2e4;border-radius:0;background:transparent;color:#b65513}.product-view:hover{background:transparent;color:#9a4308}.product-view>span{display:none}
.product-code{font-size:13px}.product-info p,.product-pack{font-size:14px}
@media(max-width:1240px){
 .header-inner{gap:24px;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr)}.header-left,.header-nav{gap:18px}.header-right{gap:16px}.header-actions{gap:6px}.catalog-toggle>span{display:none}
 .catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:26px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.portal-layout{grid-template-columns:220px minmax(0,1fr)}
 .footer-main{gap:24px}.reference-footer .subscribe-row{flex-direction:column}.reference-footer .subscribe-row .button{width:100%}
}
@media(max-width:960px){
 .header-inner{grid-template-columns:1fr 180px 1fr;gap:8px 20px;padding-top:12px;padding-bottom:12px;min-height:74px}.header-left{grid-column:1;grid-row:1}.header-nav{display:none}.catalog-toggle>span{display:block}.header .brand{grid-column:2;grid-row:1}.header-right{display:contents}.header-actions{grid-column:3;grid-row:1;justify-self:end;gap:10px}.header-search{grid-column:1/-1;grid-row:2;max-width:none;border:0;background:#f3f3f4;border-radius:8px}.header-search input{padding-left:14px;min-height:40px;font-size:16px}.header-search button{height:40px;right:5px}
 html{scroll-padding-top:130px}#news-title,#catalog-title{scroll-margin-top:145px}.hero-caption h2{font-size:38px}.hero-caption .hero-kicker{margin-bottom:14px}.hero-caption .hero-description{margin-bottom:20px}.hero-caption{bottom:58px;left:44px}
 .footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 28px}.footer-main .footer-subscribe{grid-column:1/-1;max-width:none}.reference-footer .subscribe-row{flex-direction:row;max-width:600px}.reference-footer .subscribe-row .button{width:auto;min-width:150px}
}
@media(max-width:767px){
 .reference-category-grid,.reference-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px}.reference-heading{padding:38px 0 26px;font-size:28px}.reference-news-grid .news-tile:last-child{grid-column:auto;max-width:none}.container.reference-home{padding-bottom:50px}.catalog-tile>span{font-size:16px;padding:16px 6px 0}.catalog-tile>small{font-size:14px}
 .reference-slider #feature-slide{aspect-ratio:1.35}.hero-caption{left:28px;width:calc(100% - 56px);bottom:60px}.hero-caption h2{max-width:500px;font-size:38px}.hero-caption .hero-description{font-size:16px}.hero-caption .hero-cta{min-width:210px}.reference-slider .slide-arrow{width:40px;height:40px;padding:11px;top:36%}.reference-slider .previous{left:12px}.reference-slider .next{right:12px}
 .catalog-layout{display:block}.catalog-sidebar{margin-bottom:26px}.catalog-sidebar .category-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.catalog-sidebar .subtle-box{display:none}.catalog-sidebar h2{margin-bottom:14px}.filter-category{padding:10px;font-size:14px;min-height:44px;line-height:1.5}.subcategories{display:flex;flex-wrap:wrap}.subcategory{font-size:14px}.page-top{padding:28px 0 20px}.page-top>p{font-size:16px}.breadcrumbs{font-size:14px;margin-bottom:20px}
 .portal-layout{display:block}.portal-sidebar{margin-bottom:24px}.brand-about-layout{grid-template-columns:1fr;gap:28px}.brand-about-art{min-height:360px}.product-detail-preview{grid-template-columns:1fr 1fr;gap:22px}.product-detail-preview p{font-size:16px}#modal-content{padding:24px}
 .footer.reference-footer{padding-top:24px}.footer-signature{padding-bottom:16px;margin-bottom:20px}.reference-footer .footer-brand{width:140px}.prototype-bar{flex-direction:column;align-items:flex-start}.prototype-bar .prototype-description{display:none}
}
@media(max-width:640px){
 .header-inner{grid-template-columns:44px minmax(0,1fr) auto;gap:9px 10px;padding:10px 16px}.header{min-height:0}.catalog-toggle{width:44px;justify-content:flex-start}.catalog-toggle>span{display:none}.header .brand{width:min(100%,170px)}.header-actions{gap:2px}.header-actions>a{min-width:32px;width:32px}.header-actions svg{width:23px;height:23px}.header-search input{min-height:40px}.header-search{grid-column:1/-1}
 .reference-slider #feature-slide{aspect-ratio:auto;height:clamp(490px,calc(100svh - 114px),740px)}.editorial-slide .hero-photo{object-position:center 45%}.editorial-slide.slide-1 .hero-photo{object-position:center 45%}.editorial-slide.slide-2 .hero-photo{object-position:center 50%}.editorial-slide:after{background:linear-gradient(0deg,#24242bdb, #24242b35 52%,transparent 75%)}
 .hero-caption{left:24px;width:calc(100% - 48px);bottom:58px}.hero-caption h2{font-size:clamp(32px,8.4vw,45px);max-width:470px;margin-bottom:14px}.hero-caption .hero-kicker{font-size:13px;margin-bottom:14px}.hero-caption .hero-description{font-size:16px;max-width:380px;margin-bottom:22px}.hero-caption .hero-cta{min-width:0;max-width:100%;font-size:15px;min-height:48px;padding:13px 24px}
 #catalog-drawer{width:100%;max-width:calc(100vw - 22px);border-radius:0 12px 12px 0}.drawer-head{padding:26px 60px 24px}.drawer-brand{width:160px}.drawer-close{right:14px;top:21px}.drawer-body{padding:0 24px 24px}.drawer-footer{padding:20px 24px}.drawer-sections{gap:24px;margin-bottom:16px;padding-bottom:18px}.drawer-sections>a{font-size:14px}.menu-category,.menu-group summary{font-size:14px;min-height:48px;padding-block:12px}.drawer-information a,.drawer-footer a{font-size:14px}
 .product-grid{grid-template-columns:1fr;gap:28px}.product-visual{aspect-ratio:4/3}.product-info{padding:18px 0}.product-info h4{font-size:21px}.product-code{font-size:13px}.product-pack,.product-info p{font-size:14px}.product-view{font-size:16px}.catalog-heading-line h2{font-size:24px}.chips{flex-wrap:wrap;gap:8px}.chip{font-size:14px;padding:10px}.catalog-pagination{flex-wrap:wrap;justify-content:center}
 .product-detail-preview{grid-template-columns:1fr}.product-detail-preview .ingredient-photo{aspect-ratio:4/3;max-height:360px;border-radius:12px}.product-detail-bottom .button{width:100%;justify-content:center}#modal{width:calc(100% - 24px);max-width:none;max-height:calc(100dvh - 24px);border-radius:18px}#modal-content{padding:20px}.modal-header h2{font-size:25px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.form-actions .button{width:100%;justify-content:center}.page-top h1{font-size:29px}.brand-about-art{display:none}
 .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}.reference-footer h2{font-size:20px}.reference-footer h3{font-size:14px;margin-bottom:10px}.reference-footer .footer-main a,.reference-footer .footer-link{min-height:32px;margin-bottom:0;font-size:14px;overflow-wrap:anywhere}.reference-footer .subscribe-row{flex-direction:column;gap:8px}.reference-footer .subscribe-row .button{width:100%}.reference-footer .footer-contacts{grid-column:1/-1}.reference-footer .footer-contacts p br{display:none}.reference-footer .footer-legal{gap:8px;font-size:12px}.reference-footer .footer-signature p{font-size:12px;max-width:150px}.reference-footer .consent{font-size:14px;min-height:32px}.contact-launchers{right:14px;bottom:14px;gap:8px}.contact-launchers button{width:44px;height:44px;padding:11px}
}
@media(max-width:520px){
 .reference-category-grid,.reference-news-grid{grid-template-columns:1fr;gap:30px}.catalog-tile>img{aspect-ratio:4/4.6}.catalog-tile>span{font-size:19px;padding:18px 10px 0}.catalog-tile>small{font-size:14px}.reference-heading{font-size:27px;padding-top:38px}.home-catalog-action{padding-top:32px}
}
@media(max-width:350px){
 .header-inner{padding-inline:12px;gap:8px}.header-actions>a{min-width:28px;width:28px}.header-actions svg{width:22px;height:22px}.hero-caption{left:20px;width:calc(100% - 40px)}.hero-caption h2{font-size:30px}.catalog-sidebar .category-filters{grid-template-columns:1fr}.footer-main{column-gap:14px}
}
@media(prefers-reduced-motion:reduce){#catalog-drawer[open]{animation:none}.catalog-tile>img,.button,.menu-chevron{transition:none}}

/* Уточнения пользователя: мягкая палитра, прозрачный край шапки и плотная сетка. */
:root{--orange:#ef7f1b;--accent-gradient:#ef7f1b;--soft-accent:#fff6ef;--motion-ease:cubic-bezier(.22,.61,.36,1)}
html{scroll-behavior:smooth}
a,button,input,select,textarea{transition:color .3s ease,background-color .3s ease,border-color .3s ease,box-shadow .3s ease}
/* Фотография начинается под шапкой; один градиент исключает стык двух фонов. */
.header{position:fixed;inset:0 0 auto;border:0;background:transparent;box-shadow:none;isolation:isolate}
.header:before{content:"";position:absolute;z-index:-1;inset:0 0 -28px;pointer-events:none;background:linear-gradient(180deg,#fffdf9 0%,#fffdf9f7 57%,#fffdf9db 74%,#fffdf900 100%)}
.header:after{content:none}
#main{padding-top:var(--header-height,80px)}
#main.home-page{padding-top:0}
html{scroll-padding-top:calc(var(--header-height,80px) + 48px)}
.header-nav a,.catalog-toggle,.header-actions>a,.header .header-right .language-picker{color:#3f3833}
.header-nav a:hover,.catalog-toggle:hover,.header-actions>a:hover,.header-search button:hover{color:#9e4b19}
.header-search{border-color:#c7b9ac}.header-search input,.header-search button{color:#3f3833}.header-search input::placeholder{color:#665b53;opacity:1}
.header-actions #favorites-count{background:var(--orange);color:#303036}
.header-actions #cart-count{position:absolute;top:0;right:-3px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:var(--orange);color:#303036;font:12px/17px Arial}
.header-actions #cart-count[hidden]{display:none}

/* Общая корзина: количество упаковок, без вымышленных цен и сумм. */
.product-add{width:100%;margin-top:12px}
.cart-page{padding-bottom:70px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:clamp(28px,4vw,72px);align-items:start}
.cart-items{min-width:0}
.cart-item{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:22px;padding:24px 0;border-bottom:1px solid #dedee1}
.cart-item:first-child{border-top:1px solid #dedee1}
.cart-image{display:block;width:112px;height:130px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#f3f3f4}
.cart-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.cart-image:hover img{transform:scale(1.03)}
.cart-description{min-width:0}
.cart-description h2{font:400 20px/1.4 var(--font-brand);margin:8px 0;overflow-wrap:anywhere}
.cart-description h2 button{padding:0;border:0;background:none;font:inherit;text-align:left;color:#3e3e44}
.cart-description h2 button:hover{color:#ad581f}
.cart-description p{margin:0 0 12px;color:#626269;font-size:14px}
.cart-remove{min-height:32px;padding:4px 0;border:0;background:none;color:#66666c;font:400 14px/1.4 var(--font-brand);text-decoration:underline;text-underline-offset:4px}
.cart-remove:hover{color:#ad581f}
.cart-quantity>label{display:block;margin-bottom:8px;color:#626269;font-size:13px}
.quantity-control{display:flex;width:140px;border:1px solid #bdbdc2;border-radius:5px;overflow:hidden}
.quantity-control button{flex:0 0 40px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#45454b;font:400 22px/1 Arial}
.quantity-control button:hover:not(:disabled){background:#fff1e5}
.quantity-control button:disabled{opacity:.35;cursor:default}
.quantity-control input{width:58px;min-width:0;height:44px;padding:6px 2px;border:0;border-radius:0;background:#fff;text-align:center;color:#303036;font:400 16px/1.4 var(--font-brand);appearance:textfield;-moz-appearance:textfield}
.quantity-control input::-webkit-inner-spin-button,.quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cart-continue{display:inline-flex;margin-top:25px;min-height:44px;align-items:center}
.cart-summary{position:sticky;top:calc(var(--header-height,80px) + 42px);padding:28px;background:#f7f5f2;border:1px solid #ece8e2;border-radius:10px}
.cart-summary h2{margin:0 0 25px;font:400 24px/1.3 var(--font-brand)}
.cart-summary dl{margin:0 0 25px}
.cart-summary dl>div{display:flex;justify-content:space-between;gap:15px;margin:12px 0;font-size:15px}
.cart-summary dd{margin:0;font-weight:700}
.cart-summary p{color:#55555c;font-size:14px;line-height:1.7}
.cart-summary .button{width:100%;padding-inline:12px;margin:12px 0 18px}
.cart-summary .button:disabled{opacity:.5;cursor:default}
.cart-summary small{display:block;color:#65656c;font-size:12px;line-height:1.6}
.request-products{margin:20px 0 28px;padding:20px;background:#f7f5f2;border-radius:8px}
.request-products h3{font:400 18px/1.4 var(--font-brand);margin:0 0 15px}
.request-products ul{list-style:none;padding:0;margin:0}
.request-products li{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:12px 0;border-top:1px solid #dfdcd7}
.request-products li:first-child{border-top:0;padding-top:0}
.request-products strong{font-weight:400;overflow-wrap:anywhere}
.request-products small{display:block;margin-top:4px;color:#626269;font-size:13px}
.request-products li>span{flex-shrink:0;font-size:14px}
@media(max-width:1100px){.cart-layout{grid-template-columns:minmax(0,1fr) 290px;gap:28px}.cart-item{grid-template-columns:90px minmax(0,1fr);gap:16px}.cart-image{width:90px;height:110px}.cart-quantity{grid-column:2}.cart-summary{padding:24px}}
@media(max-width:767px){.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.cart-item{grid-template-columns:80px minmax(0,1fr);align-items:start}.cart-image{width:80px;height:100px}.cart-description h2{font-size:18px}.cart-quantity{margin-top:-4px}.product-detail-bottom>.button-row{width:100%}}
@media(max-width:420px){.request-products{padding:15px}.request-products li{gap:10px}.request-products li>span{font-size:13px}}
@media(prefers-reduced-motion:reduce){.cart-image img{transition:none}.cart-image:hover img{transform:none}}

/* Простые контурные кнопки, как в референсе, с читаемым размером текста. */
.button,.button.dark,.button.secondary{min-height:50px;padding:15px 26px;border:1px solid #707176;border-radius:6px;background:transparent;box-shadow:none;color:#343438;font:400 14px/1.4 var(--font-brand);letter-spacing:.06em;text-transform:uppercase;transition:color .35s ease,background-color .35s ease,border-color .35s ease}
.button.dark{background:var(--orange);border-color:var(--orange);color:#28282d}
.button:hover,.button.dark:hover,.button.secondary:hover{background:#f39137;border-color:#f39137;color:#28282d;box-shadow:none;transform:none}
.hero-caption .hero-cta{background:var(--orange);border-color:var(--orange);color:#28282d;min-width:240px;font-size:14px;padding:15px 26px}.hero-caption .hero-cta:hover{background:#fff;border-color:#fff;color:#434349}
.reference-footer .subscribe-row .button{border-radius:6px;background:#303036;border-color:#303036;color:#fff}.reference-footer .subscribe-row .button:hover{background:#707176;border-color:#707176;color:#fff}
.reference-footer .footer-question{min-height:42px;padding:10px 16px;border-radius:6px;background:transparent;border-color:#45454b;color:#303036;font-size:12px}.reference-footer .footer-question:hover{background:#707176;border-color:#707176;color:#fff}
.contact-launchers button[data-chat]{background:var(--orange);border-color:var(--orange);color:#303036}

/* Между категориями остаётся только тонкий шов. Названия лежат на плавном затемнении. */
.container.reference-home{width:calc(100% - 8px)}
.reference-category-grid{gap:3px;border-radius:10px;overflow:hidden}
.reference-news-grid{column-gap:8px;row-gap:30px}
.reference-category-grid .catalog-tile{display:block;aspect-ratio:4/5;border-radius:0;isolation:isolate}
.reference-category-grid .catalog-tile>img{height:100%;aspect-ratio:auto;border-radius:0;transition:transform .65s var(--motion-ease),filter .5s ease}
.reference-category-grid .catalog-tile:after{content:"";position:absolute;inset:25% 0 0;z-index:0;pointer-events:none;background:linear-gradient(0deg,#29292fc7 0%,#29292f50 35%,transparent 80%)}
.reference-category-grid .catalog-tile>span{position:absolute;inset:auto 24px 30px;z-index:1;display:block;padding:0;margin:0;border:0;background:none;color:#fff;font-size:clamp(18px,1.45vw,28px);line-height:1.4;letter-spacing:.025em;transition:transform .45s var(--motion-ease)}
.reference-category-grid .catalog-tile:hover>img{transform:scale(1.025);filter:none}.reference-category-grid .catalog-tile:hover>span{color:#fff;transform:translateY(-3px)}
.reference-news-grid .catalog-tile>img{transition:filter .45s ease}.catalog-tile>span,.catalog-tile>small{transition:color .35s ease}

/* Исходный оранжевый FoodMix из глобальных стилей WordPress. */
.footer.reference-footer{background:#ef7f1b;color:#303036}
.reference-footer .footer-brand img{filter:brightness(0);opacity:.75}
.reference-footer p,.reference-footer h2,.reference-footer h3,.reference-footer .footer-main a,.reference-footer .footer-link,.reference-footer .footer-main .footer-phone{color:#303036}
.reference-footer .footer-main a:hover,.reference-footer .footer-link:hover{color:#17171b}.footer-signature{border-color:#55555c38}
.reference-footer input[type="email"]{border-color:#ffffffb3;background:#ffffffd4;color:#3e3e44;border-radius:3px}
.reference-footer .consent,.reference-footer .consent a{color:#303036}.reference-footer .consent input{accent-color:#707176}.reference-footer .form-mode{color:#303036}.reference-footer .form-result,.reference-footer .form-result.success{color:#303036}
.reference-footer .footer-legal{border-color:#55555c38;color:#303036}.reference-footer .footer-legal a:hover{color:#17171b}

/* Плавные переходы без масштабирования текста. Уменьшение движения учитывается. */
.editorial-slide picture{animation:photo-appear .65s ease-out}.hero-caption{animation:copy-appear .55s ease-out}
@keyframes photo-appear{from{opacity:.25}to{opacity:1}}
@keyframes copy-appear{from{opacity:0}to{opacity:1}}
.menu-group[open] .menu-sub{animation:copy-appear .32s ease-out}
#catalog-drawer[open]{animation:drawer-enter .42s var(--motion-ease)}
@keyframes drawer-enter{from{transform:translateX(-100%);opacity:1}to{transform:none;opacity:1}}
@supports(transition-behavior:allow-discrete){
 #catalog-drawer{transform:translateX(-100%);opacity:0;transition:transform .42s var(--motion-ease),opacity .42s ease,display .42s allow-discrete,overlay .42s allow-discrete}
 #catalog-drawer[open]{animation:none;transform:translateX(0);opacity:1}
 #catalog-drawer::backdrop{background:#25252a00;backdrop-filter:none;transition:background-color .42s ease,display .42s allow-discrete,overlay .42s allow-discrete}
 #catalog-drawer[open]::backdrop{background:#25252a66}
 @starting-style{#catalog-drawer[open]{transform:translateX(-100%);opacity:0}#catalog-drawer[open]::backdrop{background:#25252a00}}
}
@media(max-width:960px){.header-search{background:#ffffffeb;border-color:transparent}.header-search input,.header-search button{color:#4e4e54}.header-search input::placeholder{color:#66666c}.header-search button:hover{color:#a85820}.header:after{height:25px}}
@media(max-width:767px){.reference-category-grid{gap:3px}.reference-category-grid .catalog-tile>span{inset:auto 18px 24px;font-size:20px}.reference-news-grid{gap:30px 8px}}
@media(max-width:640px){.hero-caption .hero-cta{font-size:14px;min-width:0;min-height:48px}.reference-footer .subscribe-row .button{font-size:14px}.reference-category-grid .catalog-tile>span{inset:auto 22px 28px;font-size:24px}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}a,button,input,select,textarea,.catalog-tile>span,.catalog-tile>small,.reference-category-grid .catalog-tile>img,.reference-news-grid .catalog-tile>img{transition:none}
 .editorial-slide picture,.hero-caption,.menu-group[open] .menu-sub,#catalog-drawer[open]{animation:none}
 #catalog-drawer,#catalog-drawer::backdrop{transition:none}.reference-category-grid .catalog-tile:hover>img,.reference-category-grid .catalog-tile:hover>span{transform:none}
}

/* Электронная библиотека каталогов FoodMix. */
.catalogues-page{padding-bottom:75px}.book-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.4vw,42px)}.book-card{display:flex;flex-direction:column;min-width:0}.book-cover{position:relative;display:flex;align-items:center;justify-content:center;min-height:360px;padding:26px 26px 55px;background:#efede9;border-radius:12px;overflow:hidden}.book-cover img{display:block;width:auto;height:clamp(245px,27vw,350px);max-width:100%;object-fit:contain;box-shadow:8px 10px 25px #3332;transition:transform .4s ease}.book-cover:hover img{transform:translateY(-5px)}.book-cover>span{position:absolute;bottom:20px;left:0;right:0;text-align:center;font-size:14px;color:#56565c}.book-card-copy{display:flex;flex:1;flex-direction:column;padding-top:20px}.book-card-copy h2{font:400 clamp(24px,2vw,34px)/1.3 var(--font-brand);margin:12px 0}.book-card-copy p{color:#616168}.book-card-copy .button-row{align-items:center;margin-top:auto;padding-top:6px}
@media(max-width:1000px){.book-library{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.book-library{grid-template-columns:1fr;gap:34px}.book-cover{min-height:0;padding:25px 35px 55px}.book-cover img{height:auto;max-height:420px;width:auto;max-width:100%}.book-card-copy .button-row{gap:18px}}
@media(prefers-reduced-motion:reduce){.book-cover img{transition:none}.book-cover:hover img{transform:none}}

/* Главная FoodMix: витрина продукции, быстрые переходы и работа с технологом. */
.home-page {
  --home-gutter: clamp(18px, 3.2vw, 72px);
  --home-ink: #282220;
  --home-paper: #fffdfa;
  --home-slide: #fff8f0;
  color: var(--home-ink);
  background: var(--home-paper);
}
.home-page .reference-slider { background: var(--home-slide); }
.home-page .reference-slider #feature-slide {
  height: clamp(590px, 92svh, 1120px);
  aspect-ratio: auto;
}
.home-page .editorial-slide::after { content: none; }
.home-page .editorial-slide picture {
  inset: 0 0 0 27%;
  mask-image: linear-gradient(to right, transparent, #000 33%);
  animation: photo-appear .4s ease-out;
}
.home-page .hero-caption {
  left: var(--home-gutter);
  bottom: clamp(66px, 12vh, 156px);
  width: min(580px, 43%);
  color: var(--home-ink);
  animation: copy-appear .34s ease-out;
}
.home-page .hero-caption .hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #69564a;
}
.home-page .hero-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: none;
  background: var(--orange);
}
.home-page .hero-caption h2 {
  color: var(--home-ink);
  font-size: clamp(40px, 4.65vw, 84px);
  line-height: 1.01;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.home-page .hero-caption .hero-description { max-width: 39ch; color: #594b42; }
.home-page .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.home-page .hero-actions .button {
  min-width: 0;
  padding: 13px 20px;
  min-height: 48px;
  font-size: .875rem;
  letter-spacing: .02em;
  text-transform: none;
}
.home-page .hero-actions .hero-more { border-color: #b19d8a; color: var(--home-ink); background: #fffdf9d9; }
.home-page .hero-actions .hero-more:hover { background: #ffffff; color: var(--home-ink); }
.home-page .reference-slider .slide-arrow {
  top: auto;
  bottom: 20px;
  transform: none;
  background: #fffdf9eb;
  border-color: #cfbaab;
  color: var(--home-ink);
  margin-left: 0;
}
.home-page .reference-slider .slide-arrow:hover { background: #fff; color: var(--home-ink); }
.home-page .reference-slider .previous { left: auto; right: calc(var(--home-gutter) + 52px); }
.home-page .reference-slider .next { right: var(--home-gutter); }
.home-page .reference-slider .slide-dots {
  left: max(14px, calc(var(--home-gutter) - 4px));
  bottom: 23px;
  transform: none;
}
.home-page .reference-slider .slide-dots button::after { background: #ab9a8d; }
.home-page .reference-slider .slide-dots button[aria-pressed="true"]::after { background: var(--orange); }
.home-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 var(--home-gutter);
  border-bottom: 1px solid #e8dfd6;
  background: #fff4e8;
}
.home-links a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 102px;
  padding: 16px clamp(14px, 2.4vw, 40px);
  border-left: 1px solid #ded5cb;
  color: var(--home-ink);
  transition: background-color .22s ease;
}
.home-links a:first-child { border-left: 0; padding-left: 0; }
.home-links a:focus-visible { outline-offset: -4px; }
.home-links a:hover { background: #f9f2e9; }
.home-links strong { font-size: clamp(1.05rem, 1.45vw, 1.45rem); font-weight: 400; line-height: 1.25; text-wrap: balance; }
.home-links span { font-size: .875rem; line-height: 1.4; color: #635851; }
.home-page .container.reference-home {
  width: auto;
  padding: 0 var(--home-gutter) clamp(36px, 5vw, 80px);
}
.home-page .home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: clamp(42px, 6vw, 100px) 0 22px;
}
.home-page .reference-heading {
  padding: 0;
  text-align: left;
  font-size: clamp(30px, 3.55vw, 58px);
  letter-spacing: -.025em;
  color: var(--home-ink);
}
.home-section-link {
  color: var(--home-ink);
  font-size: .95rem;
  line-height: 1.4;
  padding: 7px 0;
  border-bottom: 2px solid var(--orange);
}
.home-page .reference-news-grid { gap: clamp(7px, 1.2vw, 24px); }
.home-page .reference-news-grid .news-tile {
  padding: 0 0 17px;
  border-radius: 12px;
  border: 1px solid #ece5dc;
  text-align: left;
  background: #fff;
}
.home-page .news-tile > img { aspect-ratio: 5 / 4; border-radius: 11px 11px 0 0; }
.home-page .news-tile > span {
  padding: 16px 16px 0;
  font-size: clamp(.95rem, 1.25vw, 1.3rem);
  text-transform: none;
  color: var(--home-ink);
  line-height: 1.3;
}
.home-page .news-tile > small { padding: 0 16px; margin-top: auto; padding-top: 12px; color: #69564a; }
.home-page .reference-category-grid {
  gap: clamp(8px, .85vw, 14px);
  overflow: visible;
  background: transparent;
}
.home-page .reference-category-grid .catalog-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  aspect-ratio: auto;
  border: 1px solid #e8dfd6;
  border-radius: 13px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.home-page .reference-category-grid .catalog-tile:hover {
  border-color: #e2a577;
  box-shadow: 0 5px 16px #68472e12;
}
.home-page .reference-category-grid .catalog-tile:focus-visible { outline-offset: 3px; z-index: 1; }
.home-page .reference-category-grid .catalog-tile::after { content: none; }
.home-page .category-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eeeae7;
}
.home-page .category-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--category-photo-position, 56%);
  transition: transform .45s var(--motion-ease);
}
.home-page [data-category-id="bakery"] { --category-photo-position: 43%; }
.home-page [data-category-id="baking-powders"] { --category-photo-position: 66%; }
.home-page [data-category-id="healthy"] { --category-photo-position: 38%; }
.home-page [data-category-id="malt"] { --category-photo-position: 48%; }
.home-page [data-category-id="sugar"] { --category-photo-position: 60%; }
.home-page .catalog-tile:hover .category-photo > img { transform: scale(1.025); }
.home-page .reference-category-grid .category-title {
  position: static;
  inset: auto;
  display: flex;
  align-items: flex-start;
  min-height: 3.75rem;
  padding: clamp(13px, 1.25vw, 21px) clamp(13px, 1.5vw, 24px);
  border-top: 1px solid #f0e9e2;
  text-align: left;
  text-transform: none;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.28;
  text-wrap: pretty;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  color: var(--home-ink);
}
.home-page .reference-category-grid .catalog-tile:hover > .category-title { transform: none; color: #8a4319; }
.home-partnership {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 30px;
  padding: clamp(22px, 3vw, 54px);
  margin-top: clamp(34px, 5vw, 76px);
  border-radius: 12px;
  border: 1px solid #efd9c5;
  background: #fff1e0;
  color: var(--home-ink);
}
.home-partnership h2 { font-size: clamp(24px, 3vw, 44px); margin: 0 0 8px; }
.home-partnership p { margin: 0; color: #594b42; }
.home-partnership .button { flex-shrink: 0; text-transform: none; }
@media (max-width: 960px) {
  .home-page .reference-slider #feature-slide { height: clamp(570px, 83svh, 900px); }
  .home-page .hero-caption { bottom: 100px; }
}
@media (max-width: 640px) {
  .home-page .reference-slider #feature-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(88svh, 760px);
    height: auto;
    padding: clamp(280px, 48svh, 425px) 0 80px;
  }
  .home-page .editorial-slide picture {
    inset: 0 0 auto;
    height: clamp(334px, 54svh, 483px);
    mask-image: linear-gradient(to bottom, #000 0% 71%, transparent);
  }
  .home-page .editorial-slide .hero-photo { object-position: center 44%; }
  .home-page .hero-caption { position: relative; inset: auto; width: auto; margin: 0 var(--home-gutter); }
  .home-page .hero-caption h2 { font-size: clamp(36px, 9.2vw, 54px); max-width: none; margin-bottom: 10px; }
  .home-page .hero-caption .hero-kicker { font-size: .75rem; }
  .home-page .hero-caption .hero-description { margin-bottom: 16px; }
  .home-page .hero-actions { gap: 8px; }
  .home-page .hero-actions .button { padding-inline: 12px; min-height: 44px; }
  .home-links { grid-template-columns: 1fr; }
  .home-links a, .home-links a:first-child { min-height: 0; padding: 13px 4px; border-left: 0; }
  .home-links a + a { border-top: 1px solid #ded5cb; }
  .home-page .home-section-head { margin-bottom: 15px; }
  .home-page .reference-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .reference-category-grid .catalog-tile { border-radius: 10px; }
  .home-page .category-photo { aspect-ratio: 1; }
  .home-page .reference-category-grid .category-title {
    font-size: clamp(.875rem, 3.55vw, 1.05rem);
    padding: 11px 9px;
  }
  .home-partnership { flex-direction: column; align-items: flex-start; }
  .home-partnership .button { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .editorial-slide picture, .home-page .hero-caption { animation: none; }
  .home-links a, .home-page .reference-category-grid .catalog-tile, .home-page .category-photo > img { transition: none; }
  .home-page .catalog-tile:hover .category-photo > img { transform: none; }
}
